[poppler] renderToImage() + Text on PDF files
bradh at frogmouth.net
Wed Nov 17 12:54:37 PST 2010
On Thursday, November 18, 2010 03:17:24 am Fabian Schneider wrote:
> I've compiled poppler for Qt from source.
> I've written an application which is used to view PDF Files.
> But if I render the page of the PDF-File to a QImage object there is
> no text on the image. I only can see the pictures in of the page.
> Is there any possiblity to render the text to the QImage?
This is what the qt4 demo application (provided with poppler sources) does.
You might like to refer to that.
If that application works, and your code doesn't, then you've done something
wrong. You haven't provided any details, so I guess you're up to debugging
If that demo application doesn't work for you, then probably there is
something wrong in either your Qt4 or poppler builds.
More information about the poppler