From f5263de25f42552fce13944b23238676503d0e9d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sun, 2 Oct 2016 13:23:30 -0400 Subject: Add ctx to fz_font functions. --- source/fitz/svg-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/svg-device.c') 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. */ -- cgit v1.2.3