shithub: freetype+ttf2subf

Download patch

ref: 7a99b507cee182c81466edf6a379846bab810d46
parent: 5dfbdf76594325baea09634869566195cf5937e8
author: Werner Lemberg <[email protected]>
date: Tue Sep 17 03:31:17 EDT 2002

* src/type1/t1parse.h (T1_ParserRec): Change type of `base_len'
and `private_len' to FT_Long.

* src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused label.
* src/pshinter/pshalgo3.c (psh3_hint_align): Remove unused variable.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-09-16  Werner Lemberg  <[email protected]>
+
+	* src/type1/t1parse.h (T1_ParserRec): Change type of `base_len'
+	and `private_len' to FT_Long.
+
+	* src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused label.
+	* src/pshinter/pshalgo3.c (psh3_hint_align): Remove unused variable.
+
 2002-09-14  Werner Lemberg  <[email protected]>
 
 	Making ftgrays.c compile stand-alone again.
--- a/src/cache/ftcsbits.c
+++ b/src/cache/ftcsbits.c
@@ -221,7 +221,6 @@
       }
     }
 
-  Exit:
     return error;
   }
 
--- a/src/pshinter/pshalgo3.c
+++ b/src/pshinter/pshalgo3.c
@@ -441,7 +441,6 @@
       FT_Pos  len = FT_MulFix( hint->org_len, scale );
 
       FT_Int            do_snapping;
-      FT_Pos            fit_center;
       FT_Pos            fit_len;
       PSH_AlignmentRec  align;
 
--- a/src/type1/t1parse.h
+++ b/src/type1/t1parse.h
@@ -64,10 +64,10 @@
     FT_Stream     stream;
 
     FT_Byte*      base_dict;
-    FT_Int        base_len;
+    FT_Long       base_len;
 
     FT_Byte*      private_dict;
-    FT_Int        private_len;
+    FT_Long       private_len;
 
     FT_Byte       in_pfb;
     FT_Byte       in_memory;