MaxpTable
struct · ferroui-base · v0.5.0
struct MaxpTable
The maxp (maximum profile) table.
Members
versionnum_glyphsmax_pointsmax_contoursmax_composite_pointsmax_composite_contoursmax_zonesmax_twilight_pointsmax_storagemax_function_defsmax_instruction_defsmax_stack_elementsmax_size_of_instructionsmax_component_elementsmax_component_depthTABLE_NAMETAGload
version
version: super::font_version::FontVersion
num_glyphs
num_glyphs: u16
max_points
max_points: u16
max_contours
max_contours: u16
max_composite_points
max_composite_points: u16
max_composite_contours
max_composite_contours: u16
max_zones
max_zones: u16
max_twilight_points
max_twilight_points: u16
max_storage
max_storage: u16
max_function_defs
max_function_defs: u16
max_instruction_defs
max_instruction_defs: u16
max_stack_elements
max_stack_elements: u16
max_size_of_instructions
max_size_of_instructions: u16
max_component_elements
max_component_elements: u16
max_component_depth
max_component_depth: u16
TABLE_NAME
const TABLE_NAME: &'static str
TAG
const TAG: OpenTypeTag
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.