Struct allsorts_no_std::tables::MaxpVersion1SubTable[][src]

pub struct MaxpVersion1SubTable {
    pub max_points: u16,
    pub max_contours: u16,
    pub max_composite_points: u16,
    pub max_composite_contours: u16,
    pub max_zones: u16,
    pub max_twilight_points: u16,
    pub max_storage: u16,
    pub max_function_defs: u16,
    pub max_instruction_defs: u16,
    pub max_stack_elements: u16,
    pub max_size_of_instructions: u16,
    pub max_component_elements: u16,
    pub max_component_depth: u16,
}

Fields

max_points: u16

Maximum points in a non-composite glyph.

max_contours: u16

Maximum contours in a non-composite glyph.

max_composite_points: u16

Maximum points in a composite glyph.

max_composite_contours: u16

Maximum contours in a composite glyph.

max_zones: u16

1 if instructions do not use the twilight zone (Z0), or 2 if instructions do use Z0; should be set to 2 in most cases.

max_twilight_points: u16

Maximum points used in Z0.

max_storage: u16

Number of Storage Area locations.

max_function_defs: u16

Number of FDEFs, equal to the highest function number + 1.

max_instruction_defs: u16

Number of IDEFs.

max_stack_elements: u16

Maximum stack depth across Font Program (‘fpgm’ table), CVT Program (‘prep’ table) and all glyph instructions (in the ‘glyf’ table).

max_size_of_instructions: u16

Maximum byte count for glyph instructions.

max_component_elements: u16

Maximum number of components referenced at “top level” for any composite glyph.

max_component_depth: u16

Maximum levels of recursion; 1 for simple components.

Trait Implementations

impl Clone for MaxpVersion1SubTable[src]

impl Debug for MaxpVersion1SubTable[src]

impl Hash for MaxpVersion1SubTable[src]

impl PartialEq<MaxpVersion1SubTable> for MaxpVersion1SubTable[src]

impl PartialOrd<MaxpVersion1SubTable> for MaxpVersion1SubTable[src]

impl<'a> ReadBinary<'a> for MaxpVersion1SubTable[src]

type HostType = Self

impl StructuralPartialEq for MaxpVersion1SubTable[src]

impl<'a> WriteBinary<&'_ MaxpVersion1SubTable> for MaxpVersion1SubTable[src]

type Output = ()

The type of the value returned by write.

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<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

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.

impl<T, HostType> WriteBinaryDep<HostType> for T where
    T: WriteBinary<HostType>, 
[src]

type Args = ()

The type of the arguments supplied to write_dep.

type Output = <T as WriteBinary<HostType>>::Output

The type of the value returned by write_dep.