thai-scalable-fonts/SOURCES/90-thai-scalable-synthetic-laksaman.conf

28 lines
748 B
Plaintext
Raw Permalink Normal View History

2021-11-02 21:06:30 +00:00
<?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>