[Uml-devel] [Bug 111088] EPS diagram export not the same as the diagram itself

Peter Soetens peter.soetens at mech.kuleuven.be
Sun Aug 28 12:38:56 UTC 2005

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

------- Additional Comments From peter.soetens mech kuleuven be  2005-08-28 14:45 -------
The proposed patch is not perfect and the original bug may need an alternate way of fixing. The remaining problem with this patch is that the bounding box of the EPS is too large (wrongly calculated, it takes the screen viewport size !?) thus the drawing is mostly somewhere in the left top corner. Don't have enough XP with QPainter/QPrinter to see how to properly fix it. I propose we look at other KDE projects which export EPS from figures (there are lots).
The fundamental problem though is that lines/widget dimensions are 'stored' in pixels, while fonts in dpi. Generating a drawing on another resolution (ie printer, eps) than the screen resolution skews font-widget metrics, hence cause this bug report. The patch above fixed that by rendering the EPS at screen resolution.

More information about the umbrello-devel mailing list