> After looking at the ghostscript code, it seems that the gs executable is 
> used  a separate process. I presume it would make sense to rework this to use 
> the shared library? See <http://pages.cs.wisc.edu/~ghost/doc/svn/API.htm>
> 
> The library API exposed by ghostscript seems reasonably nice, and is 
> cross-platform -- no more X dependencies. This would perhaps get rid of ps 
> background rendering bugs, and could possibly also allow rendering of pdf 
> backgrounds.

Having further looked into it: thanks to Qt's QImageIO mechanism, all of image 
loading can be done very simply. The background can be anything that can be 
loaded into a QImage -- this takes care of all popular bitmap formats for free. 
Adding ps/pdf import then is a matter of writing a thin adapter between 
QImageIOPlugin and gs API; this can be a useful subproject in its own right.

Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to