xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42136] PDFDocumentGraphics2D.translate() does not work correctly with multiple pages
Date Fri, 07 May 2010 07:31:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42136

Julien Aym <julien.ayme@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.93                        |0.95

--- Comment #1 from Julien Aym <julien.ayme@gmail.com> 2010-05-07 03:31:55 EDT ---
Hi,
This bug main cause is that the page is not initialized until a draw method is
called.

One solution could be to explicitly allow to call preparePainting() or
startPage() (make the method public with a special warning on the javadoc: you
have to know what you're doing).

Another solution would be to add a paragraph in the PDFDocumentGraphics2D
javadoc that a dummy call to any draw method is required to initialize the
current page and to allow subsequent transformation (any AffineTransform).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message