fonts.conf 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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>WINDOWSFONTDIR</dir>
  21. <dir>APPSHAREFONTDIR</dir>
  22. <dir>CUSTOMFONTDIR</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. Load local system customization file
  61. -->
  62. <include ignore_missing="yes">conf.d</include>
  63. <!-- Font cache directory list -->
  64. <cachedir>RELATIVE_CACHE</cachedir>
  65. <!--
  66. <cachedir>LOCAL_APPDATA_FONTCONFIG_CACHE</cachedir>
  67. <cachedir prefix="xdg">fontconfig</cachedir>
  68. <cachedir>~/.fontconfig</cachedir>
  69. -->
  70. <!-- the following element will be removed in the future -->
  71. <config>
  72. <!--
  73. Rescan configuration every 30 seconds when FcFontSetList is called
  74. -->
  75. <rescan>
  76. <int>30</int>
  77. </rescan>
  78. </config>
  79. </fontconfig>