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

Text does not render when converting specific SVG to PNG #324

Closed
centDejan opened this issue May 30, 2017 · 5 comments
Closed

Text does not render when converting specific SVG to PNG #324

centDejan opened this issue May 30, 2017 · 5 comments

Comments

@centDejan
Copy link

centDejan commented May 30, 2017

Hi!

I have this issue that is making me crazy. For couple of days I am trying to bypass it, but no success.

I create SVG using fantastic Fabric.JS library. Until I edit the text on this component (IText), export is working. Once I edit/change text in the component, the component creates SVG group with a lots of TSpan's that do not get converted with the library. Only first letter is visible.

Is there any bypass?

For the reference I have included SVG that does not render correctly.

Thanks in advance for your valuable feedback!

not_exportable_to_pdf.zip

@Eskora
Copy link

Eskora commented Jun 29, 2017

Hi centDejan,

I'm facing the same problem, have you finally found a solution ?

Thank you.

@centDejan
Copy link
Author

I solved this issue by using another library - Magick.net.

@tburnett80
Copy link

I am noticing this as well, generating svg graphs with C3.js / D3.js and trying to render the svg as a png image to insert into a downloadable report.

It seems like the tspan text is just completely ignored.

@haykpetros
Copy link
Contributor

Hello @centDejan and @tburnett80,

This is same as Issue #318.

Thanks

@mrbean-bremen
Copy link
Member

Closing as duplicate of #318.

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

5 participants