diff options
Diffstat (limited to '29-replace-bitmap-fonts.conf')
-rw-r--r-- | 29-replace-bitmap-fonts.conf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/29-replace-bitmap-fonts.conf b/29-replace-bitmap-fonts.conf new file mode 100644 index 000000000000..c22bee6212d6 --- /dev/null +++ b/29-replace-bitmap-fonts.conf @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <!-- Replace generic bitmap font names by generic font families. + These font-families will get replaced by other rules and + default to scaled ones. --> + <match target="pattern"> + <test name="family" qual="any"> + <string>Helvetica</string> + </test> + <edit mode="assign" name="family"> + <string>Helvetica Std</string> + <string>Arial</string> + <string>Liberation Sans</string> + <string>Nimbus Sans</string> + <string>sans-serif</string> + </edit> + </match> + <match target="pattern"> + <test name="family" qual="any"> + <string>Courier</string> + </test> + <edit mode="assign" name="family"> + <string>Courier Std</string> + <string>Courier New</string> + <string>Liberation Mono</string> + <string>Nimbus Mono</string> + <string>monospace</string> + </edit> + </match> + <match target="pattern"> + <test name="family" qual="any"> + <string>Times</string> + </test> + <edit mode="assign" name="family"> + <string>Times Std</string> + <string>Times New Roman</string> + <string>Liberation Serif</string> + <string>Nimbus Roman</string> + <string>serif</string> + </edit> + </match> +</fontconfig> |