What is Jetpack Compose's replacement for `android:includeFontPadding="false"`? Can't seem to find i...
o
What is Jetpack Compose's replacement for
android:includeFontPadding="false"
? Can't seem to find it.
r
@Siyamed was just discussing this with someone at work recently
Itโ€™s not available yet
โž• 1
s
There is a public ticket about it as well
o
@Siyamed do you have the link to the ticket? It kinda screws up the UI with fonts that have huge prebuilt padding
r
o
Priority P4๐Ÿ˜ต
Maybe offtopic, but do you guys know if there is a tool to strip the font padding from .ttf files? As a workaround
s
The priority of that ine specifically might change since i heard about it a lot in the last few weeks
Having said that even though i wish we finished all few hundred tickets today, there is the reality :)
c
Ooh. I think like almost a year ago I mentioned that there's like 5 things I really hate about android dev, and font padding and centering font inside a circular view, stuff like that is REALLY easy for a designer seemingly to get right, but it was always so hard with the view system. Big โญ to whatever ticket encompasses that sort of thing. ๐Ÿ˜„
s
:) as far as i understand you dont like exposing font padding and making things more complicated?
c
I don't even know anymore. I know text is INSANELY difficult, but the designs I get from designers always has everything spaced so nicely with text. And then I try to built it in android view land and everything is slightly off.
s
:) you are right. Actually that is one of the areas we want to improve (from design to runtime) for typography. The work we have done is that sentence only: 'we want' :) but still.
๐Ÿ‘ 1
c
Glad to know I'm not alone. Thanks @Siyamed
๐Ÿ‘ 2
a
fwiw, the android team tends to use P4 as a default priority for issues that means, "untriaged," not as, "this can wait until after the heat death of the universe" ๐Ÿ™‚
r
Yes please donโ€™t read too much into priorities (they have very specific meanings for us and donโ€™t mean that much without knowing about all the other bugs filed and how we triage/process them anyway ๐Ÿ™‚
๐Ÿ‘ 2