View Single Post
Old 03-10-2012, 06:24 PM   #143
Germanc
Member
Germanc is on a distinguished road
 
Posts: 23
Karma: 68
Join Date: Oct 2011
Device: Kindle Keyboard
Quote:
Originally Posted by Germanc View Post
I like where the project is heading, and I think that next page caching is all that is lacking to be as fast as I need. While I prepare the poster with your names on it I promised before, I have a question: djvu TOC (outlines) is something planned ?
Well, I gave it a shot to add djvu outlines support. Here is the diff. I tested with severeal djvu files I have and it works well, but I wouldn't trust my code. I haven't code in C in ages (not to mention I have no idea how lua, lua bindings or djvu works)

EDIT: oh well, it doesn't compile with arm-...-gcc. It worked well with sdl.

EDIT2: Now it compiles and list bookmarks correctly, but fails to change the page -.-

EDIT3: Damn single-double quotes. Now it DOES work.
Attached Files
File Type: txt djvu_diff.c.txt (2.2 KB, 163 views)

Last edited by Germanc; 03-10-2012 at 06:49 PM.
Germanc is offline   Reply With Quote