diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-10 00:11:25 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-10 00:11:25 +0200 |
commit | f6e4a9614978334ca4a8e212bb8b44f34ac94ce2 (patch) | |
tree | c9eccddb8276895aeb312be2744c69cbcc3c5efd /pdf/pdf_type3.c | |
parent | 4a05689ac239535c3441f8d43d21c1373bc0194a (diff) | |
download | mupdf-f6e4a9614978334ca4a8e212bb8b44f34ac94ce2.tar.xz |
Make fz_obj struct opaque.
Diffstat (limited to 'pdf/pdf_type3.c')
-rw-r--r-- | pdf/pdf_type3.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pdf/pdf_type3.c b/pdf/pdf_type3.c index ac2c56bc..1d851ebe 100644 --- a/pdf/pdf_type3.c +++ b/pdf/pdf_type3.c @@ -1,6 +1,12 @@ #include "fitz.h" #include "mupdf.h" +static fz_error +pdf_run_glyph_func(void *xref, fz_obj *rdb, fz_buffer *contents, fz_device *dev, fz_matrix ctm) +{ + return pdf_run_glyph(xref, rdb, contents, dev, ctm); +} + fz_error pdf_load_type3_font(pdf_font_desc **fontdescp, pdf_xref *xref, fz_obj *rdb, fz_obj *dict) { @@ -117,7 +123,7 @@ pdf_load_type3_font(pdf_font_desc **fontdescp, pdf_xref *xref, fz_obj *rdb, fz_o fz_warn("no resource dictionary for type 3 font!"); fontdesc->font->t3xref = xref; - fontdesc->font->t3run = pdf_run_glyph; + fontdesc->font->t3run = pdf_run_glyph_func; /* CharProcs */ |