Closed glumoff closed 7 years ago
In ~/.zshrc:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
to apply xft settings for GTK2 applications.
Also may be ~/.config/fontconfig/fonts.conf needed:
<?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font"> <edit mode="assign" name="rgba"> <const>none</const> </edit> <edit mode="assign" name="hinting"> <bool>true</bool> </edit> <edit mode="assign" name="hintstyle"> <const>hintmedium</const> </edit> <edit mode="assign" name="antialias"> <bool>true</bool> </edit> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit> </match> </fontconfig>
a crucial moment is sourcing ~/.Xresources workaround is making symlink ~/.Xresources to ~/.Xdefaults (the last one is sourced)
In ~/.zshrc:
to apply xft settings for GTK2 applications.
Also may be ~/.config/fontconfig/fonts.conf needed: