You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
svg2pdf uses usvg behind the scenes to convert the SVG to a simpler representation. This also includes converting text to curves. So to correctly render text, you have to manually create a usvg::Tree from your string (providing fonts) and then use convert_tree instead of convert_str. You can see how it's done in svg2pdf's CLI here.
Thanks for creating svg2pdf! Does it support text elements? I get a blank PDF when I try to convert the following SVG:
The text was updated successfully, but these errors were encountered: