summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-tlwg-laksaman-synthetic.conf
blob: 4e257131130ee0489ba6d48dbcd25efb84a37188 (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 TH Sarabun with scaled-down Laksaman -->
	<match target="pattern">
		<test qual="any" name="family" compare="contains">
			<string>TH Sarabun</string>
		</test>
		<edit name="family" mode="append" binding="same">
			<string>Laksaman</string>
		</edit>
	</match>
	<match target="font">
		<test name="family" compare="eq">
			<string>Laksaman</string>
		</test>
		<test target="pattern" qual="any" name="family" compare="contains">
			<string>TH Sarabun</string>
		</test>
		<edit name="matrix" mode="assign">
			<matrix>
				<double>0.66</double><double>0</double>
				<double>0</double><double>0.66</double>
			</matrix>
		</edit>
	</match>
</fontconfig>