2014-04-29 05:26:51 -07:00
|
|
|
#ifndef __FONTS_H__
|
|
|
|
#define __FONTS_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#define FONT_START 32
|
2015-02-13 05:21:43 -08:00
|
|
|
#define FONT_END 132
|
2014-04-29 05:26:51 -07:00
|
|
|
#define FONT_HEIGHT 8
|
|
|
|
|
|
|
|
int fontCharWidth(char c);
|
|
|
|
int fontStringWidth(const char *s);
|
|
|
|
|
|
|
|
extern const uint8_t *font_data[FONT_END - FONT_START + 1];
|
|
|
|
|
|
|
|
#endif
|