thai-scalable-fonts/SOURCES/90-thai-scalable-synthetic-umpush.conf
2021-10-08 17:15:01 +00:00

28 lines
738 B
XML

<?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>