~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to filters/kword/pdf/xpdf/CHANGES

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
0.2 (95-dec-12)
 
2
---------------
 
3
First public release.
 
4
 
 
5
 
 
6
0.3 (96-jan-13)
 
7
---------------
 
8
LZW patent workaround.
 
9
Implemented inline images.
 
10
Fixed (mostly) disjoint polygon fills.
 
11
Added remote server stuff.
 
12
Added page number on command line.
 
13
Fixed problem with font encodings which caused character misalignment.
 
14
Fixed inverted CCITT decoding and inverted image mask drawing.
 
15
Now compiles under gcc 2.7.x (ignore those stupid 'unused parameter'
 
16
  warnings).
 
17
Many minor bug fixes and optimizations.
 
18
 
 
19
 
 
20
0.4 (96-apr-24)
 
21
---------------
 
22
Implemented DCT filter.
 
23
Implemented PostScript output; wrote pdftops program.
 
24
Implemented links.
 
25
Implemented font rotation -- I was wrong: X11R6 servers *do* support
 
26
  font rotation (by specifying a matrix in place of a size).
 
27
Added bindings for Home/End, Page Up/Down, arrow keys.
 
28
Added initialZoom resource and -z option.
 
29
Added geometry resource and -g option.
 
30
Fixed image size off-by-one bug.
 
31
Fixed bug where page content is reference to an array of streams.
 
32
Cleaned up uninitialized variables which were causing random problems
 
33
  on various platforms.
 
34
Manually skip whitespace before calling atoi() for startxref.
 
35
Replaced calls to XrmCombineFileDatabase() with calls to
 
36
  XrmGetFileDatabase() and XrmMergeDatabases() so it will work under
 
37
  older versions of X.
 
38
Fixed problem with reading multiple xref tables in updated PDF files.
 
39
Check for encryption and print appropriate error message.
 
40
Rudimentary dithering of images.
 
41
Fixed bug in CCITTFax filter (pass mode followed by horizontal mode).
 
42
Optimized drawImage() and drawImageMask().
 
43
Changed several things to ease porting:
 
44
  - changed '__inline' to 'inline' (to adhere to the ANSI standard)
 
45
  - surrounded interface/implementation pragmas with #ifdef _GNUC__
 
46
  - got rid of empty array initializer lists
 
47
  - moved Operator type definition from Gfx.cc to Gfx.h
 
48
  - renamed String, uint, etc.
 
49
  - ability to uncompress to file (NO_POPEN and USE_GZIP flags)
 
50
  - added definitions of XK_Page_Up/Down and XPointer for old versions
 
51
    of X
 
52
For VMS port:
 
53
  - use correct Xdefaults name for VMS, get rid of ltkGetHomeDir()
 
54
  - added '#include <stddef.h>' before all X includes
 
55
  - renamed files with multiple periods in their names
 
56
Fixed window resizing infinite oscillation bug.
 
57
Fixed problem with string-type (as opposed to stream-type) indexed
 
58
  color space lookup tables (which are used in inline images).
 
59
If an X font is not found, try smaller and then larger sizes (this is
 
60
  useful for old or broken X servers which can't scale bitmap fonts).
 
61
Added -rgb (color cube size) option.
 
62
Various minor bug fixes.
 
63
 
 
64
 
 
65
0.5 (96-may-23)
 
66
---------------
 
67
Fixed bug in LTKWindow which broke the remote server mode.
 
68
Fixed PostScript output:
 
69
  - doesn't seg fault if file is unwritable.
 
70
  - incorrect DSC comment - need colon in '%%Page:'.
 
71
  - use 'imagemask' command for masks.
 
72
  - output filters in the correct order.
 
73
  - Stream::isBinary() checks the next-to-bottom, not top, stream.
 
74
  - if page width > height, rotate it 90 degrees.
 
75
  - if page is larger than paper size, scale it down.
 
76
Set default MediaBox to 8.5" x 11" to deal with non-compliant PDF
 
77
  files which don't specify a MediaBox.
 
78
Added DEBUG_MEM stuff in gmem.c and gmempp.cc.
 
79
Fixed memory leaks:
 
80
  - LTKWindow didn't delete the LTKBox.
 
81
  - LinkAction needs a virtual destructor.
 
82
Use $(RANLIB) variable in goo/Makefile and ltk/Makefile.
 
83
Allocate image data after calling XCreateImage, using
 
84
  image->bytes_per_line -- works in 24-bit mode now.
 
85
DCTStream rounds width of rowBuf lines up to the next multiple of
 
86
  mcuWidth, so last MCU doesn't run off end of buffer.
 
87
Increase size of block (from 255 to 1024 bytes) read at end of file to
 
88
  search for 'startxref'.
 
89
Skip past garbage at start of file, look for '%PDF'.
 
90
Moved more compiler options out of Makefiles into Makefile.config.
 
91
Top-level Makefile uses '$(MAKE)' instead of 'make' for making
 
92
  subdirectories.
 
93
Space/PageDown/Next and Backspace/PageUp/Previous now moves to
 
94
  next/previous page if already scrolled to bottom/top of current
 
95
  page.
 
96
 
 
97
 
 
98
0.5a (96-jul-09)
 
99
----------------
 
100
[not a public release]
 
101
For PDF 1.2 (a.k.a. Amber, a.k.a. Acrobat 3) support:
 
102
  - look for trailer after first xref instead of at end of file.
 
103
Deal with font subsets by converting character names of the form
 
104
  'Cnnnn' to the appropriate character from the standard encoding.
 
105
Extract encoding from embedded Type 1 fonts.
 
106
Kludge to fill one-pixel thick polygons.
 
107
Changed X font encoding to use endash for hyphen (gets rid of too-long
 
108
  hyphens).
 
109
Handle Resources key in Pages dictionaries (needed for pstoedit
 
110
  output).
 
111
Fix comment handling in Parser (needed for pstoedit output).
 
112
Move Bezier curve conversion from GfxState to XOutputDev; look at
 
113
  flatness parameter in GfxState.
 
114
Change all of the path functions in XOutputDev (stroke, fill, clip) to
 
115
  use the same path transformation/conversion function.
 
116
Rewrote PostScript output driver as a subclass of OutputDev; removed
 
117
  duplicated code (ps_ functions) from Gfx.
 
118
Fixed bug in xref code with small (< 1024 bytes) PDF files.
 
119
Implemented BX/EX operators.
 
120
Added PDFDoc class.
 
121
 
 
122
 
 
123
0.6 (96-nov-12)
 
124
---------------
 
125
Add support for PostScript output to stdout (-) and to a command
 
126
  (|lpr); added -ps option and psFile resource.
 
127
Decryption is implemented but not included in the distribution due to
 
128
  legal restrictions: the decryption algorithm is a trade secret of
 
129
  RSA, Inc., and the U.S.A. still has bogus export controls on
 
130
  cryptography software.
 
131
Added .xpdfrc config file:
 
132
  - Added fontmap parameter: user can map PDF font names to X fonts.
 
133
  - Added fontpath parameter: search for Type 1 font if encoding is
 
134
    not in PDF file.
 
135
Incremental display: display is updated after every 200 commands.
 
136
Added forward and backward by-10-page buttons.
 
137
Links:
 
138
  - Implement links with "Launch" actions that point to PDF files.
 
139
  - Draw borders around links.
 
140
  - Handle links with named destinations.
 
141
  - GoToR links specify a page number instead of a page reference.
 
142
Optimizations:
 
143
  - Rewrote Stream to use buffering, and added lookChar() functions;
 
144
    rewrote Lexer to take advantage of this.
 
145
  - Use hash tables for name->code mapping in font encodings.
 
146
  - Made XOutputDev::doCurve() iterative, changed /2 to *0.5, and
 
147
    changed the flatness test.
 
148
Added file name to window title.
 
149
Implemented RunLength filter.
 
150
Implemented forms.
 
151
Convert ObjType to an enum.
 
152
Changed isDict("Pages") to isDict() (in Catalog.cc) to deal with
 
153
  incorrect PDF files.
 
154
Changed color selection so that very pale colors don't map to white.
 
155
Fixed bug in CCITTFax filter (multiple make-up codes).
 
156
In GString::clear(): need to set length to 0 before calling resize().
 
157
Base initial window size on first displayed page, not page 1; deal
 
158
  correctly with rotated pages.
 
159
Added ltkGetIntResource() and LTKApp::getIntResource().
 
160
PostScript output fixes:
 
161
  - Escape backslashes in strings.
 
162
  - When doing ASCII85 encoding, keep both chars of EOF marker ('~>')
 
163
    on same line.
 
164
  - Add extra line '%-EOD-' after image data streams; call wrapper
 
165
    functions for image and imagemask which look for this line -- this
 
166
    should fix the 'too much data in stream' bug.
 
167
  - Font tags can be reused for different fonts on different pages --
 
168
    so use font object reference (number/generation) instead.
 
169
Initialize character widths to zero (this caused crashes on OSF/1).
 
170
Handle image masks which go outside of pixmap.
 
171
Makefile.config changes:
 
172
  - Remove -o in C++ compile rule.
 
173
  - Add $(AR) variable.
 
174
Code which read char widths from font dictionary read all but the last
 
175
  width.
 
176
Add 'return 0;' to main() in xpdf and pdftops.
 
177
Allow fonts to use StandardEncoding.
 
178
Convert man pages to VMS help files.
 
179
 
 
180
0.7 (97-may-28)
 
181
---------------
 
182
Implemented FlateDecode filter (for PDF 1.2).
 
183
Basic xref table reconstruction for damaged files
 
184
New pdftotext program converts PDF to plain text.
 
185
Implemented menus in LTK; added a menu to xpdf.
 
186
Added open and save functions; allow xpdf to start without any PDF
 
187
  file.
 
188
Implemented text find.
 
189
Implemented text select/copy.
 
190
Change mouse cursor when it's over a link.
 
191
Embed Type 1 fonts in PostScript output.
 
192
Moved rotate functions to menu; added quit to menu.
 
193
Fixed stroke color bug in PostScript output (was using fill color
 
194
  instead of stroke color; this sometimes caused lines to be missing
 
195
  (white) in PostScript output).
 
196
Support Launch-type links -- pops up a dialog before executing
 
197
  anything.  Expects the A (action) dictionary to contain a Unix
 
198
  dictionary with F (file) and P (paremeter) keys just like the Win
 
199
  dictionary.
 
200
A moveto op all by itself should just be discarded, instead of
 
201
  generating a subpath with one point (this was causing seg faults).
 
202
Balanced parentheses in strings don't need to be escaped.
 
203
Tj operator in PostScript prolog didn't check for zero when dividing
 
204
  by length of string.
 
205
Implemented selection in LTK; TextIn widgets support dragging/copy/
 
206
  paste.
 
207
Handle font subsets that use hex character codes.
 
208
Added icon pixmap; added the XPMLIB and NO_XPM variables to
 
209
  Makefile.config.
 
210
Fixed subtle bug in use of horizontal scaling parameter (it affects
 
211
  only the width of drawn characters, not positioning done in text
 
212
  space).
 
213
Memory testing (with DEBUG_MEM):
 
214
  - gmalloc now fills memory blocks with garbage to catch unitialized
 
215
    fields.
 
216
  - gfree fills memory blocks with garbage to catch uses of freed
 
217
    blocks.
 
218
Handle image masks which go off the pixmap on the top and/or left.
 
219
Fixed inline functions which had two return statements (to make the
 
220
  HP, SCO, and other cfront-based compilers happy).
 
221
Fixed bug which caused seg faults when following a link to a different
 
222
  file (info in LinkGoto object was used after link was deleted by
 
223
  loadFile).
 
224
If page content is an array of streams, the streams are concatenated;
 
225
  objects and commands can span multiple streams.
 
226
If file open fails, try lower-casing and upper-casing the file name.
 
227
Commands should end when lexer sees a '/' character.
 
228
GString::append(char *, int) was broken.
 
229
Changed LTKScrollingCanvas redraw to be more efficient: copy as much
 
230
  as possible from window before copying from off-screen pixmap.
 
231
Ignore gs (set extended graphics state) operator.
 
232
Handle colorspaces (CalGray/RGB are treated as DeviceGray/RGB; the
 
233
  weird colorspaces are not yet implemented).
 
234
Named destinations (for links) can be strings as well as names; deal
 
235
  with the names tree in the catalog.
 
236
Clip to the page CropBox.
 
237
Added '-q' to gzip options (to suppress warnings, in case user has -v
 
238
  in GZIP env var).
 
239
Added 'include Makefile.config' to top-level Makefile.
 
240
Added INSTALL variable to Makefile.config; used in top-level
 
241
  Makefile.
 
242
Always initialize LinkDest left/bottom/top/right/zoom fields (bogus
 
243
  floating point values were causing crashes on Alpha).
 
244
Added Makefile.config options for Digital Unix (DEC compilers), HP-UX
 
245
  (HP compilers), SCO Unix, and Evans & Sutherland ES/OS.
 
246
Added flag to set stream mode in fopen call for VMS.
 
247
Rewrote Link module.
 
248
Pages with no contents shouldn't cause an error message.
 
249
In PostScript output: pdfImM needs to set fill color before doing
 
250
  imagemask.
 
251
If font doesn't specify character widths, use widths from built-in
 
252
  font, based on font flags.
 
253
Fixed LTK scrollbar to delay before repeating and to control the
 
254
  period between repeats.
 
255
Removed window/widget copy() methods (they were untested and unused).
 
256
Unknown filter types produce a single error message instead of a
 
257
  stream of errors.
 
258
Added a dummy target in top-level Makefile so making individual
 
259
  executables (e.g., 'make pdftops') should now work.
 
260
Added optional xpdf-flip.ltk with buttons on right side instead of
 
261
  bottom of window.
 
262
 
 
263
0.7a (98-feb-22)
 
264
----------------
 
265
Moved find command from menu to toolbar button ('f' key still works).
 
266
Support TrueColor visuals.
 
267
Added a -cmap option and a installCmap resource to install a private
 
268
  colormap.
 
269
Mouse button 2 pans the window.
 
270
Selecting a URI link now executes a configurable command (from the
 
271
  urlCommand resource).
 
272
Added a "link info" display which shows the URL or file for the link
 
273
  under the mouse.
 
274
Don't draw (or convert to PostScript) text drawn in render modes 3 and
 
275
  7 -- this is invisible text, used by Acrobat Capture; this text is
 
276
  still passed to the TextPage object so that selection works.
 
277
Recognize (and quietly ignore) marked content operators (BMC, BDC,
 
278
  EMC, MP, DP).
 
279
Recognize new color-setting operators (scn, SCN).
 
280
Added A4_PAPER option.
 
281
Embed external Type 1 font files (this currently only works with PFA
 
282
  files).
 
283
Added "-level1" option (in xpdf and pdftops) to generate Level 1
 
284
  PostScript.
 
285
Setup autoconf -- replaced Makefile.config.  Added SELECT_TAKES_INT
 
286
  flag, and use configure to autodetect (for HP-UX).
 
287
Fixed appendToPath() to behave reasonably when appending ".." to root
 
288
  directory.
 
289
Fixed array size in FlateStream::compHuffmanCodes() (was causing xpdf
 
290
  to crash under OSF/1).
 
291
ASCII85Stream, ASCIIHexStream, and DCTStream didn't check for EOF and
 
292
  could run past the end of the stream in damaged files.
 
293
Handle hex escapes (#xx) in names.  Still allow the name /# for
 
294
  backward-compatibility.
 
295
Check for NULL characters in encoding array in GfxFont.cc (was calling
 
296
  strcmp() with NULL which crashed under Solaris).
 
297
PageAttrs::PageAttrs() didn't initialize crop box boundaries.
 
298
Changed uses of lookup() to lookupNF() in XRef.cc.
 
299
Fixed type checking of operators which take a variable number of
 
300
  args.
 
301
Gfx::buildImageStream() doesn't need to check for parser (since I got
 
302
  rid of the bogus array-of-command thing).
 
303
XOutputFont matches on font reference instead of font tag (similar to
 
304
  PSOutputDev fix).
 
305
Fixed bug in position calculation for multi-char substitutions in
 
306
  XOutputDev.
 
307
Cleaned up local variables which hid class variables.
 
308
Optimized variable length decoding in CCITTFaxStream.
 
309
Set link border width to zero if Border dictionary entry is missing.
 
310
Throw away zero-length strings in TextOutputDev -- they don't have
 
311
  valid xMin/xMax values.
 
312
Swapped order of XLIBS and XPMLIB in xpdf/Makefile.
 
313
Deleted 'LTKApp::' in function declaration in LTKApp.h.
 
314
Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cc.
 
315
Check that the link rectangle coordinates are in the correct order,
 
316
  and swap if necessary.
 
317
TextOutputDev didn't set text to NULL, which caused pdftotext to
 
318
  segfault if it couldn't open it's output file.
 
319
Fixed a hash table search bug in GfxFontEncoding::getCharCode().
 
320
Cleaned up colorspace code: rewrote GfxColorSpace and added
 
321
  GfxImageColorMap; cleaned up PSOutputDev::doImage.
 
322
Handle named colorspaces in images.
 
323
Correctly set the default color after a colorspace change.
 
324
Old setcolor operators now set the colorspace.
 
325
Fixed bug with uncompressed blocks in FlateStream.
 
326
Fixed bug with fixed Huffman code table in FlateStream.
 
327
Added hash table of X windows (for LTKWindow and LTKWidget) to LTKApp
 
328
  and replaced calls to XQueryTree with hash table searches -- this
 
329
  avoids a roundtrip to the server for each event and also fixes the
 
330
  problem where XQueryTree crashed if the window no longer existed
 
331
  (with leftover events from a destroyed window).  (Thanks to Yair
 
332
  Lenga for the suggestion.)
 
333
Create a new GC for selection -- xor black and white (instead of LTK
 
334
  foreground and background).
 
335
Fixed crash with blank lines in .xpdfrc.
 
336
Allow spaces in font descriptors in fontmap lines in .xpdfrc.
 
337
Check for bogus object number in XRef::fetch().
 
338
Use MacRomanEncoding for TrueType fonts that don't specify an
 
339
  encoding.
 
340
Certain PDF generators apparently don't include FontDescriptors for
 
341
  Arial, TimesNewRoman, and CourierNew -- set GfxFont flags
 
342
  appropriately.
 
343
Fixed a bug in width guessing in GfxFont -- sans serif and serif were
 
344
  swapped.
 
345
Rewrote XRef::readXRef() to avoid using a parser to read the xref
 
346
  entries.
 
347
Added NO_TEXT_SELECT option.
 
348
Ignore APPn/COM/etc. markers in DCT streams.
 
349
Replaced select() with XMultiplexInput() in LTKApp.cc for VMS.
 
350
Handle WM_DELETE_WINDOW protocol -- if you ask the window manager to
 
351
  delete the xpdf window, xpdf will exit cleanly; other
 
352
  windows/dialogs are simply closed.
 
353
Optimized DCT decoder; switched to integer arithmetic.
 
354
The "/Type /Annots" field in an annotation dictionary is optional.
 
355
Check for null nameTree in Catalog::findDest().
 
356
In XOutputDev, search user font map before default font map.
 
357
Added "normal" SETWIDTH parameter to all font descriptors in
 
358
  XOutputDev (some systems have a narrow-width Helvetica font).
 
359
Added FOPEN_READ_BIN and FOPEN_WRITE_BIN to support Win32.
 
360
Added a hack which allows better font substitution for some Type 3
 
361
  fonts.  Also allow character names of the form /nn and /nnn.
 
362
Added <strings.h> and <bstring.h> to LTKApp.cc (needed by AIX and IRIX
 
363
  for bzero() declaration for FD_ZERO).
 
364
 
 
365
0.80 (98-nov-27)
 
366
----------------
 
367
Support for some Japanese fonts (Type 0 fonts using the Adobe-Japan1-2
 
368
  character collection, horizontal only).
 
369
Added pdfinfo application.
 
370
Added pdftopbm application.
 
371
Added pdfimages application.
 
372
Added -papercolor option and .paperColor resource.
 
373
Fixed divide-by-zero problem in XOutputDev Type 3 font matrix kludge.
 
374
Font subset char names can be 'Bxx' as well as 'Cxx' and 'Gxx'.
 
375
Fixed bug in color space conversion in DCTStream filter (YCC->RGB was
 
376
  correct, YCCK->CMYK was broken).
 
377
Added XRef::getDocInfo() and PDFDoc::getDocInfo() to support pdfinfo.
 
378
Optimized GfxImageColorMap.
 
379
Lexer::getStream(), getPos(), and setPos() check for null stream.
 
380
Decryption code now does strings as well as streams.
 
381
ASCII85 decoder rounds short tuples up instead of down.
 
382
CropBox and MediaBox can be non-integers.
 
383
PostScript output:
 
384
  - Use a rectangle operator.
 
385
  - Call setpagedevice with page size.
 
386
  - Insert %%PageOrientation comments.
 
387
  - Add paper size flags (-paperw and -paperh) to xpdf and pdftops.
 
388
  - If HAVE_POPEN is not defined, and user tries to print to '|...',
 
389
    the PSOutputDev destructor tried to write to the PS file.
 
390
  - Added support for forms (pdftops -form).
 
391
Removed error messages for empty paths in stroke, fill, etc. operators.
 
392
Don't allow flatnesses less than 1 in XOutputDev (this speeds up
 
393
  rendering a little bit when there are lots of tiny curves).
 
394
Moved the font subset character name guessing from GfxFont to
 
395
  XOutputDev and TextOutputDev - now these files print correctly.
 
396
Cast argument to XFree() to XPointer; add XPointer definition where
 
397
  necessary (portability fixes).
 
398
Various minor VMS fixes.
 
399
Changes to configure script and Makefiles:
 
400
  - Print a warning if X is missing.
 
401
  - Use C++ when checking select() argument type (HP-UX).
 
402
  - Use 0 instead of NULL when checking select().
 
403
  - Default to gcc instead of c++.
 
404
  - Get rid of AC_C_INLINE -- this is meant for C, not C++.
 
405
  - Changed -USE_GZIP to -DUSE_GZIP.
 
406
  - Added ability to compile ouside of the source tree.
 
407
  - Added .cc.o rule to {goo,ltk,xpdf}/Makefile.in.
 
408
  - Added @LIBS@ to XLIBS in xpdf/Makefile.in.
 
409
  - In top-level Makefile.in: added '-' to clean commands; added
 
410
    distclean rule.
 
411
  - Create install directories.
 
412
  - Use INSTALL_DATA (instead of INSTALL) for man pages.
 
413
  - Changed xpdf-ltk.h rule to avoid leaving an empty file when
 
414
    ltkbuild fails.
 
415
  - Change things so that by default, ltkbuild is not built and
 
416
    xpdf-ltk.h is not rebuilt.
 
417
  - Use AM_PROG_CC_STDC to add compiler flags for ANSI C.
 
418
  - Modify autoconf's builtin macros to check for xlC.
 
419
  - Use Steve Robbins' smr_CHECK_LIB to test for pixmap library (Xpm)
 
420
    -- this should fix the problems on systems that have the library
 
421
    but not the include file.
 
422
  - Added better test for sys/select.h, sys/bsdtypes.h, strings.h,
 
423
    bstring.h.
 
424
  - New VMS make scripts from Martin P.J. Zinser.
 
425
  - Moved dependences into Makefile.in -- this gets rid of problems
 
426
    with 'cc -MM' (which is gcc-specific) and 'include Makefile.dep'
 
427
    (which isn't supported by all make implementations).  Also changed
 
428
    all non-system include files to '#include "..."' (from '<...>').
 
429
Tweaked the TextOutputDev heuristics slightly.
 
430
Modify Gfx to use a stack of resources -- this is necessary for Form
 
431
  XObjects, which can define their own local resources; also modified
 
432
  PSOutputDev to dump fonts used by forms.
 
433
Look for excessively large MediaBox (compared to CropBox) and shrink
 
434
  it to CropBox.
 
435
Minor fix to scrolling when dragging a selection.
 
436
Various patches for pdftex and Win32 support.
 
437
Deal with Separation colorspaces by using their alternate colorspace
 
438
  entry.
 
439
Added PBMOutputDev for pdftopbm application.
 
440
Added ImageOutputDev for pdfimages application.
 
441
Separated XOutputDev into LTKOutputDev + XOutputDev.
 
442
Added support for 1-D and mixed 1-D/2-D (Group 3) decoding to
 
443
  CCITTDecode filter.
 
444
Added resetImage(), getImagePixel(), and skipImageLine() to Stream
 
445
  class; used these in XOutputDev, PSOutputDev, and ImageOutputDev.
 
446
Implemented predictor for LZW and Flate filters.
 
447
In pdfImM1 in PSOutputDev prolog: div should be idiv.
 
448
Changed output from printUsage() function in parseargs to look nicer.
 
449
 
 
450
0.90 (99-aug-02)
 
451
----------------
 
452
Added Type 1/1C font rendering, using t1lib.
 
453
Added "backward" and "forward" buttons.
 
454
Added fit-page and fit-page-width zoom factors; replaced zoom-in and
 
455
  zoom-out buttons with a zoom popup menu.
 
456
Type 1C fonts are converted to Type 1 and embedded in PostScript.
 
457
Support vertical Japanese text.
 
458
Added Japanese text support (EUC-JP) to pdftotext.
 
459
Bumped PDF version to 1.3.  Added stub functions for ri and sh
 
460
  operators. (But there are still some missing 1.3 features.)
 
461
Added -raw option to pdftotext.
 
462
Minor changes to allow compiling under MS Visual C++ 5.0.
 
463
Top-level makefile: changed 'mkdir -p' to '-mkdir -p'.
 
464
Configure script: added X_CFLAGS to smr_CHECK_LIB(Xpm).
 
465
Added Xpm_CFLAGS to xpdf/Makefile.in (this is needed to get the -I for
 
466
  the xpm includes).
 
467
Rewrote code that handles font encodings; added support for Type 1C
 
468
  fonts.
 
469
In the setpagedevice dictionary in PostScript output - added a
 
470
  /Policies entry which tells the PS interpreter to scale the page to
 
471
  fit the available paper.
 
472
Changed PageUp behavior slightly: move to bottom (instead of top) of
 
473
  previous page.
 
474
TextPage used character's dx (width + char space) instead of just its
 
475
  width.
 
476
Read base URI from document Catalog (for URI-type links).
 
477
Minor change to configure script to avoid using 'unset'.
 
478
Fixed bugs in CropBox inheritance.
 
479
Fixed a bug in resource stack handling for form objects.
 
480
Display forms even if they have a missing/incorrect FormType.
 
481
Fixed a bug in stream predictors -- the predictor parameters (width,
 
482
  comps, bits) don't need to match the actual image parameters.
 
483
  Completely rearranged the predictor code.
 
484
Fixed PostScript output to correctly handle stream predictors.
 
485
Don't segfault on empty (zero-page) documents.
 
486
Added the xpdf.viKeys feature.
 
487
Added the ffi and ffl ligatures to XOutputDev and TextOutputDev.
 
488
Pdftotext and pdfimages now check okToCopy().
 
489
Added a '-q' flag to all programs (except pdfinfo) to suppress
 
490
  messages and errors.
 
491
Deal with DeviceN colorspaces by using their alternate colorspace
 
492
  entry.
 
493
Change PostScript output so setpagedevice is only called once, at the
 
494
  very beginning of the document (to avoid problems on duplex
 
495
  printers).
 
496
Changes to configure script and makefiles for DOS/DJGPP.
 
497
FontEncoding::getCharCode() looked for (code>0) instead of (code>=0).
 
498
Added keypad arrow keys, etc. to xpdf.
 
499
Minor changes to gfile.{h,cpp} (<windows.h>) to compile under VC++.
 
500
Fixed CCITTFaxStream to correctly handle all parameters.
 
501
Modifications to gfile.{h,cc} for Acorn.
 
502
Some minor changes for OS/2.
 
503
Added 'SHELL = /bin/sh' to Makefiles.
 
504
Compare file version to pdfVersionNum+0.0001 to avoid floating point
 
505
  precision problems.
 
506
Added LDFLAGS to Makefiles.
 
507
Removed strip entirely from configure and Makefiles.
 
508
Fixed a bug in choosing the correct DCTStream color transform.
 
509
 
 
510
0.91 (2000-aug-14)
 
511
------------------
 
512
Added TrueType font rendering, using FreeType.
 
513
Support for Chinese fonts (Type 0 fonts using the Adobe-GB1-2
 
514
  character collection).
 
515
Decryption code is included with the main distribution (now that the
 
516
  US export regulations are a little bit less irrational).
 
517
Added (very basic) support for generating PostScript with Japanese
 
518
  fonts -- only tested with ghostscript so far.
 
519
Added support for generating EPS files (pdftops -eps).
 
520
Much-improved image filtering in xpdf (for downsampling and for
 
521
  transforms other than 0/90/180/270-degree rotations).
 
522
Implemented a basic full-screen (presentation) mode (xpdf
 
523
  -fullscreen).  (There is currently no way to switch between window
 
524
  and full-screen modes on the fly -- this will be fixed in a later
 
525
  release.)
 
526
Added "reload" menu item.
 
527
Do a better job with anti-aliased Type 1 fonts on non-white
 
528
  backgrounds.
 
529
Handle Lab color spaces.
 
530
Handle non-null user passwords.
 
531
Avoid security hole with tmpnam()/fopen() -- added openTempFile() in
 
532
  goo/gfile.cc.  [Thanks to Joseph S. Myers for pointing this out.]
 
533
Filter out quote marks (' and ") in URLs before running urlCommand to
 
534
  avoid a potential security hole.  [Thanks to Frank Doepper for
 
535
  pointing this out.]
 
536
Fixed TrueColor detection to look at the complete list of available
 
537
  visuals, not just the default visual.
 
538
In gfile.h, changed NAMLEN(dirent) macro to NAMLEN(d).
 
539
Removed copyright character from start-up banners.
 
540
In the open and save dialogs, if the open/save button is pressed with
 
541
  no file name, the dialog is not canceled.
 
542
Added Xpm_CFLAGS to ltk/Makefile.
 
543
XOutputDev::updateLineAttrs was using dashLength before it was
 
544
  defined.
 
545
In top-level Makefile.in, use INSTALL_PROGRAM instead of INSTALL.
 
546
In man page, recommend -q instead of -err in .mailcap.
 
547
Changes for GNOME / Bonobo support:
 
548
  - Separated Stream classes into BaseStream and FilterStream trees.
 
549
  - Got rid of all FileStream-specific stuff.
 
550
  - Added a PDFDoc constructor that takes a BaseStream* instead of a
 
551
    file name.
 
552
Allow newlines inside strings (Photoshop does this).
 
553
Don't require whitespace between tokens in consecutive content
 
554
  streams (for pages that specify an array of streams).
 
555
Look at MissingWidth when constructing font character widths array.
 
556
Fixed a bug that caused incorrect PostScript output for images that
 
557
  use 8-bit indexed color spaces with < 256 colors in the palette.
 
558
Handle case where embedded font file is bad (this was seg faulting).
 
559
Minor changes for Windows/pdftex.
 
560
Work around a bug in PDF files from the IBM patent server.
 
561
Fixed bugs in PostScript form generation: use pdfStartPage instead of
 
562
  pdfSetup; problem with inline images.
 
563
Minor bug fix in FlateStream::loadFixedCodes().
 
564
Added %%DocumentMedia and %%PageMedia comments to the PostScript so
 
565
  that gsview (a Windows frontend for ghostscript) gets the right
 
566
  paper size.
 
567
Draw AcroForm fields that have appearance annotations.
 
568
Bounds check gray, CMYK, and RGB values (in GfxColor).
 
569
Moved the link border drawing code into Page (from PDFDoc).
 
570
Minor modifications for pdftohtml.
 
571
PSOutputDev: use the Type 3 font scaling kludge from XOutputDev.
 
572
Separation color spaces were handled incorrectly in images.
 
573
Fixed a bug with form bounding boxes.
 
574
Modified the t1lib support -- replace libt1x code with my own code.
 
575
  Type 1 and TrueType fonts are now handled similarly, and clipping
 
576
  works on Type 1 fonts.
 
577
Don't print copyright banner (xpdf); add -v switch to get copyright
 
578
  and version info (all apps); get rid of -err switch (xpdf).
 
579
Automatically reload the PDF file if it has been changed, i.e., if the
 
580
  modification time is different.
 
581
Fixed a memory (malloc size) bug in CCITTFaxStream.
 
582
Fixed two bugs in FontEncoding::hash() -- handle zero-length character
 
583
  names (which were found in a (buggy?) PDF file), and handle
 
584
  character names with high-bit-set characters (use unsigned ints).
 
585
Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cc.
 
586
Handle files with an incorrect page count in the Pages dictionary
 
587
  (FOP, from the Apache project produces a page count of 0).
 
588
Handle TrueType equivalents to the Base14 fonts (Arial, TimesNewRoman,
 
589
  CourierNew) -- Adobe's tools use these names without embedding the
 
590
  fonts.
 
591
Tweaked the Type 3 font sizing kludge.
 
592
Changed pdfimages (ImageOutputDev) so it doesn't output JPEG files for
 
593
  4-component color spaces, since these seem to confuse most image
 
594
  viewers.
 
595
Added support for generating OPI comments (pdftops -opi).
 
596
In XOutputDev::drawImage() and drawImageMask(), check for images that
 
597
  are completely off-page.
 
598
Use the provided alternate or a default (DeviceGray/RGB/CMYK) color
 
599
  space for ICCBased color spaces.
 
600
Incorporated MacOS-specific code from Leonard Rosenthol.
 
601
Configure script switches to C++ for the strings.h/bstring.h test.
 
602
Gfx::opRestore() calls clearPath() to handle (apparently) buggy PDF
 
603
  files produced by FreeHand.
 
604
The /Type field in most dictionaries is optional (PDF 1.3 change).
 
605
Move printCommands variable definition into Gfx.cc.
 
606
If page is smaller than paper, center the PostScript output.
 
607
Fix a minor bug in the SELECT_TAKES_INT detection in the configure
 
608
  script.
 
609
TextOutputDev filters out control characters.
 
610
Changed enough occurrences of 'char *' to 'const char *' to keep gcc
 
611
  2.95 from barfing.
 
612
Support for Latin-2 and Latin-5 in pdftotext (however, this will only
 
613
  work if the PDF file contains correct font encodings, which seems to
 
614
  be rare).
 
615
TextOutputDev converts "eightoldstyle" to "eight", etc.
 
616
Don't use the return value from sprintf() -- most systems return the
 
617
  length, but some return the string.
 
618
Minor fixes for SunOS 4.
 
619
Configure script looks for both select() and fd_set in sys/select.h.
 
620
Configure script checks for gethostbyname() in -lbsd (for LynxOS).
 
621
Fix missing closepath bug in PostScript output.
 
622
Change PostScript portrait/landscape mode selection so it only uses
 
623
  landscape if the page width is greater than the paper width.
 
624
Tweaked the VMS code in makePathAbsolute().
 
625
 
 
626
0.91a (2000-oct-11)
 
627
-------------------
 
628
Implemented separable CMYK PostScript output (the -level1sep switch to
 
629
  pdftops).
 
630
Implemented Pattern color spaces with tiling patterns (polygon fills
 
631
  only).
 
632
Implemented Stamp annotations.
 
633
Implemented Named link actions.
 
634
Fixed a really dumb bug in the TrueColor code in SFont (which affects
 
635
  both Type 1 and TrueType font rendering on 16-bit displays).
 
636
Rewrote the GfxColorSpace / GfxColor code.
 
637
Switched from djgppcfg to dj_make.bat (from Michael Richmond).
 
638
Bug in the Type 1 encoding parser -- couldn't handle lines of the form
 
639
  'dup NNN/name put' (with no space between the code and the name).
 
640
Fixed the mkstemp() test in configure.in -- switched from
 
641
  AC_TRY_COMPILE to AC_TRY_LINK and added <unistd.h>.
 
642
Added DESTDIR to top-level Makefile.in.
 
643
Fixed an incorrect OPI comment in PSOutputDev.
 
644
Minor tweak to the CCITTFax code to avoid writing past the end of an
 
645
  array on an invalid data stream.
 
646
Xpdf crashed if the user selected 'reload' when no document was
 
647
  loaded.
 
648
Look for character names of the form "xx" (two hex digits with no
 
649
  leading alphabetic char) and 'cNNN' (decimal digits with a leading
 
650
  alphabetic char that happens to be a hex digit).
 
651
FlateStream didn't correctly handle zero-length streams.
 
652
Xref reconstruction didn't handle the case where the opening "<<"
 
653
  immediately followed "trailer" with no intervening whitespace.
 
654
Fix the %%DocumentSuppliedResources comment in EPS output.
 
655
Scale annotations to fit their rectangles.
 
656
Added Stream::close() to handle cases (e.g., patterns) where a Stream
 
657
  object is used multiple times before it is deleted.
 
658
Added the topLevel arg to Gfx::go() so it doesn't call out->dump() for
 
659
  every pattern element (and form).
 
660
Rearranged the GfxResources class.
 
661
Clean up white space handling in Lexer.
 
662
Make the dpi parameter to PDFDoc::displayPage etc. a double - this
 
663
  avoids margin gaps with fit-page and fit-width.
 
664
Fix a rounding problem in xpdf.cc that was causing the window to
 
665
  sometimes be one pixel too small.
 
666
Fixed a minor bug in dealing with Base-14 TrueType font names.
 
667
Fixed Lab -> RGB color space conversion.
 
668
Added support for opacity values (from PDF 1.4) to GfxState and
 
669
  OutputDev.  [Thanks to Leonard Rosenthol.]
 
670
Implemented type 2 functions; rearranged the Function class
 
671
  hierarchy.
 
672
 
 
673
0.91b (2000-oct-29)
 
674
-------------------
 
675
Print a warning about Type 3 fonts (XOutputDev, PSOutputDev).
 
676
Added the scroll lock behavior to 'n' and 'p' keys in xpdf.
 
677
Change FileStream buffer size to a #define'd constant.
 
678
Renamed Pattern to GfxPattern to avoid clashes with Windows and MacOS
 
679
  types.
 
680
Added CNS (Big5) Chinese font support (CHINESE_CNS_SUPPORT); renamed
 
681
  CHINESE_SUPPORT to CHINESE_GB_SUPPORT.
 
682
 
 
683
0.91c (2000-nov-19)
 
684
-------------------
 
685
Fix an endianness problem in the Type 1 font code which resulted in an
 
686
  incorrect display with "-t1lib plain" on big-endian systems.
 
687
CCITTFax stream decoder will skip over extra zero bits at end of line,
 
688
  even if EncodedByteAlign flag wasn't set.
 
689
Added Big5 support to pdftotext (with CHINESE_CNS_SUPPORT enabled).
 
690
Fixed a typo in the CNS/Big5 encoding translation table.
 
691
Change the form code in PSOutputDev to store images in arrays of
 
692
  strings.
 
693
The xref reconstruction (for damaged files) now also looks for
 
694
  'endstream' tags, and the parser uses this information when setting
 
695
  up stream objects.
 
696
In pdfinfo, convert Unicode chars in the 00xx range into 8-bit chars;
 
697
  print a warning if there are any other Unicode chars.
 
698
 
 
699
0.92 (2000-dec-03)
 
700
------------------
 
701
Fixed %%BeginResource comment (for xpdf procset) in PostScript
 
702
  output.
 
703
Added "-title" switch and "xpdf.title" resource to set the window
 
704
  title.
 
705
Check for <freetype.h> in addition to <freetype/freetype.h>.
 
706
Upgraded the configure script to smr_macros 0.2.4 - this should fix a
 
707
  bug where configure wasn't correctly finding t1lib.
 
708
 
 
709
0.92a (2000-dec-17)
 
710
-------------------
 
711
Added 'extern "C" { ... }' in various places for ANSI C++ compliance.
 
712
Tweaked the code that figures out DPI for fit-to-page and fit-to-width
 
713
  modes.
 
714
Fixed the image transformation code in XOutputDev -- no more missing
 
715
  lines.
 
716
Implemented color key image masking in XOutputDev.
 
717
 
 
718
0.92b (2001-jan-07)
 
719
-------------------
 
720
Fixed a bug in the error-checking code in the Separation/DeviceN color
 
721
  space parsing functions.  [Thanks to Lidia Mirkin.]
 
722
Added wheel mouse support (mouse buttons 4 and 5).  [Thanks to
 
723
  Thorsten Schreiner.]
 
724
Added preliminary support for FreeType 2 (disabled by default).
 
725
 
 
726
0.92c (2001-jun-04)
 
727
-------------------
 
728
Fixed a bug in the new image transformation code.
 
729
Look for character names of the form "<letter><digit><digit>", instead
 
730
  of looking for names beginning with a few specific letters.
 
731
T1FontFile::T1FontFile wasn't initializing vars, and ~T1FontFile
 
732
  wasn't checking before calling T1_DeleteFont -- this caused crashes
 
733
  if it tried to open a nonexistent font file.
 
734
Catalog::Catalog didn't set baseURI to NULL early enough.
 
735
Tweak the check for strings.h in the configure script.
 
736
Yet another fix for the image rotation code in XOutputDev --
 
737
  off-by-one problem when upsampling.
 
738
Handle Type 1/1C encodings when using FreeType 2.
 
739
Allow FreeType2 to render user-supplied Type 1 base fonts.
 
740
Opening a new file from full-screen mode tried to scroll.
 
741
Fixed a bug in GfxFont constructor (missing check for NULL base font
 
742
  name).
 
743
Don't crash if a Type 1 font's FontBBox is non-integer.
 
744
Pdfinfo prints page size.
 
745
Tweak for the alpha hack in T1Font/TTFont: sample the middle pixel
 
746
  instead of the top-left pixel.
 
747
Automatically activate the text input widget in the find window.
 
748
Changed a Japanese char code mapping in XOutputDev and TextOutputDev:
 
749
  period was being incorrectly mapped to small circle (end-of-sentence
 
750
  character).
 
751
Add the 0/+/-/z/w key bindings to control the zoom setting.
 
752
Fixed ImageOutputDev (pdfimages) to correctly handle inline image
 
753
  masks.
 
754
Extract ascent/descent info from font descriptor.
 
755
 
 
756
0.92d (2001-jun-26)
 
757
-------------------
 
758
Embed TrueType fonts in PostScript output.  (Added a "-noembtt" flag
 
759
  to pdftops.)
 
760
Extract encoding from TrueType fonts.
 
761
Moved Function classes to a separate file (Function.h/cc).
 
762
Implemented multi-dimensional sampled Functions.
 
763
Implemented Type 4 (PostScript calculator) Functions.
 
764
For Type 0 fonts, FontDescriptor is in descendant font, not parent.
 
765
  [Thanks to Lidia Mirkin.]
 
766
Added the "-htmlmeta" option to pdftotext.
 
767
In TextOutputDev, when computing the number of blank lines to insert,
 
768
  do a sanity check on the result.
 
769
If both FlateDecode and some other filter (e.g., DCTDecode) were
 
770
  applied to an image stream, getPSFilter() crashed instead of just
 
771
  returning NULL.
 
772
Handle the /Identity function.
 
773
 
 
774
0.92e (2001-aug-23)
 
775
-------------------
 
776
Widths in font dict should override built-in font widths.
 
777
Changed "rotate left/right" menu items to "rotate
 
778
  clockwise/counterclockwise".
 
779
The link parsing code choked if the Border array was incorrect (too
 
780
  short).
 
781
Modified PSOutputDev to output CMYK for fill/stroke colors.
 
782
 
 
783
0.93 (2001-oct-25)
 
784
------------------
 
785
Implement PDF 1.4 (128-bit) decryption.
 
786
Bump supported PDF version number to 1.4.
 
787
Text output for Simplified Chinese.  [Thanks to Cheung Siu Fai.]
 
788
Read an app-defaults file for Xpdf.
 
789
Read a system-wide config file (<prefix>/etc/xpdfrc) if ~/.xpdfrc
 
790
  doesn't exist.
 
791
Accept and verify owner password; if correct, allow all actions.
 
792
Added a "-level2sep" option to pdftops to generate Level 2 separable
 
793
  PostScript.  The PostScript separation convention operators are used
 
794
  to handle custom (spot) colors.  [Thanks to Thomas Freitag for help
 
795
  on this.]
 
796
Add support for FreeType 2 to the configure script.  Warning: this
 
797
  requires FT 2.0.5 or newer.
 
798
Fixed the bounding rectangle overlap test in the disconnected subpath
 
799
  fill hack in XOutputDev.
 
800
Stupid typo in font name table in PSOutputDev.
 
801
Changing the zoom setting with a keyboard shortcut didn't update the
 
802
  displayed setting.
 
803
Modified the mouse wheel support and added the second wheel (mouse
 
804
  buttons 6 and 7).  [Thanks to Michal Pasternak.]
 
805
Character and word spacing is affected by horizontal scaling (display
 
806
  and PS output).  [Thanks to Eddy Ng.]
 
807
Rotation specified by the text matrix, character spacing, and
 
808
  horizontal scaling interacted incorrectly (display and PS output).
 
809
Some broken Type 1/1C fonts have a zero BBox -- kludge around this by
 
810
  assuming a largeish BBox.
 
811
Handle PDF files with an incorrect (too small) xref table size.
 
812
Allow "-?" and "--help" as aliases for "-h" (all apps).
 
813
Correctly handle unescaped parens in strings in Lexer.
 
814
Fixed a bug in LTK where a menu got posted multiple times if you right
 
815
  clicked while a page was being rendered.
 
816
Removed a comma inside a string in configure.in.
 
817
Kludge around broken PDF files that use char 32 but encode it as
 
818
  .notdef instead of space.
 
819
Clean up various compiler warnings: use constructor args like "fooA"
 
820
  if there is a field named "foo".  Everything now compiles cleanly
 
821
  under gcc 2.91.66, 2.95.2, and 3.0.1.
 
822
Page objects now read all of the page rectangles (MediaBox, CropBox,
 
823
  BleedBox, TrimBox, ArtBox), as requested by the pdfTeX folks.
 
824
  Added a new PDFRectangle struct to hold these.
 
825
Use XOutputDev's Type 3 font size hack in TextOutputDev too, so it
 
826
  does a little better job of extracting text in Type 3 fonts.
 
827
Modify pdfimages to write one-bit images as PBM files.
 
828
Work around a bug in cygwin's implementation of fseek.
 
829
 
 
830
0.93a (2001-nov-21)
 
831
-------------------
 
832
Implemented the sh (shaded fill) operator for the axial shading type.
 
833
Minor fixes to avoid compiler warnings.
 
834
Cleaned up global variables -- moved many into instance vars and
 
835
  function args.
 
836
Minor fixes for OS/2.
 
837
Fix the system config file path for VMS.
 
838
Fix an uninitialized var in XOutputDev that caused crashes on Alphas.
 
839
Don't incrementally update the display in full-screen mode.
 
840
For Type 1/1C fonts, use the FontBBox from the PDF FontDescriptor
 
841
  (instead of the one in the font file) if present -- this avoids
 
842
  problems with fonts that have non-standard FontMatrixes.
 
843
Add the Euro character to WinAnsiEncoding.
 
844
Track the bounding box of the clip region to make rendering patterns
 
845
  more efficient.
 
846
Fix openTempFile() for Win32.
 
847
 
 
848
0.93b (2001-dec-11)
 
849
-------------------
 
850
Added a duplex option to PSOutputDev and a -duplex switch to pdftops.
 
851
Added XRef::PDFgetDocInfoNF() for pdftex project.
 
852
Updated the VMS build script.
 
853
 
 
854
0.93c (2001-dec-12)
 
855
-------------------
 
856
Completely rewrote the code that handles font encodings:
 
857
  - everything is Unicode-based
 
858
  - 16-bit fonts are handled much more cleanly
 
859
  - text output encoding can be set more flexibly
 
860
New .xpdfrc config files.
 
861
 
 
862
1.00 (2002-feb-01)
 
863
------------------
 
864
More work on the font encoding rewrite:
 
865
  - use the ToUnicode font dict entry
 
866
  - pdfinfo and pdftotext (with '-htmlmeta') convert info strings to
 
867
    the selected text encoding
 
868
Added key bindings for forward ('v') and backward ('b').
 
869
Added the pdffonts program which lists the fonts used in a PDF file.
 
870
Fixed several problems in the TrueType font embedding code (for
 
871
  PostScript output).
 
872
Accept named destination on command line.
 
873
Added several new items to pdfinfo: file size, PDF version, tagged
 
874
  (yes or no), XML metadata (with the -meta option).
 
875
Pdftops didn't get the portrait/landscape setting correct for PDF
 
876
  files with rotated pages.
 
877
The TrueTypeFontFile class (including the Type 42 converter) now
 
878
  understands cmap format 6.
 
879
Improved the "about" window -- mention the GPL, add a list of key
 
880
  bindings.
 
881
Added Zcaron and zcaron characters to WinAnsiEncoding.
 
882
The '0' keyboard shortcut didn't update the zoom popup menu.
 
883
Handle the complete list of alternate names for the Base14 fonts.
 
884
Fixed substitute font scaling in XOutputDev - scale only the width,
 
885
  not the height.
 
886
Implemented stitching (type 3) functions.
 
887
Handle the case of moveto/closepath/clip, which defines an empty
 
888
  clipping region.
 
889
Move dependences into separate Makefile.dep files; get rid of the
 
890
  distdepend target.
 
891
Move all of the configure-script-generated -D options out of the
 
892
  Makefiles and into a top-level .h file (aconf.h).
 
893
Cleaned up the FreeType 1/2 detection code in the configure script.
 
894
Pdfinfo prints dates in a more readable format.
 
895
Fixed a bug in the Paeth image predictor.
 
896
Handle annotations with multiple states.
 
897
Another workaround for buggy X servers: clip points that are way out
 
898
  of bounds.
 
899
Added libpaper support (for Debian).
 
900
Generate PostScript DSC resource comments for PS (not just EPS)
 
901
  files.
 
902
The save and restore (q/Q) operators shouldn't save/restore the path.
 
903
Performance optimization: disable pattern drawing in TextOutputDev.
 
904
 
 
905
1.00a (2002-feb-25)
 
906
-------------------
 
907
Added an optimized special case for one-bit images in XOutputDev.
 
908
Implemented CID TrueType font embedding; added a psEmbedCIDTrueType
 
909
  option.
 
910
The initialZoom X resource was broken.
 
911
The reverse MacRoman encoding should return 32 for "space" (not 202,
 
912
  which is an alternate encoding).
 
913
Tweaks to the FreeType 2 support: only disable hinting if the bytecode
 
914
  interpreter is disabled (i.e., disable autohinting but not bytecode
 
915
  hinting); add some padding to the glyph cache for CJK fonts.
 
916
Added level3 and level3Sep options for the psLevel setting and
 
917
  corresponding -level3 and -level3Sep options to pdftops.
 
918
Added a -level2 option to pdftops for consistency.
 
919
Avoid a divide by zero in pdftotext.  [Thanks to William Bader.]
 
920
Added a Greek language support package.  [Thanks to Alexandros
 
921
  Diamantidis and Maria Adaloglou.]
 
922
Don't bother trying to extract a "builtin" encoding from a TrueType
 
923
  font.
 
924
Accept either a page number or a page reference in a link
 
925
  destination.
 
926
Update the fontFixedWidth flag in GfxFont after reading the char
 
927
  widths (used by the Acorn RiscOS port).
 
928
Removed yet another (illegal but not caught by gcc) class specified
 
929
  from a .h file.
 
930
Avoid using snprintf - it's not available everywhere.
 
931
Improved the CMYK->RGB transform.
 
932
Use mkstemps where available.
 
933
 
 
934
1.01 (2002-may-20)
 
935
------------------
 
936
Implemented Type 3 fonts.
 
937
Implemented PostScript CID font embedding; added a
 
938
  psEmbedCIDPostScriptFonts option.
 
939
Implemented PostScript 16-bit font substitution; added psNamedFont16
 
940
  and psFont16 options.
 
941
Moved the initialZoom setting from X resources to the xpdfrc file.
 
942
Implemented the radial shading type in the sh (shaded fill) operator.
 
943
  [Thanks to Mike Sweet.]
 
944
Added an 'include' command to the xpdfrc format.
 
945
Added the displayNamedCIDFontX option so different fonts can be used
 
946
  within one character collection.
 
947
Added a simple reverse video mode (-rv switch, xpdf.reverseVideo
 
948
  resource).
 
949
Implemented stroked text in XOutputDev (with t1lib and FreeType2).
 
950
  [Thanks to Leonard Rosenthol.]
 
951
Implemented stroked text in PSOutputDev.
 
952
Added a built-in Unicode map for UCS-2.
 
953
New key binding in xpdf: 'g' activates the page number text field.
 
954
PSOutputDev will now embed external TrueType fonts in addition to
 
955
  external Type 1 fonts.
 
956
The psEmbedType1Fonts and psEmbedTrueTypeFonts options were missing
 
957
  the "Fonts" suffix.
 
958
Documentation in xpdf.1 for -freetype option was wrong.
 
959
Added the Big5ascii Unicode map to the Chinese-traditional support
 
960
  package (maps 7-bit ASCII straight through).  [Thanks to Lawrence
 
961
  Lai.]
 
962
Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight
 
963
  through.  [Thanks to Lawrence Lai.]
 
964
Avoid a divide by zero in XOutputDev.  [Thanks to Simon Burge.]
 
965
Remove old code in openTempFile that removed an extension from the
 
966
  name returned by tmpnam.
 
967
Tweak the scrolling behavior when switching pages.  [Thanks to Case
 
968
  Jones.]
 
969
In the code that guesses character names (for font subsets), also
 
970
  handle names of the form 'ABnnn'.  [Thanks to Colin Granville.]
 
971
Fix the transform code for annotations.
 
972
Improved the CMap file parser to handle more general PostScript
 
973
  lexical conventions.
 
974
Added '-enc' option to pdfinfo.
 
975
Added the small caps and oldstyle numbers from Adobe's Unicode
 
976
  corporate use area to the Latin1 and ASCII7 Unicode maps.
 
977
The code in TextOutputDev that guesses Type 3 font size could generate
 
978
  a zero size, which resulted in div-by-zero errors.
 
979
Various tools (including Adobe's) occasionally embed Type 1 fonts but
 
980
  label them Type 1C - so check for a '%!' at the start.
 
981
Some tools embed Type 1C fonts with an extra whitespace char at the
 
982
  beginning - just skip over it.
 
983
Fixed a typo in the Simplified Chinese add-to-xpdfrc file.
 
984
Updates to dj_make.bat and the djgpp build instructions.
 
985
Added a Turkish language support package.
 
986
Updated VMS build scripts.  [Thanks to Martin Zinser.]
 
987
Modify the incremental display update code to redraw less often if
 
988
  most of the commands are vector graphics, as opposed to text and
 
989
  images.
 
990
Tweak the Type 1 font bbox code to look at the bboxes in both the PDF
 
991
  font object and the embedded font file.
 
992
Fixed the ETenms-B5-H CMap file (for traditional Chinese) to map the
 
993
  Latin characters to their proportional versions.
 
994
Added an optional displayCIDFontX entry for one of the Arphic TrueType
 
995
  fonts in the traditional Chinese 'add-to-xpdfrc' file.
 
996
Remove leading '-' on include statements in Makefiles.
 
997
Added psASCIIHex parameter.
 
998
Added the GBK Unicode map to the simplified Chinese language pack.
 
999
Pdftotext now opens the text file in binary mode to avoid Microsoft's
 
1000
  annoying automatic end-of-line translation stuff.
 
1001
Added an executeCommand function in goo/gfile.cc.  [Thanks to Mikhail
 
1002
  Kruk.]
 
1003
The %ALDImagePosition OPI comment was wrong if the page was scaled to
 
1004
  a different paper size.
 
1005
The OPI code was saving the default transform matrix before calling
 
1006
  setpagedevice, which can change the matrix.
 
1007
Fixed a crash when an inline image dictionary contains garbage.
 
1008
Upgraded to autoconf 2.53.
 
1009
Use unsigned int file offsets, to allow access to PDF files in the 2-4
 
1010
  GB size range; use fseek64/ftell64 if available.
 
1011
Fixed two floating point exception cases that came up with broken PDF
 
1012
  files.
 
1013
Avoid a crash when printing an error message regarding an unnamed
 
1014
  font.
 
1015
Default link border width should be 1.  [Thanks to Michael Pfeiffer.]
 
1016
Minor tweak to build with FreeType 2.1.0.
 
1017
Handle "weird" characters in PostScript font names.
 
1018
PSOutputDev now handles PostScript XObjects.
 
1019
Added several more page attributes for the pdftex project.
 
1020
Transferred the copyright to Glyph & Cog, LLC.
 
1021
 
 
1022
2.00 (2002-nov-04)
 
1023
------------------
 
1024
Switched to the Motif toolkit.
 
1025
Support multiple open documents (in separate windows).
 
1026
Added document outlines to the viewer.
 
1027
Modified the text extraction (placement) algorithm.
 
1028
Implemented the JBIG2 decoder.
 
1029
Added a Latin2 language support package.
 
1030
Added support for movie annotations.
 
1031
Switched back to native LZW decompression code.
 
1032
Text extraction from Type 3 fonts was (partly) broken.
 
1033
The owner password checking code was missing a step in the case of
 
1034
  128-bit encryption.
 
1035
Added the 'printCommands' option to the xpdfrc file.
 
1036
Added key binding for '?' to bring up the about/help dialog.
 
1037
In TextOutputDev, ignore any text that's outside the page bounding
 
1038
  box.
 
1039
Text extraction throws away "tiny" characters after the first 20000
 
1040
  per page, to avoid really slow runtimes with PDF files that use
 
1041
  special fonts to do shading or cross-hatching; added the
 
1042
  'textKeepTinyChars' option to disable this behavior.
 
1043
Text extraction discards duplicated text (fake boldface, shadow
 
1044
  effects).
 
1045
Added ctrl-F as a key binding for find.
 
1046
Added a "find next" function, bound to ctrl-G.
 
1047
Added ctrl-P as a key binding for print.
 
1048
Modified the DCT decoder to handle progressive and non-interleaved
 
1049
  JPEG streams.
 
1050
Added key bindings for ctrl-Home and ctrl-End.
 
1051
Allow the initialZoom setting to be made in either the xpdfrc file or
 
1052
  as an X resource.
 
1053
Added a Hebrew language support package.  [Thanks to Roy Arav.]
 
1054
The "make distclean" target now creates (empty) Makefile.dep files in
 
1055
  the three subdirectories.
 
1056
Initialize XRef::ownerPasswordOk.
 
1057
Correctly handle stroking of Type 3 fonts in PSOutputDev.
 
1058
Generate correct PostScript for fonts with "weird" character names
 
1059
  (e.g., "(").
 
1060
Generate correct PostScript for images using Indexed color spaces with
 
1061
  DeviceN base color spaces.
 
1062
Added lowercase Roman numerals to ISO-2022-CN.unicodeMap (simplified
 
1063
  Chinese support package).
 
1064
Tweak the image scaling code to better handle flipped (top-bottom
 
1065
  and/or left-right) images.
 
1066
Generate correct PostScript code for inline images and images in Type
 
1067
  3 fonts which are too large for a single PS string.
 
1068
Correctly handle indexed color spaces whose base color spaces have
 
1069
  component ranges other than [0,1].
 
1070
Optimized the DCT decoder.
 
1071
Fixed mistakes in the list of key bindings in the about/help dialog.
 
1072
Optimized the Flate decoder.
 
1073
Add literal names for punctuation and digits to the Unicode name
 
1074
  table.
 
1075
Cygwin's popen wants mode "r", not "rb".
 
1076
Fixed a bug in the Type 4 function parser (the "if" operator wasn't
 
1077
  parsed correctly).
 
1078
Fix a bug in PS output for TrueType fonts with no PDF encoding.
 
1079
Make the bbox size in FTFont more liberal (to avoid problems with
 
1080
  fonts that have incorrect bboxes).
 
1081
Reverse the colors in PBM files generated by pdfimages, so the common
 
1082
  case (an image mask filled with black) comes out correct.
 
1083
Add fseeko/ftello support which is basically identical to
 
1084
  fseek64/ftell64.  [Thanks to Nassib Nassar.]
 
1085
Modified column assignment in text extractor to account for characters
 
1086
  that convert to multiple characters in the output encoding.
 
1087
Fix TrueType fonts which have an incorrect cmap table length.
 
1088
Work around a pragma bug in the version of gcc that ships with MacOS X
 
1089
  10.2.  [Thanks to Frank Siegert and Andrew Stone.]
 
1090
Fix a problem that was causing an infinite loop when a damaged content
 
1091
  stream contains an 'ID' command inside a dictionary.
 
1092
Handle the case where systempapername() returns NULL (libpaper
 
1093
  support).
 
1094
Handle fonts which are defined directly in the font resource
 
1095
  dictionary rather than as separate objects.
 
1096
Track process colors in Level 1 separable PostScript.
 
1097
Pdfinfo now checks the return value from mktime to avoid seg faults in
 
1098
  flakey strftime implementations.
 
1099
If duplex is not enabled in PostScript output, leave the duplex
 
1100
  setting alone, allowing the spooler to insert its own setting.
 
1101
Added three missing fclose calls.
 
1102
Change the default encoding for TrueType fonts (used when the PDF file
 
1103
  doesn't specify an encoding) from MacRomanEncoding to
 
1104
  WinAnsiEncoding.
 
1105
Move X_CFLAGS to the end of the list in CXXFLAGS (in Makefile.in) to
 
1106
  avoid some of the FreeType2 include path problems.
 
1107
Fixed an obscure bug in the LZW decoder.  [Thanks to Martin
 
1108
  Schroeder.]
 
1109
Fixed a bug in decryption when using the newer (PDF 1.4) algorithm
 
1110
  with shorter-than-128-bit keys.
 
1111
Minor optimization for image data streams: the ImageStream class can
 
1112
  return an entire buffered line.