Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. cat /etc/fonts/local.conf
  2. <?xml version="1.0"?>
  3. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  4. <!-- /etc/fonts/local.conf file to configure system font access -->
  5. <fontconfig>
  6.  
  7. <!-- Use the Autohinter -->
  8. <match target="font">
  9. <edit name="autohint" mode="assign"><bool>true</bool></edit>
  10. </match>
  11.  
  12. <!-- Disable Autohinting for bold fonts -->
  13. <match target="font">
  14. <test name="weight" compare="more"><const>medium</const></test>
  15. <edit name="autohint" mode="assign"><bool>false</bool></edit>
  16. </match>
  17.  
  18. <!Enable sub-pixel renderin>
  19. <!-- Uncomment this if you have an LCD screen-->
  20. <match target="font">
  21. <edit name="rgba" mode="assign"><const>rgb</const></edit>
  22. </match>
  23.  
  24.  
  25. <!-- Exclude/Include a range of fonts for Anti Aliasing -->
  26.  
  27. <match target="font">
  28. <test qual="any" name="size" compare="more"><double>9</double></test>
  29. <test qual="any" name="size" compare="less"><double>14</double></test>
  30. <edit name="antialias" mode="assign"><bool>true</bool></edit>
  31. </match>
  32.  
  33.  
  34. <!-- And/Or disable Anti Aliasing for a range on pixel-based size.
  35. Disabling this using both methods seems to fix Firefox. -->
  36. <match target="font">
  37. <test compare="less" name="pixelsize" qual="any"><double>20</double></test>
  38. <edit mode="assign" name="antialias"><bool>false</bool></edit>
  39. </match>
  40.  
  41. <!-- Ignore any embedded bitmaps in TTF, etc (Microsoft's Calibri and others from Office 07/Vista have these) -->
  42. <match target="font" >
  43. <edit name="embeddedbitmap" mode="assign" >
  44. <bool>false</bool>
  45. </edit>
  46. </match>
  47.  
  48.  
  49. <!-- Other config options that were added to previous versions of config files in the Gentoo Wiki HOWTO.
  50. Need clarification. -->
  51. <match target="font">
  52. <edit name="hinting" mode="assign"><bool>true</bool></edit>
  53. <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
  54. </match>
  55.  
  56. </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement