Function core_text::font::new_from_name_and_options
source · pub fn new_from_name_and_options(
name: &str,
pt_size: f64,
options: CTFontOptions
) -> Result<CTFont, ()>
pub fn new_from_name_and_options(
name: &str,
pt_size: f64,
options: CTFontOptions
) -> Result<CTFont, ()>