View Full Version : PDF rendering in embedded device with Qtopia
Bookmarc
2nd August 2007, 18:23
Hi,
I'm using Qtopia latest version to build a software on an embedded platform . I would like to be able to render a pdf file in, let's say, a QPixmap so the user can read the pdf. Has any of you ever did something like this ? If so how did you do it ?
Thanks !
Marc
marcel
3rd August 2007, 21:45
There are a few commercial pdf viewers out there, but no library, as far as I know.
Maybe you could do something with xpdf. I assume you need only a limited viewer (not the whole pdf functionality,as stated in the specification ), therefore you will have to strip xpdf of some functionality.
But this is just a suggestion, assuming that you don't need it right away. Porting xpdf can be quite a heavy task.
EDIT: you can take a look at this post:
http://www.qtcentre.org/forum/f-qt-programming-2/t-qimage-loadfromdata-not-run-xpdf-data-6709.html
Especially the links Patrick posted in post #1.
They might prove useful and spare you of some extra work.
Regards
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.