shithub: freetype+ttf2subf

Download patch

ref: fc1de559ad7c3b46a6928ce7858503af26f2473f
parent: 97550fc45a5e40aeaa62146f3c0f02d2f0399cb9
author: Tom Kacvinsky <[email protected]>
date: Fri Dec 29 20:13:50 EST 2000

Changed the structures CFF_Encoding and CFF_Charset.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/internal/t2types.h
+++ b/include/freetype/internal/t2types.h
@@ -65,13 +65,11 @@
 
   typedef struct  CFF_Encoding_
   {
-    FT_Stream  stream;
+    FT_UInt     format;
+    FT_ULong    offset;
     
-    FT_UInt    format;
-    FT_ULong   offset;
-    FT_UInt    size;
-    
-    FT_Byte*   bytes;
+    FT_UShort*  sids;
+    FT_UShort*  codes;
   
   } CFF_Encoding;
 
@@ -78,13 +76,11 @@
 
   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;