Rename all_font_families to all_font_names
This commit is contained in:
parent
ca4a8b2226
commit
f011953484
4 changed files with 15 additions and 12 deletions
|
@ -192,7 +192,7 @@ pub trait PlatformDispatcher: Send + Sync {
|
|||
|
||||
pub trait PlatformTextSystem: Send + Sync {
|
||||
fn add_fonts(&self, fonts: &[Arc<Vec<u8>>]) -> Result<()>;
|
||||
fn all_font_families(&self) -> Vec<String>;
|
||||
fn all_font_names(&self) -> Vec<String>;
|
||||
fn font_id(&self, descriptor: &Font) -> Result<FontId>;
|
||||
fn font_metrics(&self, font_id: FontId) -> FontMetrics;
|
||||
fn typographic_bounds(&self, font_id: FontId, glyph_id: GlyphId) -> Result<Bounds<f32>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue