2021-08-21 15:45:50 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
|
|
|
<fontconfig>
|
|
|
|
<description>Add mono to the family when no generic name and spacing is 100</description>
|
|
|
|
<!--
|
|
|
|
If the font has no generic name and spacing 100, add mono
|
|
|
|
-->
|
|
|
|
<match target="pattern">
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>sans-serif</string>
|
|
|
|
</test>
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>serif</string>
|
|
|
|
</test>
|
|
|
|
<test qual="all" name="family" compare="not_eq">
|
|
|
|
<string>monospace</string>
|
|
|
|
</test>
|
2021-08-23 15:00:52 +02:00
|
|
|
<test qual="any" name="spacing" compare="eq">
|
2021-08-21 15:45:50 +02:00
|
|
|
<int>100</int>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="append_last">
|
|
|
|
<string>monospace</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
</fontconfig>
|