Support EPS (encapsulated postscript) output
autumnull opened this issue · 4 comments
It would likely not be much more effort given that pdf output is already supported.
Even just regular postscript output would be very useful and even simpler.
Hello,
I agree.
In fact, there's a postscript parser that uses draw2d https://github.com/llgcode/ps
It would be consistent to have the reader and the writer.
What is your use case?
Who uses postscript today?
Is it really useful?
My specific use case is writing a program that needs to produce EPS output so that it can be used by fontforge during tracing of bitmap glyphs.
Postscript is used in various PDF-generating systems, like e.g. LaTeX. It's very a very common page description format for things that intend to be printed at some point, as opposed to SVG which is designed more for web use.
In general though, EPS files tend to be more commonly used than raw postscript, since they can be embedded in PDFs and are just a general-purpose vector graphics format, probably the second most common general-purpose vector format besides SVG, in my experience. As for who uses it, Donald Knuth has a collection of EPS files on his website here.
Ok, do you a sample draw2d code that may suit your need. I can use my own sample but it will be better to have realistic sample for your need
i don't really know how to produce sample code for this because the feature doesn't exist yet :) i would suggest using your own sample code instead.