home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / gs333ini / gs3.33 / news. < prev    next >
Text File  |  1995-12-09  |  118KB  |  3,181 lines

  1.    Copyright (C) 1989, 1995 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, NEWS, describes the changes in the most recent releases of
  21. Ghostscript.  Changes in older releases are described in history.doc.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.
  25.  
  26. Within each release, news appears in the following order: Documentation,
  27. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  28. (included under Interpreter through release 2.9.9), Library.  Changes
  29. marked with a * were made available as patches to a previous release.
  30.  
  31. Version 3.33 (4/13/95)
  32. ============
  33.  
  34. A few more last-minute bug fixes.  This is, finally, the first public
  35. release since 3.12.
  36.  
  37. Documentation
  38. -------------
  39.  
  40. Fixes bugs:
  41.     - There was a reference to "VAX with OSF/1", which doesn't exist,
  42. and an incorrect reference to VAX with Ultrix.  (make.doc)
  43.     - The Unix makefiles incorrectly stated that gsdatadir was only
  44. relevant to `make install'.  (ansihead.mak, cc-head.mak, dgc-head.mak,
  45. gcc-head.mak)
  46.     - Notes that DV/X users should use the zip version of the JPEG
  47. library.  (jpeg.mak)
  48.  
  49. Procedures
  50. ----------
  51.  
  52. Fixes bugs:
  53.     - A command line had gotten too long for the MS-DOS shell.
  54. (gs.mak)
  55.     - The VMS DEC C script didn't explicitly select DEC C.
  56. (vms-decc.mak)
  57.     - The VMS MODULES.LIS omitted SPDIFF and ZFPDIFF.  (modules.lis)
  58.     - The VMS script had an incorrect entry.  (vms.mak)
  59.     - The `if' fix in 3.31 broke some Unix systems with different
  60. implementations of sh.  (unix-end.mak)
  61.     - The makefile definition of gscspace_h was out of order.  (gs.mak)
  62.     - An extra ; got written in gconfig_.h on DV/X platforms.
  63. (dvx-tail.mak)
  64.     - '.' was incorrectly prepended to the library search list on DV/X
  65. platforms.  (dgc-head.mak)
  66.     - The build rules for unix*.mak didn't work on DV/X.  (unix-end.mak)
  67.  
  68. Adds a description of the -c quit switch to the help message.  (gs.c)
  69.  
  70. For the DV/X platform, changes /usr/include to /djgpp/include as the place
  71. to look for header files.  I'm not sure this is always correct.
  72. (dvx-tail.mak)
  73.  
  74. Utilities
  75. ---------
  76.  
  77. Fixes bugs:
  78.     - ps2ascii would cause an error if given a font that didn't have an
  79. 'X' character.  (ps2ascii.ps)
  80.     - ps2ascii didn't intercept the Level 2 string display operators.
  81. (ps2ascii.ps)
  82.  
  83. Drivers
  84. -------
  85.  
  86. Fixes bugs:
  87.     - The Stylus Color driver had an incorrect type name.  (gdevstc.c)
  88.  
  89. Platforms
  90. ---------
  91.  
  92. Fixes bugs:
  93.     - -dBitsPerPixel= didn't work properly for MS Windows or OS/2 PM.
  94. (gdevmswn.c, gdevpm.c)
  95.     - The Win32 platform didn't compile properly.  (memory_.h)
  96.  
  97. Fonts
  98. -----
  99.  
  100. Improves the font substitution algorithm to take the face name into account
  101. in more cases.  (gs_fonts.ps)
  102.  
  103. Library
  104. -------
  105.  
  106. Fixes bugs:
  107.     - Unrotated black-and-white bitmaps with an inverted device X axis
  108. were displaced in X.  (gsimage1.c)
  109.  
  110. Version 3.32 (4/7/95)
  111. ============
  112.  
  113. More bug fixes.  This is still not a public release.
  114.  
  115. Documentation
  116. -------------
  117.  
  118. Further clarifies the "two-phase commit" algorithm for device put_params
  119. procedures.  (drivers.doc, gsparam.h)
  120.  
  121. Adds a note about a compiler bug under Ultrix 4.4.  (make.doc)
  122.  
  123. Procedures
  124. ----------
  125.  
  126. Fixes bugs:
  127.     - Some installation scripts could fail because some implementations
  128. of sh take the status of an `if' condition as the status of the `if'
  129. command.  (unix-end.mak)
  130.  
  131. Adds "maintainer-clean" as a synonym for "real-clean".  (gs.mak)
  132.  
  133. Adds a -dORIENT1 switch that defines orientation = 1 as portrait for
  134. setpage[params].  (use.doc, gs_init.ps, gs_lev2.ps, gs_statd.ps)
  135.  
  136. Utilities
  137. ---------
  138.  
  139. Fixes bugs:
  140.     - ps2ascii didn't redirect %stdout completely.  (ps2ascii.ps)
  141.     - ps2ascii didn't preserve the local/global VM mode.  (ps2ascii.ps)
  142.     - ps2ascii didn't handle fonts with an all-zero or missing bounding
  143. box correctly.  (ps2ascii.ps)
  144.     - viewpbm didn't scale the image properly.  (viewpbm.ps)
  145.  
  146. Drivers
  147. -------
  148.  
  149. Fixes bugs:
  150.     - The CGM driver wrote out an incorrect color precision value.
  151. (gdevcgm.c)
  152.     - The SGI bitmap driver was named "sgi" rather than "sgirgb".
  153. (gdevsgi.c)
  154.     - The PCX driver didn't round up an odd line length for gray-scale
  155. output.  (gdevpcx.c)
  156.     - The PCX driver produced incorrect output for gray-scale or 4- or
  157. 8-bit color.  (gdevpcx.c)
  158.  
  159. Platforms
  160. ---------
  161.  
  162. Fixes bugs:
  163.     - The VMS MODULES.LIS file had gotten out of sync with the Unix
  164. makefiles (again).  (modules.lis)
  165.  
  166. Interpreter
  167. -----------
  168.  
  169. Fixes bugs:
  170.     - Some compilers won't accept '\l', even in the false arm of a
  171. preprocessor conditional.  (scanchar.h)
  172.     - A procedure was declared with an incorrect argument type.
  173. (zcsindex.c)
  174.     - The scaled font cache didn't copy XUIDs properly.  (bfont.h,
  175. zfont.c, zfont2.c)
  176.  
  177. Streams
  178. -------
  179.  
  180. Fixes bugs:
  181.     - The LZW filters were factored improperly.  (modules.lis, gs.mak,
  182. vms.mak, slzwx.h, slzwc.c, slzwd.c)
  183.  
  184. Changes the DCTDecode filter for compatibility with Adobe implementations:
  185.     - Ignore bytes preceding the 0xff that marks the beginning of the
  186. JPEG data.  (sdctd.c)
  187.     - Set MAX_BLOCKS_IN_MCU to 64.  (jpeg.mak, gsjpglib.h)
  188.  
  189. Library
  190. -------
  191.  
  192. Fixes bugs:
  193.     - The "two-phase commit" for device parameters wasn't fully
  194. implemented.  (gsiodev.c)
  195.     - Asking for a device color map before the device was opened could
  196. cause a crash.  (gsdparam.c)
  197.     - The scaled font cache didn't copy XUIDs properly.  (gxfont.h,
  198. gsfont.c)
  199.     - 90 or 270 degree rotated black-and-white bitmaps (including
  200. bitmapped fonts such as downloaded TrueType fonts) with an inverted device Y
  201. axis were displaced in Y.  (gsimage1.c)
  202.     - On high-resolution devices, parts of regions filled with halftones
  203. could fail to be painted.  (gxclist.c)
  204.  
  205. Version 3.31 (4/2/95)
  206. ============
  207.  
  208. A few final bug fixes for the release.  Includes significant speed
  209. improvements for CIE color, and a first draft of a low-level CGM driver.
  210.  
  211. Documentation
  212. -------------
  213.  
  214. Notes that the BJC600 driver also works for the BJC4000.  (devs.mak)
  215.  
  216. Procedures
  217. ----------
  218.  
  219. At the suggestion of a user, changes the default protections for installed
  220. files on Unix and DV/X systems from 775/664 to 755/644.  (*head.mak)
  221.  
  222. At the suggestion of a user, adds a -dNOCIE switch to substitute DeviceGray
  223. and DeviceRGB color spaces for CIEBasedA and CIEBasedABC spaces
  224. respectively.  (gs_init.ps, gs_lev2.ps)
  225.  
  226. Utilities
  227. ---------
  228.  
  229. Changes gslp and its relatives to use ISOLatin1Encoding for output, and to
  230. send almost all printout to stderr rather than stdout (for use as a filter
  231. under Unix).  (gslp.ps)
  232.  
  233. Drivers
  234. -------
  235.  
  236. Fixes bugs:
  237.     - The fax/TIFF driver no longer exported gdev_fax_print_page, which
  238. the DigiFax driver needs.  (gdevtfax.c)
  239.     - The color DeskJet drivers gave an error for BitsPerPixel=3.
  240. (gdevcdj.c)
  241.     - The "Windows printer" driver was setting its margins in points
  242. rather than inches.  (gdevwprn.c)
  243.     - The BJ10 and BJ200 drivers calculated vertical skip distances
  244. wrong.  (gdevbj10.c)
  245.     - The BJ10 and BJ200 drivers output two garbage bytes following the
  246. initialization string.  (gdevbj10.c)
  247.  
  248. Adds a preliminary driver that produces low-level CGM output.  (gdevcgml.h,
  249. gdevcgmx.h, gdevcgm.c, gdevcgml.c)
  250.  
  251. Platforms
  252. ---------
  253.  
  254. Fixes bugs:
  255.     - The VMS files had gotten out of sync with the other makefiles
  256. (again).  (modules.lis, vms.mak)
  257.     - The MS Windows and OS/2-PM drivers hadn't been updated to handle
  258. BitsPerPixel as a standard parameter.  (gdevmswn.c, gdevpm.c)
  259.  
  260. Removes the TIFF drivers from the Windows platform, and restores the BMP
  261. drivers.  (bcwin.mak)
  262.  
  263. Interpreter
  264. -----------
  265.  
  266. Fixes bugs:
  267.     - The CIE color mapping cache could produce anomalous results
  268. for the default (all zero values) color if some of the mapping
  269. functions were non-linear.  (zcie.c)
  270.     - MultiMaster font substitution got confused if substituted
  271. fonts had their FontName changed.  (gs_fonts.ps)
  272.     - A procedure was declared as private inconsistently.  (zdevcal.c)
  273.     - Some pointer relocation procedures didn't work correctly on
  274. systems with sizeof(T *) > sizeof(int).  (istack.c)
  275.     - The freelist vector wasn't large enough to handle graphics state
  276. objects on 64-bit systems, leading to severe memory sandbars.  (iastate.h)
  277.     - The debugging messages from the allocator had gotten inconsistent
  278. and hard to use.  (ialloc.c)
  279.     - Mixing save/restore with allocation could cause the GC never to
  280. get run.  (isave.c)
  281.  
  282. Speeds up the mapping of CIE colors.  (zcie.c)
  283.  
  284. Adds a .namestring operator for getting the string of a name without having
  285. to copy it.  (zstring.c)
  286.  
  287. Streams
  288. -------
  289.  
  290. Fixes bugs:
  291.     - The IJG code needed a couple more flags set for IJG v6.
  292. (gsjmorec.h)
  293.     - Some pointer relocation procedures didn't work correctly on
  294. systems with sizeof(T *) > sizeof(int).  (stream.c)
  295.  
  296. Library
  297. -------
  298.  
  299. Fixes bugs:
  300.     - The end-test for the fast case of monobit images was wrong,
  301. leading to out-of-range memory accesses.  (gsimage1.c)
  302.     - Monobit images rotated by 270 degrees displayed incorrectly.
  303. (gsimage1.c)
  304.     - If a Type 1 font used hint replacement, some parts of the outline
  305. before the hint replacement ignored the old hints.  (gstype1.c)
  306.     - Some compilers didn't accept a variable name that was the same as
  307. a macro with parameters.  (gxht.c)
  308.     - A procedure was declared as private inconsistently.  (gdevm1.c)
  309.     - Some pointer relocation procedures didn't work correctly on
  310. systems with sizeof(T *) > sizeof(int).  (gdevmem.c, gsstate.c)
  311.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  This bug was
  312. supposed to have been fixed in 3.30, but somehow the fix got lost.
  313. (gstype1.c)
  314.     - 90 degree rotated monobit images could drop some scan lines.
  315. (gsimage*.c)
  316.  
  317. Speeds up the mapping of CIE colors.  (gscie.h, gxcmap.h, gscie.c, gxcmap.c)
  318.  
  319. Speeds up color images (non-interpolated, 1-8 bits per component) by adding
  320. a cache for mapped color values.  (gximage.h, gsimage.c, gsimage1.c,
  321. gsimage2.c)
  322.  
  323. Shrinks the band list file slightly by using only as many bytes as necessary
  324. for writing out colors, rather than always using 4 bytes.  (gxclist.c,
  325. gxclread.c)
  326.  
  327. Version 3.30(beta) (3/21/95)
  328. ==================
  329.  
  330. More bug fixes.  The garbage collector and PDF interpreter finally appear to
  331. work reliably.
  332.  
  333. Documentation
  334. -------------
  335.  
  336. Fixes bugs:
  337.     - language.doc had gotten out of date.  (language.doc)
  338.  
  339. Utilities
  340. ---------
  341.  
  342. Fixes bugs:
  343.     - Changes in the handling of %stdout had broken ps2ascii.
  344. (gs_dps1.ps, ps2ascii.ps)
  345.  
  346. Improves ps2ascii to skip empty strings and not output redundant font
  347. changes.  (ps2ascii.ps)
  348.  
  349. Drivers
  350. -------
  351.  
  352. Fixes bugs:
  353.     - The fax and TIFF drivers didn't free all their working storage.
  354. (This bug was fixed in 3.27, and the fix somehow got lost.)  (gdevtfax.c)
  355.  
  356. Adds new drivers:
  357.     - sgirgb, to produce SGI RGB raster files.  (gdevsgi.c)
  358.     - tiffcrle, to produce output in TIFF "CCITT 1-dimensional Huffman
  359. RLE" format (Group 3 fax with no EOLs). (gdevtfax.c)
  360.     - tifflzw, to produce output in TIFF LZW format (using the existing
  361. CCITTFaxEncode filter code). (gdevtfax.c)
  362.     - tiffpack, to produce output in TIFF PackBits format. (gdevtfax.c)
  363.  
  364. Interpreter (PostScript)
  365. ------------------------
  366.  
  367. Fixes bugs:
  368.     - If the current screen was set with a halftone, setcolorscreen
  369. wouldn't accept what currentcolorscreen returned.  (gs_dps1.ps)
  370.     - debug_print_full_ref didn't print t_oparray objects correctly.
  371. (idebug.c)
  372.     - The internal data for a font could be allocated in a different VM
  373. space from the font dictionary, causing dangling pointers.  (zfont2.c)
  374.     - definefont became confused if a program failed to delete the FID
  375. from a re-encoded font.  (This is questionable PostScript, but dvips does
  376. it.)  (zfont2.c)
  377.     - If a BuildChar procedure did a save before the setcachedevice and
  378. a restore afterwards, the memory manager would attempt to free the cache
  379. device after it had already been freed by the restore, leading to damaged
  380. freelists.  (gschar.c)
  381.     - setresolution (in statusdict) was ignored.  (gs_lev2.ps,
  382. gs_statd.ps)
  383.     - If a string containing a string containing a \ was passed to the
  384. token operator, the \ was not recognized properly in a Level 2 environment.
  385. (iscan.c)
  386.     - A couple of default dictionary sizes had become too small.
  387. (iinit.c)
  388.  
  389. Makes DOS EOF (control-Z, 0x1a) a self-delimiting token, like left bracket.
  390. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  391. effects.  (gs_init.ps, iscan.c, iscantab.c)
  392.  
  393. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  394. -Z. switch to force small-memory table sizes regardless of actual memory
  395. size.  (dstack.h, idict.c, zpcolor.c, zvmem2.c)
  396.  
  397. Interpreter (PDF)
  398. -----------------
  399.  
  400. Fixes bugs:
  401.     - A page with no Contents caused an error.  (pdf_main.ps)
  402.     - Executing a Form resource caused an error.  (pdf_draw.ps)
  403.     - Outlines with open entries caused an error.  (pdf_main.ps)
  404.     - Embedded Type 3 fonts caused an error.  (pdf_draw.ps, pdf_font.ps)
  405.     - The Widths array of fonts was ignored.  (pdf_font.ps)
  406.  
  407. Library
  408. -------
  409.  
  410. Fixes bugs:
  411.     - Freeing an entry in the pattern cache didn't clear the pointers to
  412. the raster data, producing a dangling reference that confused the garbage
  413. collector.  (gxpcmap.c)
  414.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  (gstype1.c)
  415.     - The pattern cache bookkeeping was incorrect.  (gxpcmap.c)
  416.     - Depending on the order in which pointers were relocated, the
  417. garbage collector could incorrectly relocate pointers from the character
  418. cache.  (gxfcache.h, gsfont.c, gxccache.c, gxccman.c)
  419.  
  420. Changes the fast case of black-and-white images so it aligns scaled images
  421. with the device coordinate system, to improve performance.  (gsimage1.c)
  422.  
  423. Extends the coordinate transformation routines to handle absurdly large
  424. translation values in the CTM as long as the final device device coordinates
  425. are within fixed-point range.  (gxmatrix.h, gxpath.h, gschar.c, gscoord.c,
  426. gsmatrix.c, gxhint2.c, gxpath2.c)
  427.  
  428. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  429. -Z. switch to force small-memory table sizes regardless of actual memory
  430. size.  (gdevprn.h, gxpcolor.h, gzht.h, std.h, gsfont.c, gsht1.c, gspaint.c,
  431. gsstate.c, gxcht.c, gxht.c, gxpcmap.c)
  432.  
  433. Version 3.29(internal) (3/8/95)
  434. ======================
  435.  
  436. Another bug-fix release.  This release processes all but 7 of the 500+ files
  437. on the Adobe Acrobat Sampler CD-ROM without giving an error.  The garbage
  438. collector finally appears to be stable.  This version was created for a
  439. customer; it was not released to the general public or even to the beta test
  440. list.
  441.  
  442. Documentation
  443. -------------
  444.  
  445. Documents the possible need to set LD_RUN_PATH on SVR4 platforms.
  446. (make.doc)
  447.  
  448. Expands the description of the device life cycle, and of the constraints on
  449. put_params procedures.  (drivers.doc)
  450.  
  451. Adds an explicit copyright notice to the Aladdin Ghostscript Free Public
  452. License.  (PUBLIC)
  453.  
  454. Clarifies that the Win32s documentation also applies to Windows NT.
  455. (make.doc)
  456.  
  457. Procedures
  458. ----------
  459.  
  460. Removes the obsolete writeppmfile operator from the standard configurations.
  461. (gs.mak)
  462.  
  463. Changes the Watcom makefiles to work properly with Watcom C/C++ 10.0.
  464. (make.doc, msc.mak, watc.mak, watcwin.mak, wccommon.mak)
  465.  
  466. Utilities
  467. ---------
  468.  
  469. Adds a wftopfa utility for converting the Wadalab fonts to usable Type 0 and
  470. Type 1 form.  (wftopfa)
  471.  
  472. Fonts
  473. -----
  474.  
  475. Fixes bugs:
  476.     - Entries added automatically by definefont (FontInfo, ExactSize)
  477. could cause a font dictionary to become full.  (gs_fonts.ps, gs_type1.ps)
  478.     - wrfont.ps couldn't deal with very long CharStrings.  (wrfont.ps)
  479.  
  480. Makes the name of the Fontmap file an easily editable parameter.
  481. (gs_fonts.ps)
  482.  
  483. Adds a utility for converting the Wadalab font to usable Type 0 and Type 1
  484. form.  (wrfont.ps, wftopfa.ps)
  485.  
  486. Drivers
  487. -------
  488.  
  489. Fixes bugs:
  490.     - The top margin for printer (and fax) devices was computed
  491. incorrectly, using the X resolution rather than the Y resolution.
  492. (gdevprn.h)
  493.     - Changing the page size or resolution of a printer device closed
  494. and reopened the device unnecessarily.  (gdevprn.c)
  495.     - Changing the page size of the X11 device didn't change the initial
  496. matrix, so (0,0) didn't wind up in the lower left corner.  (gdevx.c)
  497.     - The bit devices didn't allow changing the number of bits per
  498. pixel.  (gdevbit.c)
  499.  
  500. Adds a settable .IsPageDevice boolean device parameter to the X Windows
  501. driver.  The default value is true.  (gdevx.h, gdevx.c)
  502.  
  503. Changes the PPM driver so that it chooses between PBM/PGM/PPM on a
  504. page-by-page basis, rather retaining the most general format ever required
  505. by any page.  (gdevpbm.c)
  506.  
  507. Interpreter (PostScript)
  508. ------------------------
  509.  
  510. Fixes bugs:
  511.     - The current page device could be null, rather than an empty
  512. dictionary.  (igstate.h, zchar.c, zdevice.c, zdevice2.c, zgstate.c)
  513.     - The scanner didn't signal an error for names or strings that were
  514. too long.  (iscan.c)
  515.     - A missing header file upset the VAX compilers.  (ztype.c)
  516.     - Some places expecting dictionary operands didn't check the type,
  517. because they incorrectly assumed that the dict_check_read/write macro did
  518. this.  (idict.h, zdevice2.c, zht2.c, zmisc2.c)
  519.     - The definition of quit in systemdict wasn't disabled within
  520. encapsulated jobs.  (gs_lev2.ps)
  521.     - resetfile gave an error if the file was closed, rather than doing
  522. nothing.  (zfileio.c)
  523.     - The scanner attempted to free an uninitialized pointer if it
  524. reached EOF after a / or //.  (iscan.c)
  525.     - A restore in a different file than the corresponding save caused
  526. an invalidrestore error.  (gs_init.ps)
  527.     - The default value of EndOfData in RunLengthDecode streams was set
  528. to false.  (zfilter.c)
  529.     - .registerencoding didn't invoke the save machinery correctly,
  530. leading to GC problems.  (zfont2.c)
  531.     - The facility for overriding .printerror didn't work correctly.
  532. (gs_init.ps)
  533.     - gs_run_file_open wasn't public.  (gsmain.c)
  534.     - The interpreter returned e_undefined for undefined error names,
  535. rather than the error code.  (interp.c)
  536.     - Allocation in system memory (specifically, adding a block to a
  537. stack) couldn't trigger automatic garbage collection.  (interp.c, igc.c,
  538. zvmem2.c)
  539.     - A restore in a different invocation of gs_run_string than the
  540. corresponding save would stop reading the string.  (files.h, gsmain.c,
  541. iccinit.c, zfile.c)
  542.     - The Type 1 rasterizer state included a pointer into the middle of
  543. an object, confusing the garbage collector.  (zchar1.c, zfont1.c)
  544.     - When the garbage collector deleted a name, it didn't zero out the
  545. string pointer.  (iname.c)
  546.     - On platforms where obj_align_mod > 4, the memory manager could
  547. access 1 beyond the end of its freelists.  (iastate.h)
  548.     - makefont and scalefont didn't check the type of their font operand
  549. soon enough.  (zfont.c)
  550.     - restore didn't finalize the objects it freed.  (isave.c)
  551.     - restore didn't free system VM.  (isave.c)
  552.     - Freeing a ref array that occupied an entire chunk didn't free the
  553. chunk.  (ialloc.c)
  554.  
  555. Adds a .runexec operator which implements the 'close if error' function of
  556. run.  (zfile.c, zfileio.c)
  557.  
  558. Moves the obsolete writeppmfile operator into a separate file.  (zfileio.c,
  559. zwppm.c)
  560.  
  561. Makes the statistics returned by the memory manager more accurate.
  562. (ialloc.c, zvmem.c)
  563.  
  564. Adds a (read-only) %Calendar% IODevice.  (zdevcal.c)
  565.  
  566. Adds a "hook" in the character operators to allow external code to
  567. intervene; this is needed for a customer.  (ichar.h, zchar.c, zchar2.c)
  568.  
  569. Makes control-D (0x04) a self-delimiting token, like left bracket.  THIS IS
  570. A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  571. effects.  (scanchar.h, iscan.c, iscantab.c)
  572.  
  573. Changes the error stack printout so that it puts line breaks between items
  574. iff the items are being printed with ==.  (gs_init.ps)
  575.  
  576. Uses finalization to close streams being freed.  (igc.c, zfile.c, ziodev.c)
  577.  
  578. Interpreter (PDF)
  579. -----------------
  580.  
  581. Fixes bugs:
  582.     - Embedded Type 1 fonts that invoked save and restore while being
  583. read caused an error.  (pdf_font.ps)
  584.     - Large files that referenced a non-alphabetic font for the first
  585. time late in the file could cause an error.  (pdf_main.ps)
  586.  
  587. Streams
  588. -------
  589.  
  590. Fixes bugs:
  591.     - SubFileDecode streams didn't copy partial matches of the EOD
  592. string into their output.  (sfilter1.c)
  593.  
  594. Makes switching between read and write modes a stream procedure.  (stream.h,
  595. sfile.c, sfileno.c, stream.c, zfileio.c)
  596.  
  597. Makes file streams close themselves when finalized.  (We can't do this for
  598. other streams, because finalization procedures aren't allowed to free
  599. storage explicitly.)  (stream.h, sfile.c, sfileno.c, stream.c)
  600.  
  601. Library
  602. -------
  603.  
  604. Fixes bugs:
  605.     - The obsolete files gcdefs.h and gsfile.c were still included in
  606. the fileset.
  607.     - A number of places didn't deal with null patterns properly (p_tile
  608. == 0).  (gxdcolor.h, gspcolor.c, gxpcmap.c)
  609.     - The pattern tiling algorithm was numerically unstable, especially
  610. if the X/YStep vectors were close to the axes.  (gxcolor2.h, gspcolor.c,
  611. gxpcmap.c)
  612.     - setdeviceparams checked the values of read-only byte array
  613. parameters incorrectly.  (gsdparam.c)
  614.     - The statistics macros in gxfill.c didn't use DO_NOTHING when
  615. disabled.  (gxfill.c)
  616.     - Changing the orientation of a device closed and reopened the
  617. device unnecessarily.  (gsdparam.c)
  618.     - ioerrors occurring when writing command lists weren't reported
  619. properly.  (gxclist.h, gxclist.c)
  620.     - Errors from device procedures weren't always propagated up to
  621. clients.  (gsimage1.c, gsimage3.c, gxclip2.c, gxclist.c)
  622.     - Overflowing the fixed-point translation values in the CTM caused a
  623. floating point exception rather than a limitcheck.  (gxmatrix.h, gscoord.c)
  624.     - charpath set the current point correctly, but didn't append a
  625. moveto element to the path.  (This mostly affected Mathematica output.)
  626. (gzpath.h)
  627.     - Image devices mapped colors incorrectly.  (gdevmem.c, gdevm16.c)
  628.     - On devices with color capability but fewer than 4 bits per pixel,
  629. color halftones didn't work (and could cause an arithmetic exception).
  630. (gxdither.c)
  631.     - Black-on-white memory devices didn't map colors properly.
  632. (gdevprn.h, gxdevice.h, gxdevmem.h, gdevmem.c, gdevm1.c, gsdevice.c)
  633.     - Memory devices with a non-zero origin in their initial matrix
  634. clipped the image improperly.  (gsdevice.c)
  635.     - The Type 1 rasterizer state included a pointer into the middle of
  636. an object, confusing the garbage collector.  (gstype1.h, gxfont1.h,
  637. gxtype1.h, gstype1.c, gxhint2.c)
  638.     - The band rasterizer could produce garbled output for images
  639. (including characters) on 64-bit architectures.  (gxclread.c)
  640.     - Bounding boxes (for pathbbox and setbbox) could be slightly
  641. inaccurate.  (gsmatrix.c)
  642.     - On 64-bit architectures, halftone tiles less than 16 bits wide
  643. were handled incorrectly.  (gxclist.c)
  644.  
  645. Adds an .IsPageDevice boolean device parameter (normally read-only).
  646. (gsdparam.c)
  647.  
  648. Removes the library code for implementing the obsolete writeppmfile
  649. operator.  (gswppm.c)
  650.  
  651. Makes the default matrix (for initmatrix and defaultmatrix) a settable
  652. parameter in the graphics state.  (gscoord.h, gzstate.h, gscoord.c,
  653. gsdevice.c, gsdparam.c, ******IN PROCESS******)
  654.  
  655. Makes the statistics returned by the memory manager more accurate.
  656. (gsmemory.h)
  657.  
  658. Adds a compile-time flag to choose whether or not to force Type 1 hints to
  659. "big pixel" boundaries when oversampling.  (gstype1.c)
  660.  
  661. Changes the .PageCount device parameter back to PageCount, because the
  662. change broke some scripts.  (gsdparam.c)
  663.  
  664. Adds optimization for 90 degree rotated images with pure colors.
  665. (gximage.h, gsimage.c, gsimage1.c)
  666.  
  667. Changes the band rasterizer so that replicated halftone tiles are written on
  668. the band list in unreplicated form.  (gsbitops.h, gxcldev.h, gsbitops.c,
  669. gxclist.c, gxclread.c, gxht.c)
  670.  
  671. Changes the .HWBitsPerPixel device parameter to BitsPerPixel.  (drivers.doc,
  672. language.doc, gdevcdj.c, gdevstc.c, gsdparam.c)
  673.  
  674. Version 3.28(beta) (2/13/95)
  675. ==================
  676.  
  677. Another bug-fix beta release.  The number of bugs being fixed in each of
  678. these sub-releases does exceed the number of new bugs introduced, but the
  679. latter number is discouragingly high.
  680.  
  681. Documentation
  682. -------------
  683.  
  684. Adds some information about handling VMS file attributes for files
  685. transferred by FTP.  (use.doc)
  686.  
  687. Procedures
  688. ----------
  689.  
  690. Fixes bugs:
  691.     - unix-gcc.mak said the static linkage switch for SunOS was -Bstatic
  692. rather than -static.  (unix-gcc.mak)
  693.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  694.  
  695. Utilities
  696. ---------
  697.  
  698. Fixes bugs:
  699.     - markhint.ps didn't check for protected fonts.  (markhint.ps)
  700.  
  701. Drivers
  702. -------
  703.  
  704. Fixes bugs:
  705.     - The cdj driver had a byte/char agreement problem.  (gdevcdj.c)
  706.     - The cdj driver attempted to initialize a dynamic array.
  707. (gdevcdj.c)
  708.  
  709. Removes the setting of InputAttributes and OutputAttributes from the H-P
  710. drivers, since this causes more problems than it solves.  (gdevdjet.c)
  711.  
  712. Interpreter
  713. -----------
  714.  
  715. Fixes bugs:
  716.     - makeoperator assigned incorrect attributes to operators. (bug
  717. introduced in 3.27) (opdef.h, iinit.c, iutil.c, zmisc.c)
  718.  
  719. Library
  720. -------
  721.  
  722. Fixes bugs:
  723.     - gs_makeimagedevice didn't set the caller's pointer to the newly
  724. created device.  (bug introduced in 3.27) (gsdevice.c)
  725.     - There were still some mismatches between char * and byte * values.
  726. (gsdparam.c)
  727.     - The halftone replication algorithm could produce inappropriately
  728. large replicated masks.  (gxht.c)
  729.     - stroke usually did the wrong thing for degenerate (single-point)
  730. subpaths.  (gxstroke.c)
  731.  
  732. Version 3.27(beta)(withdrawn) (2/8/95)
  733. =============================
  734.  
  735. Yet another bug-fix beta release.  This release had so many serious problems
  736. (the most serious being at least one changed file that the release tool
  737. failed to include in the fileset) that it was withdrawn less than a day
  738. after it was issued.
  739.  
  740. Documentation
  741. -------------
  742.  
  743. Fixes bugs:
  744.     - The NEWS for 3.26 didn't mention the fact that the stdxxx stream
  745. interface used by MS Windows, OS/2, and Macintosh implementations had
  746. changed.  (NEWS)
  747.     - The file public.doc wasn't distributed with the previous fileset.
  748.  
  749. Brings the NeXTSTEP documentation up to date for NeXTSTEP releases 3.2 and
  750. subsequent.  (make.doc)
  751.  
  752. Procedures
  753. ----------
  754.  
  755. Fixes bugs:
  756.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  757.     - A 'fi;' was missing in the Unix install script.  (unix-end.mak)
  758.     - There was no VMS build script for the PDF options.  (vms.mak)
  759.     - The VMS script used CC_QUALI instead of CC_QUAL in several places.
  760. (vms.mak)
  761.  
  762. Utilities
  763. ---------
  764.  
  765. Fixes bugs:
  766.     - ps2epsi's usage prompt referred to "pstoepsi".  (ps2epsi)
  767.     - ps2epsi set PATH and LOCALPATH unilaterally.  (ps2epsi)
  768.  
  769. Comments out the sample usage line at the end of viewjpeg.ps.  (viewjpeg.ps)
  770.  
  771. Drivers
  772. -------
  773.  
  774. Fixes bugs:
  775.     - The fax and tiff drivers didn't free all of their working storage.
  776. (gdevtfax.c)
  777.  
  778. Adds user-contributed drivers for the BJC 600 and ESC/P printers.
  779. (devs.mak, gdevcdj.c)
  780.  
  781. Platforms
  782. ---------
  783.  
  784. Fixes bugs:
  785.     - Some necessary casts of string parameters to (const byte *) were
  786. omitted.  (gp_mswin.c, gp_os2.c)
  787.  
  788. Adds the psmono and bit* drivers, and removes the p*m drivers, in the OS/2,
  789. 32-bit MS-DOS, and 32-bit Windows configurations.  (bcwin32.mak, os2.mak,
  790. watc.mak)
  791.  
  792. Fonts
  793. -----
  794.  
  795. Fixes bugs:
  796.     - The Fontmap for Ultrix had somehow become slightly incorrect.
  797. (Fontmap.Ult)
  798.  
  799. Removes the font file names from the dependency lists in cfonts.mak.  This
  800. makes cfonts.mak readily usable with any set of fonts, but it also means
  801. that it will always run font2c, rather than being able to avoid this if the
  802. .c file is up to date.  (cfonts.mak)
  803.  
  804. Interpreter
  805. -----------
  806.  
  807. Fixes bugs:
  808.     - Some operators could fail if the stdxxx streams weren't currently
  809. open.  (files.h, zfileio.c, ziodev.c)
  810.     - setpagedevice didn't handle unrecognized keys properly.
  811. (gs_setpd.ps)
  812.     - The value returned for the HWColorMap device parameter was
  813. allocated incorrectly, confusing the garbage collector.  (iparam.c)
  814.     - Typing ahead at the >>showpage<< prompt no longer caused all
  815. further pages to be processed without stopping.  (gs_init.ps)
  816.     - Setting DEVICEWIDTHPOINTS or DEVICEHEIGHTPOINTS on the command
  817. line caused a typecheck.  (gs_init.ps)
  818.     - The garbage collector didn't handle halftone threshold arrays
  819. properly.  (zht2.c)
  820.     - setdefaulttimeouts caused an error on Level 2 systems.
  821. (gs_lev2.ps)
  822.     - cvi and cvr weren't equivalent to token followed by a type check.
  823. (iscan.h, iscannum.h, iscan.c, iscannum.c, ztoken.c, ztype.c)
  824.     - In Level 2 systems, image and colorimage didn't allow 12 bits per
  825. sample.  (zpaint.c)
  826.     - If debugging was enabled, the garbage collector printed spurious
  827. error messages about the allocator objects not being in a chunk.  (ialloc.c)
  828.     - restore didn't reset the count of operator procedures, so the
  829. operator procedure table could fill up.  Fixing this required splitting the
  830. op_array_table into a global table and a local table.  (opdef.h, iinit.c,
  831. iutil.c, zmisc.c)
  832.     - .forgetsave could leave a dangling pointer in the memory manager,
  833. causing an access error.  (ialloc.c, isave.c)
  834.     - Freed objects weren't always marked as freed, which could confuse
  835. the memory validator.  (ialloc.c)
  836.     - .forgetsave didn't mark inner chunk headers as free, leading to
  837. access errors.  (isave.c)
  838.  
  839. Changes the representation of operator procedures so that they point
  840. directly to their definition in the op_array_table.  (iref.h, opdef.h,
  841. idebug.c, igc.c, igcref.c, interp.c, zmisc.c)
  842.  
  843. Removes .makeglobaloperator.  (zmisc.c)
  844.  
  845. Adds patches to discard some common garbage produced by H-P-oriented
  846. applications and drivers.  (gs_init.ps)
  847.  
  848. Changes the >>showpage<< prompt so that if the input reaches EOF, the
  849. interpreter still stops after the next >>showpage<<, rather than processing
  850. all subsequent pages.  This is a consequence of the bug fix that
  851. automatically reopens the stdxxx files.
  852.  
  853. Adds an optional dictionary parameter for the RunLengthEncode/Decode
  854. filters, to allow specifying EndOfData.  The default is true.  (zfilter.c)
  855.  
  856. Adds ByteTranslateEncode/Decode filters.  (zfilter2.c)
  857.  
  858. Streams
  859. -------
  860.  
  861. Fixes bugs:
  862.     - The K > 0 option of the CCITTFaxDecode filter switched back to 2-D
  863. encoding if an output buffer boundary fell in the middle of a 1-D line, and
  864. signalled an error if an input buffer boundary fell in the middle of an EOL.
  865. (scfd.c)
  866.  
  867. Adds an EndOfData flag to the RunLengthEncode/Decode filters.  If true, RLE
  868. generates 128 as EOD, and RLD recognizes it; if false, RLE does not mark
  869. EOD, and RLD ignores 128.  (srlx.h, gxclist.c, gxclread.c, sfilter1.c)
  870.  
  871. Adds ByteTranslateEncode/Decode streams.  (sbtx.h, sfilter2.c)
  872.  
  873. Library
  874. -------
  875.  
  876. Fixes bugs:
  877.     - There were some mismatches between char * and byte * values.
  878. (gsdparam.c)
  879.     - Failure to round a scaling coordinate caused one-for-one
  880. black-and-white images to render slower than they should.  (gsimage.c)
  881.     - Setting PageSize without setting HWResolution could cause an
  882. invalid memory access.  (gsdparam.c)
  883.     - The garbage collector didn't handle halftone threshold arrays
  884. properly.  (gxht.h, gsht.c, gsht1.c)
  885.  
  886. Version 3.26(beta) (2/1/95)
  887. ==================
  888.  
  889. Yet another bug-fix beta release, still not ready for public release.
  890.  
  891. Documentation
  892. -------------
  893.  
  894. Fixes bugs:
  895.     - The description of device properties had gotten out of sync with
  896. the code.  (language.doc)
  897.  
  898. Splits off documentation specific to the Aladdin (non-GNU) release into a
  899. separate file.  (readme, public.doc, unix-end.mak)
  900.  
  901. Adds a pointer to a collection of other free fonts (including some Cyrillic
  902. ones) available on the net.  (public.doc)
  903.  
  904. Procedures
  905. ----------
  906.  
  907. Fixes bugs:
  908.     - On VMS systems with both VAX C and DEC C installed, the build script
  909. used VAX C rather than DEC C.  (vms.mak)
  910.     - zfdecode.c didn't have a build rule.  (gs.mak)
  911.     - Several macros in the makefile were used before they were defined.
  912. (gs.mak)
  913.     - Several macros in the makefile were used without being defined.
  914. (gs.mak)
  915.  
  916. Replaces the gssetdev, gssetmod, and gsaddmod scripts with more variants of
  917. echogs.  (echogs.c, gs.mak)
  918.  
  919. Utilities
  920. ---------
  921.  
  922. Fixes bugs:
  923.     - The ps2ascii shell script passed a -f flag to the shell, which not
  924. all shells recognize.  (ps2ascii)
  925.  
  926. Drivers
  927. -------
  928.  
  929. Fixes bugs:
  930.     - Due to a typo in an initialization string, the H-P printers didn't
  931. reset the top margin to zero.  (gdevdjet.c)
  932.  
  933. Adds InputAttributes and OutputAttributes entries to the H-P drivers.  (This
  934. should probably be generic to all printers.)  (gdevdjet.c)
  935.  
  936. Replaces the contributed Epson Stylus Color driver with a newer version.
  937. (devices.doc, gdevstc.c)
  938.  
  939. Platforms
  940. ---------
  941.  
  942. Fixes bugs:
  943.     - DEC C complained about 'abs' and 'exit' not being declared.  (x_.h)
  944.     - gp_mswin.c and gp_os2.c wouldn't compile.  (gp_mswin.c, gp_os2.c,
  945. ziodev.c)
  946.  
  947. Interpreter
  948. -----------
  949.  
  950. Fixes bugs:
  951.     - The default CIE rendering dictionary gave everything a magenta tint.
  952. (gs_lev2.ps)
  953.     - Changing HWResolution and PageSize in the same call of
  954. setpagedevice produced an incorrect HWSize.  (gsdparam.c)
  955.     - .putdeviceparams didn't accept all the keys that .getdeviceparams
  956. returned.  (gsdparam.c)
  957.     - The default handler for interrupt and timeout errors didn't push a
  958. current object (command) on the stack.  (gs_init.ps)
  959.     - The garbage collector didn't handle strings larger than 64K
  960. properly.  (iastate.h, ialloc.c, igcstr.c)
  961.  
  962. Adds media matching and Policy consultation to the implementation of
  963. setpagedevice.  (gs_setpd.ps)
  964.  
  965. Adds a MaxGlobalVM system parameter.  (zmisc2.c)
  966.  
  967. Streams
  968. -------
  969.  
  970. Fixes bugs:
  971.     - The CCITTFaxEncode filter could access a byte beyond the end of
  972. the allocated area.  (scfe.c)
  973.     - The CCITTFaxDecode filter could get an ioerror if a buffer
  974. boundary fell in exactly the wrong place.  (scfd.c)
  975.  
  976. Library
  977. -------
  978.  
  979. Fixes bugs:
  980.     - The garbage collector didn't trace colored halftones properly.
  981. (gzht.h)
  982.     - The garbage collector didn't relocate the bitmap pointers in
  983. halftone caches properly.  (gzht.h, gxht.c)
  984.  
  985. Adds the ability to transmit dictionaries through the param_list mechanism
  986. (specifically, as device parameters).  This change is
  987. non-backward-compatible only for implementors of parameter lists, which only
  988. exist within the Ghostscript core.  (gsparam.h, iparam.h, iparam.c)
  989.  
  990. Removes the InitialMatrix device property.  (gsdparam.c)
  991.  
  992. Version 3.25(beta) (1/24/95)
  993. ==================
  994.  
  995. Yet another bug-fix beta release.  There are still at least half a dozen
  996. significant known bugs to be fixed before a public release.
  997.  
  998. Documentation
  999. -------------
  1000.  
  1001. Notes that on Unix systems, one should not edit 'makefile', but should edit
  1002. the individual subfile and run tar_cat.  THIS IS A NON-BACKWARD-COMPATIBLE
  1003. CHANGE.  (make.doc)
  1004.  
  1005. Adds information on the Macintosh implementation.  (readme)
  1006.  
  1007. Procedures
  1008. ----------
  1009.  
  1010. Fixes bugs:
  1011.     - make clean failed on Unix systems where rm -f requires at least one
  1012. file name.  (gs.mak)
  1013.     - math_.h was omitted from many dependency lists.  (gs.mak)
  1014.  
  1015. Drivers
  1016. -------
  1017.  
  1018. Fixes bugs:
  1019.     - The X Windows and MS Windows draw-line routines couldn't possibly
  1020. produce sufficiently correct output (since the interface only provides integer
  1021. coordinates).  (gdevx.c, gdevwddb.c)
  1022.  
  1023. In response to patent-related actions by Unisys and CompuServe, removes the
  1024. GIF driver.  (*.mak)
  1025.  
  1026. Changes dci_std_color (and std_device_std_color_* and prn_device_std_*) so
  1027. that if the number of bits per pixel is 32, the device is defined as CMYK
  1028. rather than RGB.  (gxdevice.h)
  1029.  
  1030. Removes the tseng8 device, which is no longer useful.  (devs.mak, gdevsvga.c)
  1031.  
  1032. Adds pseudo-alpha support to the SVGA drivers, via the TextAlphaBits and
  1033. GraphicsAlphaBits device parameters.  (gdevsvga.h, gdevsvga.c)
  1034.  
  1035. Adds a user-contributed driver for the Epson Stylus Color printer.  (devs.mak,
  1036. gdevstc.c, devices.doc)
  1037.  
  1038. Platforms
  1039. ---------
  1040.  
  1041. Fixes bugs:
  1042.     - The VMS build scripts had gotten out of sync (again).  (vms*.mak)
  1043.  
  1044. Interpreter
  1045. -----------
  1046.  
  1047. Fixes bugs:
  1048.     - The emulator name array was incorrectly declared const in one place.
  1049. (gs.c)
  1050.     - A closed file could incorrectly appear to be 'eq' to another file
  1051. (open or closed).  (iutil.c)
  1052.     - If %stdin/%stdout/%stderr was ever closed, it couldn't be
  1053. reopened.  (gs_btokn.ps, gs_init.ps, files.h, zfile.c, zfileio.c, zfilter.c,
  1054. zfproc.c, ziodev.c)
  1055.  
  1056. Changes (almost) all the operator routines to 'static'.  (z*.c)
  1057.  
  1058. Library
  1059. -------
  1060.  
  1061. Fixes bugs:
  1062.     - The raster value for replicated tiles in the halftone cache was
  1063. incorrect, causing unaligned memory accesses.  (gxht.c)
  1064.     - stroke and strokepath could produce slightly inaccurate output
  1065. (leading to slight visible anomalies) as a result of stroke adjustment.
  1066. (gxstroke.c)
  1067.     - Attempting to draw an arc with zero radius could cause a numeric
  1068. exception.  (gspath1.c)
  1069.     - Setting the Orientation of a device to null resulted in actually
  1070. setting it to a random value.  (gsdparam.c)
  1071.     - charpath, stringwidth, and cshow attempted to remap the current
  1072. color unnecessarily.  (gschar.c)
  1073.  
  1074. Adds the ability to trace calls on the sqrt function (and possibly other math
  1075. functions in the future.)  (math_.h, gsmisc.c)
  1076.  
  1077. Adds additional interrupt checks in the banding code.  (gxclist.c, gxclread.c)
  1078.  
  1079. Version 3.24(beta) (1/17/95)
  1080. ==================
  1081.  
  1082. This was supposed to be a public release, but too many bugs showed up in 3.23,
  1083. so this is another bug-fix beta release.  This is the first release with a
  1084. working PDF reader.
  1085.  
  1086. Documentation
  1087. -------------
  1088.  
  1089. Notes that Solaris requires using installbsd instead of install.  (make.doc)
  1090.  
  1091. Procedures
  1092. ----------
  1093.  
  1094. Changes 'make mostlyclean' so that it doesn't delete the Ghostscript
  1095. executable (but deletes everything else that 'make clean' does).  (gs.mak)
  1096.  
  1097. Changes the link list generator so it eliminates duplicate library requests.
  1098. (genconf.c)
  1099.  
  1100. Factors the interpreter further so as to include less unnecessary PostScript
  1101. support in the PDF interpreter.  (gs.mak, zpath.c, zpath1.c)
  1102.  
  1103. Adds a printout of the available language interpreters to the -h message.
  1104. (genconf.c, gs.c, iinit.c, gs.mak)
  1105.  
  1106. Drivers
  1107. -------
  1108.  
  1109. Fixes bugs:
  1110.     - The alternate X drivers used a cast in an initializer, causing a
  1111. compilation error on some platforms.  (gdevxalt.c)
  1112.  
  1113. Adds a driver for the LaserJet IIID, including duplex printing if specified by
  1114. the Duplex page device parameter.  (gdevdjet.c)
  1115.  
  1116. Adds Orientation to the bit device.  (gdevbit.c)
  1117.  
  1118. Platforms
  1119. ---------
  1120.  
  1121. Fixes bugs:
  1122.     - There was an extraneous pfen-> in the NT file system module, causing
  1123. a compilation error.  (gp_ntfs.c)
  1124.     - The DLL code referred to an obsolete symbol a_foreign.  (gsdll.c)
  1125.     - The VMS build scripts omitted the LaserJet 4 driver.  (vms-*.mak)
  1126.     - The VMS build scripts had several other minor errors.  (vms.mak)
  1127.  
  1128. Fonts
  1129. -----
  1130.  
  1131. Fixes bugs:
  1132.     - Defining a font alias in global VM with a name that was a string in
  1133. local VM caused an error.  (gs_fonts.ps)
  1134.     - The font compiler referred to an obsolete symbol a_foreign.
  1135. (font2c.ps)
  1136.  
  1137. Interpreter
  1138. -----------
  1139.  
  1140. Fixes bugs:
  1141.     - There was an extraneous '#' before an extern declaration.
  1142. (gsmain.c)
  1143.     - The interpreter could (incorrectly) attempt to expand the e-stack.
  1144. (istack.h, interp.c, istack.c)
  1145.     - zfproc.c called memcpy but didn't include memory_.h.  (zfproc.c)
  1146.     - A garbage collection occurring within a 'save' would often smash
  1147. memory.  (igc.c)
  1148.     - If the last character returned by the procedure of a procedure-based
  1149. filter was \r, readline could get an endless loop.  (zfileio.c)
  1150.     - Saving a change to a ref member of a structure confused the garbage
  1151. collector.  (isave.h, isave.c, zdict.c)
  1152.     - The -Zu debugging printout could cause an access error under rare
  1153. circumstances.  (isave.c)
  1154.     - Save objects could get allocated in global VM, causing dangling
  1155. references.  (zvmem.c)
  1156.     - The vmsave object created by the interpreter for a save didn't get
  1157. freed properly if the memory manager created an invisible save level, which
  1158. could cause the next garbage collection to crash.  (zvmem.c)
  1159.     - 'run' always printed an error message, rather than letting the
  1160. top-level control loop do it.  (gs.c, gs_init.ps)
  1161.  
  1162. Adds support for duplex devices.  (gxdevice.h, gsdparam.c, gs_statd.ps,
  1163. gs_setpd.ps)
  1164.  
  1165. Adds the beginnings of support for CID-keyed fonts.  (gs_cidfn.ps)
  1166.  
  1167. Changes the format of the stack dump printed for errors, to make it easier to
  1168. read.  (gs_init.ps)
  1169.  
  1170. Interpreter (PostScript)
  1171. ------------------------
  1172.  
  1173. Fixes bugs:
  1174.     - The .local/global allocation operators always allocated in system
  1175. VM.  (zsysvm.c)
  1176.     - setpage[params] caused an error.  (gs_lev2.ps)
  1177.     - If an error occurred during a cshow or (x|y|xy)show, the interpreter
  1178. freed the enumerator twice.  (zchar.c, zchar2.c)
  1179.  
  1180. Changes setpageparams so that orientation = 0 means portrait.  This is not
  1181. compatible with AGFA's convention for roll-feed devices, but it is compatible
  1182. with the more common cut-sheet printers.  (gs_statd.ps)
  1183.  
  1184. Adds meaningful values for the Emulator resource.  (gsmain.c, gs_res.ps)
  1185.  
  1186. Makes -Z? validate the state of memory before and after save and restore.
  1187. (ialloc.h, igc.h, ialloc.c, igc.c, ilocate.c, zvmem.c)
  1188.  
  1189. Interpreter (PDF)
  1190. -----------------
  1191.  
  1192. Fixes bugs:
  1193.     - The Unix install script didn't install the PDF files if they were
  1194. present.  (unix-end.mak)
  1195.     - PDF to PostScript conversion didn't work at all.  (It still doesn't
  1196. work very well.)  (pdf_2ps.ps, pdf_main.ps)
  1197.     - Images with an Indexed color space and no Decode entry caused an
  1198. error.  (pdf_draw.ps)
  1199.     - The 'Page <n>' messages were printed even if QUIET was set.
  1200. (pdf_main.ps)
  1201.  
  1202. Changes the interpreter so that when it encounters an unknown operator, it
  1203. prints an error message and continues, rather than signalling an error.
  1204. (pdf_base.ps)
  1205.  
  1206. Makes F a synonym for f if there is nothing on the operand stack, to
  1207. compensate for a bug in some Adobe software.  (pdf_base.ps)
  1208.  
  1209. Changes pdfgetpage so it uses 1-origin rather than 0-origin indexing.  THIS IS
  1210. A NON-BACKWARD-COMPATIBLE CHANGE.  (pdf_main.ps)
  1211.  
  1212. Streams
  1213. -------
  1214.  
  1215. Fixes bugs:
  1216.     - The Group 3 2-D and Group 4 encoders produced incorrect output if a
  1217. scan line beginning with a black pixel was followed by a scan line beginning
  1218. with a white pixel.  (scfe.c)
  1219.     - A SubFileDecode filter with a count of 1 and a non-empty EOD string
  1220. would smash memory.  (sfilter1.c)
  1221.  
  1222. Updates the DCT filters so they will work with the latest version (5a) of the
  1223. IJG library.  (*.mak, jpeg.mak, sjpegerr.c)
  1224.  
  1225. Library
  1226. -------
  1227.  
  1228. Fixes bugs:
  1229.     - A call with integer parameters to a procedure with floating point
  1230. arguments didn't work on non-ANSI compilers.  (gsimage.c)
  1231.     - Arcs could get turned into polygons if the scaling values in the CTM
  1232. were very large and the radius was (in user space coordinates) very small.
  1233. (gspath.c)
  1234.     - The current point was defined when a BuildChar procedure was called.
  1235. (This bug was documented as fixed in version 2.2!)  (gschar.c)
  1236.  
  1237. Adds support for Orientation and Duplex page device parameters, for those
  1238. devices that support these.  (gdevprn.h, gxdevice.h, gsdevice.c, gsdparam.c)
  1239.  
  1240. Version 3.23(beta) (1/5/95)
  1241. ==================
  1242.  
  1243. This is almost entirely a bug fix release.  It also includes a largely working
  1244. PDF reader.  This is intended as the beta test release for the next public
  1245. release.
  1246.  
  1247. Documentation
  1248. -------------
  1249.  
  1250. Fixes bugs:
  1251.     - COPYLEFT, COPYING, NEWS, PUBLIC, README, and the standard Fontmap
  1252. were omitted from the 3.22 fileset.
  1253.  
  1254. Documents the use of the -oldc switch to work around a compiler crash on
  1255. the DECstation.
  1256.  
  1257. Expands and clarifies the documentation for building the DesqView/X version
  1258. with djgcc.  (make.doc)
  1259.  
  1260. Adds documentation on the "600x300" H-P inkjet printers, explaining why
  1261. this alleged higher resolution is not available.  (devices.doc)
  1262.  
  1263. Adds to the PUBLIC license a warning that it is not a GNU License, and a
  1264. requirement to include a copy of or a pointer to the License in any written
  1265. material.  (PUBLIC)
  1266.  
  1267. Documents the fact that Ghostscript *does* attempt to look up files in the
  1268. current directory first.  (use.doc)
  1269.  
  1270. Procedures
  1271. ----------
  1272.  
  1273. Fixes bugs:
  1274.     - In VMS.MAK, .JPEG should have been changed to .JPEG-5 in a few
  1275. places.  (vms.mak)
  1276.  
  1277. Adds the pjxl300 driver to all configurations that include the other color
  1278. DeskJet drivers.  Replaces pjet and pjetxl with pj and pjxl.  (*.mak)
  1279.  
  1280. Makes 'run' recognize PDF files if the PDF reader is included.
  1281. (pdf_main.ps)
  1282.  
  1283. Utilities
  1284. ---------
  1285.  
  1286. Fixes bugs:
  1287.     - viewjpeg.ps needed the test for languagelevel = 2 at the
  1288. beginning of the file.  (viewjpeg.ps)
  1289.     - prfont.ps used 'min', which isn't a standard PostScript operator.
  1290. (prfont.ps)
  1291.     - prfont.ps created Encoding vectors that weren't 256 elements
  1292. long.  (prfont.ps)
  1293.  
  1294. Adds the gsdj500 script to the installation list.  (unix-end.mak)
  1295.  
  1296. Changes the Unix "line printer" shell scripts to add the date to the page
  1297. header.  (gsbj, gsdj, gsdj500, gslj)
  1298.  
  1299. Changes ansi2knr so that it will work properly on systems where the ctype
  1300. macros don't handle 8-bit characters correctly.  (ansi2knr.c)
  1301.  
  1302. Drivers
  1303. -------
  1304.  
  1305. Fixes bugs:
  1306.     - Some compilers don't allow casts in initialization expressions.
  1307. (gdevx.c, gdevxalt.c)
  1308.     - The cdj drivers didn't initialize the color_info structure
  1309. properly.  (gdevcdj.c)
  1310.  
  1311. Adds another alternate X Windows driver, x11mono, that is a black-and-white
  1312. device.  (devs.mak, gdevxalt.c)
  1313.  
  1314. Adds a user-contributed driver for the Apple Imagewriter LQ.  (devs.mak,
  1315. gdevadmp.c)
  1316.  
  1317. Platforms
  1318. ---------
  1319.  
  1320. Fixes bugs:
  1321.     - The VMS MODULES.LIS file had gotten out of sync with the makefile
  1322. (again); GDEVABUF and GSBITOPS were missing.  (modules.lis)
  1323.     - The VMS script file had gotten out of sync with the makefile
  1324. (again).  (vms.mak)
  1325.     - The MS Windows platform code didn't recognize Windows 95 (Windows
  1326. 4.0) as equivalent to Windows NT.  (gp_mswin.c)
  1327.     - File name enumeration didn't work on OS/2 or win32.  (gp_ntfs.c,
  1328. gp_os2.c)
  1329.     - -sOutputFile= didn't work under MS Windows.  (gp_mswin.c)
  1330.  
  1331. Changes the SCO Unix direct frame buffer driver so it generates in-line
  1332. instructions to access the frame buffer, for a dramatic speed improvement.
  1333. (gdevpcfb.h, gdevsco.c)
  1334.  
  1335. Fonts
  1336. -----
  1337.  
  1338. Fixes bugs:
  1339.     - If a font couldn't be found in the Fontmap, a recursion loop
  1340. sometimes occurred.  (gs_fonts.ps)
  1341.     - Aliases for global fonts weren't automatically created as global,
  1342. possibly leading to a recursion loop.  (gs_dps1.ps, gs_fonts.ps)
  1343.     - If a font was loaded into global VM within an inner save, the restore
  1344. deleted it from FontDirectory but not from SharedFontDirectory, causing a
  1345. possible recursion loop.  (gs_dps1.ps, gs_fonts.ps, idict.h, idict.c, zdict.c)
  1346.  
  1347. Further improves the algorithm for substituting for unknown fonts.
  1348. (gs_fonts.ps)
  1349.  
  1350. Interpreter (PostScript)
  1351. ------------------------
  1352.  
  1353. Fixes bugs:
  1354.     - zcontrol.c had an assignment of const char * to const byte *,
  1355. which some compilers don't like.  (zcontrol.c)
  1356.     - Setting an Indexed color space based on a CIE space caused an
  1357. attempt to free a random block of memory.  (zcsindex.c)
  1358.     - Some compilers don't like mixing conditionals and casts in
  1359. initialization expressions.  (iref.h)
  1360.     - Some calculations of table sizes for string garbage collection
  1361. didn't work if sizeof(long) != 4, leading to smashed strings.  (iastate.h,
  1362. ialloc.c, igcstr.c)
  1363.     - Strings longer than about 7000 bytes smashed their chunk header
  1364. and confused the garbage collector.  (ialloc.c)
  1365.     - Some compilers needed iccfont.c to include strimpl.h.
  1366. (iccfont.c)
  1367.     - The obsolete file zcspace2.c was still included in the fileset.
  1368.     - If the command line included any @-files that required searching
  1369. the library path, a limitcheck would occur.  (zfile.c)
  1370.     - The insideness testing operators caused a memory access error,
  1371. because the procedure vector hadn't been updated to provide a default
  1372. get_alpha_bits procedure.  (zupath.c)
  1373.     - gcheck didn't check for stack underflow.  (zvmem2.c)
  1374.     - cleardictstack could fail to clear the dictionary stack if the
  1375. stack had overflowed into additional blocks.  (zdict.c)
  1376.     - If the '-' switch was selected, resources weren't released
  1377. properly on exit.  (gs.c)
  1378.     - Setting a Pattern color space based on a CIE space caused an
  1379. invalid memory access.  (zcsindex.c)
  1380.     - The garbage collector didn't treat refs properly on machines with
  1381. short ints.  (igcref.c)
  1382.     - Operators with more than 16 arguments could break the
  1383. interpreter.  (interp.h, iinit.c, interp.c)
  1384.     - save/restore didn't restore the setting of the current allocator
  1385. VM (local/global).  (isstate.h, isave.c)
  1386.     - stdpre.h declared exit as an extern, instead of letting gsmain.c
  1387. declare it.  (stdpre.h, gsmain.c)
  1388.     - gs.c used fputs to print help messages rather than fprintf.
  1389. (gs.c)
  1390.     - Interrupts failed to re-execute the operation that was
  1391. interrupted.  (interp.c)
  1392.     - Low-resolution CMYK devices didn't use separate screens for each
  1393. color plane as the default.  (gs_init.ps)
  1394.     - filterdict wasn't getting undef'ed at the end of initialization.
  1395. (gs_init.ps)
  1396.     - gstate operations were broken (bug introduced in 3.02).
  1397. (zdevice2.c)
  1398.     - resourceforall didn't remove the resource dictionary from the
  1399. dictionary stack when calling the client-supplied procedure.  (gs_res.ps)
  1400.     - currentcolor with an Indexed color space returned a real rather
  1401. than an integer.  (zcolor2.c)
  1402.     - setshared / setglobal left the stack in an unobvious state if
  1403. they were given a non-Boolean argument.  (gs_dps1.ps)
  1404.     - sethalftone followed by currenthalftone returned an invalid value.
  1405. (zht2.c)
  1406.     - Empty strings produced spurious garbage collector error messages.
  1407. (gsstruct.h, scommon.h, igc.c, igcstr.c, iname.c)
  1408.     - The garbage collector didn't trace Separation color spaces properly.
  1409. (gscsepr.c)
  1410.  
  1411. Changes defineresource so that it does not, by default, make instances
  1412. read-only.  (gs_res.ps)
  1413.  
  1414. Adds .{local,global}{array,dict,packedarray,string} operators for creating
  1415. objects in a specific VM space.  (zsysvm.c, gs_dps1.ps)
  1416.  
  1417. Adds definitions of setpage and setpageparams to statusdict.  (gs_setpd.ps,
  1418. gs_statd.ps)
  1419.  
  1420. Alleviates some performance problems in the garbage collector.  (igc.c)
  1421.  
  1422. Interpreter (PDF)
  1423. -----------------
  1424.  
  1425. Fixes bugs:
  1426.     - PDF files that used filters with parameters caused a typecheck
  1427. error because the arguments to 'filter' were reversed.  (pdf_base.ps)
  1428.     - The (undocumented) PDF 1.1 ability to specify link and annotation
  1429. destinations indirectly was not supported.  (pdf_main.ps)
  1430.     - The (undocumented) PDF ability to specify a null page in a link
  1431. destination was not supported.  (pdf_main.ps)
  1432.     - The PDF encodings weren't loaded properly in a system with both
  1433. PS Level 2 and PDF features.  (gs_res.ps, gs_init.ps)
  1434.     - If the next line after a stream keyword was blank, the line
  1435. wasn't skipped, which matters for binary data.  (pdf_base.ps)
  1436.     - A Q operator with no matching q operator caused an error.
  1437. (pdf_draw.ps)
  1438.     - The text position wasn't preserved across a fill or stroke
  1439. operator.  (gs_pdf.ps, pdf_draw.ps)
  1440.     - Embedded Type 3 fonts didn't work.  (pdf_base.ps, pdf_draw.ps,
  1441. pdf_main.ps)
  1442.     - Masked images with no Decode value had their polarity inverted.
  1443. (pdf_draw.ps)
  1444.     - Embedded Type 1 fonts referenced from within a stream didn't
  1445. work.  (pdf_font.ps)
  1446.  
  1447. Changes the PDF code so that it automatically recognizes PDF files as such.
  1448. (pdf_main.ps)
  1449.  
  1450. Splits out the PixelDifference filters as a separate "feature".  (gs.mak)
  1451.  
  1452. Streams
  1453. -------
  1454.  
  1455. Fixes bugs:
  1456.     - Closing the primary input stream caused an invalid memory access.
  1457. (stream.c)
  1458.     - Increasing the size of a buffer within a save resulted in a
  1459. dangling reference after the restore.  (files.h, sfilter.h, zfile.c,
  1460. zfilter.c)
  1461.     - The garbage collector didn't properly trace streams that referenced
  1462. strings directly.  (stream.h, stream.c, ziodev.c)
  1463.  
  1464. Library
  1465. -------
  1466.  
  1467. Fixes bugs:
  1468.     - An extraneous \ upset some compilers.  (gdevabuf.c)
  1469.     - Uncolored Patterns that completely filled their bounding box
  1470. caused an invalid memory access.  (gspcolor.c)
  1471.     - If a color image required clipping, black or white pixels might
  1472. be rendered with incorrect (random) colors.  (gxcpath.c)
  1473.     - Reference counts for color spaces were sometimes set too high, so
  1474. they would only be freed by restore or garbage collection.  (gscolor.c)
  1475.     - The character cache could get confused if the Encoding for the
  1476. character wasn't a name.  (gschar.c)
  1477.     - Character outlines were always rendered with flatness = 0,
  1478. causing very bad performance for large characters.  (gzstate.h, gschar.c,
  1479. gsimage.c, gxfill.c, gxstroke.c)
  1480.     - If a device (presumably uninitialized) had a
  1481. color_info.num_components of zero, an invalid memory access could occur.
  1482. (gsdparam.c)
  1483.     - Intersecting clipping paths that are not both rectangular didn't
  1484. properly set the outer box of new clipping path, leading to unnecessary
  1485. computation.  (gxcpath.h, gxacpath.c, gxcpath.c)
  1486.     - A call passed false instead of NULL.  (gschar.c)
  1487.     - On machines where sizeof returns a long, genarch.c failed.
  1488. (genarch.c)
  1489.     - xfonts were consulted, incorrectly, even for stroked characters.
  1490. (gxccman.c)
  1491.     - gstate/currentgstate/setgstate didn't work properly.  (gsline.c,
  1492. gsstate.c)
  1493.     - On CMYK devices needing halftoning, colors with C = M = Y were
  1494. always converted to gray shades.  (gxcmap.c)
  1495.     - Isolated horizontal lines, or the horizontal edges of rectangles,
  1496. could get drawn with one or both end pixels missing.  (gxfill.c)
  1497.  
  1498. Changes the character cache back so it oversamples characters at small
  1499. sizes.  (gschar.c)
  1500.  
  1501. Changes all occurrences of (void)x to discard(x), and defines discard in
  1502. stdpre.h as a cast to void, to make it possible to pacify compilers that
  1503. don't accept this construct for some kinds of x.  (gpcheck.h, stdpre.h,
  1504. store.h, gdevmswn.c, gp_mswin.c, gscoord.c, gxclread.c, igc.c, sfile.c,
  1505. sfileno.c, zcie.c, zht2.c, ziodev.c, zmisc1.c)
  1506.  
  1507. Increases the size of the halftone cache on large-memory machines from 35K
  1508. to 100K.  This substantially improves halftoning performance at higher
  1509. resolutions.  (gxht.c)
  1510.  
  1511. Version 3.22(beta) (11/30/94)
  1512. ==================
  1513.  
  1514. This is primarily a bug fix release.  It also includes limited anti-aliased
  1515. graphics capability.  This release was not distributed to the public.
  1516.  
  1517. Procedures
  1518. ----------
  1519.  
  1520. Fixes bugs:
  1521.     - The definition of ghost_h was misplaced, so changes in it or its
  1522. antecedents didn't force recompilation of its dependents.  (gs.mak)
  1523.  
  1524. Actually implements the -Z+ switch, for forcing small stack blocks.
  1525. (interp.c)
  1526.  
  1527. Makes the -dSAFER switch disable the %pipe syntax for file names, even for
  1528. reading.  (gs_init.ps)
  1529.  
  1530. Drivers
  1531. -------
  1532.  
  1533. Fixes bugs:
  1534.     - The dfax drivers incorrectly set EncodedByteAlign to false.
  1535. (gdevdfax.c)
  1536.     - softwareValue and dateTimeValue were declared as byte rather than
  1537. char.  (gdevtfax.c)
  1538.  
  1539. Platforms
  1540. ---------
  1541.  
  1542. Fixes bugs:
  1543.     - The VMS DEC C compilers declare delete in unixio.h, and doesn't
  1544. declare unlink anywhere.  (stdio_.h)
  1545.     - The VMS compilers declare malloc and free in stdlib.h, which
  1546. wasn't being included in malloc_.h.  (malloc_.h)
  1547.     - The SCO Unix C compiler needs both <sys/time.h> and <time.h>.
  1548. (time_.h)
  1549.     - The VMS compilers declare abs in stdlib.h, which wasn't being
  1550. included anywhere.  (gshtscr.c)
  1551.     - The definition for A4 paper in VMS-AXP.MAK was incorrect.
  1552. (vms-axp.mak)
  1553.  
  1554. Renames VMS-AXP.MAK as VMS-DECC.MAK, with some changes that make it
  1555. appropriate for DEC C on both VAX and AXP platforms.  (vms-axp.mak =>
  1556. vms.decc.mak)
  1557.  
  1558. Fonts
  1559. -----
  1560.  
  1561. Fixes bugs:
  1562.     - gs_kanji.ps got an invalidaccess error.  (gs_kanji.ps)
  1563.  
  1564. Interpreter
  1565. -----------
  1566.  
  1567. Fixes bugs:
  1568.     - An off-by-1 test in the roll operator caused it to smash the
  1569. stack if the operand stack had overflowed into additional blocks.
  1570. (zstack.c)
  1571.     - The default CIE color rendering dictionary didn't assume a
  1572. reasonable intermediate (XYZ) space.  (gs_lev2.ps)
  1573.     - CIE color mapping tables weren't traced properly by the garbage
  1574. collector.  (gscie.h, gscie.c, zcie.c)
  1575.     - If the very last character of a file was a ^M, the scanner
  1576. (incorrectly) signaled a syntaxerror.  (iscan.c)
  1577.     - If an operator could return both a typecheck and a
  1578. stackunderflow, it always returned a stackunderflow, which doesn't match
  1579. the behavior of Adobe interpreters.  (opcheck.h, idparam.c, interp.c,
  1580. iutil.c, z*.c)
  1581.     - astore, dictstack, and execstack could return a spurious
  1582. invalidaccess error (or fail to detect an invalid access) if the operand
  1583. stack had overflowed into additional blocks.  (istack.c)
  1584.     - The garbage collector didn't relocate pointers to names!  (Bug
  1585. introduced in 3.20.)  (iname.h)
  1586.     - If the dictionary stack overflowed into additional blocks, the
  1587. cached value pointer for a name could get set incorrectly, and also not get
  1588. relocated by the garbage collector.  (idict.c)
  1589.     - If the dictionary stack overflowed into additional blocks, the
  1590. post-GC fixup of cached value pointers in names could cause an addressing
  1591. error.  (igc.c)
  1592.     - With the -Z? switch set, the garbage collector could incorrectly
  1593. report that objects or strings weren't in any chunk.  (igc.c)
  1594.     - << /a 1 /a 2 >> /a get gave the value 2 rather than 1.
  1595. (gs_init.ps)
  1596.     - Numbers in binary object sequences and encoded number arrays
  1597. didn't work properly on machines where sizeof(short) != 2 or sizeof(long)
  1598. != 4.  (ibnum.c)
  1599.     - The put operator for dictionaries allowed null as a key.
  1600. (idict.h, idict.c)
  1601.     - >> didn't give an error if there were an odd number of values on
  1602. the stack above the next mark.  (gs_init.ps)
  1603.     - Operations that explicitly freed ref objects (setting a CIE
  1604. colorspace, resizing a dictionary, popping a block off a stack) could
  1605. corrupt storage.  (ialloc.c)
  1606.     - The -Z@ switch, which fills freed blocks with a recognizable bit
  1607. pattern, could incorrectly overwrite freed blocks in previous save levels,
  1608. causing invalid memory accesses.  (ialloc.c)
  1609.     - Since streams freed by a restore weren't marked as free, they
  1610. could confuse the garbage collector and lead to invalid memory accesses.
  1611. (zfile.c)
  1612.     - If one of the built-in dictionaries overflowed during
  1613. initialization, no error was reported -- entries were simply discarded.
  1614. (iinit.c)
  1615.     - If the level2.dev feature was combined with certain other
  1616. features, the current languagelevel was 2 when some gs_*.ps files were
  1617. loaded, causing them to load incorrectly.  (gs_btokn.ps, gs_setpd.ps)
  1618.     - If readline read a line that ended with only a CR (no LF)
  1619. followed by an end-of-file, it incorrectly closed the stream.  (zfileio.c)
  1620.  
  1621. Adds a .cond operator, similar to the Lisp multi-arm conditional.
  1622. (zcontrol.c)
  1623.  
  1624. Adds a .makeglobaloperator operator, allowing the definition of operator
  1625. procedures in local VM that turn into global operators, provided the save
  1626. level is zero.  (iref.h, opdef.h, iinit.c, interp.c, zmisc.c)
  1627.  
  1628. Note: the fix for returning typecheck vs. stackunderflow requires that all
  1629. operators (or other code) that uses return_error(e_typecheck) to indicate
  1630. an incorrect object type on the operand stack must change this to
  1631. return_op_typecheck(op), where op points to the operand.  THIS IS A
  1632. NON-BACKWARD-COMPATIBLE CHANGE.
  1633.  
  1634. Implements string array and name array parameters for parameter lists.
  1635. (gsparam.h, iparam.c)
  1636.  
  1637. Brings filterdict inside the INITIAL_DICTIONARIES conditional.  (iinit.c)
  1638.  
  1639. Adds a .currentscreenlevels operator that returns the number of
  1640. distinguishable halftone levels.  (zht.c)
  1641.  
  1642. Streams
  1643. -------
  1644.  
  1645. Fixes bugs:
  1646.     - The 2-D case of CCITTFaxDecode could get confused by an input
  1647. data buffer boundary that fell immediately after a horizontal code.
  1648. (scfd.c)
  1649.     - The LZW decoder didn't detect invalid data unless DEBUG was
  1650. selected at build time.  (slzwd.c)
  1651.  
  1652. Library
  1653. -------
  1654.  
  1655. Fixes bugs:
  1656.     - The clipping region accumulator could refer to a clipping
  1657. rectangle even after it had been freed.  (No effect on execution unless the
  1658. -Z@ switch was selected.)  (gxacpath.c)
  1659.     - setbbox expanded the bounding box, but didn't place a limit on
  1660. further path elements, if the current path wasn't empty.  (gsdps1.c)
  1661.     - setbbox didn't make sufficient allowance for rounding.
  1662. (gsdps1.c)
  1663.  
  1664. Implements the ProcessColorModel parameter (read-only) for all devices.
  1665. (gsdparam.c)
  1666.  
  1667. Adds a gs_currentscreenlevels procedure that returns the number of
  1668. distinguishable halftone levels.  (gsht.c)
  1669.  
  1670. Version 3.21(beta) (11/17/94)
  1671. ==================
  1672.  
  1673. This is primarily a bug fix release.  It also includes a substantial
  1674. improvement in the Type 1 font hinting algorithms.  This release was not
  1675. distributed to the public.
  1676.  
  1677. Documentation
  1678. -------------
  1679.  
  1680. Fixes bugs:
  1681.     - The `man' page referred to gnu.ghostscript.bug rather than
  1682. comp.lang.postscript.  (gs.1)
  1683.  
  1684. Documents the special entries in operator definition tables that allow
  1685. switching dictionaries.  (opdef.h)
  1686.  
  1687. Procedures
  1688. ----------
  1689.  
  1690. Moves the definition of JSRCDIR to the individual platform makefiles, to
  1691. make it easier to change on platforms that don't have file links.  (*.mak)
  1692.  
  1693. Utilities
  1694. ---------
  1695.  
  1696. Fixes bugs:
  1697.     - ansi2knr didn't recognize that a line ending with } couldn't be a
  1698. function definition.  (ansi2knr.c)
  1699.     - ps2epsi always returned an empty bounding box.  (ps2epsi,
  1700. ps2epsi.bat)
  1701.  
  1702. Drivers
  1703. -------
  1704.  
  1705. Fixes bugs:
  1706.     - The bitrgb device had an invalid depth of 3.  (gdevbit.c)
  1707.  
  1708. Replaces the color mapping code in the X driver with a much faster
  1709. algorithm, courtesy of Tim Theisen.  (gdevx.h, gdevx.c, gdevxini.c)
  1710.  
  1711. Platforms
  1712. ---------
  1713.  
  1714. Fixes bugs:
  1715.     - Two variable names were misspelled.  (gdevpm.c, gp_mswin.c)
  1716.     - It wasn't possible to compile a non-DLL configuration under OS/2.
  1717. (os2.mak)
  1718.     - Compilation under Microsoft C/C++ 8.0 gave errors.  (gp_mswin.h,
  1719. gp_mswin.c, gshtscr.c)
  1720.  
  1721. Adds some more devices to the OS/2 makefile.  (os2.mak)
  1722.  
  1723. Fonts
  1724. -----
  1725.  
  1726. Fixes bugs:
  1727.     - wrfont.ps, and hence bdftops, didn't write out the FontType or
  1728. PaintType.  (Bug introduced since 2.6.1)  (wrfont.ps)
  1729.     - wrfont.ps omitted a 'begin' and 'end', causing -! or -| to be
  1730. undefined when the font was loaded.  (Bug introduced since 2.6.1)
  1731. (wrfont.ps)
  1732.  
  1733. Interpreter
  1734. -----------
  1735.  
  1736. Fixes bugs:
  1737.     - make_tasv_old called make_tasv_new with extra arguments.
  1738. (store.h)
  1739.     - currentcacheparams only returned 2 values instead of 3.
  1740. (zfont.c)
  1741.     - ustroke popped one element too many off the stack if a matrix was
  1742. supplied.  (zupath.c)
  1743.     - inu[eo]fill popped one element too many off the stack.
  1744. (zupath.c)
  1745.     - The color rendering dictionary was initialized to null rather
  1746. than a valid dictionary.  (gs_lev2.ps)
  1747.     - An invalid IODevice resource named "9" got created.  (gs_res.ps)
  1748.     - bytesavailable often caused an error rather than returning -1.
  1749. (zfileio.c, stream.c)
  1750.     - The insideness testing operators always returned true if the
  1751. aperture was defined by a user path rather than a point.  (zupath.c)
  1752.     - If INITIAL_DICTIONARIES was defined in the makefile, the
  1753. definition of the initial_dictionaries array was missing a comma.
  1754. (iinit.c)
  1755.     - Even if userdict appeared in INITIAL_DICTIONARIES, gs_init.ps set
  1756. its maxlength to 200.  (gs_init.ps)
  1757.     - Setting a CIE color space left a garbage value on the stack.
  1758. (zcie.c)
  1759.     - If a file or filter was opened and then closed, opening a file
  1760. subsequently within a 'save' could lead to a memory access error in the
  1761. garbage collector.  (zfile.c)
  1762.     - Setting an Indexed or Separation color space could cause a crash
  1763. either in the garbage collector or when printing out the e-stack.
  1764. (icsmap.h, zcsindex.c, zcssepr.c)
  1765.     - Invoking a filter with an invalid data source or sink could cause
  1766. a memory access error (bug introduced in 3.20).  (zfilter.c)
  1767.     - Invoking stringwidth on a font whose BuildChar procedure did a
  1768. save could cause a memory manager error or infinite loop, because
  1769. stringwidth attempted to use an inapplicable shortcut.  (gschar.c)
  1770.     - The bounding box for rendering stroked Type 1 characters didn't
  1771. take square caps and miter joins into account.  (gs_type1.ps)
  1772.     - Invoking filter with DCTDecode or DCTEncode could cause an
  1773. addressing error if no dictionary argument was supplied.  (zfdctd.c,
  1774. zfdcte.c)
  1775.     - The Generic resource, the Font resource, and half a dozen
  1776. resources with no predefined instances all shared the same Instances
  1777. dictionary.  (gs_res.ps)
  1778.     - The temporary null device allocated for stringwidth was never
  1779. freed.  (gschar.h, gschar.c, zchar.c)
  1780.     - Internal operators, and structures that might be freed on stack
  1781. unwinding, could "escape" from the e-stack.  (zcontrol.c, ztype.c)
  1782.     - makefont and scalefont didn't properly handle a font whose
  1783. Encoding had been changed.  (bfont.h, zfont.c, zfont2.c)
  1784.     - Type 1 fonts with PaintType = 2 incorrectly checked for an xfont.
  1785. (gxfont.h, gschar.c, gsfont.c, zchar1.c, zfont1.c, zfont2.c)
  1786.     - Specifying a string argument with -d...=(...) or -d...=<...>
  1787. would cause an invalidaccess error.  (gs.c)
  1788.     - The environment for encapsulated jobs didn't rebind quit to stop
  1789. in userdict.  (gs_lev2.ps)
  1790.     - restore didn't deal properly with open files on the e-stack.
  1791. (zvmem.c)
  1792.     - Even with the '-' switch, Ghostscript would try to read ahead in
  1793. the input stream rather than processing input character-by-character.
  1794. (ziodev.c)
  1795.     - If an error occurred with a unreadable dictionary on any stack,
  1796. the standard error printer would get into an error loop and exit the
  1797. interpreter.  (gs_init.ps)
  1798.     - The for_roots macro in igc.c used ap rather than mem as its
  1799. second formal parameter.  (This typo had no effect on the executable
  1800. program.)  (igc.c)
  1801.     - If saving the stacks for an error caused a GC request, a value
  1802. could get stored into an improper variable on the C stack, causing havoc.
  1803. (interp.c)
  1804.     - setdash checked to make sure that the distance array had read
  1805. access; Adobe interpreters don't check this.  (zgstate.c)
  1806.     - The roots for gs_run_string and gs_interpret weren't registered
  1807. properly, which could cause a dangling reference in the case of a restore
  1808. whose save had been done earlier.  (gsmain.c, interp.c)
  1809.  
  1810. Adds an OpenOutputFile Boolean device parameter for printer devices; if
  1811. true, the device opens the OutputFile at the time the device is opened,
  1812. instead of waiting for the first showpage.  This helps with synchronization
  1813. when the OutputFile is a pipe.  (gdevprn.h, gdevprn.c)
  1814.  
  1815. Changes the BEGIN/END_OP_DEFS macros to require an explicit { and } at each
  1816. use.  (gsmain.c, interp.c, z*.c)
  1817.  
  1818. Arranges things so that the operators that the interpreter handles
  1819. specially are assigned the first N operator indices [internal change only].
  1820. (interp.h, iinit.c, interp.c)
  1821.  
  1822. Changes the operators max and min to .max and .min, to avoid conflicts with
  1823. PostScript programs that use these names for variables and also use 'bind'.
  1824. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE from programs that depend on
  1825. 'bind' binding in these operators; however, we have also defined procedures
  1826. max and min that just call the operators, which should take care of any
  1827. ordinary code.  (*.ps, zrelbit.c)
  1828.  
  1829. Streams
  1830. -------
  1831.  
  1832. Fixes bugs:
  1833.     - The pfb_state pointer in the eexecDecode filter state wasn't
  1834. marked as traceable for the garbage collector.  (sfilter.h)
  1835.     - The eexec decoding filter could access invalid memory or return
  1836. garbage under some conditions.  (Bug introduced in 3.12.)  (zmisc1.c)
  1837.     - The eexec decoding filter would incorrectly ask for more input if
  1838. the output buffer was full.  (seexec.c)
  1839.  
  1840. Library
  1841. -------
  1842.  
  1843. Fixes bugs:
  1844.     - Some compilers reserve the word 'try'.  (gshtscr.c)
  1845.     - Some compilers don't like line continuations (\) within a
  1846. preprocessor macro formal parameter list.  (gdevprn.h, gxdevice.h)
  1847.     - Memory devices created with an inverted palette (0=white,
  1848. 1=black) interchanged white and black in fill operations.  (gdevmem1.c)
  1849.     - The 'bits' variable in mem_mono_copy_mono was unused on
  1850. little-endian machines.  (gdevmem1.c)
  1851.     - Some garbage collector procedures were declared 'private'
  1852. inconsistently.  (gscie.c)
  1853.     - The new anti-aliased text capability accidentally caused all
  1854. characters to be oversampled.  (gschar.c)
  1855.     - Type 1 fonts with PaintType = 2 and StrokeWidth = 0 came out with
  1856. many pixels missing because of oversampling.  (gschar.c)
  1857.     - Type 1 font stem hints were not being processed correctly.
  1858. (gstype1.h, gxtype1.h, gstype1.c, gxhint2.c, gxhint3.c, gxpath.c)
  1859.     - The tracing message for 9/7 composite fonts incorrectly
  1860. identified them as 1/7 fonts.  (gschar0.c)
  1861.     - If a 1/7 or 9/7 composite font was a child of a non-modal font,
  1862. the font number of the child font was computed incorrectly.  (gschar0.c)
  1863.  
  1864. Splits up the various memory devices into one file per depth [internal
  1865. change only].  (gdevm*.c)
  1866.  
  1867. Version 3.20(beta) (10/31/94)
  1868. ==================
  1869.  
  1870. This version contains some support for a PDF interpreter; however, the PDF
  1871. code itself is not ready for release yet.  It also includes anti-aliased text
  1872. capability.  This release was not distributed to the public.
  1873.  
  1874. Documentation
  1875. -------------
  1876.  
  1877. Notes that the FAQ has moved to smallo.ruhr.de:pub/ghost/gs.faq.  (readme)
  1878.  
  1879. Documents various implementation limits.  (language.doc)
  1880.  
  1881. Procedures
  1882. ----------
  1883.  
  1884. Fixes bugs:
  1885.     - bcp.dev wasn't included in the list of dependencies for
  1886. level1.dev.  (gs.mak)
  1887.  
  1888. Changes the printout of version numbers so that it is always A.BC,
  1889. rather than A.B if C is zero.  (gs.c, gs_init.ps)
  1890.  
  1891. Utilities
  1892. ---------
  1893.  
  1894. Fixes bugs:
  1895.     - font2c didn't correctly handle Metrics or Metrics2 dictionaries
  1896. whose entries were arrays rather than scalars.  (font2c.ps, ccfont.h,
  1897. iccfont.c)
  1898.     - font2c didn't handle CDevProc.  (font2c.ps, ccfont.h, iccfont.c)
  1899.     - genconf could get a stack overflow on small machines.
  1900. (genconf.c)
  1901.  
  1902. Changes mergeini.ps so it can take arguments on the command line specifying
  1903. the input and output files.  (mergeini.ps)
  1904.  
  1905. Adds a gsdj500 shell script to parallel gsdj500.bat.  (gsdj500)
  1906.  
  1907. Drivers
  1908. -------
  1909.  
  1910. Fixes bugs:
  1911.     - The X driver didn't mask dynamically assigned colors properly, so
  1912. it could request the same color over and over again.  (gdevx.c)
  1913.  
  1914. Adds two alternate X Windows drivers, for helping debug drivers with other
  1915. color models:
  1916.     - x11alpha, an RGB device with 4-bit alpha capability (for
  1917.       copy_alpha only);
  1918.     - x11cmyk, a 1-bit-per-component CMYK device.
  1919. (devs.mak, gdevxalt.c)
  1920.  
  1921. Changes the left margin of the lj4dith driver to 0.26".  (gdevcdj.c)
  1922.  
  1923. Platforms
  1924. ---------
  1925.  
  1926. Fixes bugs:
  1927.     - If <sys/time.h> didn't exist, time_.h didn't always include
  1928. <time.h>.  (time_.h)
  1929.     - The OS/2 platform wouldn't compile.  (gdevpm.c)
  1930.     - The auxiliary VMS command files sometimes got blank lines
  1931. inserted when going through EOL conversion.  (vms.mak; delete gs_.com)
  1932.     - The VMS makefiles didn't include the Level 1 operators in
  1933. level1.dev.  (vms.mak)
  1934.     - The VMS gcc makefile didn't handle undefined DEVICE_DEVSn
  1935. variables properly.  (vms*.mak)
  1936.     - The VMS makefiles didn't recognize DEVICE_DEVS{1,2,5,7}.
  1937. (vms.mak)
  1938.  
  1939. At the request of a Unix expert, changes all the Unix shell scripts to use
  1940. exec gs ... "$@" rather than gs ... $*.  (gsnd, gsbj, gsdj, gslj, gslp)
  1941.  
  1942. Modifies the JPEG library so that it uses 4K less of the automatic data
  1943. segment in 16-bit environments.  (bcwin.mak, jpeg.mak, sjpeg.c, sjpegerr.c)
  1944.  
  1945. Adds the bmp drivers back into the 16-bit MS Windows executable, since they
  1946. will fit now.  (bcwin.mak)
  1947.  
  1948. Fonts
  1949. -----
  1950.  
  1951. Makes the font substitution algorithm recognize the word Roman as calling
  1952. for a serif font.  (gs_fonts.ps)
  1953.  
  1954. Interpreters
  1955. ------------
  1956.  
  1957. Fixes bugs:
  1958.     - The fix in 3.13 for the inexact function values at 0 didn't work.
  1959. (zcontrol.c)
  1960.     - Level 1 configurations referenced an undefined procedure
  1961. gs_currenthalftone.  (gsht.c, gsht1.c)
  1962.     - Specifying any device properties (including -r and -g) on the
  1963. command line caused an error.  (gs_init.ps)
  1964.     - The forward declaration of cfont_name_array_create was
  1965. incorrect.  (iccfont.c)
  1966.     - save and restore could get called before the graphics state stack
  1967. had been initialized properly.  (gs_mex_e.ps)
  1968.     - Some encodings weren't loaded properly.  (gs.mak, gs_mex_e.ps,
  1969. gs_mro_e.ps, gs_pdf_e.ps, gs_wan_e.ps)
  1970.     - Zero-height images were allowed, but zero-width images
  1971. weren't.  (zpaint.c)
  1972.     - Neither zero-width nor zero-height images popped their
  1973. arguments from the operand stack.  (zpaint.c)
  1974.     - lib_file_fopen overwrote its file name argument, causing havoc
  1975. with @-files.  (gxiodev.h, gdevpipe.c, gsiodev.c, zfile.c)
  1976.     - The garbage collector got confused if there were any arrays or
  1977. dictionaries with 8K or more elements.  (igcref.c)
  1978.     - >> could leave the stacks in a questionable state if it failed.
  1979. (gs_init.ps)
  1980.     - The Category resource category didn't implement undefineresource.
  1981. (gs_res.ps)
  1982.     - When the token operator read the last token from a string, it
  1983. left an unchanged string on the stack instead of an empty string.
  1984. (stream.c)
  1985.     - noaccess didn't give an invalidaccess error when applied to the
  1986. permanent dictionaries.  (dstack.h, idict.c, ztype.c)
  1987.     - Overflowing the exec stack wasn't handled properly.  (istack.h,
  1988. istack.c)
  1989.     - The garbage collector cleared the cached value pointers in names,
  1990. causing interpretation to slow down substantially.  (idict.c, igc.c,
  1991. iname.c)
  1992.     - 0 dict created a dictionary with a maxlength of 1.  (idict.c)
  1993.  
  1994. Changes the default size of the execution stack from 150 to 250, to match
  1995. the Adobe "typical" value.  (interp.c)
  1996.  
  1997. Moves the operator definitions out of the automatic data segment.
  1998. (opdef.h, iinit.c, z*.c)
  1999.  
  2000. Adds operators that allow creation of objects in system space:
  2001. .systemvmstring, .systemvmarray, .systemvmpackedarray, .systemvmdict,
  2002. .systemvmcheck.  (zsysvm.c)
  2003.  
  2004. Renames gcdefs.h as gscdefs.h.
  2005.  
  2006. Allocates names in system space rather than global space.  (gsmain.c)
  2007.  
  2008. Changes the memory manager so that it allows programs to create objects in
  2009. system space.  (iref.h, iutil.h, ivmspace.h, ...)
  2010.  
  2011. Changes the implementation of filters so they appear in their own
  2012. dictionary named filterdict.  (gs_init.ps, z*.c)
  2013.  
  2014. Changes the implementation of color spaces so each one has its own
  2015. setcolorspace procedure, defined in a new dictionary named
  2016. colorspacedict.  (gs_lev2.ps, z*.c)
  2017.  
  2018. Adds a new debugging switch, $, that always initializes all fields in a
  2019. ref, in order to keep Purify happy.  (store.h)
  2020.  
  2021. Library
  2022. -------
  2023.  
  2024. Fixes bugs:
  2025.     - The page size for image devices was always set to (0, 0).
  2026. (gsdevice.c)
  2027.     - The PageSize computation in gx_default_put_params could overflow
  2028. on 16-bit machines.  (gsdparam.c)
  2029.     - An omitted 'static' on an initialized array caused a compiler
  2030. error.  (gxccman.c)
  2031.     - If interpolated image rendering was requested but not
  2032. actually carried out, gs_image_cleanup could attempt to free a random
  2033. pointer.  (gsimage.c)
  2034.     - Some compilers only retain 23 characters of procedure names, but
  2035. some procedure names weren't unique in the first 23 characters.  (gscie.c,
  2036. gscolor.c, gscolor1.c, gxcmap.c)
  2037.     - The garbage collector didn't trace device colors properly.
  2038. (gxdcolor.h, gzht.h, gsimage1.c, gspcolor.c, gxcht.c, gxcmap.c, gxdraw.c,
  2039. gxht.c)
  2040.     - For CMYK devices, the transfer functions were being applied to
  2041. the CMYK values rather than the complemented RGBW values.  (gxcmap.c)
  2042.     - Memory devices used their own color mapping procedures rather
  2043. than those of the target; this could cause incorrect colors for patterns on
  2044. devices with more than 1 bit per pixel.  (gxdevmem.h, gdevmem1.c, gdevpm.c,
  2045. gdevprn.c, gdevwdib.c, gschar.c, gsdevice.c, gxccache.c, gxccman.c,
  2046. gxclip2.c, gxclread.c, gxpcmap.c)
  2047.     - The garbage collector didn't trace image enumerators properly in
  2048. the image_render_simple case.  (gsimage.c)
  2049.     - stroke produced different-looking output for thin (zero-width)
  2050. lines depending on whether or not clipping was invoked.  (gxstroke.c)
  2051.     - If a clipping list changed from multiple rectangles to a single
  2052. rectangle, it could fail to clip properly thereafter.  (gxacpath.c)
  2053.  
  2054. Adds two new device procedures: alpha_bits and copy_alpha.  This change is
  2055. backward-compatible for all existing devices.  (gdevmem.h, gxdevice.h,
  2056. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  2057.  
  2058. Changes the implementation of color halftones so that, when appropriate, it
  2059. generates a single cell and uses the device tile_rectangle procedure.
  2060. (gzht.h, gsht.c, gxcht.c, gxclist.c, gxclread.c)
  2061.  
  2062. Adds partial support for the Orientation page device parameter.
  2063. (gsdevice.c)
  2064.  
  2065. Adds support for anti-aliased characters using 2 or 4 bits of alpha.
  2066. (gxfcache.h, gschar.c, gxccache.c)
  2067.  
  2068. Version 3.13(private) (10/3/94)
  2069. =====================
  2070.  
  2071. This release was created for a customer; it was not distributed to the
  2072. public.
  2073.  
  2074. Documentation
  2075. -------------
  2076.  
  2077. Notes in make.doc that the file names in the IJG archive distributed with
  2078. Ghostscript do not include the gsA.BC/ prefix.  (make.doc)
  2079.  
  2080. Adds a cross-reference to make.doc to the Watcom makefiles.  (watc.mak,
  2081. watcwin.mak, wccommon.mak)
  2082.  
  2083. Procedures
  2084. ----------
  2085.  
  2086. Fixes bugs:
  2087.     - The makefile rule for gconfig.h et al had a couple of blank lines
  2088. in the middle of it.  (gs.mak)
  2089.  
  2090. Utilities
  2091. ---------
  2092.  
  2093. Fixes bugs:
  2094.     - wrfont.ps didn't add a lenIV entry to the Private dictionary if
  2095. it was needed.  (wrfont.ps)
  2096.  
  2097. Adds a packfile.ps utility that allows compressing multiple files into a
  2098. single file for environments with very little permanent storage.
  2099. (gs_pfile.ps, packfile.ps, wrfont.ps)
  2100.  
  2101. Drivers
  2102. -------
  2103.  
  2104. Fixes bugs:
  2105.     - The {tiff,fax}{g32d,g4} devices could produce incorrect output.
  2106. See under Streams below.
  2107.     - The dfax drivers referred to the obsolete structure member
  2108. EncodedEOLAlign.  (gdevdfax.c)
  2109.  
  2110. Changes the default bit order for TIFF/F output to little-endian, which is
  2111. apparently what the majority of TIFF decoders like best.  The bit order for
  2112. the fax drivers is still big-endian.  (gdevdfax.c, gdevtfax.c)
  2113.  
  2114. Platforms
  2115. ---------
  2116.  
  2117. Fixes bugs:
  2118.     - The VMS build script used -a rather than -w for creating
  2119. gconfig_.h.  (vms.mak)
  2120.     - The VMS build script didn't create gconfigv.h.  (vms.mak)
  2121.     - The VMS Fontmap had incorrect entries for the Bitstream Charter
  2122. fonts.  (fontmap.vms)
  2123.     - The VMS MODULES.LIS file assumed the JPEG library files were in
  2124. directory JPEG rather than JPEG-5.  (modules.lis)
  2125.  
  2126. Fonts
  2127. -----
  2128.  
  2129. Fixes bugs:
  2130.     - Using DISKFONTS resulted in an invalidaccess error.
  2131. (gs_fonts.ps)
  2132.  
  2133. Interpreter
  2134. -----------
  2135.  
  2136. Fixes bugs:
  2137.     - The standard transfer function considered gray values above
  2138. roughly 0.994 equivalent to white; 0.999 is a better value.  (gs_init.ps)
  2139.     - The transfer, black generation, and undercolor removal functions
  2140. gave slightly inexact results for an input value of 0.  (zcolor.c,
  2141. zcontrol.c)
  2142.     - setpagedevice gave an /undefined error if it did not recognize a
  2143. key, rather than ignoring the key.  (zdevice.c, gs_init.ps, gs_lev2.ps,
  2144. gs_setpd.ps)
  2145.  
  2146. Changes .putdeviceparams to take an additional argument, a Boolean that
  2147. says whether or not unrecognized keys should be reported as /undefined
  2148. errors.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no user-written
  2149. code should be calling .putdeviceparams.  (zdevice.c)
  2150.  
  2151. Streams
  2152. -------
  2153.  
  2154. Fixes bugs:
  2155.     - The Group 3 2-D and Group 4 fax encoders could emit incorrect
  2156. output.  (scfe.c)
  2157.     - The algorithm for constructing optimal Huffman codes could
  2158. produce invalid codes in some rare cases.  (shcgen.c)
  2159.  
  2160. Library
  2161. -------
  2162.  
  2163. Fixes bugs:
  2164.     - Rectangles closed with lineto rather than closepath weren't
  2165. recognized as rectangles.  (This only affected performance, not
  2166. functionality.)  (gxpath2.c)
  2167.     - The xfont lookup_font procedure could get called with a matrix
  2168. whose translation components had never been initialized.  (gxccman.c)
  2169.     - Some compilers don't allow \ in the formal argument list of a
  2170. preprocessor macro.  (gdevprn.h, gxdevice.h)
  2171.  
  2172. Version 3.12 (9/29/94)
  2173. ============
  2174.  
  2175. This is another bug fix release, the first Level 2 release that we believe
  2176. is reasonably reliable.
  2177.  
  2178. Documentation
  2179. -------------
  2180.  
  2181. Adds some text warning about making copies of the makefile.  (make.doc)
  2182.  
  2183. Procedures
  2184. ----------
  2185.  
  2186. Fixes bugs:
  2187.     - There were a number of unnecessary dependencies on $(MAKEFILE) in
  2188. gs.mak, left over from before the existence of gconfigv.h.  (gs.mak)
  2189.     - JPEGSRC was defined in gs.mak rather than in jpeg.mak.  (gs.mak,
  2190. jpeg.mak)
  2191.  
  2192. Changes the version numbering scheme back to A.BC, since people seem to be
  2193. adapting to the change, and this allows using the version number directly
  2194. as a MS-DOS directory name.  (gconfig.c, gdevtfax.c, gs.c, gs_init.ps)
  2195.  
  2196. Updates the JPEG library to version 5 (official release) of the IJG code.
  2197. (jpeg/*, jpeg.mak)
  2198.  
  2199. Drivers
  2200. -------
  2201.  
  2202. Fixes bugs:
  2203.     - The TIFF/F driver put out invalid PageNumber and Software
  2204. entries.  (gdevtifs.h, gdevtfax.c)
  2205.     - The TIFF/F and fax Group 3 2-D drivers used K=3 and K=5 instead
  2206. of K=2 and K=4.  (gdevtfax.c)
  2207.     - The TIFF/F and fax Group 3 2-D drivers emitted improperly aligned
  2208. output.  (See under Streams below.)
  2209.     - The MS Windows driver didn't resize the window properly in
  2210. response to changing the device parameters.  (gdevmswn.c)
  2211.  
  2212. Because of complementary bugs in various C compilers, changes all the
  2213. non-printer devices to use a different set of macros.  (gdevmem.h,
  2214. gdevpcfb.h, gdevprn.h, gdevsvga.h, gxdevice.h, gdev{3b1, bgi, herc, l256,
  2215. pe, pm, sun, vglb, wddb, wdib, wprn, x}.c, gsdevice.c, gxacpath.c,
  2216. gxclip2.c, gxcpath.c, gxpcmap.c, zupath.c)
  2217.  
  2218. Changes the X11 driver to ignore the "margins" specified by Ghostview.
  2219. This is apparently necessary for Ghostview to handle landscape display
  2220. properly.  (gdevxini.c)
  2221.  
  2222. Adds a WindowID parameter to the X11 device, to allow setting the window
  2223. for the output.  (gdevx.h, gdevx.c, gdevxini.c)
  2224.  
  2225. Platforms
  2226. ---------
  2227.  
  2228. Fixes bugs:
  2229.     - The definition of BEGINFILES in os2.mak occurred too late in the
  2230. file to have the desired effect.  (os2.mak)
  2231.  
  2232. Interpreter
  2233. -----------
  2234.  
  2235. Fixes bugs:
  2236.     - Updating the list of allocated file objects at a restore didn't
  2237. clear the prev pointer of the new head, which could cause the garbage
  2238. collector to encounter an invalid pointer.  (Bug introduced by .forgetsave
  2239. in 3.0.3.)  (zfile.c)
  2240.  
  2241. Streams
  2242. -------
  2243.  
  2244. Fixes bugs:
  2245.     - The CCITTFaxEncode filter with K > 0 and EncodedByteAlign = true
  2246. incorrectly aligned the 1-D/2-D bit as the last bit of a byte, rather than
  2247. the first bit.  (scfx.h, scfe.c)
  2248.     - eexec could loop indefinitely under certain conditions.
  2249. (seexec.c)
  2250.     - eexec's algorithm for recognizing text vs. binary encoding didn't
  2251. work properly in some cases that don't conform to the Adobe Type 1 Font
  2252. Format documentation.  (seexec.c)
  2253.     - Closing a stream didn't clear out the strm and state pointers,
  2254. which could cause invalid accesses by the garbage collector.  (stream.c)
  2255.  
  2256. Library
  2257. -------
  2258.  
  2259. Fixes bugs:
  2260.     - fill_loop could loop indefinitely under certain conditions.
  2261. (Introduced by a bug fix in 3.1.)  (gxfill.c)
  2262.     - fill/eofill sometimes failed to paint parts of a region.
  2263. (Introduced by a bug fix in 3.1.1.)  (gxfill.c)
  2264.     - Non-convex clipping paths sometimes omitted thin horizontal
  2265. slivers of the region.  (Probably introduced by the "thin graphics" fix in
  2266. 3.1.)  (gxacpath.c)
  2267.  
  2268. Version 3.1.1 (9/25/94)
  2269. =============
  2270.  
  2271. This is primarily a bug fix release.  It was originally intended for some
  2272. commercial licensees, but beta testers found too many problems with it.
  2273.  
  2274. Documentation
  2275. -------------
  2276.  
  2277. Fixes bugs:
  2278.     - NEWS didn't indicate that there was a non-backward-compatible
  2279. change in the gx_device structure -- specifically, that l_margin,
  2280. b_margin, r_margin, and t_margin were replaced by macros named
  2281. dev_l_margin(dev), etc.  (news)
  2282.  
  2283. Describes the two-phase commit requirement for device put_params
  2284. procedures.  (drivers.doc, gsparam.h)
  2285.  
  2286. Procedures
  2287. ----------
  2288.  
  2289. Fixes bugs:
  2290.     - The new S macro in genarch.c didn't work on compilers that do
  2291. macro substitution within string constants (which is forbidden by the ANSI
  2292. standard).  (genarch.c)
  2293.  
  2294. Drivers
  2295. -------
  2296.  
  2297. Fixes bugs:
  2298.     - Driver put_params implementations didn't observe a "two-phase
  2299. commit" discipline; this could lead to the current device in the graphics
  2300. state being closed, and other inconsistencies.  (gsparam.h, gxdevice.h,
  2301. iparam.h, gdevbit.c, gdevcdj.c, gdevmswn.c, gdevpcfb.c, gdevpm.c,
  2302. gdevprn.c, gdevx.c, gsdevice.c, gsdparam.c, zdevice.c, ziodev2.c, zmisc2.c)
  2303. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, it only affects
  2304. put_params implementations, of which there are few.
  2305.  
  2306. NOTE THE NON-BACKWARD-COMPATIBLE CHANGE IN THE gx_device STRUCTURE UNDER
  2307. 'Documentation' ABOVE.  (gdevescp.c, gdevsj48.c, gdevsppr.c, gdevxini.c)
  2308.  
  2309. Platforms
  2310. ---------
  2311.  
  2312. Ensures that the Unix makefiles all include all the variants of TIFF/F and
  2313. fax drivers.  (ansihead.mak, cc-head.mak, gcc-head.mak)
  2314.  
  2315. Interpreter
  2316. -----------
  2317.  
  2318. Fixes bugs:
  2319.     - Most of the contents of statusdict were missing when
  2320. running a Level 2 system in Level 1 mode.  (zmisc2.c)
  2321.  
  2322. Version 3.1 (9/20/94)
  2323. ===========
  2324.  
  2325. This release finally includes a usable subset implementation of
  2326. setpagedevice, including all the machinery needed to address the
  2327. long-standing "margins" problems.
  2328.  
  2329. Documentation
  2330. -------------
  2331.  
  2332. Fixes bugs:
  2333.     - t_oparray objects weren't identified as behaving differently
  2334. depending on whether they were marked executable.  (iref.h)
  2335.     - drivers.doc had gx_color_value instead of gx_color_index in
  2336. the description of color mapping.  (drivers.doc)
  2337.  
  2338. Updates drivers.doc to reflect the change from static_procs to
  2339. std_procs in the gx_device structure.  (drivers.doc)
  2340.  
  2341. Procedures
  2342. ----------
  2343.  
  2344. Fixes bugs:
  2345.     - The commands for building the JPEG library used rm instead
  2346. of rm -f.  (jpeg.mak)
  2347.  
  2348. Drivers
  2349. -------
  2350.  
  2351. Fixes bugs:
  2352.     - The X Windows driver hadn't been updated to reflect some
  2353. name changes in members of the gx_color_info structure.  (gdevx.h,
  2354. gdevx.c, gdevxini.c)
  2355.  
  2356. Changes all non-printer drivers so that they use the new std_device_body
  2357. macros.  (gdev*.c)
  2358.  
  2359. Adds a print_page_copies procedure for printer drivers, allowing the
  2360. driver to receive num_copies.  (gdevprn.h, gdevprn.c)
  2361.  
  2362. Interpreter
  2363. -----------
  2364.  
  2365. Fixes bugs:
  2366.     - ref_memory_enum/reloc_ptrs were declared inconsistently.
  2367. (ialloc.c)
  2368.     - If the operand of restore was invalid, the restore did
  2369. nothing, instead of giving a typecheck.  (zvmem.c)
  2370.     - In Level 2, the margins and setmargins compatibility
  2371. operators were defined incorrectly in terms of current/setpagedevice.
  2372. (gs_lev2.ps)
  2373.  
  2374. Enables .makeoperator to make local operators as well as global ones.
  2375. (opdef.h, iinit.c, zmisc.c, zpacked.c)
  2376.  
  2377. Finishes implementing the TransferFunction entry in halftone
  2378. dictionaries.  (zht1.c, zht2.c)
  2379.  
  2380. Adds .set/currentfilladjust operators for access to the fill
  2381. adjustment parameter in the graphics state.  (zgstate.h)
  2382.  
  2383. Removes the deviceinitialmatrix operator.  (zdevice.c)
  2384.  
  2385. Changes defaultmatrix from a procedure to an operator.  (zmatrix.c)
  2386.  
  2387. Sets the fill adjustment to 0.5 for high-resolution devices, effectively
  2388. implementing Adobe's any-part-of-pixel filling rule.  (gs_init.ps)
  2389.  
  2390. Implements a small but useful subset of setpagedevice.  (gs_lev2.ps)
  2391.  
  2392. Streams
  2393. -------
  2394.  
  2395. Fixes bugs:
  2396.     - The eexec decoder incorrectly concluded that its data was
  2397. in hex form if the first data character was whitespace.  (seexec.c)
  2398.  
  2399. Library
  2400. -------
  2401.  
  2402. Fixes bugs:
  2403.     - Thin graphics (e.g., lines or rectangles) with small angles
  2404. relative to the X axis rendered with many points missing.  (gxdraw.c,
  2405. gxfill.c)
  2406.     - The character cache rejected oversampled characters if the
  2407. scaled-up size was too large, even if the scaled-down size wasn't.
  2408. (gxchar.h, gschar.c, gxccache.c, gxccman.c)
  2409.     - A call on sqrt with an integer argument didn't promote it
  2410. explicitly to double, which is required for non-ANSI compilers.
  2411. (gshtscr.c)
  2412.  
  2413. Finishes implementing the TransferFunction entry in halftone
  2414. dictionaries.  (gsht1.c)
  2415.  
  2416. Modifies the character oversampler so it can produce gray scale
  2417. output instead of a 1-bit mask.  We don't actually make use of this
  2418. ability yet.  (gxccman.c)
  2419.  
  2420. Adds gs_set/currentfilladjust for access to the fill adjustment
  2421. parameter in the graphics state.  (gsstate.h, gsstate.c)
  2422.  
  2423. Changes the names of the last few routines beginning with gz_ to
  2424. begin with gx_ instead.  (gzdraw.h => gxdraw.h, gsimage*.c, gxdraw.c,
  2425. gxfill.c, gxstroke.c)
  2426.  
  2427. Properly implements the PageSize, Margins, .HWMargins, and ImagingBBox
  2428. device parameters for all devices.  (gscoord.c, gsdparam.c, gspath2.c)
  2429. Implements the NumCopies device parameter for printer devices.
  2430. (gdevprn.c)
  2431.  
  2432. Implements std_device_body macros to help insulate statically initialized
  2433. non-printer devices from future changes in the gx_device structure.
  2434. (gxdevice.h, ... many .c files ...)
  2435.  
  2436. Version 3.0.3 (9/16/94)
  2437. =============
  2438.  
  2439. This is primarily a bug fix release; it also implements most of the
  2440. remaining Level 2 loose ends (except for setpagedevice).
  2441.  
  2442. Documentation
  2443. -------------
  2444.  
  2445. Changes code that refers to "Ghostscript" to use the correct product
  2446. name from gs_product.  (gs.mak, gdevpbm.c, gdevsun.c, gswppm.c)
  2447.  
  2448. Documents the new .forgetsave operator.  (language.doc)
  2449.  
  2450. Clarifies the distinction between commercial licensing and single-copy
  2451. end-user sales.  (readme)
  2452.  
  2453. Procedures
  2454. ----------
  2455.  
  2456. Fixes bugs:
  2457.     - The compilation rule for gdevadmp.c was missing from the
  2458. makefile.  (devs.mak)
  2459.  
  2460. Changes the version numbering scheme back to A.B.C, since too many
  2461. people got confused by the change to A.BC.  (gconfig.c, gs.c,
  2462. gs_init.ps)
  2463.  
  2464. Adds a -dNOGC switch to prevent the garbage collector from being
  2465. enabled.  (gs_init.ps)
  2466.  
  2467. Utilities
  2468. ---------
  2469.  
  2470. Removes the ps2image utility, since the new psmono driver replaces it.
  2471.  
  2472. Drivers
  2473. -------
  2474.  
  2475. Fixes bugs:
  2476.     - The TIFF drivers incorrectly assumed that short and ulong
  2477. were the same size as TIFF_short and TIFF_ulong, causing problems on
  2478. 64-bit systems.  (gdevtfax.c)
  2479.     - The EGA/VGA driver didn't do gray halftones properly if it
  2480. was configured as a monochrome or 8-color device.  (gdevpcfb.h)
  2481.     - The comment in gdevevga.c incorrectly identified the file
  2482. as gdevpcfb.c.  (gdevevga.c)
  2483.  
  2484. Changes the PC display drivers to save and restore more of the BIOS
  2485. state.  (gdevpcfb.h, gdevevga.c, gdevpcfb.c, gdevsco.c)
  2486.  
  2487. Adds a new psmono driver that does the same thing as ps2image, faster
  2488. and more conveniently.  (gdevpsim.c)
  2489.  
  2490. Replaces the X11 driver with the one from 3.01, since the color
  2491. handling rewrite in 3.02 introduced serious bugs.  (gdevx.h, gdevx.c,
  2492. gdevxini.c)
  2493.  
  2494. Platforms
  2495. ---------
  2496.  
  2497. Changes the definition of gx_no_color_index to work around one of the
  2498. bugs in the SGI Irix compiler.  (gxdcolor.h)
  2499.  
  2500. Rewrites the installation commands in unix-end.mak so they don't have
  2501. very long lines.  (unix-end.mak)
  2502.  
  2503. Fonts
  2504. -----
  2505.  
  2506. Fixes bugs:
  2507.     - Fonts that used 2- or 4-element arrays in the Metrics dictionary
  2508. interpreted the width and side bearing interchanged with each other.
  2509. (gs_type1.ps)
  2510.     - Setting FONTPATH on the command line didn't work.  (gs_fonts.ps)
  2511.  
  2512. Streams
  2513. -------
  2514.  
  2515. Fixes bugs:
  2516.     - The stream position wasn't updated properly if sgets
  2517. crossed a buffer boundary.  (stream.c)
  2518.  
  2519. Extends the BoundedHuffman filters so they can encode and decode runs of
  2520. zeros specially, and so they mark and detect EOD.  (sbhc.h, shc.h, sbhc.c,
  2521. zfilter2.c)
  2522.  
  2523. Provides an alternate implementation of file streams which doesn't use
  2524. stdio buffering and which works around the System V "interrupted system
  2525. call" problem.  (stream.c, sfile.c, sfileno.c)
  2526.  
  2527. Increases the maximum LZW output code from 3000 to 4095.  (slzwe.c)
  2528.  
  2529. Interpreter
  2530. -----------
  2531.  
  2532. Fixes bugs:
  2533.     - Opening a filter on a file of the wrong access type (read
  2534. vs. write) didn't cause an error.  (stream.h, sbasic.c, zfile.c, zfileio.c)
  2535.     - save performed an extra, unnecessary gsave.  (zvmem.c)
  2536.     - sethalftone always gave a /undefined error.  (zht2.c)
  2537.     - eexec decryption read too much data from the input -- in
  2538. Level 2, it isn't allowed to read 512 characters ahead.  (sfilter.h,
  2539. strimpl.h, seexec.c, sstring.c, zfileio.c, zmisc1.c)
  2540.     - The scanner was too aggressive about allocating additional
  2541. space for strings on small machines.  (iscan.c)
  2542.     - The AccurateScreens flag in Type 1 and Type 2 halftone
  2543. dictionaries was being ignored.  (zht2.c)
  2544.     - The Level 2 definition of margins in statusdict didn't
  2545. allow for Margins being undefined in the current page device.
  2546. (gs_lev2.ps)
  2547.     - The Interpolate flag was being ignored in image
  2548. dictionaries.  [implemented in library]
  2549.     - The TransferFunction option was being ignored in halftone
  2550. dictionaries.  (zht2.c)
  2551.     - Type 5 halftones usually didn't work, because they called
  2552. the wrong (or an invalid) spot function.  (zht2.c)
  2553.  
  2554. Implements a .forgetsave operator that effectively causes a given save (and
  2555. all more recent saves) to disappear.  (isave.h, stream.h, isave.c, zfile.c,
  2556. zvmem.c)
  2557.  
  2558. Library
  2559. -------
  2560.  
  2561. Fixes bugs:
  2562.     - In the 1-operand form of the image operator, a Decode value of [1
  2563. 0] with 8-bit sample values and a single data source was treated the same
  2564. as [0 1].  (gsimage1.c)
  2565.     - Some Monotype fonts put a callsubr between an OtherSubr call and
  2566. the following 'pop' opcodes (which the Adobe documentation forbids); The
  2567. Type 1 font interpreter gave an invalidfont error rather than allowing
  2568. this.  (gxtype1.h, gstype1.c)
  2569.     - Patterns didn't implement XStep and YStep properly.
  2570. (gxpcolor.h, gspcolor.c, gxclip2.c)
  2571.     - Clipping regions were sometimes 1 pixel too small at the edges;
  2572. this could cause vertical and horizontal lines produced by certain Windows
  2573. drivers to disappear.  (gzpath.h, gxacpath.c, gxcpath.c, gxfill.c)
  2574.     - Oversampling cached rotated characters produced very bad
  2575. results (many dropouts).  (gschar.c)
  2576.     - Rendering a DeviceGray color on a DeviceCMYK device applied
  2577. the transfer function to all 4 components, not just to the K
  2578. component.  (gxcmap.c)
  2579.     - A screen specified with setcolorscreen didn't take effect
  2580. properly on CMYK devices.  (gsht.c)
  2581.  
  2582. Implements the Interpolate option for images.  Currently this is only
  2583. implemented for portrait-orientation images (no rotation, skewing, or
  2584. X-reflection).  (gscspace.h, gximage.h, gscie.c, gscolor.c, gscolor1.c,
  2585. gscolor2.c, gspcolor.c, gxcmap.c, gsimage.c, gsimage2.c, gsimage3.c)
  2586.  
  2587. Implements AccurateScreens, but only in the form of a larger limit on
  2588. the size of a halftone super-cell.  (gxht.h, gsht.c, gsht1.c)
  2589.  
  2590. Starts to implement the TransferFunction option for halftones.
  2591. (gzht.h, gzstate.h, gsht.c, ...too many others to list...)
  2592.  
  2593. Version 3.02 (8/30/94)
  2594. ============
  2595.  
  2596. This is another bug fix release.  It was distributed only to a few people,
  2597. since the new X Windows color mapping code is not reliable yet.
  2598.  
  2599. Documentation
  2600. -------------
  2601.  
  2602. Fixes bugs:
  2603.     - make.doc, but not unixtail.mak, called for setting PLATFORM=unix_
  2604. on SVR4 platforms.  (unixtail.mak)
  2605.     - drivers.doc contained some wording that suggested that
  2606. Ghostscript always used RGB colors internally.  (drivers.doc)
  2607.     - The definition of gx_device in drivers.doc had gotten out of sync
  2608. with gxdevice.h.  (drivers.doc)
  2609.     - README claimed that Ghostscript is not compatible with the
  2610. VAX/VMS DEC C compiler, which is no longer true.  (readme)
  2611.  
  2612. Adds a new section on printer drivers to drivers.doc.  (drivers.doc)
  2613.  
  2614. Adds a large number of new display boards to the 800x600 SVGA section of
  2615. use.doc.  (use.doc)
  2616.  
  2617. Adds a bug report form to the README file.  (readme)
  2618.  
  2619. Notes that OSF/1 AXP systems require changing the definition of INSTALL
  2620. from install to installbsd.  (make.doc)
  2621.  
  2622. Procedures
  2623. ----------
  2624.  
  2625. Removes -Wno-uninitialized from the gcc flags, and fixes all the places (in
  2626. Aladdin's code only) that need to be fixed to pacify gcc after doing this.
  2627. (gcc-head.mak, gdevgif.c, gdevmem2.c, gdevpcl.c, gs.c, gsht1.c, gsimpath.c,
  2628. gsutil.c, gxclread.c, gxpcopy.c, gxstroke.c, idict.c, iscannum.c, stream.c,
  2629. zdevice2.c) (NOT FINISHED YET)
  2630.  
  2631. Adds a FAKEFONTS switch that makes fake entries in FontDirectory for
  2632. unloaded fonts, for the benefit of programs that think they can find all
  2633. the available fonts by scanning FontDirectory.  (gs_fonts.ps, gs_init.ps)
  2634.  
  2635. Utilities
  2636. ---------
  2637.  
  2638. Fixes bugs:
  2639.     - ps2epsi didn't work, because setdevice now erases the page.
  2640. (ps2epsi.ps)
  2641.     - ps2epsi didn't work, because -dNODISPLAY installs a null device
  2642. with 0 width and height.  The fix -- to remove the -dNODISPLAY -- is not
  2643. satisfactory, because it opens an unnecessary window.  (ps2epsi)
  2644.  
  2645. Drivers
  2646. -------
  2647.  
  2648. Fixes bugs:
  2649.     - gdev_fax_open was incorrectly declared static in gdevtfax.c,
  2650. causing the extern reference in the dfax drivers not to be resolved.
  2651. (gdevtfax.c)
  2652.     - devs.mak included a duplicate definition of gdevmswn_h.
  2653. (devs.mak)
  2654.     - The fax drivers didn't link properly in Level 1 systems, because
  2655. shc.c was omitted from their dependency list.  (gs.mak, devs.mak)
  2656.     - The TIFF/F drivers didn't set RowsPerStrip properly.
  2657. (gdevtfax.c)
  2658.     - The TIFF/F drivers didn't byte-align the EOL properly.  (scfx.h,
  2659. gdevdfax.c, gdevtfax.c, scfe.c, zfilter2.c)
  2660.     - The rule for compiling gdevpccm.c incorrectly specified
  2661. dependency on gs.h rather than gx.h.  (devs.mak)
  2662.     - The rule for compiling gdevtfax.c didn't include time_.h as a
  2663. dependency.  (devs.mak)
  2664.     - The mode 2 compression routine for the DeskJet/LaserJet printers
  2665. was broken.  (gdevpcl.c)
  2666.  
  2667. Removes the -O0 from the compilation rule for gdevsco.c, since it was
  2668. misplaced to begin with.  (devs.mak)
  2669.  
  2670. Adds a maxDynamicColors X resource to control dynamic allocation in the
  2671. color map.  Replaces the X color lookup algorithms with completely new
  2672. ones, for a substantial performance gain.  (gdevx.h, gdevx.c, gdevxini.c)
  2673.  
  2674. Adds PageNumber, Software, and DateTime entries to the TIFF/F drivers.
  2675. (gdevtifs.h, gdevtfax.c)
  2676.  
  2677. Changes the margins for the LaserJet 4 to 0.  (gdevdjet.c)
  2678.  
  2679. Adds a user-contributed LaserJet 4 driver that does Floyd-Steinberg
  2680. dithering.  (gdevcdj.c)
  2681.  
  2682. Platforms
  2683. ---------
  2684.  
  2685. Fixes bugs:
  2686.     - The exit codes for Ghostscript should be different on VMS.
  2687. (iastate.h, gs.c, gsmain.c, igc.c, igcref.c)
  2688.     - The VMS DEC C compiler declares malloc and free in stdlib.h, and
  2689. delete and unlink in stdlib.h.  (malloc_.h, stdio_.h)
  2690.     - st_prn_device wasn't defined, which upset the VMS linker even
  2691. though there were no references.  (gdevprn.h)
  2692.     - stdpre.h didn't bring in the right headers when running gcc on
  2693. SCO Unix, causing compilation warnings/errors.  (stdpre.h)
  2694.     - The definition of rename in gp_sysv didn't include const for the
  2695. arguments.  (gp_sysv.c)
  2696.     - The definition of gettimeofday in gp_sysv didn't return any
  2697. value.  (gp_sysv.c)
  2698.     - time_.h didn't work on MS-DOS systems.  (time_.h)
  2699.     - math_.h didn't include <math.h> when compiling with gcc on VMS
  2700. systems.  (math_.h)
  2701.     - DesqView/X doesn't have a 'cat' command, which caused problems in
  2702. the linking step.  (dvx-tail.mak)
  2703.  
  2704. Changes the definitions of popen in gdevpipe.c and gp_unix.c so they don't
  2705. specify the argument list.  This is an attempt to get around the fact that
  2706. there is no easy way to detect whether the available header files declare
  2707. popen correctly (with const arguments), incorrectly (with non-const
  2708. arguments), or not at all.  (gdevpipe.c, gp_unix.c)
  2709.  
  2710. Replaces VMS.MAK, VMS-CC.MAK, and VMS-AXP.MAK with new versions provided by
  2711. a user.  (vms.mak, vms-cc.mak, vms-axp.mak)
  2712.  
  2713. Changes the 16-bit Borland makefiles so their standard configuration is
  2714. Level 1 plus color.dev (CMYK color and colorimage).  (bc.mak, bcwin.mak)
  2715.  
  2716. Fonts
  2717. -----
  2718.  
  2719. Fixes bugs:
  2720.     - cfonts.mak still referred to some .gsf files that have been
  2721. replaced by .pfa files.  (cfonts.mak)
  2722.     - Compiled fonts got entered into FontDirectory, but didn't get
  2723. registered as resources.  (gs_ccfnt.ps)
  2724.     - The Cyrillic, Kana, Hershey .gsf, and URW fonts didn't include a
  2725. necessary systemdict begin/end, which caused them to fail in badly designed
  2726. environments.  (fonts/f*.gsf, fonts/h*.gsf, fonts/?0*.gsf)
  2727.  
  2728. Changes the default target directory in cfonts.mak from fonts/c to .;
  2729. changes the names of the Zapf Chancery compiled font procedures from c* to
  2730. zc*.  (cfonts.mak)
  2731.  
  2732. Adds more fonts from the Adobe Type Manager package for MS Windows to
  2733. Fontmap.ATM.  (fontmap.atm)
  2734.  
  2735. Adds the entire set of 35 standard fonts to the ccfonts feature in gs.mak;
  2736. removes all the compilation rules for compiled fonts, since these rules are
  2737. in cfonts.mak already.  (gs.mak)
  2738.  
  2739. Interpreter
  2740. -----------
  2741.  
  2742. Fixes bugs:
  2743.     - kshow executed a null, rather than the correct procedure, between
  2744. the characters of the string, and got a typecheck error at the end.
  2745. (zchar.c)
  2746.     - MultiMaster fonts computed their side bearing and width
  2747. incorrectly, producing incorrect output.  (zchar1.c)
  2748.     - There was no structure definition for gs_type1_state, so a GC
  2749. during the execution of an OtherSubrs procedure could scramble pointers in
  2750. the saved state.  (zchar1.c, zfont1.c; also affects library, see below)
  2751.     - kshow didn't work properly if the kerning procedure changed the
  2752. depth of the operand or dictionary stack.  (zchar.c)
  2753.     - If the element count for roll was too large by only 1 or 2, the
  2754. result was a crash rather than a rangecheck.  (zstack.c)
  2755.     - restore didn't undo currentgstate.  (igstate.h, store.h,
  2756. gsstate.c, zdevice2.c, zdps1.c, ztype.c)
  2757.     - The scanner didn't set the local bit properly in a suspended
  2758. state.  (iscan.c)
  2759.     - copypage disregarded #copies.  (gs_init.ps)
  2760.     - An incorrectly declared pointer led to addressing faults on
  2761. 16-bit systems.  (zchar1.c)
  2762.     - The cache for Separation colors was allocated with one element
  2763. too few.  (zcsindex.c)
  2764.  
  2765. Changes `executive' so that if an error other than EOF occurs in the
  2766. reading of the statement, the interpreter prints the error message, but
  2767. control remains in the executive loop.  (This isn't a very good fix; a
  2768. better one will require refactoring executive / execute / run.)
  2769. (gs_init.ps)
  2770.  
  2771. Changes dictionary undo saving to use the new ref_must_save macro [internal
  2772. change only].  (idict.c)
  2773.  
  2774. Moves configuration definitions from iinit.c to gconfig.c.  (gcdefs.h,
  2775. interp.h, gconfig.c, gs.c, iinit.c, zmisc2.c, gs.mak)
  2776.  
  2777. Moves =string from systemdict to userdict for Adobe compatibility.
  2778. (gs_init.ps)
  2779.  
  2780. Starts to implement the Interpolate flag in image dictionaries.  See under
  2781. Library below for restrictions.  (zpaint.c, zimage2.c)
  2782.  
  2783. Streams
  2784. -------
  2785.  
  2786. Fixes bugs:
  2787.     - stream_compact attempted to compact a read-only string being used
  2788. as the data source of a filter.  (sbasic.c, stream.c)
  2789.  
  2790. Adds an EncodedEOLAlign flag to the CCITTFaxEncode stream, to allow direct
  2791. generation of TIFF/F output.  (scfx.h, scfe.c, zfilter2.c)
  2792.  
  2793. Library
  2794. -------
  2795.  
  2796. Fixes bugs:
  2797.     - There was no structure definition for gs_type1_state, so a GC
  2798. during the execution of an OtherSubrs procedure could scramble pointers in
  2799. the saved state.  (gxfont1.h, gxtype1.h, gstype1.c, gxhint2.c)
  2800.     - A couple of calls had to discard const, but didn't include the
  2801. necessary cast.  (gxpcmap.c)
  2802.     - makeimagedevice refused to accept an empty image.  (gsdevice.c)
  2803.     - The extra parentheses around arguments in memory_.h caused some
  2804. compilers to fail.  (memory_.h)
  2805.     - Floating point overflows during coordinate conversion terminated
  2806. Ghostscript.  (gxfarith.h, gxfixed.h, gsmatrix.c, gsmisc.c)
  2807.     - Accents still weren't getting placed properly on characters
  2808. created with seac.  (gstype1.c, gxhint2.c)
  2809.     - The SGI C compiler couldn't handle the (perfectly legal)
  2810. definitions of dev_init_[open_]misc.  (gxdevice.h)
  2811.     - string_.h caused some problems with gcc on some versions of
  2812. Solaris.  (string_.h)
  2813.     - The halftone levels for color screens were computed incorrectly.
  2814. (gzht.h, gxdither.c)
  2815.     - Color screens sometimes had vertical stripes of solid color
  2816. interspersed.  (gxcht.c)
  2817.     - Colors could get mapped incorrectly if a compiler aggressively
  2818. (and incorrectly) reordered the computation of procedure arguments
  2819. involving the unit_frac macro.  (gxcmap.c)
  2820.     - setcachedevice[2] insisted that the corners of the bounding box
  2821. be given in the correct order, i.e., llx < urx and lly < ury.  (gschar.c)
  2822.     - The image operator gave a limitcheck on unrotated 1-bit-per-pixel
  2823. images whose width in device coordinates exceeded 65529.  (gsimage.c)
  2824.     - The garbage collector didn't trace the input data of an
  2825. in-progress image operator correctly.  (gsimage.c)
  2826.  
  2827. Changes the max_rgb and dither_rgb members of gx_device_color_info to
  2828. max_color and dither_colors, since Ghostscript now uses these for CMYK
  2829. devices as well.  Also changes dither_gray to dither_grays.  (gdevmem.h,
  2830. gdevprn.h, gxdevice.h, gdevbit.c, gdevcdj.c, gdevprn.c, gdevxini.c,
  2831. gsdparam.c, gxcht.c, gxcmap.c)
  2832.  
  2833. Starts to implement the Interpolate option for images.  Currently this is
  2834. only implemented for image, not imagemask, and only for rotations that are
  2835. multiples of 90 degrees (possibly with reflection).  (gsimage.h,
  2836. gsiscale.h, gximage.h, gsimage.c, gsimage1.c, gsiscale.c)
  2837.  
  2838. Starts to implement XStep and YStep in pattern dictionaries.  (gxdcolor.h,
  2839. gxpcolor.h, gspcolor.c, gxpcmap.c)
  2840.  
  2841. Version 3.01 (8/14/94)
  2842. ============
  2843.  
  2844. This is a patch release to fix early problems in release 3.0, and to clean
  2845. up a few known loose ends.
  2846.  
  2847. Documentation
  2848. -------------
  2849.  
  2850. Fixes bugs:
  2851.     - language.doc still documented the devicename procedure, which has
  2852. been withdrawn.  (language.doc)
  2853.     - drivers.doc didn't specify under what circumstances each
  2854. procedure could be called.  (drivers.doc)
  2855.     - current.doc said that setcachedevice and makeimagedevice wouldn't
  2856. accept packed arrays, but neither of these operators takes any array
  2857. arguments.  (current.doc)
  2858.     - current.doc said that definefont didn't interact properly with
  2859. the resource machinery, which apparently is no longer true.  (current.doc)
  2860.     - make.doc incorrectly gave the name of the DVX makefile as
  2861. dvx-djg.mak rather than dvx-gcc.mak.  (make.doc)
  2862.     - In one place, devices.doc incorrectly used -sBitsPerPixel= rather
  2863. than -dBitsPerPixel=.  (devices.doc)
  2864.  
  2865. Notes that a kernel bug in SCO Unix makes Ghostscript not work correctly in
  2866. some circumstances.  (use.doc)
  2867.  
  2868. Procedures
  2869. ----------
  2870.  
  2871. Fixes bugs:
  2872.     - devs.mak incorrectly referred to gdevjetp.c instead of
  2873. gdev3852.c.  (devs.mak)
  2874.     - The obsolete file gsprops.c was accidentally included in the
  2875. fileset.
  2876.  
  2877. Changes the version numbering scheme from A.BCC to A.B[C].  E.g., this
  2878. release will be 3.01, not 3.001.  (gs_init.ps, gs.c, iinit.c)
  2879.  
  2880. Adds the LaserJet 4 driver to all makefiles that already include the
  2881. LaserJet 3 driver.  (*.mak)
  2882.  
  2883. Adds the BJ-200 driver to all makefiles that already included the BJ-10e
  2884. driver.  (*.mak)
  2885.  
  2886. Splits the Unix 'install' target into install-exec and install-data.  Moves
  2887. the executable scripts from gsdatadir to a new directory scriptdir, which
  2888. defaults to bindir.  (ansihead.mak, cc-head.mak, gcc-head.mak,
  2889. unix-end.mak)
  2890.  
  2891. Utilities
  2892. ---------
  2893.  
  2894. Fixes bugs:
  2895.     - genconf had fixed buffer sizes built into it, which it could
  2896. overrun its working storage without checking.  (genconf.c)
  2897.  
  2898. Removes RCS or SCCS headers from two utility files.  (pj-gs.sh,
  2899. printafm.ps)
  2900.  
  2901. Drivers
  2902. -------
  2903.  
  2904. Fixes bugs:
  2905.     - The new dfaxhigh and dfaxlow drivers didn't set
  2906. state.EncodedByteAlign to false.  (gdevdfax.c)
  2907.     - The sunview driver assumed that the device would be open before
  2908. map_rgb_color was called.  (gdevsun.c)
  2909.     - The CP50 driver incremented page_count itself, rather than
  2910. letting the core library do it.  (gdevcp50.c)
  2911.     - The GIF driver(s) could loop indefinitely under certain
  2912. circumstances.  (gdevgif.c)
  2913.     - The Group 4 fax drivers incorrectly included end-of-line codes in
  2914. the output.  (gdevtfax.c, gdevdfax.c)
  2915.     - The Group 4 fax drivers could put out an EOB in the middle of the
  2916. data.  (scfe.c)
  2917.     - The DesignJet 650C driver didn't use the correct compression
  2918. mode.  (gdevcdj.c)
  2919.     - The Hercules and EGA/VGA/SVGA drivers computed the page height
  2920. incorrectly according to the A4 switch.  (gdevherc.c, gdevpcfb.h)
  2921.  
  2922. Changes the page_count and showpage_count members of the device structure
  2923. from int to long.  (gxdevice.h, gdevprn.c, gsdparam.c)
  2924.  
  2925. Changes the faxg3, faxg32d, and faxg4 drivers so that, like the TIFF and
  2926. dfax drivers, they adjust the page size to one of the three CCITT standard
  2927. sizes if this is reasonable.  (gdevtfax.c)
  2928.  
  2929. Splits the bit driver into bit, bitrgb, and bitcmyk.  Adds bitrgb and
  2930. bitcmyk to all makefiles that included bit.  (*.mak, devs.mak, gdevbit.c)
  2931.  
  2932. Replaces the atiw16, tseng16, and tvga16 SuperVGA drivers with a single
  2933. svga16 driver that allows specifying the display mode number.  (devs.mak,
  2934. gdevpcfb.c)
  2935.  
  2936. Platforms
  2937. ---------
  2938.  
  2939. Fixes bugs:
  2940.     - The MS Windows and OS/2 drivers allocated their terminal input
  2941. buffers in a way that could cause the GC to crash.  (gp_mswin.c, gp_os2.c)
  2942.     - The handling of gettimeofday on SVR4 platforms was incorrect.
  2943. (time_.h, gp_sysv.c, gp_unix.c)
  2944.     - On some platforms, function prototypes were not enabled even if
  2945. __STDC__ was defined.  (stdpre.h)
  2946.     - The VMS build script referred to an obsolete feature lev2only.
  2947. (vms.mak)
  2948.  
  2949. Changes the DVX platform so that stdprn is buffered.  This should improve
  2950. printing performance dramatically.  (gp_dvx.c)
  2951.  
  2952. Fonts
  2953. -----
  2954.  
  2955. Fixes bugs:
  2956.     - Setting DISKFONTS resulted in a reference to FontFileDirectory
  2957. before it was defined.  (gs_type1.ps, gs_fonts.ps)
  2958.     - /Font findresource gave an error rather than doing font
  2959. substitution.  (gs_res.ps)
  2960.     - FontDirectory wasn't rebound to GlobalFontDirectory when global
  2961. VM was current.  (gs_res.ps, zdict.c)
  2962.     - Type 1 fonts weren't loaded into global VM.  (gs_fonts.ps)
  2963.     - In the standard Fontmap, the Utopia fonts had extension .gsf
  2964. rather than .pfa.  (fontmap.gs)
  2965.     - Fonts whose FontBBox was [0 0 0 0] were not displayed, or were
  2966. displayed as tiny dots.  (gs_type1.ps)
  2967.  
  2968. Interpreter
  2969. -----------
  2970.  
  2971. Fixes bugs:
  2972.     - dict_put could read from the variable pvslot before it was used.
  2973. (This was harmless, since the value was never actually used; it just upset
  2974. Purify.)  (idict.c)
  2975.     - Binary object sequences could cause addressing faults.
  2976. (iscanbin.c)
  2977.     - The attributes on names were set incorrectly in binary object
  2978. sequences.  (iscanbin.c)
  2979.     - gs.c duplicated (in some cases incorrectly) some definitions in
  2980. interp.h.  (gs.c)
  2981.     - gs_lib_paths was declared const in one place and non-const in
  2982. another.  (zfile.c)
  2983.     - file_restore and font_restore had inconsistent const declarations
  2984. for their argument.  (isave.c)
  2985.     - iodev_os_open_file was missing its last formal parameter.
  2986. (ziodev.c)
  2987.     - gs.c declared gs_devicename with an incorrect extern.  (gs.c)
  2988.     - undefinefont didn't interact properly with the resource
  2989. machinery.  (gs_lev2.ps)
  2990.     - The declaration for swap_entry used a typedef name as a formal
  2991. parameter, which upset some compilers.  (zmisc2.c)
  2992.     - Including the ccinit feature could cause the garbage collector to
  2993. make an invalid access.  (stream.c)
  2994.     - The check for t_[a]struct types in ztype.c was incorrect.
  2995. (ztype.c)
  2996.     - After the collection of halftone samples, temporary data
  2997. structures were freed incorrectly.  (gzht.h, gsht1.c, zht.c)
  2998.     - Images with source width between 489 and 492 crashed the
  2999. memory manager.  (iastate.h)
  3000.  
  3001. Makes it possible to define SEARCH_HERE_FIRST (gsmain.c) in the makefile.
  3002. (gsmain.c)
  3003.  
  3004. Splits the Level 2 resource machinery into a separate file.  (gs_lev2.ps,
  3005. gs_res.ps, gs.mak, unix-end.mak, vms.mak).
  3006.  
  3007. Changes the names of the DiffEncode/Decode filters to
  3008. PixelDifferenceEncode/Decode, and splits them off into a separate
  3009. "feature".  (gs.mak, zfilter2.c, zfpdiff.c, spdiff.c, spdiffx.h)
  3010.  
  3011. Adds experimental code for filtered image scaling.  DON'T USE THIS CODE.
  3012. (zimage2.c)
  3013.  
  3014. Streams
  3015. -------
  3016.  
  3017. Fixes bugs:
  3018.     - The CCITTFaxEncode filter could put out an EOB in the middle of
  3019. the data.  (scfe.c)
  3020.  
  3021. Splits off the PixelDifferenceEncode/Decode filters into a separate
  3022. "feature".  (gs.mak)
  3023.  
  3024. Library
  3025. -------
  3026.  
  3027. Fixes bugs:
  3028.     - gs_setcachedevice could return a garbage error code.  (gschar.c)
  3029.     - joins on stroked lines were incorrect if the device coordinate
  3030. system mapped +Y to +Y.  (gxstroke.c)
  3031.     - If gsmisc.c supplied versions of missing library routines, they
  3032. could clash with the names of the real ones if those were present
  3033. unexpectedly.  (memory_.h, gsmisc.c)
  3034.     - The initialization expression for is_open in the
  3035. dev_init_misc_open macro included a cast, which some compilers don't allow.
  3036. (gxdevice.h, gsdevice.c, gxclip2.c, gxpcmap.c)
  3037.     - In Type 1 fonts, character that specified their side bearing and
  3038. width with sbw rather than hsbw gave an invalidfont error.  (gstype1.c)
  3039.     - Some procedures were declared inconsistently with regard to const
  3040. arguments.  (gscie.c, gxpcmap.c, gxacpath.c, gxcmap.c)
  3041.     - A few places still assumed that pointers occupied 4 bytes.
  3042. (gxclist.c)
  3043.     - Rendering a gray halftone on a CMYK device called the device's
  3044. map_rgb_color procedure instead of map_cmyk_color.  (gxdither.c)
  3045.  
  3046. Renames gsfile.c as gswppm.c.  (gsfile.c, gswppm.c)
  3047.  
  3048. Implements the ability to cache arbitrarily transformed characters.  This
  3049. is currently enabled by a compile-time flag in gschar.c.  (gschar.c)
  3050.  
  3051. Version 3.0 (8/1/94)
  3052. ===========
  3053.  
  3054. This is the first full Level 2 version released to the public.
  3055. Unfortunately, we were not able to include setpagedevice in this release.
  3056.  
  3057. Documentation
  3058. -------------
  3059.  
  3060. Fixes bugs:
  3061.     - README didn't mention Aladdin's European distributor.
  3062.     - psfiles.doc didn't describe some of the newer gs_*.ps files.
  3063.  
  3064. Notes that gcc -O2 (version 2.5.8 of gcc) generates incorrect code for some
  3065. modules on the H-P RISC architecture.
  3066.  
  3067. Notes that on AXP platforms running VMS, DEC C V4.0 is required.
  3068.  
  3069. Procedures
  3070. ----------
  3071.  
  3072. Fixes bugs:
  3073.     - 'make clean' didn't delete devs.tr or t.tr.
  3074.     - devs.mak was missing the entry for faxg32d.
  3075.     - unixansi.mak omitted some drivers that were included in
  3076. unix-cc.mak and unix-gcc.mak.
  3077.  
  3078. Updates jpeg.mak to reference version 5beta1 of the IJG JPEG code.
  3079.  
  3080. Changes the version numbering scheme from A.B.C to A.B[CC].  I.e., the
  3081. first sub-release after 3.0 will be 3.01 or 3.001, not 3.0.1.
  3082.  
  3083. Utilities
  3084. ---------
  3085.  
  3086. Fixes bugs:
  3087.     - ps2ascii didn't do a setglobal.
  3088.  
  3089. Adds an option to ansi2knr to convert ... to va_alist/va_dcl.
  3090.  
  3091. Drivers
  3092. -------
  3093.  
  3094. Fixes bugs:
  3095.     - The newly added faxg32d driver didn't have an entry in devs.mak.
  3096.     - The BMP, GIF, and PCX drivers wrote out an incorrect color
  3097. palette (the blue values were too small).
  3098.     - The vgalib driver had some compilation problems.
  3099.     - The TIFF drivers didn't produce correct multi-page output.
  3100.  
  3101. Adds faxg32d and tiffg32d drivers.
  3102.  
  3103. Reinstates the DigiFax drivers, which were withdrawn when the new fax
  3104. drivers were added.
  3105.  
  3106. Platforms
  3107. ---------
  3108.  
  3109. Fixes bugs:
  3110.     - gs_btokn.ps and gs_ccfnt.ps weren't installed on Unix platforms.
  3111.     - The VMS module list omitted SBHC, included a non-existent GXDASH,
  3112. and had incorrect names for some of the IJG JPEG files.
  3113.     - The VMS build scripts (vms*.mak) had incorrect "boilerplate".
  3114.     - The VMS script file gssetmod.com had \r characters in it, as well
  3115. as \n characters.
  3116.     - The echogs and genarch utilities didn't return the correct exit
  3117. codes under VMS.
  3118.     - The VMS Fontmap had incorrect entries for the Courier and Charter
  3119. fonts.
  3120.     - When running under Ghostview, Ghostscript didn't drain the input
  3121. pipe.  (We fixed this with a temporary patch in gs.c; this isn't a good
  3122. solution for the longer term.)
  3123.  
  3124. Fonts
  3125. -----
  3126.  
  3127. Fixes bugs:
  3128.     - The free AvantGarde, Bookman, and Palatino font families had
  3129. incorrect FontBBox values.
  3130.     - The 'f' and 'j' in the free AvantGarde-DemiOblique,
  3131. Bookman-DemiItalic, Bookman-LightItalic, and Palatino-Italic fonts were
  3132. chopped off on the right.  (The bitmaps were chopped off in the original
  3133. BDF fonts from which these fonts were made.)  ****** THIS PROBLEM WAS NOT
  3134. ACTUALLY FIXED. ******
  3135.  
  3136. Interpreter
  3137. -----------
  3138.  
  3139. Fixes bugs:
  3140.     - gs -h and gs -v didn't print the tertiary version number correctly.
  3141.     - Binary object sequences with no strings or names didn't read in
  3142. correctly.
  3143.     - Binary object sequences that crossed an input buffer boundary
  3144. didn't read in correctly.
  3145.     - Binary object sequences read in as {[e1 .. en] e1 ... en} instead
  3146. of {[e1 ... en]}.  (New bug in 2.9.x.)
  3147.     - setpattern didn't set the current color space correctly if the
  3148. current color space wasn't a Pattern space.
  3149.     - If the current color space was an uncolored Pattern space but the
  3150. current color was a colored Pattern, currentcolor returned extra values on
  3151. the operands stack.
  3152.     - .buildfont1 in gs_type1.ps didn't force binding of the old
  3153. definition, causing ps2ascii to loop endlessly.
  3154.  
  3155. Adds a facility for writing and reading dictionaries in binary object
  3156. sequences.  This is experimental and subject to change in the future.
  3157.  
  3158. Streams
  3159. -------
  3160.  
  3161. Fixes bugs:
  3162.     - gs_run_string and ccinit didn't have any way to mark the string
  3163. as "foreign", which confused the GC.
  3164.  
  3165. Library
  3166. -------
  3167.  
  3168. Fixes bugs:
  3169.     - gxchar.h had an extra comma after the last element of the
  3170. show_width_status enum, which upset some compilers.
  3171.     - stroke and strokepath didn't correctly skip zero-length segments
  3172. if the line width was less than one pixel, or if there was a closed subpath
  3173. consisting entirely of zero-length segments.
  3174.     - strokepath sometimes incorrectly added a moveto at the end of the
  3175. path.
  3176.  
  3177. Versions before 3.0
  3178. ===================
  3179.  
  3180. See the files history*.doc.
  3181.