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

Add API to QPainterPath to draw glyphs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • GUI: Font handling
    • None

    Description

      Add API to QPainterPath to draw glyphs , just like QPainter class.
      Currently QPainterPath uses addText method , which takes x and y point , font and the text . On the other hand drawGlyphRun takes point and glyphs.
      Krita uses QPainterPath to draw text in the path by using addText method . Add text method draws character by character on the path , so it bugs complex text layout such arabic language . The best solution is to provide darwGlyphRun api to the QPainterPath to draw glyph by glyph instead of character.

      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
              anood Anood Al Muharabi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Gerrit Reviews

                    There are no open Gerrit changes