/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

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- Fall back missing MS Sans Serif to Loma -->
  5. <match target="pattern">
  6. <test qual="any" name="family" compare="eq">
  7. <string>MS Sans Serif</string>
  8. <string>Microsoft Sans Serif</string>
  9. </test>
  10. <edit name="family" mode="append" binding="same">
  11. <string>Loma</string>
  12. </edit>
  13. </match>
  14. <!-- Synthesize Windows Angsana with scaled-down Kinnari -->
  15. <match target="pattern">
  16. <test qual="any" name="family" compare="eq">
  17. <string>AngsanaUPC</string>
  18. <string>Angsana New</string>
  19. </test>
  20. <edit name="family" mode="append" binding="same">
  21. <string>Kinnari</string>
  22. </edit>
  23. </match>
  24. <match target="font">
  25. <test name="family" compare="eq">
  26. <string>Kinnari</string>
  27. </test>
  28. <test target="pattern" qual="any" name="family" compare="eq">
  29. <string>AngsanaUPC</string>
  30. <string>Angsana New</string>
  31. </test>
  32. <edit name="matrix" mode="assign">
  33. <matrix>
  34. <double>0.67</double><double>0</double>
  35. <double>0</double><double>0.67</double>
  36. </matrix>
  37. </edit>
  38. </match>
  39. <!-- Synthesize Windows Browallia with scaled-down Garuda -->
  40. <match target="pattern">
  41. <test qual="any" name="family" compare="eq">
  42. <string>BrowalliaUPC</string>
  43. <string>Browallia New</string>
  44. </test>
  45. <edit name="family" mode="append" binding="same">
  46. <string>Garuda</string>
  47. </edit>
  48. </match>
  49. <match target="font">
  50. <test name="family" compare="eq">
  51. <string>Garuda</string>
  52. </test>
  53. <test target="pattern" qual="any" name="family" compare="eq">
  54. <string>BrowalliaUPC</string>
  55. <string>Browallia New</string>
  56. </test>
  57. <edit name="matrix" mode="assign">
  58. <matrix>
  59. <double>0.68</double><double>0</double>
  60. <double>0</double><double>0.68</double>
  61. </matrix>
  62. </edit>
  63. </match>
  64. <!-- Synthesize Windows Cordia with scaled-down Umpush -->
  65. <match target="pattern">
  66. <test qual="any" name="family" compare="eq">
  67. <string>CordiaUPC</string>
  68. <string>Cordia New</string>
  69. </test>
  70. <edit name="family" mode="append" binding="same">
  71. <string>Umpush</string>
  72. </edit>
  73. </match>
  74. <match target="font">
  75. <test name="family" compare="eq">
  76. <string>Umpush</string>
  77. </test>
  78. <test target="pattern" qual="any" name="family" compare="eq">
  79. <string>CordiaUPC</string>
  80. <string>Cordia New</string>
  81. </test>
  82. <edit name="matrix" mode="assign">
  83. <matrix>
  84. <double>0.65</double><double>0</double>
  85. <double>0</double><double>0.65</double>
  86. </matrix>
  87. </edit>
  88. </match>
  89. </fontconfig>