summaryrefslogtreecommitdiff
path: root/xps/ghostxps.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-01-27 12:17:00 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2017-01-30 09:59:55 -0800
commit8cde4bc582904132bd8bb78e6c5da5ab2ebdb6ce (patch)
treef9bae244fe598ebfec216349eaad0d165b36cd46 /xps/ghostxps.h
parent827ab0227853b9ee5491ceb76b178757aa2ab733 (diff)
downloadghostpdl-8cde4bc582904132bd8bb78e6c5da5ab2ebdb6ce.tar.gz
XPS Transparency check
The XPS interpreter code was not setting the device param to indicate if a page had transparency. As such, the fact that a page had transparency was not getting used in the decision to invoke or not invoke the command list.
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r--xps/ghostxps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h
index df6304326..81c736714 100644
--- a/xps/ghostxps.h
+++ b/xps/ghostxps.h
@@ -414,8 +414,8 @@ struct xps_context_s
xps_hash_table_t *colorspace_table;
/* Global toggle for transparency */
- int use_transparency;
- int has_transparency;
+ bool use_transparency;
+ bool has_transparency;
/* Hack to workaround ghostscript's lack of understanding
* the pdf 1.4 specification of Alpha only transparency groups.