We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d11d61 commit 0c5c2d5Copy full SHA for 0c5c2d5
adafruit_bitmap_font/lvfontbin.py
@@ -34,6 +34,10 @@
34
35
from .glyph_cache import GlyphCache
36
37
+# The LVGL file starts with the size of the 'head' section. It hasn't changed in five years so
38
+# we can treat it like a magic number.
39
+LVGL_HEADER_SIZE = b"\x30\x00\x00\x00"
40
+
41
42
class LVGLFont(GlyphCache):
43
"""Loads glyphs from a LVGL binary font file in the given bitmap_class.
0 commit comments