X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fttf.h;h=a5ca5236d90dfb169f92d17035b26b500f7efb7d;hp=a22c87eb84f20b5ed3cd93b76e3b5b64bd0f8a31;hb=f4d875b670dfcdfd8b62c396c88098dc1ba7f8d8;hpb=ea0d9227c96c1e2ba46c3dd3be93fb8ed1322958 diff --git a/lib/ttf.h b/lib/ttf.h index a22c87e..a5ca523 100644 --- a/lib/ttf.h +++ b/lib/ttf.h @@ -118,6 +118,9 @@ typedef struct _table_hea #define GLYPH_ON_CURVE 0x01 #define GLYPH_CONTOUR_START 0x40 #define GLYPH_CONTOUR_END 0x80 + +typedef U32 unicode_t; + typedef struct _ttfpoint { int x,y; U8 flags; @@ -153,6 +156,9 @@ typedef struct _ttf { char is_vertical; int num_glyphs; ttfglyph_t*glyphs; + + int unicode_size; + unicode_t*unicode; U32 version; } ttf_t;