[gs-cvs] rev 7988 - trunk/gs/src

henrys at ghostscript.com henrys at ghostscript.com
Sun May 20 23:40:29 PDT 2007


Author: henrys
Date: 2007-05-20 23:40:28 -0700 (Sun, 20 May 2007)
New Revision: 7988

Modified:
   trunk/gs/src/gxclimag.c
Log:
Back out the changes associated with 7715 and 7773.  This fix is
probably wrong, it only masks an underlying problem by disabling high
level images and it slows down many jobs.  I believe the problem was
misunderstood from the outset but I don't clearly understand the svn
change log, it reads:

   Fix for banding of some images not matching non-banding output.
   Added check for an invariant that the translation matches in the 
   two matrixes used in rendering.  In this case the non-high level image
   path is taken.  A better solution would be to a single matrix, as this will
   increase the display list size for some files.

It is not clear what "single matrix" means.  There is one ctm
associated with the image and one associated with the graphics state,
both must be used by either the high level image code or the default
image machinery.  The change checked that graphics (imager) state ctm
translation components matched the translation components that map
image space to device space.

EXPECTED DIFFERENCES:

The same "fixes" associated with the 7715 and 7773.  These will have
to be addressed again.

035-01.ps
148-11.ps
148.16.ps
1_2001.pdf
455690.pdf
Bug687832.pdf
Bug687840.pdf
a.pdf
adesso4.pdf
bc_02a01_cal.pdf
dave.pdf
file2.pdf
foo.pdf
john_clippedimage.pdf
messenger.pdf
messenger16.pdf
ngnews1.pdf
rotate180.pdf
rotate270.pdf
rotate90.pdf
ridt91.eps
pcl5ccet/15-03.BIN + ufst



Modified: trunk/gs/src/gxclimag.c
===================================================================
--- trunk/gs/src/gxclimag.c	2007-05-19 17:08:04 UTC (rev 7987)
+++ trunk/gs/src/gxclimag.c	2007-05-21 06:40:28 UTC (rev 7988)
@@ -376,9 +376,6 @@
 	varying_depths ||
 	(code = gs_matrix_invert(&pim->ImageMatrix, &mat)) < 0 ||
 	(code = gs_matrix_multiply(&mat, &ctm_only(pis), &mat)) < 0 ||
-	/****** CAN'T HANDLE SOME TRANSFORMS ******/
-	(mat.tx != cdev->imager_state.ctm.tx) ||  
-	(mat.ty != cdev->imager_state.ctm.ty) ||  
 	!(cdev->disable_mask & clist_disable_nonrect_hl_image ?
 	  (is_xxyy(&mat) || is_xyyx(&mat)) :
 	  image_matrix_ok_to_band(&mat))



More information about the gs-cvs mailing list