sparkfish/glyphcast

Add bindings to the `svg2pdf` Rust-based package

jboarman opened this issue · 0 comments

This addition would expose an ability to render a PDF from an SVG using a provided set of Options, so the identical will be almost interface to the existing interface to convert SVG to PNG.

Though the Options will vary, we should aim to unify them as much as possible so that we could use the same Options class if that appears possible after exploring this further.

See repo located at https://github.com/typst/svg2pdf. This lib shares many of the same dependencies as resvg so hopefully the size of the final package binary will not be overly affected.