Is there already any way of custom fonts eg. ttf o...
# compose
b
Is there already any way of custom fonts eg. ttf or otf inside compose? I only found
fontStyle
and
fontFamily
but can I set a specific font for a fontFamily..?
s
The Jetnews sample has a reference to
ttf
files which are stored in the
/res/font
folder: https://github.com/android/compose-samples/blob/master/JetNews/app/src/main/java/com/example/jetnews/ui/Typography.kt
👍🏻 1
b
Thanks, I don’t know, how I missed that. 🎉
s
No problem 🚀