From 5583c493ce885ba06f5afd308abefd4b1c806869 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 11 Dec 2019 12:17:58 -0800 Subject: [PATCH] Add capital M note Fixes #23 --- adafruit_display_text/label.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adafruit_display_text/label.py b/adafruit_display_text/label.py index 1c2838a..e2e7041 100644 --- a/adafruit_display_text/label.py +++ b/adafruit_display_text/label.py @@ -50,7 +50,8 @@ class Label(displayio.Group): glyph (if its one line), or the (number of lines * linespacing + M)/2. That is, it will try to have it be center-left as close as possible. - :param Font font: A font class that has ``get_bounding_box`` and ``get_glyph`` + :param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``. + Must include a capital M for measuring character size. :param str text: Text to display :param int max_glyphs: The largest quantity of glyphs we will display :param int color: Color of all text in RGB hex