summaryrefslogtreecommitdiff
path: root/gpdl/jbig2top.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-06-09 15:33:16 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-08-10 11:06:14 +0100
commit09a246ab21cab8e926f0d625641c44c628b78b08 (patch)
tree36e946536750bad4e3622d0b4ae99a6ef4ffc618 /gpdl/jbig2top.c
parent1820019588377543f92d29d3f46e973ab4903d7c (diff)
downloadghostpdl-09a246ab21cab8e926f0d625641c44c628b78b08.tar.gz
Add -dRESETRESOURCES option for gpdl.
In this instance 'RESOURCES' means fonts, macros, symbol sets etc. This applies to PCL (and maybe others), but not Postscript resources. Default (and setting this to 0) gives the behaviour where resources are never reset based upon job language changes. Setting this to 1 causes resources to be reset between jobs (whenever we return to PJL). Setting this to 2 causes resources to be reset whenever we "change language". For this setting, we do not count returning to PJL and reentering the same language as being a language change. (Includes fixes and code from Henry Stiles).
Diffstat (limited to 'gpdl/jbig2top.c')
-rw-r--r--gpdl/jbig2top.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpdl/jbig2top.c b/gpdl/jbig2top.c
index a9ba74889..4a453c273 100644
--- a/gpdl/jbig2top.c
+++ b/gpdl/jbig2top.c
@@ -608,5 +608,6 @@ const pl_interp_implementation_t jbig2_implementation = {
jbig2_impl_report_errors,
jbig2_impl_dnit_job,
jbig2_impl_deallocate_interp_instance,
- NULL
+ NULL, /* jbig2_impl_reset */
+ NULL /* interp_client_data */
};