[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] PdfInfo and Landscape

From: Matthias Kramm
Subject: Re: [Swftools-common] PdfInfo and Landscape
Date: Sun, 12 Dec 2004 08:15:46 +0100
User-agent: Mutt/1.5.6i

On Fri, Dec 03, 2004 at 03:43:01PM -0500, Mike McKinnon wrote:
> When running pdfInfo on landscape pdf's the bounding box sizes come up with
> x and y reversed.
> ie:  Document is x1:0 y1:0 x2:612 y2:792   <-   Dimensions of a 8x10 (letter
> page) in Portrait orientation
> Pdfinfo always shows this even when a doc is in landscape view.  x2 and y2
> should be reversed.  Now I dont
> think necessarily that this is a problem with pdfinfo, because in fact the
> dimensions ARE correct.  I was just
> wondering if perhaps Adobe keeps some orientation information in their PDF
> header that perhaps I could find,
> so I know wether to switch my coordinates appropriately

AFAIK, there's a "page matrix", which also transforms the bounding box.
(E.g. rotates it by 90 degrees)
Probably Derek (the xpdf and pdfinfo author) knows more about this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]