[cairo] [PATCH] cairo-trace: Remove printf calls from FT_Open_Face implementation.
Carl Worth
cworth at cworth.org
Wed Jan 21 16:52:53 PST 2009
This appears to just be leftover debugging code.
---
util/cairo-trace/trace.c | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 350c673..8e29049 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -3598,21 +3598,7 @@ FT_New_Memory_Face (FT_Library library, const FT_Byte *mem, FT_Long size, FT_Lon
FT_Error
FT_Open_Face (FT_Library library, const FT_Open_Args *args, FT_Long index, FT_Face *face)
{
- FT_Error ret;
-
- ret = DLCALL (FT_Open_Face, library, args, index, face);
- if (args->flags & FT_OPEN_MEMORY)
- fprintf (stderr, "FT_Open_Face (mem=%p, %ld, %ld) = %p\n",
- args->memory_base, args->memory_size,
- index, *face);
- else if (args->flags & FT_OPEN_STREAM)
- fprintf (stderr, "FT_Open_Face (stream, %ld) = %p\n",
- index, *face);
- else if (args->flags & FT_OPEN_PATHNAME)
- fprintf (stderr, "FT_Open_Face (path=%s, %ld) = %p\n",
- args->pathname, index, *face);
-
- return ret;
+ return DLCALL (FT_Open_Face, library, args, index, face);
}
FT_Error
--
1.5.6.5
More information about the cairo
mailing list