MUPDF-GL(1)

πŸ“¦
version 1.27.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

okay so bestie, this is the manual page for mupdf-gl β€” and no cap, she's iconic. The mupdf-gl viewer can show PDF, XPS, CBZ, EPUB, & FB2 documents as well as typical image formats including SVG. πŸ’…βœ¨


πŸ’– COMMAND LINE OPTIONS πŸ’–

Here's the vibe, fr fr:

mupdf-gl [options] document [page]

The options are, and I'm lowkey obsessed:

  • -p password β€” The password needed to open a password protected PDF file. πŸ”
  • -c profile.cc β€” Load an ICC profile to use for display (default is sRGB). 🎨
  • -r resolution β€” Set the initial zoom level, specified as DPI. The default value is 72. πŸ”
  • -W width β€” Set the page width in points for EPUB layout. πŸ“
  • -H height β€” Set the page height in points for EPUB layout. πŸ“
  • -S size β€” Set the default font size in points for EPUB layout. πŸ” 
  • -U stylesheet β€” Specify a CSS file containing user styles to load for EPUB layout. πŸŽ€
  • -X β€” Ignore publisher styles for EPUB layout. 🚫
  • -J β€” Disable Javascript in PDF forms. πŸ’€
  • -A level β€” Set anti-aliasing level or pixel rendering rule. The levels are giving:
    • 0: off.
    • 2: 4 levels.
    • 4: 16 levels.
    • 8: 256 levels.
    • 9: using centre of pixel rule.
    • 10: using any part of a pixel rule.
  • -I β€” Start in inverted color mode. 🌈
  • -B hex-color β€” Set black tint color (default 303030). πŸ–€
  • -C hex-color β€” Set white tint color (default FFFFF0). 🀍
  • -Y factor β€” Set UI scaling factor (default calculated from screen DPI). ✨

And then there's [page] β€” the initial page number to show. πŸ“„


πŸ¦‹ EXAMPLES πŸ¦‹

To open the viewer with a file browser, just start it:

mupdf-gl

To open a specific file, in inverted color mode, on page 10:

mupdf-gl -I mupdf_explored.pdf 10

πŸŽ€ MOUSE BINDINGS πŸŽ€

The middle mouse button (scroll wheel button) pans the document view. πŸ–±οΈ

The right mouse button selects a region and copies the marked text to the clipboard. πŸ“‹


✨ KEY BINDINGS ✨

okay bestie, this is the part where it gets interactive πŸ’… some of these keys are extra and will take a number typed in before them to tweak the command. like, if you wanna zoom to 150 dpi, you literally just type 150z and it slays. periodt.


  • F1 β€” display help. your lil cheat sheet, no cap.
  • i β€” show document information.
  • o β€” show document outline.
  • L β€” highlight links.
  • F β€” highlight form fields.
  • a β€” show annotation editor.
  • r β€” reload document.
  • S β€” save document (only for PDF, bestie πŸ“„).
  • q β€” quit viewer. bye boo πŸ‘‹

  • < β€” decrease E-book font size.
  • > β€” increase E-book font size.
  • I β€” toggle inverted color mode.
  • C β€” toggle tinted color mode.
  • E β€” toggle ICC color management.
  • e β€” toggle spot color emulation.
  • A β€” toggle anti-aliasing.

  • f β€” toggle fullscreen.
  • w β€” shrinkwrap window to fit page.
  • W β€” fit page width to window.
  • H β€” fit page height to window.
  • Z β€” fit page size to window.
  • [number] z β€” set zoom resolution in DPI.
  • + β€” zoom in.
  • - β€” zoom out.
  • [ β€” rotate counter-clockwise.
  • ] β€” rotate clockwise.
  • β¬…βž‘β¬†β¬‡οΈ or h, j, k, l β€” pan page in small increments.

  • b β€” smart move one screenful backward.
  • [space] β€” smart move one screenful forward.
  • [comma] or [page up] β€” go one page backward.
  • [period] or [page down] β€” go one page forward.
  • [number] g β€” go to page number.
  • G β€” go to last page.

  • m β€” save current page to navigation history.
  • t β€” go back in navigation history.
  • T β€” go forward in navigation history.
  • [number] m β€” save current page in numbered bookmark.
  • [number] t β€” go to numbered bookmark.

  • / β€” start searching forward.
  • ? β€” start searching backward.
  • n β€” continue searching forward.
  • N β€” continue searching backward.

and that's the whole mupdf-gl(1) manual bestie πŸŽ€ the footer is literally just mupdf-gl() β€” no version, no date, just vibes β€” but we ate and left no crumbs πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from