The loaded @squareys/wd-io-engine module (its convert export).
TTF/OTF bytes for the default face. Required: wd_io_engine runs in its own wasm, gets
no fonts from the deck blob, and lays out every run it cannot resolve with this face.
OptionalfontResolves a deck font family to TTF/OTF bytes for per-run embedding. Without it, all text
renders in font, so layout and glyphs differ from the live view for any other family.
OptionalimageJPEG quality (0..1) for raster images in the PDF. Default 0.85.
OptionaldecodeImage decoder for Node/Bun, where createImageBitmap does not exist. PNGs decode with a
built-in decoder when omitted; JPEG and other formats need this hook or print a placeholder.
Options for
export("pdf", ...). The host supplies everythingwd_io_engineneeds.