38-repl-webfonts-custom.conf 940 B

123456789101112131415161718192021222324252627282930
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <!-- ## Replace webfonts with localy installed families.
  5. Copy and paste the template at the bottom of this file and add
  6. more substitutions as necessary.
  7. The file will not be overwritten on fontconfig-iu update.
  8. User-defined settings override 37-repl-webfonts.conf. ## -->
  9. <!-- @font-face:WEBFONT TO REPLACE => LOCAL REPLACEMENT FONT -->
  10. <match target="font">
  11. <test name="family">
  12. <string>@font-face:WEBFONT TO REPLACE</string>
  13. </test>
  14. <edit name="family" mode="assign">
  15. <string>LOCAL REPLACEMENT FONT</string>
  16. </edit>
  17. </match>
  18. <match target="pattern">
  19. <test name="family">
  20. <string>@font-face:WEBFONT TO REPLACE</string>
  21. </test>
  22. <edit name="family" mode="prepend" binding="strong">
  23. <string>LOCAL REPLACEMENT FONT</string>
  24. </edit>
  25. </match>
  26. </fontconfig>