summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2021-03-30 18:42:25 -0700
committerRay Johnston <ray.johnston@artifex.com>2021-03-31 11:51:30 -0700
commitdda1944e889f7ac4a21cf1e9c4f0daffdd33a468 (patch)
tree4d8d3d81603c8035d91c3f7286e75ade9df7320f /xps
parent9b66434d5fe0bfb47da683037ee4f6baf980d61b (diff)
downloadghostpdl-dda1944e889f7ac4a21cf1e9c4f0daffdd33a468.tar.gz
Change names from Graphics and Path to Vector, for consistency
We decided to follow the ObjectFilter subclass device's naming convention for objects that are not Image or Text. This patch makes them all the same. NOTE: The GS9_Color_Management.pdf document also needs to change since we are changing the external names as well. Before going 'live' with this non- backward compatible change (admittedly to something that has probably not been widely used) we may consider issuing a warning for the previous option names, or even a warning with automatic use of the new name.
Diffstat (limited to 'xps')
-rw-r--r--xps/xpsgradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpsgradient.c b/xps/xpsgradient.c
index 0300f8256..d941f46c7 100644
--- a/xps/xpsgradient.c
+++ b/xps/xpsgradient.c
@@ -85,7 +85,7 @@ xps_parse_gradient_stops(xps_context_t *ctx, char *base_uri, xps_item_t *node,
/* Set the rendering parameters */
rendering_params.black_point_comp = gsBLACKPTCOMP_ON;
- rendering_params.graphics_type_tag = GS_PATH_TAG;
+ rendering_params.graphics_type_tag = GS_VECTOR_TAG;
rendering_params.override_icc = false;
rendering_params.preserve_black = gsBKPRESNOTSPECIFIED;
rendering_params.rendering_intent = gsPERCEPTUAL;