[gs-commits] rev 11756 - trunk/gs/Resource/Init

alexcher at ghostscript.com alexcher at ghostscript.com
Tue Oct 5 13:57:23 UTC 2010


Author: alexcher
Date: 2010-10-05 13:57:22 +0000 (Tue, 05 Oct 2010)
New Revision: 11756

Modified:
   trunk/gs/Resource/Init/pdf_sec.ps
Log:
Add missing decoding of #nn escape to encrypted PDF reader. Besides fixing the
bug sample file, this patch also corrects a colorant name in IA3Z0440.pdf on
psdcmyk device. Bug 691636.


Modified: trunk/gs/Resource/Init/pdf_sec.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_sec.ps	2010-10-05 12:48:16 UTC (rev 11755)
+++ trunk/gs/Resource/Init/pdf_sec.ps	2010-10-05 13:57:22 UTC (rev 11756)
@@ -595,8 +595,12 @@
 	       if			% If StrF is known
       	     }
 	    ifelse			% Ifelse R < 4
+	  } {
+            dup type /nametype eq {
+              .pdffixname
+            } if
 	  }
-	 if				% If = stringtype
+         ifelse
 	 exch pop
        }
       ifelse



More information about the gs-commits mailing list