Changelogs » Adafruit-circuitpython-display-text

PyUp Safety actively tracks 308,767 Python packages for vulnerabilities and notifies you when to upgrade.

Adafruit-circuitpython-display-text

2.18.4

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.18.3

This release includes a comprehensive new advanced example script that shows
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.18.2

This version will raise an error if incorrect arguments are used.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.18.1

This release contains a fix in the docs to link all of the example scripts.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.18.0

This release contains a new `label_direction` feature for `bitmap_label` to allow it to be rotated into different orientations. See the docs for details. Thank you to jposada202020 for this enhancement.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.17.0

This release contains a new `label_direction` feature for `label` to allow it to be rotated into different orientations. See the docs for details.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.16.1

This release contains fixes in the readthedocs pages. Thank you lesamouraipourpre
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.16.0

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.5

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.4

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.3

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.2

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.1

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.15.0

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.14.0

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.13.0

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.12.4

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.12.3

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.12.2

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.12.1

The docstring comments have been updated. Thank you jposada202020!
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.12.0

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.11.2

This release contains fixes for bitmap_label using anchor_point and anchored_position as arguments in the constructor.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.11.1

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.11.0

This release updates label to make use of the new Ascent and Descent properties feature in the bitmap_font.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.10.1

Fixes and improvements to the text wrapping function. Thank you makermelissa
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.10.0

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.9.5

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.9.4

Thank you kmatch98 for this fix.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

2.9.3

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display-text`.
  
  Read the [docs](https://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.

1.12.3

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](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-display_text`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/display_text/en/latest/) for info on how to use it.