60-ipa-gothic.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- Sazanami Mincho -->
  5. <match target="font">
  6. <test name="family">
  7. <string>IPAPGothic</string>
  8. <string>IPAGothic</string>
  9. </test>
  10. <test name="pixelsize" compare="less">
  11. <double>9</double>
  12. </test>
  13. <edit name="hinting" mode="assign">
  14. <bool>false</bool>
  15. </edit>
  16. <edit name="autohint" mode="assign">
  17. <bool>false</bool>
  18. </edit>
  19. </match>
  20. <match target="font">
  21. <test name="family">
  22. <string>IPAPGothic</string>
  23. <string>IPAGothic</string>
  24. </test>
  25. <test name="pixelsize" compare="more_eq">
  26. <double>9</double>
  27. </test>
  28. <edit name="hinting" mode="assign">
  29. <bool>true</bool>
  30. </edit>
  31. <edit name="hintstyle" mode="assign">
  32. <const>hintslight</const>
  33. </edit>
  34. <edit name="autohint" mode="assign">
  35. <bool>true</bool>
  36. </edit>
  37. </match>
  38. <alias>
  39. <family>sans-serif</family>
  40. <prefer>
  41. <family>IPAPGothic</family>
  42. </prefer>
  43. </alias>
  44. <alias>
  45. <family>monospace</family>
  46. <prefer>
  47. <family>IPAGothic</family>
  48. </prefer>
  49. </alias>
  50. </fontconfig>