2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
4 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5 <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
8 <description>Add sans-serif to the family when no generic name</description>
10 If the font still has no generic name, add sans-serif
12 <match target="pattern">
13 <test qual="all" name="family" compare="not_eq">
14 <string>sans-serif</string>
16 <test qual="all" name="family" compare="not_eq">
17 <string>serif</string>
19 <test qual="all" name="family" compare="not_eq">
20 <string>monospace</string>
22 <edit name="family" mode="append_last">
23 <string>sans-serif</string>