You are probably experiencing the problem of page rotation. Although a page
may look landscape it can be represented as a protrait rotated 90 degrees or
as a page without rotation with the x and y dimensions switched. You can
check this with PdfReader.getPageRotation().

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Cyril Rognon [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 06, 2002 10:48
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] First page not landscape bug
> 
> Hi iTexters,
> 
> I am new to iText. I am using it as a companion to FOP wich is my pdf 
> generator.
> 
> I have been using it with no trouble at all for 1 month now.
> 
> recently, I just have dicovered some misfunction :
> 
> I have posted a bug about this :
> 
> I use iText to add a text on each page of a PDF. Everything works fine but
> 
> for one strange bug.
> 
> This bug affects  document with a first page in landscape orientation.
> 
> The pdf have been generated with FOP so I use only page size to provide 
> landscape/portrait. This mean that the page size of a landscape A4 page is
> 
> 842 by 595. Portrait pages A4 are 595 by 842.
> 
> When I use iText on the all landscape pdf, the first page is portrait 
> oriented. I think it is a bug, because when I have duplicated this first 
> page, only the first one is portrait oriented.
> 
> I have tried to set the pagesize by hand... no success.
> 
> My code uses the java code in the concat.java example.
> 
> Any idea ? Do you need more info to understand my problem ?
> 
> Thanks
> 
> Cyril
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to