7152414 ghostscript corrupts pages 2 and on when printing to HP printers
authorgowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
Tue, 05 Jun 2012 13:13:11 +0530
changeset 852 0a7f3f0c7b6f
parent 851 5d9119e2b7e1
child 853 72b657a4e294
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
components/ghostscript/patches/7152414.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ghostscript/patches/7152414.patch	Tue Jun 05 13:13:11 2012 +0530
@@ -0,0 +1,11 @@
+--- ghostscript-9.00/cups/gdevcups.c	Thu Aug 12 23:40:47 2010
++++ gdevcups.c	Wed Mar  7 13:16:38 2012
[email protected]@ -3459,7 +3459,7 @@
+       sp = ((gx_device_printer *)pdev)->space_params;
+ 
+       if ((code = gdev_prn_maybe_realloc_memory((gx_device_printer *)pdev, &sp, 
+-						width_old, height_old,
++						width, height,
+ 						cups->page_uses_transparency))
+ 	  < 0)
+ 	return (code);