Add smack rules for default font config pathes.
[platform/upstream/fontconfig.git] / conf.d / 25-unhint-nonlatin.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4   <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5     <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6   </its:rules>
7
8   <description>Disable hinting for CJK fonts</description>
9 <!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. -->
10
11         <match target="font">
12                 <test name="family" compare="eq" ignore-blanks="true">
13                         <string>Kochi Mincho</string>
14                 </test>
15                 <edit name="hinting" mode="assign">
16                         <bool>false</bool>
17                 </edit>
18         </match>
19         <match target="font">
20                 <test name="family" compare="eq" ignore-blanks="true">
21                         <string>Kochi Gothic</string>
22                 </test>
23                 <edit name="hinting" mode="assign">
24                         <bool>false</bool>
25                 </edit>
26         </match>
27         <match target="font">
28                 <test name="family" compare="eq" ignore-blanks="true">
29                         <string>Sazanami Mincho</string>
30                 </test>
31                 <edit name="hinting" mode="assign">
32                         <bool>false</bool>
33                 </edit>
34         </match>
35         <match target="font">
36                 <test name="family" compare="eq" ignore-blanks="true">
37                         <string>Sazanami Gothic</string>
38                 </test>
39                 <edit name="hinting" mode="assign">
40                         <bool>false</bool>
41                 </edit>
42         </match>
43         <match target="font">
44                 <test name="family" compare="eq" ignore-blanks="true">
45                         <string>Baekmuk Batang</string>
46                 </test>
47                 <edit name="hinting" mode="assign">
48                         <bool>false</bool>
49                 </edit>
50         </match>
51         <match target="font">
52                 <test name="family" compare="eq" ignore-blanks="true">
53                         <string>Baekmuk Dotum</string>
54                 </test>
55                 <edit name="hinting" mode="assign">
56                         <bool>false</bool>
57                 </edit>
58         </match>
59         <match target="font">
60                 <test name="family" compare="eq" ignore-blanks="true">
61                         <string>Baekmuk Gulim</string>
62                 </test>
63                 <edit name="hinting" mode="assign">
64                         <bool>false</bool>
65                 </edit>
66         </match>
67         <match target="font">
68                 <test name="family" compare="eq" ignore-blanks="true">
69                         <string>Baekmuk Headline</string>
70                 </test>
71                 <edit name="hinting" mode="assign">
72                         <bool>false</bool>
73                 </edit>
74         </match>
75         <match target="font">
76                 <test name="family" compare="eq" ignore-blanks="true">
77                         <string>AR PL Mingti2L Big5</string>
78                 </test>
79                 <edit name="hinting" mode="assign">
80                         <bool>false</bool>
81                 </edit>
82         </match>
83         <match target="font">
84                 <test name="family" compare="eq" ignore-blanks="true">
85                         <string>AR PL ShanHeiSun Uni</string>
86                 </test>
87                 <edit name="hinting" mode="assign">
88                         <bool>false</bool>
89                 </edit>
90         </match>
91         <match target="font">
92                 <test name="family" compare="eq" ignore-blanks="true">
93                         <string>AR PL KaitiM Big5</string>
94                 </test>
95                 <edit name="hinting" mode="assign">
96                         <bool>false</bool>
97                 </edit>
98         </match>
99         <match target="font">
100                 <test name="family" compare="eq" ignore-blanks="true">
101                         <string>AR PL ZenKai Uni</string>
102                 </test>
103                 <edit name="hinting" mode="assign">
104                         <bool>false</bool>
105                 </edit>
106         </match>
107         <match target="font">
108                 <test name="family" compare="eq" ignore-blanks="true">
109                         <string>AR PL SungtiL GB</string>
110                 </test>
111                 <edit name="hinting" mode="assign">
112                         <bool>false</bool>
113                 </edit>
114         </match>
115         <match target="font">
116                 <test name="family" compare="eq" ignore-blanks="true">
117                         <string>AR PL KaitiM GB</string>
118                 </test>
119                 <edit name="hinting" mode="assign">
120                         <bool>false</bool>
121                 </edit>
122         </match>
123         <match target="font">
124                 <test name="family" compare="eq" ignore-blanks="true">
125                         <string>ZYSong18030</string>
126                 </test>
127                 <edit name="hinting" mode="assign">
128                         <bool>false</bool>
129                 </edit>
130         </match>
131
132 </fontconfig>