thai-scalable-fonts/90-thai-scalable-synthetic-kinnari.conf

28 lines
744 B
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Synthesize Windows Angsana with scaled-down Kinnari -->
<match target="pattern">
<test qual="any" name="family" compare="contains">
<string>Angsana</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="contains">
<string>Angsana</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>
</fontconfig>