diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-01-27 14:16:58 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-01-27 14:18:22 +0100 |
commit | 03b276d3f2db3feecb522f101e0da065c4af53d4 (patch) | |
tree | 512eabad1f8b5516003c254c5cf10439ba79a98c /pdf/pdf_type3.c | |
parent | 40575c42719566f3585c5aa67129a8a5b7285aa7 (diff) | |
download | mupdf-03b276d3f2db3feecb522f101e0da065c4af53d4.tar.xz |
Rename pdf_xref type to pdf_document.
Diffstat (limited to 'pdf/pdf_type3.c')
-rw-r--r-- | pdf/pdf_type3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf/pdf_type3.c b/pdf/pdf_type3.c index d9bf528e..176bf32a 100644 --- a/pdf/pdf_type3.c +++ b/pdf/pdf_type3.c @@ -2,13 +2,13 @@ #include "mupdf.h" static void -pdf_run_glyph_func(void *xref, fz_obj *rdb, fz_buffer *contents, fz_device *dev, fz_matrix ctm, void *gstate) +pdf_run_glyph_func(void *doc, fz_obj *rdb, fz_buffer *contents, fz_device *dev, fz_matrix ctm, void *gstate) { - pdf_run_glyph(xref, rdb, contents, dev, ctm, gstate); + pdf_run_glyph(doc, rdb, contents, dev, ctm, gstate); } pdf_font_desc * -pdf_load_type3_font(pdf_xref *xref, fz_obj *rdb, fz_obj *dict) +pdf_load_type3_font(pdf_document *xref, fz_obj *rdb, fz_obj *dict) { char buf[256]; char *estrings[256]; @@ -125,7 +125,7 @@ pdf_load_type3_font(pdf_xref *xref, fz_obj *rdb, fz_obj *dict) if (!fontdesc->font->t3resources) fz_warn(ctx, "no resource dictionary for type 3 font!"); - fontdesc->font->t3xref = xref; + fontdesc->font->t3doc = xref; fontdesc->font->t3run = pdf_run_glyph_func; /* CharProcs */ |