Re: [JPP-Devel] About Openjump SaveImageasSVG (and other vector formats)

2007-06-09 Thread Sascha L. Teichmann
Hi Giuseppe, interesting library. To integrate it with OpenJUMP should work the same way as Stefan's Save/SVG plug-in (Graphics2D context). Therefore writing a plug-in should be easy (I had a quick look at the FreeHEP's JavaDocs). I think it would be worthwhile to evaluate its potential and see i

Re: [JPP-Devel] About Openjump SaveImageasSVG (and other vector formats)

2007-06-09 Thread Giuseppe Aruta
Hei Sascha, I found this interesting site: http://java.freehep.org/vectorgraphics/index.html "The VectorGraphics package of the FreeHEP Java Library enables any Java program to export to a variety of vector graphics formats as well as bitmap image formats. Among the vector formats are PostScript,

Re: [JPP-Devel] About Openjump SaveImageasSVG

2007-06-08 Thread Stefan Steiniger
I never tried the wkt fill pattern, I welcome if you want to add your improvements to the plugin :) stefan Sascha L. Teichmann schrieb: > Stefan, > > If you like I can apply some of the Print/Layout > improvements to SaveImageAsSVGPlugIn. > > Rounded/truncated are one problem. > Have you ever

Re: [JPP-Devel] About Openjump SaveImageasSVG

2007-06-08 Thread Sascha L. Teichmann
Stefan, If you like I can apply some of the Print/Layout improvements to SaveImageAsSVGPlugIn. Rounded/truncated are one problem. Have you ever tried to save a SVG via SaveImageAsSVGPlugIn with (WKT) fill patterns on the map enabled? By now the fill patterns get lost or are replaced by a simple f

Re: [JPP-Devel] About Openjump SaveImageasSVG

2007-06-08 Thread Stefan Steiniger
Hei Sascha it is just one file and very very simple code (compared to your plugin): org.openjump.core.ui.plugin.file.SaveImageAsSVGPlugIn i did not even make it by myself.. i just merged some stuff by two different people stefan Sascha L. Teichmann schrieb: > Hi Guiseppe! > > Which version o

Re: [JPP-Devel] About Openjump SaveImageasSVG (and a question) - Giuseppe Aruta

2007-06-08 Thread Stefan Steiniger
Hei, thats a good question. But i guess the problem of WMF is, that it is a closed format (microsoft windows only). I also believe that it can contain raster as well as vector graphics and may be other media too. The size difference is probably due to the binary stoarge format. SVG is stored

Re: [JPP-Devel] About Openjump SaveImageasSVG (and a question) - Giuseppe Aruta

2007-06-08 Thread Giuseppe Aruta
Thanks Stephan, I think I solve the problem using Inkscape to draw again the symbols I mìssed, I will try the Cadplan Printlayout plugin and see what happens. I have a question, northing connected to Openjump develop, but a curisity. In some drawing software, exporting to WMF/EMF gives good vecto

Re: [JPP-Devel] About Openjump SaveImageasSVG

2007-06-08 Thread Sascha L. Teichmann
Hi Guiseppe! Which version of OpenJUMP do you use? 1.2b? We've integrated a tweak to OpenJUMP (Viewport.setJava2DConverter()) a while ago to make it possible to have accurate vertices. The Print/Layout plug-in uses this mechanism and so the problem should _not_ appear if you use it with OpenJUMP

Re: [JPP-Devel] About Openjump SaveImageasSVG

2007-06-08 Thread Stefan Steiniger
Hei Guiseppe, the problem comes from the screen resolution. The points/objects are distorted to enable a faster rendering. For the things you want, one needs a specific (new) export tool that does not depend on the screen resolution. furthermore there is another limit in the tool which is prob