dotfiles/fonts/.config/fontconfig/fonts.conf

54 lines
1.6 KiB
Plaintext
Raw Normal View History

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>~/.fonts</dir>
<!-- do not use the embedded bitmap instead of the outline
<https://www.freebsd.org/cgi/man.cgi?query=fonts-conf&sektion=5&manpath=FreeBSD+and+Ports>
<https://bbs.archlinux.org/viewtopic.php?id=161609> post 2 (2013)
<https://redd.it/7kqr5l> (2017) -->
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- prefer outline e.g. TrueType instead of bitmap fonts
<https://bbs.archlinux.org/viewtopic.php?id=161609> post 2 (2013)
<https://redd.it/4tb2dt> (2016) -->
<match target="font">
<edit name="prefer_outline">
<bool>true</bool>
</edit>
</match>
<!-- reject bitmap fonts, except Ohsnapu - prefer PostScript, TrueType et cetera
<https://forums.freebsd.org/threads/howto-nice-fonts.2021/> (2009)
<https://redd.it/4tb2dt> (2016) -->
<selectfont>
<acceptfont>
<pattern>
<patelt name="family">
<string>Siji</string>
</patelt>
</pattern>
</acceptfont>
2019-10-23 20:55:15 +02:00
<acceptfont>
<pattern>
<patelt name="family">
2020-04-28 13:16:04 +02:00
<string>cherry</string>
2019-10-23 20:55:15 +02:00
</patelt>
</pattern>
</acceptfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>