/fonts/conf.d/89-ttf-thai-tlwg-synthetic.conf
http://github.com/brinkman83/bashrc · Config · 89 lines · 89 code · 0 blank · 0 comment · 0 complexity · 70a456ea4c8af3b755c7771769cdbdae MD5 · raw file
- <?xml version="1.0"?>
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
- <fontconfig>
- <!-- Fall back missing MS Sans Serif to Loma -->
- <match target="pattern">
- <test qual="any" name="family" compare="eq">
- <string>MS Sans Serif</string>
- <string>Microsoft Sans Serif</string>
- </test>
- <edit name="family" mode="append" binding="same">
- <string>Loma</string>
- </edit>
- </match>
- <!-- Synthesize Windows Angsana with scaled-down Kinnari -->
- <match target="pattern">
- <test qual="any" name="family" compare="eq">
- <string>AngsanaUPC</string>
- <string>Angsana New</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="eq">
- <string>AngsanaUPC</string>
- <string>Angsana New</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>
- <!-- Synthesize Windows Browallia with scaled-down Garuda -->
- <match target="pattern">
- <test qual="any" name="family" compare="eq">
- <string>BrowalliaUPC</string>
- <string>Browallia New</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="eq">
- <string>BrowalliaUPC</string>
- <string>Browallia New</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>
- <!-- Synthesize Windows Cordia with scaled-down Umpush -->
- <match target="pattern">
- <test qual="any" name="family" compare="eq">
- <string>CordiaUPC</string>
- <string>Cordia New</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="eq">
- <string>CordiaUPC</string>
- <string>Cordia New</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>