[Interest] Qt5 font rendering is wrong

jason.mcdonald at nokia.com jason.mcdonald at nokia.com
Wed Aug 15 02:45:35 CEST 2012

Hi Nikos,

Do you have the libfontconfig1 and libfontconfig1-dev packages installed on your system?  Adding those packages solved a similar problem for me a few weeks ago.  If you haven't already done so, you should also verify that the apps are running against your qt5 build and not against some other version of Qt that happens to be on the machine. 

If neither of those suggestions solves the issue for you, please submit a bug report at http://bugreports.qt-project.org/ and try to include as much information as you can about which linux distro and version you are using, which font-related libs are installed, the exact symptoms that you are seeing, and whether the same problem occurs with qt's own example applications (qtbase/examples/painting/fontsampler would be a good one to try -- it lives in $PREFIX/examples/qtbase/painting/fontsampler after a "make install").


From: interest-bounces+jason.mcdonald=nokia.com at qt-project.org [interest-bounces+jason.mcdonald=nokia.com at qt-project.org] on behalf of ext Nikos Chantziaras [realnc at gmail.com]
Sent: Wednesday, August 15, 2012 9:55 AM
To: interest at qt-project.org
Subject: [Interest] Qt5 font rendering is wrong

When building apps against Qt5 (current Git), the font rendering is off.
  It doesn't seem to obey my system's font configuration, like Qt4 does.
  Fonts appear thin and washed out.

This is on Linux with KDE 4.9.  Am I missing some configuration option?
  I did enable the system freetype and fontconfig configure options.

(Also, all widgets look like Windows 95 and nothing like KDE widgets,
but I guess that's a separate problem.)

Interest mailing list
Interest at qt-project.org

More information about the Interest mailing list