diff options
author | flipdot.openlab.lan <pseudo@pseudo.invalid> | 2017-02-01 18:49:49 +0000 |
---|---|---|
committer | flipdot.openlab.lan <pseudo@pseudo.invalid> | 2017-02-01 18:49:49 +0000 |
commit | 480d28b2d6678586e489bb366524920aaf0dea10 (patch) | |
tree | 7a64a163cabcd004499dd965e8c31213876212d5 | |
parent | b941e07c4119d898ed864cf9cf6d26352f553f0c (diff) |
Use system-wide DejaVu
-rw-r--r-- | flipper/DejaVuSans-Bold.ttf | bin | 704128 -> 0 bytes | |||
-rw-r--r-- | flipper/flipper.py | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/flipper/DejaVuSans-Bold.ttf b/flipper/DejaVuSans-Bold.ttf deleted file mode 100644 index 42bac8c..0000000 --- a/flipper/DejaVuSans-Bold.ttf +++ /dev/null Binary files differdiff --git a/flipper/flipper.py b/flipper/flipper.py index 97bc1ed..ecba357 100644 --- a/flipper/flipper.py +++ b/flipper/flipper.py @@ -33,9 +33,10 @@ while True: print("Drawing string \"{}\" with id {}".format(text.encode("utf-8"), id)) - scroll_text("localhost", 2323, text) + scroll_text("localhost", 2323, "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", text) (sucess, status) = delete_queue_entry(id) + if sucess: print("Deleted queue item {}".format(id)) else: |