68-override.conf 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <!-- ## Override global settings in certain situations ## -->
  5. <!-- Replace "Lucida Grande 9px bold with Lucida Sans Unicode. -->
  6. <match target="pattern">
  7. <test name="family" compare="eq">
  8. <string>Lucida Grande</string>
  9. </test>
  10. <test name="pixelsize" compare="eq">
  11. <double>9</double>
  12. </test>
  13. <edit name="family" mode="prepend" binding="same">
  14. <string>Lucida Sans Unicode</string>
  15. </edit>
  16. </match>
  17. <!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
  18. <match target="font">
  19. <test name="family">
  20. <string>ProFontWindows</string>
  21. </test>
  22. <edit name="hintstyle" mode="assign">
  23. <const>hintnone</const>
  24. </edit>
  25. <edit name="antialias" mode="assign">
  26. <bool>false</bool>
  27. </edit>
  28. <edit name="hinting" mode="assign">
  29. <bool>false</bool>
  30. </edit>
  31. <edit name="prefer_bitmap" mode="assign">
  32. <bool>true</bool>
  33. </edit>
  34. </match>
  35. <match target="font">
  36. <test name="family">
  37. <string>Terminus</string>
  38. </test>
  39. <edit name="hintstyle" mode="assign">
  40. <const>hintnone</const>
  41. </edit>
  42. <edit name="antialias" mode="assign">
  43. <bool>false</bool>
  44. </edit>
  45. <edit name="hinting" mode="assign">
  46. <bool>false</bool>
  47. </edit>
  48. <edit name="prefer_bitmap" mode="assign">
  49. <bool>true</bool>
  50. </edit>
  51. </match>
  52. <match target="font">
  53. <test name="family">
  54. <string>Terminus (ttf)</string>
  55. </test>
  56. <edit name="hintstyle" mode="assign">
  57. <const>hintnone</const>
  58. </edit>
  59. <edit name="antialias" mode="assign">
  60. <bool>false</bool>
  61. </edit>
  62. <edit name="hinting" mode="assign">
  63. <bool>false</bool>
  64. </edit>
  65. <edit name="prefer_bitmap" mode="assign">
  66. <bool>true</bool>
  67. </edit>
  68. </match>
  69. <!-- Treat Luxi Mono as a monospace font -->
  70. <match target="scan">
  71. <test name="family">
  72. <string>Luxi Mono</string>
  73. </test>
  74. <edit name="spacing">
  75. <int>100</int>
  76. </edit>
  77. </match>
  78. <!-- Monochrome BCI for these fonts (circa Windows 98). -->
  79. <!-- This will make them look like bitmap fonts. Good for monospace.
  80. This should only be used by fonts that contain TrueType instructions. -->
  81. <!--
  82. <match target="font">
  83. <test name="family">
  84. <string>FONT NAME HERE</string>
  85. </test>
  86. <edit name="hinting" mode="assign">
  87. <bool>true</bool>
  88. </edit>
  89. <edit name="autohint" mode="assign">
  90. <bool>false</bool>
  91. </edit>
  92. <edit name="antialias" mode="assign">
  93. <bool>false</bool>
  94. </edit>
  95. <edit name="hintstyle" mode="assign">
  96. <const>hintfull</const>
  97. </edit>
  98. </match>
  99. -->
  100. <!-- Full autohint. -->
  101. <!-- Makes vertical/horizontal stems align to pixels, but is not
  102. true to the glyphs. Some glyphs may look forced into place,
  103. however they are very sharp. -->
  104. <!--
  105. <match target="font">
  106. <test name="family">
  107. <string>FONT NAME HERE</string>
  108. </test>
  109. <edit name="hinting" mode="assign">
  110. <bool>true</bool>
  111. </edit>
  112. <edit name="autohint" mode="assign">
  113. <bool>true</bool>
  114. </edit>
  115. <edit name="antialias" mode="assign">
  116. <bool>true</bool>
  117. </edit>
  118. <edit name="hintstyle" mode="assign">
  119. <const>hintfull</const>
  120. </edit>
  121. </match>
  122. -->
  123. <!-- Light autohint on italics. -->
  124. <!-- Use for anything that is full auto or TT hinted above. -->
  125. <!--
  126. <match target="font">
  127. <test name="family">
  128. <string>FONT NAME HERE</string>
  129. </test>
  130. <test target="pattern" name="slant" compare="not_eq">
  131. <const>roman</const>
  132. </test>
  133. <edit name="hinting" mode="assign">
  134. <bool>true</bool>
  135. </edit>
  136. <edit name="autohint" mode="assign">
  137. <bool>true</bool>
  138. </edit>
  139. <edit name="antialias" mode="assign">
  140. <bool>true</bool>
  141. </edit>
  142. <edit name="hintstyle" mode="assign">
  143. <const>hintslight</const>
  144. </edit>
  145. </match>
  146. -->
  147. </fontconfig>