Trait allsorts::tables::FontTableProvider
source · [−]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
sourcefn table_data(&self, tag: u32) -> Result<Option<Cow<'_, [u8]>>, ParseError>
fn table_data(&self, tag: u32) -> Result<Option<Cow<'_, [u8]>>, ParseError>
Return data for the specified table if present