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

Bug#779178: pdftopdf does not handle the landscape option correctly



On Sun 08 Mar 2015 at 21:00:25 +0900, Tomoo Nomura wrote:

> My god!
> The problem disappeared from current Jessie.
> I'm not sure when it did disappear.
> 
> I try to degrade the system to cups_1.7.1-12_amd64.deb and related
> packages, but I couldn't reproduce the problem.
> 
> Anyway, I tested on current Jessie.
> 
> 1. *LandscapeOrientation: Plus90
>   This made the problem.
> 
> 2.*LandscapeOrientation: Minus90
>   This made the desired result.

On Wheezy the direction of rotation for landscape is determined by
Plus90 (90 degrees CCW or 270 degrees CW) or Minus90 (90 degrees CW).
No *LandscapeOrientation means Minus90 is used.

However, pdftopdf on Jessie automatically rotates an image if its width
is greater than its height. A PDF of sample.odt is 684x297 so printing
it with either

  lp -d test sample.pdf

or

  lp -d test -o landscape sample.pdf

rotates the image by 90 degrees before putting it on paper. The
direction of rotation is influenced by the *LandscapeOrientation line.
Originally I did not realise this but all my subsequent tests 
tests show there is no deviation from Wheezy when auto rotate is used.

So it does not appear to me that there is a bug to be fixed in the
context of your original report. You also indicate a change for the
better here,

The situation when width is less than height (no auto rotation) and
printing with 'lp -d -o landscape <PDF> is still outstanding.

> PS. If I have to reproduce the problem, please tell me the exact
> versions of the related packages which you could reproduce on
> Jessie.

I do not think that will be necessary. Thank you for your help.

Regards,

Brian.


Reply to: