Browse Source

update font config

master
Alison Watson 4 months ago
parent
commit
d8968d1d3b
1 changed files with 9 additions and 27 deletions
  1. +9
    -27
      system/fonts/67-defaults.conf

+ 9
- 27
system/fonts/67-defaults.conf View File

@@ -3,49 +3,31 @@
<fontconfig>
<!-- fallback -->
<match>
<edit mode="prepend" name="family">
<string>Noto Sans</string>
</edit>
<edit mode="prepend" name="family"><string>Noto Sans</string></edit>
</match>

<!-- fallback (japanese) -->
<match>
<test compare="contains" name="lang">
<string>ja</string>
</test>
<edit mode="prepend" name="family">
<string>Noto Sans CJK JP</string>
</edit>
<test compare="contains" name="lang"><string>ja</string></test>
<edit mode="prepend" name="family"><string>Noto Sans CJK JP</string></edit>
</match>

<!-- sans-serif -->
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Noto Sans</string>
</edit>
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="same"><string>Noto Sans</string></edit>
</match>

<!-- serif -->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Noto Serif</string>
</edit>
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="same"><string>Noto Serif</string></edit>
</match>

<!-- monospace -->
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Courier Prime Code</string>
</edit>
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="same"><string>Courier Prime Code</string></edit>
</match>

<!-- sans-serif precedence -->


Loading…
Cancel
Save