diff options
author | jaseg <jaseg@jaseg.net> | 2013-12-29 02:52:28 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2013-12-29 02:52:28 +0100 |
commit | 7e2c51dc2645c4dffe7cc33e8533f0667b8775a6 (patch) | |
tree | fb1e7da9904d60e141d68bc8964f43fd5f46f486 /host/matelight/config.py | |
parent | a95e0305aeaffadf071e963863c102b30b76993a (diff) | |
download | matelight-7e2c51dc2645c4dffe7cc33e8533f0667b8775a6.tar.gz matelight-7e2c51dc2645c4dffe7cc33e8533f0667b8775a6.tar.bz2 matelight-7e2c51dc2645c4dffe7cc33e8533f0667b8775a6.zip |
Added basic text rendering & TCP server
Diffstat (limited to 'host/matelight/config.py')
-rw-r--r-- | host/matelight/config.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/host/matelight/config.py b/host/matelight/config.py index 2bc97c1..b68bee5 100644 --- a/host/matelight/config.py +++ b/host/matelight/config.py @@ -1,4 +1,3 @@ -import bdflib # Used to read the bitmap font # Hard timeout in seconds after which (approximately) the rendering of a single item will be cut off RENDERER_TIMEOUT = 20.0 @@ -7,13 +6,7 @@ DEFAULT_IMAGE_DURATION = 10.0 # Default scrolling speed in pixels/second DEFAULT_SCROLL_SPEED = 4 # Pixels to leave blank between two letters -LETTER_SPACING = 1 - -#FONT = bdflib.reader.read_bdf(open('fonts/5x8.bdf').readlines()) -#FONT_WIDTH = 5 - -# Computed value -#FONT_PADDED_BINARY = ('{:0'+str(FONT_WIDTH+'b}').format +LETTER_SPACING = 0 # Display geometry # ┌─────────┐ ┌───┬───┬ ⋯ ┬───┬───┐ |