summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Xdefaults6
-rw-r--r--fonts.conf16
2 files changed, 13 insertions, 9 deletions
diff --git a/Xdefaults b/Xdefaults
index 88fab5d..ad634f7 100644
--- a/Xdefaults
+++ b/Xdefaults
@@ -81,3 +81,9 @@ xterm*color13: #AD8FA8
! bright-cyan + bright-white
xterm*color14: cyan
xterm*color15: #EEEEEC
+
+!xft settings
+Xft.antialias: true
+Xft.rgba: rgb
+Xft.hinting: true
+Xft.hintstyle: hintslight
diff --git a/fonts.conf b/fonts.conf
index 720f69f..c19772a 100644
--- a/fonts.conf
+++ b/fonts.conf
@@ -3,34 +3,32 @@
<fontconfig>
<!-- settings go here -->
- <match target="font">
+ <match target="pattern">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
- </match>
- <match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
- </match>
- <match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
- </match>
- <match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
+
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
</match>
- <match target="font">
+<!-- <match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
- </match>
+ </match> -->
</fontconfig>