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

No text support? #203

Open
Honya2000 opened this issue Feb 25, 2022 · 3 comments
Open

No text support? #203

Honya2000 opened this issue Feb 25, 2022 · 3 comments

Comments

@Honya2000
Copy link

So the parser doesn't support text tag ? What the point in this? Each svg I use has text/font.

@oehhar
Copy link
Contributor

oehhar commented Feb 25, 2022

Dear Honya,
I am sorry for this experience.
Please move to another SVG parser. This limmitation is clearly stated in the aims of this project.
Be sure to look also to the other limitations of this parser which focuses on speed and simplicity for the drawback of a limitted set of features.

Take care,
Harald

@asmwarrior
Copy link

I create a sample project to partially support text, see here: asmwarrior/SvgPanel: a wxPanel which can show svg image and simple text labels

@wcout
Copy link
Contributor

wcout commented May 7, 2022

@Honya2000: If the SVG is under your control (i.e. you can edit it) you could convert the text into a path to create an SVG that looks the same, but nanosvg can now render it.

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

4 participants