Open colinmarc opened 9 months ago
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
https://github.com/servo/font-kit/pull/234 has updated core-text to the latest.
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.