2 <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
4 <description>Add sans-serif to the family when no generic name</description>
6 If the font still has no generic name, add sans-serif
8 <match target="pattern">
9 <test qual="all" name="family" compare="not_eq">
10 <string>sans-serif</string>
12 <test qual="all" name="family" compare="not_eq">
13 <string>serif</string>
15 <test qual="all" name="family" compare="not_eq">
16 <string>monospace</string>
18 <edit name="family" mode="append_last">
19 <string>sans-serif</string>