Skip to main content

Module pdf

Module pdf 

Source
Expand description

PDF output via krilla + krilla-svg.

Converts an SVG string (produced by the SVG renderer) into PDF bytes by parsing the SVG with usvg and drawing it onto a krilla Document.

Functionsยง

svg_to_pdf ๐Ÿ”’
Convert an SVG string to PDF bytes.