mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-30 10:14:57 +01:00
Document viewer
e4b9924c4d
There are two causes of the problem: - page_ratio should be defined differently This is because the usefull page ratio is max_height/total_width or max_width/total_height. This then changes accordingly if pages_per_row != 1, otherwise, if the pages are of the same size, the page ratios will not change, which screws up the resizing. - Sometimes we need to do height or width division diferently. This is because not always total_height or total_width is meaningful in BESTFIT condition. This commit also should fix the bug #0000226. Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com> Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at> |
||
---|---|---|
po | ||
tests | ||
.gitignore | ||
AUTHORS | ||
bookmarks.c | ||
bookmarks.h | ||
callbacks.c | ||
callbacks.h | ||
commands.c | ||
commands.h | ||
common.mk | ||
completion.c | ||
completion.h | ||
config.c | ||
config.h | ||
config.mk | ||
database-plain.c | ||
database-plain.h | ||
database-sqlite.c | ||
database-sqlite.h | ||
database.c | ||
database.h | ||
document.c | ||
document.h | ||
Doxyfile | ||
internal.h | ||
LICENSE | ||
links.c | ||
links.h | ||
macros.h | ||
main.c | ||
Makefile | ||
marks.c | ||
marks.h | ||
page-widget.c | ||
page-widget.h | ||
page.c | ||
page.h | ||
plugin-api.h | ||
plugin.c | ||
plugin.h | ||
print.c | ||
print.h | ||
README | ||
render.c | ||
render.h | ||
shortcuts.c | ||
shortcuts.h | ||
synctex.c | ||
synctex.h | ||
types.c | ||
types.h | ||
utils.c | ||
utils.h | ||
version.h.in | ||
zathura.1.rst | ||
zathura.c | ||
zathura.desktop | ||
zathura.h | ||
zathura.pc.in | ||
zathurarc.5.rst |
zathura - a document viewer -------------------- zathura is a highly customizable and functional document viewer based on the girara user interface library and several document libraries. Requirements ------------ gtk2 (>= 2.18.6) girara sqlite3 (>= 3.5.9) check (for tests) intltool Please note that you need to have a working pkg-config installation and that the Makefile is only compatible with GNU make. If you don't have a working pkg-config installation please set the GTK_INC, GTK_LIB, GIRARA_INC, GIRARA_LIB, SQLITE_INC and SQLITE_LIB variables accordingly. And also note that rst2man from python-docutils is needed to build the man pages. If it is not installed, the man pages won't be built. If you don't want to build with support for sqlite databases, you can set WITH_SQLITE=0 and sqlite support won't be available. Please note that sqlite3 with metadata support is required, i.e. sqlite3 has to be built with SQLITE_ENABLE_COLUMN_METADATA defined. Installation ------------ To build and install zathura: make install Uninstall: ---------- To delete zathura from your system, just type: make uninstall