Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My fonts in general within QtCreator inside Ubuntu 13.04 looks 'ugly' when compared to how they looked in 12.10.

12.10 still used Qt4, so did something regarding the font rendering in Qt5 and the most up to date QtCreator change then?

If so, is there a workaround and or fix for this please? Seeing that this affects the Ubuntu-SDK (which of course is using QtCreator) one would assume that a fix must be available ;)

share|improve this question
    
The fonts go back to pretty if you use MainView instead of Rectangle as the root element, at least for me. Check the Ubuntu-touch style guide for details about the font styles and recommendations on which ones to use where. –  hbdgaf Apr 26 '13 at 12:45

1 Answer 1

By default qt5 used xft instead of fontconfig how it was in qt4 version: https://bugreports.qt-project.org/browse/QTBUG-27106. Infinality patch is fix that for me.

  • Install infinality font patch:

    sudo add-apt-repository ppa:no1wantdthisname/ppa sudo apt-get update sudo apt-get upgrade sudo apt-get install fontconfig-infinality

  • Configure font config:

    sudo bash /etc/fonts/infinality/infctl.sh setstyle and select linux

  • In file /etc/profile.d/infinality-settings.sh change variable USE_STYLE from DEFAULT to UBUNTU: USE_STYLE="UBUNTU" (in my PC it's line #712)

  • Restart X server.

For more information see http://www.webupd8.org/2013/06/better-font-rendering-in-linux-with.html. I tested that on ubuntu 14.04.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.