FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaxpTable

    struct · ferroui-base · v0.5.0

    struct MaxpTable
    

    The maxp (maximum profile) table.

    View source

    Members

    version

    version: super::font_version::FontVersion
    

    Source

    num_glyphs

    num_glyphs: u16
    

    Source

    max_points

    max_points: u16
    

    Source

    max_contours

    max_contours: u16
    

    Source

    max_composite_points

    max_composite_points: u16
    

    Source

    max_composite_contours

    max_composite_contours: u16
    

    Source

    max_zones

    max_zones: u16
    

    Source

    max_twilight_points

    max_twilight_points: u16
    

    Source

    max_storage

    max_storage: u16
    

    Source

    max_function_defs

    max_function_defs: u16
    

    Source

    max_instruction_defs

    max_instruction_defs: u16
    

    Source

    max_stack_elements

    max_stack_elements: u16
    

    Source

    max_size_of_instructions

    max_size_of_instructions: u16
    

    Source

    max_component_elements

    max_component_elements: u16
    

    Source

    max_component_depth

    max_component_depth: u16
    

    Source

    TABLE_NAME

    const TABLE_NAME: &'static str
    

    Source

    TAG

    const TAG: OpenTypeTag
    

    Source

    load

    fn load(font: &dyn IFontMemory) -> Result<MaxpTable, FontTableError>
    

    Loads the table.

    Err when the font has no maxp table or the table is too short.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.