summaryrefslogtreecommitdiff
path: root/docs/manual-mupdf-gl.html
blob: 82e37a12b079abd5da989fc11b43a4a9fb12eedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<title>MuPDF OpenGL Viewer</title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>

<header>
<h1>MuPDF OpenGL Viewer</h1>
</header>

<nav>
<a href="http://mupdf.com/index.html">ABOUT</a>
<a href="http://mupdf.com/news.html">NEWS</a>
<a href="index.html">DOCUMENTATION</a>
<a href="http://mupdf.com/downloads/">DOWNLOAD</a>
<a href="http://git.ghostscript.com/?p=mupdf.git;a=summary">SOURCE</a>
<a href="https://bugs.ghostscript.com/">BUGS</a>
</nav>

<article>

<p>
The OpenGL based viewer can read PDF, XPS, CBZ, and EPUB documents.
It compiles on any platform that <a href="http://glfw.org/">GLFW</a> supports.
The latest release builds on Linux, Windows, and macOS.

<h2>Command Line Options</h2>

<pre>
mupdf-gl [options] document [page]
</pre>

<dl>
<dt>-p password
<dd>The password needed to open a password protected PDF file.
<dt>-r resolution
<dd>Set the initial zoom level, specified as DPI. The default value is 72.
<dt>-W width
<dd>Set the page width in points for EPUB layout.
<dt>-H height
<dd>Set the page height in points for EPUB layout.
<dt>-S size
<dd>Set the default font size in points for EPUB layout.
<dt>-U stylesheet
<dd>Specify a CSS file containing user styles to load for EPUB layout.
<dt>-X
<dd>Ignore publisher styles for EPUB layout.
</dl>

<h2>Mouse Bindings</h2>

<p>
The middle mouse button (scroll wheel button) pans the document view.

<p>
The right mouse button selects a region and copies the marked text to the clipboard.

<h2>Key Bindings</h2>

<p>
Several commands can take a number argument entered before the key, to modify the command.
For example, to zoom to 150 dpi, type "150z".

<table>
<tr><td>F1<td>Display help.
<tr><td>i<td>Display document metadata.
<tr><td>o<td>Toggle display of outline.
<tr><td>L<td>Toggle display of links.
<tr><td>r<td>Reload document.
<tr><td>q<td>Quit viewer.

<tr><td>&nbsp;
<tr><td>f<td>Toggle fullscreen.
<tr><td>w<td>Shrinkwrap window to fit page.
<tr><td>W<td>Fit page width to window.
<tr><td>H<td>Fit page height to window.
<tr><td>Z<td>Fit page size to window.
<tr><td>[number] z<td>Set zoom resolution in DPI.
<tr><td>+<td>Zoom in.
<tr><td>-<td>Zoom out.
<tr><td>[<td>Rotate counter-clockwise.
<tr><td>]<td>Rotate clockwise.
<tr><td>[arrows] or h, j, k, l<td>Pan page in small increments.

<tr><td>&nbsp;
<tr><td>b<td>Smart move one screenful backward.
<tr><td>[space]<td>Smart move one screenful forward.
<tr><td>[comma] or [page up]<td>Go one page backward.
<tr><td>[period] or [page down]<td>Go one page forward.
<tr><td>&lt;<td>Go 10 pages backward.
<tr><td>&gt;<td>Go 10 pages forward.
<tr><td>[number] g<td>Go to page number.
<tr><td>G<td>Go to last page.

<tr><td>&nbsp;
<tr><td>m<td>Save current page to navigation history.
<tr><td>t<td>Go back in navigation history.
<tr><td>T<td>Go forward in navigation history.
<tr><td>[number] m<td>Save current page in numbered bookmark.
<tr><td>[number] t<td>Go to numbered bookmark.

<tr><td>&nbsp;
<tr><td>/<td>Start searching forward.
<tr><td>?<td>Start searching backward.
<tr><td>n<td>Continue searching forward.
<tr><td>N<td>Continue searching backward.
</table>

</article>

<footer>
<a href="http://artifex.com"><img src="artifex-logo.png" align="right"></a>
Copyright &copy; 2006-2017 Artifex Software Inc.
</footer>

</body>
</html>