RESOLVED FIXED 24262
[Qt] SVGs stroked text support missing
https://bugs.webkit.org/show_bug.cgi?id=24262
Summary [Qt] SVGs stroked text support missing
Dirk Schulze
Reported 2009-02-28 10:32:42 PST
Qt lacks support for stroked texts in SVG.
Attachments
stroked texts on Qt (2.19 KB, patch)
2009-02-28 10:35 PST, Dirk Schulze
zecke: review+
Dirk Schulze
Comment 1 2009-02-28 10:35:52 PST
Created attachment 28119 [details] stroked texts on Qt adds the missing support.
Holger Freyther
Comment 2 2009-03-12 22:55:06 PDT
Comment on attachment 28119 [details] stroked texts on Qt > - p->drawText(pt, string, flags, run.padding()); > + > + if (ctx->textDrawingMode() & cTextStroke) { > + QPainterPath path; > + path.addText(pt, font(), string); > + p->strokePath(path, p->pen()); > + } > + if (ctx->textDrawingMode() & cTextFill) > + p->drawText(pt, string, flags, run.padding()); cool, can you point me to a test case that is having cTextStroke and cTextFill for drawing text?
Dirk Schulze
Comment 4 2009-03-18 08:59:37 PDT
landed in r41808.
Note You need to log in before you can comment on or make changes to this bug.