summaryrefslogtreecommitdiff
path: root/source/xap/xpdf/xpdf-japanese.diff
blob: 5c1878fe8201b702b556eea38c1e6d6b250dcc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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