Closed christee closed 5 years ago
Please provide a short, complete example. Why would you believe that the font should be used for the SVG element?
So, that's my confused place, i don't understand the font can applied on SVG element or not. Code that wrote follow the docs is simple, now i don't have it. I am care about how to convert encoding with the content of SVG element.
Did you see this: https://github.com/yWorks/svg2pdf.js/blob/master/tests/custom-fonts.html ?
Thanks, I will try this later !
Yeah, this issue has been solved ! So appreciated for your help!
It‘s not support chinese ?
Pdf exported by using doc.text is ok,
doc.text(20, 20, '导出标题');
but used svg2pdf is not working, chinese became messy code.
like this
Is there any way to fix this ?