Handling of fonts, what are best practices? Is it ...
# multiplatform
j
Handling of fonts, what are best practices? Is it placing them in
commonMain/composeResources/font/
? What about the cert file, such as https://github.com/irccloud/android/blob/master/res/values/font_certs.xml ? Placing it under values gives me the following error
convertXmlValueResourcesForCommonMain task was failed:
java.lang.IllegalStateException: XML file /Users/me/test-kmp/shared/src/commonMain/composeResources/values/font_certs.xml is not valid. Unknown resource type: 'array'.
It seems the
GoogleFont.Provider
only is available for android https://developer.android.com/develop/ui/compose/text/fonts