How to get system default font?
Closed this issue · 3 comments
wcandillon commented
Discussed in #1201
Originally posted by KrisLau December 13, 2022
I'm trying to use the Text component but I don't need a custom font so I'd preferably like to use the system default font. Is there a way to do so right now?
I know there is a future plan for adding a default text to the Text component (#930), just wondering if there's a workaround for now?
jayeve commented
Checking in if there's an update here. I want to avoid the download penalty of adding more fonts to the app build size, especially when dealing with multiple languages. Using system font[s] as a backup will be a great improvement
wcandillon commented
We are working on it, see #1503
wcandillon commented
This has been shipped: https://shopify.github.io/react-native-skia/docs/text/fonts#system-fonts