#========================================================================
#
# Sample xpdfrc file
#
# The Xpdf tools look for a config file in two places:
# 1. ~/.xpdfrc
# 2. in a system-wide directory, typically /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.xpdfreader.com/
#
#========================================================================

#----- 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/urw-base35/NimbusRoman-Regular.t1
#fontFile Times-Italic		/usr/share/fonts/urw-base35/NimbusRoman-Italic.t1
#fontFile Times-Bold		/usr/share/fonts/urw-base35/NimbusRoman-Bold.t1
#fontFile Times-BoldItalic	/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.t1
#fontFile Helvetica		/usr/share/fonts/urw-base35/NimbusSans-Regular.t1
#fontFile Helvetica-Oblique	/usr/share/fonts/urw-base35/NimbusSans-Italic.t1
#fontFile Helvetica-Bold	/usr/share/fonts/urw-base35/NimbusSans-Bold.t1
#fontFile Helvetica-BoldOblique	/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.t1
#fontFile Courier		/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.t1
#fontFile Courier-Oblique	/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.t1
#fontFile Courier-Bold		/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.t1
#fontFile Courier-BoldOblique	/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.t1
#fontFile Symbol		/usr/share/fonts/urw-base35/StandardSymbolsPS.t1
#fontFile ZapfDingbats		/usr/share/fonts/urw-base35/D050000L.t1

# 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/share/fonts
#fontDir		/usr/share/fonts

#----- PostScript output control

# 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		A4

#----- 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

#----- begin Arabic support package (2011-aug-15)
unicodeMap	ISO-8859-6	/usr/share/xpdf/arabic/ISO-8859-6.unicodeMap
#----- end Arabic support package

#----- begin Chinese Simplified support package (2011-sep-02)
cidToUnicode	Adobe-GB1	/usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap	ISO-2022-CN	/usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap	EUC-CN		/usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap	GBK		/usr/share/xpdf/chinese-simplified/GBK.unicodeMap
cMapDir		Adobe-GB1	/usr/share/xpdf/chinese-simplified/CMap
toUnicodeDir			/usr/share/xpdf/chinese-simplified/CMap
#fontFileCC	Adobe-GB1	/usr/..../NotoSansCJKsc-Regular.otf
#----- end Chinese Simplified support package

#----- begin Chinese Traditional support package (2011-sep-02)
cidToUnicode	Adobe-CNS1	/usr/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
unicodeMap	Big5		/usr/share/xpdf/chinese-traditional/Big5.unicodeMap
unicodeMap	Big5ascii	/usr/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
cMapDir		Adobe-CNS1	/usr/share/xpdf/chinese-traditional/CMap
toUnicodeDir			/usr/share/xpdf/chinese-traditional/CMap
#fontFileCC	Adobe-CNS1	/usr/..../NotoSansCJKtc-Regular.otf"
#----- end Chinese Traditional support package

#----- begin Cyrillic support package (2011-aug-15)
nameToUnicode			/usr/share/xpdf/cyrillic/Bulgarian.nameToUnicode
unicodeMap	KOI8-R		/usr/share/xpdf/cyrillic/KOI8-R.unicodeMap
#----- end Cyrillic support package

#----- begin Greek support package (2011-aug-15)
nameToUnicode			/usr/share/xpdf/greek/Greek.nameToUnicode
unicodeMap	ISO-8859-7	/usr/share/xpdf/greek/ISO-8859-7.unicodeMap
#----- end Greek support package

#----- begin Hebrew support package (2011-aug-15)
unicodeMap	ISO-8859-8	/usr/share/xpdf/hebrew/ISO-8859-8.unicodeMap
unicodeMap	Windows-1255	/usr/share/xpdf/hebrew/Windows-1255.unicodeMap
#----- end Hebrew support package

#----- begin Japanese support package (2011-sep-02)
cidToUnicode	Adobe-Japan1	/usr/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
unicodeMap	ISO-2022-JP	/usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
unicodeMap	EUC-JP		/usr/share/xpdf/japanese/EUC-JP.unicodeMap
unicodeMap	Shift-JIS	/usr/share/xpdf/japanese/Shift-JIS.unicodeMap
cMapDir		Adobe-Japan1	/usr/share/xpdf/japanese/CMap
toUnicodeDir			/usr/share/xpdf/japanese/CMap
#fontFileCC	Adobe-Japan1	/usr/..../NotoSansCJKjp-Regular.otf
#----- end Japanese support package

#----- begin Korean support package (2011-sep-02)
cidToUnicode	Adobe-Korea1	/usr/share/xpdf/korean/Adobe-Korea1.cidToUnicode
unicodeMap	ISO-2022-KR	/usr/share/xpdf/korean/ISO-2022-KR.unicodeMap
cMapDir		Adobe-Korea1	/usr/share/xpdf/korean/CMap
toUnicodeDir			/usr/share/xpdf/korean/CMap
#fontFileCC	Adobe-Korea1	/usr/..../NotoSansCJKkr-Regular.otf
#----- end Korean support package

#----- begin Latin2 support package (2011-aug-15)
unicodeMap	Latin2	/usr/share/xpdf/latin2/Latin2.unicodeMap
#----- end Latin2 support package

#----- begin Thai support package (2011-aug-15)
nameToUnicode			/usr/share/xpdf/thai/Thai.nameToUnicode
unicodeMap	TIS-620		/usr/share/xpdf/thai/TIS-620.unicodeMap
#----- end Thai support package

#----- begin Turkish support package (2011-aug-15)
unicodeMap	ISO-8859-9	/usr/share/xpdf/turkish/ISO-8859-9.unicodeMap
#----- end Turkish support package
