summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-27 14:16:58 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-27 14:18:22 +0100
commit03b276d3f2db3feecb522f101e0da065c4af53d4 (patch)
tree512eabad1f8b5516003c254c5cf10439ba79a98c /fitz/res_font.c
parent40575c42719566f3585c5aa67129a8a5b7285aa7 (diff)
downloadmupdf-03b276d3f2db3feecb522f101e0da065c4af53d4.tar.xz
Rename pdf_xref type to pdf_document.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index 7bc8f48b..9f1bc73b 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -37,7 +37,7 @@ fz_new_font(fz_context *ctx, char *name, int use_glyph_bbox, int glyph_count)
font->t3procs = NULL;
font->t3widths = NULL;
font->t3flags = NULL;
- font->t3xref = NULL;
+ font->t3doc = NULL;
font->t3run = NULL;
font->bbox.x0 = 0;
@@ -646,7 +646,7 @@ fz_bound_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm)
FZ_DEVFLAG_LINEJOIN_UNDEFINED |
FZ_DEVFLAG_MITERLIMIT_UNDEFINED |
FZ_DEVFLAG_LINEWIDTH_UNDEFINED;
- font->t3run(font->t3xref, font->t3resources, contents, dev, ctm, NULL);
+ font->t3run(font->t3doc, font->t3resources, contents, dev, ctm, NULL);
font->t3flags[gid] = dev->flags;
fz_free_device(dev);
@@ -702,7 +702,7 @@ fz_render_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_co
ctm = fz_concat(font->t3matrix, trm);
dev = fz_new_draw_device_type3(ctx, glyph);
- font->t3run(font->t3xref, font->t3resources, contents, dev, ctm, NULL);
+ font->t3run(font->t3doc, font->t3resources, contents, dev, ctm, NULL);
/* RJW: "cannot draw type3 glyph" */
fz_free_device(dev);
@@ -744,7 +744,7 @@ fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gi
}
ctm = fz_concat(font->t3matrix, trm);
- font->t3run(font->t3xref, font->t3resources, contents, dev, ctm, gstate);
+ font->t3run(font->t3doc, font->t3resources, contents, dev, ctm, gstate);
/* RJW: "cannot draw type3 glyph" */
}