pub trait FontTableProvider {
    fn table_data(&self, tag: u32) -> Result<Option<Cow<'_, [u8]>>, ParseError>;
    fn has_table(&self, tag: u32) -> bool;

    fn read_table_data(&self, tag: u32) -> Result<Cow<'_, [u8]>, ParseError> { ... }
}

Required Methods

Return data for the specified table if present

Provided Methods

Implementations on Foreign Types

Implementors