Add font highlighting and dpi scaling

Check this works for both desktop and laptop display.
This commit is contained in:
Marty Oehme 2019-11-13 17:46:15 +01:00
parent 3c6ef91ae0
commit dc29299157

View file

@ -20,7 +20,42 @@
</alias>
<alias>
<family>cursive</family>
<prefer><family>TeX Gyre Chorus</family></prefer>
<prefer><family>Comic Neue</family></prefer>
</alias>
<!-- more advanced replacements (replacing many fonts with open alternatives) see spark/fonts/local.conf -->
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>92</double>
</edit>
</match>
</fontconfig>