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.
2 parents 49f2818 + 5a0dae6 commit b3356ebCopy full SHA for b3356eb
adafruit_bitmap_font/bdf.py
@@ -92,6 +92,10 @@ def load_glyphs(self, code_points):
92
if isinstance(code_points, int):
93
remaining = set()
94
remaining.add(code_points)
95
+ elif isinstance(code_points, str):
96
+ remaining = set(ord(c) for c in code_points)
97
+ elif isinstance(code_points, set):
98
+ remaining = code_points
99
else:
100
remaining = set(code_points)
101
for code_point in remaining:
0 commit comments