View Single Post
Old 10-25-2007, 07:46 AM   #7
wpd
Junior Member
wpd doesn't litterwpd doesn't litterwpd doesn't litter
 
Posts: 7
Karma: 221
Join Date: Oct 2007
Device: iliad/nokia9500
Excellent idea JHarker.

You might want ppl to post patches against the latest released community version as well as against the irex standard in order to minimize the integration work.

Apart from the portrait/landscape code overlaps I feel that the ipdf renderer needs some work:
  • The prerendering deleter is dumb: it routinely throws away rendered pages that are needed in a few seconds when memory is low, just because they are the oldest rendered pages.
  • The prerendering routines should be made to work with multiple zoom rates; this allows ppl to switch zooms on pages much faster. We could do all kinds of stuff with this; show ppl a tiny page at the top of the screen while panning, rapidly switch zoom if needed for a wider column in column mode, etc.
  • Wilder idea: the renderer/poppler could render to "Mono4", and store 2 pixels in every byte. This way prerendered bitmaps are much smaller, and we would be able to hold twice as much in memory. Display would be slower (have to test how expensive this is), unless we can find some shortcuts in the (not released) fb code.
  • And even wilder: allow ppl to use a server based renderer, and allow the ipdf renderer to talk to the server via wifi. No more memory restrictions on prerendering.

Also, there is a lot of non-functional whitespace in the irex code; not important in any sense but nice to remove if we are going to clean house anyway.
wpd is offline   Reply With Quote