Skip to main content

emit_embedded

Function emit_embedded 

Source
pub(crate) fn emit_embedded(
    pdf: &mut Pdf,
    plan: &EmbeddedFontPlan,
    refs: EmbeddedRefs,
)
Expand description

Emit the 5 PDF objects for one embedded face. Caller allocates the refs and ensures they’re cross-referenced from each page’s /Font resource dict.