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

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.1
    • 5.4.1
    • GUI: Font handling
    • None
    • Ubuntu 14.04 LTS 64-bit (xcb), VxWorks7
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: