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

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Oct 22 04:19:30 UTC 2010


Author: alexcher
Date: 2010-10-22 04:19:30 +0000 (Fri, 22 Oct 2010)
New Revision: 11839

Modified:
   trunk/gs/Resource/Init/pdf_main.ps
Log:
Recognize /SMaskInData attribute as an indicator that the page has
transparency features. Establish a base level for a future regression
testing.


Modified: trunk/gs/Resource/Init/pdf_main.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_main.ps	2010-10-21 15:57:37 UTC (rev 11838)
+++ trunk/gs/Resource/Init/pdf_main.ps	2010-10-22 04:19:30 UTC (rev 11839)
@@ -1873,7 +1873,12 @@
         //false exch
         { {
 	    exch pop oforce dup /Subtype get
-	    dup /Image eq { 1 index /SMask known { pop pop not exit } if } if
+	    dup /Image eq {
+              1 index /SMask oknown { pop pop not exit } if
+              1 index /SMaskInData knownoget {
+                0 ne { pop pop not exit } if
+              } if
+            } if
 	    /Form eq {
 	      3 index exch resourceusestransparency { not exit } if
 	    } {



More information about the gs-commits mailing list