37-repl-webfonts.conf 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <!-- ## Replace webfonts with localy installed families (if present).
  5. Use 38-repl-webfonts-custom for user-defined substitutions. ## -->
  6. <!-- @font-face:Crimson Text => Crimson -->
  7. <match target="font">
  8. <test name="family">
  9. <string>@font-face:Crimson Text</string>
  10. </test>
  11. <edit name="family" mode="assign">
  12. <string>Crimson</string>
  13. </edit>
  14. </match>
  15. <match target="pattern">
  16. <test name="family">
  17. <string>@font-face:Crimson Text</string>
  18. </test>
  19. <edit name="family" mode="prepend" binding="strong">
  20. <string>Crimson</string>
  21. </edit>
  22. </match>
  23. <!-- @font-face:Droid Sans Mono => Droid Sans Mono -->
  24. <match target="font">
  25. <test name="family">
  26. <string>@font-face:Droid Sans Mono</string>
  27. </test>
  28. <edit name="family" mode="assign">
  29. <string>Droid Sans Mono</string>
  30. </edit>
  31. </match>
  32. <match target="pattern">
  33. <test name="family">
  34. <string>@font-face:Droid Sans Mono</string>
  35. </test>
  36. <edit name="family" mode="prepend" binding="strong">
  37. <string>Droid Sans Mono</string>
  38. </edit>
  39. </match>
  40. <!-- @font-face:Exo => Exo 2 -->
  41. <match target="font">
  42. <test name="family">
  43. <string>@font-face:Exo</string>
  44. </test>
  45. <edit name="family" mode="assign">
  46. <string>Exo 2</string>
  47. </edit>
  48. </match>
  49. <match target="pattern">
  50. <test name="family">
  51. <string>@font-face:Exo</string>
  52. </test>
  53. <edit name="family" mode="prepend" binding="strong">
  54. <string>Exo 2</string>
  55. </edit>
  56. </match>
  57. <!-- @font-face:franklin_gothic_fs_cdbold => Franklin Gothic Demi Cond -->
  58. <match target="font">
  59. <test name="family">
  60. <string>@font-face:franklin_gothic_fs_cdbold</string>
  61. </test>
  62. <edit name="family" mode="assign">
  63. <string>Franklin Gothic Demi Cond</string>
  64. </edit>
  65. </match>
  66. <match target="pattern">
  67. <test name="family">
  68. <string>@font-face:franklin_gothic_fs_cdbold</string>
  69. </test>
  70. <edit name="family" mode="prepend" binding="strong">
  71. <string>Franklin Gothic Demi Cond</string>
  72. </edit>
  73. </match>
  74. <!-- @font-face:Garamond Classic FS => (EB) Garamond -->
  75. <match target="font">
  76. <test name="family">
  77. <string>@font-face:Garamond Classic FS</string>
  78. </test>
  79. <edit name="family" mode="assign">
  80. <string>Garamond</string>
  81. <string>EB Garamond</string>
  82. </edit>
  83. </match>
  84. <match target="pattern">
  85. <test name="family">
  86. <string>@font-face:Garamond Classic FS</string>
  87. </test>
  88. <edit name="family" mode="prepend" binding="strong">
  89. <string>Garamond</string>
  90. <string>EB Garamond</string>
  91. </edit>
  92. </match>
  93. <!-- @font-face:Istok Web => Istok -->
  94. <match target="font">
  95. <test name="family">
  96. <string>@font-face:Istok Web</string>
  97. </test>
  98. <edit name="family" mode="assign">
  99. <string>Istok</string>
  100. </edit>
  101. </match>
  102. <match target="pattern">
  103. <test name="family">
  104. <string>@font-face:Istok Web</string>
  105. </test>
  106. <edit name="family" mode="prepend" binding="strong">
  107. <string>Istok</string>
  108. </edit>
  109. </match>
  110. <!-- @font-face:Lato => Lato -->
  111. <match target="font">
  112. <test name="family">
  113. <string>@font-face:Lato</string>
  114. </test>
  115. <edit name="family" mode="assign">
  116. <string>Lato</string>
  117. </edit>
  118. </match>
  119. <match target="pattern">
  120. <test name="family">
  121. <string>@font-face:Lato</string>
  122. </test>
  123. <edit name="family" mode="prepend" binding="strong">
  124. <string>Lato</string>
  125. </edit>
  126. </match>
  127. <!-- @font-face:Open Sans => Open Sans -->
  128. <match target="font">
  129. <test name="family">
  130. <string>@font-face:Open Sans</string>
  131. </test>
  132. <edit name="family" mode="assign">
  133. <string>Open Sans</string>
  134. </edit>
  135. </match>
  136. <match target="pattern">
  137. <test name="family">
  138. <string>@font-face:Open Sans</string>
  139. </test>
  140. <edit name="family" mode="prepend" binding="strong">
  141. <string>Open Sans</string>
  142. </edit>
  143. </match>
  144. <!-- OFL Sorts Mill Goudy => Sorts Mill Goudy -->
  145. <match target="font">
  146. <test name="family">
  147. <string>@font-face:OFL Sorts Mill Goudy</string>
  148. </test>
  149. <edit name="family" mode="assign">
  150. <string>Sorts Mill Goudy</string>
  151. </edit>
  152. </match>
  153. <match target="pattern">
  154. <test name="family">
  155. <string>@font-face:OFL Sorts Mill Goudy</string>
  156. </test>
  157. <edit name="family" mode="prepend" binding="strong">
  158. <string>Sorts Mill Goudy</string>
  159. </edit>
  160. </match>
  161. <match target="font">
  162. <test name="family">
  163. <string>OFL Sorts Mill Goudy</string>
  164. </test>
  165. <edit name="family" mode="assign">
  166. <string>Sorts Mill Goudy</string>
  167. </edit>
  168. </match>
  169. <match target="pattern">
  170. <test name="family">
  171. <string>OFL Sorts Mill Goudy</string>
  172. </test>
  173. <edit name="family" mode="prepend" binding="strong">
  174. <string>Sorts Mill Goudy</string>
  175. </edit>
  176. </match>
  177. <!-- OFL Sorts Mill Goudy TT => Sorts Mill Goudy -->
  178. <match target="font">
  179. <test name="family">
  180. <string>@font-face:OFL Sorts Mill Goudy TT</string>
  181. </test>
  182. <edit name="family" mode="assign">
  183. <string>Sorts Mill Goudy TT</string>
  184. </edit>
  185. </match>
  186. <match target="pattern">
  187. <test name="family">
  188. <string>@font-face:OFL Sorts Mill Goudy TT</string>
  189. </test>
  190. <edit name="family" mode="prepend" binding="strong">
  191. <string>Sorts Mill Goudy TT</string>
  192. </edit>
  193. </match>
  194. <match target="font">
  195. <test name="family">
  196. <string>@font-face:OFL Sorts Mill Goudy TT</string>
  197. </test>
  198. <edit name="family" mode="assign">
  199. <string>Sorts Mill Goudy</string>
  200. </edit>
  201. </match>
  202. <match target="pattern">
  203. <test name="family">
  204. <string>@font-face:OFL Sorts Mill Goudy TT</string>
  205. </test>
  206. <edit name="family" mode="prepend" binding="strong">
  207. <string>Sorts Mill Goudy</string>
  208. </edit>
  209. </match>
  210. <match target="font">
  211. <test name="family">
  212. <string>OFL Sorts Mill Goudy TT</string>
  213. </test>
  214. <edit name="family" mode="assign">
  215. <string>Sorts Mill Goudy TT</string>
  216. </edit>
  217. </match>
  218. <match target="pattern">
  219. <test name="family">
  220. <string>OFL Sorts Mill Goudy TT</string>
  221. </test>
  222. <edit name="family" mode="prepend" binding="strong">
  223. <string>Sorts Mill Goudy TT</string>
  224. </edit>
  225. </match>
  226. <match target="font">
  227. <test name="family">
  228. <string>OFL Sorts Mill Goudy TT</string>
  229. </test>
  230. <edit name="family" mode="assign">
  231. <string>Sorts Mill Goudy</string>
  232. </edit>
  233. </match>
  234. <match target="pattern">
  235. <test name="family">
  236. <string>OFL Sorts Mill Goudy TT</string>
  237. </test>
  238. <edit name="family" mode="prepend" binding="strong">
  239. <string>Sorts Mill Goudy</string>
  240. </edit>
  241. </match>
  242. <!-- @font-face:Premiera Book => Gentium Book Basic -->
  243. <match target="font">
  244. <test name="family">
  245. <string>@font-face:premiera book</string>
  246. </test>
  247. <edit name="family" mode="assign">
  248. <string>Gentium Book Basic</string>
  249. </edit>
  250. </match>
  251. <match target="pattern">
  252. <test name="family">
  253. <string>@font-face:premiera book</string>
  254. </test>
  255. <edit name="family" mode="prepend" binding="strong">
  256. <string>Gentium Book Basic</string>
  257. </edit>
  258. </match>
  259. <match target="font">
  260. <test name="family">
  261. <string>@font-face:premiera italic</string>
  262. </test>
  263. <edit name="family" mode="assign">
  264. <string>Gentium Book Basic</string>
  265. </edit>
  266. </match>
  267. <match target="pattern">
  268. <test name="family">
  269. <string>@font-face:premiera italic</string>
  270. </test>
  271. <edit name="family" mode="prepend" binding="strong">
  272. <string>Gentium Book Basic</string>
  273. </edit>
  274. </match>
  275. <!-- @font-face:Proxima Nova => Proxima Nova -->
  276. <match target="font">
  277. <test name="family">
  278. <string>@font-face:proxima-nova</string>
  279. </test>
  280. <edit name="family" mode="assign">
  281. <string>Proxima Nova</string>
  282. </edit>
  283. </match>
  284. <match target="pattern">
  285. <test name="family">
  286. <string>@font-face:proxima-nova</string>
  287. </test>
  288. <edit name="family" mode="prepend" binding="strong">
  289. <string>Proxima Nova</string>
  290. </edit>
  291. </match>
  292. <!-- @font-face:Roboto => Roboto -->
  293. <match target="font">
  294. <test name="family">
  295. <string>@font-face:Roboto</string>
  296. </test>
  297. <edit name="family" mode="assign">
  298. <string>Roboto</string>
  299. </edit>
  300. </match>
  301. <match target="pattern">
  302. <test name="family">
  303. <string>@font-face:Roboto</string>
  304. </test>
  305. <edit name="family" mode="prepend" binding="strong">
  306. <string>Roboto</string>
  307. </edit>
  308. </match>
  309. </fontconfig>