fonts.conf 2.9 KB

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