[gs-cvs] rev 7938 - in trunk/gs: doc lib

alexcher at ghostscript.com alexcher at ghostscript.com
Wed May 9 12:55:01 PDT 2007


Author: alexcher
Date: 2007-05-09 12:55:01 -0700 (Wed, 09 May 2007)
New Revision: 7938

Modified:
   trunk/gs/doc/Use.htm
   trunk/gs/lib/pdf_main.ps
Log:
Make AcroForm rendering a non-default option because it is not yet 
fully implemented and causes raster differences. Bug 689197.

DIFFERENCES:
Return to the baseline rendering of 01_001.pdf at 300 dpi.


Modified: trunk/gs/doc/Use.htm
===================================================================
--- trunk/gs/doc/Use.htm	2007-05-09 18:45:56 UTC (rev 7937)
+++ trunk/gs/doc/Use.htm	2007-05-09 19:55:01 UTC (rev 7938)
@@ -621,6 +621,15 @@
 regressions and should not be used routinely.
 </dl>
 
+<dl>
+<dt><b><tt>-dShowAcroForm</tt></b>
+<dd>
+Show the content of the Interactive Form Dictionary (AcroForm dictionary).
+By default, AcroForm is not shown because some field types are not yet
+implemented. Adobe Acrobat doesn't always skips AcroForm, but it is
+not known yet when it does.
+</dl>
+
 <h3><a name="PDF_problems"></a>Problems interpreting a PDF file</h3>
 
 <p>

Modified: trunk/gs/lib/pdf_main.ps
===================================================================
--- trunk/gs/lib/pdf_main.ps	2007-05-09 18:45:56 UTC (rev 7937)
+++ trunk/gs/lib/pdf_main.ps	2007-05-09 19:55:01 UTC (rev 7938)
@@ -1325,7 +1325,9 @@
   grestore
   % Draw the annotations
   /Annots knownoget { { oforce drawannot } forall } if
-  Trailer /Root oget /AcroForm knownoget { draw_acro_form } if
+  //systemdict /ShowAcroForm .knownget { //true eq } { //false } ifelse {
+    Trailer /Root oget /AcroForm knownoget { draw_acro_form } if
+  } if
 } bind def
 
 /processcolorspace {	% - processcolorspace <colorspace>



More information about the gs-cvs mailing list