Handle freetype <=2.1.2 in the error reporting.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17127 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2003-07-05 12:06:01 +00:00
parent 3a355a1a08
commit 72f0667d70
2 changed files with 23 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-07-05 14:05 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m: Handle freetype <=2.1.2 in the error
reporting.
2003-07-03 22:03 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m: Give more information when reporting

View file

@ -990,7 +990,12 @@ static FT_Error ft_get_face(FTC_FaceID fid, FT_Library lib, FT_Pointer data, FT_
{
NSLog(@"FTC_SBitCache_Lookup() failed with error %08x (%08x, %ix%i, %08x)\n",
error, cur.font.face_id, cur.font.pix_width, cur.font.pix_height,
cur.flags);
#ifdef FT212_STUFF
cur.type
#else
cur.flags
#endif
);
continue;
}
@ -1369,7 +1374,12 @@ static FT_Error ft_get_face(FTC_FaceID fid, FT_Library lib, FT_Pointer data, FT_
{
NSLog(@"FTC_SBitCache_Lookup() failed with error %08x (%08x, %ix%i, %08x)\n",
error, cur.font.face_id, cur.font.pix_width, cur.font.pix_height,
cur.flags);
#ifdef FT212_STUFF
cur.type
#else
cur.flags
#endif
);
continue;
}
@ -1687,7 +1697,12 @@ static FT_Error ft_get_face(FTC_FaceID fid, FT_Library lib, FT_Pointer data, FT_
{
NSLog(@"FTC_SBitCache_Lookup() failed with error %08x (%08x, %ix%i, %08x)\n",
error, cur.font.face_id, cur.font.pix_width, cur.font.pix_height,
cur.flags);
#ifdef FT212_STUFF
cur.type
#else
cur.flags
#endif
);
return NSZeroSize;
}