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
|