[Uml-devel] [Bug 90103] Font sizing is wrong when sharing diagrams

Peter Soetens peter.soetens at mech.kuleuven.be
Sun Oct 16 03:47:46 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=90103         




------- Additional Comments From peter.soetens mech kuleuven be  2005-10-16 12:45 -------
This bug is/may be caused by the fact that font sizes are stored in the xmi file as 'dpi' values and lines are stored as 'pixel' values. A change of resolution leads to inconsistent scaling since the pixel values end up at different places due to pixels/inch changes. The only solution is to store the resolution at which a drawing was made and convert stored pixel values from old to new resolution. To improve printing quality, we could store any file at a 'virtual' resolution of 600 dpi while diplays will show only 100 or 75 dpi and printers at 300 or 600.
Some 'wrapper' function is required which converts pixels correctly on save/load. Seems to be do-able.




More information about the umbrello-devel mailing list