summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf')
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf104
1 files changed, 104 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf b/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf
new file mode 100644
index 00000000000..7b2d9769cb1
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/fontconfig/89-ttf-thai-tlwg-synthetic.conf
@@ -0,0 +1,104 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <!-- Fall back missing Tahoma to Waree -->
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>th</string>
+ </test>
+ <test qual="any" name="family" compare="eq">
+ <string>Tahoma</string>
+ </test>
+ <edit name="family" mode="append" binding="same">
+ <string>Waree</string>
+ </edit>
+ </match>
+ <!-- Fall back missing MS Sans Serif to Loma -->
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>th</string>
+ </test>
+ <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>