20-unhint-small-dejavu-lgc-serif.conf 866 B

1234567891011121314151617181920212223242526
  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-lgc-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 LGC 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>