View Single Post
Old 09-02-2008, 04:25 PM   #15
lowie
Member
lowie began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2008
Device: iLiad v.2
page offset patch

Hi Alanine,

I managed to compile ipdf myself and made an adjustment for educational purposes. I have implemented a feature that is (already) available when viewing html files: the page offset. It shows you how far you are on the current page in the pdf file. I find it useful when using your column mode: now it is easy to see where on the page you are. The offset is a percentage: the ratio of the viewed page area and the total page area.

I have included two patch files: one from the stock ipdf and one from your ipdf version. It only works in continuous mode by the way. I also include the binary.

Your other changes are not included, as I do not have a patch for your later adjustments. Do you perhaps remember what you have adjusted?

Regards,
Lodewijk

PS: I only implemented this for Portrait view mode, if it works (and it is useful) it is trivial to implement it for Landscape view as well.
Attached Files
File Type: zip ipdf-cont-col-offset.zip (2.6 KB, 519 views)
File Type: zip ipdf.zip (35.9 KB, 583 views)

Last edited by lowie; 09-03-2008 at 02:47 PM. Reason: added postscript
lowie is offline   Reply With Quote