Skip to content
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

A solution for issue #151 #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tankkupper
Copy link

@Tankkupper Tankkupper commented May 22, 2022

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