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

Include pen color in RGB glyph caches

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.12.5
    • None
    • GUI: Text handling
    • None
    • All
    • 78caba7ae637bf4b33631c3425eb92ec3946c99e (qtbase), 94570dc49aa6319c4811dcf37a29f179b6f64391 (qtbase), 35acf29a38d4b631dd27ce767466533223e8b2c4 (qtdeclarative)

    Description

      Color fonts based on SVG or COLR will have a concept of pen color, which can be referenced in the shapes. Since we currently draw all glyphs in the color font into the same cache and use pen color black when doing it, we essentially only support black for any font that happens to contain color glyphs, even for the regular glyphs in the font.

      The first step to making this better is to make the pen color part of the cache key for these fonts and repaint the glyphs when it changes. It will have a performance impact of course, but only for fonts which currently do not work, and only if you change colors.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes