shithub: freetype+ttf2subf

Download patch

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

Chnaged the structures CFF_Charset and CFF_Encoding.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/internal/cfftypes.h
+++ b/include/freetype/internal/cfftypes.h
@@ -66,20 +66,22 @@
   /* a compact CFF Charset table */
   typedef struct CFF_Charset_
   {
-    FT_ULong   offset;
-    FT_UInt    size;
-    FT_UInt    format;
-    FT_Byte*   bytes;
+    FT_UInt     format;
+    FT_ULong    offset;
+
+    FT_UShort*  sids;
   
   } CFF_Charset;
 
+
   /* a compact CFF Encoding table */
   typedef struct CFF_Encoding_
   {
-    FT_ULong   offset;
-    FT_UInt    size;
-    FT_UInt    format;
-    FT_Byte*   bytes;
+    FT_UInt     format;
+    FT_ULong    offset;
+
+    FT_UShort*  sids;
+    FT_UShort*  codes;
   
   } CFF_Encoding;