Details

    • Sub-task
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • GUI: Font handling
    • None
    • c0fed43b04dec8bd549043d3ea5e28908128082c, 037e632d4b3884d06bf9e92de77d726c75fe7898

    Description

      To improve laying out text with design metrics and drawing text on a scaled painter, we should add a style hint which turns off font hinting where this is possible.

      For cases where it is not supported (Windowses without DirectWrite) it is possible to fake this by building a QPainterPath based on the outlines of the glyphs. However, getting these outlines is quite slow, so it might be better to ignore the hint on those versions of Windows, so that people who need that feature on all platforms can do the QPainterPath extraction themselves and use caching which is suitable for their application. The possibilities here need to be researched a little bit more.

      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:
              14 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes