gnome: font fixings

This commit is contained in:
Daniel Lundin 2025-02-10 12:21:51 +01:00
parent 679c863cf8
commit a48421ef4e
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
4 changed files with 5 additions and 6 deletions

View file

@ -48,12 +48,12 @@ in
allowBitmaps = false; allowBitmaps = false;
antialias = true; antialias = true;
defaultFonts = { defaultFonts = {
monospace = [ "Berkeley Mono" ];
serif = [ "Liberation Serif" ]; serif = [ "Liberation Serif" ];
sansSerif = [ "Inter" ]; sansSerif = [ "Inter" ];
}; };
hinting.enable = true; hinting.enable = true;
hinting.style = "slight"; hinting.style = "slight";
subpixel.rgba = "rgb";
}; };
packages = with pkgs; [ packages = with pkgs; [
inter inter
@ -63,7 +63,6 @@ in
noto-fonts noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-color-emoji noto-fonts-color-emoji
roboto
ubuntu_font_family ubuntu_font_family
]; ];
}; };

View file

@ -22,6 +22,8 @@
font-style-bold-italic = "ExtraLight"; font-style-bold-italic = "ExtraLight";
font-synthetic-style = false; font-synthetic-style = false;
freetype-load-flags = "no-force-autohint";
adjust-cursor-thickness = 4; adjust-cursor-thickness = 4;
adjust-underline-position = 3; adjust-underline-position = 3;
adjust-underline-thickness = -1; adjust-underline-thickness = -1;

View file

@ -66,11 +66,9 @@ with lib.hm.gvariant;
enable-animations = false; enable-animations = false;
enable-hot-corners = false; enable-hot-corners = false;
show-battery-percentage = true; show-battery-percentage = true;
font-antialiasing = "grayscale";
font-hinting = "slight";
font-name = "Inter Variable 11"; font-name = "Inter Variable 11";
document-font-name = "Inter Variable 11"; document-font-name = "Inter Variable 11";
monospace-font-name = "BerkeleyMono Nerd Font 11"; monospace-font-name = "Berkeley Mono 11";
toolkit-accessibility = false; toolkit-accessibility = false;
}; };

View file

@ -6,7 +6,7 @@
]; ];
programs.ghostty.settings = { programs.ghostty.settings = {
font-size = lib.mkForce 16; font-size = lib.mkForce 15;
}; };
programs.obs-studio = { programs.obs-studio = {