93-final-rendering.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <!-- ## Final settings ## -->
  5. <!-- Use matrix settings to transform a font
  6. Slightly stretch a font
  7. Does not work with Google Chrome, but does in Firefox -->
  8. <!--<match target="font">
  9. <test name="family">
  10. <string>Some font</string>
  11. </test>
  12. <test name="weight" compare="less">
  13. <const>bold</const>
  14. </test>
  15. <test name="pixelsize" compare="more_eq">
  16. <double>9.5</double>
  17. </test>
  18. <test name="pixelsize" compare="less">
  19. <double>10.5</double>
  20. </test>
  21. <edit name="matrix" mode="assign">
  22. <times>
  23. <name>matrix</name>
  24. <matrix>
  25. <double>1.1</double>
  26. <double>0.0</double>
  27. <double>0.0</double>
  28. <double>1.0</double>
  29. </matrix>
  30. </times>
  31. </edit>
  32. </match>-->
  33. <!-- Apply full hinting to fonts < Regular, > 24.5px -->
  34. <match target="font">
  35. <test name="weight" compare="less">
  36. <const>regular</const>
  37. </test>
  38. <test name="pixelsize" compare="more">
  39. <double>24.5</double>
  40. </test>
  41. <edit name="hinting" mode="assign">
  42. <bool>true</bool>
  43. </edit>
  44. <edit name="hintstyle" mode="assign">
  45. <const>hintfull</const>
  46. </edit>
  47. </match>
  48. </fontconfig>