On Fri, May 03, 2013 at 09:14:18AM -0800, Jack Johnson wrote:
> Is a PS/PDF library something that might benefit from reconstruction in Go?
> Or is it just a spaghetti mess?
Whatever the way (porting existing to Go or writing from scratch), a Go
version would be an improvement against a C++ one with gigabytes
of dependencies. This may be (partly) achievable with a PDF library,
I doubt something like Ghostscript is achievable (and I even wonder if
that makes sense to reimplement a full PostScript interpreter).
The problem is: if this is just to render documents created on Plan9,
a minimum is required, but one could get rid entirely of PostScript or
PDF. If this is to view an external PDF document, or to render an
external PS document, that may use the latest version (for PDF) or a lot
of features (for PS), you're skrewed. But in this case, there are
probably online PDF viewers...
--
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C