vizia::vg::resources::helpers

Function load_typeface

pub fn load_typeface(
    provider: &dyn ResourceProvider,
    font_mgr: &RCHandle<SkFontMgr>,
    name: &str,
    url: &str,
) -> Option<RCHandle<SkTypeface>>
Expand description

Load a typeface via the load() function and generate it using a FontMgr instance.