Function fontfinder::dirs::get_font_path

source ·
pub fn get_font_path(
    base: &Path,
    family: &str,
    variant: &str,
    uri: &str
) -> PathBuf
Expand description

Obtains the complete path of a given font variant.

The path is constructed based on the name of the family, the variant to write, and the extension of the file that will be obtained from the URI.