From cb14c16722533ee99b36a2e6efd9a6e4820954a3 Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Fri, 9 Apr 2021 21:01:58 +0000 Subject: Upgrade gs-9.53.3 -> gs-9.54.0 git-svn-id: svn://tug.org/texlive/trunk@58805 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils (limited to 'Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils') diff --git a/Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils b/Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils new file mode 100644 index 00000000000..7e6ecb23ea2 --- /dev/null +++ b/Master/tlpkg/tlgs/Resource/IdiomSet/PPI_CUtils @@ -0,0 +1,24 @@ +%% +%% Idioms for the PPI Media GmbH PPI_ColorUtils ProcSet +%% This appears to be a kind of desktop colour separation utility. If it is +%% used with the pdfwrite PassThroughJPEGImages feature then instead of +%% converting images from colour to gray, we embed the colour image data +%% but with a DeviceGray colour space, which leads to incorrect output. +%% To fix that, turn off the feature if cuForceGray is set to true. This +%% is the first time we've seen this, and more work may be required. +%% + +currentuserparams /IdiomRecognition get +<> setuserparams + +/PPI_CUtils +<< +/cuForceGray [ +{/_cuForceGray exch cuPut} bind +{dup //true eq {currentdevice //null //false mark /PassThroughJPEGImages //false .putdeviceparamsonly}if /_cuForceGray exch cuPut} bind +] +>> + +/IdiomSet defineresource pop + +<> setuserparams -- cgit v1.2.3