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

1234ab <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=452879

--- Comment #7 from 1234ab <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.