ref: 7b63d2ea1b6d5d0625b4efc31d31c860c9f04091
parent: 7bb7fedef169a95ee56ad112fe2be774c0409296
author: David Turner <[email protected]>
date: Mon Feb 28 06:25:01 EST 2000
fixed a bug that prevented the reading of AFM files..
--- 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;