Bug 24262

Summary: [Qt] SVGs stroked text support missing
Product: WebKit Reporter: Dirk Schulze <krit>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.w3.org/Graphics/SVG/Test/20061213/svggen/pservers-grad-11-b.svg
Attachments:
Description Flags
stroked texts on Qt zecke: review+

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.