32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
<fontconfig>
|
|
<its:rules version="1.0" xmlns:its="http://www.w3.org/2005/11/its">
|
|
<its:translateRule selector="/fontconfig/*[not(self::description)]" translate="no"/>
|
|
</its:rules>
|
|
|
|
<!--
|
|
https://caniuse.com/extended-system-fonts
|
|
GitHub uses this for code blocks.
|
|
-->
|
|
<match target="pattern">
|
|
<test qual="any" name="family"><string>ui-monospace</string></test>
|
|
<edit name="family" mode="assign" binding="same"><string>monospace</string></edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test qual="any" name="family"><string>ui-sans-serif</string></test>
|
|
<edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test qual="any" name="family"><string>ui-serif</string></test>
|
|
<edit name="family" mode="assign" binding="same"><string>serif</string></edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test qual="any" name="family"><string>-apple-system</string></test>
|
|
<edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit>
|
|
</match>
|
|
|
|
</fontconfig>
|