You are not logged in.
I've recently reinstalled Arch and have been having a lot of issues with the fonts in Qt applications under GNOME. For example, with the kernel xconfig (Qt 4) program:
compared with the GTK gconfig:
This happens with every Qt 4 applications and with every font I've tested (Cantarell, Sans, Ubuntu font family). I'm also using the Infinality FreeType 2 patches, but this is completely reproducible in the stock freetype2 package. Does any one know what's going on?
EDIT: This is not reproducible under KDE.
Last edited by chenxiaolong (2012-01-30 05:02:24)
Offline
I do have this issue. Hadn't looked for solutions, yet.
Edit:
i use infinality.I had this issue with cairo-ubuntu too.
Last edited by hadrons123 (2012-01-30 06:02:40)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
It's just using a *wrong* font.
qtconfig changes ~/.config/Trolltech.conf, but the settings are ignored if you choose the "GTK+" (or "Default") GUI style in the Appearance tab - so use e.g. "Cleanlooks" instead.
This is with qt 4.7.4
Offline
@brebs: The problem with that is that I need to use both KDE and GNOME and so I wouldn't want to have Qt locked to a certain theme. I also do not have this problem on a fully upgraded Arch system that I installed before.
EDIT: After creating a new user (for a fresh configuration), it seems that only the Ubuntu font has this problem.
Last edited by chenxiaolong (2012-01-30 07:02:27)
Offline
Check if this helps, maybe related, maybe not:
https://bbs.archlinux.org/viewtopic.php … 1#p1034441
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
I have the exact same problem. Here are my screenshots :
This is for Gconf-editor (a Gtk app) - http://i.minus.com/ibph3NcXbNgEgw.png
This is for Clementine (a Qt app) - http://i.minus.com/iQo0TZIOlrvZe.png
I don't have a ~/.fonts.conf file, and I'm using the Ubuntu font family from the AUR. Can anyone help ?
EDIT : I managed to get slightly better fonts in Qt apps by changing the Antialiasing to RGBA and the hinting to Slight.
This is the result : http://i.minus.com/iRpPwsdN6S8v3.png which is a definite improvement.
The fonts are much smoother, though they still have the 'bold' feel to them.
Last edited by Paanini (2012-02-28 18:08:32)
Offline
I have this issue as well.
Using the -ubuntu builds of fontconfig/freetype/cairo/etc.
The image below says it all:
I get these bolded fonts in all Qt apps, except ones statically linked like virtualbox-bin.
I have tried various anti-aliasing settings. If I set hinting to Medium or Full, then the fonts are no longer bold, but they are also quite a mess.
I don't understand why my fonts simply will not reflect the way they look right there where the red arrow is pointing.
Offline
OK guys, wiping out ~/.config/Trolltech.conf resolved a very similar problem for me.
Over the years of extended usage that file on my system grew to 900+ lines and 100KiB+ in size. It was filled with some fancy versioned "factory" and "plugin" caches, which, I guess, never were even supposed to be cleared.
So once I removed that file, it was regenerated to a much smaller one (just 45 lines in length) on the next launch of qtconfig, and my problematic Qt program never had those weird theme issues again.
Also, I've met this theme issue quite a few times already, and every time the application used its own bundled Qt dlls or even statically compiled-in Qt (doh). I.e. each time I saw an Qt application appearing in some specific awkward dark-backround yellow-fonts-with-wrong-faces theme with broken contrast in many places – I soon discovered that that particular Qt program didn't use the system Qt libs (which probably have some distro-wide patches/configuration applied). A prominent example of Google Earth comes to mind from several years ago.
Offline