Open Bug 640633 Opened 13 years ago Updated 2 years ago

Expose API for getting path of text to canvas

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

References

Details

(Whiteboard: [shumway])

It would be useful for authors to be able to obtain the path associated with text. This probably means exposing some sort of path object.
QA Contact: canvas.2d → jmuizelaar
There's no point in rushing to add this API until we have good reason to. I'd at least wait until the old canvas backend is gone.
Summary: Expose text path from canvas → Expose API for getting path of text to canvas
QA Contact: jmuizelaar → canvas.2d
Canvas v5 added support for Path primitives (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path-objects) and there is addText and addPathByStrokingText on Path objects.
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [shumway]
From the bug description, this is not what addText is doing. addText is drawing a text along a path, this bug is about an API to get the path associated with text.
Tobias says this is not a Shumway blocker. Assigning to Tobias as a point of contact.
No longer blocks: 927828
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.