mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
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:
parent
3a355a1a08
commit
72f0667d70
2 changed files with 23 additions and 3 deletions
|
@ -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>
|
2003-07-03 22:03 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/art/ftfont.m: Give more information when reporting
|
* Source/art/ftfont.m: Give more information when reporting
|
||||||
|
|
|
@ -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",
|
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,
|
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;
|
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",
|
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,
|
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;
|
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",
|
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,
|
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;
|
return NSZeroSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue