shithub: freetype+ttf2subf

Download patch

ref: 99b744164d3e4887f39e1cea28088d21d4ad6a4e
parent: f814d0fafe344f1454b52e2d455c14b5fcea5b67
author: Werner Lemberg <[email protected]>
date: Wed Jun 27 13:06:28 EDT 2001

* src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
instead of FT_Int as type for `length' parameter.
* include/freetype/internal/psaux.h (PSAux_Interface): Updated.


* src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset
instead of FT_Int as type for `length' parameter.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2001-06-26  Werner Lemberg  <[email protected]>
+
+	* src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
+	instead of FT_Int as type for `length' parameter.
+	* include/freetype/internal/psaux.h (PSAux_Interface): Updated.
+
+2001-06-27  Wolfgang Domr�se  <[email protected]>
+
+	* src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset
+	instead of FT_Int as type for `length' parameter.
+
+
 	* Version 2.0.4 released.
 	=========================
 
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -622,7 +622,7 @@
     const T1_Decoder_Funcs*  t1_decoder_funcs;
 
     void                     (*t1_decrypt)( FT_Byte*   buffer,
-                                            FT_Int     length,
+                                            FT_Offset  length,
                                             FT_UShort  seed );
   } PSAux_Interface;
 
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -62,7 +62,7 @@
 
   FT_LOCAL_DEF
   void  cid_decrypt( FT_Byte*   buffer,
-                     FT_Int     length,
+                     FT_Offset  length,
                      FT_UShort  seed )
   {
     while ( length > 0 )
--- a/src/cid/cidload.h
+++ b/src/cid/cidload.h
@@ -42,7 +42,7 @@
 
   FT_LOCAL
   void  cid_decrypt( FT_Byte*   buffer,
-                     FT_Int     length,
+                     FT_Offset  length,
                      FT_UShort  seed );
 
   FT_LOCAL
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -1277,7 +1277,7 @@
 
   FT_LOCAL_DEF
   void  T1_Decrypt( FT_Byte*   buffer,
-                    FT_Int     length,
+                    FT_Offset  length,
                     FT_UShort  seed )
   {
     while ( length > 0 )
--- a/src/psaux/psobjs.h
+++ b/src/psaux/psobjs.h
@@ -191,7 +191,7 @@
 
   FT_LOCAL
   void  T1_Decrypt( FT_Byte*   buffer,
-                    FT_Int     length,
+                    FT_Offset  length,
                     FT_UShort  seed );