Font rendering in QtCreator on 13.04

Timo Jyrinki timo.jyrinki at canonical.com
Fri Apr 26 11:55:39 UTC 2013


Hi George,

You may not be the only one but probably in a minority anyhow, which may
explain the lack of information/outcry. Here's a comparison on my
machine of a Qt Creator experimental build against Qt4 versus Qt Creator
in raring as is, compiled against Qt5:

http://people.canonical.com/~tjyrinki/qtcreator/qtcreator-qt4.png
http://people.canonical.com/~tjyrinki/qtcreator/qtcreator-qt5.png

Fonts are almost identical. There originally were ugly fonts with Qt5 Qt
Creator before enabling reading the GTK style information (similar to
Qt4). I'm not sure what's the experience in KDE compared to before. Then
there might be a .gtkrc-2.0 or a similar file in home directory with
some special settings (the file is not necessarily needed at all).

This might not be the end of fonts configuration discussion anyway. I've
seen at least complaints about a missing font directory in some logs.
Everything Qt5 supports font/theme wise should be enabled at the moment,
but there are bugs/omissions related to themes that will only be fixed
with Qt 5.1 or 5.2, like
https://qt.gitorious.org/qt/qtbase/commit/ebca7d2/diffs

-Timo

26.04.2013 13:45, George Labuschagne kirjoitti:
> Hi all 
> 
> I upgraded to 13.04 yesterday and decided to install the Ubuntu SDK as well. 
> 
> I have experience with QtCreator but did not need to use Qt5 until now (as it is the default pulled in on 13.04). For all my Qt projects so far Qt4 was sufficient. 
> 
> However when I compare the look of the font in the editor window within QtCreator in 13.04 to the font in QtCreator in 12.10 (and prior Qt4 version apps) there is a huge difference in the quality of the font rendering. 
> 
> Now I tried searching for these issues on google and came up with a few links but nothing exact. Surely I cannot be the only person affected by this?
> 
> Seeing that the Ubuntu SDK is the promoted tool to get developers to code for the new Ubuntu touch devices (which by the way looks amazing and is the reason for me to want to get into the SDK) there must be a fix or workaround to resolve these 'ugly' rendered fonts. 'ugly' off course when one compares them to the GTK rendered fonts in 13.04 and to the fonts in previous versions of QtCreator. 
> 
> Any links and or advice will be much appreciated. 
> 
> Kind regards,
> 
> George Labuschagne
> Twitter: @georgelappies 
> Sent from my BlackBerry® wireless device
> 




More information about the Ubuntu-app-devel mailing list