pub trait FontRefExt {
// Required methods
fn get_bytes(&self) -> &[u8] ⓘ;
fn get_full_font_metrics(&self) -> FontMetrics;
}Expand description
Extension trait for FontRef to provide access to font bytes and metrics
This trait provides methods that require access to the inner ParsedFont data.
Required Methods§
Sourcefn get_full_font_metrics(&self) -> FontMetrics
fn get_full_font_metrics(&self) -> FontMetrics
Get the full font metrics (PDF-style metrics from HEAD, HHEA, OS/2 tables)