summaryrefslogtreecommitdiff
path: root/fonts/thai/fonts-tlwg/fontconfig/89-tlwg-garuda-synthetic.conf
blob: 39cf739306c8330e4db51dcd822d01d1789e7ecd (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
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<!-- Synthesize Windows Browallia with scaled-down Garuda -->
	<match target="pattern">
		<test qual="any" name="family" compare="contains">
			<string>Browallia</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="contains">
			<string>Browallia</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>
</fontconfig>