maybe chmod 0644 'fonts/conf.avail/31-cantarell.conf'
maybe chmod 0644 'fonts/conf.avail/40-nonlatin.conf'
maybe chmod 0644 'fonts/conf.avail/42-luxi-mono.conf'
+maybe chmod 0644 'fonts/conf.avail/45-generic.conf'
maybe chmod 0644 'fonts/conf.avail/45-latin.conf'
maybe chmod 0644 'fonts/conf.avail/49-sansserif.conf'
maybe chmod 0644 'fonts/conf.avail/50-user.conf'
maybe chmod 0644 'fonts/conf.avail/57-dejavu-sans-mono.conf'
maybe chmod 0644 'fonts/conf.avail/57-dejavu-sans.conf'
maybe chmod 0644 'fonts/conf.avail/57-dejavu-serif.conf'
+maybe chmod 0644 'fonts/conf.avail/60-generic.conf'
maybe chmod 0644 'fonts/conf.avail/60-latin.conf'
maybe chmod 0644 'fonts/conf.avail/60-liberation.conf'
maybe chmod 0644 'fonts/conf.avail/62-croscore-arimo.conf'
3) Alias each generic to its specifics.
e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
+NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
+ upstream now includes them in their release of (URW)++ Core Font Set here:
+ https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
-->
<!-- Map specifics to generics -->
</default>
</alias>
-
<!-- Microsoft -->
<alias binding="same">
<family>Arimo</family>
</default>
</alias>
-
<!-- Microsoft -->
<alias>
<family>Arial</family>
</default>
</alias>
-
-
<!-- Map generics to specifics -->
<!-- PostScript -->
<family>Helvetica</family>
<accept>
<family>TeX Gyre Heros</family>
- <family>Nimbus Sans</family>
- <family>Nimbus Sans L</family>
</accept>
</alias>
<family>Helvetica Narrow</family>
<accept>
<family>TeX Gyre Heros Cn</family>
- <family>Nimbus Sans Narrow</family>
</accept>
</alias>
<family>Times</family>
<accept>
<family>TeX Gyre Termes</family>
- <family>Nimbus Roman</family>
- <family>Nimbus Roman No9 L</family>
</accept>
</alias>
<family>Courier</family>
<accept>
<family>TeX Gyre Cursor</family>
- <family>Nimbus Mono PS</family>
- <family>Nimbus Mono</family>
- <family>Nimbus Mono L</family>
</accept>
</alias>
<family>ITC Avant Garde Gothic</family>
<accept>
<family>TeX Gyre Adventor</family>
- <family>URW Gothic</family>
- <family>URW Gothic L</family>
</accept>
</alias>
<accept>
<family>Bookman Old Style</family>
<family>TeX Gyre Bonum</family>
- <family>URW Bookman</family>
- <family>Bookman URW</family>
- <family>URW Bookman L</family>
</accept>
</alias>
<family>ITC Zapf Chancery</family>
<accept>
<family>TeX Gyre Chorus</family>
- <family>Z003</family>
- <family>Chancery URW</family>
- <family>URW Chancery L</family>
</accept>
</alias>
<accept>
<family>Palatino Linotype</family>
<family>TeX Gyre Pagella</family>
- <family>P052</family>
- <family>Palladio URW</family>
- <family>URW Palladio L</family>
</accept>
</alias>
<accept>
<family>Century Schoolbook</family>
<family>TeX Gyre Schola</family>
- <family>C059</family>
- <family>Century SchoolBook URW</family>
- <family>Century Schoolbook L</family>
</accept>
</alias>
--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- Keep in sync with 60-generic.conf -->
+
+<!-- Emoji -->
+
+ <alias binding="same">
+ <family>Emoji Two</family>
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Emoji One</family>
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Noto Color Emoji</family> <!-- Google -->
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Apple Color Emoji</family> <!-- Apple -->
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Segoe UI Emoji</family> <!-- Microsoft -->
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Twitter Color Emoji</family> <!-- Twitter -->
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>EmojiOne Mozilla</family> <!-- Mozilla -->
+ <default><family>emoji</family></default>
+ </alias>
+ <!-- B&W -->
+ <alias binding="same">
+ <family>Noto Emoji</family> <!-- Google -->
+ <default><family>emoji</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Android Emoji</family> <!-- Google -->
+ <default><family>emoji</family></default>
+ </alias>
+
+ <!-- Add language for emoji, to match other emoji fonts. -->
+ <match>
+ <test name="family">
+ <string>emoji</string>
+ </test>
+ <edit name="lang" mode="prepend">
+ <string>und-zsye</string>
+ </edit>
+ </match>
+
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="family" compare="not_eq">
+ <string>emoji</string>
+ </test>
+
+ <!-- Add generic family. -->
+ <edit name="family" mode="append" binding="strong">
+ <string>emoji</string>
+ </edit>
+ </match>
+
+
+<!-- Math -->
+
+ <!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
+ <alias binding="same">
+ <family>XITS Math</family> <!-- Khaled Hosny -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>STIX Two Math</family> <!-- AMS -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Cambria Math</family> <!-- Microsoft -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Latin Modern Math</family> <!-- TeX -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Minion Math</family> <!-- Adobe -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Math</family> <!-- Adobe -->
+ <default><family>math</family></default>
+ </alias>
+ <alias binding="same">
+ <family>Asana Math</family>
+ <default><family>math</family></default>
+ </alias>
+
+ <!-- Add language for math, to match other math fonts. -->
+ <match>
+ <test name="family">
+ <string>math</string>
+ </test>
+ <edit name="lang" mode="prepend">
+ <string>und-zmth</string>
+ </edit>
+ </match>
+
+ <match>
+ <test name="lang">
+ <string>und-zmth</string>
+ </test>
+ <test qual="all" name="family" compare="not_eq">
+ <string>math</string>
+ </test>
+
+ <!-- Add generic family -->
+ <edit name="family" mode="append" binding="strong">
+ <string>math</string>
+ </edit>
+ </match>
+
+
+</fontconfig>
--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- Keep in sync with 45-generic.conf -->
+
+<!-- Emoji -->
+
+ <!-- Prefer to match color emoji font. -->
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>true</bool>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>false</bool>
+ </test>
+ <edit name="color" mode="append">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <!-- TODO
+ ! Match on "color" and alias B&W ones first if no color is requested.
+ ! That's "hard" because <alias> doesn't work in match and needs to be
+ ! expanded to its non-sugar form.
+ !-->
+ <alias binding="same">
+ <family>emoji</family>
+ <prefer>
+ <family>Emoji Two</family>
+ <family>Emoji One</family>
+ <!-- System fonts -->
+ <family>Noto Color Emoji</family> <!-- Google -->
+ <family>Apple Color Emoji</family> <!-- Apple -->
+ <family>Segoe UI Emoji</family> <!-- Microsoft -->
+ <family>Twitter Color Emoji</family> <!-- Twitter -->
+ <family>EmojiOne Mozilla</family> <!-- Mozilla -->
+ <!-- Non-color -->
+ <family>Noto Emoji</family> <!-- Google -->
+ <family>Android Emoji</family> <!-- Google -->
+ </prefer>
+ </alias>
+
+<!-- Math -->
+ <alias binding="same">
+ <!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
+ <family>math</family>
+ <prefer>
+ <family>XITS Math</family> <!-- Khaled Hosny -->
+ <family>STIX Two Math</family> <!-- AMS -->
+ <family>Cambria Math</family> <!-- Microsoft -->
+ <family>Latin Modern Math</family> <!-- TeX -->
+ <family>Minion Math</family> <!-- Adobe -->
+ <family>Lucida Math</family> <!-- Adobe -->
+ <family>Asana Math</family>
+ </prefer>
+ </alias>
+
+</fontconfig>
<family>Hapax Berbère</family> <!-- tifinagh -->
<family>MS Gothic</family> <!-- han (ja) -->
<family>UmePlus P Gothic</family> <!-- han (ja) -->
- <!-- chinese fonts are actually serifed -->
- <family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
- <family>PMingLiu</family> <!-- han (zh-tw) -->
+ <family>Microsoft YaHei</family> <!-- han (zh-cn,zh-tw) -->
+ <family>Microsoft JhengHei</family> <!-- han (zh-tw) -->
<family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
<family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
<family>AR PL ShanHeiSun Uni</family> <!--han (ja,zh-cn,zh-tw) -->
-/etc/fonts/conf.avail/10-hinting-slight.conf
\ No newline at end of file
+../conf.avail/10-hinting-slight.conf
\ No newline at end of file
--- /dev/null
+/etc/fonts/conf.avail/45-generic.conf
\ No newline at end of file
--- /dev/null
+/etc/fonts/conf.avail/60-generic.conf
\ No newline at end of file