92-selective-rendering-misc.conf 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <!-- ## Selective rendering: misc and web fonts ## -->
  5. <!-- Bitstream Vera Sans Mono -->
  6. <match target="font">
  7. <test name="family">
  8. <string>Bitstream Vera Sans Mono</string>
  9. </test>
  10. <test name="pixelsize" compare="less_eq">
  11. <double>12.0</double>
  12. </test>
  13. <edit name="lcd_filter" mode="assign">
  14. <const>lcdlegacy</const>
  15. </edit>
  16. <edit name="hintstyle" mode="assign">
  17. <const>hintfull</const>
  18. </edit>
  19. </match>
  20. <!-- Courier (Apple) -->
  21. <match target="font">
  22. <test name="family">
  23. <string>Courier</string>
  24. </test>
  25. <test name="weight" compare="less">
  26. <const>medium</const>
  27. </test>
  28. <test name="pixelsize" compare="less">
  29. <double>20.5</double>
  30. </test>
  31. <edit name="autohint" mode="assign">
  32. <bool>false</bool>
  33. </edit>
  34. <edit name="hinting" mode="assign">
  35. <bool>true</bool>
  36. </edit>
  37. <edit name="hintstyle" mode="assign">
  38. <const>hintfull</const>
  39. </edit>
  40. </match>
  41. <match target="font">
  42. <test name="family">
  43. <string>Courier</string>
  44. </test>
  45. <test name="weight" compare="less">
  46. <const>medium</const>
  47. </test>
  48. <test name="pixelsize" compare="more">
  49. <double>20.5</double>
  50. </test>
  51. <test name="pixelsize" compare="less">
  52. <double>23.5</double>
  53. </test>
  54. <edit name="autohint" mode="assign">
  55. <bool>false</bool>
  56. </edit>
  57. <edit name="hinting" mode="assign">
  58. <bool>true</bool>
  59. </edit>
  60. <edit name="hintstyle" mode="assign">
  61. <const>hintslight</const>
  62. </edit>
  63. </match>
  64. <match target="font">
  65. <test name="family">
  66. <string>Courier</string>
  67. </test>
  68. <test name="weight" compare="more">
  69. <const>medium</const>
  70. </test>
  71. <test name="pixelsize" compare="less">
  72. <double>14.5</double>
  73. </test>
  74. <edit name="autohint" mode="assign">
  75. <bool>false</bool>
  76. </edit>
  77. <edit name="hinting" mode="assign">
  78. <bool>true</bool>
  79. </edit>
  80. <edit name="hintstyle" mode="assign">
  81. <const>hintslight</const>
  82. </edit>
  83. <edit name="lcd_filter" mode="assign">
  84. <const>lcdlegacy</const>
  85. </edit>
  86. </match>
  87. <match target="font">
  88. <test name="family">
  89. <string>Courier</string>
  90. </test>
  91. <test name="weight" compare="more">
  92. <const>medium</const>
  93. </test>
  94. <test name="pixelsize" compare="more">
  95. <double>14.5</double>
  96. </test>
  97. <edit name="autohint" mode="assign">
  98. <bool>false</bool>
  99. </edit>
  100. <edit name="hinting" mode="assign">
  101. <bool>true</bool>
  102. </edit>
  103. <edit name="hintstyle" mode="assign">
  104. <const>hintslight</const>
  105. </edit>
  106. </match>
  107. <!-- Menlo -->
  108. <match target="font">
  109. <test name="family">
  110. <string>Menlo</string>
  111. </test>
  112. <test name="weight" compare="less">
  113. <const>medium</const>
  114. </test>
  115. <test name="pixelsize" compare="less">
  116. <double>13.5</double>
  117. </test>
  118. <edit name="autohint" mode="assign">
  119. <bool>false</bool>
  120. </edit>
  121. <edit name="hinting" mode="assign">
  122. <bool>true</bool>
  123. </edit>
  124. <edit name="hintstyle" mode="assign">
  125. <const>hintslight</const>
  126. </edit>
  127. <edit name="lcd_filter" mode="assign">
  128. <const>lcdlegacy</const>
  129. </edit>
  130. </match>
  131. <!-- Proxima Nova -->
  132. <match target="font">
  133. <test name="family">
  134. <string>Proxima Nova</string>
  135. </test>
  136. <test name="weight" compare="more">
  137. <const>medium</const>
  138. </test>
  139. <test name="pixelsize" compare="more">
  140. <double>14.5</double>
  141. </test>
  142. <test name="pixelsize" compare="less">
  143. <double>17.5</double>
  144. </test>
  145. <edit name="autohint" mode="assign">
  146. <bool>false</bool>
  147. </edit>
  148. <edit name="hinting" mode="assign">
  149. <bool>true</bool>
  150. </edit>
  151. <edit name="hintstyle" mode="assign">
  152. <const>hintslight</const>
  153. </edit>
  154. </match>
  155. <!-- ## Webfonts ## -->
  156. <!-- Alegreya -->
  157. <match target="font">
  158. <test name="family">
  159. <string>@font-face:Alegreya</string>
  160. </test>
  161. <edit mode="assign" name="autohint">
  162. <bool>false</bool>
  163. </edit>
  164. <edit mode="assign" name="hintstyle">
  165. <const>hintfull</const>
  166. </edit>
  167. </match>
  168. <match target="font">
  169. <test name="family">
  170. <string>@font-face:AlegreyaSans</string>
  171. </test>
  172. <edit mode="assign" name="autohint">
  173. <bool>false</bool>
  174. </edit>
  175. <edit mode="assign" name="hintstyle">
  176. <const>hintfull</const>
  177. </edit>
  178. </match>
  179. <!-- Franklin Gothic -->
  180. <match target="font">
  181. <test name="family">
  182. <string>@font-face:franklin_gothic_fs_cdbold</string>
  183. </test>
  184. <edit name="autohint" mode="assign">
  185. <bool>false</bool>
  186. </edit>
  187. <edit name="hintstyle" mode="assign">
  188. <const>hintslight</const>
  189. </edit>
  190. </match>
  191. <match target="font">
  192. <test name="family">
  193. <string>@font-face:franklin_gothic_fs_medbold</string>
  194. </test>
  195. <edit name="autohint" mode="assign">
  196. <bool>false</bool>
  197. </edit>
  198. <edit name="hintstyle" mode="assign">
  199. <const>hintslight</const>
  200. </edit>
  201. </match>
  202. <!-- DINRoundOT -->
  203. <match target="font">
  204. <test name="family">
  205. <string>@font-face:DINRoundOT-Light</string>
  206. </test>
  207. <edit name="autohint" mode="assign">
  208. <bool>true</bool>
  209. </edit>
  210. <edit name="hintstyle" mode="assign">
  211. <const>hintslight</const>
  212. </edit>
  213. </match>
  214. <!-- Noto Sans -->
  215. <match target="font">
  216. <test name="family">
  217. <string>@font-face:Noto Sans</string>
  218. </test>
  219. <edit name="autohint" mode="assign">
  220. <bool>false</bool>
  221. </edit>
  222. <edit name="hintstyle" mode="assign">
  223. <const>hintfull</const>
  224. </edit>
  225. </match>
  226. <!-- Paytone One -->
  227. <match target="font">
  228. <test name="family">
  229. <string>@font-face:Paytone One</string>
  230. </test>
  231. <test name="pixelsize" compare="less">
  232. <double>15</double>
  233. </test>
  234. <edit name="autohint" mode="assign">
  235. <bool>false</bool>
  236. </edit>
  237. <edit name="hintstyle" mode="assign">
  238. <const>hintslight</const>
  239. </edit>
  240. </match>
  241. <!-- Proxima Nova -->
  242. <match target="font">
  243. <test name="family">
  244. <string>@font-face:Proxima Nova</string>
  245. </test>
  246. <test name="weight" compare="more">
  247. <const>medium</const>
  248. </test>
  249. <test name="pixelsize" compare="more">
  250. <double>14.5</double>
  251. </test>
  252. <test name="pixelsize" compare="less">
  253. <double>17.5</double>
  254. </test>
  255. <edit name="autohint" mode="assign">
  256. <bool>false</bool>
  257. </edit>
  258. <edit name="hinting" mode="assign">
  259. <bool>true</bool>
  260. </edit>
  261. <edit name="hintstyle" mode="assign">
  262. <const>hintslight</const>
  263. </edit>
  264. </match>
  265. <match target="font">
  266. <test name="family">
  267. <string>@font-face:ProximaNova-Regular</string>
  268. </test>
  269. <edit name="autohint" mode="assign">
  270. <bool>false</bool>
  271. </edit>
  272. <edit name="hintstyle" mode="assign">
  273. <const>hintfull</const>
  274. </edit>
  275. </match>
  276. <!-- Stag -->
  277. <match target="font">
  278. <test name="family">
  279. <string>@font-face:Stag-Light</string>
  280. </test>
  281. <edit name="autohint" mode="assign">
  282. <bool>false</bool>
  283. </edit>
  284. <edit name="hintstyle" mode="assign">
  285. <const>hintfull</const>
  286. </edit>
  287. </match>
  288. <!-- Ubuntu -->
  289. <match target="font">
  290. <test name="family" qual="any">
  291. <string>@font-face:Ubuntu</string>
  292. </test>
  293. <test name="weight" compare="less_eq">
  294. <const>regular</const>
  295. </test>
  296. <test name="pixelsize" compare="more">
  297. <double>16.5</double>
  298. </test>
  299. <edit name="autohint" mode="assign">
  300. <bool>true</bool>
  301. </edit>
  302. <edit name="hintstyle" mode="assign">
  303. <const>hintslight</const>
  304. </edit>
  305. </match>
  306. <match target="font">
  307. <test name="family" qual="any">
  308. <string>@font-face:Ubuntu</string>
  309. </test>
  310. <test name="weight" compare="eq">
  311. <const>bold</const>
  312. </test>
  313. <test name="pixelsize" compare="less_eq">
  314. <double>15.5</double>
  315. </test>
  316. <edit name="autohint" mode="assign">
  317. <bool>false</bool>
  318. </edit>
  319. <edit name="hintstyle" mode="assign">
  320. <const>hintslight</const>
  321. </edit>
  322. </match>
  323. <match target="font">
  324. <test name="force_autohint">
  325. <bool>false</bool>
  326. </test>
  327. <test name="weight" compare="less">
  328. <const>regular</const>
  329. </test>
  330. <test name="pixelsize" compare="more">
  331. <double>23.5</double>
  332. </test>
  333. <edit name="antialias" mode="assign">
  334. <bool>true</bool>
  335. </edit>
  336. <edit name="hinting" mode="assign">
  337. <bool>true</bool>
  338. </edit>
  339. <edit name="hintstyle" mode="assign">
  340. <const>hintfull</const>
  341. </edit>
  342. <edit name="autohint" mode="assign">
  343. <bool>false</bool>
  344. </edit>
  345. </match>
  346. </fontconfig>