60-ipa-gothic.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- IPAPGothic -->
  5. <match target="font">
  6. <test name="family">
  7. <string>IPAPGothic</string>
  8. </test>
  9. <test name="pixelsize" compare="less">
  10. <double>9</double>
  11. </test>
  12. <edit name="hinting" mode="assign">
  13. <bool>false</bool>
  14. </edit>
  15. <edit name="autohint" mode="assign">
  16. <bool>false</bool>
  17. </edit>
  18. </match>
  19. <match target="font">
  20. <test name="family">
  21. <string>IPAPGothic</string>
  22. </test>
  23. <test name="pixelsize" compare="more_eq">
  24. <double>9</double>
  25. </test>
  26. <edit name="hinting" mode="assign">
  27. <bool>true</bool>
  28. </edit>
  29. <edit name="hintstyle" mode="assign">
  30. <const>hintslight</const>
  31. </edit>
  32. <edit name="autohint" mode="assign">
  33. <bool>true</bool>
  34. </edit>
  35. </match>
  36. <!-- IPAGothic -->
  37. <match target="font">
  38. <test name="family">
  39. <string>IPAGothic</string>
  40. </test>
  41. <test name="pixelsize" compare="less">
  42. <double>9</double>
  43. </test>
  44. <edit name="hinting" mode="assign">
  45. <bool>false</bool>
  46. </edit>
  47. <edit name="autohint" mode="assign">
  48. <bool>false</bool>
  49. </edit>
  50. </match>
  51. <match target="font">
  52. <test name="family">
  53. <string>IPAGothic</string>
  54. </test>
  55. <test name="pixelsize" compare="more_eq">
  56. <double>9</double>
  57. </test>
  58. <edit name="hinting" mode="assign">
  59. <bool>true</bool>
  60. </edit>
  61. <edit name="hintstyle" mode="assign">
  62. <const>hintslight</const>
  63. </edit>
  64. <edit name="autohint" mode="assign">
  65. <bool>true</bool>
  66. </edit>
  67. </match>
  68. <alias>
  69. <family>sans-serif</family>
  70. <prefer>
  71. <family>IPAPGothic</family>
  72. </prefer>
  73. </alias>
  74. <alias>
  75. <family>monospace</family>
  76. <prefer>
  77. <family>IPAGothic</family>
  78. </prefer>
  79. </alias>
  80. </fontconfig>