On Thu, Dec 08, 2005 at 09:43:50AM -0800, Ted Gould wrote:
jiho wrote:
the other solution would be to drop the sk conversion. indeed pstoedit is capable of producing svg from eps and ps with the plot- svg backend. but it seems that plot-svg isn't available everywhere. I was supposed to look a little in this problem but haven't had the time to do it. what I can say is that plot-svg is available in:
- pstoedit version 3.40 / DLL interface 108 (build Oct 10 2005 : fink
package for OS X
- pstoedit version 3.33 / DLL interface 108 (build Jul 29 2004 : debian
sarge package. if it is on a stable debian I guess that it is probably available in nearly every distro now. so maybe the inx files could be changed. this works for me:
Bryce, were you ever able to get this working in Gentoo?
Yes, it did, but remember at the time I was looking at doing pdf2svg, and I found going pdf->ps->svg caused more lossage than I thought was feasible. In particular, I was trying to get text to come through as text objects, but as I recall, all the test cases at the time would convert to each letter being a separate path object, and many of those paths weren't accurate representations of the letters. I recall there were some other issues with embedded images and so forth but don't remember the specifics. Overall, while it worked, I was quite dissatisfied with the output.
I also tested the same through Scribus. If I remember right, I wasn't able to load the PDF in scribus directly, but was able to convert it to ps with the commandline pdf/ps converter and then use Scribus to create the SVG. For my test cases, this approach produced the best results, although it wasn't perfect. I don't remember if Scribus was able to preserve the text as text in any of the cases, but at least the results were readable.
This was all a month or two and my recollection's a bit fuzzy, so I may be completely misremembering the situation.
Bryce