On Thu, May 8, 2008 at 1:52 AM, Peter Åstrand <[EMAIL PROTECTED]> wrote: > On Wed, 7 May 2008, Krzysztof Kowalczyk wrote: > > > I wrote Sumatra and native windows makefile for poppler (using slash > > backend) and here's my advice: drop cairo and use slash backend on > > windows. It's much easier to get working because it only depends on > > libjpeg + zlib + freetype and when I checked in visual studio makefile > > some time ago, it was working. I also provide pre-compiled > > libjpeg+zlib+freetype libraries and detailed build instructions > > (http://cgit.freedesktop.org/poppler/poppler/tree/README.windows). > > Thanks. But this would mean that I'll have to implement all GDI-speak > myself, right? That was the main reason why I looked at Cairo: It's GDI > backend.
The way I implement printing in sumatra pdf using poppler (or mupdf) is by rendering to a bitmap and then blasting that bitmap to a printer. Not a great way to do things (lots of memory needed for the bitmap at printing-quality resolution) but it works and is very simple to implement. -- kjk _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
