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

Fix text extents not reflecting line height #642

Merged
merged 3 commits into from
Aug 2, 2020
Merged

Conversation

ryanisaacg
Copy link
Owner

Having failed to reproduce the font failing to show up on screen in #607, I think the bug is this one-line fix. The extents didn't take into account the last line of text, so it would report 0 height for a single line.

Resolves #607
Resolves #633

Checks

  • I have updated CHANGES.md, with [BREAKING] next to all breaking changes
  • I have updated the documentation if necessary
  • If 01_square example was changed, src/lib.rs and README.md were updated

@ryanisaacg ryanisaacg marked this pull request as ready for review August 2, 2020 15:08
@ryanisaacg ryanisaacg merged commit 48e9474 into master Aug 2, 2020
@ryanisaacg ryanisaacg deleted the fix-text-extents branch August 2, 2020 15:08
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.

Text extents says y size is 0 Font rendering fails to draw characters on screen
1 participant