xpdf(1)

πŸ“¦
version 3.04+git20260802 Β· 3 versions
, in ubuntu stonking

🌸 NAME 🌸

xpdf β€” a Portable Document Format (PDF) file viewer for X (the program itself goes by the name xpopple) πŸ¦‹


✨ SYNOPSIS ✨

xpdf [options] [PDF-file [page | +dest]]

πŸ’– DESCRIPTION πŸ’–

okay bestie sit down because xpopple is literally a viewer for Portable Document Format (PDF) files. (you might also hear people call these "Acrobat" files, which is just because of Adobe's PDF software β€” same thing, different name πŸ’…) and it runs under the X Window System on UNIX. iconic behavior honestly.

xpopple uses the Poppler library to process PDF files. so here's the lore: Poppler was originally derived from version 3 of Glyph & Cog, LLC's Xpdf suite, but Poppler doesn't include the Xpdf viewer program itself. xpopple is the Xpdf program, just modified to use Poppler. so it's giving Xpdf energy but Poppler-powered. slay πŸŽ€

to run xpopple, simply type:

xpdf file.pdf

where file.pdf is your PDF file. and the file name can be followed by a number specifying the page which should be displayed first, like:

xpdf file.pdf 18

you can <em>also</em> give a named destination, prefixed with + in place of the page number. (this is only useful with PDF files that provide named destination targets, so don't come for me if your random PDF doesn't have them πŸ™ˆ)

you can also start xpdf without opening any files at all:

xpdf

and compressed formats?? yes bestie β€” gz, bz2, xz, and Z are also supported. for example:

xpdf file.pdf.gz

🌈 CONFIGURATION FILE 🌈

Xpdf reads a configuration file at startup. it first tries to find the user's private config file, ~/.xpdfrc. if that doesn't exist, it looks for a system-wide config file, /etc/xpdf/xpdfrc. see the xpdfrc(5) man page for details. go read it, i'll wait 🫢


πŸ’… OPTIONS πŸ’…

many of the following options can be set with configuration file commands or X resources. these are listed in square brackets with the description of the corresponding command line option. so like, you've got options inside your options. very main character.

  • -g geometry β€” set the initial window geometry. (-geometry is equivalent.) [X resource: Xpdf.geometry]
  • -title title β€” set the window title. by default, the title will be "xpdf: foo.pdf". [X resource: Xpdf.title]
  • -cmap β€” install a private colormap. this is ignored on TrueColor visuals. [X resource: Xpdf.installCmap]
  • -rgb number β€” set the size of largest RGB cube xpdf will try to allocate. the default is 5 (for a 5x5x5 cube); set it to a smaller number to conserve color table entries. this is ignored with private colormaps and on TrueColor visuals. [X resource: Xpdf.rgbCubeSize]
  • -rv β€” set reverse video mode. this reverses the colors of everything except images. it may not always produce great results for PDF files which do weird things with color (and bestie, some PDFs do weird things with color). this also causes the paper color to default to black. [X resource: Xpdf.reverseVideo]
  • -papercolor color β€” set the "paper color", i.e., the background of the page display. this will not work too well with PDF files that do things like filling in white behind the text. [X resource: Xpdf.paperColor]
  • -mattecolor color β€” set the matte color, i.e., the color used for background outside the actual page area. (there is a separate setting, Xpdf.fullScreenMatteColor, for full-screen mode.) [X resource: Xpdf.matteColor]
  • -z zoom β€” set the initial zoom factor. a number specifies a zoom percentage, where 100 means 72 dpi. you may also specify "page", to fit the page to the window size, or "width", to fit the page width to the window width, or "height", to fit the page height to the window height. [config file: initialZoom; or X resource: Xpdf.initialZoom]
  • -cont β€” start in continuous view mode, i.e., with one vertical scroll bar for the whole document. [config file: continuousView]
  • -ps PS-file β€” set the default file name for PostScript output (i.e., the name which will appear in the "print" dialog). this can also be of the form "| command" to pipe the PostScript through a command. [config file: psFile]
  • -paper size β€” set the paper size to one of "letter", "legal", "A4", or "A3". this can also be set to "match", which will set the paper size to match the size specified in the PDF file. the default paper size will be retrieved from libpaper (unless xpdf was built without libpaper, in which case the default paper size is "letter"). [config file: psPaperSize]
  • -paperw size β€” set the paper width, in points. [config file: psPaperSize]
  • -paperh size β€” set the paper height, in points. [config file: psPaperSize]
  • -level1 β€” generate Level 1 PostScript. the resulting PostScript files will be significantly larger (if they contain images), but will print on Level 1 printers. this also converts all images to black and white. [config file: psLevel]
  • -enc encoding-name β€” sets the encoding to use for text output. the encoding-name must be defined with the unicodeMap command (see xpdfrc(5)). this defaults to "Latin1" (which is a built-in encoding). [config file: textEncoding]
  • -opw password β€” specify the owner password for the PDF file. providing this will bypass all security restrictions. πŸ‘€
  • -upw password β€” specify the user password for the PDF file.
  • -fullscreen β€” open xpdf in full-screen mode, useful for presentations. main character energy fr fr ✨
  • -pagecmd command β€” run a shell command each time a new page is displayed, with the page number as an argument. this can be used for presentation recording. [config file: pageCommand]
  • -remote name β€” start/contact xpdf remote server with specified name (see the REMOTE SERVER MODE section below).
  • -exec command β€” execute a command (see the COMMANDS section below) in an xpdf remote server window (with -remote only).
  • -reload β€” reload xpdf remote server window (with -remote only).
  • -raise β€” raise xpdf remote server window (with -remote only).
  • -quit β€” kill xpdf remote server (with -remote only).
  • -cmd β€” print commands as they're executed (useful for debugging). [config file: printCommands]
  • -q β€” don't print any messages or errors. [config file: errQuiet]
  • -cfg config-file β€” read config-file in place of ~/.xpdfrc or the system-wide config file.
  • -v β€” print copyright and version information.
  • -h β€” print usage information. (-help, --help and -? are equivalent.)
  • -m file1 file2 ... β€” open multiple pdf files: file1 file2 ... etc.
NOTE: the list of files is terminated once an argument starting with a dash is encountered. in order to view file names starting with a dash, simply prepend "./". -m may be used multiple times.

🌟 standard X options 🌟

several other standard X options and resources will work as expected:

  • -display display β€” [X resource: Xpdf.display]
  • -fg color β€” (-foreground is equivalent.) [X resource: xpdf*Foreground]
  • -bg color β€” (-background is equivalent.) [X resource: xpdf*Background]
  • -font font β€” override the fonts used for the user interface. this uses a single X core font for all user interface elements, which is not ideal; see the USER INTERFACE FONTS section below for better approaches. (-fn is equivalent.) [X resource: xpdf*font]

the color and font options only affect the user interface elements, not the PDF display (the "paper"). important distinction bestie 🫢


πŸŽ€ X resources with no command line option πŸŽ€

the following X resources do not have command line option equivalents:

  • Xpdf.toolTipEnable β€” enables (if set to true) or disables (if set to false) the tool-tips on the toolbar buttons.
  • Xpdf.fullScreenMatteColor β€” sets the matte color to be used in full-screen mode. the default setting is "black".

πŸ’€ OBSOLETE OPTIONS πŸ’€

these ones?? they're gone bestie. the following command line options were accepted by earlier versions of Xpdf but are no longer allowed. in most cases, this is because they control rendering options that Poppler does not support. rip to them but they're different now 😭

  • -aa yes | no β€” obsolete. controlled the use of font anti-aliasing in the PDF rasterizer.
  • -aaVector yes | no β€” obsolete. controlled the use of vector anti-aliasing in the PDF rasterizer.
  • -eol unix | dos | mac β€” obsolete. set the end-of-line convention to use for text output.
  • -freetype yes | no β€” obsolete. controlled whether FreeType was used for font rasterization.
  • -t1lib yes | no β€” obsolete. controlled whether t1lib was used for font rasterization.

and that's only part one, bestie… there's more coming πŸ‘€ stay with me πŸ’œ

πŸŽ€ CONTROLS πŸŽ€

okay bestie, get comfy, because this is the part where you learn how to actually drive this thing πŸ’…

✨ On-screen controls, at the bottom of the xpdf window ✨

  • left/right arrow buttons β€” hop to the previous/next page. simple as that πŸ¦‹
  • double left/right arrow buttons β€” the turbo version: jump backward or forward by ten pages at a time πŸ”₯
  • dashed left/right arrow buttons β€” move backward or forward along the history path (like your browser's back button but for PDFs, iykyk)
  • 'Page' entry box β€” go straight to a specific page number. click in the box to activate it, type the number, then hit return 🫢
  • zoom popup menu β€” change the zoom factor (it's the same thing as the -z option we talked about earlier, fr fr)
  • binoculars button β€” find a text string πŸ”
  • print button β€” opens the "print" dialog for generating a PostScript file. that dialog lets you set the pages to be printed and the PostScript file name. and listen: the file name can be - for stdout, or "| command" to pipe the PostScript through a command, like "| lpr". iconic.
  • '?' button β€” opens the "about" dialog πŸ’–
  • link info β€” the little space between the "?" and "Quit" buttons is where the URL or external file name shows up when your mouse is hovering over a link ✨
  • 'Quit' button β€” quit xpdf. bye bestie πŸ‘‘

right-click (yes, press the right mouse button) and you get a popup menu with these commands:

  • Open... β€” open a new PDF file via a file requester.
  • Open in new window... β€” make a whole new window and open a new PDF file via a file requester. main character energy tbh.
  • Reload β€” reload the current PDF file. ngl though, Xpdf will reload the file automatically (on a page change or redraw) if it has changed since it was last loaded.
  • Save as... β€” save the current file via a file requester.
  • Continuous view β€” toggles between single page and continuous view modes.
  • Rotate counterclockwise β€” rotate the page 90 degrees counterclockwise.
  • Rotate clockwise β€” rotate the page 90 degrees clockwise. both rotate commands are intended primarily for PDF files where the rotation isn't correctly specified in the file, just so you know πŸ’œ
  • Zoom to selection β€” zoom in to the currently selected rectangle.
  • Close β€” close the current window. but here's the thing: if this is the only open window, the document is closed, but the window is left open (i.e., this menu command won't quit xpdf). sneaky.
  • Quit β€” quit xpdf. for real this time.

πŸ¦‹ Outline πŸ¦‹

if the PDF has an outline (a.k.a. bookmarks), there will be an outline pane on the left side of the window. the width of that pane is adjustable with a vertical split bar via the knob near its bottom end. obsessed with the customization honestly.


✨ Text selection ✨

drag the mouse with the left button held down and you'll highlight an arbitrary rectangle. any text inside that rectangle gets copied to the X selection buffer. copy-paste slay πŸ’…


clicking a hyperlink jumps to the link's destination. a link to another PDF document makes xpdf load that document. a "launch" link to an executable program will pop up a dialog, and if you click "OK", it executes the program. URL links call an external command (peep the WEB BROWSERS section down below πŸ‘€).


🫢 Panning 🫢

drag the mouse with the middle button held down and you pan the window. that's it, that's the whole vibe.


πŸ’– Key bindings πŸ’–

  • o β€” open a new PDF file via a file requester.
  • r β€” reload the current PDF file. and again, note that Xpdf will reload the file automatically (on a page change or redraw) if it has changed since it was last loaded.
  • s β€” save the current PDF file via a file requester.
  • control-L β€” redraw the current page.
  • control-W β€” close the current window.
  • f or control-F or / β€” find a text string.
  • control-G β€” find next occurrence.
  • control-shift-G β€” find previous occurrence.
  • control-P β€” print.
  • n β€” move to the next page. scrolls to the top of the page, unless scroll lock is turned on.
  • p β€” move to the previous page. scrolls to the top of the page, unless scroll lock is turned on.
  • <Space> or <PageDown> β€” scroll down on the current page; if you're already at the bottom, move to the next page.
  • <Backspace> or <Delete> or <PageUp> β€” scroll up on the current page; if you're already at the top, move to the previous page.
  • v β€” move forward along the history path.
  • b β€” move backward along the history path.
  • <Home> β€” scroll to top of current page.
  • <End> β€” scroll to bottom of current page.
  • control-<Home> β€” scroll to first page of document.
  • control-<End> β€” scroll to last page of document.
  • arrows β€” scroll the current page.
  • [ β€” rotate the page 90 degrees counterclockwise.
  • ] β€” rotate the page 90 degrees clockwise.
  • g β€” activate the page number text field (aka "goto page").
  • 0 β€” set the zoom factor to 125%.
  • + β€” zoom in (go to the next higher zoom factor).
  • - β€” zoom out (go to the next lower zoom factor).
  • z β€” set the zoom factor to "page" (fit page to window).
  • w β€” set the zoom factor to "width" (fit page width to window).
  • h β€” set the zoom factor to "height" (fit page height to window).
  • alt-C β€” toggle between continuous and single page view modes.
  • alt-F β€” toggle full-screen mode.
  • alt-O β€” toggle the outline pane between open and closed.
  • ? β€” open the "about" dialog.
  • q or <Escape> β€” quit xpdf.

🌈 WEB BROWSERS 🌈

if you wanna run xpdf automatically from netscape or mosaic (and probably other browsers too) when you click on a link to a PDF file, you need to edit (or create) the files .mime.types and .mailcap in your home directory. in .mime.types add this line:

application/pdf pdf

and in .mailcap add these lines:

# Use xpdf to view PDF files.
application/pdf; xpdf -q %s

make sure that xpdf is on your executable search path, okay? don't skip that part πŸ™ˆ

when you click on a URL link in a PDF file, xpdf will execute the command specified by the urlCommand config file option, replacing an occurrence of "%s" with the URL. for example, to call netscape with the URL, add this line to your config file:

urlCommand "netscape -remote 'openURL(%s)'"

πŸ‘‘ COMMANDS πŸ‘‘

Xpdf's key and mouse bindings are user-configurable, using the bind and unbind options in the config file (go read xpdfrc(5) bestie). the bind command lets you bind a key or mouse button to a sequence of one or more commands. yes, sequences. go wild ✨

πŸ’… Available Commands πŸ’…

these are the commands you can use:

  • gotoPage(page) β€” go to the specified page.
  • gotoPageNoScroll(page) β€” go to the specified page, with the current relative scroll position.
  • gotoDest(dest) β€” go to a named destination.
  • gotoLastPage β€” go to the last page in the PDF file.
  • gotoLastPageNoScroll β€” go to the last page in the PDF file, with the current relative scroll position.
  • nextPage β€” go to the next page.
  • nextPageNoScroll β€” go to the next page, with the current relative scroll position.
  • prevPage β€” go to the previous page.
  • prevPageNoScroll β€” go to the previous page, with the current relative scroll position.
  • pageUp β€” scroll up by one screenful.
  • pageDown β€” scroll down by one screenful.
  • scrollLeft(n) β€” scroll left by n pixels.
  • scrollRight(n) β€” scroll right by n pixels.
  • scrollUp(n) β€” scroll up by n pixels.
  • scrollDown(n) β€” scroll down by n pixels.
  • scrollUpPrevPage(n) β€” scroll up by n pixels, moving to the previous page if appropriate.
  • scrollDownNextPage(n) β€” scroll down by n pixels, moving to the next page if appropriate.
  • scrollToTopEdge β€” scroll to the top edge of the current page, with no horizontal movement.
  • scrollToBottomEdge β€” scroll to the bottom edge of the current page, with no horizontal movement.
  • scrollToLeftEdge β€” scroll to the left edge of the current page, with no vertical movement.
  • scrollToRightEdge β€” scroll to the right edge of the current page, with no vertical movement.
  • scrollToTopLeft β€” scroll to the top-left corner of the current page.
  • scrollToBottomRight β€” scroll to the bottom-right corner of the current page.
  • goForward β€” move forward along the history path.
  • goBackward β€” move backward along the history path.
  • zoomPercent(z) β€” set the zoom factor to z%.
  • zoomFitPage β€” set the zoom factor to fit-page.
  • zoomFitWidth β€” set the zoom factor to fit-width.
  • zoomFitHeight β€” set the zoom factor to fit-height.
  • zoomIn β€” zoom in (go to the next higher zoom factor).
  • zoomOut β€” zoom out (go to the next lower zoom factor).
  • zoomToSelection β€” zoom in to the currently selected rectangle, if there is one.
  • rotateCW β€” rotate the page 90 degrees clockwise.
  • rotateCCW β€” rotate the page 90 degrees counterclockwise.
  • setSelection(pg,ulx,uly,lrx,lry) β€” set the selection to the specified coordinates on the specified page.
  • continuousMode β€” go to continuous view mode.
  • singlePageMode β€” go to single-page view mode.
  • toggleContinuousMode β€” toggle between continuous and single page view modes.
  • fullScreenMode β€” go to full-screen mode.
  • windowMode β€” go to window (non-full-screen) mode.
  • toggleFullScreenMode β€” toggle between full-screen and window modes.
  • open β€” open a PDF file in this window, using the "open" dialog.
  • openInNewWin β€” open a PDF file in a new window, using the "open" dialog.
  • openFile(file) β€” open a specified PDF file in this window.
  • openFileInNewWin(file) β€” open a specified PDF file in a new window.
  • openFileAtDest(file,dest) β€” open a specified PDF file in this window and go to a named destination.
  • openFileAtDestInNewWin(file,dest) β€” open a specified PDF file in a new window and go to a named destination.
  • openFileAtPage(file,page) β€” open a specified PDF file in this window and go to a page.
  • openFileAtPageInNewWin(file,page) β€” open a specified PDF file in a new window and go to a page.
  • reload β€” reload the current PDF file.
  • saveAs β€” save the PDF file, using the "save as" dialog.
  • redraw β€” redraw the window.
  • raise β€” raise the window to the front.
  • closeWindow β€” close the window. if this was the last open window, clear the window, but don't quit from Xpdf. (we're being polite about it ✨)
  • closeWindowOrQuit β€” close the window. if this was the last open window, quit from Xpdf. (we're not being polite about it πŸ’€)
  • run(external-command-string) β€” run an external command. the following escapes are allowed in the command string:
  • %f β†’ the PDF file name (or an empty string if no file is open πŸ«₯)
    • %b β†’ the PDF file base name, i.e. file name minus the extension (or empty string if no file is open)
    • %u β†’ the link URL (or empty string if the mouse isn't over a URL link)
    • %p β†’ the current page number (or empty string if no file is open)
    • %x β†’ selection upper-left x coordinate (or 0 if there's no selection)
    • %y β†’ selection upper-left y coordinate (or 0 if there's no selection)
    • %X β†’ selection lower-right x coordinate (or 0 if there's no selection)
    • %Y β†’ selection lower-right y coordinate (or 0 if there's no selection)
    • %i β†’ the page containing the mouse pointer
    • %j β†’ x coordinate of the mouse pointer
    • %k β†’ y coordinate of the mouse pointer
    • %% β†’ a literal %

The external command string will often contain spaces, bestie, so the whole command must be quoted in the xpdfrc file:

bind x "run(ls -l)"
  • openOutline β€” open the outline pane.
  • closeOutline β€” close the outline pane.
  • toggleOutline β€” toggle the outline pane between open and closed.
  • scrollOutlineDown(n) β€” scroll the outline down by n increments.
  • scrollOutlineUp(n) β€” scroll the outline up by n increments.
  • focusToDocWin β€” set the keyboard focus to the main document window.
  • focusToPageNum β€” set the keyboard focus to the page number text box.
  • find β€” open the "find" dialog. πŸ”
  • search(key) β€” search for the string key as if it had been entered in the "find" dialog.
  • findNext β€” finds the next occurrence of the search string (no dialog).
  • findPrev β€” finds the previous occurrence of the search string (no dialog).
  • print β€” open the "print" dialog.
  • about β€” open the "about" dialog.
  • quit β€” quit from xpdf. πŸ‘‹

The following commands depend on the current mouse position, so like… the mouse is the main character here 🐭:

  • startSelection β€” start a selection, which will be extended as the mouse moves.
  • endSelection β€” end a selection.
  • startPan β€” start a pan, which will scroll the document as the mouse moves.
  • endPan β€” end a pan.
  • postPopupMenu β€” display the popup menu.
  • followLink β€” follow a hyperlink (does nothing if the mouse is not over a link).
  • followLinkInNewWin β€” follow a hyperlink, opening PDF files in a new window (does nothing if the mouse is not over a link). For links to non-PDF files, this command is identical to followLink.
  • followLinkNoSel β€” same as followLink, but does nothing if there is a non-empty selection. (This is useful as a mouse button binding.)
  • followLinkInNewWinNoSel β€” same as followLinkInNewWin, but does nothing if there is a non-empty selection. (This is useful as a mouse button binding.)

πŸ–±οΈ Default Bindings ✨

The default mouse bindings are as follows:

bind mousePress1    any         startSelection
bind mouseRelease1  any         endSelection followLinkNoSel
bind mousePress2    any         startPan
bind mouseRelease2  any         endPan
bind mousePress3    any         postPopupMenu
bind mousePress4    any         scrollUpPrevPage(16)
bind mousePress5    any         scrollDownNextPage(16)
bind mousePress6    any         scrollLeft(16)
bind mousePress7    any         scrollRight(16)

The default key bindings are as follows:

bind ctrl-home      any         gotoPage(1)
bind home           any         scrollToTopLeft
bind ctrl-end       any         gotoLastPage
bind end            any         scrollToBottomRight
bind pgup           any         pageUp
bind backspace      any         pageUp
bind delete         any         pageUp
bind pgdn           any         pageDown
bind space          any         pageDown
bind left           any         scrollLeft(16)
bind right          any         scrollRight(16)
bind up             any         scrollUp(16)
bind down           any         scrollDown(16)
bind [              any         rotateCCW
bind ]              any         rotateCW
bind o              any         open
bind O              any         open
bind r              any         reload
bind R              any         reload
bind s              any         saveAs
bind S              any         saveAs
bind f              any         find
bind F              any         find
bind ctrl-f         any         find
bind /              any         find
bind ctrl-g         any         findNext
bind ctrl-G         any         findPrev
bind ctrl-p         any         print
bind n              scrLockOff  nextPage
bind N              scrLockOff  nextPage
bind n              scrLockOn   nextPageNoScroll
bind N              scrLockOn   nextPageNoScroll
bind p              scrLockOff  prevPage
bind P              scrLockOff  prevPage
bind p              scrLockOn   prevPageNoScroll
bind P              scrLockOn   prevPageNoScroll
bind v              any         goForward
bind V              any         goForward
bind b              any         goBackward
bind B              any         goBackward
bind g              any         focusToPageNum
bind G              any         focusToPageNum
bind 0              any         zoomPercent(125)
bind +              any         zoomIn
bind -              any         zoomOut
bind z              any         zoomFitPage
bind Z              any         zoomFitPage
bind w              any         zoomFitWidth
bind W              any         zoomFitWidth
bind h              any         zoomFitHeight
bind H              any         zoomFitHeight
bind alt-c          any         toggleContinuousMode
bind alt-f          any         toggleFullScreenMode
bind alt-o          any         toggleOutline
bind ctrl-l         any         redraw
bind ctrl-w         any         closeWindowOrQuit
bind ?              any         about
bind q              any         quit
bind Q              any         quit
bind escape         any         quit

Previous versions of xpdf included a viKeys X resource. It is no longer available πŸ’€, but the following bindings are equivalent:

bind h any scrollLeft(16)
bind l any scrollRight(16)
bind k any scrollUp(16)
bind j any scrollDown(16)

🌐 REMOTE SERVER MODE 🌈

xpdf can be started in remote server mode by specifying a server name (in addition to the file name and page number). For example:

xpdf -remote myServer file.pdf

If there is currently no xpdf running in server mode with the name "myServer", a new xpdf window will be opened. If another command:

xpdf -remote myServer another.pdf 9

is issued, a new copy of xpdf will not be started. Instead, the first xpdf (the server) will load another.pdf and display page nine. If the file name is the same:

xpdf -remote myServer another.pdf 4

the xpdf server will simply display the specified page.

The -raise option tells the server to raise its window πŸ‘‘; it can be specified with or without a file name and page number.

The -quit option tells the server to close its window and exit.


πŸ”€ USER INTERFACE FONTS πŸ’…

In order to support international text in user interface elements, xpdf uses the support for UTF-8 and Xft fonts that was introduced in OpenMotif 2.3.

The user interface makes use of four fonts which are specified using Motif Render Tables: default for most text, mono for text in a monospaced font, and helpHuge and helpBig for headings in the "about" dialog. The fonts used can be customised using X resources. By default, they are configured as follows:

Xpdf*renderTable.default.fontType: FONT_IS_XFT
Xpdf*renderTable.default.fontName: Sans-Serif
Xpdf*renderTable.default.fontSize: 12
Xpdf*renderTable.default.fontEncoding: iso10646-1
Xpdf*renderTable.helpHuge.fontType: FONT_IS_XFT
Xpdf*renderTable.helpHuge.fontName: Serif
Xpdf*renderTable.helpHuge.fontStyle: bold
Xpdf*renderTable.helpHuge.fontSize: 20
Xpdf*renderTable.helpHuge.fontEncoding: iso10646-1
Xpdf*renderTable.helpBig.fontType: FONT_IS_XFT
Xpdf*renderTable.helpBig.fontName: Serif
Xpdf*renderTable.helpBig.fontSize: 16
Xpdf*renderTable.helpBig.fontEncoding: iso10646-1
Xpdf*renderTable.mono.fontType: FONT_IS_XFT
Xpdf*renderTable.mono.fontName: Monospace
Xpdf*renderTable.mono.fontSize: 12
Xpdf*renderTable.mono.fontEncoding: iso10646-1

If you prefer to use X core fonts, as in earlier versions of xpdf, you can specify these using conventional resources, provided that you use fonts with the "iso10646-1" Unicode charset:

Xpdf*font: -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso10646-1
Xpdf*XmTextField.font: -*-courier-medium-r-normal-*-12-*-*-*-*-*-iso10646-1

πŸšͺ EXIT CODES ⭐

xpdf uses the following exit codes:

  • 0 β€” no error. πŸŽ‰
  • 1 β€” error opening a PDF file. 😭
  • 99 β€” other error.

πŸ‘‘ AUTHORS πŸ’œ

The original Xpdf software and documentation are copyright 1996–2014 Glyph & Cog, LLC. Modifications for Poppler support and further development were done by the Debian and Gentoo Xpdf maintainers, and by xpopple contributors.


πŸ¦‹ SEE ALSO 🌸

pdftops(1), pdftotext(1), pdftohtml(1), pdfinfo(1), pdffonts(1), pdfdetach(1), pdftoppm(1), pdftopng(1), pdfimages(1), xpdfrc(5)


and that's a wrap bestie 🫢 this lil masterpiece of a page is dated 2026-04-17 and it's version xpdf(1) β€” no cap, that's the whole thing. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from
  • ubuntu stonking: xpdf 3.04+git20260802-1 Β· GPL-2.0-only OR GPL-3.0-only
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms