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

Negative lineSpacing shouldn't crop text #2379

Closed
wants to merge 1 commit into from
Closed

Negative lineSpacing shouldn't crop text #2379

wants to merge 1 commit into from

Conversation

gaelen
Copy link

@gaelen gaelen commented Mar 7, 2016

2.4.6 introduced a change to the way line height is calculated. This caused negative lineSpacing to have cropped text. I added a conditional to handle negative line spacing while still honoring the new calculation for positive lineSpacing. I reported the issue as #2374.

Example of bug:
43783efe-e16b-11e5-9d59-afa492a26488

Example code:
cropped-text.zip

2.4.6 introduced a change to the way line height
is calculated. This caused negative lineSpacing
to have cropped text. I added a conditional to
handle negative line spacing while still honoring
the new calculation for positive lineSpacing.
photonstorm added a commit that referenced this pull request Apr 4, 2016
@photonstorm
Copy link
Collaborator

I couldn't merge your PR because of conflicts, but have added your change locally, thanks.

@photonstorm photonstorm closed this Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants