[gs-commits] rev 11632 - trunk/gs/base

ken at ghostscript.com ken at ghostscript.com
Fri Aug 13 19:46:29 UTC 2010


Author: ken
Date: 2010-08-13 19:46:28 +0000 (Fri, 13 Aug 2010)
New Revision: 11632

Modified:
   trunk/gs/base/gdevpdfx.h
Log:
Fix (pdfwrite( : Invalid compression filter emitted.

Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in
gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a 
trailing comma if the filter was RunLength.

No differences expected


Modified: trunk/gs/base/gdevpdfx.h
===================================================================
--- trunk/gs/base/gdevpdfx.h	2010-08-12 18:14:30 UTC (rev 11631)
+++ trunk/gs/base/gdevpdfx.h	2010-08-13 19:46:28 UTC (rev 11632)
@@ -1005,7 +1005,7 @@
 #define PDF_FILTER_NAMES\
   "/ASCII85Decode", "/ASCIIHexDecode", "/CCITTFaxDecode",\
   "/DCTDecode",  "/DecodeParms", "/Filter", "/FlateDecode",\
-  "/LZWDecode", "/RunLengthDecode,", "/JBIG2Decode", "/JPXDecode"
+  "/LZWDecode", "/RunLengthDecode", "/JBIG2Decode", "/JPXDecode"
 #define PDF_FILTER_NAMES_SHORT\
   "/A85", "/AHx", "/CCF", "/DCT", "/DP", "/F", "/Fl", "/LZW", "/RL", "/???", "/???"
 



More information about the gs-commits mailing list