Hello, I'm trying to load TTF for compose multi-platform (desktop), I checked this
doc:
• added
org.jetbrains.compose.components:components-resourcesadded
to
commonMain
,
• added the font files in
commonMain/composeResources/font
but I can't resolve the
Res
class from my code in
desktopMain
.
I'm using compose 1.9.0, the module has
org.jetbrains.kotlin.plugin.compose
and
org.jetbrains.kotlin.multiplatform
applied. Anything I missed?