DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30214>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30214 PSGraphics2D.drawImage incorrect matrix generated Summary: PSGraphics2D.drawImage incorrect matrix generated Product: Fop Version: 0.20.5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: images AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi The image in the postscript file is not transformed to the proper location. I traced it down to the following function call: PSGraphics2D.drawImage calls gen.concatMatrix(AffineTransform); to generate a matrix for an image. This writes (for example) [1 0 0 1 18 18] concat to the Postscript file. This is incorrect since the current scale is 1000 It should generate [1 0 0 1 18000 18000] concat By changing the line (gen.concatMatrix(AffineTransform);) to gen.writeln("[" + toArray(at) + "] concat"); the correct matrix is generated. BTW awesome program !