billzh
@billzh
React Native experts: do you set the same font size on both iOS and Android? if not, how do you do it?
6 replies
18 recasts
177 reactions
df
@df
same same welcome back bill
0 reply
2 recasts
20 reactions
Tees World
@teesparty
Yeah same same, I love my fonts small, so it's the same across all my devices
1 reply
0 recast
2 reactions
Jeff Stout
@stout
Usually just roll with the same font size unless there is an issue. Sometimes things can get wonky if device pixel density differs or maybe you want to render text with skia or something. In that case you can use PixelRatio and/or Platform.OS info to conditionally specify your sizes ✨
1 reply
0 recast
2 reactions
Korede
@korede
Closest I’ve come is using PixelRatio.getFontScale()
1 reply
0 recast
1 reaction
Tempe Techie
@tempetechie.eth
I did some react native back in 2020 or 2021, but honestly cannot remember that specific thing. I bet any of the AIs would be able to give you a better answer. If not, you can still check SO or Reddit. Best of luck!
1 reply
0 recast
0 reaction
Pezlow.eth
@pezlow
Welcome back!
1 reply
0 recast
0 reaction