fbpdf: switch keys for aligning to edges and glyphs
[fbpdf.git] / README
blob06fb8e88168f09d320c779004e5a9c4465afcd89
1 FBPDF
2 =====
4 fbpdf is a framebuffer pdf/djvu file viewer.  It can use either
5 mupdf or poppler libraries for rendering pdf files and it uses
6 djvulibre library for rendering djvu files.  Note that fbpdf
7 creates different binaries for each library.  So if you want to
8 use fbpdf only for viewing pdf files using mupdf library you
9 can compile it using "make fbpdf".  See the Makefile for other
10 targets.  The following options can be specified when starting
11 fbpdf (or fbdjvu and fbpdf2):
13   fbpdf [-r rotation] [-z zoom x10] [-p page] filename
15 KEYS
16 ====
18 The following table describes fbpdf keybinding.  Most of these
19 commands accept a numerical prefix.  For instance, '^F' tells
20 fbpdf to go to the next page while '5^F' tells it to move to
21 the fifth next page.
23 ==============  ================================================
24 KEY             ACTION
25 ==============  ================================================
26 ^F/J            next page
27 ^B/K            previous page
28 G               goto page (goto the last page if no prefix)
29 z               set zoom multiplied by 10 (i.e. '15z' = 150%)
30 r               set rotation in degrees
31 i               print info
32 q               quit
33 ^[              (escape) clear numerical prefix
34 mx              mark page as 'x' (or any other letter)
35 'x              jump to the page marked as 'x'
36 `x              jump to the page and position marked as 'x'
37 j               scroll down
38 k               scroll up
39 h               scroll left
40 l               scroll right
41 [               align with the left edge of the page
42 ]               align with the right edge of the page
43 {               align with the leftmost character on the page
44 }               align with the rightmost character on the page
45 H               show top
46 M               show middle
47 L               show bottom
48 ' '/^D          (space) page down
49 ^H/^U           (backspace) page up
50 ^L              redraw
51 e               reload current file
52 f               zoom to fit page height
53 w               zoom to fit page width
54 W               zoom to fit page contents horizontally
55 ==============  ================================================