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

28 lines
747 B
Plaintext
Raw Normal View History

2021-11-02 21:06:30 +00:00
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Synthesize Windows Browallia with scaled-down Garuda -->
<match target="pattern">
<test qual="any" name="family" compare="contains">
<string>Browallia</string>
</test>
<edit name="family" mode="append" binding="same">
<string>Garuda</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Garuda</string>
</test>
<test target="pattern" qual="any" name="family" compare="contains">
<string>Browallia</string>
</test>
<edit name="matrix" mode="assign">
<matrix>
<double>0.68</double><double>0</double>
<double>0</double><double>0.68</double>
</matrix>
</edit>
</match>
</fontconfig>