After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598399 - Exporting pdf in landscape rotates page by 90 degree (plus renderer regressions)
Exporting pdf in landscape rotates page by 90 degree (plus renderer regressions)
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.97
Other All
: Normal normal
: 0.98
Assigned To: Dia maintainers
Dia maintainers
: 632660 637046 696128 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-14 11:38 UTC by Johannes Reisinger
Modified: 2013-03-20 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
attempt to make pdf show as landscape (1.87 KB, patch)
2009-11-07 17:39 UTC, Hans Breuer
needs-work Details | Review
don't rotate pdf landscape - rebased to git master (7.12 KB, patch)
2010-12-28 09:26 UTC, Adrian Johnson
none Details | Review

Description Johannes Reisinger 2009-10-14 11:38:29 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.
Comment 1 Hans Breuer 2009-11-07 17:39:04 UTC
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.
Comment 2 Adrian Johnson 2009-12-24 02:43:13 UTC
This is a bug in gtk+ (bug 599401).
Comment 3 post04 2010-03-09 13:26:12 UTC
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)
Comment 4 Hans Breuer 2010-03-09 20:01:03 UTC
No one is questioning this is a bug, just nagging does not help it getting fixed.
Comment 5 post04 2010-03-09 21:13:59 UTC
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?
Comment 6 Hans Breuer 2010-03-09 21:33:58 UTC
Sure, whatever you say ...
Comment 7 Hans Breuer 2010-12-11 19:44:07 UTC
*** Bug 637046 has been marked as a duplicate of this bug. ***
Comment 8 Hans Breuer 2010-12-12 11:58:38 UTC
Applying the patch from bug #599401 will resolve this issue.
Comment 9 Adrian Johnson 2010-12-28 09:26:14 UTC
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.
Comment 10 Adrian Johnson 2010-12-28 09:29:58 UTC
(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.
Comment 11 Hans Breuer 2011-06-26 12:36:24 UTC
*** Bug 632660 has been marked as a duplicate of this bug. ***
Comment 12 Hans Breuer 2011-06-26 12:38:43 UTC
Bug 632660 - pdf-export neglects rounded corners
is to be solved by the same Gtk+ patch, it is causing some strange rendering regressions
Comment 13 Hans Breuer 2011-07-10 21:25:59 UTC
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
Comment 14 Hans Breuer 2013-03-20 22:02:06 UTC
*** Bug 696128 has been marked as a duplicate of this bug. ***