32x64 3-color message board http://elektorembedded.blogspot.com/

Dependencies:   mbed

Revision:
0:7a63bd42cf24
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/font.h	Wed May 05 12:04:34 2010 +0000
@@ -0,0 +1,26 @@
+#ifndef __FONT_H__
+#define __FONT_H__
+
+
+typedef unsigned char uint8_t;
+
+
+typedef struct
+{
+  int width; // Character width in bits.
+  int offset; // Offset in bytes into font bitmap.
+}
+FONT_CHAR_INFO;
+
+
+typedef struct
+{
+  int height; // Character height in bits.
+  char start_char; // Start character.
+  const FONT_CHAR_INFO *p_character_descriptor; // Character decriptor array.
+  const uint8_t *p_character_bitmaps; // Character bitmap array.
+}
+FONT_INFO;
+
+
+#endif // __FONT_H__