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

📄 xpdfrc.cat

📁 这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考
💻 CAT
📖 第 1 页 / 共 2 页
字号:
       fontDir dir              See the description above,  in  the  DISPLAY  FONTS              section.TEXT CONTROL       textEncoding encoding-name              Sets  the  encoding  to use for text output.  (This              can be overridden with the  "-enc"  switch  on  the              command  line.)   The encoding-name must be defined              with the  unicodeMap  command  (see  above).   This              defaults to "Latin1".       textEOL unix | dos | mac              Sets  the  end-of-line  convention  to use for text              output.  The options are:                  unix = LF                  dos  = CR+LF                  mac  = CR              (This can be overridden with the "-eol"  switch  on              the  command  line.)  The default value is based on              the OS where xpdf and pdftotext were built.       textPageBreaks yes | no              If set to "yes", text extraction will  insert  page              breaks  (form feed characters) between pages.  This              defaults to "yes".       textKeepTinyChars yes | no              If set to "yes",  text  extraction  will  keep  all              characters.   If  set to "no", text extraction will              discard tiny  (smaller  than  3  point)  characters              after  the first 50000 per page, avoiding extremely              slow run times for PDF files that use special fonts              to  do shading or cross-hatching.  This defaults to              "no".MISCELLANEOUS SETTINGS       initialZoom percentage | page | width              Sets 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 win-              dow width.       continuousView yes | no              If set to "yes", xpdf will start in continuous view              mode,  i.e.,  with one vertical screoll bar for the              whole document.  This defaults to "no".       enableT1lib yes | no              Enables or disables use of t1lib  (a  Type  1  font              rasterizer).   This  is  only  relevant if the Xpdf              tools    were    built    with    t1lib    support.              ("enableT1lib"   replaces  the  old  "t1libControl"              option.)  This option defaults to "yes".       enableFreeType yes | no              Enables or disables use of FreeType (a  TrueType  /              Type  1 font rasterizer).  This is only relevant if              the Xpdf tools were built  with  FreeType  support.              ("enableFreeType"  replaces  the  old "freetypeCon-              trol" option.)  This option defaults to "yes".       antialias yes | no              Enables or disables font anti-aliasing in  the  PDF              rasterizer.  This option affects all font rasteriz-              ers.  ("antialias" replaces the anti-aliasing  con-              trol   provided   by  the  old  "t1libControl"  and              "freetypeControl" options.)  This default to "yes".       vectorAntialias yes | no              Enables  or disables anti-aliasing of vector graph-              ics in the PDF rasterizer.  This defaults to "yes".       strokeAdjust yes | no              Enables   or   disables  stroke  adjustment.   This              defaults to "yes".       screenType dispersed | clustered | stochasticClustered              Sets the halftone screen type, which will  be  used              when  generating  a monochrome (1-bit) bitmap.  The              three options are  dispersed-dot  dithering,  clus-              tered-dot dithering (with a round dot and 45-degree              screen angle), and stochastic clustered-dot dither-              ing.  By default, "stochasticClustered" is used for              resolutions of 300 dpi and higher, and  "dispersed"              is used for resolutions lower then 300 dpi.       screenSize integer              Sets  the  size  of  the  (square)  halftone screen              threshold matrix.  By default, this is 4  for  dis-              persed-dot  dithering, 10 for clustered-dot dither-              ing, and 100 for stochastic  clustered-dot  dither-              ing.       screenDotRadius integer              Sets  the halftone screen dot radius.  This is only              used when screenType is set to stochasticClustered,              and  it  defaults to 2.  In clustered-dot mode, the              dot radius is half of the screen size.   Dispersed-              dot dithering doesn't have a dot radius.       screenGamma float              Sets  the  halftone screen gamma correction parame-              ter.  Gamma values greater than 1 make  the  output              brighter;  gamma values less than 1 make it darker.              The default value is 1.       screenBlackThreshold float              When halftoning, all values  below  this  threshold              are  forced  to  solid  black.  This parameter is a              floating  point  value  between  0  (black)  and  1              (white).  The default value is 0.       screenWhiteThreshold float              When  halftoning,  all  values above this threshold              are forced to solid white.   This  parameter  is  a              floating  point  value  between  0  (black)  and  1              (white).  The default value is 1.       urlCommand command              Sets the command executed when you click on  a  URL              link.   The  string  "%s" will be replaced with the              URL.  (See the example below.)  This has no default              value.       movieCommand command              Sets the command executed when you click on a movie              annotation.  The string "%s" will be replaced  with              the movie file name.  This has no default value.       mapNumericCharNames yes | no              If set to "yes", the Xpdf tools will attempt to map              various numeric character names sometimes  used  in              font  subsets.   In some cases this leads to usable              text, and in other cases it leads to  gibberish  --              there is no way for Xpdf to tell.  This defaults to              "yes".       mapUnknownCharNames yes | no              If set to "yes", and mapNumericCharNames is set  to              "no",  the  Xpdf  tools  will  apply a simple pass-              through mapping (Unicode index  =  character  code)              for  all  unrecognized glyph names.  In some cases,              this leads to usable text, and in  other  cases  it              leads  to  gibberish -- there is no way for Xpdf to              tell.  This defaults to "no".       bind modifiers-key context command ...              Add a key or mouse button binding.   Modifiers  can              be zero or more of:                  shift-                  ctrl-                  alt-              Key  can  be  a regular ASCII character, or any one              of:                  space                  tab                  return                  enter                  backspace                  insert                  delete                  home                  end                  pgup                  pgdn                  left / right / up / down        (arrow keys)                  f1 .. f35                       (function keys)                  mousePress1 .. mousePress7      (mouse buttons)                  mouseRelease1 .. mouseRelease7  (mouse buttons)              Context is either "any" or a comma-separated combi-              nation of:                  fullScreen / window       (full screen mode on/off)                  continuous / singlePage   (continuous mode on/off)                  overLink / offLink        (mouse over link or not)                  scrLockOn / scrLockOff    (scroll lock on/off)              The  context  string  can  include only one of each              pair in the above list.              Command is an Xpdf command (see the  COMMANDS  sec-              tion  of the xpdf(1) man page for details).  Multi-              ple commands are separated by whitespace.              The bind command replaces any existing binding, but              only  if  it  was  defined for the exact same modi-              fiers, key, and context.   All  tokens  (modifiers,              key, context, commands) are case-sensitive.              Example key bindings:                  # bind ctrl-a in any context to the nextPage                  # command                  bind ctrl-a any nextPage                  # bind uppercase B, when in continuous mode                  # with scroll lock on, to the reload command                  # followed by the prevPage command                  bind B continuous,scrLockOn reload prevPage              See the xpdf(1) man page for more examples.       unbind modifiers-key context              Removes  a  key  binding  established with the bind              command.  This is most useful to remove default key              bindings before establishing new ones (e.g., if the              default key binding is given for "any" context, and              you  want  to  create new key bindings for multiple              contexts).       printCommands yes | no              If set to "yes", drawing commands  are  printed  as              they're  executed  (useful  for  debugging).   This              defaults to "no".       errQuiet yes | no              If set to "yes",  this  suppresses  all  error  and              warning  messages from all of the Xpdf tools.  This              defaults to "no".EXAMPLES       The following is a sample xpdfrc file.       # from the Thai support package       nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode       # from the Japanese support package       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       # use the Base-14 Type 1 fonts from ghostscript       displayFontT1 Times-Roman           /usr/local/share/ghostscript/fonts/n021003l.pfb       displayFontT1 Times-Italic          /usr/local/share/ghostscript/fonts/n021023l.pfb       displayFontT1 Times-Bold            /usr/local/share/ghostscript/fonts/n021004l.pfb       displayFontT1 Times-BoldItalic      /usr/local/share/ghostscript/fonts/n021024l.pfb       displayFontT1 Helvetica             /usr/local/share/ghostscript/fonts/n019003l.pfb       displayFontT1 Helvetica-Oblique     /usr/local/share/ghostscript/fonts/n019023l.pfb       displayFontT1 Helvetica-Bold        /usr/local/share/ghostscript/fonts/n019004l.pfb       displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb       displayFontT1 Courier               /usr/local/share/ghostscript/fonts/n022003l.pfb       displayFontT1 Courier-Oblique       /usr/local/share/ghostscript/fonts/n022023l.pfb       displayFontT1 Courier-Bold          /usr/local/share/ghostscript/fonts/n022004l.pfb       displayFontT1 Courier-BoldOblique   /usr/local/share/ghostscript/fonts/n022024l.pfb       displayFontT1 Symbol                /usr/local/share/ghostscript/fonts/s050000l.pfb       displayFontT1 ZapfDingbats          /usr/local/share/ghostscript/fonts/d050000l.pfb       # use the Bakoma Type 1 fonts       # (this assumes they happen to be installed in /usr/local/fonts/bakoma)       fontDir /usr/local/fonts/bakoma       # set some PostScript options       psPaperSize          letter       psDuplex             no       psLevel              level2       psEmbedType1Fonts    yes       psEmbedTrueTypeFonts yes       psFile               "| lpr -Pprinter5"       # assume that the PostScript printer has the Univers and       # Univers-Bold fonts       psFont Univers      Univers       psFont Univers-Bold Univers-Bold       # set the text output options       textEncoding UTF-8       textEOL      unix       # misc options       t1libControl    low       freetypeControl low       urlCommand      "netscape -remote 'openURL(%s)'"FILES       /usr/local/etc/xpdfrc              This is the default location  for  the  system-wide              configuration file.  Depending on build options, it              may be placed elsewhere.       $HOME/.xpdfrc              This is  the  user's  configuration  file.   If  it              exists, it will be read in place of the system-wide              file.AUTHOR       The  Xpdf  software  and   documentation   are   copyright       1996-2007 Glyph & Cog, LLC.SEE ALSO       xpdf(1),     pdftops(1),     pdftotext(1),     pdfinfo(1),       pdftoppm(1), pdfimages(1)       http://www.foolabs.com/xpdf/                         27 February 2007               xpdfrc(5)

⌨️ 快捷键说明

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