shithub: freetype+ttf2subf

Download patch

ref: e595014a64c1ed5adaf095e4671af3b0a6f98a1b
parent: c75f71e04995f1cc42fe11d092f0b0a63997e43c
author: David Turner <[email protected]>
date: Tue Feb 29 12:14:02 EST 2000

simple minor fix in t1afm.h/t1afm.c

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/type1/t1afm.c
+++ b/src/type1/t1afm.c
@@ -73,7 +73,7 @@
   {
     FT_Byte*  p    = *start;
     int       sum  = 0;
-    int       sign;
+    int       sign = 1;
     
     /* skip everything that is not a number */
     while ( p < limit && (*p < '0' || *p > '9') )
--- a/src/type1/t1afm.h
+++ b/src/type1/t1afm.h
@@ -31,8 +31,8 @@
 
 
 LOCAL_DEF
-FT_Error  T1_Read_AFM( FT_Stream stream,
-                       FT_Face   face );
+FT_Error  T1_Read_AFM( FT_Face   face,
+                       FT_Stream stream );
 
 LOCAL_DEF
 void      T1_Done_AFM( FT_Memory  memory,
--- a/src/type1z/t1afm.c
+++ b/src/type1z/t1afm.c
@@ -73,7 +73,7 @@
   {
     FT_Byte*  p    = *start;
     int       sum  = 0;
-    int       sign;
+    int       sign = 1;
     
     /* skip everything that is not a number */
     while ( p < limit && (*p < '0' || *p > '9') )
--- a/src/type1z/t1afm.h
+++ b/src/type1z/t1afm.h
@@ -31,8 +31,8 @@
 
 
 LOCAL_DEF
-FT_Error  T1_Read_AFM( FT_Stream stream,
-                       FT_Face   face );
+FT_Error  T1_Read_AFM( FT_Face   face,
+                       FT_Stream stream );
 
 LOCAL_DEF
 void      T1_Done_AFM( FT_Memory  memory,