From 7b63d2ea1b6d5d0625b4efc31d31c860c9f04091 Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 28 Feb 2000 11:25:01 +0000 Subject: [PATCH] fixed a bug that prevented the reading of AFM files.. --- src/type1z/t1afm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/type1z/t1afm.c b/src/type1z/t1afm.c index abd19b8b3..21a766137 100644 --- a/src/type1z/t1afm.c +++ b/src/type1z/t1afm.c @@ -108,8 +108,8 @@ /* parse an AFM file - for now, only read the kerning pairs */ LOCAL_FUNC - FT_Error T1_Read_AFM( FT_Stream stream, - FT_Face t1_face ) + FT_Error T1_Read_AFM( FT_Face t1_face, + FT_Stream stream ) { FT_Error error; FT_Memory memory = stream->memory; @@ -121,7 +121,7 @@ T1_Font* type1 = &((T1_Face)t1_face)->type1; T1_AFM* afm = 0; - if ( !ACCESS_Frame(stream->size) ) + if ( ACCESS_Frame(stream->size) ) return error; start = (FT_Byte*)stream->cursor;