https://kotlinlang.org logo
s

Stephan Schuster

04/13/2022, 10:16 AM
Is there a way to create/load
androidx.compose.ui.text.font.FontFamily
from a font family defined in XML?
1
c

Chris Sinco [G]

04/13/2022, 7:56 PM
cc @Sean McQuillan [G]
s

Sean McQuillan [G]

05/03/2022, 4:19 PM
There is not, as they behave differently so there isn't a clear mapping
You can declare and load fonts in XML, but there is not support for FontFamily. @Stephan Schuster I'd be interested to learn the use case that you're trying to accomplish
4 Views