+#include "system.h"
+
+
+/* default fonts */
+#define FONT_INITIAL_1 0
+#define FONT_INITIAL_2 1
+#define FONT_INITIAL_3 2
+#define FONT_INITIAL_4 3
+
+/* font colors */
+#define FC_RED FONT_INITIAL_1
+#define FC_BLUE FONT_INITIAL_2
+#define FC_GREEN FONT_INITIAL_3
+#define FC_YELLOW FONT_INITIAL_4
+
+#define FONT_CHARS_PER_LINE 16
+#define FONT_LINES_PER_FONT 4
+
+#define FONT_OPAQUE 0
+#define FONT_MASKED 1
+
+/* text output definitions */
+#define MAX_OUTPUT_LINESIZE 1024
+
+/* font structure definitions */
+
+void InitFontInfo(struct FontBitmapInfo *, int,
+ int (*select_font_function)(int));
+int getFontWidth(int);
+int getFontHeight(int);
+boolean getFontChar(int, char, int *, int *);