]> git.wh0rd.org Git - fontconfig.git/commitdiff
Freetype 2.3.5 (2007-jul-02) fixes indic font hinting. re-enable (bug 15822)
authorKeith Packard <keithp@keithp.com>
Mon, 5 May 2008 02:08:31 +0000 (19:08 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 5 May 2008 02:08:31 +0000 (19:08 -0700)
Autohinting for Indic fonts has been disabled since freetype could not handle
it properly. But since freetype-2.3.5, the hinting problems for indic fonts
have been fixed. Thus this is a request to enable the autohinting in
fontconfig again for all the indic fonts.

conf.d/25-unhint-nonlatin.conf

index 3a0005552a08519d7529d9393e0dfe1053e5fa8e..3799853e6aa8e19b400232a780eb012f7e527f87 100644 (file)
                </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>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>Lohit Hindi</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>Lohit Bengali</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>Lohit Punjabi</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>
-               </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>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-
-<!--
-Old(?) Indic fonts
--->
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>Likhan</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-       <match target="font">
-               <test name="family" compare="eq">
-                       <string>Raghindi</string>
-               </test>
-               <edit name="hinting" mode="assign">
-                       <bool>false</bool>
-               </edit>
-       </match>
-
 </fontconfig>