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

28 lines
738 B
Plaintext
Raw Normal View History

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