From 8ad305b2066c28e8beb810a99f97f460894f5a0c Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 24 Aug 2024 15:58:57 +0200 Subject: use inter with proper hinting --- share/common.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/share/common.nix b/share/common.nix index a1d58b5..4673546 100644 --- a/share/common.nix +++ b/share/common.nix @@ -478,9 +478,25 @@ in defaultFonts = { emoji = [ "Noto Color Emoji" ]; monospace = [ "Monaspace Argon" "IBM Plex Mono" "Noto Sans Mono" ]; - sansSerif = [ "Lexend" "IBM Plex Sans" "Noto Sans" ]; + sansSerif = [ "Inter" "IBM Plex Sans" "Noto Sans" ]; serif = [ "Crimson" "IBM Plex Serif" "Noto Serif" ]; }; + + # fixes pixelation + antialias = true; + + # fixes antialiasing blur + hinting = { + enable = true; + style = "full"; + autohint = true; + }; + + # makes it bolder + subpixel = { + rgba = "rgb"; + lcdfilter = "default"; + }; }; }; -- cgit v1.2.3