diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2009-10-29 14:59:16 +0000 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2009-10-29 14:59:16 +0000 |
commit | e70374db44db0e7db84502deb0ea34d11f6523df (patch) | |
tree | e8caedf47498509afe93fefa3456d4d918958f4c /xps/xpspath.c | |
parent | 83a7c1bdeaa8f7f11f2d5ad7ba8df1c61134ae8c (diff) | |
download | ghostpdl-e70374db44db0e7db84502deb0ea34d11f6523df.tar.gz |
Implement a random file access mode for the XPS parser that uses less memory.
To enable this mode, set the XPS_ZIP_SEEK environment variable
which will cause the interpreter to spool the data to a temp file
and then run the parser in the new mode.
This is going to change in a later patch to plmain that will enable
the interpreters to directly access the job files.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10243 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/xpspath.c')
-rw-r--r-- | xps/xpspath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xps/xpspath.c b/xps/xpspath.c index eaa606ae5..39e492bbe 100644 --- a/xps/xpspath.c +++ b/xps/xpspath.c @@ -121,6 +121,7 @@ xps_restore_bounds(xps_context_t *ctx, gs_rect *save) ctx->bounds.q.y = save->q.y; } +#if 0 static void xps_debug_bounds(xps_context_t *ctx) { @@ -153,6 +154,7 @@ xps_debug_bounds(xps_context_t *ctx) gs_grestore(ctx->pgs); } +#endif int xps_unclip(xps_context_t *ctx, gs_rect *saved_bounds) |