netbeans export svg uml diagram bug with openjdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netbeans Core |
Confirmed
|
Unknown
|
|||
netbeans (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netbeans
up to date Kubuntu 8.10 with KDE 4.1.4
NetBeans IDE 6.1 (Build 080905)
Java: 1.6.0_0; OpenJDK Client VM 1.6.0_0-b12
System: Linux version 2.6.27-14-generic running on i386; UTF-8; fr_FR (nb)
Netbeans IDE does not export UML state diagram correctly into SVG format. The shapes and arrows in the diagram seem to be correctely rendered but the texts are moved outside the image bounding box. Export in JPG or PNG are OK.
In inkscape, one can correct the SVG manually by flipping vertically the texts twice: first, flip the group of text, and second, flip individually. see file "test-openjdk.svg"
Workaround: use sun-java6
I might better report this bug under openjdk but I am not sure of the export process in netbeans...
1. Add sun-java6 from the menu "Tools/Java Platforms"
2. Change the default jdk by editing /etc/netbeans.conf in order to use sun-java6:
netbeans_
3. export again the same state diagram in SVG. The obtained SVG file is correct. see file "test-sun-
Changed in netbeans: | |
status: | Unknown → Confirmed |
Please file this into NetBeans Issuzilla at netbeans.org. Or if you cannot let me know I will do it.