2 <!DOCTYPE fontconfig SYSTEM
"fonts.dtd">
4 <!-- configure Vista CJK font access -->
8 Vista CJK fonts setting
11 Vista new Simplified Chinese font
13 <match target=
"font" >
14 <test qual=
"any" name=
"family" compare=
"eq" >
15 <string>Microsoft YaHei
</string>
18 <edit name=
"rgba" mode=
"assign"><const>rgb
</const></edit>
19 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
20 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
21 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
22 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const>
27 Vista new Traditional Chinese font
29 <match target=
"font" >
30 <test qual=
"any" name=
"family" compare=
"eq" >
31 <string>Microsoft JhengHei
</string>
32 <string>微軟正黑體
</string>
34 <edit name=
"rgba" mode=
"assign"><const>rgb
</const></edit>
35 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
36 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
37 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
38 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const></edit>
42 Vista new Japanese font
44 <match target=
"font" >
45 <test name=
"family" compare=
"eq" >
46 <string>Meiryo
</string>
48 <edit name=
"rgba" mode=
"assign"><const>rgb
</const></edit>
49 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
50 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
51 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
52 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const></edit>
58 <match target=
"font" >
59 <test name=
"family" compare=
"eq" >
60 <string>Malgun Gothic
</string>
62 <edit name=
"rgba" mode=
"assign"><const>rgb
</const></edit>
63 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
64 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
65 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
66 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const></edit>
70 Chinese fonts - english portion substitution
71 It do its work on gtk2, but not on qt
73 <match target="font" >
74 <test name="family" qual="any" >
75 <string>Microsoft YaHei</string>
77 <string>Microsoft JhengHei</string>
78 <string>微軟正黑體</string>
79 <string>Meiryo</string>
80 <string>Malgun Gothic</string>
82 <edit name="family" mode="prepend" binding="strong" >
83 <string>Segoe UI</string>
88 SimSunNew global setting.
90 <match target=
"font" >
91 <test qual=
"any" name=
"family" compare=
"eq" >
92 <string>SimSunNew
</string>
93 <string>宋体New
</string>
95 <edit name=
"rgba" mode=
"assign" ><const>rgb
</const></edit>
96 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
97 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
98 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
99 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const></edit>
103 PMingLiUNew global setting.
105 <match target=
"font" >
106 <test qual=
"any" name=
"family" compare=
"eq" >
107 <string>PMingLiUNew
</string>
108 <string>新細明體New
</string>
110 <edit name=
"rgba" mode=
"assign" ><const>rgb
</const></edit>
111 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
112 <edit name=
"autohint" mode=
"assign" ><bool>false
</bool></edit>
113 <edit name=
"hinting" mode=
"assign" ><bool>true
</bool></edit>
114 <edit name=
"hintstyle" mode=
"assign" ><const>hintslight
</const></edit>
118 Enable chinese embedded bitmap fonts.
121 SimSunNew embedded bitmap fonts, ppem = 12px, 13px, 14px, 15px, 16px, 18px.
124 <match target=
"font" >
125 <test qual=
"any" name=
"family" compare=
"eq" >
126 <string>SimSunNew
</string>
127 <string>宋体New
</string>
129 <test name=
"pixelsize" compare=
"more" ><double>11.5</double></test>
130 <test name=
"pixelsize" compare=
"less" ><double>18.5</double></test>
131 <edit name=
"antialias" mode=
"assign" ><bool>false
</bool></edit>
133 <match target=
"font" >
134 <test qual=
"any" name=
"family" compare=
"eq" >
135 <string>SimSunNew
</string>
136 <string>宋体New
</string>
138 <test name=
"pixelsize" compare=
"more" ><double>16.5</double></test>
139 <test name=
"pixelsize" compare=
"less" ><double>17.5</double></test>
140 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
144 PMingLiUNew embeded bitmap fonts, ppem = 11px, 12px, 13px, 15px, 16px, 20px
147 <match target=
"font" >
148 <test qual=
"any" name=
"family" compare=
"eq" >
149 <string>PMingLiUNew
</string>
150 <string>新細明體New
</string>
152 <test name=
"pixelsize" compare=
"more" ><double>10.5</double></test>
153 <test name=
"pixelsize" compare=
"less" ><double>16.5</double></test>
154 <edit name=
"antialias" mode=
"assign" ><bool>false
</bool></edit>
156 <match target=
"font" >
157 <test qual=
"any" name=
"family" compare=
"eq" >
158 <string>PMingLiUNew
</string>
159 <string>新細明體New
</string>
161 <test name=
"pixelsize" compare=
"more" ><double>13.5</double></test>
162 <test name=
"pixelsize" compare=
"less" ><double>14.5</double></test>
163 <edit name=
"antialias" mode=
"assign" ><bool>true
</bool></edit>
165 <match target=
"font" >
166 <test qual=
"any" name=
"family" compare=
"eq" >
167 <string>PMingLiUNew
</string>
168 <string>新細明體New
</string>
170 <test name=
"pixelsize" compare=
"more" ><double>19.5</double></test>
171 <test name=
"pixelsize" compare=
"less" ><double>20.5</double></test>
172 <edit name=
"antialias" mode=
"assign" ><bool>false
</bool></edit>