diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-09-25 19:20:35 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2019-02-27 16:38:12 +0900 |
commit | dba84600e1485000f358d8259b92721cf7066034 (patch) | |
tree | 5d9018c709f553d6cb74d4189f6a4cb79c3d8dae /fonts.conf.in | |
parent | 40e27f5d989ef4e40d218624de0a51de3de43177 (diff) |
Add system-ui generic family
The generic family of 'system-ui' name is being proposed in a draft of next CSS Fonts.
This would be nice to support in fontconfig too.
https://www.w3.org/TR/css-fonts-4/
Diffstat (limited to 'fonts.conf.in')
-rw-r--r-- | fonts.conf.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fonts.conf.in b/fonts.conf.in index 2019923..5a1a4d0 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -69,6 +69,17 @@ <string>sans-serif</string> </edit> </match> +<!-- + Accept alternate 'system ui' spelling, replacing it with 'system-ui' +--> + <match target="pattern"> + <test qual="any" name="family"> + <string>system ui</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>system-ui</string> + </edit> + </match> <!-- Load local system customization file |