Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
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
- relates to
-
QTBUG-86839 Adding text to QPainterPath that follows the path.
- Reported
-
QTBUG-121027 Add text-along-a-path feature to TextPath
- Reported