From 9a725130b9b16daa332f8502e24eac9cab4cf9b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 24 Apr 2017 13:39:26 +0200 Subject: Remove debug printing code. It's not used, so prone to bit rot. Better to purge it. --- source/fitz/font.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source/fitz/font.c') diff --git a/source/fitz/font.c b/source/fitz/font.c index 1ce8c89f..37d273ba 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -1356,32 +1356,6 @@ fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gi font->t3run(ctx, font->t3doc, font->t3resources, contents, dev, &ctm, gstate, nested_depth); } -void -fz_print_font(fz_context *ctx, fz_output *out, fz_font *font) -{ - fz_write_printf(ctx, out, "font '%s' {\n", font->name); - - if (font->ft_face) - { - fz_write_printf(ctx, out, "\tfreetype face %p\n", font->ft_face); - if (font->flags.ft_substitute) - fz_write_printf(ctx, out, "\tsubstitute font\n"); - } - - if (font->t3procs) - { - fz_write_printf(ctx, out, "\ttype3 matrix [%g %g %g %g]\n", - font->t3matrix.a, font->t3matrix.b, - font->t3matrix.c, font->t3matrix.d); - - fz_write_printf(ctx, out, "\ttype3 bbox [%g %g %g %g]\n", - font->bbox.x0, font->bbox.y0, - font->bbox.x1, font->bbox.y1); - } - - fz_write_printf(ctx, out, "}\n"); -} - fz_rect * fz_bound_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm, fz_rect *rect) { -- cgit v1.2.3