I need to workaround some layout issues by knowing...
# compose-desktop
o
I need to workaround some layout issues by knowing font descent. I think I need to get my hands on Skia’s
Font
instance to get
metrics
. For this I need to get
Typeface
which I can’t find how to do. I’ve explored
FontMgr.getDefault()
,
LocalFontLoader.current as FontLoader
, but if I get to
FontLoader.fonts.findTypefaces(…)
it doesn’t seem to contain fonts loaded via
MaterialTheme.typography
, always returns “Helvetica”. Any ideas?