smeargle-gd/src/font.h

18 lines
285 B
C

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;