Is there a way to use fonts from shared code witho...
# compose-ios
r
Is there a way to use fonts from shared code without any external library?
­čĹŹ 1
d
Yes, absolutely. Each platform has its own Data Resource + Font loading API's. Then there is
expect
/
actual
. We have this in our own code.
r
@darkmoon_uk Does this mean that I'll have to duplicate font resources across source sets? I assume there should be a way to reuse font files on all platforms
d
Each target has is resource folder set represented in Gradle. You can add the same folder to these, in effect a common resource folder.