On 2006-December-02 , at 17:20 , Denis Leroy wrote:
Hi! Thanks for the feedback.
jiho wrote:
- pdf input was done by pdf > ps > skencil > svg and this gave
better results that pdf > ps > svg via pstoedit (namely: it keeps text as text and does not convert it to shapes).
But isn't this only a matter on how the postscript is created (from pdf in your example) ? I had no issue on my side, as long as the postscript itself has a text section. You can also force pstoedit to never "draw fonts" with -ndf. I created my postscript example with dia. Note that dia can export to postscript in 2 ways: one of them involves pango and generates postscript with only vector data. In that case obviously, you can't expect pstoedit to 'OCR' the postscript and recreate a text section :-). Note that i'm no postscript or svg expert, so please correct me if i said something silly.
actually I don't really know about that, I was just repeating what was said on the list ;-) here is the original message: http://sourceforge.net/mailarchive/message.php?msg_id=14122051
- the plot-svg device is not available in all releases of
pstoedit. In particular previous versions of FC included an version which required to install a other package -plotutils I think- to get plot-svg and plotutils was not a required dependency of pstoedit.
Well i also maintain pstoedit and plotutils so that makes it easier for me. Plotutils is present in Fedora since FC-5.
I would recommend to:
- test if the results are similar for eps and ps input (the only
two input formats which depend on org.inkscape.input.ps now) with skconvert and pstoedit
Ok i did that. I tried 2 alternative methods :
- using pstoedit plot-svg output. It works fine, but when I import
the EPS onto inkscape, the created object is very very very small. Actually you can't even see it on screen, you have to select all and increase its size. Why would that be ? is it because of my dia- created EPS test file ?
- using fig as an intermediate step, using transfig. This is an
easier dependency to work with as transfig is fairly small, even compared to plotutils. This also work, but now i have to opposite problem: the imported EPS is gigantic on the inkscape screen, i have to zoom out a bunch and scale it back. Pretty annoying.
I had "similar" problems when using pstoedit and some ps produced by scientific packages: Inkscape displayed the converted file correctly but anything I draw on it was huge and zooming produced strange results. From the little I investigated it was related to a zoom factor included in the svg by pstoedit. Copy-pasting the svg in a new Inkscape document solved the problem. Does this work for you too? As the svg was displayed fine it was not really a bug in pstoedit. Inkscape took the zoom factor into account so this was not a bug there either. If you can find a real zoom related bug this could be a good start to get this working correctly. I still have all the test files for my "bug".
- collect information on which versions of pstoedit are shipped
now and check if they include plot-svg
Since FC-5, we ship pstoedit 3.44 and plotutils 2.5, the latest versions available afaik.
OK, now for the rest of the distros ;-)
JiHO --- http://jo.irisson.free.fr/