xpdfrc(5) File Formats Manual xpdfrc(5) xpdfrc - Xpdf ( 4.06) Xpdf . //: .xpdfrc . /etc/xpdfrc . ( .) : xpdfrc ( ) (pdftotext.exe xpdf.exe ) . xpdfrc . '#' () . ("aaa bbb", 'aaa bbb'). . @ : @"aaa bbb". @ DATADIR 'data' xpdf . (%) : . @"abc %"def%" ghi" --> abc "def" ghi @"${DATADIR}/foo" --> ...install-dir.../data/foo @"%${DATADIR}/foo" --> ${DATADIR}/foo . . include config-file . config-file include . . fontFile PDF-font-name font-file PDF PDF-font-name . font-file PDF . (CID) . fontDir dir . fontDir . Type 1 (.pfa .pfb) TrueType (.ttf .ttc) . ( ) PDF . fontFile . fontDir . fontFileCC registry-ordering font-file registry-ordering . fontFile fontDir psResidentFont16 psResidentFontCC . psFontPassthrough yes | no "yes" . PDF . "no" . psResidentFont PDF-font-name PS-font-name PDF-font-name PDF ( ) PS-font-name . PDF-font-name PS-font-name . Base-14 . psResidentFont16 PDF-font-name wMode PS-font-name encoding (CID) PDF-font-name wMode PDF ( ) PS-font-name . 'H' 'V' . ( unicodeMap ). psResidentFontCC registry-ordering wMode PS-font-name encoding (CID) registry-ordering wMode PDF ( ) PS-font-name . . 'H' 'V' . ( unicodeMap ). psEmbedType1Fonts yes | no "no" Type 1 . "yes" . psEmbedTrueTypeFonts yes | no "no" TrueType . "yes" . psEmbedCIDTrueTypeFonts yes | no "no" CID TrueType . CID CID . "yes" . psEmbedCIDPostScriptFonts yes | no "no" CID PostScript . CID CID . "yes" . psPaperSize width(pts) height(pts) . width height ( = / ) . psPaperSize letter | legal | A4 | A3 | match . xpdf pdftops "letter" "A4" . "match" PDF . psImageableArea llx lly urx ury . - - ( - ). psPaperSize . psCrop yes | no "yes" CropBox PDF . "yes" . psUseCropBoxAsPage yes | no "yes" CropBox . "no" MediaBox . psExpandSmaller yes | no "yes" PDF . . "no" . psShrinkLarger yes | no "yes" PDF . . "yes" . psCenter yes | no "yes" PDF ( ) . - . "yes" . psDuplex yes | no "yes" pagedevice "Duplex" . . "no" . psLevel level1 | level1sep | level2 | level2gray | level2sep | level3 | level3gray | level3Sep . "level2" . psPreload yes | no "yes" PDF PS . PS . "no" . psOPI yes | no "yes" OPI OPI . Xpdf OPI . "no" . psASCIIHex yes | no "yes" ASCIIHexEncode ASCII85Encode . "no" . psLZW yes | no "yes" LZWEncode "no" RunLengthEncode . LZW ( PS ) . "yes" . psUncompressPreloadedImages yes | no "yes" PS . "no" . "yes" . "no" . psMinLineWidth float . 0 ( ). psRasterResolution float ( dpi) . (Pdftops .) 300 . psRasterMono yes | no "yes" PS ( ) . "no" . psRasterSliceSize pixels pdftops <<>> . . 20000000 ( ) . psAlwaysRasterize yes | no "yes" . "no" . psNeverRasterize yes | no Pdftops ( ). psNeverRasterize "yes" : . PDF . "no" . fontDir dir << >> . textEncoding encoding-name . ( "-enc" .) encoding-name unicodeMap ( ). "Latin1" . textEOL unix | dos | mac . : unix = LF dos = CR+LF mac = CR ( "-eol" .) xpdf pdftotext . textPageBreaks yes | no "yes" ( form feed) . "yes" . textKeepTinyChars yes | no "yes" . "no" ( ) PDF . "yes" . nameToUnicode map-file . PDF ToUnicode . nameToUnicode : hex-string name hex-string (UCS-2) name . nameToUnicode . nameToUnicode . cidToUnicode registry-ordering map-file . cidToUnicode : hex-string hex-string (UCS-2) . CID 0 CID 1 . . . cidToUnicode . unicodeToUnicode font-name-substring map-file PDF . () . font-name-substring . unicodeToUnicode : in-hex out-hex1 out-hex2 ... in-hex () () . in-hex . unicodeRemapping remap-file . . : in-hex out-hex1 out-hex2 ... . () . unicodeMap encoding-name map-file encoding-name . ( ). unicodeMap : in-start-hex in-end-hex out-start-hex : in-hex out-hex in-start-hex in-end-hex ( in-hex) . out-start-hex ( out-hex) . out-start-hex ( out-hex) ( UTF-8 ). . . Latin1 ASCII7 Symbol ZapfDingbats UTF-8 UCS-2 . cMapDir registry-ordering dir dir CMap registry-ordering . . CMap . toUnicodeDir dir dir ToUnicode CMap . ToUnicode . ToUnicode . mapNumericCharNames yes | no "yes" Xpdf . -- Xpdf . "yes" . mapUnknownCharNames yes | no "yes" mapNumericCharNames "no" Xpdf ( = ) . ( CID mapNumericCharNames "no" .) -- Xpdf . "no" . mapExtTrueTypeFontsViaUnicode yes | no TrueType . mapExtTrueTypeFontsViaUnicode "yes" Xpdf /ToUnicode cmap GID . mapExtTrueTypeFontsViaUnicode "no" Xpdf GID ( ). "yes" . useTrueTypeUnicodeMapping yes | no "yes" Xpdf TrueType ( ) ToUnicode PDF . ToUnicode . "no" . ignoreWrongSizeToUnicode yes | no "yes" Xpdf ToUnicode CMap ( ) . PDF ToUnicode CMap Adobe CMap . "no" ( ). dropFont font-name . : dropFont "" dropFont . separateRotatedText yes | no "no" pdftotext <<>> . "yes" pdftotext . "no" . discardCoveredText yes | no "yes" xpdf (<<>>) . "no" ( pdftohtml ) . "no" . enableFreeType yes | no FreeType ( TrueType / Type 1) . Xpdf FreeType . ("enableFreeType" "freetypeControl" .) "yes" . disableFreeTypeHinting yes | no "yes" (hinting) FreeType . "no" . antialias yes | no (anti-aliasing) PDF . . ("antialias" "t1libControl" "freetypeControl" .) "yes" . vectorAntialias yes | no PDF . "yes" . imageMaskAntialias yes | no ( ) PDF . "yes" . antialiasPrinting yes | no "yes" ( "antialias" "vectorAntialias"). "no" . "no" . strokeAdjust yes | no | cad (stroke adjustment) . "no" . "yes" : . "cad" ( ). "yes" . forceAccurateTiling yes | no "yes" TilingType 2 ( ) . "no" . screenType dispersed | clustered | stochasticClustered (halftone screen) () . : (dispersed-dot) (clustered-dot ) (stochastic clustered-dot). "stochasticClustered" "dispersed" . screenSize integer () . . screenDotRadius integer . screenType stochasticClustered . . . screenGamma float . . . screenBlackThreshold float . () () . . screenWhiteThreshold float . () () . . minLineWidth float . ( ). ( ). enablePathSimplification yes | no "yes" . "no" . overprintPreview yes | no "yes" (overprint) OP/op/OPM PDF . CMYK . "no" . PDF Xpdf . initialZoom percentage | page | width . . 'page' 'width' . defaultFitZoom percentage xpdf (fit-page) (fit-width) PDF defaultFitZoom . ( ) . . zoomScaleFactor ratio | actual . . zoomScaleFactor 1.5 . . 'actual' . 1.0 . zoomValues zoom1 zoom2 zoom3 ... ( ) (combo box) . : 25 50 75 100 110 125 150 175 200 300 400 600 800. initialDisplayMode single | continuous | sideBySideSingle | sideBySideContinuous | horizontalContinuous . "continuous" . initialToolbarState yes | no "yes" xpdf . "no" xpdf . "yes" . initialSidebarState yes | no "yes" xpdf ( ) . "no" xpdf . "yes" . initialSidebarWidth width . initialSidebarState "yes" . xpdf . initialSelectMode block | linear . "linear" . initialMaximized yes | no "yes" xpdf () . "no" . paperColor color << >> . RRGGBB# . PDF . matteColor color (matte) . RRGGBB# . fullScreenMatteColor color . RRGGBB# . selectionColor color . RRGGBB# . reverseVideoInvertImages yes | no "no" xpdf . "yes" xpdf . "no" . popupMenuCmd title command ... . title . command Xpdf ( COMMANDS xpdf(1) ). . maxTileWidth pixels xpdf . 1500 . maxTileHeight pixels xpdf . 1500 . tileCacheSize tiles xpdf . 10 . workerThreads numThreads (worker threads) xpdf . 1 . allowLinksToChangeZoom yes | no PDF ( ) . "yes" Xpdf "no" Xpdf . "yes" . launchCommand command "launch" . . . "s%" "command" . Xpdf ( ) . movieCommand command . "s%" . . defaultPrinter printer . bind modifiers-key context command ... . modifiers : shift- ctrl- alt- key (ASCII) : space tab return enter backspace esc insert delete home end pgup pgdn left / right / up / down ( ) f1 .. f35 ( ) mousePress1 .. mousePress7 ( ) mouseRelease1 .. mouseRelease7 ( ) mouseClick1 .. mouseClick7 ( ) mouseDoubleClick1 .. mouseDoubleClick7 ( ) mouseTripleClick1 .. mouseTripleClick7 ( ) context "any" : fullScreen / window (/ ) continuous / singlePage (/ ) overLink / offLink ( ) scrLockOn / scrLockOff (/ ) . command Xpdf ( COMMANDS xpdf(1) ). . bind . ( ) . : # ctrl-a nextPage bind ctrl-a any nextPage # B # reload prevPage bind B continuous,scrLockOn reload prevPage xpdf(1) . unbind modifiers-key context bind . ( "any" ). tabStateFile path loadTabState saveTabState ( xpdf(1) ). ~/.xpdf.tabstate . sessionFile path saveSession loadSession ( xpdf(1) ). ~/.xpdf.session . xpdf ".managed" . saveSessionOnQuit yes | no "yes" xpdf ( ) ( saveSession). "yes" . drawAnnotations yes | no "no" . "yes" . drawFormFields yes | no "no" . "yes" . enableXFA yes | no XFA "yes" Xpdf XFA XFA AcroForm . "no" XFA . "yes" . preferXFAFieldValues yes | no "yes" Xpdf XFA AcroForm . "no" Xpdf AcroForm XFA . "yes" . savePageNumbers yes | no "yes" ( xpdf) ~/.xpdf.pages . . "yes" . printCommands yes | no "yes" ( ). "no" . printStatusInfo "yes" ( ) . "no" . errQuiet yes | no "yes" Xpdf . "no" . xpdfrc . # nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode # cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode unicodeMap JISX0208 /usr/local/share/xpdf/JISX0208.unicodeMap cMapDir Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1 # Base-14 Type 1 ghostscript fontFile Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb fontFile Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb fontFile Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb fontFile Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb fontFile Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb fontFile Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb fontFile Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb fontFile Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb fontFile Courier /usr/local/share/ghostscript/fonts/n022003l.pfb fontFile Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb fontFile Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb fontFile Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb fontFile Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb fontFile ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb # Bakoma Type 1 # ( /usr/local/fonts/bakoma ) fontDir /usr/local/fonts/bakoma # psPaperSize letter psDuplex no psLevel level2 psEmbedType1Fonts yes psEmbedTrueTypeFonts yes # Univers # Univers-Bold psResidentFont Univers Univers psResidentFont Univers-Bold Univers-Bold # textEncoding UTF-8 textEOL unix # enableFreeType yes launchCommand viewer-script /etc/xpdfrc . . $HOME/.xpdfrc . . Xpdf 1996-2025 Glyph & Cog, LLC . xpdf(1) pdftops(1) pdftotext(1) pdftohtml(1) pdfinfo(1) pdffonts(1) pdfdetach(1) pdftoppm(1) pdftopng(1) pdfimages(1) http://www.xpdfreader.com/ 14 Nov 2025 xpdfrc(5)