From: kramm Date: Mon, 5 Nov 2001 13:59:28 +0000 (+0000) Subject: changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph. X-Git-Tag: release-0-1-2~50 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=008ee9cfd8c12fa47d78e0aa287d38995f475342 changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph. --- diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 7dbe091..724134d 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -319,7 +319,6 @@ typedef struct _SWFLAYOUT typedef struct { S16 advance; - U16 gid; // Glyph-ID after DefineFont SHAPE * shape; } SWFGLYPH; @@ -329,8 +328,10 @@ typedef struct _SWFFONT U8 * name; SWFLAYOUT * layout; U16 numchars; + U16 maxascii; // highest mapped ascii value U8 flags; // bold/italic/unicode/ansi ... - U16 * codes; + U16 * glyph2ascii; + int * ascii2glyph; SWFGLYPH * glyph; } SWFFONT, * LPSWFFONT;