Replies: 1 comment
-
To add to this issue, using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The fonts packaged as assets in my RN app (
assets/fonts/[font].ttf
) show up as system fonts on iOS when listed withlistFontFamilies()
, and I am able to use them in the Paragraph API directly without passing a custom font manager. On Android however, they don't show up, and a call tolistFontFamilies()
just lists a couple of basic Android fonts.What is the reason for that discrepancy? Is there any way to make the bundled fonts show as system fonts as well, similar to the behaviour on iOS? I know you can create a custom font manager (
useFonts
), however, as I have >500 fonts that need to be loaded, doingrequire('...')
on all of them takes a very long time, and sometimes crashes the app on lower-end Android devices. On iOS this is not an issue, as they are usable without loading them into a custom font manager.Beta Was this translation helpful? Give feedback.
All reactions