From 008ee9cfd8c12fa47d78e0aa287d38995f475342 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 5 Nov 2001 13:59:28 +0000 Subject: [PATCH] changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph. --- lib/rfxswf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 1.7.10.4