Struct pdf_writer::writers::CidFont [−][src]
pub struct CidFont<'a> { /* fields omitted */ }
Expand description
Writer for a CID font, a descendant of a Type-0 font.
This struct is created by PdfWriter::cid_font
.
Implementations
Write the /CIDSystemInfo
dictionary.
Write the /FontDescriptor
attribute.
Write the /CIDToGIDMap
attribute as a predefined name.
Write the /CIDToGIDMap
attribute as a reference to a stream, whose
bytes directly map from CIDs to glyph indices.
Methods from Deref<Target = Dict<'a, IndirectGuard>>
Write a pair with a primitive object value.
This is a shorthand for dict.key(key).primitive(value)
.