pub enum FontEmbedding {
Subset,
Full,
}Expand description
Font programs embedded for glyphs actually drawn in the document.
Variants§
Subset
Embed only used glyphs (and their composite components).
Full
Preserve complete TrueType programs, including unused glyphs and tables. CFF outlines are refused when used. Unused resources remain subsets.
Trait Implementations§
Source§impl Clone for FontEmbedding
impl Clone for FontEmbedding
impl Copy for FontEmbedding
Source§impl Debug for FontEmbedding
impl Debug for FontEmbedding
Source§impl Default for FontEmbedding
impl Default for FontEmbedding
impl Eq for FontEmbedding
Source§impl PartialEq for FontEmbedding
impl PartialEq for FontEmbedding
impl StructuralPartialEq for FontEmbedding
Auto Trait Implementations§
impl Freeze for FontEmbedding
impl RefUnwindSafe for FontEmbedding
impl Send for FontEmbedding
impl Sync for FontEmbedding
impl Unpin for FontEmbedding
impl UnsafeUnpin for FontEmbedding
impl UnwindSafe for FontEmbedding
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