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

1234ab bugzilla_noreply at kde.org
Sun Apr 24 20:41:40 BST 2022


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

--- Comment #7 from 1234ab <nevenincs007 at gmail.com> ---
after quite a bit of clicking, I found the method we'd need to override, though
it doesn't seem easy
https://code.woboq.org/qt5/qtsvg/src/svg/qsvggenerator.cpp.html#_ZN15QSvgPaintEngine12drawTextItemERK7QPointFRK9QTextItem
in this method we could add the 2 tags (textLength and lenghAdjust), and the
actual length could be gotten like this:
https://code.woboq.org/qt5/qtbase/src/gui/painting/qpainter.cpp.html#6492
(`ti.width`), though maybe it needs to be transformed somehow

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


More information about the umbrello-devel mailing list