From 7bbb0fa20ff65a05031886c35646248dc94a38a8 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 16 Nov 2019 19:33:48 -0800 Subject: libs/ascii: add a basic mono bitmap ascii charset The rtv module needs to show some captions, so I'm adding a minimal bitmap ascii text renderer. --- src/libs/ascii/ascii.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/libs/ascii/ascii.h (limited to 'src/libs/ascii/ascii.h') diff --git a/src/libs/ascii/ascii.h b/src/libs/ascii/ascii.h new file mode 100644 index 0000000..6c86898 --- /dev/null +++ b/src/libs/ascii/ascii.h @@ -0,0 +1,9 @@ +#ifndef _ASCII_H +#define _ASCII_H + +#define ASCII_WIDTH 5 +#define ASCII_HEIGHT 11 + +extern const char ascii_chars[256][ASCII_WIDTH * ASCII_HEIGHT]; + +#endif -- cgit v1.2.1