Skip to content

Custom Font Extra Padding Issue #20642

Closed
Closed
@ayehia

Description

@ayehia

I am using a custom font (Cairo) for both Android & IOS, the font rendered with an extra padding for both platforms like the following

image

When I tried to set lineHeight=[fontSize] I got the following

image

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

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions