summaryrefslogtreecommitdiff
path: root/source/fitz/font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-03-12 11:19:09 -0500
committerTor Andersson <tor.andersson@artifex.com>2017-03-22 12:07:26 +0100
commitcfb66cd25bbf31857b471735e5ff0f7c2aea4d3c (patch)
tree8d8d06c9e2c880611a3c8cc025d8c35fe38d59ba /source/fitz/font.c
parent3832d0c7ab87aa1f2b3a3dbebe43a37e4055d121 (diff)
downloadmupdf-cfb66cd25bbf31857b471735e5ff0f7c2aea4d3c.tar.xz
Rename fz_putc/puts/printf to fz_write_*.
Rename fz_write to fz_write_data. Rename fz_write_buffer_* and fz_buffer_printf to fz_append_*. Be consistent in naming: fz_write_* calls write to fz_output. fz_append_* calls append to fz_buffer. Update documentation.
Diffstat (limited to 'source/fitz/font.c')
-rw-r--r--source/fitz/font.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c
index 31877d67..3927eb17 100644
--- a/source/fitz/font.c
+++ b/source/fitz/font.c
@@ -1356,27 +1356,27 @@ fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gi
void
fz_print_font(fz_context *ctx, fz_output *out, fz_font *font)
{
- fz_printf(ctx, out, "font '%s' {\n", font->name);
+ fz_write_printf(ctx, out, "font '%s' {\n", font->name);
if (font->ft_face)
{
- fz_printf(ctx, out, "\tfreetype face %p\n", font->ft_face);
+ fz_write_printf(ctx, out, "\tfreetype face %p\n", font->ft_face);
if (font->flags.ft_substitute)
- fz_printf(ctx, out, "\tsubstitute font\n");
+ fz_write_printf(ctx, out, "\tsubstitute font\n");
}
if (font->t3procs)
{
- fz_printf(ctx, out, "\ttype3 matrix [%g %g %g %g]\n",
+ 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_printf(ctx, out, "\ttype3 bbox [%g %g %g %g]\n",
+ 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_printf(ctx, out, "}\n");
+ fz_write_printf(ctx, out, "}\n");
}
fz_rect *