summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf
blob: 7b2d9769cb1241365fc519107d8d6231a6556cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<!-- Fall back missing Tahoma to Waree -->
	<match target="pattern">
		<test name="lang" compare="contains">
			<string>th</string>
		</test>
		<test qual="any" name="family" compare="eq">
			<string>Tahoma</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Waree</string>
		</edit>
	</match>
	<!-- Fall back missing MS Sans Serif to Loma -->
	<match target="pattern">
		<test name="lang" compare="contains">
			<string>th</string>
		</test>
		<test qual="any" name="family" compare="eq">
			<string>MS Sans Serif</string>
			<string>Microsoft Sans Serif</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Loma</string>
		</edit>
	</match>
	<!-- Synthesize Windows Angsana with scaled-down Kinnari -->
	<match target="pattern">
		<test qual="any" name="family" compare="eq">
			<string>AngsanaUPC</string>
			<string>Angsana New</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Kinnari</string>
		</edit>
	</match>
	<match target="font">
		<test name="family" compare="eq">
			<string>Kinnari</string>
		</test>
		<test target="pattern" qual="any" name="family" compare="eq">
			<string>AngsanaUPC</string>
			<string>Angsana New</string>
		</test>
		<edit name="matrix" mode="assign">
			<matrix>
				<double>0.67</double><double>0</double>
				<double>0</double><double>0.67</double>
			</matrix>
		</edit>
	</match>
	<!-- Synthesize Windows Browallia with scaled-down Garuda -->
	<match target="pattern">
		<test qual="any" name="family" compare="eq">
			<string>BrowalliaUPC</string>
			<string>Browallia New</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Garuda</string>
		</edit>
	</match>
	<match target="font">
		<test name="family" compare="eq">
			<string>Garuda</string>
		</test>
		<test target="pattern" qual="any" name="family" compare="eq">
			<string>BrowalliaUPC</string>
			<string>Browallia New</string>
		</test>
		<edit name="matrix" mode="assign">
			<matrix>
				<double>0.68</double><double>0</double>
				<double>0</double><double>0.68</double>
			</matrix>
		</edit>
	</match>
	<!-- Synthesize Windows Cordia with scaled-down Umpush -->
	<match target="pattern">
		<test qual="any" name="family" compare="eq">
			<string>CordiaUPC</string>
			<string>Cordia New</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Umpush</string>
		</edit>
	</match>
	<match target="font">
		<test name="family" compare="eq">
			<string>Umpush</string>
		</test>
		<test target="pattern" qual="any" name="family" compare="eq">
			<string>CordiaUPC</string>
			<string>Cordia New</string>
		</test>
		<edit name="matrix" mode="assign">
			<matrix>
				<double>0.65</double><double>0</double>
				<double>0</double><double>0.65</double>
			</matrix>
		</edit>
	</match>
</fontconfig>