Skip to content

Releases: adafruit/Adafruit_CircuitPython_Display_Text

Glyph check

18 Jun 19:27
cb5e370
Compare
Choose a tag to compare
  • Add a check for NoneType glyphs used in computing bounding box.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.

2.7.0 - Better background color handling, beter group full handling

08 Jun 17:37
1f2bf53
Compare
Choose a tag to compare

This release includes:

  • Better background color handling for label. It will now create a background over the entire string, not each character individually. See #49 for more information.
  • Better handling when the group full exception is raised. See #48 for more information.

Special thanks to @kmatch98 and @FoamyGuy for their amazing PRs

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.

Fix error from text not set in constructor and account for trailing spaces in bounding_box

30 May 18:05
463fc68
Compare
Choose a tag to compare

This release includes:

  • Fix an exception raised when the text was not set in the constructor and tried to be set from the .text property.
  • Fix the bounding_box to account for trailing whitespace.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.

Fix font property and anchored position measurement error

27 May 23:30
e191c8a
Compare
Choose a tag to compare

This release includes:

  • fix for the font getter and setter
  • fix for the anchored_position measurement it was off about 10 pixels previously

This update will slightly change the position of existing labels that are using anchored_position The example has been updated accordingly

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.

2.5.1 - Added Black check, reran Black with Python 3 target.

10 Apr 16:40
25c5a1a
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.

2.5.0 - Upgrade to latest Pylint, implement Black formatting

20 Mar 14:50
Compare
Choose a tag to compare

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.

  • Remove pinned Pylint version number from build.yml file
  • Synced .pylintrc file to match Adafruit standard
  • Ran upgraded Pylint and applied any changes or new disables necessary
  • Ran Black formatter and allowed application of changes across entire repo

For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.

Added background color feature

18 Feb 16:59
b506a0a
Compare
Choose a tag to compare

This release includes a new background_color feature. Thanks @FoamyGuy.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.

2.3.2 - Fix x and y assignment

15 Feb 03:27
3fa0b2c
Compare
Choose a tag to compare

Fixes issue where a label.x and label.y would be automatically set to zero.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.

Fixed issue where label will not display if False

03 Feb 02:22
d84df43
Compare
Choose a tag to compare

Fixes issue where label will not display when label data evaluates to False.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.

label.text strings

02 Feb 17:34
36e199a
Compare
Choose a tag to compare
  • label.text now automatically converts to a string.

This allows, for example, providing float data like acceleration without needing to convert to string in the code.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-display-text.

Read the docs for info on how to use it.