summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'devices/gdevchameleon.c')
-rw-r--r--devices/gdevchameleon.c25
1 files changed, 11 insertions, 14 deletions
diff --git a/devices/gdevchameleon.c b/devices/gdevchameleon.c
index 1a470972..74421244 100644
--- a/devices/gdevchameleon.c
+++ b/devices/gdevchameleon.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2019 Artifex Software, Inc.
+/* Copyright (C) 2001-2020 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -636,19 +636,16 @@ chameleon_print_page(gx_device_printer * pdev, gp_file * prn_stream)
return gs_error_rangecheck;
}
- code = gx_downscaler_init_trapped_cm_halftone
- (&ds,
- (gx_device *)pdev,
- pcdev->bpc,
- pcdev->dst_bpc,
- pcdev->num_components,
- pcdev->downscale.downscale_factor,
- pcdev->downscale.min_feature_size,
- NULL, 0, /* Adjust width */
- 0, 0, NULL, /* Trapping w/h/comp_order */
- col_convert, col_convert_arg, /* Color Management */
- pcdev->dst_num_components,
- default_ht);
+ code = gx_downscaler_init_cm_halftone(&ds,
+ (gx_device *)pdev,
+ pcdev->bpc,
+ pcdev->dst_bpc,
+ pcdev->num_components,
+ &pcdev->downscale,
+ NULL, 0, /* Adjust width */
+ col_convert, col_convert_arg, /* Color Management */
+ pcdev->dst_num_components,
+ default_ht);
if (code < 0)
goto cleanup;