After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158549 - Windows font problem: Captions exceed the borders of UML objects
Windows font problem: Captions exceed the borders of UML objects
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: win32
0.94
Other Windows
: Normal major
: 0.96
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-17 10:49 UTC by Martin Gebert
Modified: 2007-08-07 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
WMF export showing font problem in windows (129.85 KB, video/x-ms-wm)
2004-11-17 10:51 UTC, Martin Gebert
Details
Example of boundary overflow (37.64 KB, image/png)
2005-04-27 23:41 UTC, Mark Woodson
Details
UML package in dia 0.95-pre7 on win32 (1.87 KB, image/png)
2006-04-10 13:21 UTC, W. Martin Borgert
Details
UML package 0.95-pre7 WMF imported into OpenOffice Impress (1.08 KB, image/png)
2006-04-10 13:22 UTC, W. Martin Borgert
Details
describes the cross platform issue with font sizes (28.92 KB, image/png)
2006-11-06 18:28 UTC, Nik Martin
Details

Description Martin Gebert 2004-11-17 10:49:40 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.
Comment 1 Martin Gebert 2004-11-17 10:51:36 UTC
Created attachment 33876 [details]
WMF export showing font problem in windows
Comment 2 Mark Woodson 2005-04-27 23:40:14 UTC
I am experiencing the same problem on Windows XP SP1 with default fonts.  Text
exceeds borders on UML Classes.
Comment 3 Mark Woodson 2005-04-27 23:41:56 UTC
Created attachment 45762 [details]
Example of boundary overflow
Comment 4 Torben H. Nielsen 2006-03-05 19:37:19 UTC
Can not reproduce this problem with 0.95-pre3 on a WinXP-SP2
Comment 5 W. Martin Borgert 2006-04-10 13:21:37 UTC
Created attachment 63107 [details]
UML package in dia 0.95-pre7 on win32
Comment 6 W. Martin Borgert 2006-04-10 13:22:35 UTC
Created attachment 63109 [details]
UML package 0.95-pre7 WMF imported into OpenOffice Impress
Comment 7 W. Martin Borgert 2006-04-10 13:24:09 UTC
Comment on attachment 63107 [details]
UML package in dia 0.95-pre7 on win32

The problem persists in 0.96-pre7
Comment 8 W. Martin Borgert 2006-04-10 13:45:25 UTC
Comment on attachment 63107 [details]
UML package in dia 0.95-pre7 on win32

Sorry: 0.95-pre7, not 0.96-pre7!
Comment 9 Nik Martin 2006-11-06 18:27:41 UTC
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.

Comment 10 Nik Martin 2006-11-06 18:28:50 UTC
Created attachment 76104 [details]
describes the cross platform issue with font sizes
Comment 11 Lars Clausen 2006-12-27 18:52:12 UTC
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.
Comment 12 Steffen Macke 2007-08-07 17:18:13 UTC
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.