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

SVG - adding a namespace #11

Open
mhebrard opened this issue Jan 10, 2017 · 0 comments
Open

SVG - adding a namespace #11

mhebrard opened this issue Jan 10, 2017 · 0 comments

Comments

@mhebrard
Copy link
Collaborator

In my SVGs I use <textPath>
It allows me to define a path, then attached a text on the path. The text can be written on an arc or a curve...

<path id="map" d="M18,-62 A64,64,0,0,1,24,-59" style="pointer-events: none; opacity: 0;"></path>
<text text-anchor="left" dy="0.5ex" style="pointer-events: none;">
  <textPath xlink:href="#map">Text along the path</textPath>
</text>

It worked well on web browser, but to make it work in a standealone SVG (saved file) I need to add the namespace in the svg tag
<svg ... xmlns:xlink="http://www.w3.org/1999/xlink">

Is it a nice way to add this namespace in Project-Chi svg export ?

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