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 encoding: Resource<Encoding<'a>>,
pub char_procs: Dict<ObjRef>,
pub widths: &'a [u32],
}Expand description
A type 3 font resource
Fields§
§name: Option<PdfName<'a>>The name of the object
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
encoding: Resource<Encoding<'a>>Dict of encoding value to char names
char_procs: Dict<ObjRef>Dict of char names to drawing procedures
widths: &'a [u32]Width of every char between first and last
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