Hi folks, I'm writing a project that I download dynamically a font family and store at the device, there is anyway in Compose right now to generate a Font Family from this downloaded Files (Not resource ones) ?
l
Leland Richardson [G]
05/20/2020, 7:40 PM
cc @Siyamed do you know?
s
Siyamed
06/01/2020, 5:37 PM
unfortunately we dont have it yet. I know I have been saying “yet” a lot
Siyamed
06/01/2020, 5:38 PM
we had a ticket to load the font from the file system instead of resources,. I ’d say it is planned in a closer future.
s
SrSouza
08/26/2020, 5:26 PM
Hi @Siyamed any updates in this?
s
Siyamed
08/26/2020, 5:27 PM
no updates 😕 still pending
s
SrSouza
08/26/2020, 5:33 PM
My idea here is to build a similar project to google-fonts-flutter for Compose by using Kotlin Poet to generate the fonts typed code.
I guess without loading from file system, currently is not possible, right @Siyamed?