aboutsummaryrefslogtreecommitdiffstats
path: root/community/xpdf/xpdfrc
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2016-01-19 22:07:41 -0800
committerTimo Teräs <timo.teras@iki.fi>2016-01-20 08:33:31 +0000
commita1001dc5198b6d7a15bf535060a5d88a7ffb40af (patch)
treedf510ec264c5242d38707a10315cfc5cab633695 /community/xpdf/xpdfrc
parent8c68262f6d9619eceb4ba3e573dce34318e3c3dd (diff)
downloadaports-a1001dc5198b6d7a15bf535060a5d88a7ffb40af.tar.bz2
aports-a1001dc5198b6d7a15bf535060a5d88a7ffb40af.tar.xz
community/xpdf: move from testing
It's been working well for quite a while.
Diffstat (limited to 'community/xpdf/xpdfrc')
-rw-r--r--community/xpdf/xpdfrc91
1 files changed, 91 insertions, 0 deletions
diff --git a/community/xpdf/xpdfrc b/community/xpdf/xpdfrc
new file mode 100644
index 0000000000..b51b522818
--- /dev/null
+++ b/community/xpdf/xpdfrc
@@ -0,0 +1,91 @@
+#========================================================================
+#
+# Sample xpdfrc file
+#
+# The Xpdf tools look for a config file in two places:
+# 1. ~/.xpdfrc
+# 2. in a system-wide directory, typically /usr/local/etc/xpdfrc
+#
+# This sample config file demonstrates some of the more common
+# configuration options. Everything here is commented out. You
+# should edit things (especially the file/directory paths, since
+# they'll likely be different on your system), and uncomment whichever
+# options you want to use. For complete details on config file syntax
+# and available options, please see the xpdfrc(5) man page.
+#
+# Also, the Xpdf language support packages each include a set of
+# options to be added to the xpdfrc file.
+#
+# http://www.foolabs.com/xpdf/
+#
+#========================================================================
+
+#----- display fonts
+
+# These map the Base-14 fonts to the Type 1 fonts that ship with
+# ghostscript. You'll almost certainly want to use something like
+# this, but you'll need to adjust this to point to wherever
+# ghostscript is installed on your system. (But if the fonts are
+# installed in a "standard" location, xpdf will find them
+# automatically.)
+
+fontFile Times-Roman /usr/share/fonts/Type1/n021003l.pfb
+fontFile Times-Italic /usr/share/fonts/Type1/n021023l.pfb
+fontFile Times-Bold /usr/share/fonts/Type1/n021004l.pfb
+fontFile Times-BoldItalic /usr/share/fonts/Type1/n021024l.pfb
+fontFile Helvetica /usr/share/fonts/Type1/n019003l.pfb
+fontFile Helvetica-Oblique /usr/share/fonts/Type1/n019023l.pfb
+fontFile Helvetica-Bold /usr/share/fonts/Type1/n019004l.pfb
+fontFile Helvetica-BoldOblique /usr/share/fonts/Type1/n019024l.pfb
+fontFile Courier /usr/share/fonts/Type1/n022003l.pfb
+fontFile Courier-Oblique /usr/share/fonts/Type1/n022023l.pfb
+fontFile Courier-Bold /usr/share/fonts/Type1/n022004l.pfb
+fontFile Courier-BoldOblique /usr/share/fonts/Type1/n022024l.pfb
+fontFile Symbol /usr/share/fonts/Type1/s050000l.pfb
+fontFile ZapfDingbats /usr/share/fonts/Type1/d050000l.pfb
+
+# If you need to display PDF files that refer to non-embedded fonts,
+# you should add one or more fontDir options to point to the
+# directories containing the font files. Xpdf will only look at .pfa,
+# .pfb, .ttf, and .ttc files in those directories (other files will
+# simply be ignored).
+
+#fontDir /usr/local/fonts/bakoma
+
+#----- PostScript output control
+
+# Set the default PostScript file or command.
+
+#psFile "|lpr -Pmyprinter"
+
+# Set the default PostScript paper size -- this can be letter, legal,
+# A4, or A3. You can also specify a paper size as width and height
+# (in points).
+
+psPaperSize letter
+
+#----- text output control
+
+# Choose a text encoding for copy-and-paste and for pdftotext output.
+# The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf. Other
+# encodings are available in the language support packages.
+
+textEncoding UTF-8
+
+# Choose the end-of-line convention for multi-line copy-and-past and
+# for pdftotext output. The available options are unix, mac, and dos.
+
+#textEOL unix
+
+#----- misc settings
+
+# Enable FreeType, and anti-aliased text.
+
+enableFreeType yes
+antialias yes
+
+# Set the command used to run a web browser when a URL hyperlink is
+# clicked.
+
+#launchCommand viewer-script
+urlCommand "firefox '%s'"