Skip to main content

render_with_warnings

Function render_with_warnings 

Source
pub fn render_with_warnings(
    document: &Document,
) -> Result<(Vec<u8>, Vec<String>), FormeError>
Expand description

Render a document to PDF bytes plus any non-fatal warnings (e.g. pdfUa requested without an embeddable font registered). Same output as render; the warnings surface through the WASM bindings and the HTML wrapper.