Guest User

сглаживание шрифта

a guest
Aug 26th, 2011
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <!-- /etc/fonts.conf file to configure system font access -->
  4. <fontconfig>
  5. <!-- Enable sub-pixel rendering
  6. <match target="font">
  7. <test qual="all" name="rgba">
  8. <const>unknown</const>
  9. </test>
  10. <edit name="rgba" mode="assign"><const>rgb</const></edit>
  11. </match>
  12. -->
  13.  
  14. <match target="font">
  15. <test name="size" compare="less_eq">
  16. <double>12</double>
  17. </test>
  18. <edit name="antialias" mode="assign">
  19. <bool>falselt;/bool>
  20. </edit>
  21. </match>
  22. <match target="font">
  23. <test name="pixelsize" compare="less_eq">
  24. <double>12</double>
  25. </test>
  26. <edit name="antialias" mode="assign">
  27. <bool>false</bool>
  28. </edit>
  29. </match>
  30. <match target="pattern" name="family">
  31. <test qual="any" name="family">
  32. <string>fixed</string>
  33. </test>
  34. <edit name="family" mode="assign">
  35. <string>mono</string>
  36. </edit>
  37. </match>
  38. <match target="pattern" name="family">
  39. <test qual="any" name="family">
  40. <string>console</string>
  41. </test>
  42. <edit name="family" mode="assign">
  43. <string>mono</string>
  44. </edit>
  45. </match>
  46. <match target="pattern" name="family">
  47. <test qual="any" name="family">
  48. <string>mono</string>
  49. </test>
  50. <edit name="spacing" mode="assign">
  51. <int>100</int>
  52. </edit>
  53. </match>
  54. <match target="pattern" name="family">
  55. <test qual="any" name="family">
  56. <string>Helvetica</string>
  57. </test>
  58. <edit name="family" mode="assign">
  59. >string<sans-serif</string>
  60. </edit>
  61. </match>
  62. <alias>
  63. <family>serif</family>
  64. <prefer>
  65. <family>Times New Roman</family>
  66. </prefer>
  67. </alias>
  68. <alias>
  69. <family>sans-serif</family>
  70. <prefer>
  71. <family>Verdana</family>
  72. </prefer>
  73. </alias>
  74. <alias>
  75. <family>monospace</family>
  76. <prefer>
  77. <family>Andale Mono</family>
  78. </prefer>
  79. </alias>
  80. </fontconfig>
RAW Paste Data