-
Notifications
You must be signed in to change notification settings - Fork 24.2k
-
Notifications
You must be signed in to change notification settings - Fork 24.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Font Extra Padding Issue #20642
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Comments
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. |
react-native-bot
added
Ran Commands
One of our bots successfully processed a command.
📋No Template
labels
Aug 12, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
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 :)
The text was updated successfully, but these errors were encountered: