Skip to content

Releases: adafruit/Adafruit_CircuitPython_Display_Text

2.16.0 - Baseline Anchor Point

14 Mar 02:34
1f3dc11

Choose a tag to compare

This version allows you to use my_text.baseline as the y value in the anchor_point to set the anchored_position relative to the baseline. Helpful for lining up fonts of different sizes to look nicely next to each other.

Also included in this version is a new example font file, a small update to one example to use it. Lastly the library code now includes type hints.

Thank you to @jposada202020 for these contributions.

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.5 - Fix for background_color setter

11 Mar 23:10
5934db7

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.15.4 - Fix for tab characters

10 Mar 02:54
b6c4b1e

Choose a tag to compare

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

10 Mar 00:34
815354d

Choose a tag to compare

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

09 Mar 23:45
11ee4d0

Choose a tag to compare

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

03 Mar 00:04

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.15.0 - Added the wrap_by_pixels function

25 Feb 19:46
d33018a

Choose a tag to compare

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

20 Feb 02:37
89562e3

Choose a tag to compare

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

19 Feb 13:40
895c06d

Choose a tag to compare

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

13 Feb 12:40
913c82e

Choose a tag to compare

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.