pub fn render_pdf(spec: &PlotSpec) -> Result<Vec<u8>, RenderError>
Render spec as a one-page vector PDF with the bundled font embedded.
spec
When the spec is invalid or the bundled font cannot load.