summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-24 15:58:57 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-24 15:58:57 +0200
commit8ad305b2066c28e8beb810a99f97f460894f5a0c (patch)
tree11eb5ae70e8351d2cef64e3ccb810e45f5885bf6 /share
parentd142760af1e838015bbcc0b7dc4e43a081780f57 (diff)
use inter with proper hinting
Diffstat (limited to 'share')
-rw-r--r--share/common.nix18
1 files changed, 17 insertions, 1 deletions
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";
+ };
};
};