#======================================================================== # # 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 standard X server fonts. # These are default mappings, built into xpdf - they're shown here # purely as examples. #displayFontX Courier "-*-courier-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Courier-Bold "-*-courier-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Courier-BoldOblique "-*-courier-bold-o-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Courier-Oblique "-*-courier-medium-o-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Helvetica "-*-helvetica-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Helvetica-Bold "-*-helvetica-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Helvetica-BoldOblique "-*-helvetica-bold-o-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Helvetica-Oblique "-*-helvetica-medium-o-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Symbol "-*-symbol-medium-r-normal-*-%s-*-*-*-*-*-adobe-fontspecific" Symbol #displayFontX Times-Bold "-*-times-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Times-BoldItalic "-*-times-bold-i-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Times-Italic "-*-times-medium-i-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX Times-Roman "-*-times-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1" Latin1 #displayFontX ZapfDingbats "-*-zapf dingbats-medium-r-normal-*-%s-*-*-*-*-*-*-*" ZapfDingbats # 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. #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 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 # Set the anti-aliasing mode for t1lib and FreeType. These can be low # or high (anti-aliasing), plain (no anti-aliasing), or none (disable # the rasterizer entirely). 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 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 フォントを使用する # displayCIDFontX Adobe-Japan1 "-alias-sans-medium-r-normal-*-%s-*-*-*-*-*-jisx0208.1983-0" ISO-2022-JP ### OpenType または CID フォントを使用する # displayCIDFontT1 Adobe-Japan1 /usr/X11/lib/X11/fonts/OpenType/Kochi-Mincho.otf ### TrueType フォント (TrueType-Kochi-subst または TrueType-ricohlx) を使用する displayCIDFontTT Adobe-Japan1 /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf ### 各フォント名に対応して明朝またはゴシックを使い分ける displayNamedCIDFontTT Ryumin-Light /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT Ryumin-Light-H /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT Ryumin-Light-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT FutoMinA101-Bold-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT GothicBBB-Medium /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT GothicBBB-Medium-H /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT GothicBBB-Medium-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT ShinGo-Medium-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT ShinGo-Bold-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT ShinGo-Ultra-Identity-H /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT HeiseiKakuGo-W5 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT HeiseiKakuGo-W7 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT HeiseiKakuGo-W9 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT MidashiGo-MB31 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT FutoGoB101-Bold /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT MS-Gothic /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT MS-Mincho /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT MS-PGothic /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT MS-PMincho /usr/X11/lib/X11/fonts/TrueType/FS-Mincho.ttf displayNamedCIDFontTT HG-GothicB /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT Kochi-Gothic /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT LX-Gothic /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT LX-P-Gothic /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf # シフトJISのフォント名が使われている場合。 # このファイルの漢字コードをシフトJISにしておくこと。 displayNamedCIDFontTT MSPゴシック /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT MSゴシック /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT DFPゴシック /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT DFP特太ゴシック /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT @ヒラギノ角ゴ3等幅 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT @ヒラギノ角ゴ5等幅 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf displayNamedCIDFontTT @ヒラギノ角ゴ7等幅 /usr/X11/lib/X11/fonts/TrueType/FS-Gothic.ttf ### PostScript に変換する時、フォント名は Ryumin-Light とする psFont16 Adobe-Japan1 H Ryumin-Light-H ISO-2022-JP psFont16 Adobe-Japan1 V Ryumin-Light-V ISO-2022-JP # ゴシックなら 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 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 MSPゴシック H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 MSPゴシック V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 MSゴシック H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 MSゴシック V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 DFPゴシック H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 DFPゴシック V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 DFP特太ゴシック H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 DFP特太ゴシック V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ3等倍 H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ3等倍 V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ5等倍 H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ5等倍 V GothicBBB-Medium-V ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ7等倍 H GothicBBB-Medium-H ISO-2022-JP psNamedFont16 @ヒラギノ角ゴ7等倍 V GothicBBB-Medium-V ISO-2022-JP ### テキストに変換する時の encoding は EUC-JP とする textEncoding EUC-JP #----- end Japanese support package