etc-gentoo/fonts/conf.avail/66-wqy-zenhei-sharp.conf

32 lines
1.2 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- WenQuanYi Zen Hei Configure File -->
<fontconfig>
<match target="font">
<test qual="any" name="family">
<string>WenQuanYi Zen Hei</string>
<string>文泉驿正黑</string>
<string>文泉驛正黑</string>
</test>
<test compare="more_eq" name="pixelsize"><double>12</double></test>
<test compare="less_eq" name="pixelsize"><double>16</double></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
<edit name="hinting" mode="assign"><bool>false</bool></edit>
</match>
<!-- ZenHei now has 13px bitmaps, the following rules are disabled
<match target="font">
<test qual="any" name="family">
<string>WenQuanYi Zen Hei</string>
<string>文泉驿正黑</string>
<string>文泉驛正黑</string>
</test>
<test compare="more_eq" name="pixelsize"><double>13.5</double></test>
<test compare="less" name="pixelsize"><double>14.5</double></test>
<edit name="pixelsize"><double>13</double></edit>
</match>
-->
</fontconfig>