Skip to content

Conversation

@kmatch98
Copy link
Contributor

@kmatch98 kmatch98 commented Jul 9, 2020

This update ensures that glyph.width and glyph.height are > 0. For some BDF font files, the spaces can be generated as zero-width. This change will ensure that no tileGrid is created for zero-width glyphs.

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and it works. Thanks!

@makermelissa makermelissa merged commit 48f2fb0 into adafruit:master Jul 9, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 9, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 2.7.8 from 2.7.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#64 from kmatch98/bitmap_zero
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#59 from kmatch98/bitmap_zero
  > Fixed discord invite link
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.

2 participants