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

        1. ct-grayscale-fontsmoothing.png
          418 kB
          Tor Arne Vestbø
        2. image-2018-12-06-12-36-25-526.png
          124 kB
          Tor Arne Vestbø
        3. image-2018-12-06-12-37-39-139.png
          69 kB
          Tor Arne Vestbø
        4. image-2018-12-18-20-07-10-874.png
          5 kB
          Tor Arne Vestbø
        5. image-2018-12-18-20-07-21-255.png
          17 kB
          Tor Arne Vestbø
        6. image-2018-12-18-21-57-56-678.png
          8 kB
          Tor Arne Vestbø
        7. image-2018-12-18-21-58-58-325.png
          2 kB
          Tor Arne Vestbø
        8. image-2018-12-18-21-59-20-602.png
          3 kB
          Tor Arne Vestbø
        9. image-2018-12-18-21-59-39-995.png
          16 kB
          Tor Arne Vestbø
        10. image-2019-05-09-21-11-23-146.png
          466 kB
          Tor Arne Vestbø
        11. image-2019-05-09-21-11-42-747.png
          465 kB
          Tor Arne Vestbø
        12. qt-grayscale-fontsmoothing.png
          411 kB
          Tor Arne Vestbø
        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