[Interest] Qt5 font rendering is wrong

Nikos Chantziaras realnc at gmail.com
Fri Aug 17 17:59:15 CEST 2012


fontconfig is installed.  I'm on Gentoo Linux, so that means headers are 
also installed:

   /usr/lib64/pkgconfig/fontconfig.pc
   /usr/lib64/libfontconfig.so
   /usr/lib64/libfontconfig.so.1
   /usr/lib64/libfontconfig.so.1.5.0
   /usr/include/fontconfig/fcprivate.h
   /usr/include/fontconfig/fcfreetype.h
   /usr/include/fontconfig/fontconfig.h

The fontsampler example also has the same problem.  Guess I'll be filing 
a bug.


On 15/08/12 03:45, jason.mcdonald at nokia.com wrote:
> 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").
>
> --
> Jason
>
> ________________________________________
> 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.)





More information about the Interest mailing list