diff --git a/adafruit_bitmap_font/bdf.py b/adafruit_bitmap_font/bdf.py index 9360418..256e239 100644 --- a/adafruit_bitmap_font/bdf.py +++ b/adafruit_bitmap_font/bdf.py @@ -40,11 +40,7 @@ """ import gc - -try: - from displayio import Glyph -except ImportError: - from fontio import Glyph +from fontio import Glyph from .glyph_cache import GlyphCache __version__ = "0.0.0-auto.0" diff --git a/docs/conf.py b/docs/conf.py index 49a7609..f4d67f9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,7 +21,7 @@ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -autodoc_mock_imports = ["displayio"] +autodoc_mock_imports = ["fontio"] intersphinx_mapping = {