summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2022-03-07 13:13:41 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2022-03-07 13:13:41 -0800
commit648937e3ee1a05a475be57ed590b4913e4eedce9 (patch)
treeba9bcbd5b7b30e74a71da05b2083ffae6a03719b
parent9540f5183c8aa358264afcc9b72c2f2e00e8260a (diff)
Bug 705014: ICC Profile mismatch
gxdso_skip_icc_component_validation should by default return false. We should always check the components unless a device is able to handle such a mismatch.
-rw-r--r--base/gdevdflt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gdevdflt.c b/base/gdevdflt.c
index 3e680f65b..f93e968d8 100644
--- a/base/gdevdflt.c
+++ b/base/gdevdflt.c
@@ -972,6 +972,7 @@ gx_default_dev_spec_op(gx_device *pdev, int dev_spec_op, void *data, int size)
972 case gxdso_pdf14_sep_device: 972 case gxdso_pdf14_sep_device:
973 case gxdso_supports_pattern_transparency: 973 case gxdso_supports_pattern_transparency:
974 case gxdso_overprintsim_state: 974 case gxdso_overprintsim_state:
975 case gxdso_skip_icc_component_validation:
975 return 0; 976 return 0;
976 case gxdso_pattern_shfill_doesnt_need_path: 977 case gxdso_pattern_shfill_doesnt_need_path:
977 return (dev_proc(pdev, fill_path) == gx_default_fill_path); 978 return (dev_proc(pdev, fill_path) == gx_default_fill_path);