components/ghostscript/patches/7152414.patch
author gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
Tue, 05 Jun 2012 13:13:11 +0530
changeset 852 0a7f3f0c7b6f
child 7819 b1bca76ec901
permissions -rw-r--r--
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
--- ghostscript-9.00/cups/gdevcups.c	Thu Aug 12 23:40:47 2010
+++ gdevcups.c	Wed Mar  7 13:16:38 2012
@@ -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);