Struct mupdf_sys::pdf_font_desc[][src]

#[repr(C)]pub struct pdf_font_desc {
    pub storable: fz_storable,
    pub size: usize,
    pub font: *mut fz_font,
    pub flags: c_int,
    pub italic_angle: f32,
    pub ascent: f32,
    pub descent: f32,
    pub cap_height: f32,
    pub x_height: f32,
    pub missing_width: f32,
    pub encoding: *mut pdf_cmap,
    pub to_ttf_cmap: *mut pdf_cmap,
    pub cid_to_gid_len: usize,
    pub cid_to_gid: *mut c_ushort,
    pub to_unicode: *mut pdf_cmap,
    pub cid_to_ucs_len: usize,
    pub cid_to_ucs: *mut c_ushort,
    pub wmode: c_int,
    pub hmtx_len: c_int,
    pub hmtx_cap: c_int,
    pub dhmtx: pdf_hmtx,
    pub hmtx: *mut pdf_hmtx,
    pub vmtx_len: c_int,
    pub vmtx_cap: c_int,
    pub dvmtx: pdf_vmtx,
    pub vmtx: *mut pdf_vmtx,
    pub is_embedded: c_int,
}

Fields

storable: fz_storablesize: usizefont: *mut fz_fontflags: c_intitalic_angle: f32ascent: f32descent: f32cap_height: f32x_height: f32missing_width: f32encoding: *mut pdf_cmapto_ttf_cmap: *mut pdf_cmapcid_to_gid_len: usizecid_to_gid: *mut c_ushortto_unicode: *mut pdf_cmapcid_to_ucs_len: usizecid_to_ucs: *mut c_ushortwmode: c_inthmtx_len: c_inthmtx_cap: c_intdhmtx: pdf_hmtxhmtx: *mut pdf_hmtxvmtx_len: c_intvmtx_cap: c_intdvmtx: pdf_vmtxvmtx: *mut pdf_vmtxis_embedded: c_int

Trait Implementations

impl Clone for pdf_font_desc[src]

impl Copy for pdf_font_desc[src]

impl Debug for pdf_font_desc[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.