]> git.wh0rd.org - fontconfig.git/blobdiff - conf.d/25-unhint-nonlatin.conf
Remove all training whitespaces
[fontconfig.git] / conf.d / 25-unhint-nonlatin.conf
index d8f6cdbbb2625e0df08be10406985eb6d0d42861..ffb70c69f61c4952b4a3a6d7889fc13393507ee8 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-
 <fontconfig>
 
 <!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. -->
                        <bool>false</bool>
                </edit>
        </match>
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>AR PL ShanHeiSun Uni</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>AR PL KaitiM Big5</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>AR PL ZenKai Uni</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>AR PL SungtiL GB</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>AR PL KaitiM GB</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>ZYSong18030</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-
- <!-- 
- We also need to turn off hinting for Indic fonts with a joined baseline.
- -->
        <match target="font">
                <test name="family" compare="eq">
-                       <string>Mukti Narrow</string>
+                       <string>AR PL ShanHeiSun Uni</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
        </match>
        <match target="font">
                <test name="family" compare="eq">
-                       <string>Lohit Hindi</string>
+                       <string>AR PL KaitiM Big5</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
        </match>
        <match target="font">
                <test name="family" compare="eq">
-                       <string>Lohit Bengali</string>
+                       <string>AR PL ZenKai Uni</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
        </match>
        <match target="font">
                <test name="family" compare="eq">
-                       <string>Lohit Punjabi</string>
+                       <string>AR PL SungtiL GB</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>
-
-<!--
-Gujarti fonts are distorted when hinting is enabled. Turn it off.
--->
        <match target="font">
                <test name="family" compare="eq">
-                       <string>Lohit Gujarati</string>
+                       <string>AR PL KaitiM GB</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>
-
-<!--
-Disabling hinting for newly added Indic fonts (kn/or/ml/te)
--->
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>Lohit Kannada</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>Lohit Oriya</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>Lohit Malayalam</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-
-        <match target="font">
-                <test name="family" compare="eq">
-                        <string>Lohit Telugu</string>
-                </test>
-                <edit name="hinting" mode="assign">
-                        <bool>false</bool>
-                </edit>
-        </match>
-
-<!--
-And Sinhala
--->
        <match target="font">
                <test name="family" compare="eq">
-                       <string>LKLUG</string>
+                       <string>ZYSong18030</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>