diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2016-10-02 13:23:30 -0400 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-10-07 16:56:46 +0100 |
commit | f5263de25f42552fce13944b23238676503d0e9d (patch) | |
tree | 134493fbf676873854a37a8e9a7351f13a8c4713 /source/fitz/svg-device.c | |
parent | 21b695f447ad3fa852e11a4f20b0576ab75b527f (diff) | |
download | mupdf-f5263de25f42552fce13944b23238676503d0e9d.tar.xz |
Add ctx to fz_font functions.
Diffstat (limited to 'source/fitz/svg-device.c')
-rw-r--r-- | source/fitz/svg-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c index 1484dddd..7397d059 100644 --- a/source/fitz/svg-device.c +++ b/source/fitz/svg-device.c @@ -274,7 +274,7 @@ svg_dev_text_span(fz_context *ctx, svg_device *sdev, const fz_matrix *ctm, const fz_printf(ctx, out, " transform=\"matrix(%g,%g,%g,%g,%g,%g)\"", local_trm.a, local_trm.b, local_trm.c, local_trm.d, local_trm.e, local_trm.f); fz_printf(ctx, out, " font-size=\"%g\"", size); - fz_printf(ctx, out, " font-family=\"%s\"", fz_font_name(span->font)); + fz_printf(ctx, out, " font-family=\"%s\"", fz_font_name(ctx, span->font)); /* Leading (and repeated) whitespace presents a problem for SVG * text, so elide it here. */ |