https://issues.apache.org/bugzilla/show_bug.cgi?id=48797
--- Comment #9 from Calixte Denizet <[email protected]> 2010-03-18 16:45:14 UTC --- (In reply to comment #8) > Calixte, do you want to send a patch? Maybe a clever refactoring of > PDFGraphics2D could actually improve things in a better way. Currently, the > clipping shape is established for every shape operation which is why this > probably has such a big effect on file size. The "disableClipping" is just a > work-around but is not really fixing the problem, it would seem. > I'm not sure that "disableClipping" is just a workaround... that depends of what you draw. In my case, the clipping shape is determinated as the bounding box of my datas, so I know that what I draw is always included in the clipping shape, so no need to check and to consume resources ! I agree with you when you don't really know what you draw : a solution could be to make the clipping on the Java side and to send the "clipped" object to the PS writer. If you want I can work on this solution and send you a patch, it could be an interesting feature... I'll look at PDFGraphics2D... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
