aboutsummaryrefslogtreecommitdiff
path: root/host/matelight/font.py
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2013-12-29 22:35:31 +0100
committerjaseg <jaseg@jaseg.net>2013-12-29 22:35:31 +0100
commit493863fcc0d0bc52a27631eeb76a85446f3e6760 (patch)
treed3193c448c12723ad7b8a11cf3e3eda3d443579d /host/matelight/font.py
parent7e2c51dc2645c4dffe7cc33e8533f0667b8775a6 (diff)
downloadmatelight-493863fcc0d0bc52a27631eeb76a85446f3e6760.tar.gz
matelight-493863fcc0d0bc52a27631eeb76a85446f3e6760.tar.bz2
matelight-493863fcc0d0bc52a27631eeb76a85446f3e6760.zip
More advanced network IF with direct buffer support
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
+