From e6e94564844c4b52d0eeb0114c1f1aef48448133 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 5 Nov 2006 21:47:51 +0000 Subject: [PATCH] * Add information to the font format. --- cucul/font.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cucul/font.c b/cucul/font.c index 48ebbc1..78123d2 100644 --- a/cucul/font.c +++ b/cucul/font.c @@ -501,6 +501,7 @@ int cucul_render_canvas(cucul_canvas_t *cv, cucul_font_t *f, * * struct * { + * magic: * uint8_t caca_header[2]; // "\xCA\xCA" * uint8_t caca_file_type[2]; // "FT" * @@ -544,14 +545,20 @@ int cucul_render_canvas(cucul_canvas_t *cv, cucul_font_t *f, * } * glyph_list[glyphs]; * - * extension_1: - * extension_2: + * control_extension_1: + * control_extension_2: * ... - * extension_N: + * control_extension_N: * ... // reserved for future use * * font_data: * uint8_t data[data_size]; // glyph data + * + * data_extension_1: + * data_extension_2: + * ... + * data_extension_N: + * ... // reserved for future use * }; */