Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7904

Broken freetype support in qt-embedded 4.6 on arm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.6.3
    • GUI: Font handling
    • None

    Description

      I'm using arm ep93xx-based board.
      I've compiled Qt 4.6 (both, 4.6.1 and 4.6.0) for my board with qws.
      I use qt-freetype qt-jpeg, e.t.c.

      So I'm starting simple application with a button on it (font on a button setted as "Droid Sans").
      On root filesystem on the device I have a Qt folder with all libs, translations, plugins and fonts in libs folder.
      I've copied Droid Sans .ttf file into lib/fonts.

      After I've started application small green square with a cursor appears on a screen and application freezes.
      CPU load 99%.

      If I don't set font for button Qt, as I guess Qt set some .qpf font for it and all seems to be good.

      I need TTF fonts for my application because I have many font sizes in it, QPF is not an alternative.
      Same application, compiled with Qt 4.6.1 on my desktop works fine.
      And this app compiled with Qt 4.5.3 works fine with TTF.

      I've made checkout from master branch, so I get latest Qt version, compiled for my board, started and got segfault.

      I've tested Qt with own freetype version, with system freetype, with old freetype from Qt 4.5.3, nothing happend, app freezes.


      I've compiled static debug version of Qt for arm.
      And I've forgot to say that I use gcc with support of ep93xx FPU (MaverickCrunch http://martinwguy.co.uk/martin/crunch/), but as for it correctness tests all about FPU support in gcc is good.

      Backtrace is in the attachment, in the same place there is a sources of the sample app.
      As I can see troubles is in the QLocalePrivate::doubleToString, loops in function static Bigint *mult(Bigint *a, Bigint *b) is too long (not infinite, but with too much iterations).

      Next time I'll try to provide more info.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            dimaz Dmitry Lebed
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes