aboutsummaryrefslogtreecommitdiffstats
path: root/fontconfig
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:06:19 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:09:59 +0100
commite61447902496e3fba89c4d67d9ab02b7bf279ad2 (patch)
tree2d4058e3e99d4d5fbae958851117ba95766e78f3 /fontconfig
parent4cdaf1410bba30be19429fbd185614b7db1cd1ef (diff)
downloaddotfiles-e61447902496e3fba89c4d67d9ab02b7bf279ad2.tar.xz
fontconfig: Delete old cruft
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/fonts.conf31
1 files changed, 7 insertions, 24 deletions
diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf
index aa9a78c..8452c45 100644
--- a/fontconfig/fonts.conf
+++ b/fontconfig/fonts.conf
@@ -6,31 +6,22 @@
<fontconfig>
<match target="font">
+ <edit name="rgba" mode="assign"> <const>rgb</const></edit>
<edit name="antialias" mode="assign"> <bool>true</bool></edit>
<edit name="autohint" mode="assign"> <bool>false</bool></edit>
- <edit name="rgba" mode="assign"> <const>rgb</const></edit>
<edit name="hinting" mode="assign"> <bool>true</bool></edit>
<edit name="hintstyle" mode="assign"> <const>hintfull</const></edit>
<edit name="lcdfilter" mode="assign"> <const>lcddefault</const></edit>
<edit name="embeddedbitmap" mode="assign"> <bool>false</bool></edit>
-
- <!-- Hack for the not_contains file test to work even when the property
- is missing -->
- <edit name="file" mode="append"> <string></string> </edit>
- </match>
-
- <match target="font">
- <test name="fontformat" compare="eq"> <string>Type 1</string> </test>
- <edit name="hintstyle"> <const>hintslight</const> </edit>
</match>
<selectfont>
<rejectfont>
- <pattern> <patelt name="family"> <string>Nimbus Sans L</string> </patelt> </pattern>
- <pattern> <patelt name="family"> <string>Nimbus Mono L</string> </patelt> </pattern>
- <pattern> <patelt name="family"> <string>URW Palladio L</string> </patelt> </pattern>
- <pattern> <patelt name="family"> <string>Clean</string> </patelt> </pattern>
- <pattern> <patelt name="family"> <string>FreeSans</string> </patelt> </pattern>
+ <pattern><patelt name="family"><string>Nimbus Sans</string></patelt></pattern>
+ <pattern><patelt name="family"><string>Nimbus Mono</string></patelt></pattern>
+ <pattern><patelt name="family"><string>URW Palladio</string></patelt></pattern>
+ <pattern><patelt name="family"><string>Clean</string></patelt></pattern>
+ <pattern><patelt name="family"><string>FreeSans</string></patelt></pattern>
</rejectfont>
</selectfont>
@@ -47,14 +38,6 @@
<test name="lang" compare="contains"> <string>zh</string> </test>
<edit name="embeddedbitmap"> <bool>true</bool> </edit>
</match>
-
- <!-- Firefox download fonts -->
- <match target="font">
- <test name="family" compare="contains"> <string>@font-face:</string> </test>
- <test name="file" qual="all" compare="not_contains"> <string>/</string> </test>
- <test name="fontformat" compare="eq"> <string>TrueType</string> </test>
- <edit name="autohint" mode="assign"> <bool>true</bool> </edit>
- <edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit>
- </match>
</fontconfig>
+
<!-- vim: set ft=xml -->