[trace] Comment out the redundant wrapping of FT_Open_Face()

Remove the left-over debugging spew, but leave a comment to hopefully
clarify the situation with wrapping FT_Open_Face().
This commit is contained in:
Chris Wilson 2009-01-23 10:42:42 +00:00
parent faa004033c
commit 6b5d2bf1a7

View file

@ -3598,6 +3598,14 @@ FT_New_Memory_Face (FT_Library library, const FT_Byte *mem, FT_Long size, FT_Lon
return ret;
}
/* XXX
* FT_New_Memory_Face() and FT_New_Face() appear to wrap FT_Open_Face() so we
* get a redundant call to FT_Open_Face() from those paths (no PLT hiding
* within FT, naughty library!) but we do not intercept a direct call to
* FT_Open_Face(). So far this has not caused any issues, but it will one
* day...
*/
#if 0
FT_Error
FT_Open_Face (FT_Library library, const FT_Open_Args *args, FT_Long index, FT_Face *face)
{
@ -3617,6 +3625,7 @@ FT_Open_Face (FT_Library library, const FT_Open_Args *args, FT_Long index, FT_Fa
return ret;
}
#endif
FT_Error
FT_Done_Face (FT_Face face)