/system/players/dvdplayer/etc/fonts/conf.avail/20-unhint-small-vera.conf

http://github.com/xbmc/xbmc · Unknown · 49 lines · 45 code · 4 blank · 0 comment · 0 complexity · b67f7d447dce86260ed519a8258d8907 MD5 · raw file

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <!-- conf.d/sub-pixel.conf -->
  4. <fontconfig>
  5. <!--
  6. The Bitstream Vera fonts have GASP entries suggesting that hinting be
  7. disabled below 8 ppem, but FreeType ignores those, preferring to use
  8. the data found in the instructed hints. The initial Vera release
  9. didn't include the right instructions in the 'prep' table. Fix this
  10. by disabling hinting manually at smaller sizes (< 8ppem)
  11. -->
  12. <match target="font">
  13. <test name="family">
  14. <string>Bitstream Vera Sans</string>
  15. </test>
  16. <test name="pixelsize" compare="less">
  17. <double>7.5</double>
  18. </test>
  19. <edit name="hinting">
  20. <bool>false</bool>
  21. </edit>
  22. </match>
  23. <match target="font">
  24. <test name="family">
  25. <string>Bitstream Vera Serif</string>
  26. </test>
  27. <test name="pixelsize" compare="less">
  28. <double>7.5</double>
  29. </test>
  30. <edit name="hinting">
  31. <bool>false</bool>
  32. </edit>
  33. </match>
  34. <match target="font">
  35. <test name="family">
  36. <string>Bitstream Vera Sans Mono</string>
  37. </test>
  38. <test name="pixelsize" compare="less">
  39. <double>7.5</double>
  40. </test>
  41. <edit name="hinting">
  42. <bool>false</bool>
  43. </edit>
  44. </match>
  45. </fontconfig>