| 26 | third level. */ |
| 27 | |
| 28 | struct BitmapFont { |
| 29 | /* Dimensions of a single glyph */ |
| 30 | unsigned width; |
| 31 | unsigned height; |
| 32 | |
| 33 | /* The glyphs, in the order that they appear in the font */ |
| 34 | /* IBM handling will index the glyphs this way */ |
| 35 | /* glyph points to an allocated array, each element of which points to |
| 36 | another allocated array */ |
| 37 | unsigned num_glyphs; |
| 38 | unsigned char **glyphs; |
| 39 | |
| 40 | /* The root node of the Unicode tree */ |
| 41 | unsigned **unicode[17]; |
| 42 | }; |
| 43 | |
| 44 | extern struct BitmapFont *load_font(const char *filename); |
| 45 | extern void free_font(struct BitmapFont *font); |
nothing calls this directly
no outgoing calls
no test coverage detected