SVG to PDF Conversion in WASM Lacks Text Element Handling
I am planning to use this crate in a WebAssembly (WASM) environment to convert frontend-generated SVGs into PDFs. However, I've encountered an issue where the generated PDF does not include any text elements.
The SVGs in question contain both ASCII characters and non-ASCII characters (e.g., CJK characters). It seems that the WASM implementation of svg2pdf cannot properly locate or use the necessary font data.
What is the current state of font handling and text element support in svg2pdf for WASM? Are there any workarounds or plans to improve this functionality?
关闭于 2025-01-10 3 条评论