diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
commit | f262a8c0bfae0cd90c2cd29acd409baf2157c241 (patch) | |
tree | 1a9f3a8c483e16c5d3d435d7c7143a6aa73b58e1 /pdf/pdf_type3.c | |
parent | 139d80bd65a164accf9d36d244d3d6a4c555aa47 (diff) | |
download | mupdf-f262a8c0bfae0cd90c2cd29acd409baf2157c241.tar.xz |
Be consistent about passing a fz_context in path/text/shade functions.
Diffstat (limited to 'pdf/pdf_type3.c')
-rw-r--r-- | pdf/pdf_type3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_type3.c b/pdf/pdf_type3.c index 176bf32a..3b596cdd 100644 --- a/pdf/pdf_type3.c +++ b/pdf/pdf_type3.c @@ -45,7 +45,7 @@ pdf_load_type3_font(pdf_document *xref, fz_obj *rdb, fz_obj *dict) fontdesc->font = fz_new_type3_font(ctx, buf, matrix); fontdesc->size += sizeof(fz_font) + 256 * (sizeof(fz_buffer*) + sizeof(float)); - fz_set_font_bbox(fontdesc->font, bbox.x0, bbox.y0, bbox.x1, bbox.y1); + fz_set_font_bbox(ctx, fontdesc->font, bbox.x0, bbox.y0, bbox.x1, bbox.y1); /* Encoding */ |