workstation/roles/home-gui/files/fonts.conf

135 lines
3.2 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!-- https://wiki.archlinux.org/title/font_configuration -->
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</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">
<test name="family" compare="eq" ignore-blanks="true">
<string>TeX Gyre Cursor</string>
</test>
<edit name="fontfeatures" mode="append">
<string>liga off</string>
<string>dlig off</string>
</edit>
</match>
<alias>
<family>serif</family>
<prefer>
<family>Source Serif</family>
<family>DejaVu Serif</family>
<family>Bitstream Vera Serif</family>
<family>Luxi Serif</family>
<family>TeX Gyre Termes</family>
<family>Liberation Serif</family>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Nimbus Roman No9 L</family>
<family>Nimbus Roman</family>
<family>Times</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Source Sans</family>
<family>DejaVu Sans</family>
<family>Bitstream Vera Sans</family>
<family>Luxi Sans</family>
<family>TeX Gyre Heros</family>
<family>Liberation Sans</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Nimbus Sans L</family>
<family>Nimbus Sans</family>
<family>Helvetica</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Berkeley Mono</family>
<family>Red Hat Mono</family>
<family>Source Code Pro</family>
<family>DejaVu Sans Mono</family>
<family>Bitstream Vera Sans Mono</family>
<family>Luxi Mono</family>
<family>TeX Gyre Cursor</family>
<family>Liberation Mono</family>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Nimbus Mono L</family>
<family>Nimbus Mono</family>
<family>Courier</family>
</prefer>
</alias>
<alias>
<family>fantasy</family>
<prefer>
<family>Impact</family>
<family>Copperplate Gothic Std</family>
<family>Cooper Std</family>
<family>Bauhaus Std</family>
</prefer>
</alias>
<alias>
<family>cursive</family>
<prefer>
<family>ITC Zapf Chancery Std</family>
<family>Zapfino</family>
<family>Comic Sans MS</family>
</prefer>
</alias>
<!-- Disable bitmap fonts. -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>