[Poppler-bugs] [Bug 94655] Scale-to arguments not working in some cases

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 29 02:39:35 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94655

--- Comment #1 from Jason Crain <jason at aquaticape.us> ---
Created attachment 122599
  --> https://bugs.freedesktop.org/attachment.cgi?id=122599&action=edit
Calculate rotation before scaling

(In reply to Stephen E. from comment #0)
> I have encountered some strange PDF files which seem to cause pdftocairo and
> pdftoppm to scale incorrectly with the -scale-to-x and -scale-to-y CLI
> arguments.

PDF's page rotation is screwing up the scale calculation.  PDF specifies
/Rotate 270.  Attached patch fixes it by moving the scale calculation to after
the rotation calculation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160329/0b4816d7/attachment.html>


More information about the Poppler-bugs mailing list