Add fontconfig tweak to enable some bitmaps
This commit is contained in:
parent
0385f30cef
commit
4743479732
|
@ -0,0 +1,53 @@
|
|||
<?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>lime</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</acceptfont>
|
||||
<acceptfont>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Siji</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</acceptfont>
|
||||
<rejectfont>
|
||||
<pattern>
|
||||
<patelt name="scalable">
|
||||
<bool>false</bool>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
</fontconfig>
|
Loading…
Reference in New Issue