summaryrefslogtreecommitdiff
path: root/source/fitz/font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 13:39:26 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 15:12:03 +0200
commit9a725130b9b16daa332f8502e24eac9cab4cf9b2 (patch)
tree2068a7fde1f170411f90674049b902dc06ecaa13 /source/fitz/font.c
parentaf7461adcd082d60276b747eda66fec2684f3701 (diff)
downloadmupdf-9a725130b9b16daa332f8502e24eac9cab4cf9b2.tar.xz
Remove debug printing code.
It's not used, so prone to bit rot. Better to purge it.
Diffstat (limited to 'source/fitz/font.c')
-rw-r--r--source/fitz/font.c26
1 files changed, 0 insertions, 26 deletions
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)
{