blob: ef2b946df791bb707f26f3c3d661ece562e59318 (
plain) (
blame)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
--- lib/ps2pdfwr.org 2003-09-01 18:39:30.000000000 +0900
+++ lib/ps2pdfwr 2003-09-25 18:39:14.000000000 +0900
@@ -31,6 +31,169 @@
outfile="$2"
fi
+[ "$NeverEmbedFontList" != "" ] || NeverEmbedFontList="
+/Courier
+/Courier-Bold
+/Courier-BoldOblique
+/Courier-Oblique
+/Helvetica
+/Helvetica-Bold
+/Helvetica-BoldOblique
+/Helvetica-Oblique
+/Symbol
+/Times-Bold
+/Times-BoldItalic
+/Times-Italic
+/Times-Roman
+/ZapfDingbats
+"
+[ "$AlwaysEmbedFontList" != "" ] || AlwaysEmbedFontList="
+/AvantGarde-Book
+/AvantGarde-BookOblique
+/AvantGarde-Demi
+/AvantGarde-DemiOblique
+/Bookman-Demi
+/Bookman-DemiItalic
+/Bookman-Light
+/Bookman-LightItalic
+/Helvetica-Narrow
+/Helvetica-Narrow-Bold
+/Helvetica-Narrow-BoldOblique
+/Helvetica-Narrow-Oblique
+/Palatino-Bold
+/Palatino-BoldItalic
+/Palatino-Italic
+/Palatino-Roman
+/ZapfChancery-MediumItalic
+
+/Arial-BoldItalicMT
+/Arial-BoldMT
+/Arial-ItalicMT
+/ArialMT
+/ArialNarrow
+/ArialNarrow-Bold
+/ArialNarrow-BoldItalic
+/ArialNarrow-Italic
+/BookmanOldStyle
+/BookmanOldStyle-Bold
+/BookmanOldStyle-BoldItalic
+/BookmanOldStyle-Italic
+/CenturyGothic
+/CenturyGothic-Bold
+/CenturyGothic-BoldItalic
+/CenturyGothic-Italic
+/CourierNewPS-BoldItalicMT
+/CourierNewPS-BoldMT
+/CourierNewPS-ItalicMT
+/CourierNewPSMT
+/NewCenturySchlbk-Bold
+/NewCenturySchlbk-BoldItalic
+/NewCenturySchlbk-Italic
+/NewCenturySchlbk-Roman
+/PalatinoLinotype-Bold
+/PalatinoLinotype-BoldItalic
+/PalatinoLinotype-Italic
+/PalatinoLinotype-Roman
+/TimesNewRomanPS-BoldItalicMT
+/TimesNewRomanPS-BoldMT
+/TimesNewRomanPS-ItalicMT
+/TimesNewRomanPSMT
+"
+[ "$NeverEmbedCIDFontList" != "" ] || NeverEmbedCIDFontList="
+/MSung-Light
+/MSung-Medium
+/MHei-Medium
+/MKai-Medium
+/STSong-Light
+/STFangsong-Light
+/STHeiti-Regular
+/STKaiti-Regular
+/Ryumin-Light
+/GothicBBB-Medium
+/HeiseiMin-W3
+/HeiseiKakuGo-W5
+/KozMin-Regular
+/HYGoThic-Medium
+/HYGungSo-Bold
+/HYKHeadLine-Bold
+/HYKHeadLine-Medium
+/HYSMyeongJo-Medium
+/HYRGoThic-Medium
+
+/MOEKai-Regular
+/MOESung-Regular
+/WadaGo-Bold
+/WadaMaruGo-Regular
+/WadaMaruGo-RegularH
+/WadaMin-Bold
+/WadaMin-Regular
+/WadaMin-RegularH
+/Munhwa-Bold
+/Munhwa-Regular
+/MunhwaGothic-Bold
+/MunhwaGothic-Regular
+/MunhwaGungSeo-Bold
+/MunhwaGungSeo-Light
+/MunhwaGungSeoHeulim-Bold
+/MunhwaGungSeoHeulim-Light
+/MunhwaHoonMin-Regular
+
+/MingLiU
+/PMingLiU
+/SimHei
+/SimSun
+/NSimSun
+/HGGothicE
+/HGGothicEPRO
+/HGGothicM
+/HGGyoshotai
+/HGMarugothicMPRO
+/HGPGothicE
+/HGPGothicM
+/HGPGyoshotai
+/HGPSoeiKakugothicUB
+/HGPSoeiKakupoptai
+/HGSGothicE
+/HGSGothicM
+/HGSGyoshotai
+/HGSSoeiKakugothicUB
+/HGSSoeiKakupoptai
+/HGSeikaishotaiPRO
+/HGSoeiKakugothicUB
+/HGSoeiKakupoptai
+/Kochi-Gothic
+/Kochi-Mincho
+/MojikumiKata-EB
+/Mona
+/MS-Mincho
+/MS-PMincho
+/MS-Gothic
+/MS-PGothic
+/MS-UIGothic
+/Batang
+/BatangChe
+/Gungsuh
+/GungsuhChe
+/Gulim
+/GulimChe
+/Dotum
+/DotumChe
+/New-Gulim
+
+/MHei-Medium-Acro
+/MSung-Light-Acro
+/STSong-Light-Acro
+/HeiseiKakuGo-W5-Acro
+/HeiseiMin-W3-Acro
+/HYGoThic-Medium-Acro
+/HYSMyeongJo-Medium-Acro
+"
+[ "$AlwaysEmbedCIDFontList" != "" ] || AlwaysEmbedCIDFontList="
+/SimSun-18030-Adobe-CNS1
+/NSimSun-18030-Adobe-CNS1
+/SimSun-18030
+/NSimSun-18030
+"
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
+exec gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=$outfile" $OPTIONS -c ".setpdfwrite <</NeverEmbed [$NeverEmbedFontList $NeverEmbedCIDFontList] /AlwaysEmbed [$AlwaysEmbedFontList $AlwaysEmbedCIDFontList]>> setdistillerparams" -f "$infile"
|