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

[REG] Text rendering is completely misplaced for TextInput and Text on screen when not using fontconfig

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.4.1
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Ubuntu 14.04 LTS 64-bit (xcb), VxWorks7
    • Commits:
      434868e9d3cab37b304d7511cd62616d7cd6e032

      Description

      When using large font size (200) in Qt Quick 2 TextInput or Text element text for component is completely misplaced in screen (see attachment picture). NOTE: Qt needs to be configure+build without fontconfig support.

      Commenting out following lines (from file src/gui/text/qfontengine_ft.cpp) in function QFontEngineFT::loadGlyphFor does fix the issue:

      if (glyphSet != 0 && glyphSet->outline_drawing)
      return 0;

      Change c238d34137ffe80d30933733a12aa2893b9631c2 did introduce this problem.

        Attachments

        1. IMG_20150120_120451.jpg
          IMG_20150120_120451.jpg
          2.97 MB
        2. main.qml
          0.3 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                esabraha Eskil Abrahamsen Blomfeldt
                Reporter:
                papetaja Pasi Petäjäjärvi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes