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 preferable fonts for emoji/math fonts</description>
|
2017-07-31 18:17:16 +02:00
|
|
|
<!-- Keep in sync with 45-generic.conf -->
|
|
|
|
|
|
|
|
<!-- Emoji -->
|
2017-08-02 16:41:26 +02:00
|
|
|
|
2017-08-03 11:36:01 +02:00
|
|
|
<!-- 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.
|
|
|
|
!-->
|
2017-07-31 18:17:16 +02:00
|
|
|
<alias binding="same">
|
|
|
|
<family>emoji</family>
|
|
|
|
<prefer>
|
|
|
|
<!-- System fonts -->
|
|
|
|
<family>Noto Color Emoji</family> <!-- Google -->
|
|
|
|
<family>Apple Color Emoji</family> <!-- Apple -->
|
|
|
|
<family>Segoe UI Emoji</family> <!-- Microsoft -->
|
2017-08-02 14:04:36 +02:00
|
|
|
<family>Twitter Color Emoji</family> <!-- Twitter -->
|
2017-08-02 14:34:01 +02:00
|
|
|
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
|
2017-10-05 12:17:59 +02:00
|
|
|
<!-- Third-Party fonts -->
|
|
|
|
<family>Emoji Two</family>
|
|
|
|
<family>Emoji One</family>
|
2017-07-31 18:17:16 +02:00
|
|
|
<!-- 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>
|