Releases: adafruit/Adafruit_CircuitPython_Display_Text
2.15.4 - Fix for tab characters
This release includes a fix for \t
characters. Previously they were ignored entirely. Now they are replaced by 4 spaces by default. A new parameter tab_replacement
can be used to change the behavior to use other characters if you need. Thank you @jposada202020!
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.15.3 - BitmapLabel fix for some fonts
This release includes a fix for BitmapLabel that gracefully handles fonts where glyphs exceed the ascent size property of the font.
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.15.2 - Internal Refactor
This release includes an internal refactor to avoid code duplication. Behavior of both labels is unchanged.
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.15.1 - Moved pylint from build.yml to .pre-commit-config.yml
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.15.0 - Added the wrap_by_pixels function
Added a new function, wrap_by_pixels()
that allows you to set the text to wrap at a certain number of pixels.
Thanks for the PR @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.14.0 - base_alignment argument for bitmap_label
The new constructor argument base_alignment
has been added to bitmap_label. Setting to True
will result in the label getting aligned by it's baseline. Helpful if you are trying to line up different sized fonts along the same baseline. Thank you @jposada202020 for this great new feature!
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.13.0 - New Feature base_alignment
The new constructor argument base_alignment
has been added to label. Setting to True
will result in the label getting aligned by it's baseline. Helpful if you are trying to line up different sized fonts along the same baseline. Thank you @jposada202020 for this great new feature!
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.12.4 - Scale fix for Blinka_Displayio
This version resolves an issue that led to inconsistent scaling between Blinka_Displayio and core displayio. In previous versions text was scaled extra on Blinka_Displayio. In this release the scale matches across both platforms.
Previously released under wrong tag number. New release bumps the version of the tag to fix PyPi, and fixed a few small typos in comments.
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.12.3 - Scale fix for Blinka_Displayio
This version resolves an issue that led to inconsistent scaling between Blinka_Displayio and core displayio. In previous versions text was scaled extra on Blinka_Displayio. In this release the scale matches across both platforms.
Previously released under wrong tag number. New release bumps the version to the correct value, no other changes.
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.
1.12.3 - Scale fix for Blinka_Displayio
This version resolves an issue that led to inconsistent scaling between Blinka_Displayio and core displayio. In previous versions text was scaled extra on Blinka_Displayio. In this release the scale matches across both platforms.
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.