hwhw/kindlepdfviewer — pull request #374 by tigran123 (2012-10-04 21:15:45+00:00)
Title: Display DjVu info in the status line.

The DjVu info shown in the status line includes:
1. Physical page dimensions.
2. Current value of gamma and (in square brackets) the value of the
display for which the page was designed.
3. Page resolution (in dpi).
4. Page type.
For the end-user probably the most useful bit is the page type as it
helps him decide which rendering mode to choose for this page (and also
explains why he can't see anything on the page --- e.g. when rendering
some COMPOUND or PHOTO pages in B&W mode). For the developer the
physical page dimensions are also interesting as they allow to estimate
the amount of time needed for page decoding and cache efficiency.

Oh, and also I changed the order of error checking and page/document decoding as mentioned in \#373.