fonts.conf 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. DO NOT EDIT THIS FILE.
  7. IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
  8. LOCAL CHANGES BELONG IN 'local.conf'.
  9. The intent of this standard configuration file is to be adequate for
  10. most environments. If you have a reasonably normal environment and
  11. have found problems with this configuration, they are probably
  12. things that others will also want fixed. Please submit any
  13. problems to the fontconfig bugzilla system located at fontconfig.org
  14. Note that the normal 'make install' procedure for fontconfig is to
  15. replace any existing fonts.conf file with the new version. Place
  16. any local customizations in local.conf which this file references.
  17. Keith Packard
  18. -->
  19. <!-- Font directory list -->
  20. <dir>/usr/share/fonts</dir>
  21. <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/local/share/fonts</dir>
  22. <dir prefix="xdg">fonts</dir>
  23. <!-- the following element will be removed in the future -->
  24. <dir>~/.fonts</dir>
  25. <!--
  26. Accept deprecated 'mono' alias, replacing it with 'monospace'
  27. -->
  28. <match target="pattern">
  29. <test qual="any" name="family">
  30. <string>mono</string>
  31. </test>
  32. <edit name="family" mode="assign" binding="same">
  33. <string>monospace</string>
  34. </edit>
  35. </match>
  36. <!--
  37. Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
  38. -->
  39. <match target="pattern">
  40. <test qual="any" name="family">
  41. <string>sans serif</string>
  42. </test>
  43. <edit name="family" mode="assign" binding="same">
  44. <string>sans-serif</string>
  45. </edit>
  46. </match>
  47. <!--
  48. Accept deprecated 'sans' alias, replacing it with 'sans-serif'
  49. -->
  50. <match target="pattern">
  51. <test qual="any" name="family">
  52. <string>sans</string>
  53. </test>
  54. <edit name="family" mode="assign" binding="same">
  55. <string>sans-serif</string>
  56. </edit>
  57. </match>
  58. <!--
  59. Ignore dpkg temporary files created in fonts directories
  60. -->
  61. <selectfont>
  62. <rejectfont>
  63. <glob>*.dpkg-tmp</glob>
  64. </rejectfont>
  65. </selectfont>
  66. <selectfont>
  67. <rejectfont>
  68. <glob>*.dpkg-new</glob>
  69. </rejectfont>
  70. </selectfont>
  71. <!--
  72. Load local system customization file
  73. -->
  74. <include ignore_missing="yes">conf.d</include>
  75. <!-- Font cache directory list -->
  76. <cachedir>/var/cache/fontconfig</cachedir>
  77. <cachedir prefix="xdg">fontconfig</cachedir>
  78. <!-- the following element will be removed in the future -->
  79. <cachedir>~/.fontconfig</cachedir>
  80. <config>
  81. <!--
  82. These are the default Unicode chars that are expected to be blank
  83. in fonts. All other blank chars are assumed to be broken and
  84. won't appear in the resulting charsets
  85. -->
  86. <!--
  87. Rescan configuration every 30 seconds when FcFontSetList is called
  88. -->
  89. <rescan>
  90. <int>30</int>
  91. </rescan>
  92. </config>
  93. </fontconfig>