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 376662 - PNG(libart) makes lines too thick
PNG(libart) makes lines too thick
Status: RESOLVED DUPLICATE of bug 147386
Product: dia
Classification: Other
Component: exports
0.95.1
Other Windows
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-18 14:20 UTC by Tuukka Virtaperko
Modified: 2007-10-30 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Source diagram (1.14 KB, application/octet-stream)
2007-10-28 22:33 UTC, Daniel Thaler
Details
Resulting image after export (7.55 KB, image/png)
2007-10-28 22:34 UTC, Daniel Thaler
Details

Description Tuukka Virtaperko 2006-11-18 14:20:38 UTC
The export function is buggy:
1. I have to surround my drawings with white lines because otherwise export may cut off parts of the lines that are at the border of the drawing, making those lines thinner than they're supposed to be.
2. If I have many lines perfectly on top of each other, and the width seems normal in the editor, when I export the drawing these lines are actually thicker than they're supposed to be.
3. Export may cut off parts of fonts. For example I had a text that said "ABSTRACT" and the leftmost pixel column of the left A of the did not appear.
4. If I have a horizontal line A that ends to a vertical line B, export makes it seem as if line A would continue beyond line B for a very short distance, even though it doesn't. I did lock the lines to each other. I haven't tested this with line A being vertical and B being horizontal.

Of course this is just cosmetic stuff, but still these bugs make the drawings look unprofessional.

Idea: an invisible box would be practical, so that it couldn't be seen but you could lock text or other objects to it.

I think Dia is the best free application of this sort out there. I'll be happy if you keep on developing it!
Comment 1 Tuukka Virtaperko 2006-11-18 14:25:18 UTC
Oh, and I have been exporting to Portable Network Graphics.
Comment 2 Lars Clausen 2006-12-02 19:25:16 UTC
Could you attach some sample diagrams that display these issues?  It may be that line width isn't properly calculated into page size, but can't reproduce any of it.
Comment 3 Daniel Thaler 2007-10-28 22:29:32 UTC
I'm seeing the same problem.

All diagrams that are exported to png get cropped too aggressively. There's only maybe 1 or 2 pixels missing from each side, but it makes the diagram look odd.

I'm attaching a diagram + exported image that shows the problem.
Comment 4 Daniel Thaler 2007-10-28 22:33:26 UTC
Created attachment 98053 [details]
Source diagram
Comment 5 Daniel Thaler 2007-10-28 22:34:47 UTC
Created attachment 98054 [details]
Resulting image after export
Comment 6 Lars Clausen 2007-10-29 06:57:24 UTC
This is possibly related to 147386 (in particular your point 3), but not necessarily the same.  It's a nice example, though.   Your point 4 seems to not be a problem in 0.96.1.  Your point 1 is fixed in current SVN.  If you can give me an example of your point 2, I can see if that's still around, otherwise I consider this a dup of 147386.
Comment 7 Daniel Thaler 2007-10-29 18:59:48 UTC
Note: I'm not the original reporter; I just added my comment here as I was seeing issue #1. #2 may or may not still exist, but I've never noticed it.

Since you say #1 is fixed you might as well close the bug; the original reporter appears to have vanished.
Comment 8 Lars Clausen 2007-10-30 18:34:13 UTC

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