| 1 | <?xml version="1.0"?> |
| 2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
| 3 | <fontconfig> |
| 4 | <!-- |
| 5 | If the font still has no generic name, add sans-serif |
| 6 | --> |
| 7 | <match target="pattern"> |
| 8 | <test qual="all" name="family" compare="not_eq"> |
| 9 | <string>sans-serif</string> |
| 10 | </test> |
| 11 | <test qual="all" name="family" compare="not_eq"> |
| 12 | <string>serif</string> |
| 13 | </test> |
| 14 | <test qual="all" name="family" compare="not_eq"> |
| 15 | <string>monospace</string> |
| 16 | </test> |
| 17 | <edit name="family" mode="append_last"> |
| 18 | <string>sans-serif</string> |
| 19 | </edit> |
| 20 | </match> |
| 21 | </fontconfig> |