[Interest] Fonts not rendered properly on RaspberryPi

Filip Piechocki fpiechocki at gmail.com
Sun Feb 23 20:44:16 CET 2014


My config.summary looks like this:


   Configure summary

Building on:   linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for:  devices/linux-rasp-pi-g++ (arm, CPU features:)
Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx

qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV
QT_CFLAGS_DBUS =
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/include/dbus-1.0
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/lib/dbus-1.0/include
  QT_LIBS_DBUS = -ldbus-1   QT_CFLAGS_GLIB = -pthread
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/include/glib-2.0
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/lib/glib-2.0/include
  QT_LIBS_GLIB = -pthread -lgthread-2.0 -lglib-2.0   QT_CFLAGS_PULSEAUDIO =
-D_REENTRANT
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/include/glib-2.0
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/lib/glib-2.0/include
  QT_LIBS_PULSEAUDIO = -lpulse-mainloop-glib -lpulse -lglib-2.0
QMAKE_CFLAGS_FONTCONFIG =
-I/home/faldzip/RaspberryPi/yocto/poky-dora/build/tmp/sysroots/raspberrypi/usr/include/freetype2
  QMAKE_LIBS_FONTCONFIG = -lfontconfig -lfreetype   QMAKE_INCDIR_LIBUDEV =
  QMAKE_LIBS_LIBUDEV = -ludev -lrt   DEFINES += QT_NO_XCB
QMAKE_CFLAGS_XKBCOMMON =   QMAKE_LIBS_XKBCOMMON = -lxkbcommon
QMAKE_VERSION_XKBCOMMON = 0.3.1 sql-drivers =  sql-plugins =  sqlite qmake
switches .........

Build options:
  Configuration .......... accessibility alsa audio-backend c++11
clock-gettime clock-monotonic compile_examples concurrent cross_compile
dbus egl eglfs evdev eventfd fontconfig full-config getaddrinfo getifaddrs
glib iconv icu inotify ipv6ifname large-config largefile libudev linuxfb
medium-config minimal-config mremap neon nis no-harfbuzz opengl opengles2
openssl pcre png posix_fallocate precompile_header pulseaudio qpa qpa
reduce_exports reduce_relocations release rpath shared small-config
system-freetype system-zlib xlib
  Build parts ............  libs
  Mode ................... release
  Using C++11 ............ yes
  Using PCH .............. yes
  Target compiler supports:
    iWMMXt/Neon .......... no/yes

Qt modules and options:
  Qt D-Bus ............... yes (loading dbus-1 at runtime)
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. yes
  JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... yes
  CUPS ................... no
  FontConfig ............. yes
  FreeType ............... system
  Iconv .................. yes
  ICU .................... yes
  Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using bundled copy)
    PNG .................. yes (in QtGui, using bundled copy)
  Glib ................... yes
  GTK theme .............. no
  Large File ............. yes
  mtdev .................. no
  Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. yes (loading libraries at run-time)
  NIS .................... yes
  OpenGL ................. yes (OpenGL ES 2.x)
  OpenVG ................. no
  PCRE ................... yes (bundled copy)
  pkg-config ............. yes
  PulseAudio ............. yes
  QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
    KMS .................. no
    LinuxFB .............. yes
    XCB .................. no
  Session management ..... yes
  SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. no
  udev ................... yes
  xkbcommon .............. yes (system library)
  zlib ................... yes (system library)

NOTE: Qt is using double for qreal on this system. This is binary
incompatible against Qt 5.1.
Configure with '-qreal float' to create a build that is binary compatible
with 5.1.




For me it looks good, maybe there is something wrong with fontconfig or
freetype?

Best Regards,
Filip Piechocki


On Sun, Feb 23, 2014 at 6:55 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> Em dom 23 fev 2014, às 09:13:55, Filip Piechocki escreveu:
> > Any idea whats causing this problem?
>
> Check your config.summary in the build and see if there are "no" items
> where
> you should have yes. As a general rule, you want to have "yes" everywhere,
> except where you know for sure that you don't need the feature.
>
> Fonts, in this case.
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140223/215acc04/attachment.html>


More information about the Interest mailing list