[poppler]  [PATCH] pdftocairo rotation different than pdftops

Pierre-Luc Samuel Pierre-Luc.Samuel at ticketmaster.com
Tue Jul 12 20:29:33 UTC 2016


Hi all,

I have attached a patch that fixes the rotation in the pdftocairo case.  
I found out that the bug was only present for PDF that where page size 
width is greater than height. (seem related to 
https://bugs.launchpad.net/inkscape/+bug/437550 )

This unifies behavior with pdftops.  Please consider merging!  All unit 
tests still pass.

Thanks,
Pierre-Luc

On 07/12/2016 12:27 PM, Pierre-Luc Samuel wrote:
> Hi all,
>
> I've been experimenting with using pdftocairo as a replacement to 
> pdftops, but I am encountering a bug with document rotation.
>
> "pdftops" respects rotations
> "pdftocairo -ps" has correct 90 and 270 degrees, but 0 and 180 degrees 
> are inverted.  Files attached.
>
> I have some time to investigate this, but do you guys think it would 
> be a poppler bug or a libcairo bug?
>
> Thanks,
> Pierre-Luc
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20160712/a1c8b1ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pdftocairo-Fix-rotation-of-landscape-documents-for-p.patch
Type: text/x-patch
Size: 944 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20160712/a1c8b1ac/attachment.bin>


More information about the poppler mailing list