diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-09-14 17:39:02 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-09-19 12:44:06 +0100 |
commit | 90fa745b793dc439d59bdab2255867fb7dfb5420 (patch) | |
tree | 9e505a53f95d8decd721dba96e52b5d96a2bd617 /xps | |
parent | 9e6faf9495945ba6471f693fe01a0f1d1f538edf (diff) | |
download | ghostpdl-90fa745b793dc439d59bdab2255867fb7dfb5420.tar.gz |
Add gpdl support for SmartOffice integration.
No actual SmartOffice code here, just the framework for adding
the (private) "SO" interpreter.
Diffstat (limited to 'xps')
-rw-r--r-- | xps/xpstop.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c index bd662bbc2..d09b80392 100644 --- a/xps/xpstop.c +++ b/xps/xpstop.c @@ -33,8 +33,6 @@ static int xps_install_halftone(xps_context_t *ctx, gx_device *pdevice); -#define XPS_PARSER_MIN_INPUT_SIZE (8192 * 4) - /* * The XPS interpeter is identical to pl_interp_t. * The XPS interpreter instance is derived from pl_interp_implementation_t. @@ -57,7 +55,7 @@ xps_detect_language(const char *s, int len) if (len < 2) return 0; if (memcmp(s, "PK", 2) == 0) - return 100; + return 80; /* Pretty sure, but not 100, so the SO one can override us. */ return 0; } @@ -94,7 +92,7 @@ xps_set_icc_user_params(pl_interp_implementation_t *impl, gs_gstate *pgs) /* Do per-instance interpreter allocation/init. No device is set yet */ static int xps_impl_allocate_interp_instance(pl_interp_implementation_t *impl, - gs_memory_t *pmem) + gs_memory_t *pmem) { int code = 0; xps_interp_instance_t *instance; |