pub struct RawFaceTables<'a> {
Show 35 fields pub head: &'a [u8], pub hhea: &'a [u8], pub maxp: &'a [u8], pub cbdt: Option<&'a [u8]>, pub cblc: Option<&'a [u8]>, pub cff: Option<&'a [u8]>, pub cmap: Option<&'a [u8]>, pub glyf: Option<&'a [u8]>, pub hmtx: Option<&'a [u8]>, pub kern: Option<&'a [u8]>, pub loca: Option<&'a [u8]>, pub name: Option<&'a [u8]>, pub os2: Option<&'a [u8]>, pub post: Option<&'a [u8]>, pub sbix: Option<&'a [u8]>, pub svg: Option<&'a [u8]>, pub vhea: Option<&'a [u8]>, pub vmtx: Option<&'a [u8]>, pub vorg: Option<&'a [u8]>, pub gdef: Option<&'a [u8]>, pub gpos: Option<&'a [u8]>, pub gsub: Option<&'a [u8]>, pub math: Option<&'a [u8]>, pub ankr: Option<&'a [u8]>, pub feat: Option<&'a [u8]>, pub kerx: Option<&'a [u8]>, pub morx: Option<&'a [u8]>, pub trak: Option<&'a [u8]>, pub avar: Option<&'a [u8]>, pub cff2: Option<&'a [u8]>, pub fvar: Option<&'a [u8]>, pub gvar: Option<&'a [u8]>, pub hvar: Option<&'a [u8]>, pub mvar: Option<&'a [u8]>, pub vvar: Option<&'a [u8]>,
}
Expand description

A list of all supported tables as raw data.

This type should be used in tandem with Face::from_raw_tables().

This allows loading font faces not only from TrueType font files, but from any source. Mainly used for parsing WOFF.

Fields

head: &'a [u8]hhea: &'a [u8]maxp: &'a [u8]cbdt: Option<&'a [u8]>cblc: Option<&'a [u8]>cff: Option<&'a [u8]>cmap: Option<&'a [u8]>glyf: Option<&'a [u8]>hmtx: Option<&'a [u8]>kern: Option<&'a [u8]>loca: Option<&'a [u8]>name: Option<&'a [u8]>os2: Option<&'a [u8]>post: Option<&'a [u8]>sbix: Option<&'a [u8]>svg: Option<&'a [u8]>vhea: Option<&'a [u8]>vmtx: Option<&'a [u8]>vorg: Option<&'a [u8]>gdef: Option<&'a [u8]>gpos: Option<&'a [u8]>gsub: Option<&'a [u8]>math: Option<&'a [u8]>ankr: Option<&'a [u8]>feat: Option<&'a [u8]>kerx: Option<&'a [u8]>morx: Option<&'a [u8]>trak: Option<&'a [u8]>avar: Option<&'a [u8]>cff2: Option<&'a [u8]>fvar: Option<&'a [u8]>gvar: Option<&'a [u8]>hvar: Option<&'a [u8]>mvar: Option<&'a [u8]>vvar: Option<&'a [u8]>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.