pub trait FontQuery {
// Required method
fn post_script_name(&self) -> &'static str;
}Expand description
Implemented by all font-like types (including FontAsset).
Required Methods§
Sourcefn post_script_name(&self) -> &'static str
fn post_script_name(&self) -> &'static str
Returns the PostScript name of this font. This is the name that should
be used when assigning the font to a text style using
FontFamily::Named(...).