summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-06-02 19:23:30 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-06-02 19:27:15 +0100
commitbecd8210b3e6722ee258ed0fcd5354a186f1184b (patch)
treeae7fba0b94c6c8cae5827f3841050e56a9a27131
parentbb9959b60a9b3947c091ab867616385ac3fc7794 (diff)
downloadghostpdl-becd8210b3e6722ee258ed0fcd5354a186f1184b.tar.gz
Bug 702446: Fix CAL halftoning.
Looks like cal was interpretting halftone X phase in the wrong direction.
-rw-r--r--base/gximono.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gximono.c b/base/gximono.c
index 86aa990a1..77fa700ef 100644
--- a/base/gximono.c
+++ b/base/gximono.c
@@ -140,7 +140,7 @@ halftone_init(gx_image_enum *penum)
penum->pgs->dev_ht->components[k].corder.threshold_inverted,
penum->pgs->dev_ht->components[k].corder.width,
penum->pgs->dev_ht->components[k].corder.full_height,
- -penum->pgs->screen_phase[k].x,
+ penum->pgs->screen_phase[k].x,
-penum->pgs->screen_phase[k].y,
penum->pgs->dev_ht->components[k].corder.threshold) < 0)
goto fail;