Skip to content

Releases: adafruit/Adafruit_CircuitPython_Display_Text

2.16.1 - Improved Docs

19 Mar 01:16
a71adcd
Compare
Choose a tag to compare

This release contains fixes in the readthedocs pages. Thank you @lesamouraipourpre

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.16.0 - Baseline Anchor Point

14 Mar 02:34
1f3dc11
Compare
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
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.15.4 - Fix for tab characters

10 Mar 02:54
b6c4b1e
Compare
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
Compare
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
Compare
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
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.15.0 - Added the wrap_by_pixels function

25 Feb 19:46
d33018a
Compare
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
Compare
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
Compare
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.