summaryrefslogtreecommitdiff
path: root/support/ps2eps/Changes.txt
blob: ef0c46602cdd42afeec5fc0587a637c49096958f (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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
----------------------------
Detailed Change Log:
----------------------------
revision 1.68
date: 2010-05-07 21:42:35 +0200;  author: bless;  state: Exp;  lines: +3 -3; 
- quoted translate command string
----------------------------
revision 1.67
date: 2009-12-05 23:44:19 +0100;  author: bless;  state: Exp;  lines: +39 -33;
- quote of tmpfname for coping with spaces in filenames
- added -a option
- changed handling of hiresBB (now rounded to hiresprecision, by default 0.5pt)
----------------------------
revision 1.66
date: 2007-10-30 12:04:24 +0100;  author: bless;  state: Exp;  lines: +9 -5;
- added %%BeginData %%EndData as indicators for Binary Section
- added new option -b (treat as binary) to prevent filtering CR/LF stuff
----------------------------
revision 1.65
date: 2007-01-24 14:19:42 +0100;  author: bless;  state: Exp;  lines: +3 -3;
- fixed help/usage formatting output
----------------------------
revision 1.64
date: 2007-01-24 13:32:59 +0100;  author: bless;  state: Exp;  lines: +4 -4;
- Year (C) update
----------------------------
revision 1.63
date: 2007-01-24 13:29:37 +0100;  author: bless;  state: Exp;  lines: +3 -3;
- Tried to make DSCfilter command more robust
----------------------------
revision 1.62 (not released)
date: 2007-01-06 23:27:47 +0100;  author: bless;  state: Exp;  lines: +11 -5;
- better detection for files that have a binary heading stuff containing
  even %! as character sequence
----------------------------
revision 1.61
date: 2006-12-28 17:34:06 +0100;  author: bless;  state: Exp;  lines: +5 -5;
- changed year in comment and info printout only
----------------------------
revision 1.60 (not released)
date: 2006-12-28 17:31:39 +0100;  author: bless;  state: Exp;  lines: +9 -13;
- incorporated changes for Windows/Cygwin detection by Karl Berry
----------------------------
revision 1.59 (not released)
date: 2006-04-04 11:04:47 +0200;  author: bless;  state: Exp;  lines: +4 -4;
- removed surrounding ticks '' for -c $translation in $translatecmd
  (hint by Thomas Riedle)
- removed useless/unsupported 2>&1 in $bboxver for Windows
----------------------------
revision 1.58
date: 2005/01/19 08:23:12;  author: bless;  state: Exp;  lines: +8 -5
- fix for two negative offsets in translation (reported by Hans Ecke)
----------------------------
revision 1.57
date: 2005/01/19 07:59:52;  author: bless;  state: Exp;  lines: +10 -3
- more Windows friendly checking for bbox existence
----------------------------
revision 1.56
date: 2005/01/17 12:32:54;  author: bless;  state: Exp;  lines: +11 -3
- added -r option to specify a resolution
----------------------------
revision 1.55
date: 2005/01/14 15:28:09;  author: bless;  state: Exp;  lines: +6 -4
- minor fixes to the -g option (thanks to Koji Nakamaru):
  * suppress info output if quiet option is active
  * more robust parsing of gs call result
----------------------------
revision 1.54
date: 2004/04/23 07:56:54;  author: bless;  state: Exp;  lines: +4 -3
- added ^pdfIm ^%-EOD- as indicator for binary section
----------------------------
revision 1.53
date: 2004/04/01 19:28:02;  author: bless;  state: Exp;  lines: +6 -2
- Clipping code used always hiresBB, which gave wrong results when bbox returned no hiresBB
----------------------------
revision 1.52
date: 2004/02/19 20:20:57;  author: bless;  state: Exp;  lines: +90 -10
- added rotate option -R
- changed translate in order to avoid negative BB coordinates
----------------------------
revision 1.51
date: 2004/01/25 22:02:04;  author: bless;  state: Exp;  lines: +18 -9
- removed ^ in parsing for %! heading, because Adobe Photoshop generated a
  binary heading where ^%! did not work
- added clipping along %%HiResBoundingBox +0.1 points
- added option --nohires
----------------------------
revision 1.50
date: 2004/01/25 10:04:56;  author: bless;  state: Exp;  lines: +158 -41
- ps2eps can now use the bbox device of ghostscript (either by option, environment variable or command line)
- new environment variable PS2EPS_GSBBOX for specifying a default behavior
- uses implicitly the ghostscript bbox device if external bbox command cannot be found
- Added %%HiResBoundingBox output
- now uses gswin32c as default for MSWin32 or cygwin platforms
- added handling/passing of predefined paper sizes of ghostscript (including validity check and help)
- added new environment variable PS2EPS_SIZE for default paper size
- improved format checking for numerically given size
- shows used page size if given while processing
- shows whether it uses the bbox device of ghostscript
- added use POSIX and check for OS
- moved ps2eps header comment now after %%EndComments
- removed looseBB option from call of bbox
----------------------------
revision 1.49
date: 2003/11/19 15:08:52;  author: bless;  state: Exp;  lines: +83 -47
- Added -t|--translate <x,y> option which allows to specify an offset for drawings
- Existing Bounding Box will now be detected even if negative and fractional values are contained
- Translation will happen automatically if a Bounding Box comment exists with negative offsets
- Warning(s) are printed if Bounding Boxes with negative coordinates are detected
- Built-in wildcard processing is only effective for non-Unix platforms
----------------------------
revision 1.48
date: 2003/11/09 17:47:47;  author: bless;  state: Exp;  lines: +5 -5
- print help, license and version to stdout instead of stderr (incorporated patch from Rafael Laboissiere <rafael at debian.org>)
----------------------------
revision 1.47
date: 2003/07/09
- different informational message for -F flag
----------------------------
revision 1.46
date: 2003/07/09
- now using Getopt::Long::Configure(), because the other way caused problems with module exports
- fixsearchpat/fixreplacepat now filters initmatrix initclip initgraphics which is more generic
  and will hopefully fix more bad postscript code
- binary section detection had missing CRLFs
- binary section detection now includes PScript 4 doNimage end marker
- improved pattern for ADO detection
----------------------------
revision 1.45
date: 2003/07/04
- improved processing of images for Pscript_Win_Dib_L2: comment filtering
  will not occur within doNimage,doclutimage,beginjpeg etc.
----------------------------
revision 1.44
date: 2003/07/03 
- looseBB was not initialized
- disabled use warnings since it may confuse users
----------------------------
revision 1.43 (not released)
date: 2003/07/02
- deactivated triggered filter and replaced it with search/replace filter
- new $filtersearchpat,$filterreplacepat combo to filter "initclip"
  for PScript5.dll Version 5.2
- sanity check never worked, fixed it
- new option -W --warnings to allow optional sanity check
- added various comments and reformatted source a little bit
- changed output within option processing, --help, --version, etc.
- added use warnings;
- refined filter expression in $rangefilter_begin
- added $exclude_rangefilter_begin and $..._end pair to preserve non PPD
  feature code (although DSCs are possibly removed)
  (this feature was integrated from my filterfeatures script)
----------------------------
revision 1.42 (not released)
date: 2003/04/14 
- provided more robustness if Postscript headerline is malformed
----------------------------
revision 1.41 (not released)
date: 2003/03/21 
- converted option processing to Getopt::Long package (based on code from Christophe Druet)
- rudimentary internal wildcard support (based on code from Christophe Druet)
  (currently only within current directory)
----------------------------
revision 1.40 (not released)
date: 2003/01/30 
- added filter for Orientation: comment in header, see new option -O
----------------------------
revision 1.39
date: 2002/07/10 
- changed new XP filter to triggered filter
- improved processing of binary files with beginimage endimage
----------------------------
revision 1.38 (not released)
date: 2002/07/09
- changed comment filtering in order to prevent image distortion
- new filter for Windows XP PScript5.dll Version 5.2:
  Bad lines are:
  0 GpPBeg
  NP
  129 400 m 4629 400 l 4629 6400 l 129 6400 l CP
  eoclip
  1 1 1 SC
  NP
  128 400 m 4629 400 l 4629 6400 l 128 6400 l CP
  AF
  GSE
  To avoid the white rectangle deleting all the text above,
  it is sufficient to delete
  "1 1 1 SC" to "AF", however, I used eoclip as indicator
  for the whole sequence.
----------------------------
revision 1.37 (not released)
date: 2001/10/10
- added "/setpagedevice {pop} def" to prolog in order to fix
  problems with pdf creation, pstricks and nested dvips output
  (thanks to Hans Fredrik Nordhaug <hansfn at mi.uib.no> for
  suggesting this addition)
----------------------------
revision 1.36 (not released)
date: 2001/08/30
Added filter for Staroffice 5.2 Linux
revision 1.35
-------------
date: 2001/08/20 13:32:36
- Improved removeADO (tolerates more spaces)
----------------------------
revision 1.34 (not released)
-------------
date: 2001/08/20 12:38:22
- Improved processing of files with leading or trailing binary code
- Improved processing of files with embedded binary coded images
- Removes gabby diagnostic output from Adobe Printer Driver (see variable removeADO)
----------------------------
revision 1.33 (not released)
-------------
date: 2001/04/25 22:42:10
- Corrected %%EOF handling (regex) once again, because of braindead Win-files with _CR_LF
- Corrected handling of existing %%BoundingBox comments. Now it takes the last one seen.
  Should esp. work with %%BoundingBox: (atend) usage...
----------------------------
revision 1.32 (not released)
-------------
date: 2001/04/06 22:31:27
- Fixed case sensitiveness when checking for suffix replacement
  (thanks to Erik Jørgensen)
----------------------------
revision 1.31
-------------
date: 2001/02/27 19:45:19
- Heuristic added for finding end of file by counting %%EOF comments.
  Now correctly treats already embedded EPS, too.
  Usually only trailing garbage (e.g., PCL control sequences) follows
  last %%EOF. However, sometimes the last %%EOF may be missing.
  Therefore, the behavior is switchable by new -E option.
----------------------------
revision 1.30 (not released)
-------------
date: 2001/02/09 16:55:32
Just forgot the new options in usage line, corrected year in copyright
----------------------------
revision 1.29 
-------------
date: 2001/02/09 15:43:28
- New first line of code for getting rid of the #! comment
- EOF handling corrected, allowing better handling of already embedded eps files
- New -P option to allow selective removal of embedded preview images
  (was previously default)
- Preview images were not filtered in the prolog section (now corrected with -P)
- New -N option to prevent inclusion of any surrounding postscript code
----------------------------
revision 1.28
-------------
date: 2000/10/13 09:51:55
\n was missing at altered clipping bounding box
----------------------------
revision 1.27 (not released)
date: 2000/10/13 09:39:07
Clip option should now also print the enlarged BoundingBox in the
Postscript header, so it is not cut off if it gets clipped again.
----------------------------
revision 1.26
- just fixed the E-Mail address, because it will not change so often
  in the future
----------------------------
revision 1.25 (not released)
- new -C option clipping added
- fixed page bounding box search message
- bbox 1.10 now fixed scanf() which might cause crashes
----------------------------
revision 1.24
date: 2000/07/24 18:52:36;
- just forgot the new options in usage txt, now fixed
----------------------------
revision 1.23
date: 2000/07/24 18:34:52;
- ps2eps now uses existing Bounding Box for GS rendering
  (can be switched off with -B option)
- Original Postscript version from first header line should now be retained
  in output file
- provide --help and --version with usual meaning for GNU programs
----------------------------
revision 1.22
date: 2000/02/23 14:15:31;  author: bless;  state: Exp;  lines: +12 -6
ps2eps now draws in color (ppm) by default.
Monochrome option added.
Fixing message was not printed for each file.
----------------------------
not released before...