25-unhint-nonlatin.conf 3.41 KB
Newer Older
1 2 3
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
4 5 6
  <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
    <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
  </its:rules>
7

8
  <description>Disable hinting for CJK fonts</description>
9 10 11
<!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. -->

	<match target="font">
12
		<test name="family" compare="eq" ignore-blanks="true">
13 14 15 16 17 18 19
			<string>Kochi Mincho</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
20
		<test name="family" compare="eq" ignore-blanks="true">
21 22 23 24 25 26 27
			<string>Kochi Gothic</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
28
		<test name="family" compare="eq" ignore-blanks="true">
29 30 31 32 33 34 35
			<string>Sazanami Mincho</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
36
		<test name="family" compare="eq" ignore-blanks="true">
37 38 39 40 41 42 43
			<string>Sazanami Gothic</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
44
		<test name="family" compare="eq" ignore-blanks="true">
45 46 47 48 49 50 51
			<string>Baekmuk Batang</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
52
		<test name="family" compare="eq" ignore-blanks="true">
53 54 55 56 57 58 59
			<string>Baekmuk Dotum</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
60
		<test name="family" compare="eq" ignore-blanks="true">
61 62 63 64 65 66 67
			<string>Baekmuk Gulim</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
68
		<test name="family" compare="eq" ignore-blanks="true">
69 70 71 72 73 74 75
			<string>Baekmuk Headline</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
76
		<test name="family" compare="eq" ignore-blanks="true">
77 78 79 80 81 82
			<string>AR PL Mingti2L Big5</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
83
	<match target="font">
84
		<test name="family" compare="eq" ignore-blanks="true">
85 86 87 88 89 90 91
			<string>AR PL ShanHeiSun Uni</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
92
		<test name="family" compare="eq" ignore-blanks="true">
93 94 95 96 97 98
			<string>AR PL KaitiM Big5</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
99
	<match target="font">
100
		<test name="family" compare="eq" ignore-blanks="true">
101 102 103 104 105 106 107
			<string>AR PL ZenKai Uni</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
108
		<test name="family" compare="eq" ignore-blanks="true">
109 110 111 112 113 114 115
			<string>AR PL SungtiL GB</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
116
		<test name="family" compare="eq" ignore-blanks="true">
117 118 119 120 121 122 123
			<string>AR PL KaitiM GB</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
124
		<test name="family" compare="eq" ignore-blanks="true">
125 126 127 128 129 130 131 132
			<string>ZYSong18030</string>
		</test>
		<edit name="hinting" mode="assign">
			<bool>false</bool>
		</edit>
	</match>

</fontconfig>