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

Transformation is applied twice for large fonts in QPainter::drawGlyphs() in native paint engines on X11 and Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.8.0
    • GUI: Text handling
    • None
    • macOS
    • 243535036078fec14bc460ccf41708ff14878797

    Description

      Since the drawTextItem() fallback path will use path-rendering for glyphs above a certain size, it will fall back to an engine that supports transformations from an engine that does not, making the assumption in paintEngineSupportsTransformations to be wrong. This will become relevant for the raster engine as well when the drawStaticText() is updated to support a path fallback.

      The paintEngineSupportsTransformations prediction logic is quickly becoming too complex. We need to move the logic into the paint engine subclasses instead so they can decide what the right thing is when they have all the necessary information.

      Attachments

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

        Activity

          People

            jiang Jiang Jiang
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes