#========================================================================
#
# 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.)

displayFontT1 Times-Roman		/usr/share/fonts/default/Type1/n021003l.pfb
displayFontT1 Times-Italic		/usr/share/fonts/default/Type1/n021023l.pfb
displayFontT1 Times-Bold		/usr/share/fonts/default/Type1/n021004l.pfb
displayFontT1 Times-BoldItalic		/usr/share/fonts/default/Type1/n021024l.pfb
displayFontT1 Helvetica		/usr/share/fonts/default/Type1/n019003l.pfb
displayFontT1 Helvetica-Oblique	/usr/share/fonts/default/Type1/n019023l.pfb
displayFontT1 Helvetica-Bold		/usr/share/fonts/default/Type1/n019004l.pfb
displayFontT1 Helvetica-BoldOblique	/usr/share/fonts/default/Type1/n019024l.pfb
displayFontT1 Courier			/usr/share/fonts/default/Type1/n022003l.pfb
displayFontT1 Courier-Oblique		/usr/share/fonts/default/Type1/n022023l.pfb
displayFontT1 Courier-Bold		/usr/share/fonts/default/Type1/n022004l.pfb
displayFontT1 Courier-BoldOblique	/usr/share/fonts/default/Type1/n022024l.pfb
displayFontT1 Symbol			/usr/share/fonts/default/Type1/s050000l.pfb
displayFontT1 ZapfDingbats		/usr/share/fonts/default/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, and .ttf 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"

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

urlCommand	"mozilla -remote 'openURL(%s)'"

#----- begin Chinese Simplified support package (2002-jun-17)
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
#displayCIDFontX	Adobe-GB1	"-*-fangsong ti-medium-r-normal-*-%s-*-*-*-*-*-gb2312.1980-0" ISO-2022-CN
#----- end Chinese Simplified support package

#----- begin Chinese Traditional support package (2002-apr-14)
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
#displayCIDFontX	Adobe-CNS1	"-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-big5-0" Big5
# If you have the Arphic fonts, you may want to use this instead:
# displayCIDFontX Adobe-CNS1	"-arphic-ar pl kaitim big5-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
#----- end Chinese Traditional support package

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

#----- begin Japanese support package (2002-jan-16)
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

### XLFD tHggp
# displayCIDFontX	Adobe-Japan1	"-alias-sans-medium-r-normal-*-%s-*-*-*-*-*-jisx0208.1983-0" ISO-2022-JP

### OpenType ܂ CID tHggp
# displayCIDFontT1 Adobe-Japan1   /usr/X11R6/lib/X11/fonts/OpenType/Kochi-Mincho.otf

### TrueType tHg (TrueType-Kochi-subst ܂ TrueType-ricohlx) gp
displayCIDFontTT Adobe-Japan1   /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf

### etHgɑΉĖ܂̓SVbNg
# 
displayNamedCIDFontTT Ryumin-Light        /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Ryumin-Light-H      /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Ryumin-Light-Identity-H   /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT FutoMinA101-Bold-Identity-H   /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT MS-Mincho           /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT MS-PMincho          /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT HG-MinchoL          /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Sazanami-Mincho-Regular     /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Kochi-Mincho        /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT LX-Mincho           /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT LX-P-Mincho         /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT IPAMincho           /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT IPAPMincho          /usr/share/fonts/alias/TrueType/serif-mr-jisx0208.1983-0.ttf
# SVbN
displayNamedCIDFontTT GothicBBB-Medium    /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT GothicBBB-Medium-H  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT GothicBBB-Medium-Identity-H   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT ShinGo-Medium-Identity-H   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT ShinGo-Bold-Identity-H   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT ShinGo-Ultra-Identity-H   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT HeiseiKakuGo-W5     /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT HeiseiKakuGo-W7     /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT HeiseiKakuGo-W9     /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT MidashiGo-MB31      /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT FutoGoB101-Bold     /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT MS-Gothic           /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT MS-PGothic          /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT HG-GothicB          /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT M+1P+Sazanami-Regular   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Sazanami-Gothic-Regular   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT Kochi-Gothic        /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT LX-Gothic           /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT LX-P-Gothic         /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT M+1P+IPAG-Regular   /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT IPAGothic           /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT IPAPGothic          /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf

# VtgJIS̃tHggĂꍇB
# ̃t@C̊R[hVtgJISɂĂƁB
displayNamedCIDFontTT lroSVbN      /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf

displayNamedCIDFontTT lrSVbN        /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT ceoSVbN	  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT ceoSVbN  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT @qMmpS3  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT @qMmpS5  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf
displayNamedCIDFontTT @qMmpS7  /usr/share/fonts/alias/TrueType/sans-mr-jisx0208.1983-0.ttf

### PostScript ɕϊ鎞AtHg Ryumin-Light Ƃ
psFont16       Adobe-Japan1		  H	       Ryumin-Light-H ISO-2022-JP
psFont16       Adobe-Japan1		  V	       Ryumin-Light-V ISO-2022-JP
#   SVbNȂ Gothic-BBB-Medium
psNamedFont16	 GothicBBB-Medium-H H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 GothicBBB-Medium-V V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 MidashiGo-MB31	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 MidashiGo-MB31	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 FutoGoB101-Bold  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 FutoGoB101-Bold  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 HeiseiKakuGo-W5  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 HeiseiKakuGo-W5  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 HeiseiKakuGo-W9  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 HeiseiKakuGo-W9  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 HeiseiMaruGo-W4  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 HeiseiMaruGo-W4  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 MS-Gothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 MS-Gothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 HG-GothicB	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 HG-GothicB	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 Sazanami-Gothic-Regular	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 Sazanami-Gothic-Regular	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 Kochi-Gothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 Kochi-Gothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 LX-Gothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 LX-Gothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 LX-P-Gothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 LX-P-Gothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 IPAGothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 IPAGothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 IPAPGothic	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 IPAPGothic	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 lroSVbN	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 lroSVbN	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 lrSVbN	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 lrSVbN	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 ceoSVbN	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 ceoSVbN	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 ceoSVbN	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 ceoSVbN	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 @qMmpS3{	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 @qMmpS3{	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 @qMmpS5{	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 @qMmpS5{	  V	GothicBBB-Medium-V ISO-2022-JP
psNamedFont16	 @qMmpS7{	  H	GothicBBB-Medium-H ISO-2022-JP
psNamedFont16	 @qMmpS7{	  V	GothicBBB-Medium-V ISO-2022-JP

### eLXgɕϊ鎞 encoding  EUC-JP Ƃ
textEncoding		   EUC-JP
#----- end Japanese support package

#----- begin Korean support package (2002-apr-01)
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
#displayCIDFontX	Adobe-Korea1	"-*-mincho-medium-r-normal-*-%s-*-*-*-*-*-ksc5601.1987-0" ISO-2022-KR
#----- end Korean support package

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

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

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