GNOME Bugzilla – Bug 353433
Export to PDF ignores page format
Last modified: 2008-04-27 13:42:25 UTC
Please describe the problem: There seems to be some kind of relation between the page format and the PDF export, but it has nothing to do with what is displayed or exported when using other export plugins. What is shown in the diagram editor concerning the page format is not the format the diagram is exported to when using PDF export. Steps to reproduce: 1. Create a diagram 2. Change the Scaling in Page Setup to fit 1 by 1 3. Export the diagram into PDF (Cairo Portable Document Format) Actual results: Sometimes the diagram is very, very small, sometimes it is very, very big. It is never fit to the page. Expected results: The exported diagram in PDF format should occupy the same space in the exported sheet as seen in diagram editor (through the page border guides). On a 1 by 1 fit, the diagram should occupy and fit on an entire page. Does this happen every time? Yes Other information:
Yes, and the cairo based export filter is marked experimental. Clean patches accepted.
No patch necessary anymore (: 2008-03-08 Hans Breuer <hans@breuer.org> * plug-ins/cairo/diacairo-print.c : use the cairo renderer for integration with the Gtk+ print framework * plug-ins/cairo/diacairo.c : gtk-print implementation for paginated output of PDF (bug #513226) and register for printing, also ... plug-ins/cairo/diacairo-renderer.c : ... split off the renderer implmentation in it's own file. Some tweaking for use in the print context. * plug-ins/cairo/diacairo.h : calback function to be registered in the menu (later to replace native printing?) * plug-ins/cairo/Makefile.am plug-ins/makefile.msc : adapted