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

Orhan Tozan

03/02/2021, 5:01 PM
What is Jetpack Compose's replacement for
android:includeFontPadding="false"
? Can't seem to find it.
r

romainguy

03/02/2021, 5:09 PM
@Siyamed was just discussing this with someone at work recently
It’s not available yet
1
s

Siyamed

03/02/2021, 5:56 PM
There is a public ticket about it as well
o

Orhan Tozan

03/02/2021, 7:24 PM
@Siyamed do you have the link to the ticket? It kinda screws up the UI with fonts that have huge prebuilt padding
r

Rahul Sainani

03/02/2021, 7:33 PM
o

Orhan Tozan

03/02/2021, 8:21 PM
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

Siyamed

03/02/2021, 8:43 PM
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

Colton Idle

03/02/2021, 10:12 PM
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

Siyamed

03/02/2021, 10:14 PM
:) as far as i understand you dont like exposing font padding and making things more complicated?
c

Colton Idle

03/02/2021, 10:16 PM
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

Siyamed

03/02/2021, 10:17 PM
:) 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

Colton Idle

03/02/2021, 10:24 PM
Glad to know I'm not alone. Thanks @Siyamed
👍 2
a

Adam Powell

03/03/2021, 1:20 AM
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

romainguy

03/03/2021, 1:53 AM
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
5 Views