GNOME Bugzilla – Bug 598399
Exporting pdf in landscape rotates page by 90 degree (plus renderer regressions)
Last modified: 2013-03-20 22:02:06 UTC
When I export a drawing as pdf (Cairo Portable Document Format) with page orientation set to 'landscape', the resulting PDF is shown (in Adobe Reader) with 'portrait' orientation, that is, I have to rotate the view by 90° counterclockwise.
Created attachment 147174 [details] [review] attempt to make pdf show as landscape Attached my attempt to fix the issue. Unfortunately it feels a lot like fighting the gtk+ print API. Maybe I'm still doing something wrong or gtk+ should be improved.
This is a bug in gtk+ (bug 599401).
I can confirm this. Every time I make a drawing, choose landscape format, then the page is rotated as described by the original poster. I only make drawings in landscape format, and I can't send PDF files to anyone using export -> cairo PDF. I hope you can fix this. 0.97-1, Windows (I can't install PDF makers on machines at work)
No one is questioning this is a bug, just nagging does not help it getting fixed.
Who is nagging? Why call the above nagging? This issue has the status "UNCONFIRMED", so I reported my problems as well. Wouldnt it be more logic to change the status instead of insulting new users who went through the trouble of registrering here, trying to help?
Sure, whatever you say ...
*** Bug 637046 has been marked as a duplicate of this bug. ***
Applying the patch from bug #599401 will resolve this issue.
Created attachment 177120 [details] [review] don't rotate pdf landscape - rebased to git master I've rebased the patch to git master and successfully tested with cairo 1.10.2 cairo git master. The problem referred to in comment 3 has been fixed in cairo.
(In reply to comment #9) > Created an attachment (id=177120) [details] [review] > don't rotate pdf landscape - rebased to git master > > I've rebased the patch to git master and successfully tested with cairo 1.10.2 > cairo git master. The problem referred to in comment 3 has been fixed in cairo. Oops wrong bug. This comment was intended for bug 599401.
*** Bug 632660 has been marked as a duplicate of this bug. ***
Bug 632660 - pdf-export neglects rounded corners is to be solved by the same Gtk+ patch, it is causing some strange rendering regressions
No need to wait for bug 599401 anymore, Dia now does PDF export without the help of GtkPrint: http://git.gnome.org/browse/dia/commit/?id=b561d498fc018e2faea43dcf545d94e78340fa7b
*** Bug 696128 has been marked as a duplicate of this bug. ***