GNOME Bugzilla – Bug 531687
Too much white pages printed
Last modified: 2008-05-10 19:17:48 UTC
Please describe the problem: I have a dia document with only one diagram on one page. Scale is 100.0 and the diagram takes a whole unique page. If I want to print it, 5 white pages are "printed" in addition. Steps to reproduce: 1. load the document 2. print it Actual results: I have one correctly printed page with my diagram and 5 other white pages. Expected results: Only one printed page with my diagram. Does this happen every time? yes Other information:
Created attachment 110446 [details] My dia document The problematic dia document.
The diagram includes a bunch of empty text objects which were growing the layers bounding box. One way to fix the output would be to delete these objects (see bug #99375). But the probably better way just got commited to SVN: 2008-05-10 Hans Breuer <hans@breuer.org> * lib/diagramdata.c(layer_update_extents) : don't consider empty objects for the overall extents. Fixes bug #531687 and lowers priority of bug #99375. * plug-ins/wmf/wmf.cpp : don't assume pango_context_load_font() can not fail. It does for font descriptions pointing to fonts not available on the particular system.
Thank you for this quick solution. I will wait the next ubuntu's updates of dia impatiently :)