I'm trying to use text auto size api to scale text...
# compose-android
r
I'm trying to use text auto size api to scale text in the TopAppBar only if there is room. I noticed that if the font is scaled down, it's line height is not auto sized. Is that a bug or by design. Because it's causing issues where the text when scaled down has an excessive line height
image.png
Untitled.kt
In the screenshot above 180%-200% should be closer to 150% and use two lines instead of being a single line with the font size of 100%
maybe it's not a line height issue? If I draw a red background for the text it looks like this.