summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-09-25 19:20:35 +0900
committerAkira TAGOH <akira@tagoh.org>2019-02-27 16:38:12 +0900
commitdba84600e1485000f358d8259b92721cf7066034 (patch)
tree5d9018c709f553d6cb74d4189f6a4cb79c3d8dae /conf.d
parent40e27f5d989ef4e40d218624de0a51de3de43177 (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 'conf.d')
-rw-r--r--conf.d/40-nonlatin.conf100
-rw-r--r--conf.d/45-latin.conf23
-rw-r--r--conf.d/60-latin.conf13
-rw-r--r--conf.d/65-nonlatin.conf33
4 files changed, 169 insertions, 0 deletions
diff --git a/conf.d/40-nonlatin.conf b/conf.d/40-nonlatin.conf
index 0af8832..19cb103 100644
--- a/conf.d/40-nonlatin.conf
+++ b/conf.d/40-nonlatin.conf
@@ -233,4 +233,104 @@
<default><family>cursive</family></default>
</alias>
+<!--
+ system-ui
+-->
+ <alias>
+ <family>Noto Sans Arabic UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Bengali UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Devanagari UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Gujarati UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Gurmukhi UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Kannada UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Khmer UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Lao UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Malayalam UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Myanmar UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Oriya UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Sinhala UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Tamil UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Telugu UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans Thai UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Leelawadee UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Nirmala UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Yu Gothic UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Meiryo UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>MS UI Gothic</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Khmer UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Lao UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Microsoft JhengHei UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Microsoft YaHei UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+
</fontconfig>
diff --git a/conf.d/45-latin.conf b/conf.d/45-latin.conf
index a9240b9..a33420e 100644
--- a/conf.d/45-latin.conf
+++ b/conf.d/45-latin.conf
@@ -274,5 +274,28 @@
<family>Zapfino</family>
<default><family>cursive</family></default>
</alias>
+<!--
+ system-ui
+-->
+ <alias>
+ <family>Cantarell</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Noto Sans UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Segoe UI</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Segoe UI Historic</family>
+ <default><family>system-ui</family></default>
+ </alias>
+ <alias>
+ <family>Segoe UI Symbol</family>
+ <default><family>system-ui</family></default>
+ </alias>
</fontconfig>
diff --git a/conf.d/60-latin.conf b/conf.d/60-latin.conf
index 5be5d6a..8ba894e 100644
--- a/conf.d/60-latin.conf
+++ b/conf.d/60-latin.conf
@@ -75,5 +75,18 @@
<family>Comic Sans MS</family>
</prefer>
</alias>
+<!--
+ system-ui
+-->
+ <alias>
+ <family>system-ui</family>
+ <prefer>
+ <family>Cantarell</family>
+ <family>Noto Sans UI</family>
+ <family>Segoe UI</family>
+ <family>Segoe UI Historic</family>
+ <family>Segoe UI Symbol</family>
+ </prefer>
+ </alias>
</fontconfig>
diff --git a/conf.d/65-nonlatin.conf b/conf.d/65-nonlatin.conf
index 1b9de31..33ff53e 100644
--- a/conf.d/65-nonlatin.conf
+++ b/conf.d/65-nonlatin.conf
@@ -196,4 +196,37 @@
<family>LKLUG</family>
</prefer>
</alias>
+<!--
+ system-ui
+-->
+ <alias>
+ <family>system-ui</family>
+ <prefer>
+ <family>Noto Sans Arabic UI</family><!-- ar -->
+ <family>Noto Sans Bengali UI</family><!-- bn -->
+ <family>Noto Sans Devanagari UI</family><!-- hi, mai, mr -->
+ <family>Noto Sans Gujarati UI</family><!-- gu -->
+ <family>Noto Sans Gurmukhi UI</family><!-- pa -->
+ <family>Noto Sans Kannada UI</family><!-- kn -->
+ <family>Noto Sans Khmer UI</family><!-- km -->
+ <family>Noto Sans Lao UI</family><!-- lo -->
+ <family>Noto Sans Malayalam UI</family><!-- ml -->
+ <family>Noto Sans Myanmar UI</family><!-- my -->
+ <family>Noto Sans Oriya UI</family><!-- or -->
+ <family>Noto Sans Sinhala UI</family><!-- si -->
+ <family>Noto Sans Tamil UI</family><!-- ta -->
+ <family>Noto Sans Telugu UI</family><!-- te -->
+ <family>Noto Sans Thai UI</family><!-- th -->
+ <family>Leelawadee UI</family><!-- bug, th, jv, km, lo -->
+ <family>Nirmala UI</family><!-- Indic -->
+ <family>Yu Gothic UI</family><!-- han (ja) -->
+ <family>Meiryo UI</family><!-- han (ja) -->
+ <family>MS UI Gothic</family><!-- han (ja) -->
+ <family>Khmer UI</family><!-- km -->
+ <family>Lao UI</family><!-- lo -->
+ <family>Microsoft YaHei UI</family><!-- han (zh-cn) -->
+ <family>Microsoft JhengHei UI</family><!-- han (zh-tw) -->
+ </prefer>
+ </alias>
+
</fontconfig>