Importing potrace/ghostscript eps files into Fontlab
I’ve been trying to import eps files output from potrace and/or ghostscript into Fontlab with no success. Can anyone think of an automated way (as in accessible via script) to make this work without having to write a an eps interpreter or worse, a script for Illustrator?
Just in case any Postscript hackers are reading this, I’m attaching the output from potrace. If there is a simple thing in the output that is offending Fontlab, I wouldn’t mind parsing the eps to strip it out.
| Attachment | Size |
|---|---|
| a_a.eps.txt | 0 bytes |


















11.Feb.2008 11.56pm
This is unpopular, but potrace is available from within the Fontforge environment, from the command line. Michael Boyer might be the best person to ask about that, as he seems very open to helping out with that sort of thing.
Explained a little here
12.Feb.2008 3.49am
Christian,
gs -q -dNODISPLAY -dNOPAUSE -dSAFER ps2ai.ps a_a.eps > a_a_new.epsshould do the trick.
Adam
12.Feb.2008 3.56am
BTW, we would love to integrate Ghostscript as a library in FontLab products, which would allow us to import pretty much any PostScript, EPS and PDF files, but unfortunately, their licensing terms are quite prohibitive.
A.
12.Feb.2008 9.09am
Awesome. Thanks, Adam. It’s nuts how Ghostscript uses ps to translate ps.
12.Feb.2008 11.12am
I know a guy who wrote a citation management database in PostScript :)
A.