View Single Post
Old 11-15-2009, 11:44 AM   #1
tigran
Zealot
tigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austentigran has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
DjVu viewer with full zoom and panning around the page

I have written a DjVu viewer for Hanlin V3 (aka "BeBook 1" or "Pixelar" or "Lbook V3" depending on where you live). I called it libdjvu to match the name of the plugin "libdjvu.so". It is written in C and uses GPL'd djvulibre library.

The main features are: arbitrary level zoom (down to microscopic level, so you can examine individual dust specks present while the book was scanned and panning the view window around the page.

Note that this means that not only all scanned books (literally _millions_ of them!) are now available for reading on Hanlin V3 but also any "nasty" PDF (i.e. those which can't be handled by Adobe reader properly) can be very easily converted to DjVu (via pdftoppm, cjb2 and djvm) and handled by this viewer.

The source code (GPL) and both the arm and i386 binaries are here:

http://www.bibles.org.uk/libdjvu-1.1.tar.gz

but most of you are probably more interested in a ready-made firmware image containing it. So here it is as well (based on the latest lbook one but you can easily set the language to English if you don't like Russian as default):

http://www.bibles.org.uk/hanlin-v3-firmware.zip

To use it just open any .djvu file as usual and use the following keys:

ZOOM IN/OUT: Volume '+'/'-' keys
There are menu options for increasing/decreasing the zoom step.

ZOOM RESET TO DEFAULT (i.e. FIT WIDTH): Long press volume '+' key

PAN AROUND THE PAGE: Next/Prev buttons (on the left side) for vertical and long presses of these for horizontal movement.
There are menu options for increasing/decreasing the horizontal and vertical movement steps.

ROTATE: Long press 'OK' to toggle between Landscape and Portrait modes. Note that rotating resets the zoom level to default zoom state.

TOGGLE BETWEEN COLOUR AND B&W MODES: Long press volume '-' key.
(colour mode is important for many Google Books and archive.org djvu files because they sometimes split the text between different layers. I personally always convert important stuff to pure bitonal format but not everyone is willing to spend time or knows how to do it, so I implemented this toggle).

Try "About..." menu option to see various bits of info, current zoom level, step values, current rendering mode etc.

Comments, bugreports etc etc => tigran@bibles.org.uk.

Last edited by tigran; 11-15-2009 at 11:46 AM.
tigran is offline   Reply With Quote