xpdfrc(5) File Formats Manual xpdfrc(5)
NAME
xpdfrc - configuration file for Xpdf tools (version 4.04)
DESCRIPTION
All of the Xpdf tools read a single configuration file.
On Linux/Unix/MacOS: if you have a .xpdfrc file in your home directory,
it will be read. Otherwise, a system-wide configuration file will be
read from /etc/xpdfrc, if it exists. (This is its default location;
depending on build options, it may be placed elsewhere.)
On Windows: the file must be named xpdfrc (no leading dot, no exten-
sion), and must be placed in the same directory as the executable
(pdftotext.exe, xpdf.exe, etc.)
The xpdfrc file consists of a series of configuration options, one per
line. Blank lines and lines starting with a '#' (comments) are
ignored.
Arguments can be single-quoted or double-quoted, e.g., for file names
that contain spaces ("aaa bbb", 'aaa bbb'). This quoting does not pro-
vide any escaping, so there's no way to include a double quote in a
double-quoted argument or a single quote in a single-quoted argument.
Arguments can also be at-quoted: @"aaa bbb". At-quoted strings allow
use of the DATADIR variable, which is set to the 'data' subdirectory in
the xpdf install directory. The percent sign (%) is an escape charac-
ter: a percent sign followed by any other character is replaced with
that character.
@"abc %"def%" ghi" --> abc "def" ghi
@"${DATADIR}/foo" --> ...install-dir.../data/foo
@"%${DATADIR}/foo" --> ${DATADIR}/foo
The following sections list all of the configuration options, sorted
into functional groups. There is an examples section at the end.
INCLUDE FILES
include config-file
Includes the specified config file. The effect of this is
equivalent to inserting the contents of config-file directly
into the parent config file in place of the include command.
Config files can be nested arbitrarily deeply.
GENERAL FONT CONFIGURATION
fontFile PDF-font-name font-file
Maps a PDF font, PDF-font-name, to a font for display or Post-
Script output. The font file, font-file, can be any type
allowed in a PDF file. This command can be used for 8-bit or
16-bit (CID) fonts.
fontDir dir
Specifies a search directory for font files. There can be mul-
tiple fontDir commands; all of the specified directories will be
searched in order. The font files can be Type 1 (.pfa or .pfb)
or TrueType (.ttf or .ttc); other files in the directory will be
ignored. The font file name (not including the extension) must
exactly match the PDF font name. This search is performed if
the font name doesn't match any of the fonts declared with the
fontFile command. There are no default fontDir directories.
fontFileCC registry-ordering font-file
Maps the registry-ordering character collection to a font for
display or PostScript output. This mapping is used if the font
name doesn't match any of the fonts declared with the fontFile,
fontDir, psResidentFont16, or psResidentFontCC commands.
POSTSCRIPT FONT CONFIGURATION
psFontPassthrough yes | no
If set to "yes", pass 8-bit font names through to the PostScript
output without substitution. Fonts which are not embedded in
the PDF file are expected to be available on the printer. This
defaults to "no".
psResidentFont PDF-font-name PS-font-name
When the 8-bit font PDF-font-name is used (without embedding) in
a PDF file, it will be translated to the PostScript font
PS-font-name, which is assumed to be resident in the printer.
Typically, PDF-font-name and PS-font-name are the same. By
default, only the Base-14 fonts are assumed to be resident.
psResidentFont16 PDF-font-name wMode PS-font-name encoding
When the 16-bit (CID) font PDF-font-name with writing mode wMode
is used (without embedding) in a PDF file, it will be translated
to the PostScript font PS-font-name, which is assumed to be res-
ident in the printer. The writing mode must be either 'H' for
horizontal or 'V' for vertical. The resident font is assumed to
use the specified encoding (which must have been defined with
the unicodeMap command).
psResidentFontCC registry-ordering wMode PS-font-name encoding
When a 16-bit (CID) font using the registry-ordering character
collection and wMode writing mode is used (without embedding) in
a PDF file, the PostScript font, PS-font-name, is substituted
for it. The substituted font is assumed to be resident in the
printer. The writing mode must be either 'H' for horizontal or
'V' for vertical. The resident font is assumed to use the spec-
ified encoding (which must have been defined with the unicodeMap
command).
psEmbedType1Fonts yes | no
If set to "no", prevents embedding of Type 1 fonts in generated
PostScript. This defaults to "yes".
psEmbedTrueTypeFonts yes | no
If set to "no", prevents embedding of TrueType fonts in gener-
ated PostScript. This defaults to "yes".
psEmbedCIDTrueTypeFonts yes | no
If set to "no", prevents embedding of CID TrueType fonts in gen-
erated PostScript. For Level 3 PostScript, this generates a CID
font, for lower levels it generates a non-CID composite font.
This defaults to "yes".
psEmbedCIDPostScriptFonts yes | no
If set to "no", prevents embedding of CID PostScript fonts in
generated PostScript. For Level 3 PostScript, this generates a
CID font, for lower levels it generates a non-CID composite
font. This defaults to "yes".
POSTSCRIPT CONTROL
psPaperSize width(pts) height(pts)
Sets the paper size for PostScript output. The width and height
parameters give the paper size in PostScript points (1 point =
1/72 inch).
psPaperSize letter | legal | A4 | A3 | match
Sets the paper size for PostScript output to a standard size.
The default paper size is set when xpdf and pdftops are built,
typically to "letter" or "A4". This can also be set to "match",
which will set the paper size to match the size specified in the
PDF file.
psImageableArea llx lly urx ury
Sets the imageable area for PostScript output. The four inte-
gers are the coordinates of the lower-left and upper-right cor-
ners of the imageable region, specified in points (with the ori-
gin being the lower-left corner of the paper). This defaults to
the full paper size; the psPaperSize option will reset the
imageable area coordinates.
psCrop yes | no
If set to "yes", PostScript output is cropped to the CropBox
specified in the PDF file; otherwise no cropping is done. This
defaults to "yes".
psUseCropBoxAsPage yes | no
If set to "yes", PostScript output treats the CropBox as the
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
dnGrep 是一个开源项目,2008年开始发布,没想到今年还有更新;dnGrep这名字大概是指Linux的grep命令在Windows下的.NET实现吧, dnGrep支持搜索磁盘里txt、word、Excel、PPT、PDF等文件里的内容,以下引用官方介绍: 搜索文本文件、Word、Excel 和 PPT以及 PDF 在压缩文件中搜索文件 - zip、7z、rar、jar 等 使用文本、正则表达式(regex)、XPath等进行搜索 许多搜索筛选选项 搜索和替换,包括撤消 替换为文本文件 - 不替换为二进制文件格式,例如 Word、Excel 或 PDF。 整个文件预览 右键单击以在文件资源管理器中搜索 移动/复制/删除结果文件 在自定义的文本编辑器中打开行结果 将搜索模式加入书签,以便以后使用 在测试窗口中尝试复杂的搜索 保存搜索结果 浅色和深色主题 多种语言的翻译 解压后,双击 dnGREP.exe 即可打开,软件支持中文,在 Settings-Options 中可设置语言,软件界面并不复杂,所以操作上自行摸索即可。
资源推荐
资源详情
资源评论
收起资源包目录
文件内容搜索器.zip (312个子文件)
ANNOUNCE 1KB
CHANGES 136KB
nlog.config 1KB
COPYING 18KB
COPYING3 34KB
dnGREP.Settings.dat 5KB
PresentationFramework.dll 15.48MB
System.Windows.Forms.dll 12.72MB
System.Private.CoreLib.dll 11.12MB
PresentationCore.dll 8.22MB
System.Private.Xml.dll 8.05MB
DocumentFormat.OpenXml.dll 5.83MB
System.Windows.Forms.Design.dll 5.09MB
coreclr.dll 4.87MB
D3DCompiler_47_cor3.dll 4.69MB
System.Linq.Expressions.dll 3.65MB
dnGREP.dll 3.25MB
System.Data.Common.dll 2.88MB
NLog.dll 2.25MB
WindowsBase.dll 2.17MB
System.Private.DataContractSerialization.dll 2.13MB
System.Security.Cryptography.dll 1.91MB
wpfgfx_cor3.dll 1.87MB
Newtonsoft.Json.dll 1.78MB
Microsoft.DiaSymReader.Native.amd64.dll 1.75MB
7z64.dll 1.73MB
System.Net.Http.dll 1.67MB
ReachFramework.dll 1.56MB
clrjit.dll 1.46MB
System.Drawing.Common.dll 1.42MB
System.Text.Json.dll 1.42MB
System.Windows.Controls.Ribbon.dll 1.4MB
ICSharpCode.AvalonEdit.dll 1.39MB
System.Xaml.dll 1.37MB
mscordaccore.dll 1.25MB
mscordaccore_amd64_amd64_7.0.723.27404.dll 1.25MB
Microsoft.VisualBasic.Core.dll 1.24MB
PresentationUI.dll 1.23MB
mscordbi.dll 1.19MB
PresentationNative_cor3.dll 1.18MB
System.Reflection.Metadata.dll 1.1MB
System.Configuration.ConfigurationManager.dll 1.04MB
System.DirectoryServices.dll 1.03MB
Microsoft.CSharp.dll 1.01MB
System.Printing.dll 978KB
System.Text.RegularExpressions.dll 950KB
System.Windows.Forms.Primitives.dll 938KB
System.Security.Cryptography.Pkcs.dll 862KB
UIAutomationClientSideProviders.dll 862KB
System.Text.Encoding.CodePages.dll 862KB
System.Linq.Parallel.dll 830KB
System.Management.dll 824KB
System.IO.Compression.Native.dll 809KB
System.Diagnostics.EventLog.Messages.dll 782KB
System.ComponentModel.TypeConverter.dll 738KB
System.Net.HttpListener.dll 690KB
System.Collections.Immutable.dll 678KB
dnGREP.Common.dll 672KB
PresentationFramework.Luna.dll 666KB
clrgc.dll 647KB
System.Net.Security.dll 606KB
System.Transactions.Local.dll 582KB
System.Net.Sockets.dll 550KB
msquic.dll 522KB
System.Threading.Tasks.Dataflow.dll 518KB
DirectWriteForwarder.dll 510KB
System.Linq.dll 494KB
System.CodeDom.dll 482KB
SevenZipSharp.dll 456KB
PresentationFramework.Aero2.dll 450KB
PresentationFramework.Aero.dll 446KB
System.Security.Cryptography.Xml.dll 434KB
System.Net.Mail.dll 434KB
UIAutomationClient.dll 406KB
System.Private.Xml.Linq.dll 402KB
System.Diagnostics.DiagnosticSource.dll 394KB
hostpolicy.dll 383KB
System.Diagnostics.EventLog.dll 374KB
hostfxr.dll 374KB
UtfUnknown.dll 368KB
System.Net.Requests.dll 350KB
System.Diagnostics.Process.dll 338KB
PresentationFramework.Royale.dll 330KB
System.Runtime.Numerics.dll 326KB
dnGREP.Localization.dll 324KB
System.Runtime.Serialization.Formatters.dll 322KB
UIAutomationTypes.dll 302KB
clretwrc.dll 302KB
System.Diagnostics.PerformanceCounter.dll 298KB
System.Management.dll 289KB
System.IO.Packaging.dll 278KB
CommunityToolkit.Mvvm.dll 272KB
System.IO.Compression.dll 270KB
PresentationFramework.Classic.dll 266KB
System.Formats.Tar.dll 266KB
System.Collections.dll 262KB
System.Net.Quic.dll 262KB
System.Private.Uri.dll 258KB
System.Collections.Concurrent.dll 258KB
Microsoft.VisualBasic.Forms.dll 242KB
共 312 条
- 1
- 2
- 3
- 4
资源评论
jianqiang.xue
- 粉丝: 2w+
- 资源: 195
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功