diff options
Diffstat (limited to 'ios/document.c')
-rw-r--r-- | ios/document.c | 4 |
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) |