https://kotlinlang.org logo
#compose
Title
# compose
t

Tolriq

06/02/2022, 8:28 AM
Is there a way to use the system default font in Compose? Seems Samsung users loves to change their font.
1
c

Colton Idle

06/02/2022, 9:15 AM
Not really an answer to your question... but I guess since downloadable fonts are a thing you can just say to use Roboto and call it a day. Seems like if a user specified a new system font then it makes sense that all apps would use it as well without a way to opt out (unless you explicitly target another font)
t

Tolriq

06/02/2022, 9:19 AM
It's the opposite actually 🙂 The user want the app to use system font but it does force Roboto when using m2 / m3 themes. But just checked again and it seems I can pass null as the familly maybe that will take system one.
c

Colton Idle

06/02/2022, 1:19 PM
Oh gotcha.
7 Views