diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-11-05 16:14:35 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-11-05 16:14:35 -0500 |
commit | 39968fb223bf2eeb5502553c8d316dc4914a32ba (patch) | |
tree | 7e8f605c3eb67e386108cb4c86ebcb2653dd0d49 /conf.d/25-unhint-nonlatin.conf | |
parent | cf223cc7bcae94e839d7ac1e980f289cca5199b0 (diff) | |
download | fontconfig-39968fb223bf2eeb5502553c8d316dc4914a32ba.tar.gz |
Add/update config files from Fedora.
Diffstat (limited to 'conf.d/25-unhint-nonlatin.conf')
-rw-r--r-- | conf.d/25-unhint-nonlatin.conf | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/conf.d/25-unhint-nonlatin.conf b/conf.d/25-unhint-nonlatin.conf new file mode 100644 index 0000000..d8f6cdb --- /dev/null +++ b/conf.d/25-unhint-nonlatin.conf @@ -0,0 +1,228 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> + +<fontconfig> + +<!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. --> + + <match target="font"> + <test name="family" compare="eq"> + <string>Kochi Mincho</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Kochi Gothic</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Sazanami Mincho</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Sazanami Gothic</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Baekmuk Batang</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Baekmuk Dotum</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Baekmuk Gulim</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>Baekmuk Headline</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family" compare="eq"> + <string>AR PL Mingti2L Big5</string> + </test> + <edit name="hinting" mode="assign"> + <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> + </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> + +</fontconfig> |