[][src]Struct pdf_create::low::Type3Font

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],
}

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: u8

The first used char key

last_char: u8

The 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> 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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.