[cairo] Any alternatives to libgs DEVICE=cairo for reading PS into a cairo surface?
John Ellson
ellson at research.att.com
Fri Sep 14 15:53:39 PDT 2012
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.
More information about the cairo
mailing list