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 116098 - UML to SVG, Text is too long and goes out of bound
UML to SVG, Text is too long and goes out of bound
Status: RESOLVED DUPLICATE of bug 316590
Product: dia
Classification: Other
Component: exports
0.91
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-06-27 10:46 UTC by Ken W.K. Lee
Modified: 2007-10-27 08:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ken W.K. Lee 2003-06-27 10:46:01 UTC
Scenario: In Dia, create a UML class diagram, and name this class as say,
"TokenizedTable". Then add one operator "getType" with return value "const
string &". This operator should become a text "+getName(): const string"
inside the class diagram. Now export the diagram to SVG, and open that SVG
file again by Dia. The text "+getName(): const string " may be too long to
fit into the class diagram. 

The following is an exported SVG file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="10cm" height="3cm" viewBox="2 1 10 3">
<rect style="fill: #ffffff" x="2.7" y="1.35" width="9.7" height="1.4"/>
<rect style="fill: none; stroke-width: 0.1; stroke: #000000" x="2.7"
y="1.35" width="9.7" height="1.4"/>
<text style="fill: #000000; text-align: center; font-size: 1" x="7.55"
y="2.35">TokenizedTable</text>
<rect style="fill: #ffffff" x="2.7" y="2.75" width="9.7" height="0.4"/>
<rect style="fill: none; stroke-width: 0.1; stroke: #000000" x="2.7"
y="2.75" width="9.7" height="0.4"/>
<rect style="fill: #ffffff" x="2.7" y="3.15" width="9.7" height="1"/>
<rect style="fill: none; stroke-width: 0.1; stroke: #000000" x="2.7"
y="3.15" width="9.7" height="1"/>
<text style="fill: #000000; text-align: left; font-size: 1" x="2.85"
y="3.9">+getName(): const string </text>
</svg>
Comment 1 Owen Lawrence 2005-08-09 18:20:55 UTC
This still occurs in v0.94, Windows version.  The severity of this bug should 
be changed to something other than enhancement (i.e. normal).
Comment 2 zaphod 2006-03-08 08:37:07 UTC
Confirmed. Font differs from dia source after exporting to svg (depending on the source font properties). Used viewers: inkscape, gqview, kivio.
Comment 3 Lars Clausen 2007-10-27 08:50:27 UTC

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