You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nebula currently handles SVG inside the o.e.n.cwt project. We would like to extract these classes into their own project and make the SWT/SVG library as complete as possible.
AFAI could find, there are no real independent SVG implementations for SWT.
People use Batik to render SVG into an image and then display this image inside an SWT canvas.
How about embed JFreeSVG with SWT/AWT bridge ?
Another idea : embed a JavaFX WebView ?
Wim Jongman
I'm looking for a native SWT implementation. Edward expressed interest in working on this. Edward, let me know if you need
some pointers to get started.
Laurent CARON
I think a mix between JFreeSVG & SWT/AWT should be reasonable.
Stay tuned ;)
Edward Francis
Wim, I am interested. I've never contributed to anything like this, so I am definitely interested in some pointers. Thanks.
Wil jongman
Hey Edward, sorry for the delay.
If you take a look at the filestructure of Nebula, you will see that each project has its own directory inside the widgets directory.
I think for now, we can create a new project o.e.nebula.cwt.svg inside the CWT widget that will be used to isolate the SVG code.
Then we will need to add this new project to the CWT feature.
Laurent CARON
I worked on the subject. Unfortunately, JFreeSVG can only output SVG documents, it cannot render existing SVG files within Java application.
If one wants to display SVG files in Java, the only solution is Apache Batik (SVGSalamender [1] is not an alternative because it has not been updated for years).
I'll work on a SWT Control that embeb a Batik Control viewer (with SWT/AWT).
Is there any legal issues ? (Apache Licence VS EPL 2) ?
Copy of https://bugs.eclipse.org/bugs/show_bug.cgi?id=566565
Nebula currently handles SVG inside the o.e.n.cwt project. We would like to extract these classes into their own project and make the SWT/SVG library as complete as possible.
AFAI could find, there are no real independent SVG implementations for SWT.
People use Batik to render SVG into an image and then display this image inside an SWT canvas.
GMF has some support [1]
Java Swing/AWT implementation [2]
[1] https://git.eclipse.org/c/gmf-tooling/org.eclipse.gmf-tooling.git/tree/plugins/org.eclipse.gmf.runtime.lite.svg/src/org/eclipse/gmf/runtime/lite/svg
[2] https://github.com/jfree/jfreesvg
Laurent CARON
Wim Jongman
Laurent CARON
Edward Francis
Wil jongman
Laurent CARON
Wim Jongman
The text was updated successfully, but these errors were encountered: