1 | #========================================================================
|
---|
2 | #
|
---|
3 | # Sample xpdfrc file
|
---|
4 | #
|
---|
5 | # The Xpdf tools look for a config file in two places:
|
---|
6 | # 1. ~/.xpdfrc
|
---|
7 | # 2. in a system-wide directory, typically /usr/local/etc/xpdfrc
|
---|
8 | #
|
---|
9 | # This sample config file demonstrates some of the more common
|
---|
10 | # configuration options. Everything here is commented out. You
|
---|
11 | # should edit things (especially the file/directory paths, since
|
---|
12 | # they'll likely be different on your system), and uncomment whichever
|
---|
13 | # options you want to use. For complete details on config file syntax
|
---|
14 | # and available options, please see the xpdfrc(5) man page.
|
---|
15 | #
|
---|
16 | # Also, the Xpdf language support packages each include a set of
|
---|
17 | # options to be added to the xpdfrc file.
|
---|
18 | #
|
---|
19 | # http://www.xpdfreader.com/
|
---|
20 | #
|
---|
21 | #========================================================================
|
---|
22 |
|
---|
23 | #----- display fonts
|
---|
24 |
|
---|
25 | # These map the Base-14 fonts to the Type 1 fonts that ship with
|
---|
26 | # ghostscript. You'll almost certainly want to use something like
|
---|
27 | # this, but you'll need to adjust this to point to wherever
|
---|
28 | # ghostscript is installed on your system. (But if the fonts are
|
---|
29 | # installed in a "standard" location, xpdf will find them
|
---|
30 | # automatically.)
|
---|
31 |
|
---|
32 | #fontFile Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb
|
---|
33 | #fontFile Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb
|
---|
34 | #fontFile Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb
|
---|
35 | #fontFile Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb
|
---|
36 | #fontFile Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb
|
---|
37 | #fontFile Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb
|
---|
38 | #fontFile Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb
|
---|
39 | #fontFile Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
|
---|
40 | #fontFile Courier /usr/local/share/ghostscript/fonts/n022003l.pfb
|
---|
41 | #fontFile Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb
|
---|
42 | #fontFile Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb
|
---|
43 | #fontFile Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb
|
---|
44 | #fontFile Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb
|
---|
45 | #fontFile ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb
|
---|
46 |
|
---|
47 | # If you need to display PDF files that refer to non-embedded fonts,
|
---|
48 | # you should add one or more fontDir options to point to the
|
---|
49 | # directories containing the font files. Xpdf will only look at .pfa,
|
---|
50 | # .pfb, .ttf, and .ttc files in those directories (other files will
|
---|
51 | # simply be ignored).
|
---|
52 |
|
---|
53 | #fontDir /usr/local/fonts/bakoma
|
---|
54 |
|
---|
55 | #----- PostScript output control
|
---|
56 |
|
---|
57 | # Set the default PostScript file or command.
|
---|
58 |
|
---|
59 | #psFile "|lpr -Pmyprinter"
|
---|
60 |
|
---|
61 | # Set the default PostScript paper size -- this can be letter, legal,
|
---|
62 | # A4, or A3. You can also specify a paper size as width and height
|
---|
63 | # (in points).
|
---|
64 |
|
---|
65 | #psPaperSize letter
|
---|
66 |
|
---|
67 | #----- text output control
|
---|
68 |
|
---|
69 | # Choose a text encoding for copy-and-paste and for pdftotext output.
|
---|
70 | # The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf. Other
|
---|
71 | # encodings are available in the language support packages.
|
---|
72 |
|
---|
73 | #textEncoding UTF-8
|
---|
74 |
|
---|
75 | # Choose the end-of-line convention for multi-line copy-and-past and
|
---|
76 | # for pdftotext output. The available options are unix, mac, and dos.
|
---|
77 |
|
---|
78 | #textEOL unix
|
---|
79 |
|
---|
80 | #----- misc settings
|
---|
81 |
|
---|
82 | # Enable FreeType, and anti-aliased text.
|
---|
83 |
|
---|
84 | #enableFreeType yes
|
---|
85 | #antialias yes
|
---|
86 |
|
---|
87 | # Set the command used to run a web browser when a URL hyperlink is
|
---|
88 | # clicked.
|
---|
89 |
|
---|
90 | #launchCommand viewer-script
|
---|
91 | #urlCommand "netscape -remote 'openURL(%s)'"
|
---|