GNOME Bugzilla – Bug 158549
Windows font problem: Captions exceed the borders of UML objects
Last modified: 2007-08-07 17:18:13 UTC
While OK in the document view, captions in UML objects are longer than the width of the object in exports and hardcopies. See attached WMF export.
Created attachment 33876 [details] WMF export showing font problem in windows
I am experiencing the same problem on Windows XP SP1 with default fonts. Text exceeds borders on UML Classes.
Created attachment 45762 [details] Example of boundary overflow
Can not reproduce this problem with 0.95-pre3 on a WinXP-SP2
Created attachment 63107 [details] UML package in dia 0.95-pre7 on win32
Created attachment 63109 [details] UML package 0.95-pre7 WMF imported into OpenOffice Impress
Comment on attachment 63107 [details] UML package in dia 0.95-pre7 on win32 The problem persists in 0.96-pre7
Comment on attachment 63107 [details] UML package in dia 0.95-pre7 on win32 Sorry: 0.95-pre7, not 0.96-pre7!
I can also confirm this issue, and it presents itself for me as a cross platform issue. I create a diagram in Linux, then try to open it on my laptop running Windows XP, I get the behavior described, as well as all the connectors are no longer connected, because the size of the class container has changed to fit the font. Screenshot attached.
Created attachment 76104 [details] describes the cross platform issue with font sizes
There is decidedly a cross-platform issue here -- if two platforms don't have the same fonts for Sans/Serif/Monospace, they will get different sized texts. The text rendering update in 0.96-pre1 solves this problem intra-platform. I don't think the WMF renderer is updated to fix this, though.
I think this problem was resolved in the meantime. At least I'm not able to reproduce it any more using Dia 0.96.1 on Windows 2000. If I'm wrong, please reopen the bug.