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

Make a fallback path for drawStaticText() which uses paths for very large glyphs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.7.3
    • GUI: Text handling
    • None
    • 0aa9b30432cec3b7f366983f451fc9a7f8f83243

    Description

      Currently drawStaticText() will cache glyphs of any size. Since this does not scale at some point, and since it's not always convenient for the developer to predict or limit the sizes of the QStaticTexts, we should include a fallback to path drawing of the text. The threshold should be high enough so that QStaticText supports the relevant font sizes, but low enough that the size of the cache texture does not grow too big.

      Attachments

        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:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes