[Bug 350481] [NEW] netbeans export svg uml diagram bug with openjdk

jolay besoa.rabenasolo at online.fr
Sat Mar 28 18:35:34 UTC 2009


Public bug reported:

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_jdkhome="/usr/lib/jvm/java-6-sun"
3. export again the same state diagram in SVG. The obtained SVG file is correct. see file "test-sun-java6.svg"

** Affects: netbeans (Ubuntu)
     Importance: Undecided
         Status: New

-- 
netbeans export svg uml diagram bug with openjdk
https://bugs.launchpad.net/bugs/350481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list