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

QRasterPaintEngine::alphaPenBlt slow path does not handle useGammaCorrection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12
    • None
    • All

    Description

      QRasterPaintEngine::alphaPenBlt does not care about gamma correction when ending up in the slow code path (!s->flags.fast_text).

      This is a problem on macOS, where default text colors have a non 100% alpha, so we end up in the slow path, but the glyphs we produce (and get from CoreText) expect to be linearly blended (useGammaCorrection == true).

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes