more fonts again
This commit is contained in:
parent
a9e1a41713
commit
45895cf511
|
@ -409,8 +409,14 @@ in
|
||||||
decompressFonts = true;
|
decompressFonts = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# get a small list of curated fonts
|
# system fonts
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
# large collection of free fonts
|
||||||
|
google-fonts
|
||||||
|
|
||||||
|
# large collection of patched programming fonts
|
||||||
|
nerdfonts
|
||||||
|
|
||||||
# font families with good unicode coverage as fallback
|
# font families with good unicode coverage as fallback
|
||||||
ibm-plex
|
ibm-plex
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
@ -422,30 +428,32 @@ in
|
||||||
noto-fonts-color-emoji
|
noto-fonts-color-emoji
|
||||||
];
|
];
|
||||||
|
|
||||||
# use some proper default fonts
|
# proper default config for fonts
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
|
# we use fontconfig
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
# use some proper default fonts
|
||||||
defaultFonts = {
|
defaultFonts = {
|
||||||
emoji = [ "Noto Color Emoji" ];
|
emoji = [ "Noto Color Emoji" ];
|
||||||
monospace = [ "MonoLisa" "IBM Plex Mono" "Noto Sans Mono" ];
|
monospace = [ "MonoLisa" "IBM Plex Mono" "Noto Sans Mono" ];
|
||||||
sansSerif = [ "Bespoke Sans Variable" "IBM Plex Sans" "Noto Sans" ];
|
sansSerif = [ "IBM Plex Sans" "Noto Sans" ];
|
||||||
serif = [ "Bespoke Serif Variable" "IBM Plex Serif" "Noto Serif" ];
|
serif = [ "IBM Plex Serif" "Noto Serif" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# fixes pixelation
|
# don't look like ancient X11
|
||||||
antialias = true;
|
antialias = true;
|
||||||
|
|
||||||
# fixes antialiasing blur
|
# enable proper hinting
|
||||||
hinting = {
|
hinting = {
|
||||||
enable = true;
|
enable = true;
|
||||||
style = "full";
|
style = "full";
|
||||||
autohint = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# makes it bolder
|
# enable proper subpixel handling
|
||||||
subpixel = {
|
subpixel = {
|
||||||
rgba = "rgb";
|
rgba = "rgb";
|
||||||
lcdfilter = "default";
|
lcdfilter = "light";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue