Skip to content

Commit

Permalink
Merge pull request #196 from imnotjames/allow-missing-bitmaptools
Browse files Browse the repository at this point in the history
chore: allow use of bitmap_label without bitmaptools
  • Loading branch information
FoamyGuy authored Nov 1, 2023
2 parents f641e50 + 4e2bbad commit 47539aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adafruit_display_text/bitmap_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git"

import displayio
import bitmaptools
from adafruit_display_text import LabelBase

try:
import bitmaptools
except ImportError:
# We have a slower fallback for bitmaptools
pass

try:
from typing import Optional, Tuple
from fontio import FontProtocol
Expand Down

0 comments on commit 47539aa

Please sign in to comment.