Hi Folks. I have question How I could extract glyp...
# compose
d
Hi Folks. I have question How I could extract glyphs paths as compose paths from fonts using jetbrains skia or even compose . Or its impossible ? I try this but typface is null while font data is loaded
Copy code
val provider = TypefaceFontProviderWithFallback()

val data = Data.makeFromBytes(Res.readBytes("font/cairomedium.ttf"))

val typeface = provider.makeFromData(data)
k
Copy code
FontMgr.default.makeFromFile("src/main/resources/fonts/InterVariable.ttf")
1
This should give you the typeface
d
Thank you