Advertisement
Guest User

Untitled

a guest
Mar 21st, 2013
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. <fontconfig>
  2. <!-- General Settings -->
  3. <match target="font" >
  4. <edit mode="assign" name="rgba" >
  5. <const>rgb</const>
  6. </edit>
  7. </match>
  8. <match target="font" >
  9. <edit mode="assign" name="hinting" >
  10. <bool>true</bool>
  11. </edit>
  12. </match>
  13. <match target="font" >
  14. <edit mode="assign" name="hintstyle" >
  15. <const>hintslight</const>
  16. </edit>
  17. </match>
  18. <match target="font" >
  19. <edit mode="assign" name="antialias" >
  20. <bool>true</bool>
  21. </edit>
  22. </match>
  23. <match target="pattern" >
  24. <edit mode="assign" name="autohint" >
  25. <bool>true</bool>
  26. </edit>
  27. </match>
  28. <match target="font" >
  29. <edit mode="assign" name="lcdfilter">
  30. <const>lcddefault</const>
  31. </edit>
  32. </match>
  33. <!-- set dpi -->
  34. <match target="pattern" >
  35. <edit mode="assign" name="dpi" >
  36. <double>88</double>
  37. </edit>
  38. </match>
  39. <!-- consolas and inconsolata appear fuzzy -->
  40. <match target="font">
  41. <test compare="eq" name="family">
  42. <string>Consolas</string>
  43. </test>
  44. <edit mode="assign" name="hintstyle">
  45. <const>hintmedium</const>
  46. </edit>
  47. </match>
  48. <match target="font">
  49. <test compare="eq" name="family">
  50. <string>Inconsolata</string>
  51. </test>
  52. <edit mode="assign" name="hintstyle">
  53. <const>hintslight</const>
  54. </edit>
  55. </match>
  56. <!-- hintmedium for small fonts, reduces fuzziness -->
  57. <!-- pretty sure this doesn't work -->
  58. <match target="font">
  59. <test compare="less_eq" name="pixelsize">
  60. <double>11</double>
  61. </test>
  62. <edit mode="assign" name="hintstyle">
  63. <const>hintslight</const>
  64. </edit>
  65. </match>
  66. <!-- calibri jaggedness -->
  67. <match target="font" >
  68. <edit mode="assign" name="embeddedbitmap" >
  69. <bool>false</bool></edit>
  70. </match>
  71. <match target="font">
  72. <test compare="eq" name="family">
  73. <string>Arial</string>
  74. </test>
  75. <edit mode="assign" name="hinting">
  76. <bool>true</bool>
  77. </edit>
  78. <edit mode="assign" name="hintstyle">
  79. <const>hintfull</const>
  80. </edit>
  81. <edit mode="assign" name="autohint">
  82. <bool>true</bool>
  83. </edit>
  84. <test compare="less" name="weight">
  85. <const>medium</const>
  86. </test>
  87. </match>
  88. <match target="font">
  89. <test compare="eq" name="family">
  90. <string>Impact</string>
  91. </test>
  92. <edit mode="assign" name="hinting">
  93. <bool>true</bool>
  94. </edit>
  95. <edit mode="assign" name="hintstyle">
  96. <const>hintfull</const>
  97. </edit>
  98. <edit mode="assign" name="autohint">
  99. <bool>false</bool>
  100. </edit>
  101. </match>
  102. </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement