Commit e595014a64c1ed5adaf095e4671af3b0a6f98a1b

David Turner 2000-02-29T17:14:02

simple minor fix in t1afm.h/t1afm.c

diff --git a/src/type1/t1afm.c b/src/type1/t1afm.c
index 80f6536..f619e28 100644
--- 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') )
diff --git a/src/type1/t1afm.h b/src/type1/t1afm.h
index 39bbc4b..567ed63 100644
--- a/src/type1/t1afm.h
+++ b/src/type1/t1afm.h
@@ -31,8 +31,8 @@ typedef struct T1_AFM_
 
 
 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,
diff --git a/src/type1z/t1afm.c b/src/type1z/t1afm.c
index 80f6536..f619e28 100644
--- 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') )
diff --git a/src/type1z/t1afm.h b/src/type1z/t1afm.h
index 39bbc4b..567ed63 100644
--- a/src/type1z/t1afm.h
+++ b/src/type1z/t1afm.h
@@ -31,8 +31,8 @@ typedef struct T1_AFM_
 
 
 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,