push preferred fontconfig everywhere

Thu, 09 Feb 2017 00:50:08 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Feb 2017 00:50:08 -0500
changeset 501
542f7efa51d0
parent 500
efce0f59ef14
child 502
ef051cb1651e

push preferred fontconfig everywhere

.Xdefaults file | annotate | diff | comparison | revisions
.config/fontconfig/fonts.conf file | annotate | diff | comparison | revisions
--- a/.Xdefaults
+++ b/.Xdefaults
@@ -1,7 +1,15 @@
 
-URxvt.foreground: #DFDFDF
-URxvt.background: #070707
-URxvt.font: xft:monospace-10
+Xft.antialias: 1
+Xft.autohint:  0
+Xft.hinting:   1
+Xft.hintstyle: hintslight
+Xft.lcdfilter: lcdlight
+Xft.rgba:      rgb
+
+Rxvt.foreground: #DFDFDF
+Rxvt.background: #070707
+Rxvt.font: xft:monospace-10
+URxvt.letterSpace: -1
 
 URxvt.scrollstyle: plain
 URxvt.scrollBar_right: true
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!--?xml version="1.0"?>-->
 <!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
 <!-- ~/.fonts.conf for per-user font configuration -->
 <fontconfig>
@@ -27,5 +26,14 @@
       <family>DejaVu Sans Mono</family>
     </prefer>
   </alias>
+
+  <match target="font">
+    <edit mode="assign" name="antialias"> <bool>true</bool></edit>
+    <edit mode="assign" name="autohint">  <bool>false</bool></edit>
+    <edit mode="assign" name="hinting">   <bool>true</bool></edit>
+    <edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
+    <edit mode="assign" name="lcdfilter"> <const>lcdlight</const></edit>
+    <edit mode="assign" name="rgba">      <const>rgb</const></edit>
+  </match>
 </fontconfig>
 

mercurial