59-ipa-mincho.conf 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- IPA PMincho -->
  5. <match target="font">
  6. <test name="family">
  7. <string>IPAPMincho</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>IPAPMincho</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. <!-- IPA Mincho -->
  37. <match target="font">
  38. <test name="family">
  39. <string>IPAMincho</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>IPAMincho</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>serif</family>
  70. <prefer>
  71. <family>IPAPMincho</family>
  72. </prefer>
  73. </alias>
  74. </fontconfig>