Custom Font Extra Padding Issue #20642
Copy link
Copy link
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
I am using a custom font (Cairo) for both Android & IOS, the font rendered with an extra padding for both platforms like the following
When I tried to set lineHeight=[fontSize] I got the following
I tried to set lineGap=0 following this article: Consistent font line height rendering but I find that it's already ZERO
Also tried the paddingTop solution but it's not working at all just shift the text down with the bottom space like the above images
Hope anyone can help :)
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.


Activity
react-native-bot commentedon Aug 12, 2018
We are automatically closing this issue because it does not appear to follow any of the provided issue templates.
Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.
If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.