GNOME Bugzilla – Bug 381241
Error in dia 0.95-1 importing dia file from dia 0.95
Last modified: 2007-03-17 13:31:35 UTC
While working on a study project at aalborg university we encount a bug which prevent us from importing a dia diagram made by 0.95 (on ubuntu edgy) in dia 0.95-1(on windows). Two diagrams are attached, the original and how it looks after imported in dia 0.95-1, both uncompressed xml. A note should be that we can import the diagram in dia 0.94 (on windows) but get some errors.
Created attachment 77480 [details] The diagram after being opened on windows and saved again Maybe see diff diagram.dia diagram_win.dia
Created attachment 77481 [details] Original diagram made by dia 0.95 on ubuntu edgy
Does not seem to be reported on ubuntu launchpad: https://bugs.launchpad.net/products/dia/+bugs
This is because font rendering on Windows and Linux doesn't yield the same widths, not even necessarily if the same fonts are installed, and very unlikely when using abstract fonts like "sans" that may map to different things. No usable idea for how to fix this yet.
Okay, but it seem strange that it looks fine when imported with dia 0.94 on windows... Has the font rendering on windows changed from 0.94 to 0.95?
Yes, and it also has changed between dia-0.95 and 0.96 under Linux. See bug #396504 *** This bug has been marked as a duplicate of 108293 ***