pub enum EmbeddingFormat {
TrueType,
OpenTypeCff,
}Expand description
Font program encoding; never infer a PDF dictionary from the filename.
Variants§
TrueType
sfnt with glyf outlines: PDF FontFile2 / CIDFontType2.
OpenTypeCff
OTTO sfnt with CFF outlines: PDF FontFile3 / Subtype OpenType; this is a name-keyed CFF program, not a CID-keyed program. Consumers must choose a compatible simple-font encoding/dictionary; do not emit FontFile2 or assume a CIDToGIDMap applies.
Trait Implementations§
Source§impl Clone for EmbeddingFormat
impl Clone for EmbeddingFormat
impl Copy for EmbeddingFormat
Source§impl Debug for EmbeddingFormat
impl Debug for EmbeddingFormat
impl Eq for EmbeddingFormat
Source§impl PartialEq for EmbeddingFormat
impl PartialEq for EmbeddingFormat
impl StructuralPartialEq for EmbeddingFormat
Auto Trait Implementations§
impl Freeze for EmbeddingFormat
impl RefUnwindSafe for EmbeddingFormat
impl Send for EmbeddingFormat
impl Sync for EmbeddingFormat
impl Unpin for EmbeddingFormat
impl UnsafeUnpin for EmbeddingFormat
impl UnwindSafe for EmbeddingFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more