wayland: Reinstate old fontconfig
The fontconfig in use previously accidentally got deleted amidst the X leftovers. This reinstates it and streamlines it a tiny bit. Still uses Iosevka as the default mono font, Heuristica and Noto Sans as the serif and sans-serif respectively and adds the fantasy and comic families. Also takes over wholly the font hinting and aliasing settings, since they work very well on my machine.
This commit is contained in:
parent
d93bcdf11e
commit
871e98ba54
1 changed files with 47 additions and 0 deletions
47
wayland/.config/fontconfig/fonts.conf
Normal file
47
wayland/.config/fontconfig/fonts.conf
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer><family>Heuristica</family></prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer><family>Noto Sans</family></prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer><family>Iosevka</family></prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>fantasy</family>
|
||||
<prefer><family>Signika</family></prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>cursive</family>
|
||||
<prefer><family>Comic Neue</family></prefer>
|
||||
</alias>
|
||||
<match target="font">
|
||||
<edit name="antialias" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="rgba" mode="assign">
|
||||
<const>rgb</const>
|
||||
</edit>
|
||||
<edit name="lcdfilter" mode="assign">
|
||||
<const>lcddefault</const>
|
||||
</edit>
|
||||
<edit name="hinting" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintfull</const>
|
||||
</edit>
|
||||
<edit name="autohint" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
<edit name="dpi" mode="assign">
|
||||
<double>92</double>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
Loading…
Reference in a new issue