changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph.
authorkramm <kramm>
Mon, 5 Nov 2001 13:59:28 +0000 (13:59 +0000)
committerkramm <kramm>
Mon, 5 Nov 2001 13:59:28 +0000 (13:59 +0000)
lib/rfxswf.h

index 7dbe091..724134d 100644 (file)
@@ -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;