summaryrefslogtreecommitdiff
path: root/ios/document.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-11 23:50:12 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-11 23:50:12 +0100
commited625b85feb08e0aa60e27494e72f7487e9b05a5 (patch)
tree160ea690429333c90c2796b929656dfbd2eac394 /ios/document.c
parent8f94cb1c9a9d59177326348cfd8f79ae441b9803 (diff)
downloadmupdf-ed625b85feb08e0aa60e27494e72f7487e9b05a5.tar.xz
Add xps_run_page function.
Diffstat (limited to 'ios/document.c')
-rw-r--r--ios/document.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/document.c b/ios/document.c
index 066f5209..dd893362 100644
--- a/ios/document.c
+++ b/ios/document.c
@@ -153,9 +153,7 @@ draw_page(struct document *doc, int number, fz_device *dev, fz_matrix ctm, fz_co
xps_page *page = doc->xps_page;
fz_matrix page_ctm = fz_scale(72.0f / 96.0f, 72.0f / 96.0f);
ctm = fz_concat(page_ctm, ctm);
- doc->xps->dev = dev;
- xps_parse_fixed_page(doc->xps, ctm, page);
- doc->xps->dev = NULL;
+ xps_run_page(doc->xps, page, dev, ctm, cookie);
}
}
fz_catch (doc->ctx)