View Single Post
Old 10-22-2011, 09:47 PM   #2
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Some notes about the development and code:

- written in vala
- uses own-compiled poppler library, version 0.10.7. Included in the package
This is the latest version compilable with current IREX SDK. Newer versions require much modern stack: glib, cairo, gtk+
- poppler can render pages to cairo context or pixbuf
Rendering to cairo context are faster (sure?) and offer better quality, but the format is less flexible to do manipulations (scale, crop, etc)
I use render to cairo context here and some low level screen refreshes with the help of liberutils at some points. I'm pretty satisfied with the rendering speed, initially I expected lower rates.
Almost 30% of total time of development was spent fighting with rendering and refresh.
Also note pdfviewer does not work (i.e., show page contents) on the emulator.

I'll be travelling next week but I'll try to upload sources to bitbucket repository next week.


Kind regards,
Iņigo Serna
Iņigo is offline   Reply With Quote