View Single Post
Old 04-25-2010, 11:25 AM   #14
GregorRichards
Connoisseur
GregorRichards doesn't litterGregorRichards doesn't litter
 
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
Quote:
Originally Posted by Mackx View Post
Hi GregorRichards,

Great to see how much effort you spend on improving your application. Did you also have a look at the (old) pdf viewer implementation of iRex which was used in the R1.7 firmware of the DR1000 (also uses poppler)? See the published source code: document-viewer-plugins\plugins\pdf. The file src/pdf_page.cpp, for example, also contains code to calculate the bounding box (PDFPage::get_content_from_bitmap) maybe there is more code you can reuse?
Feh, I knew the code would be laying around somewhere, but I couldn't find it ... I'll look in to it.
GregorRichards is offline   Reply With Quote