#========================================================================
#
# 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/local/share/ghostscript/fonts/n021003l.pfb
#fontFile Times-Italic		/usr/local/share/ghostscript/fonts/n021023l.pfb
#fontFile Times-Bold		/usr/local/share/ghostscript/fonts/n021004l.pfb
#fontFile Times-BoldItalic	/usr/local/share/ghostscript/fonts/n021024l.pfb
#fontFile Helvetica		/usr/local/share/ghostscript/fonts/n019003l.pfb
#fontFile Helvetica-Oblique	/usr/local/share/ghostscript/fonts/n019023l.pfb
#fontFile Helvetica-Bold		/usr/local/share/ghostscript/fonts/n019004l.pfb
#fontFile Helvetica-BoldOblique	/usr/local/share/ghostscript/fonts/n019024l.pfb
#fontFile Courier		/usr/local/share/ghostscript/fonts/n022003l.pfb
#fontFile Courier-Oblique	/usr/local/share/ghostscript/fonts/n022023l.pfb
#fontFile Courier-Bold		/usr/local/share/ghostscript/fonts/n022004l.pfb
#fontFile Courier-BoldOblique	/usr/local/share/ghostscript/fonts/n022024l.pfb
#fontFile Symbol			/usr/local/share/ghostscript/fonts/s050000l.pfb
#fontFile ZapfDingbats		/usr/local/share/ghostscript/fonts/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 t1lib, FreeType, and anti-aliased text.

#enableT1lib		yes
#enableFreeType		yes
#antialias		yes

# Set the command used to run a web browser when a URL hyperlink is
# clicked.

#launchCommand  viewer-script
#urlCommand	"netscape -remote 'openURL(%s)'"
cidToUnicode	Adobe-GB1	Encoding/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap	ISO-2022-CN	Encoding/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap	EUC-CN		Encoding/chinese-simplified/EUC-CN.unicodeMap
unicodeMap	GBK		Encoding/chinese-simplified/GBK.unicodeMap
cMapDir		Adobe-GB1	Encoding/chinese-simplified/CMap
toUnicodeDir			Encoding/chinese-simplified/CMap
displayCIDFontTT	Adobe-GB1	Encoding/chinese-simplified/CMap/STSONG.TTF

#----- begin Chinese Traditional support package (2004-jul-27)
cidToUnicode	Adobe-CNS1	Encoding/chinese-traditional/Adobe-CNS1.cidToUnicode
unicodeMap	Big5		Encoding/chinese-traditional/Big5.unicodeMap
unicodeMap	Big5ascii	Encoding/chinese-traditional/Big5ascii.unicodeMap
cMapDir		Adobe-CNS1	Encoding/chinese-traditional/CMap
toUnicodeDir			Encoding/chinese-traditional/CMap
displayCIDFontTT	Adobe-CNS1	Encoding/chinese-traditional/CMap/kaiu.ttf
displayCIDFontTT	Big5	Encoding/chinese-traditional/CMap/kaiu.ttf
#----- end Chinese Traditional support package

cidToUnicode	Adobe-Japan1	Encoding/japanese/Adobe-Japan1.cidToUnicode
unicodeMap	ISO-2022-JP	Encoding/japanese/ISO-2022-JP.unicodeMap
unicodeMap	EUC-JP		Encoding/japanese/EUC-JP.unicodeMap
unicodeMap	Shift-JIS	Encoding/japanese/Shift-JIS.unicodeMap
cMapDir		Adobe-Japan1	Encoding/japanese/CMap
toUnicodeDir			Encoding/japanese/CMap
displayCIDFontTT Adobe-Japan1 msmincho.ttc

#----- begin Arabic support package (2003-feb-16)
unicodeMap	ISO-8859-6	Encoding/arabic/ISO-8859-6.unicodeMap
#----- end Arabic support package

#----- begin Cyrillic support package (2003-jun-28)
nameToUnicode			Encoding/cyrillic/Bulgarian.nameToUnicode
unicodeMap	KOI8-R		Encoding/cyrillic/KOI8-R.unicodeMap
#----- end Cyrillic support package

#----- begin Greek support package (2003-jun-28)
nameToUnicode			Encoding/greek/Greek.nameToUnicode
unicodeMap	ISO-8859-7	Encoding/greek/ISO-8859-7.unicodeMap
#----- end Greek support package

#----- begin Hebrew support package (2003-feb-16)
unicodeMap	ISO-8859-8	Encoding/hebrew/ISO-8859-8.unicodeMap
unicodeMap	Windows-1255	Encoding/hebrew/Windows-1255.unicodeMap
#----- end Hebrew support package

#----- begin Korean support package (2005-jul-07)
cidToUnicode	Adobe-Korea1	Encoding/korean/Adobe-Korea1.cidToUnicode
unicodeMap	ISO-2022-KR	Encoding/korean/ISO-2022-KR.unicodeMap
cMapDir		Adobe-Korea1	Encoding/korean/CMap
toUnicodeDir			Encoding/korean/CMap
displayCIDFontTT Adobe-Korea1 batang.ttc
#displayCIDFontTT	Adobe-Korea1	/usr/..../batang.ttf"
#displayCIDFontTT	Unidocs-Korea1	/usr/..../batang.ttf"
#----- end Korean support package

#----- begin Latin2 support package (2002-oct-22)
unicodeMap	Latin2	Encoding/latin2/Latin2.unicodeMap
#----- end Latin2 support package

#----- begin Thai support package (2002-jan-16)
nameToUnicode			Encoding/thai/Thai.nameToUnicode
unicodeMap	TIS-620		Encoding/thai/TIS-620.unicodeMap
#----- end Thai support package

#----- begin Turkish support package (2002-apr-10)
unicodeMap	ISO-8859-9	Encoding/turkish/ISO-8859-9.unicodeMap
#----- end Turkish support package
