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).

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

Reply via email to