fonts.conf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <match target="font">
  5. <edit mode="assign" name="hinting"><bool>false</bool></edit>
  6. <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
  7. <edit mode="assign" name="rgba"><const>rgb</const></edit>
  8. <edit mode="assign" name="antialias"><bool>true</bool></edit>
  9. <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
  10. <edit mode="assign" name="rh_prefer_bitmaps"><bool>false</bool></edit>
  11. <edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
  12. <edit mode="assign" name="embolden"><bool>false</bool></edit>
  13. </match>
  14. <match target="font">
  15. <test name="pixelsize" compare="less">
  16. <double>18</double>
  17. </test>
  18. <edit name="lcdfilter">
  19. <const>lcdlight</const>
  20. </edit>
  21. </match>
  22. <alias binding="strong">
  23. <family>宋体</family>
  24. <prefer>
  25. <family>Noto Serif CJK SC</family>
  26. </prefer>
  27. </alias>
  28. <alias binding="strong">
  29. <family>SimSun</family>
  30. <prefer>
  31. <family>Noto Serif CJK SC</family>
  32. </prefer>
  33. </alias>
  34. <alias binding="strong">
  35. <family>微软雅黑</family>
  36. <prefer>
  37. <family>sans-serif</family>
  38. </prefer>
  39. </alias>
  40. <alias binding="strong">
  41. <family>Microsoft YaHei</family>
  42. <prefer>
  43. <family>sans-serif</family>
  44. </prefer>
  45. </alias>
  46. <alias binding="strong">
  47. <family>Arial</family>
  48. <prefer>
  49. <family>sans-serif</family>
  50. </prefer>
  51. </alias>
  52. <alias binding="strong">
  53. <family>Helvetica</family>
  54. <prefer>
  55. <family>sans-serif</family>
  56. </prefer>
  57. </alias>
  58. <alias binding="strong">
  59. <family>Times</family>
  60. <prefer>
  61. <family>serif</family>
  62. </prefer>
  63. </alias>
  64. <alias binding="strong">
  65. <family>serif</family>
  66. <prefer>
  67. <family>Linux Libertine</family>
  68. <family>AR PLMingU20 Light</family>
  69. <family>AR PLBaosong2GBK Light</family>
  70. <family>Noto Serif CJK SC</family>
  71. </prefer>
  72. </alias>
  73. <alias binding="strong">
  74. <family>Courier</family>
  75. <prefer>
  76. <family>Monaco</family>
  77. </prefer>
  78. </alias>
  79. <alias binding="strong">
  80. <family>monospace</family>
  81. <prefer>
  82. <family>Inconsolata</family>
  83. <family>DejaVu Sans Mono</family>
  84. <family>Ubuntu Mono</family>
  85. <family>Source Han Sans Old Style</family>
  86. <family>Source Han Sans KR</family>
  87. <family>思源黑體 TWHK</family>
  88. <family>思源黑体 CN</family>
  89. <family>文泉驛微米黑</family>
  90. <family>MingLan</family>
  91. <family>LanceGothicOld</family>
  92. </prefer>
  93. </alias>
  94. <alias binding="strong">
  95. <family>sans-serif</family>
  96. <prefer>
  97. <family>Cantarell</family>
  98. <family>Ubuntu</family>
  99. <family>明蘭</family>
  100. <family>Source Han Sans Old Style</family>
  101. <family>思源黑体 CN</family>
  102. <family>文泉驛微米黑</family>
  103. </prefer>
  104. </alias>
  105. <alias binding="strong">
  106. <family>HanaMinB</family>
  107. <prefer>
  108. <family>HanaMinA</family>
  109. </prefer>
  110. </alias>
  111. <alias binding="strong">
  112. <family>HanaMinA</family>
  113. <accept>
  114. <family>HanaMinB</family>
  115. </accept>
  116. </alias>
  117. <alias binding="strong">
  118. <family>HAN NOM B</family>
  119. <prefer>
  120. <family>HAN NOM A</family>
  121. </prefer>
  122. </alias>
  123. <alias binding="strong">
  124. <family>HAN NOM A</family>
  125. <accept>
  126. <family>HAN NOM B</family>
  127. </accept>
  128. </alias>
  129. <alias binding="strong">
  130. <family>Source Han Sans KR</family>
  131. <accept>
  132. <family>思源黑體 TWHK</family>
  133. <family>思源黑体 CN</family>
  134. </accept>
  135. </alias>
  136. <alias binding="strong">
  137. <family>思源黑體 TWHK</family>
  138. <accept>
  139. <family>思源黑体 CN</family>
  140. </accept>
  141. </alias>
  142. <match target="pattern">
  143. <test qual="any" name="family"><string>明蘭</string></test>
  144. <test name="weight" compare="more_eq"><const>bold</const></test>
  145. <edit name="family" mode="assign" binding="same"><string>明蘭_TC</string></edit>
  146. </match>
  147. </fontconfig>