updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fontconfig-ms-fonts-zh / 26-ttf-ms-fonts-zh.conf
blob3c23e2385f89b982b3e84274207938b6180e86b0
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
4 <!-- configure Vista CJK font access -->
5 <fontconfig>
7 <!--
8 Vista CJK fonts setting
9 -->
10 <!--
11 Vista new Simplified Chinese font
12 -->
13 <match target="font" >
14 <test qual="any" name="family" compare="eq" >
15 <string>Microsoft YaHei</string>
16 <string>微软雅黑</string>
17 </test>
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>
23 </edit>
24 </match>
26 <!--
27 Vista new Traditional Chinese font
28 -->
29 <match target="font" >
30 <test qual="any" name="family" compare="eq" >
31 <string>Microsoft JhengHei</string>
32 <string>微軟正黑體</string>
33 </test>
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>
39 </match>
41 <!--
42 Vista new Japanese font
43 -->
44 <match target="font" >
45 <test name="family" compare="eq" >
46 <string>Meiryo</string>
47 </test>
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>
53 </match>
55 <!--
56 Vista new Korean font
57 -->
58 <match target="font" >
59 <test name="family" compare="eq" >
60 <string>Malgun Gothic</string>
61 </test>
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>
67 </match>
69 <!--
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>
76 <string>微软雅黑</string>
77 <string>Microsoft JhengHei</string>
78 <string>微軟正黑體</string>
79 <string>Meiryo</string>
80 <string>Malgun Gothic</string>
81 </test>
82 <edit name="family" mode="prepend" binding="strong" >
83 <string>Segoe UI</string>
84 </edit>
85 </match>
86 -->
87 <!--
88 SimSunNew global setting.
89 -->
90 <match target="font" >
91 <test qual="any" name="family" compare="eq" >
92 <string>SimSunNew</string>
93 <string>宋体New</string>
94 </test>
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>
100 </match>
102 <!--
103 PMingLiUNew global setting.
105 <match target="font" >
106 <test qual="any" name="family" compare="eq" >
107 <string>PMingLiUNew</string>
108 <string>新細明體New</string>
109 </test>
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>
115 </match>
117 <!--
118 Enable chinese embedded bitmap fonts.
120 <!--
121 SimSunNew embedded bitmap fonts, ppem = 12px, 13px, 14px, 15px, 16px, 18px.
122 choose as your need
124 <match target="font" >
125 <test qual="any" name="family" compare="eq" >
126 <string>SimSunNew</string>
127 <string>宋体New</string>
128 </test>
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>
132 </match>
133 <match target="font" >
134 <test qual="any" name="family" compare="eq" >
135 <string>SimSunNew</string>
136 <string>宋体New</string>
137 </test>
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>
141 </match>
143 <!--
144 PMingLiUNew embeded bitmap fonts, ppem = 11px, 12px, 13px, 15px, 16px, 20px
145 choose as your need
147 <match target="font" >
148 <test qual="any" name="family" compare="eq" >
149 <string>PMingLiUNew</string>
150 <string>新細明體New</string>
151 </test>
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>
155 </match>
156 <match target="font" >
157 <test qual="any" name="family" compare="eq" >
158 <string>PMingLiUNew</string>
159 <string>新細明體New</string>
160 </test>
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>
164 </match>
165 <match target="font" >
166 <test qual="any" name="family" compare="eq" >
167 <string>PMingLiUNew</string>
168 <string>新細明體New</string>
169 </test>
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>
173 </match>
174 </fontconfig>