aboutsummaryrefslogtreecommitdiff
path: root/host/matelight/font.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/matelight/font.py')
-rw-r--r--host/matelight/font.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/matelight/font.py b/host/matelight/font.py
new file mode 100644
index 0000000..a1c1dd6
--- /dev/null
+++ b/host/matelight/font.py
@@ -0,0 +1,5 @@
+from bdflib import reader as bdfreader # Used to read the bitmap font
+
+FONT = bdfreader.read_bdf(iter(open('fonts/unifont-6.3.20131020.bdf').readlines()))
+FONT_HEIGHT = 16
+