Changed the structures CFF_Encoding and CFF_Charset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/include/freetype/internal/t2types.h b/include/freetype/internal/t2types.h
index dae7722..a450652 100644
--- a/include/freetype/internal/t2types.h
+++ b/include/freetype/internal/t2types.h
@@ -65,26 +65,22 @@ FT_BEGIN_HEADER
typedef struct CFF_Encoding_
{
- FT_Stream stream;
-
- FT_UInt format;
- FT_ULong offset;
- FT_UInt size;
+ FT_UInt format;
+ FT_ULong offset;
- FT_Byte* bytes;
+ FT_UShort* sids;
+ FT_UShort* codes;
} CFF_Encoding;
typedef struct CFF_Charset_
{
- FT_Stream stream;
- FT_UInt format;
- FT_ULong offset;
- FT_UInt size;
-
- FT_Byte* bytes;
+ FT_UInt format;
+ FT_ULong offset;
+
+ FT_UShort* sids;
} CFF_Charset;