CmapTable
struct · ferroui-base · v0.5.0
struct CmapTable
The cmap (character to glyph index mapping) table loader.
Members
TABLE_NAME
const TABLE_NAME: &'static str
TAG
const TAG: OpenTypeTag
load
fn load(font: &dyn IFontMemory) -> Result<CharacterToGlyphMap, FontTableError>
Loads the best character map of the font.
Err when the font has no cmap table, the table is malformed or it
has no format 12, 4 or 13 subtable.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.