pub struct Type3Font<'a> {
pub name: Option<PdfName<'a>>,
pub font_bbox: Rectangle<i32>,
pub font_matrix: Matrix<f32>,
pub first_char: u8,
pub last_char: u8,
pub char_procs: Dict<CharProc<'a>>,
pub encoding: Encoding<'a>,
pub widths: Vec<u32>,
pub to_unicode: (),
}Expand description
A type 3 font
Fields§
§name: Option<PdfName<'a>>The name of the font
font_bbox: Rectangle<i32>The largest boundig box that fits all glyphs
font_matrix: Matrix<f32>The matrix to map glyph space into text space
first_char: u8The first used char key
last_char: u8The last used char key
char_procs: Dict<CharProc<'a>>Dict of char names to drawing procedures
encoding: Encoding<'a>Dict of encoding value to char names
widths: Vec<u32>Width of every char between first and last
to_unicode: ()TODO
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Type3Font<'a>
impl<'a> RefUnwindSafe for Type3Font<'a>
impl<'a> Send for Type3Font<'a>
impl<'a> Sync for Type3Font<'a>
impl<'a> Unpin for Type3Font<'a>
impl<'a> UnwindSafe for Type3Font<'a>
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