Skip to content

[Android]Font Rendering in React native #889

Open
@bhavikat6

Description

@bhavikat6

I have one cursive font. This font is visible outside of my TextInput and also outside of the text component in React native IOS but in Android, if the letter is curved on the left it is cropped from the left whether its TextInput or Text
I tried adding padding butthe font itself is cropping but it is only Android Can someone please help me

<TextInput textBreakStrategy="simple" style={[ { fontFamily: CUSTOM_FONT, textAlign: 'left', fontSize: 16, color: 'black', height: 50, width: 100, lineHeight: 25, textAlignVertical: 'top', includeFontPadding: false, padding: 0, } ]}
This is in Android
Image

Image

In IOS

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions