You are not logged in.
I wish I could change my font hinting level in GTK apps, but whenever I change it in the lxappearance applet, it returns back to 'full'. The corresponding settings in ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini match the settings I choose, but it has no effect. I can even turn off antiliasing completely, but it looks absolutely the same even if I relog the session. I'm mostly running Qt apps and I can change font rendering settings just like I want and it works perfectly. What's the problem? Is there another config file that GTK uses for that?
Offline
You may be interested in the file /etc/profile.d/freetype2.sh . It pertains to the image used for hinting text. (This is a fairly recent addition, with the relatively recent changes in FT2.)
Offline
My /etc/profile.d/freetype2.sh file is empty (everything is commented out). I can maybe change it there, but won't that interfere with Qt and GTK settings? Will the settings from that script be used primarily?
Offline
This is my font settings:
$ cat ~/.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Enable hinting -->i
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<dir>~/.fonts</dir>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>Don't forget to restart X to apply the changes.
Offline
My ~/.config/fontconfig/fonts.conf file isn't much different except for the hintstyle which I want to be set as 'hintslight', though GTK apps don't seem to respect it.
[karolina@netbuk ~]$ cat .config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- created by lxqt-config-appearance (DO NOT EDIT!) -->
<fontconfig>
<include ignore_missing="yes">conf.d</include>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</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="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>96</double>
</edit>
</match>
</fontconfig>Offline