diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-06-09 15:33:16 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-08-10 11:06:14 +0100 |
commit | 09a246ab21cab8e926f0d625641c44c628b78b08 (patch) | |
tree | 36e946536750bad4e3622d0b4ae99a6ef4ffc618 /pcl/pxl | |
parent | 1820019588377543f92d29d3f46e973ab4903d7c (diff) | |
download | ghostpdl-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 'pcl/pxl')
-rw-r--r-- | pcl/pxl/pxtop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcl/pxl/pxtop.c b/pcl/pxl/pxtop.c index 1e3a2b958..dd7c79f85 100644 --- a/pcl/pxl/pxtop.c +++ b/pcl/pxl/pxtop.c @@ -566,7 +566,8 @@ pl_interp_implementation_t pxl_implementation = { pxl_impl_report_errors, pxl_impl_dnit_job, pxl_impl_deallocate_interp_instance, - NULL + NULL, /* pxl_impl_reset */ + NULL /* interp_client_data */ }; /* ---------- Utility Procs ----------- */ |