20-unhint-small-dejavu-serif.conf 858 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
  3. <fontconfig>
  4. <!-- /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
  5. Disable hinting manually at smaller sizes (< 8ppem)
  6. This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
  7. derived from Vera.
  8. The Bistream Vera fonts have GASP entries suggesting that hinting be
  9. disabled below 8 ppem, but FreeType ignores those, preferring to use
  10. the data found in the instructed hints. The initial Vera release
  11. didn't include the right instructions in the 'prep' table.
  12. -->
  13. <match target="font">
  14. <test name="family">
  15. <string>DejaVu Serif</string>
  16. </test>
  17. <test compare="less" name="pixelsize">
  18. <double>7.5</double>
  19. </test>
  20. <edit name="hinting">
  21. <bool>false</bool>
  22. </edit>
  23. </match>
  24. </fontconfig>