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 598888 - PNG export cuts diagram on sides
PNG export cuts diagram on sides
Status: RESOLVED DUPLICATE of bug 455651
Product: dia
Classification: Other
Component: exports
0.97
Other Windows
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-19 03:08 UTC by Mario Valle
Modified: 2009-11-08 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The diagram and its png export (38.39 KB, application/zip)
2009-10-19 03:08 UTC, Mario Valle
Details
The bug appears with the text (6.26 KB, application/dia)
2009-10-24 05:47 UTC, Mario Valle
Details

Description Mario Valle 2009-10-19 03:08:30 UTC
Created attachment 145760 [details]
The diagram and its png export

Sometimes, see attached example, the export to png-antialiased cuts part of the
diagram on the sides.
Comment 1 Hans Breuer 2009-10-23 17:57:09 UTC
Haven't checked on Vista yet (assuming Vista or Seven due to the reference to font "Calibri") but I guess this happens with all bitmap exporters, i.e. I'm assuming the issue to be bounding box releated.

Can you eloborate on the "sometimes" a bit? Mabye it always manifests itself when using Calibri, but not otherwise?
Comment 2 Mario Valle 2009-10-24 05:47:37 UTC
Created attachment 146148 [details]
The bug appears with the text

As said, on Vista with the text the curve of the left is "shaved" by 2 or 3 pixels. Without the text everything is ok.
Comment 3 Mario Valle 2009-10-24 05:49:56 UTC
Right on the spot!
On Windows Vista the attached diagram, exported as png-antialiased, has the left curve missing a piece in its leftmost part. If you remove the text, the curve exports correctly.
Comment 4 Hans Breuer 2009-11-08 12:13:09 UTC
text specific bounding box issue is already reported as bug #455651, I'm going to update that.

*** This bug has been marked as a duplicate of bug 455651 ***