We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Webkit, I can use the system-ui family to grab, for example, the San Francisco font on mac.
system-ui
San Francisco
Is there a way to do that with this library? It would be nice to match the font to the OS, when available.
I tried the following:
select_best_match( &[font_kit::family_name::FamilyName::Title( "system-ui".to_string(), )], &font_kit::properties::Properties::new(), )
But no dice.
The text was updated successfully, but these errors were encountered:
Looks like on mac, this is available in a newer version of core-text than is currently pinned by this library:
https://github.com/servo/core-foundation-rs/blob/master/core-text/src/font.rs#L240
Sorry, something went wrong.
#234 has updated core-text to the latest.
No branches or pull requests
In Webkit, I can use the
system-ui
family to grab, for example, theSan Francisco
font on mac.Is there a way to do that with this library? It would be nice to match the font to the OS, when available.
I tried the following:
But no dice.
The text was updated successfully, but these errors were encountered: