[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1750-gde22d4d

[email protected] (Nancy Durgin) Thu, 24 Oct 2019 15:32:45 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  de22d4d177a5911310d4af0777e87a8809a1622c (commit)
      from  a1cd6ee4a3724fbf70718483aa702c7af0f0a6cc (commit)

----------------------------------------------------------------------
commit de22d4d177a5911310d4af0777e87a8809a1622c
Author: Nancy Durgin <[email protected]>
Date:   Wed Oct 23 13:29:38 2019 -0700

    Change pdf implementation to use CalGray and CalRGB
    
    It was previously mapping these to DeviceGray and DeviceRGB for some
    reason.
    
    See tests_private/pdf/PDF_1.7_FTS/fts_08_0829.pdf for example where this
    matters.

diff --git a/Resource/Init/pdf_ops.ps b/Resource/Init/pdf_ops.ps
index d594035..cc25751 100644
--- a/Resource/Init/pdf_ops.ps
+++ b/Resource/Init/pdf_ops.ps
@@ -279,8 +279,8 @@ currentdict /gput_always_allow .undef
   /DeviceCMYK { [0 0 0 1] cvx } bind executeonly
   /CIEBasedA { 0 } bind executeonly
   /CIEBasedABC { [0 0 0] cvx } bind executeonly
-  /CalGray { pop /DeviceGray 0 } bind executeonly
-  /CalRGB { pop /DeviceRGB [0 0 0] cvx } bind executeonly
+  /CalGray { 0 } bind executeonly
+  /CalRGB { [0 0 0] cvx } bind executeonly
   /Lab {[0 0 0] cvx } bind executeonly
   /ICCBased { [ 1 index 1 oget /N get { 0 } repeat ] cvx } bind executeonly
   /Separation { 1 } bind executeonly


Summary of changes:
 Resource/Init/pdf_ops.ps | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)