Struct pdf_writer::writers::Encoding [−][src]
pub struct Encoding<'a> { /* fields omitted */ }
Expand description
Writer for a simple font encoding dictionary.
This struct is created by Type1Font::encoding_custom
and
Type3Font::encoding_custom
.
Implementations
Write the BaseEncoding
attribute, from which this encoding is
described through differences.
Start writing the /Differences
array.
Methods from Deref<Target = Dict<'a>>
Start writing a pair with an arbitrary value.
Write a pair with a primitive value.
This is a shorthand for dict.insert(key).primitive(value)
.