smeargle-gd/src/font.h

18 lines
285 B
C
Raw Normal View History

2023-11-27 21:38:00 +00:00
typedef struct map_t {
char *glyph;
unsigned int pos;
unsigned int width;
struct map_t *next;
} map_t;
typedef struct {
char *name;
char *toml_filename;
unsigned char bits_per_pixel;
unsigned int width;
unsigned int height;
unsigned int map_entries;
map_t *map;
} font_t;