I've been configuring my fonts, and RGB smoothing does not appear to
work no matter in how many places I configure it.
I've done my homework and the closest posts to my issue that I found
were the following:
https://marc.info/?l=openbsd-misc&m=130565999007881&w=2
https://marc.info/?l=openbsd-ports&m=129870303523612&w=2
Neither seemed to get a reply back in 2011. The post to misc does not
quite describe the problem I'm having as I don't get RGB smoothing
*anywhere*, neither in GTK programs nor simply Xft programs such as cwm,
but it's sufficiently similar that I thought I would include it for
reference.
The post to ports is closer: Just as mentioned there, I know for a fact
my font configurations are being read, as I have hinting set to
hintslight, and it produces a noticeable difference from the default
(full) hinting. However, despite everything in place to enable RGB
smoothing, it shows up nowhere.
I'm on -current, last fetched and upgraded 2016-03-16 around 07:00 UTC,
though this issue has been ongoing since at least the snapshot from 7
days prior.
listing of /etc/fonts/conf.d (all of these are symlinks to conf.avail):
10-scale-bitmap-fonts.conf
10-sub-pixel-rgb.conf
11-lcdfilter-default.conf
20-unhint-small-dejavu-sans-mono.conf
20-unhint-small-dejavu-sans.conf
20-unhint-small-dejavu-serif.conf
20-unhint-small-vera.conf
30-lucida-aliases.conf
30-urw-aliases.conf
31-cantarell.conf
40-nonlatin.conf
42-luxi-mono.conf
45-latin.conf
49-sansserif.conf
50-user.conf
51-local.conf
60-latin.conf
65-fonts-persian.conf
65-nonlatin.conf
69-unifont.conf
80-delicious.conf
90-synthetic.conf
Relevant portion of my ~/fonts.conf:
<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>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
Relevant portion of my ~/.gtkrc-2.0:
gtk-xft-hinting = 1
gtk-xft-hintstyle = "hintslight"
gtk-xft-antialias = 1
gtk-xft-rgba = "rgb"
Relevant portion of my ~/.config/gtk-3.0/settings.ini:
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
If any other files or command outputs are needed, I'm ready to provide them.
-yuuko