home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / gs403osk.tgz / gs403osk.tar / history3.txt < prev    next >
Text File  |  1996-10-13  |  117KB  |  3,178 lines

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