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 353433 - Export to PDF ignores page format
Export to PDF ignores page format
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.95
Other All
: Normal enhancement
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-29 17:02 UTC by Hugo Costelha
Modified: 2008-04-27 13:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hugo Costelha 2006-08-29 17:02:28 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:
Comment 1 Hans Breuer 2006-10-14 16:58:53 UTC
Yes, and the cairo based export filter is marked experimental. Clean patches accepted.
Comment 2 Hans Breuer 2008-04-27 13:42:25 UTC
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