59-ipa-mincho.conf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- IPA Mincho -->
  5. <match target="font">
  6. <test name="family">
  7. <string>IPAPMincho</string>
  8. <string>IPAMincho</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>IPAPMincho</string>
  23. <string>IPAMincho</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>serif</family>
  40. <prefer>
  41. <family>IPAPMincho</family>
  42. </prefer>
  43. </alias>
  44. </fontconfig>