summaryrefslogtreecommitdiffstats
path: root/source/xap/xpdf/xpdf-japanese.diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/xap/xpdf/xpdf-japanese.diff57
1 files changed, 57 insertions, 0 deletions
diff --git a/source/xap/xpdf/xpdf-japanese.diff b/source/xap/xpdf/xpdf-japanese.diff
new file mode 100644
index 000000000..5c1878fe8
--- /dev/null
+++ b/source/xap/xpdf/xpdf-japanese.diff
@@ -0,0 +1,57 @@
+--- ./add-to-xpdfrc.orig 2008-03-02 01:31:08.000000000 -0600
++++ ./add-to-xpdfrc 2008-03-02 01:31:32.000000000 -0600
+@@ -1,9 +1,47 @@
+ #----- begin Japanese support package (2004-jul-27)
+-cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
+-unicodeMap ISO-2022-JP /usr/local/share/xpdf/japanese/ISO-2022-JP.unicodeMap
+-unicodeMap EUC-JP /usr/local/share/xpdf/japanese/EUC-JP.unicodeMap
+-unicodeMap Shift-JIS /usr/local/share/xpdf/japanese/Shift-JIS.unicodeMap
+-cMapDir Adobe-Japan1 /usr/local/share/xpdf/japanese/CMap
+-toUnicodeDir /usr/local/share/xpdf/japanese/CMap
+-#displayCIDFontTT Adobe-Japan1 /usr/..../kochi-mincho.ttf
++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
++
++### use Sazanami by default
++displayCIDFontTT Adobe-Japan1 /usr/share/fonts/TTF/sazanami-mincho.ttf
++### use Sazanami (Sazanami Gothic) if gothic font is required
++displayNamedCIDFontTT ShinGo-Bold /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT ShinGo-regular /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT MidashiGo-MB31 /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT FutoGoB101-Bold /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT HeiseiKakuGo-W5 /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT HeiseiKakuGo-W9 /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT HeiseiMaruGo-W4 /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT MS-Gothic /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT HG-GothicB /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT Kochi-Gothic /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT GothicBBB-Medium-H /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT GothicBBB-Medium /usr/share/fonts/TTF/sazanami-gothic.ttf
++displayNamedCIDFontTT Ryumin-Light-H /usr/share/fonts/TTF/sazanami-mincho.ttf
++displayNamedCIDFontTT Ryumin-Light /usr/share/fonts/TTF/sazanami-mincho.ttf
++
++### make default font name to "Ryumin-Light" when converted to PostScript
++psFont16 Adobe-Japan1 H Ryumin-Light-H ISO-2022-JP
++psFont16 Adobe-Japan1 V Ryumin-Light-V ISO-2022-JP
++# use "Gothic-BBB-Medium" if gothic font is required
++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
+ #----- end Japanese support package