Skip to content

A solution for issue #151#186

Open
Tankkupper wants to merge 1 commit into
SubhamTyagi:masterfrom
Tankkupper:master
Open

A solution for issue #151#186
Tankkupper wants to merge 1 commit into
SubhamTyagi:masterfrom
Tankkupper:master

Conversation

@Tankkupper

@Tankkupper Tankkupper commented May 22, 2022

Copy link
Copy Markdown

A solution for issue #151
When the font is italic, the font of an app may not be fully displayed. I found that I could solve this problem by increasing the width of each view. I added two items. You can then adjust the width of the view.
The Main code is: view.setWidth((int)(child.getMeasuredWidth()*(1+letterSpacingRate)));
The specific performance effects are as follows:
When changing the font to be italic:
a
After we add apps spacing:
b
c

Users can add apps spacing by themselves to avoid this condition now!~~

addition:
The test font is Alegreya-Italic.ttf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants