Skip to content

Commit 672ce3d

Browse files
authored
Merge pull request #47 from lesamouraipourpre/remove-max-glyphs
Remove usage of max_glyphs with Label
2 parents 7449f56 + d2af62f commit 672ce3d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_pybadger/pybadger_base.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ def badge_line(
302302
if isinstance(font, str):
303303
font = load_font(font, text)
304304

305-
text_label = self._label.Label(
306-
font=font, text=text, max_glyphs=45, color=color, scale=scale
307-
)
305+
text_label = self._label.Label(font=font, text=text, color=color, scale=scale)
308306
self._lines.append(text_label)
309307

310308
_, _, width, height = text_label.bounding_box

0 commit comments

Comments
 (0)