pub fn system_font_file(
directory: &Path,
family: &FontFamily,
weight: FontWeight,
) -> Option<PathBuf>Expand description
The file a platform backs family with at weight, if one is present.
Weight-specific static files win when the build ships them; otherwise the
family’s regular file is returned and instanced on its wght axis at
registration.