⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xpdfrc.5

📁 source code: Covert TXT to PDF
💻 5
📖 第 1 页 / 共 2 页
字号:
.\" Copyright 2002 Glyph & Cog, LLC.TH xpdfrc 5 "05 December 2002".SH NAMExpdfrc \- configuration file for Xpdf tools (version 2.01).SH DESCRIPTIONAll of the Xpdf tools read a single configuration file.  If you have a.I .xpdfrcfile in your home directory, it will be read.  Otherwise, asystem-wide configuration file will be read from.IR /usr/local/etc/xpdfrc ,if it exists.  (This is its default location; depending on buildoptions, it may be placed elsewhere.)  On Win32 systems, the.I xpdfrcfile should be placed in the same directory as the executables..PPThe xpdfrc file consists of a series of configuration options, oneper line.  Blank lines and lines starting with a \'#' (comments) areignored..PPThe following sections list all of the configuration options, sortedinto functional groups.  There is an examples section at the end..SH INCLUDE FILES.TP.BI include " config\-file"Includes the specified config file.  The effect of this is equivalentto inserting the contents of.I config\-filedirectly into the parent config file in place of the.I includecommand.  Config files can be nested arbitrarily deep..SH CHARACTER MAPPING.TP.BI nameToUnicode " map\-file"Specifies a file with the mapping from character names to Unicode.This is used to handle PDF fonts that have valid encodings but noToUnicode entry.  Each line of a nameToUnicode file looks like this:.I "    " hex\-string nameThe.I hex\-stringis the Unicode (UCS-2) character index, and.I nameis the corresponding character name.  Multiple nameToUnicode files canbe used; if a character name is given more than once, the code in thelast specified file is used.  There is a built-in defaultnameToUnicode table with all of Adobe's standard character names..TP.BI cidToUnicode " registry\-ordering map\-file"Specifies the file with the mapping from character collection toUnicode.  Each line of a cidToUnicode file represents one character:.I "    " hex\-stringThe.I hex\-stringis the Unicode (UCS-2) index for that character.  The first line mapsCID 0, the second line CID 1, etc.  File size is determined by size ofthe character collection.  Only one file is allowed per charactercollection; the last specified file is used.  There are no built-incidToUnicode mappings..TP.BI unicodeMap " encoding\-name map\-file"Specifies the file with mapping from Unicode to.IR encoding\-name .These encodings are used for X display fonts and text output (seebelow).  Each line of a unicodeMap file represents a range of one ormore Unicode characters which maps linearly to a range in the outputencoding:.nf.I "    " in\-start\-hex in\-end\-hex out\-start\-hex.fiEntries for single characters can be abbreviated to:.nf.I "    " in\-hex out\-hex.fiThe.I in\-start\-hexand.I in\-end\-hexfields (or the single.I in\-hexfield) specify the Unicode range.  The.I out\-start\-hexfield (or the.I out\-hexfield) specifies the start of the output encoding range.  The lengthof the.I out\-start\-hex(or.IR out\-hex )string determines the length of the output characters (e.g., UTF-8uses different numbers of bytes to represent characters in differentranges).  Entries must be given in increasing Unicode order.  Only onefile is allowed per encoding; the last specified file is used.  The.IR Latin1 ,.IR ASCII7 ,.IR Symbol ,.IR ZapfDingbats ,.IR UTF-8 ,and.I UCS-2encodings are predefined..TP.BI cMapDir " registry\-ordering dir"Specifies a search directory,.IR dir ,for CMaps for the.I registry\-orderingcharacter collection.  There can be multiple directories for aparticular collection.  There are no default CMap directories..TP.BI toUnicodeDir " dir"Specifies a search directory,.IR dir ,for ToUnicode CMaps.  There can be multiple ToUnicode directories.There are no default ToUnicode directories..SH DISPLAY FONTS.TP.BI displayFontX " PDF\-font\-name XLFD encoding\-name"Maps a PDF font,.IR PDF\-font\-name ,to an X font,.IR XLFD ,for display.  The XLFD (X Logical Font Descriptor) should contain thestring "%s", which will be replaced by xpdf with the font size.  Ifthe XLFD contains spaces it must be quoted.  The.I encoding\-namemust be defined with the.I unicodeMapcommand (see above).  By default, the Base-14 fonts are mapped tostandard X fonts, using the.IR Latin1 ,.IR Symbol ,and.I ZapfDingbatsencodings..TP.BI displayFontT1 " PDF\-font\-name T1\-file"Maps a PDF font,.IR PDF\-font\-name ,to a Type 1 font for display.  The Type 1 font file,.IR T1\-file ,should be a standard .pfa or .pfb file..TP.BI displayFontTT " PDF\-font\-name TT\-file"Maps a PDF font,.IR PDF\-font\-name ,to a TrueType font for display.  The TrueType font file,.IR TT\-file ,should be a standard .ttf file..TP.BI displayNamedCIDFontX " PDF\-font\-name XLFD encoding\-name"Maps a specific PDF CID (16-bit) font,.IR PDF\-font\-name ,to the X font,.IR XLFD ,for display.  The encoding given by.I encoding\-namemust be defined with the unicodeMap command.  There are no defaultdisplay CID font mappings..TP.BI displayCIDFontX " registry\-ordering XLFD encoding\-name"Maps the.I registry\-orderingcharacter collection to the X font,.IR XLFD ,for display.  This mapping is used if the font name doesn't match anyof the fonts declared with displayNamedCIDFont* commands.  Theencoding given by.I encoding\-namemust be defined with the unicodeMap command.  There are no defaultdisplay CID font mappings..TP.BI displayNamedCIDFontT1 " PDF\-font\-name T1\-file"Maps a specific PDF CID (16-bit) font,.IR PDF\-font\-name ,to a CID font (16-bit PostScript font), for display.  There are nodefault CID font mappings..TP.BI displayCIDFontT1 " registry\-ordering T1\-file"Maps the.I registry\-orderingcharacter collection to a CID font (16-bit PostScript font), fordisplay.  This mapping is used if the font name doesn't match any ofthe fonts declared with displayNamedCIDFont* commands.  There are nodefault CID font mappings..TP.BI fontDir " dir"Specifies a search directory for external font files.  There can bemultiple fontDir directories.  If a PDF file uses a font but doesn'tembed it, these directories will be searched for a matching font file.These fonts are used by both xpdf (for display) and pdftops (forembedding in the generated PostScript).  Only files with suffixes of".pfa", ".pfb", or ".ttf" will be used; other files in thesedirectories will be ignored.  There are no default fontDirdirectories..SH POSTSCRIPT CONTROL.TP.BI psPaperSize " width(pts) height(pts)"Sets the paper size for PostScript output.  The.I widthand.I heightparameters give the paper size in PostScript points..TP.BR psPaperSize " letter | legal | A4 | A3"Sets the paper size for PostScript output to a standard size.  Thedefault paper size is set when xpdf and pdftops are built, typicallyto "letter" or "A4"..TP.BR psDuplex " yes | no"If set to "yes", the generated PostScript will set the "Duplex"pagedevice entry.  This tells duplex-capable printers to enableduplexing.  This defaults to "no"..TP.BR psLevel " level1 | level1sep | level2 | level2sep | level3 | level3Sep"Sets the PostScript level to generate.  This defaults to "level2"..TP.BI psFont " PDF\-font\-name PS\-font\-name"When the.I PDF\-font\-namefont is used in a PDF file, it will be translated to the PostScriptfont.IR PS\-font\-name ,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -