Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svgelements does not process textPath #84

Open
tatarize opened this issue Dec 12, 2020 · 0 comments
Open

svgelements does not process textPath #84

tatarize opened this issue Dec 12, 2020 · 0 comments

Comments

@tatarize
Copy link
Member

https://www.w3.org/TR/SVG/text.html#TextPathElement

SVG 2.0 extends this to applying a text path along a basic shape.

SVG can place text along a path defined either by a ‘path’ element or the path equivalent of a basic shape. This is specified by including text within a ‘textPath’ element that has either an ‘href’ attribute with an URL reference pointing to a ‘path’ element or basic shape, or by specifying a value for the ‘path’ attribute that specifies the path data directly.

Within svgelements there is not much that must be handled here. The text path object itself works like a text object but references a text object. Actual difficulties in rendering this would be largely left to the user.

The textPath to be useful needs normal vector information applied to paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant