Skip to content

aligrudi/fbpdf

Folders and files

NameName
Last commit message
Last commit date
Feb 20, 2015
Jan 11, 2025
Jan 24, 2025
Jan 10, 2025
Jan 10, 2025
Oct 19, 2021
Oct 19, 2021
Jun 24, 2022
Jan 24, 2025
Jan 10, 2025
Jan 10, 2025

Repository files navigation

FBPDF
=====

Fbpdf is a framebuffer PDF and DjVu viewer.  There are three make
targets:

* fbpdf: uses mupdf library for rendering PDF, CBZ, and EPUB files.
* fbpdf2: uses poppler library for rendering PDF files.
* fbdjvu: uses djvulibre library for rendering DjVu files.

The default target is fbpdf; to build the other two, they must be
explicitly specified.

The following options are available in all three programs:

  fbpdf [-r rotation] [-z zoom_x10] [-p page_number] file.pdf

The following table lists the commands available in fbpdf.  Most of
them accept a numerical prefix.  For instance, '^F' tells fbpdf to
show the next page while '5^F' tells it to show the fifth next page.

==============	================================================
KEY		ACTION
==============	================================================
^F/J		next page
^B/K		previous page
G		go to page (the last page if no prefix)
o		set page number (for 'G' command only)
O		set page number and go to current page
z		zoom; prefix multiplied by 10 (i.e. '15z' = 150%)
r		set rotation in degrees
i		print some information
I		invert colors (prefix specifies black level)
q		quit
^[/escape 	clear the numerical prefix
mx		mark page as 'x' (or any other letter)
'x		jump to the page marked as 'x'
`x		jump to the page and position marked as 'x'
j		scroll down
k		scroll up
h		scroll left
l		scroll right
[		align with the left edge of the page
]		align with the right edge of the page
{		align with the leftmost character on the page
}		align with the rightmost character on the page
H		show page top
M		centre the page vertically
L		show page bottom
C		centre the page horizontally
^D/space	page down
^U/^H/backspace	page up
^L		redraw
e		reload current file
f		zoom to fit page height
w		zoom to fit page width
W		zoom to fit page contents horizontally
Z		set the default zoom level for 'z' command
d		sleep one second before the next command
==============	================================================