pub struct Type3PdfFont {
pub char_procs: HashMap<u8, Vec<u8>>,
pub resources: PdfDict,
pub widths: [f64; 256],
pub font_matrix: Matrix,
pub font_bbox: [f64; 4],
}Expand description
Type 3 font: glyphs defined as content streams (CharProcs).
Fields§
§char_procs: HashMap<u8, Vec<u8>>Char code → decoded content stream bytes for the glyph.
resources: PdfDictChar code → resources dict for the glyph stream (from font dict).
widths: [f64; 256]§font_matrix: Matrix§font_bbox: [f64; 4]Auto Trait Implementations§
impl Freeze for Type3PdfFont
impl RefUnwindSafe for Type3PdfFont
impl Send for Type3PdfFont
impl Sync for Type3PdfFont
impl Unpin for Type3PdfFont
impl UnsafeUnpin for Type3PdfFont
impl UnwindSafe for Type3PdfFont
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more