[gs-bugs] [Bug 691157] Problem with image masking

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 15 07:33:07 UTC 2010


--- Comment #6 from Ken Sharp <ken.sharp at artifex.com> 2010-07-15 07:33:04 UTC ---
(In reply to comment #4)

> One approach to fixing this is to add a member variable to the image state that
> stores the ctm related to the current form xobject.  This ctm would then be
> used as needed to be applied to any bounding boxes for the xobject.  The
> application of the ctm has be be delayed since otherwise this would cause
> problems for high level devices.
> Looking for some feedback on this issue from Ken, Ray and anyone else who wants
> to jump in.

I think I understand the problem. I haven't looked at the code in detail
though, and in particular not the data types available at the time, so I may be
talking rubbish.

Wouldn't it be possible to add the CTM to the object holding the Bounding Box
though ? That is, when the form is defined take a snapshot of the CTM and carry
it around along with the Bounding Box. I'm presuming the bounding box is not in
the imager state, which may not be true.

Maybe that's what you are suggesting above, but I read it to be the general
imager state.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list