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

Geometry of glyphs with Text.NativeRendering seems to be incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0
    • Quick: SceneGraph
    • None
    • 35bc3dc45aacaf36a8bdfccc7627136cc2e5b185

    Description

      The glyphs come out on screen correctly but their geometry includes a lot of padding on the lower-right side which results in that we are drawing a lot of transparent pixels.

      This bounding box also cause the glyph nodes to be larger than they should be which in some cases causes overlaps with surrounding elements which in turn prevents the renderer from properly batching them, which is bad for performance.

      The attached image is created by adding a bit of color to all pixels filled by the QSGTextMaskMaterial fragmentShader and clearly shows the issue.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes