diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 10:43:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 10:43:23 +0000 |
commit | 8e8477ab7b0a352a07b5391e764f2676b3208bc9 (patch) | |
tree | 0abd8c6ef14f6ceda92263e735a2b54fcfaacb4a /cantarell-fontconfig.conf | |
parent | 1b47f7c426b26c0edb3781789e148963feb0d090 (diff) |
automatic import of abattis-cantarell-fontsopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'cantarell-fontconfig.conf')
-rw-r--r-- | cantarell-fontconfig.conf | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cantarell-fontconfig.conf b/cantarell-fontconfig.conf new file mode 100644 index 0000000..bc9f574 --- /dev/null +++ b/cantarell-fontconfig.conf @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<!-- + + Define aliasing and other fontconfig settings for Cantarell. + +--> +<fontconfig> + <!-- Font substitution --> + <alias binding="same"> + <family>system-ui</family> + <accept> + <family>Cantarell</family> + </accept> + </alias> + + <!-- Generic name assignment --> + <alias> + <family>Cantarell</family> + <default> + <family>system-ui</family> + </default> + </alias> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Cantarell</string> + </test> + <edit name="family" mode="assign" binding="weak"> + <string>Cantarell</string> + </edit> + </match> +</fontconfig> |