qt4 is on the left; qt5 on the right. I do have the infinality patches installed.
]]>this is not some heavy problem for as I don't use any qt5 application yet, anyway, I've been looking around trying to find my conf files
and I think I found the problem:
It seems that if /etc/fonts/local.conf exists it makes those settings default and ignores any settings you set in your DE.
I have the file local.conf with the following content, mainly for programs like lightdm that work before DE changes fonts configuration:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Hinting -->
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<!-- Hint Style -->
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<!-- Anti-aliasing -->
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>
So, it seems obvious now, looking back at the screenshot in the first post that the relevant difference is that in local.conf I have hintslight and in xfce configuration I have hintfull.
If I remove the local.conf file qt5 applications will get the correct font configuration.
Seems like a bug since qt4 works as expected ( ignoring the /etc/local.conf and using the de options ).
]]>me, ~ » pacman -Q fontconfig
fontconfig 2.11.0-1
me, ~ » pacman -Q qt5-base
qt5-base 5.1.1-5
me, ~ » pacman -Q freetype2
freetype2 2.5.0.1-2
It must be something stupid in my configuration or something, because I see nobody asking about it.
Using xfce4, I don't remember touching any other configurations, so it should be somewhat default.
The point is, qt5 applications render fonts not as defined, at least they appear different from qt4 apps and gtk, a little fuzzier if I can say that.
Relevant screenshot, showing qtdbusviewer qt4 (left) vs qt5 (right) and font configuration in xfce settings: http://imgur.com/aFvIPi8
Any pointers or help trying to understand what's going on is welcomed.
Thanks.
]]>