Advertisement
Guest User

Untitled

a guest
Sep 5th, 2019
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <!-- /etc/fonts/fonts.conf file to configure system font access -->
  4. <fontconfig>
  5.  
  6. <!--
  7. DO NOT EDIT THIS FILE.
  8. IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
  9. LOCAL CHANGES BELONG IN 'local.conf'.
  10.  
  11. The intent of this standard configuration file is to be adequate for
  12. most environments. If you have a reasonably normal environment and
  13. have found problems with this configuration, they are probably
  14. things that others will also want fixed. Please submit any
  15. problems to the fontconfig bugzilla system located at fontconfig.org
  16.  
  17. Note that the normal 'make install' procedure for fontconfig is to
  18. replace any existing fonts.conf file with the new version. Place
  19. any local customizations in local.conf which this file references.
  20.  
  21. Keith Packard
  22. -->
  23.  
  24. <!-- Font directory list -->
  25.  
  26. <dir>/usr/share/fonts</dir>
  27. <dir>/usr/local/share/fonts</dir>
  28. <dir prefix="xdg">fonts</dir>
  29. <!-- the following element will be removed in the future -->
  30. <dir>~/.fonts</dir>
  31.  
  32.  
  33.  
  34. <!--
  35. Accept deprecated 'mono' alias, replacing it with 'monospace'
  36. <match target="pattern">
  37. <test qual="any" name="family">
  38. <string>mono</string>
  39. </test>
  40. <edit name="family" mode="assign" binding="same">
  41. <string>monospace</string>
  42. </edit>
  43. </match>
  44. -->
  45.  
  46. <!--
  47. Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
  48. <match target="pattern">
  49. <test qual="any" name="family">
  50. <string>sans serif</string>
  51. </test>
  52. <edit name="family" mode="assign" binding="same">
  53. <string>sans-serif</string>
  54. </edit>
  55. </match>
  56. -->
  57.  
  58. <!--
  59. Accept deprecated 'sans' alias, replacing it with 'sans-serif'
  60. <match target="pattern">
  61. <test qual="any" name="family">
  62. <string>sans</string>
  63. </test>
  64. <edit name="family" mode="assign" binding="same">
  65. <string>sans-serif</string>
  66. </edit>
  67. </match>
  68. -->
  69.  
  70. <match target="pattern">
  71. <test qual="any" name="family">
  72. <string>mono</string>
  73. </test>
  74. <edit name="family" mode="assign" binding="same">
  75. <string>DejaVu Sans Mono</string>
  76. </edit>
  77. </match>
  78. <match target="pattern">
  79. <test qual="any" name="family">
  80. <string>monospace</string>
  81. </test>
  82. <edit name="family" mode="assign" binding="same">
  83. <string>DejaVu Sans Mono</string>
  84. </edit>
  85. </match>
  86. <match target="pattern">
  87. <test qual="any" name="family">
  88. <string>sans serif</string>
  89. </test>
  90. <edit name="family" mode="assign" binding="same">
  91. <string>DejaVu Sans Mono</string>
  92. </edit>
  93. </match>
  94. <match target="pattern">
  95. <test qual="any" name="family">
  96. <string>serif</string>
  97. </test>
  98. <edit name="family" mode="assign" binding="same">
  99. <string>DejaVu Sans Mono</string>
  100. </edit>
  101. </match>
  102. <match target="pattern">
  103. <test qual="any" name="family">
  104. <string>sans-serif</string>
  105. </test>
  106. <edit name="family" mode="assign" binding="same">
  107. <string>DejaVu Sans Mono</string>
  108. </edit>
  109. </match>
  110. <match target="pattern">
  111. <test qual="any" name="family">
  112. <string>sans</string>
  113. </test>
  114. <edit name="family" mode="assign" binding="same">
  115. <string>DejaVu Sans Mono</string>
  116. </edit>
  117. </match>
  118.  
  119. <!--
  120. Load local system customization file
  121. -->
  122. <include ignore_missing="yes">conf.d</include>
  123.  
  124. <!-- Font cache directory list -->
  125.  
  126. <cachedir>/var/cache/fontconfig</cachedir>
  127. <cachedir prefix="xdg">fontconfig</cachedir>
  128. <!-- the following element will be removed in the future -->
  129. <cachedir>~/.fontconfig</cachedir>
  130.  
  131. <config>
  132. <!--
  133. Rescan configuration every 30 seconds when FcFontSetList is called
  134. -->
  135. <rescan>
  136. <int>30</int>
  137. </rescan>
  138. </config>
  139.  
  140.  
  141.  
  142.  
  143. <match target="pattern">
  144. <edit name="dpi" mode="assign"><double>96</double></edit>
  145. </match>
  146.  
  147.  
  148.  
  149.  
  150.  
  151. <!-- Font substitution rules -->
  152. <alias binding="same">
  153. <family>Bepa Mono</family>
  154. <accept>
  155. <family>DejaVu Sans Mono</family>
  156. </accept>
  157. </alias>
  158. <alias binding="same">
  159. <family>Bitstream Prima Sans Mono</family>
  160. <accept>
  161. <family>DejaVu Sans Mono</family>
  162. </accept>
  163. </alias>
  164. <alias binding="same">
  165. <family>Bitstream Vera Sans Mono</family>
  166. <accept>
  167. <family>DejaVu Sans Mono</family>
  168. </accept>
  169. </alias>
  170. <alias binding="same">
  171. <family>DejaVu LGC Sans Mono</family>
  172. <accept>
  173. <family>DejaVu Sans Mono</family>
  174. </accept>
  175. </alias>
  176. <alias binding="same">
  177. <family>Olwen Sans Mono</family>
  178. <accept>
  179. <family>DejaVu Sans Mono</family>
  180. </accept>
  181. </alias>
  182. <alias binding="same">
  183. <family>SUSE Sans Mono</family>
  184. <accept>
  185. <family>DejaVu Sans Mono</family>
  186. </accept>
  187. </alias>
  188.  
  189.  
  190.  
  191. <alias>
  192. <family>serif</family>
  193. <prefer>
  194. <family>DejaVu Sans Mono</family>
  195. </prefer>
  196. </alias>
  197. <alias>
  198. <family>sans-serif</family>
  199. <prefer>
  200. <family>DejaVu Sans Mono</family>
  201. </prefer>
  202. </alias>
  203. <alias>
  204. <family>monospace</family>
  205. <prefer>
  206. <family>DejaVu Sans Mono</family>
  207. </prefer>
  208. </alias>
  209.  
  210.  
  211.  
  212. <match target="font">
  213. <edit mode="assign" name="antialias">
  214. <bool>true</bool>
  215. </edit>
  216. </match>
  217. <match target="font">
  218. <edit mode="assign" name="hinting">
  219. <bool>true</bool>
  220. </edit>
  221. </match>
  222. <match target="font">
  223. <edit mode="assign" name="autohint">
  224. <bool>true</bool>
  225. </edit>
  226. </match>
  227. <match target="font">
  228. <edit mode="assign" name="hintstyle">
  229. <const>hintfull</const>
  230. </edit>
  231. </match>
  232. <match target="font">
  233. <edit mode="assign" name="rgba">
  234. <const>rgb</const>
  235. </edit>
  236. </match>
  237.  
  238. </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement