diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
commit | 9a36550815c3d874ce62650bf06ee85a3f705f1c (patch) | |
tree | cc45ee69f0eca20520b388c44909703142c9196a /test | |
parent | fa0b09e3a0c696069033195a394b09d30a8c0573 (diff) | |
download | mupdf-9a36550815c3d874ce62650bf06ee85a3f705f1c.tar.xz |
shift things about a bit
Diffstat (limited to 'test')
-rw-r--r-- | test/pdfrip.c | 3 | ||||
-rw-r--r-- | test/x11pdf.c | 3 | ||||
-rw-r--r-- | test/ximage.c | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/test/pdfrip.c b/test/pdfrip.c index f5f762da..6e3f6bef 100644 --- a/test/pdfrip.c +++ b/test/pdfrip.c @@ -87,6 +87,9 @@ int main(int argc, char **argv) char *password = ""; + fz_cpudetect(); + fz_accelerate(); + while ((c = getopt(argc, argv, "dz:p:")) != -1) { switch (c) diff --git a/test/x11pdf.c b/test/x11pdf.c index 46e95632..88aebe47 100644 --- a/test/x11pdf.c +++ b/test/x11pdf.c @@ -242,6 +242,8 @@ static void dumptext() fz_error *error; pdf_textline *line; + printf("----"); + error = pdf_loadtextfromtree(&line, page->tree); if (error) fz_abort(error); @@ -363,6 +365,7 @@ int main(int argc, char **argv) usage(); fz_cpudetect(); + fz_accelerate(); filename = argv[optind++]; diff --git a/test/ximage.c b/test/ximage.c index 3b4a9b8b..1e56fa2e 100644 --- a/test/ximage.c +++ b/test/ximage.c @@ -20,9 +20,9 @@ typedef void (*ximage_convert_func_t) int h ); -#define POOLSIZE 6 +#define POOLSIZE 4 #define WIDTH 256 -#define HEIGHT 64 +#define HEIGHT 256 enum { ARGB8888, |