Dynamically Loading Fonts #3120
-
I am currently using Expo's loadAsync to dynamically load fonts on demand. I wanted to integrate these fonts into SKIA since EDIT: Seen this issue here too but it's not really what I'm looking for either. I have also explored the low-level documentation and attempted to do something like this:
Later, I use it as follows:
Nothing loads in case of
Does the library support such behaviour? Is there a different way of properly loading the font dynamically? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Wow that took some digging into the source code but I was finally able to dynamically load the font. Here's my code snippet:
|
Beta Was this translation helpful? Give feedback.
Wow that took some digging into the source code but I was finally able to dynamically load the font. Here's my code snippet: