Summary: | SVG export image does not look like the actual diagram | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Barade <barade.barade> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.15.3 (KDE Applications 14.12.3) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/af8679befd1251475a4bcfdab5e6582a88d065d2 | Version Fixed In: | 2.16.3 (KDE Applications 15.04.3) |
Sentry Crash Report: | |||
Attachments: |
Class diagram
Class diagram as SVG Class diagram as BMP |
Description
Barade
2015-06-16 14:09:12 UTC
Created attachment 93195 [details]
Class diagram
Created attachment 93196 [details]
Class diagram as SVG
Created attachment 93197 [details]
Class diagram as BMP
Here are some observation results on linux with version 2.16.99 using Qt 4.8.5: 1. The font setting in the xmi file (interface.xmi -> Sans Serif,9) is transfered 1:1 into the svg file (interface.svg -> font-family="Sans Serif" font-size="9"). 2. Changing the class diagram font size to 10 point shows the same vertical position and size of the methods as the exported bmp file 3. The vertical positions of the exported svg file looks like generated using a 10 point high font but displayed with 9 point size. Git commit af8679befd1251475a4bcfdab5e6582a88d065d2 by Ralf Habacker. Committed on 16/06/2015 at 21:31. Pushed by habacker into branch 'Applications/15.04'. Fix 'SVG export image does not look like the actual diagram'. The with and height of the exported file need to match the font resolution to get what is displayed on the screen. FIXED-IN:2.16.3 (KDE Applications 15.04.3) M +4 -2 umbrello/umlviewimageexportermodel.cpp http://commits.kde.org/umbrello/af8679befd1251475a4bcfdab5e6582a88d065d2 |