org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
It appears the only place it sets the page size is in the setupDocument method which also writes the characters to initialize the PDF. I want to be able to put a portrait page and a landscape page in the same document, which sort of works if I call that method but it has those extra characters

Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Jeremias Maerki
Here you go: http://svn.apache.org/viewvc?rev=1188123view=rev In addition to nextPage(), there is now also a nextPage(width, height) for changing the size of the following pages. On 24.10.2011 14:29:23 Eric Douglas wrote: It appears the only place it sets the page size is in the setupDocument

RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
. -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Monday, October 24, 2011 8:46 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Here you go: http://svn.apache.org/viewvc?rev=1188123view=rev

Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
, 2011 8:46 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Here you go: http://svn.apache.org/viewvc?rev=1188123view=rev In addition to nextPage(), there is now also a nextPage(width, height) for changing the size

RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
, October 24, 2011 8:46 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Here you go: http://svn.apache.org/viewvc?rev=1188123view=rev In addition to nextPage(), there is now also a nextPage(width, height) for changing the size

RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
, October 24, 2011 9:28 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Hi Eric, Could you put up which unit tests are failing. Another user is having a similar issue. Thanks Mehdi On 24 October 2011 14:05, Eric Douglas edoug

Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, October 24, 2011 9:28 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Hi Eric, Could you put up which unit tests are failing. Another user is having a similar

RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
, serif. -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, October 24, 2011 3:38 PM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Curious... The other user was complaining of the same issue

Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
. -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, October 24, 2011 3:38 PM To: fop-dev@xmlgraphics.apache.org Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size? Curious... The other user was complaining of the same issue