diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2023-05-17 08:43:57 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2023-05-17 08:44:23 +0100 |
commit | dabe86b93f67dd40938b77f01b4317da8cb77c9c (patch) | |
tree | 09f67c23551c096120aaeb0a1389e17049396306 /tiff/man/tiffdither.1 | |
parent | fb7a6565ec3a66def0edbbf6c93f73df96dd4d4a (diff) | |
download | ghostpdl-master.tar.gz |
Bug #703750 "-dRenderIntent=0 not working on linux"
For unknown reasons the Windows build calls gx_default_put_params()
twice with the same set of parameters. Linux, however only calls it
once.
The reason this is a problem is because the first time it is called the
device's icc_struct member is NULL (not been allocated) and so the
put_params call simply discards the request (without warning). On
Windows the second request succeeds but since Linux only calls put_params
once, it ends up discarding the request entirely.
On examining the code it is clear that the gx_default_put_intent() and
similar functions all create the device's icc_struct member if it is not
already present, so clearly this is a problem which has been encountered
before. Since this is the case, there is no need for the guard against
dev->icc_struct being NULL in gx_default_put_params() and removing it
properly stores the requested parameters.
Diffstat (limited to 'tiff/man/tiffdither.1')
0 files changed, 0 insertions, 0 deletions