https://github.com/aligrudi/fbpdf
A small framebuffer pdf, djvu, epub, xps, and cbz viewer
https://github.com/aligrudi/fbpdf
c djvulibre framebuffer mupdf pdf xpdf
Last synced: 3 months ago
JSON representation
A small framebuffer pdf, djvu, epub, xps, and cbz viewer
- Host: GitHub
- URL: https://github.com/aligrudi/fbpdf
- Owner: aligrudi
- License: bsd-3-clause
- Created: 2013-10-24T12:26:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-01-24T10:28:37.000Z (about 1 year ago)
- Last Synced: 2025-02-08T01:03:03.598Z (about 1 year ago)
- Topics: c, djvulibre, framebuffer, mupdf, pdf, xpdf
- Language: C
- Homepage: http://litcave.rudi.ir/
- Size: 74.2 KB
- Stars: 200
- Watchers: 12
- Forks: 32
- Open Issues: 10
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
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
============== ================================================