summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-17 15:55:50 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-17 15:55:50 +0100
commitf258f464a3b707b7d66880bec9cdd8f7b026e1f8 (patch)
tree51020e0390092ef044ede01b77478dfe08ae053d /test
parent4f4c61a4e89bc89e15a096e8c07fc35d2f9eb32c (diff)
downloadmupdf-f258f464a3b707b7d66880bec9cdd8f7b026e1f8.tar.xz
force use of builtin fonts if names match. speed up clearing of white background.
Diffstat (limited to 'test')
-rw-r--r--test/pdfrip.c2
-rw-r--r--test/x11pdf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pdfrip.c b/test/pdfrip.c
index 5d4aba39..877be289 100644
--- a/test/pdfrip.c
+++ b/test/pdfrip.c
@@ -65,7 +65,7 @@ printf("rendering!\n");
bbox.min.y = bbox.min.y * zoom;
bbox.max.x = bbox.max.x * zoom;
bbox.max.y = bbox.max.y * zoom;
- error = fz_rendertree(&pix, gc, page->tree, ctm, fz_roundrect(bbox));
+ error = fz_rendertree(&pix, gc, page->tree, ctm, fz_roundrect(bbox), 1);
if (error) fz_abort(error);
printf("done!\n");
diff --git a/test/x11pdf.c b/test/x11pdf.c
index 07e1150c..e0724076 100644
--- a/test/x11pdf.c
+++ b/test/x11pdf.c
@@ -174,7 +174,7 @@ Lskipload:
bbox = fz_transformaabb(ctm, page->mediabox);
- error = fz_rendertree(&image, rast, page->tree, ctm, fz_roundrect(bbox));
+ error = fz_rendertree(&image, rast, page->tree, ctm, fz_roundrect(bbox), 1);
if (error)
fz_abort(error);