[][src]Trait polyhorn_ui::queries::FontQuery

pub trait FontQuery {
    pub fn post_script_name(&self) -> &'static str;
}

Implemented by all font-like types (including FontAsset).

Required methods

pub fn post_script_name(&self) -> &'static str[src]

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(...).

Loading content...

Implementors

Loading content...