Excerpts from Reece Dunn's message of miƩ may 19 20:03:12 +0200 2010:
> On 19 May 2010 17:57, Alexander Cohen <[email protected]> wrote:
> > Hello,
> >
> > Does poppler have an OutputDev for a win32 HDC by any chance? I need to 
> > send some PDF's to the printer so i use poppler to convert the PDF to 
> > postscript, but not all support ps, so support for an HDC would be great.
> 
> Poppler provides a CairoOutputDev. Cairo supports HDC-based surfaces
> (http://cairographics.org/manual/cairo-win32-surface.html). You should
> be able to use this to render to a HDC.
> 
> Not sure if poppler supports changing the cairo surface, though
> (shouldn't be difficult to do -- just provide a surface as a
> constructor argument to CairoOutputDev).

Yes, CairoOutputDev takes a cairo context, so you can create a cairo
context for a win32 surface. 

> - Reece
-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: PGP signature

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to