Crate hayro_svg

Crate hayro_svg 

Source
Expand description

A crate for converting PDF pages to SVG files.

This is the pendant to hayro, but allows you to export to SVG instead of bitmap images. See the description of that crate for more information on the supported features and limitations.

§Safety

This crate forbids unsafe code via a crate-level attribute.

§Cargo features

This crate has one optional feature:

  • embed-fonts: See the description of hayro-interpret for more information.

Re-exports§

pub use hayro_interpret;
pub use hayro_interpret::hayro_syntax;

Functions§

convert
Convert the given page into an SVG string.