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

Add property to set distance field cache size in Text in Qt Quick

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      cbbbfe3bff29d8db84771e07ac6f16209b0969d1 (qt/qtdeclarative/dev)
    • Story Points:
      1

      Description

      It is currently only possible to set the sizes of distance fields at an application-global level, which means that if you want to have text which is either drawn with a large point size or zoomed in really far, you will have to increase the cache size of all text and thus potentially wasting a lot of memory.

      We should have a low-level property to do this on a per-item basis. This is especially important now that the same Text items will be used in 3D, since you will typically want a higher resolution distance field when they are part of a navigatable 3D scene.

        Attachments

        For Gerrit Dashboard: QTBUG-84696
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes