2017-07-31 18:17:16 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
|
|
<fontconfig>
|
2014-03-27 07:10:44 +01:00
|
|
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
|
|
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
|
|
|
</its:rules>
|
|
|
|
|
|
|
|
<description>Set substitutions for emoji/math fonts</description>
|
|
|
|
|
2017-07-31 18:17:16 +02:00
|
|
|
<!-- Keep in sync with 60-generic.conf -->
|
|
|
|
|
|
|
|
<!-- Emoji -->
|
2017-08-02 16:41:26 +02:00
|
|
|
|
2017-10-05 12:17:59 +02:00
|
|
|
<!-- System emoji -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Noto Color Emoji</family> <!-- Google -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Apple Color Emoji</family> <!-- Apple -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Segoe UI Emoji</family> <!-- Microsoft -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Twitter Color Emoji</family> <!-- Twitter -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
2017-10-05 12:17:59 +02:00
|
|
|
<!-- Third-party emoji -->
|
2017-08-02 14:04:36 +02:00
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Emoji Two</family>
|
2017-08-02 14:04:36 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
2019-08-29 02:11:15 +02:00
|
|
|
<alias binding="same">
|
|
|
|
<family>JoyPixels</family>
|
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
2017-08-02 14:34:01 +02:00
|
|
|
<alias binding="same">
|
2017-10-05 12:17:59 +02:00
|
|
|
<family>Emoji One</family>
|
2017-08-02 14:34:01 +02:00
|
|
|
<default><family>emoji</family></default>
|
|
|
|
</alias>
|
2017-08-02 16:41:26 +02:00
|
|
|
<!-- B&W -->
|
2017-07-31 18:17:16 +02:00
|
|
|
<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>
|
|
|
|
|
2017-08-02 16:41:26 +02:00
|
|
|
<!-- 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>
|
|
|
|
|
2017-08-03 11:36:01 +02:00
|
|
|
<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>
|
|
|
|
|
2017-08-02 16:41:26 +02:00
|
|
|
|
2017-07-31 18:17:16 +02:00
|
|
|
<!-- Math -->
|
2017-08-02 16:41:26 +02:00
|
|
|
|
2017-07-31 18:17:16 +02:00
|
|
|
<!-- 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>
|
|
|
|
|
2017-08-02 16:41:26 +02:00
|
|
|
<!-- Add language for math, to match other math fonts. -->
|
2017-08-01 11:50:55 +02:00
|
|
|
<match>
|
|
|
|
<test name="family">
|
|
|
|
<string>math</string>
|
|
|
|
</test>
|
|
|
|
<edit name="lang" mode="prepend">
|
|
|
|
<string>und-zmth</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
2017-08-02 16:41:26 +02:00
|
|
|
|
2017-08-23 06:39:15 +02:00
|
|
|
<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>
|
|
|
|
|
2017-08-01 11:50:55 +02:00
|
|
|
|
2017-07-31 18:17:16 +02:00
|
|
|
</fontconfig>
|