Re: Any alternatives to libgs DEVICE=cairo for reading PS into a cairo surface?
John Ellson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 09/14/2012 06:49 PM, Adrian Johnson wrote: > On 15/09/12 07:46, John Ellson wrote: >> Behdad at one time wrote a cairo device for libgs (ghostscript). >> >> I had written a plugin for graphviz that successfully used this device >> to import PS images as node shapes in graphs. >> >> According to: >> http://bugs.ghostscript.com/show_bug.cgi?id=690009 >> this device was dropped from libgs . >> >> I've opened a new bug to the ghostscript folks: >> http://bugs.ghostscript.com/show_bug.cgi?id=693335 >> but I was wondering if anyone on this list could suggest an alternative >> technique >> for loading PS images on to a cairo surface? > Use ps2pdf to convert to PDF then poppler-glib to render to a cairo surface. > Cumbersome .... but I'll investigate how poppler-glib does it, thanks. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo