[umbrello] [Bug 452879] New: SVG export text often stretches beyond rectangle (class diagram)

1234ab bugzilla_noreply at kde.org
Fri Apr 22 20:54:59 BST 2022


https://bugs.kde.org/show_bug.cgi?id=452879

            Bug ID: 452879
           Summary: SVG export text often stretches beyond rectangle
                    (class diagram)
           Product: umbrello
           Version: 2.33.2 (KDE releases 20.12.2)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: exporter
          Assignee: umbrello-devel at kde.org
          Reporter: nevenincs007 at gmail.com
  Target Milestone: ---

Created attachment 148308
  --> https://bugs.kde.org/attachment.cgi?id=148308&action=edit
original image (png export, looks like how it should)

SUMMARY
In the exported SVG image, the text often stretches beyond the box/rectangle,
or at least the last letter is on the edge.
I think this should be fixed somehow.


STEPS TO REPRODUCE
1. the classes I used for screenshots can be found here:
https://github.com/4321ba/Gameotry/tree/562dc9e23a6486353624ac7bc52972f148848c6c
2. export as png
3. export as svg

OBSERVED RESULT
they look very similar, however somehow the text in the svg files is a liittle
bit wider, so in the end they all look ugly
also I see that different viewers (gwenview, firefox) display fonts slightly
differently, but I think that having a larger place left on the right looks
much better than when the text just barely doesn't fit

EXPECTED RESULT
the text fits in the box well
I'll attach files
SOFTWARE/OS VERSIONS
Kubuntu 20.04, using the latest (2.32.2) snap

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list