123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version='1.0'?>
- <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
- <fontconfig>
- <!-- ## Override global settings in certain situations ## -->
- <!-- Replace "Lucida Grande 9px bold with Lucida Sans Unicode. -->
- <match target="pattern">
- <test name="family" compare="eq">
- <string>Lucida Grande</string>
- </test>
- <test name="pixelsize" compare="eq">
- <double>9</double>
- </test>
- <edit name="family" mode="prepend" binding="same">
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>
- <!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
- <match target="font">
- <test name="family">
- <string>ProFontWindows</string>
- </test>
- <edit name="hintstyle" mode="assign">
- <const>hintnone</const>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="hinting" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="prefer_bitmap" mode="assign">
- <bool>true</bool>
- </edit>
- </match>
- <match target="font">
- <test name="family">
- <string>Terminus</string>
- </test>
- <edit name="hintstyle" mode="assign">
- <const>hintnone</const>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="hinting" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="prefer_bitmap" mode="assign">
- <bool>true</bool>
- </edit>
- </match>
- <match target="font">
- <test name="family">
- <string>Terminus (ttf)</string>
- </test>
- <edit name="hintstyle" mode="assign">
- <const>hintnone</const>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="hinting" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="prefer_bitmap" mode="assign">
- <bool>true</bool>
- </edit>
- </match>
- <!-- Treat Luxi Mono as a monospace font -->
- <match target="scan">
- <test name="family">
- <string>Luxi Mono</string>
- </test>
- <edit name="spacing">
- <int>100</int>
- </edit>
- </match>
- <!-- Monochrome BCI for these fonts (circa Windows 98). -->
- <!-- This will make them look like bitmap fonts. Good for monospace.
- This should only be used by fonts that contain TrueType instructions. -->
- <!--
- <match target="font">
- <test name="family">
- <string>FONT NAME HERE</string>
- </test>
- <edit name="hinting" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="autohint" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>false</bool>
- </edit>
- <edit name="hintstyle" mode="assign">
- <const>hintfull</const>
- </edit>
- </match>
- -->
- <!-- Full autohint. -->
- <!-- Makes vertical/horizontal stems align to pixels, but is not
- true to the glyphs. Some glyphs may look forced into place,
- however they are very sharp. -->
- <!--
- <match target="font">
- <test name="family">
- <string>FONT NAME HERE</string>
- </test>
- <edit name="hinting" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="autohint" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="hintstyle" mode="assign">
- <const>hintfull</const>
- </edit>
- </match>
- -->
- <!-- Light autohint on italics. -->
- <!-- Use for anything that is full auto or TT hinted above. -->
- <!--
- <match target="font">
- <test name="family">
- <string>FONT NAME HERE</string>
- </test>
- <test target="pattern" name="slant" compare="not_eq">
- <const>roman</const>
- </test>
- <edit name="hinting" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="autohint" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="antialias" mode="assign">
- <bool>true</bool>
- </edit>
- <edit name="hintstyle" mode="assign">
- <const>hintslight</const>
- </edit>
- </match>
- -->
- </fontconfig>
|