home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / sharewar / dos / program / gs300sr1 / gs300sr1.exe / NEWS < prev    next >
Text File  |  1994-08-01  |  90KB  |  2,386 lines

  1.    Copyright (C) 1989, 1992, 1993, 1994 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, NEWS, describes the changes in the most recent releases of
  21. Ghostscript.  Changes in older releases are described in history.doc.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.
  25.  
  26. Within each release, news appears in the following order: Documentation,
  27. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  28. (included under Interpreter through release 2.9.9), Library.  Changes
  29. marked with a * were made available as patches to the previous primary or
  30. secondary release.
  31.  
  32. Version 3.0 (8/1/94)
  33. ===========
  34.  
  35. This is the first full Level 2 version released to the public.
  36. Unfortunately, we were not able to include setpagedevice in this release.
  37.  
  38. Documentation
  39. -------------
  40.  
  41. Fixes bugs:
  42.     - README didn't mention Aladdin's European distributor.
  43.     - psfiles.doc didn't describe some of the newer gs_*.ps files.
  44.  
  45. Notes that gcc -O2 (version 2.5.8 of gcc) generates incorrect code for some
  46. modules on the H-P RISC architecture.
  47.  
  48. Notes that on AXP platforms running VMS, DEC C V4.0 is required.
  49.  
  50. Procedures
  51. ----------
  52.  
  53. Fixes bugs:
  54.     - 'make clean' didn't delete devs.tr or t.tr.
  55.     - devs.mak was missing the entry for faxg32d.
  56.     - unixansi.mak omitted some drivers that were included in
  57. unix-cc.mak and unix-gcc.mak.
  58.  
  59. Updates jpeg.mak to reference version 5beta1 of the IJG JPEG code.
  60.  
  61. Changes the version numbering scheme from A.B.C to A.B[CC].  I.e., the
  62. first sub-release after 3.0 will be 3.01 or 3.001, not 3.0.1.
  63.  
  64. Utilities
  65. ---------
  66.  
  67. Fixes bugs:
  68.     - ps2ascii didn't do a setglobal.
  69.  
  70. Adds an option to ansi2knr to convert ... to va_alist/va_dcl.
  71.  
  72. Drivers
  73. -------
  74.  
  75. Fixes bugs:
  76.     - The newly added faxg32d driver didn't have an entry in devs.mak.
  77.     - The BMP, GIF, and PCX drivers wrote out an incorrect color
  78. palette (the blue values were too small).
  79.     - The vgalib driver had some compilation problems.
  80.     - The TIFF drivers didn't produce correct multi-page output.
  81.  
  82. Adds faxg32d and tiffg32d drivers.
  83.  
  84. Reinstates the DigiFax drivers, which were withdrawn when the new fax
  85. drivers were added.
  86.  
  87. Platforms
  88. ---------
  89.  
  90. Fixes bugs:
  91.     - gs_btokn.ps and gs_ccfnt.ps weren't installed on Unix platforms.
  92.     - The VMS module list omitted SBHC, included a non-existent GXDASH,
  93. and had incorrect names for some of the IJG JPEG files.
  94.     - The VMS build scripts (vms*.mak) had incorrect "boilerplate".
  95.     - The VMS script file gssetmod.com had \r characters in it, as well
  96. as \n characters.
  97.     - The echogs and genarch utilities didn't return the correct exit
  98. codes under VMS.
  99.     - The VMS Fontmap had incorrect entries for the Courier and Charter
  100. fonts.
  101.     - When running under Ghostview, Ghostscript didn't drain the input
  102. pipe.  (We fixed this with a temporary patch in gs.c; this isn't a good
  103. solution for the longer term.)
  104.  
  105. Fonts
  106. -----
  107.  
  108. Fixes bugs:
  109.     - The free AvantGarde, Bookman, and Palatino font families had
  110. incorrect FontBBox values.
  111.     - The 'f' and 'j' in the free AvantGarde-DemiOblique,
  112. Bookman-DemiItalic, Bookman-LightItalic, and Palatino-Italic fonts were
  113. chopped off on the right.  (The bitmaps were chopped off in the original
  114. BDF fonts from which these fonts were made.)
  115.  
  116. Interpreter
  117. -----------
  118.  
  119. Fixes bugs:
  120.     - gs -h and gs -v didn't print the tertiary version number correctly.
  121.     - Binary object sequences with no strings or names didn't read in
  122. correctly.
  123.     - Binary object sequences that crossed an input buffer boundary
  124. didn't read in correctly.
  125.     - Binary object sequences read in as {[e1 .. en] e1 ... en} instead
  126. of {[e1 ... en]}.  (New bug in 2.9.x.)
  127.     - setpattern didn't set the current color space correctly if the
  128. current color space wasn't a Pattern space.
  129.     - If the current color space was an uncolored Pattern space but the
  130. current color was a colored Pattern, currentcolor returned extra values on
  131. the operands stack.
  132.     - .buildfont1 in gs_type1.ps didn't force binding of the old
  133. definition, causing ps2ascii to loop endlessly.
  134.  
  135. Adds a facility for writing and reading dictionaries in binary object
  136. sequences.  This is experimental and subject to change in the future.
  137.  
  138. Streams
  139. -------
  140.  
  141. Fixes bugs:
  142.     - gs_run_string and ccinit didn't have any way to mark the string
  143. as "foreign", which confused the GC.
  144.  
  145. Library
  146. -------
  147.  
  148. Fixes bugs:
  149.     - gxchar.h had an extra comma after the last element of the
  150. show_width_status enum, which upset some compilers.
  151.     - stroke and strokepath didn't correctly skip zero-length segments
  152. if the line width was less than one pixel, or if there was a closed subpath
  153. consisting entirely of zero-length segments.
  154.     - strokepath sometimes incorrectly added a moveto at the end of the
  155. path.
  156.  
  157. Version 2.9.10-beta (7/28/94)
  158. ===================
  159.  
  160. This is the last 2.9 beta, since 3.0 will be released on July 31.
  161.  
  162. Documentation
  163. -------------
  164.  
  165. Fixes bugs:
  166.     - A | in gs.1 had a \ in front of it instead of \\.
  167.  
  168. Adds a paragraph in gs.1 that tells how to select paper size.
  169.  
  170. Notes in devs.mak that the cdj550 driver is the best one for the H-P
  171. DeskJet 520, and the pjxl300 driver is the right one for the H-P DeskJet
  172. 1200C.
  173.  
  174. Notes in make.doc that Watcom C++ 10.0 may require a change in a makefile.
  175.  
  176. Procedures
  177. ----------
  178.  
  179. Removes ICCINIT from MODULES.LIS for VMS systems.
  180.  
  181. Updates VMS.MAK to support Motif V1.2.
  182.  
  183. Updates jpeg.mak to work with version 5alpha4 of the IJG JPEG code.
  184.  
  185. Utilities
  186. ---------
  187.  
  188. Fixes bugs:
  189.     - font2c didn't leave extra room in Type 0 font dictionaries for
  190. entries added by definefont.
  191.     - font2c left extra information on the stack.
  192.     - ansi2knr would remove newline characters within formal argument
  193. lists.
  194.     - font2c got an Error: /undefined in makefontprocname.
  195.  
  196. Updates ansi2knr to work better with the GNU configure program.
  197.  
  198. Updates ansi2knr to handle procedure formal arguments automatically.
  199.  
  200. Drivers
  201. -------
  202.  
  203. Fixes bugs:
  204.     - If a file contained color or gray-scale information followed by a
  205. masked image, the X driver would sometimes invert the polarity of the
  206. image.
  207.  
  208. Platforms
  209. ---------
  210.  
  211. Fixes bugs:
  212.     - Unix systems with a 2-argument gettimeofday returned garbage
  213. values for the current time.
  214.     - The VMS build script for compiled fonts omitted the requirement
  215. to load gs_ccfnt.ps.
  216.     - memory_.h didn't note that System V Unix platforms need memmove.
  217.  
  218. On Unix systems, changes the subdirectory of $datadir/ghostscript to just
  219. be the version number (e.g., 2.9.10 rather than gs-2.9.9).
  220.  
  221. Fonts
  222. -----
  223.  
  224. Adds support code for the Wadalab (University of Tokyo) free Kanji font.
  225.  
  226. Notes in the documentation in Fontmap that .pfa and .pfb fonts are
  227. compatible with ATM, but .gsf fonts are not.
  228.  
  229. Changes the names of Thomas Wolff's expanded Hershey fonts, replacing .gsf
  230. with .pfa.
  231.  
  232. Interpreter
  233. -----------
  234.  
  235. Fixes bugs:
  236.     - The scanner became confused if the literal names /<< or />>
  237. straddled an input buffer boundary.
  238.     - .setlanguagelevel gave an invalidaccess error when
  239. switching from level 2 to level 1.
  240.     - currentgstate, setgstate, and copy for gstates didn't do
  241. the necessary access checks.
  242.     - The Category resource category didn't define .ResourceFile, so
  243. /Category resourcestatus gave an error.
  244.     - The garbage collector didn't trace the structures used by
  245. filenameforall properly on most platforms.
  246.     - Automatically expanding systemdict didn't work, but didn't give
  247. an error.
  248.     - Automatically expanding a dictionary usually expanded it by too
  249. much.
  250.     - systemdict was created too small.
  251.     - The garbage collector didn't trace the structures referenced only
  252. from allocator objects, leading to attempts to access freed storage.
  253.     - If a chunk was empty, the GC tried to free it even if it had
  254. inner chunks.
  255. *    - The outer loop in dict_find_name_by_index() could cause an
  256. addressing fault on segmented machines when looking up Level 2 operators,
  257. because the offset could get decremented past 0.
  258.     - The heap_available procedure in gsmemory.c didn't convert
  259. properly to non-ANSI syntax.  (New bug in 2.9.9.)
  260.     - The ledgertray procedure wasn't implemented.
  261.     - The xxxtray procedures didn't set the page size.
  262.     - The settumble operator wasn't implemented, even as a dummy.
  263.     - glyphshow didn't work with Type 3 fonts.
  264.     - Supplying a RenderTable for a CIE color space caused an error.
  265.     - The DCT filter code had the jpeg/ subdirectory name "wired in" to
  266. the source files.
  267.  
  268. Adds experimental filters for Burrows/Wheeler block sorting compression
  269. (BWBlockSortEncode/Decode), described in DEC SRC Research Report #124,
  270. move-to-front coding (MoveToFrontEncode/Decode), and a simple form of
  271. Huffman coding (BoundedHuffmanEncode/Decode).  These are experimental -- do
  272. not rely on them remaining the same (or existing at all) in future
  273. releases!
  274.  
  275. Adds all function prototypes needed to pacify strict compilers.
  276.  
  277. Removes all explicit references to userdict from the C code.
  278.  
  279. Changes the SAFER switch so that it disallows not only explicit writing,
  280. deleting, or renaming of files, but also disallows specifying an explicit
  281. OutputFile for any device (except for the initial device, by means of
  282. -sOutputFile= on the command line).
  283.  
  284. Streams
  285. -------
  286.  
  287. Fixes bugs:
  288.     - Hex decoding (ASCIIHexDecode stream and <> literals) didn't treat
  289. the data source as read-only (although it restored it to its original
  290. contents).
  291.  
  292. Implements move-to-front coding, a simple form of Huffman coding, and
  293. Burrows/Wheeler block sorting compression.
  294.  
  295. Library
  296. -------
  297.  
  298. Fixes bugs:
  299. *    - (The following bug fix was actually implemented somewhere around
  300. version 2.7.)  restore didn't purge character cache entries whose keys were
  301. names created more recently than the save.
  302.     - gstype1.h declared gs_type1_state_sizeof as an extern, but this
  303. wasn't defined anywhere.
  304.     - gs_makeimagedevice didn't set the size of the palette correctly,
  305. which confused the GC.
  306.     - gs_makeimagedevice didn't set num_components to 1 for
  307. mapped-color devices with only gray values.
  308. *    - The two-color halftoning algorithms truncated when computing the
  309. halftone level, rather than rounding it.
  310. *    - If a path being filled had line segments that fell entirely to
  311. the right of the clipping region, part of the path might not be filled.
  312.     - The optimized code for 24-bit color didn't ensure properly that
  313. 32-bit accesses would be aligned appropriately.
  314.     - The miter join check had gotten reversed somewhere along the way.
  315. *    - Because x and y were interchanged in the miter check computation,
  316. in some situations the check was inverted.  (This is a very old bug!)
  317.     - It was believed that strokepath didn't work with dashed lines;
  318. the problem appears to have been an incorrect testing program.
  319.  
  320. Adds all function prototypes needed to pacify strict compilers.
  321.  
  322. Changes fixed2float so it doesn't cast the result to float, and removes
  323. fixed2double.  This produces slightly more accurate results in many places,
  324. and may even be faster (for FPUs that normally generate double rather than
  325. single precision results).
  326.  
  327. Version 2.9.9-beta (6/23/94)
  328. ==================
  329.  
  330. Documentation
  331. -------------
  332.  
  333. Puts a pointer to devs.mak in the section of use.doc that talks about
  334. MS-DOS displays.
  335.  
  336. Platforms
  337. ---------
  338.  
  339. Fixes bugs:
  340.     - The %pipe% IODevice was omitted on System V platforms.
  341.     - The AXP VMS build script needed /NESTED_INCLUDE=PRIMARY in
  342. CC_QUAL to work around a bug in the DEC C compiler.
  343.  
  344. Fonts
  345. -----
  346.  
  347. Fixes bugs:
  348.     - gs_lev2.ps redefined .loadFontmap incorrectly.
  349.  
  350. Interpreter
  351. -----------
  352.  
  353. Fixes bugs:
  354.     - stream_compact used memcpy even though the source and destination
  355. might overlap.
  356.     - filter applied to a closed file could cause a crash.
  357.  
  358. Library
  359. -------
  360.  
  361. Fixes bugs:
  362.     - putdeviceparams to a printer didn't close and reopen the device
  363. if only the page size or resolution was changed.
  364.  
  365. Version 2.9.8 (6/20/94)
  366. =============
  367.  
  368. This is the first version that claims to be a full Level 2 implementation.
  369. It was distributed to satisfy a contractual requirement.
  370.  
  371. Documentation
  372. -------------
  373.  
  374. In make.doc:
  375.     - Adds a reference to the generic System V section at the end of
  376. the SCO section.
  377.     - Notes that DEC OSF/1 systems may require changing the name of the
  378. install program to installbsd.
  379.  
  380. Updates drivers.doc to reflect the change from "properties" to
  381. "parameters".
  382.  
  383. Updates the Aladdin Enterprises Free Public License to version 1.
  384.  
  385. In language.doc, notes that certain device parameters will be phased out.
  386.  
  387. Procedures
  388. ----------
  389.  
  390. Fixes bugs:
  391.     - The file aa.ps was included in the distribution by mistake.
  392.  
  393. Notes in the Unix makefiles that X11R6 probably needs SM and ICE added to
  394. XLIBS.
  395.  
  396. Utilities
  397. ---------
  398.  
  399. Fixes bugs:
  400.     - viewjpeg.ps used a non-existent file as its example.
  401.     - A temporary string in wrfont.ps was allocated too small.
  402.  
  403. Upgrades font2c.ps so it will handle (simple) Type 0 fonts as well as Type
  404. 1.
  405.  
  406. Drivers
  407. -------
  408.  
  409. Fixes bugs:
  410.     - The TIFF drivers didn't byte-align each scan line.
  411.     - gdevtfax.c applied & to an array member of a structure.
  412.  
  413. Changes the param_list interface slightly: Implementations of the
  414. put_params driver procedure should now use param_signal_error to report
  415. errors, and should not give up at the first error.  (Even though this is a
  416. non-backward-compatible change, old implementations will continue to work;
  417. they just won't deliver complete results to the setpagedevice Policies
  418. machinery.)
  419.  
  420. Platforms
  421. ---------
  422.  
  423. Fixes bugs:
  424.     - Removes the time zone adjustment from gp_get_clock in gp_unix.c,
  425. since the value returned by all Unix systems is bogus.
  426.     - The DV/X makefile still included the dfaxhigh and dfaxlow drivers.
  427.     - gssetmod.com (VMS command file) didn't work properly if the
  428. argument list was empty.
  429.     - vms.mak, vms-axp.mak, and modules.lis hadn't been updated to
  430. reflect changes in 2.9.7.
  431.     - The MS Windows version wouldn't link (overflowed the 64K primary
  432. data segment).
  433.  
  434. Fonts
  435. -----
  436.  
  437. Makes the font substitution algorithm somewhat more intelligent.
  438.  
  439. Interpreter
  440. -----------
  441.  
  442. Fixes bugs:
  443.     - Enumerating the pointers of a zero-length array of structures
  444. caused a divide by zero.
  445.     - iref.h didn't protect itself against multiple inclusion.
  446.     - The CCITTFaxEncode filter didn't byte-align the final
  447. end-of-block code if EndOfBlock and EncodedByteAlign were both true.
  448.     - make_initial_dict in iinit.c used `name' as a formal parameter
  449. name, which some compilers believe conflicts with a typedef.
  450.     - Not all internal operators had registered names.
  451.     - The GC used memcpy, rather than bytes_copy, when compacting
  452. objects, even though the source and destination might overlap.
  453.     - When debugging was enabled, gc_string_mark could give a spurious
  454. error indication.
  455.     - vmstatus returned too small a value for the maximum VM.
  456.     - The scanner could get into a loop when reading a radix-85 string.
  457.     - The GC could get into a state where it was called after every
  458. allocation (because of the patch setting global = true in ireclaim).
  459.     - The general path filling algorithm didn't skip regions that were
  460. completely outside the clipping box.
  461.     - The gs_screen_enum structure contained a pointer (porder) that
  462. pointed into the middle of a structure, confusing the GC.
  463.  
  464. Implements the BitmapWidths flag in fonts.  The default of false means that
  465. we use scalable widths even with xfonts.
  466.  
  467. Changes the Generic resource category so that ResourceFileName is optional.
  468.  
  469. Changes the .getdeviceparams operator so that it takes an optional
  470. dictionary giving the set of keys whose values are wanted.  Changes the
  471. .putdeviceparams operator so that it takes an optional policy dictionary
  472. specifying the action to be taken on errors, and returns a list of keys and
  473. errors if it fails, rather than causing an error.  These are
  474. non-backward-compatible changes, but ordinary programs do not use these
  475. operators.
  476.  
  477. Changes the names of some internal operators and procedures by adding
  478. a . to the beginning:
  479.     currenttime
  480.     devicename
  481.  
  482. Implements currentpagedevice, and a small subset of setpagedevice.  Only
  483. the following keys in the page device dictionary are known to the current
  484. implementation, and the ones marked with * are not actually processed:
  485.     PageSize
  486.     InputAttributes
  487.     MediaColor, MediaWeight, MediaType, InsertSheet
  488.       (for InputAttributes matching only)
  489.     *ImagingBBox
  490.     OutputAttributes
  491.     OutputType
  492.       (for OutputAttributes matching only)
  493.     NumCopies
  494.     HWResolution
  495.     *Margins
  496.     *Orientation (for all devices, not just roll devices)
  497.     Policies
  498.     Install
  499.     BeginPage
  500.     EndPage
  501. Does not implement:
  502.     - Updating InputAttributes or OutputAttributes by sensing the state
  503.       of the device;
  504.     - Retrying media matching after an initial failure;
  505.     - Automatic handling of portrait vs. landscape page size;
  506.     - Recording the CTM after Install as the one to be used for
  507.       defaultmatrix, initmatrix, and initgraphics.
  508. Also, media matching is normally disabled (with InputAttributes = null)
  509. for all devices.  ****** We had to disable setpagedevice just before
  510. shipping this release, because of interactions with the older device
  511. handling machinery that we could not fix in the time available.
  512.  
  513. Library
  514. -------
  515.  
  516. Fixes bugs:
  517.     - 24-bit color (mem_true24_fill_rectangle and _copy_mono) had
  518. algorithm bugs.
  519.     - A complex conditional expression in gx_render_gray wouldn't
  520. compile properly with the DECStation 3100 Ultrix 4.3 compiler.
  521.     - The GC routines for gx_device_clip didn't handle the case where
  522. the 'current' pointer pointed to list.single.
  523.     - gx_add_char_bits used memcpy, rather than bytes_copy, for
  524. compressing character bitmaps, even though the source and destination might
  525. overlap.
  526.     - Some compilers require the definition of st_gstate_contents to
  527. precede the definitions of the GC procedures.
  528.     - Filling a large rectangle (more than 1K of bitmap) with a colored
  529. halftone overwrote random areas of the stack.
  530.  
  531. Changes gs_setcachedevice[2] to take a pointer to an array of floats,
  532. rather than 6 or 10 individual floats.  THIS IS A NON-BACKWARD-COMPATIBLE
  533. CHANGE.
  534.  
  535. Implements the BitmapWidths flag in fonts.
  536.  
  537. Version 2.9.7-beta (6/5/94)
  538. ==================
  539.  
  540. Yet another pre-3.0 beta.  The main features are a fairly reliable garbage
  541. collector, and function prototypes almost everywhere they are needed.
  542.  
  543. Documentation
  544. -------------
  545.  
  546. Fixes bugs:
  547.     - The comment at the beginning of the zfindlibfile procedure was
  548. incorrect.
  549.  
  550. Replaces the GNU License (the COPYING file) with version 0 of the new
  551. Aladdin Enterprises Free Public License (the PUBLIC file).
  552.  
  553. Procedures
  554. ----------
  555.  
  556. Fixes bugs:
  557.     - The definition of cmykread.dev in gs.mak was incorrect (it
  558. modified color.dev).
  559.  
  560. Adds the ability to specify a value for FONTPATH on the command line
  561. (-sFONTPATH=), overriding GS_FONTPATH.
  562.  
  563. Replaces the -oper2 configuration resource type with the ability to specify
  564. in the op_def list the dictionary in which operators will be defined.  (See
  565. opdef.h for more details.)  This is an internal change only.
  566.  
  567. Utilities
  568. ---------
  569.  
  570. Fixes bugs:
  571.     - viewgif.ps got an error on interlaced GIF files whose height
  572. wasn't a multiple of 8.
  573.  
  574. Changes traceop.ps so it stores the traced operator in the same dictionary
  575. where the operator is currently defined, if possible.
  576.  
  577. Drivers
  578. -------
  579.  
  580. Fixes bugs:
  581.     - The new G3 fax drivers crashed on page widths greater than 2623
  582. (40 * 64 + 63) pixels.  (We fixed this by disallowing page widths greater
  583. than approximately twice this.)
  584.     - The 24-bit PCX driver had some debugging code accidentally left
  585. in it that produced large volumes of useless console output.
  586.  
  587. Removes the previous (Leffler) TIFF/F driver and the TruFax driver.
  588.  
  589. Platforms
  590. ---------
  591.  
  592. Fixes bugs:
  593.     - time_.h, gp_unix.c, and gp_sysv.c didn't do the right thing on
  594. SVR4 platforms, where gettimeofday only takes 1 argument.
  595.     - The final linking command on Turbo C platforms didn't specify the
  596. COMPDIR directory for the linker.
  597.  
  598. Fonts
  599. -----
  600.  
  601. Changes the standard Fontmap to use the URW contributed fonts as
  602. work-alikes for Helvetica and Times Roman.
  603.  
  604. Interpreter
  605. -----------
  606.  
  607. Fixes bugs:
  608.     - The garbage collector wasn't in a consistent state.
  609.     - In Level 2 mode, statusdict was allocated in global VM rather
  610. than local VM.
  611.     - resourceforall gave an error on the built-in categories such as
  612. Filter.
  613.     - The file searching algorithm didn't check the current directory
  614. first.
  615.     - When opening a file failed, it didn't return a different error
  616. depending on the problem.
  617.     - The CCITTFaxEncode filter crashed on widths larger than 2623 (64
  618. * 40 + 63) pixels.  (We fixed this by disallowing page widths greater than
  619. approximately twice this.)
  620.     - The .type1getsbw operator gave an invalidfont error if a
  621. CharString started with anything other than a [h]sbw.  (Adobe's published
  622. specs say this is invalid, but some Adobe MultiMaster fonts start with a
  623. callsubr and/or a callothersubr.)
  624.     - When printing out the stack with == after an error, the error
  625. handler got a repeated (and ultimately fatal) typecheck error if it
  626. encountered an object of non-standard type.
  627.     - The token operator could incorrectly attempt to free a structure
  628. on the stack if it encountered an input buffer boundary.
  629.     - string_to_ref didn't correctly set the a_local flag in the string
  630. object it created.
  631.     - If the -c switch was the last switch on the command line,
  632. Ghostscript always exited without going into interactive mode.
  633.     - copy didn't check for errors when copying a dictionary.
  634.  
  635. Makes many minor changes (mostly adding prototypes) to reduce error and
  636. warning messages from gcc and other strict compilers.
  637.  
  638. Adds files containing the 4 predefined PDF encodings (MacRoman, MacExpert,
  639. WinAnsi, and PDFDoc).
  640.  
  641. Library
  642. -------
  643.  
  644. Fixes bugs:
  645.     - image_bbox in gxccman.c could produce a division by 0 if a
  646. 0-width character was being entered into the cache.
  647.     - gx_image_cached_char incorrectly specified a scale of 2x2 rather
  648. than 1x1 if it had to read bits from an xfont.
  649.     - Stale pointers in the halftone cache weren't cleared properly by
  650. a restore.  (We fixed this by making grestoreall clear the halftone cache.)
  651.     - setdash used gs_malloc, rather than the current allocator, for
  652. allocating the dash pattern.
  653.     - If one attempted to fill a very wide region with a colored
  654. halftone, gx_dc_ht_colored_fill_rectangle would loop indefinitely.
  655.     - The container_offset in clipping devices was set incorrectly,
  656. causing the garbage collector to mangle pointers.
  657.  
  658. Changes the fopen routine in IODevices so that it can return an arbitrary
  659. error code, rather than simply succeeding or failing.  THIS IS A
  660. NON-BACKWARD-COMPATIBLE CHANGE.  It only affects IODevice implementations,
  661. of which there are very few.  (It doesn't affect ordinary device drivers.)
  662.  
  663. Changes the char_metrics xfont procedure so it returns the width as
  664. floating point numbers rather than integers.  THIS IS A
  665. NON-BACKWARD-COMPATIBLE CHANGE.  It only affects xfont implementations, of
  666. which there are very few.
  667.  
  668. Makes many minor changes (mostly adding prototypes) to reduce error and
  669. warning messages from gcc and other strict compilers.
  670.  
  671. Version 2.9.6-beta (5/23/94, not distributed to the public)
  672. ==================
  673.  
  674. This, too, was supposed to be the last beta release for public release 3.0.
  675. It was created primarily for a user who desperately needed a Level 1 system
  676. that would run properly on a 64-bit hardware architecture.  The garbage
  677. collector is badly broken (it's in the middle of an architectural change);
  678. setpagedevice is still not implemented.
  679.  
  680. Documentation
  681. -------------
  682.  
  683. Documents the standard location of Type 1 fonts on AIX.
  684.  
  685. Changes the last few mentions of Ghostview for Microsoft Windows to GSview
  686. for Windows.
  687.  
  688. Notes that Solaris 2.n provides the X11 header files in a different place.
  689.  
  690. Changes README to reflect the differentiation between Aladdin Ghostscript
  691. and GNU Ghostscript.
  692.  
  693. Procedures
  694. ----------
  695.  
  696. Fixes bugs:
  697.     - The compilation rules for the modules that call the IJG library
  698. used -Ijpeg rather than -I$(JPEGSRC).
  699.     - The rule for gslib.dev omitted echogs$(XE) as a prerequisite.
  700.  
  701. Makes it possible to define the values of buildtime, copyright, revision,
  702. revisiondate, and serialnumber in the makefile.
  703.  
  704. Utilities
  705. ---------
  706.  
  707. Fixes bugs:
  708.     - The viewgif.ps utility didn't handle local color tables.
  709.  
  710. Updates ps2ai.ps to version 1.81.
  711.  
  712. Drivers
  713. -------
  714.  
  715. Fixes bugs:
  716.     - The TIFF and fax devices used some identical names, causing
  717. linker complaints.
  718.     - The bj10e/bj200 driver inadvertently disabled the sheet feeder.
  719. (The change may not actually fix this bug, since we don't have either of
  720. these printers with a sheet feeder to test it on.)
  721.     - The 'bit' device didn't map colors to pixel values correctly.
  722.     - The monochrome PCL driver didn't work around the fact that the
  723. Canon LBP4i printer didn't clear its seed row correctly.
  724.  
  725. Adds new drivers:
  726.     - A user-contributed driver for the H-P DesignJet 650C.
  727.     - A user-contributed driver for the Canon LIPS III printer.
  728.     - A completely new tiffg3 driver with one based on the new, fast
  729. faxg3 code.  This driver does not include any external code, and carries an
  730. Aladdin copyright.
  731.     - A tiffg4 driver, also based on the fast CCITT filter code.
  732.  
  733. Removes the tiffg3x driver that appeared briefly in 2.9.5, and renames the
  734. previous (Leffler) tiffg3 driver as tiffg3x.
  735.  
  736. Adds support for A0, A1, and A2 paper sizes to PCL drivers.
  737.  
  738. Changes all the names involving "props" to "params", for consistency with
  739. the header files, some other internal interfaces, and Adobe's terminology.
  740. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.  However, it only affects devices
  741. that implement their own get_props and put_props procedures, of which there
  742. aren't very many.
  743.  
  744. Platforms
  745. ---------
  746.  
  747. Fixes bugs:
  748.     - The DV/X makefile used X11 rather than X for the X11 library name.
  749.     - The DV/X makefile incorrectly included the PC display drivers.
  750.     - The DV/X makefile omitted gp_dosfs.$(OBJ) from the list of
  751. platform-specific files.
  752.     - The DV/X makefile used : rather than ; for separating directory
  753. names in GS_LIB_DEFAULT.
  754.     - x_.h omitted a needed alias for XtAppSetFallbackResources.
  755.     - The makefile entry for System V Unix systems didn't include
  756. gp_unifn.$(OBJ).
  757.     - The comment before LDFLAGS in the gcc makefiles incorrectly
  758. suggested using the -x switch on Ultrix platforms.
  759.     - The forward declaration of quant_params in zfdct.c upset the Sun
  760. compiler because it declared a parameter as float rather than floatp.
  761. *    - The Microsoft C compiler, like the Borland C compilers, only
  762. compares the offset part of segmented pointers.
  763.  
  764. Fonts
  765. -----
  766.  
  767. Adds a fontmap suitable for use with Adobe Type Basics.
  768.  
  769. Interpreter
  770. -----------
  771.  
  772. Fixes bugs:
  773.     - The STACK_LOOP_BEGIN macro in istack.h didn't work correctly on
  774. segmented systems.
  775.     - The end_phase procedure in igc.c didn't work correctly on
  776. segmented systems.
  777.     - Indexed color spaces didn't mark their base space properly when
  778. garbage collecting.
  779.     - The garbage collector didn't work on segmented systems, because
  780. it smashed the lsize field of large objects with mark/reloc information.
  781.     - Some structures didn't have correct associated GC procedures:
  782. gs_indexed_map, gs_client_pattern, gs_pattern_instance.
  783.     - restore could free names or stack segments that were still
  784. referenced.
  785. *    - If a packed object caused an error, the error object could be set
  786. to garbage rather than the correct object.
  787. *    - Badly designed error handlers which use $error for temporary
  788. storage could cause a dictfull error.
  789.     - Some compilers objected to the use of "dict" as a variable name
  790. in a scope where it was defined as a type.
  791.     - IODevices were declared const and non-const inconsistently.
  792.     - setpagedevice popped one object too many off the stack if the
  793. request included any subdictionaries that needed to be merged.
  794.     - More garbage collector bugs were fixed.
  795.     - If the current stack block was empty, Level 2 restore would give
  796. a spurious typecheck error.
  797.     - The CCITTFaxEncode filter could get confused if it emptied the
  798. input and filled the output at the same time.
  799.     - The CCITTFaxEncode filter could insert an extra EOL if it had to
  800. suspend at certain times.
  801.     - The new parser for literal strings (as of 2.9.5) could mis-count
  802. internal parentheses if a parenthesis caused the internal buffer collecting
  803. the string to overflow.
  804.     - If the current stack block had fewer than 3 elements,
  805. .type1addpath could report a spurious typecheck error.
  806.     - Text rendering operations (show, stringwidth, etc.) caused a
  807. crash if the current color was a Pattern that hadn't already been
  808. rasterized.
  809.     - If a program did a grestore when the graphics state stack was
  810. empty, the graphics state was initialized to unexpected (and, in some
  811. cases, invalid) values.
  812.     - pathforall could cause a bogus stackoverflow if it overflowed the
  813. current stack block.
  814.     - Closing an encoding filter with a procedure as target left the
  815. filter on the stack.
  816. *    - The outer loop in dict_lookup() could cause an addressing fault
  817. on segmented machines when looking up Level 2 operators, because the offset
  818. could get decremented past 0.
  819.     - There was an = instead of an == in a test in scanner_reloc_ptrs.
  820.     - The call on gs_reloc_refs in sproc_reloc_ptrs in zfproc.c omitted
  821. the last (gcst) argument.
  822.  
  823. (Re-)implements the 2-D case of CCITTFaxEncode, and fixes a couple of bugs
  824. in it.
  825.  
  826. Adds DiffEncode and DiffDecode filters that implement color prediction for
  827. the PDF variant of the LZWDecode filter.
  828.  
  829. Changes the specification of .oserrorstring to be similar to getenv,
  830. where, etc.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no
  831. user-written code should be using .oserrorstring.
  832.  
  833. Adds oversampling for better character rasterizing.
  834.  
  835. Library
  836. -------
  837.  
  838. Fixes bugs:
  839.     - gx_dc_ht_colored_fill_rectangle gave a compiler warning because
  840. of a problem with const pointers.
  841.     - dfmul2fixed_vars (in gxfixed.h) omitted the & before vda on
  842. big-endian platforms, causing compilation errors.
  843.     - IODevices were declared const and non-const inconsistently.
  844.     - The Type 1 rasterizer never enabled overshoot suppression.
  845.     - stroke didn't fatten the line properly if stroke adjustment was
  846. enabled, or if the line was horizontal or vertical.
  847. *    - The clipping test for characters was too strict by almost 1
  848. pixel, leading to unnecessary clipping of text at the edge of the clipping
  849. box.
  850. *    - The initial clipping box was computed incorrectly for devices
  851. whose initial transformation matrix included a rotation.
  852.  
  853. Changed the implementation of clipping lists and show enumerators to use
  854. separate objects rather than embedded objects, to pacify the GC.  (This is
  855. an internal change, not visible at the PostScript or API level.)
  856.  
  857. Makes the character cache trim off left and right blank areas, as well as
  858. top and bottom.  (Internal change.)
  859.  
  860. Adds oversampling for better character rasterizing.
  861.  
  862. Version 2.9.5-beta (4/11/94)
  863. ==================
  864.  
  865. This was supposed to be the last beta release before 3.0, but it won't be.
  866. The only known major defects are the unreliable garbage collector, and the
  867. dummy implementation of setpagedevice/currentpagedevice.
  868.  
  869. Documentation
  870. -------------
  871.  
  872. Fixes bugs:
  873.     - The file commnew.doc didn't belong in the fileset.
  874.  
  875. Notes in the makefiles that SVR4 systems may need to set EXTRALIBS=-lnsl.
  876.  
  877. Adds a user-contributed `man' page for the ps2epsi utility.
  878.  
  879. Procedures
  880. ----------
  881.  
  882. Fixes bugs:
  883.     - The IJG files didn't compile properly by themselves, because they
  884. didn't have $(AK) in their dependency list.
  885.  
  886. Changes back the handling of files named on the command line, so that they
  887. are first sought in the current directory, and if that fails, use the
  888. search path.  (2.9.4-beta changed things so that files on the command line
  889. did not use the search path, because as of that version, the search path
  890. doesn't necessarily include the current directory.  I consider the "check
  891. the current directory and then use the search path" rule, which is the
  892. MS-DOS standard and was used in Ghostscript prior to 2.9.4, a serious
  893. mistake, since it is one of the best-known security holes in Unix and can
  894. also produce confusing and unexpected results depending on the current
  895. directory; I would much rather have a clear distinction between
  896. user-specified files, which should not use any path searching, and system
  897. files, that only use the defined search path.  However, as of this moment,
  898. users seem to want the convenience at the expense of insecurity and
  899. confusion.)
  900.  
  901. Adds '.' to the beginning of the search path for MS-DOS platforms, to
  902. conform to the usual MS-DOS file searching convention.
  903.  
  904. Adds a -c ("code") switch, which interprets following arguments (until the
  905. next switch) as PostScript tokens.
  906.  
  907. Changes the handling of FEATURE_DEVS so that either level1.dev or
  908. level2.dev must normally be selected.  THIS IS A NON-BACKWARD-COMPATIBLE
  909. CHANGE for Level 1 systems, which formerly set FEATURE_DEVS to an empty
  910. definition.
  911.  
  912. Utilities
  913. ---------
  914.  
  915. Fixes bugs:
  916.     - bench.ps didn't switch back to local VM properly before running
  917. the program being benchmarked.
  918.  
  919. Adds a ppmsetpagesize command to the pstoppm utility.
  920.  
  921. Drivers
  922. -------
  923.  
  924. Fixes bugs:
  925.     - The PCX and GIF drivers used an incorrect algorithm for computing
  926. the blue component of the color palette, which could cause colors to come
  927. out with not quite enough blue.
  928.     - The SPARCprinter driver wouldn't compile with non-ANSI compilers.
  929.  
  930. Adds new drivers:
  931.     - A user-contributed driver for DEC sixel displays like the VT240
  932. (sxlcrt, in gdevln03.c, which has a FSF copyright.)
  933.     - A much larger and supposedly faster version of the TIFF/F driver
  934. (tiffg3x, in gdevtifx.c), contributed by a user.  This has the same
  935. copyright as the TIFF/F driver (gdevtiff.c).
  936.     - A driver (faxg3, in gdevfax.c) that produces plain Group 3 fax
  937. output with no header, using the CCITTFaxEncode filter to do the work.
  938. (This is around 2.5-3 times as fast as the other fax drivers distributed
  939. with Ghostscript.)
  940.     - A user-contributed driver for the Mitsubishi CP50 color printer.
  941.  
  942. Changes the `bit' driver so one can set the Colors and *Values properties.
  943.  
  944. Makes the color mapping for PC displays, PCX files, and GIF files identical
  945. (they differed slightly before).
  946.  
  947. Platforms
  948. ---------
  949.  
  950. Fixes bugs:
  951.     - VMS used DISPLAY rather than DECW$DISPLAY to get the display name
  952. if opening the display failed.
  953.     - Many minor bugs relating to OS/2 and Win32 were fixed.
  954.     - On Unix and DV/X platforms, the install script didn't mkdir
  955. $(gsdir), and didn't mkdir the intermediate directory for the man page.
  956.     - On BSD and UTek platforms, the declaration of memset in
  957. memory_.h, and the definition in gsmisc.c, conflicted with the ANSI
  958. declaration.
  959.     - One of the SPARC compilers compiled the intersection computation
  960. in arc_either (gspath.c) incorrectly.
  961.     - The temporary file names created under OS/2 could exceed the 8.3
  962. length limit.
  963.  
  964. Interpreter
  965. -----------
  966.  
  967. Fixes bugs:
  968.     - The test files for the IJG library had been damaged by EOL
  969. conversion.
  970.     - The garbage collector didn't mark some of the most recently
  971. created names.
  972.     - The interpreter would sometimes report a typecheck instead of a
  973. stackunderflow.
  974.     - If aload didn't have enough room on the stack, it would report a
  975. rangecheck rather than a stackoverflow.
  976.     - zcontext wouldn't compile, because it hadn't been updated to the
  977. new GC interfaces.
  978.     - The definition of private_st_stream_proc_state in ifilter.h ended
  979. with a semicolon, which upset some compilers.
  980.     - load didn't check to make sure that the dictionaries it examined
  981. had read access.
  982.     - cvrs didn't handle negative numbers in radix 2 or 3 properly.
  983.     - The allocator could become confused if it was asked to allocate a
  984. large array.
  985.     - readline gave an ioerror rather than a rangecheck if it
  986. overflowed the string.
  987.     - The allocator didn't free packed arrays properly.
  988.     - The allocator's check for LIFO freeing of arrays was off by 1, so
  989. it never succeeded.
  990.     - The undercolor removal and black generation procedures weren't
  991. initialized properly.
  992.     - If the interpreter couldn't find gs_init.ps, it returned a random
  993. exit code.
  994.     - If an operator expected a procedure and didn't get one, it
  995. sometimes gave an invalidaccess rather than a typecheck.
  996.     - Unix file enumeration often did the wrong thing if there were
  997. directories in the pattern.
  998.     - The ASCIIHexDecode filter read an extra character after the
  999. terminating >.
  1000.     - scalefont didn't fill in ScaleMatrix properly.
  1001.     - The CCITTFaxEncode filter crashed if the width of the page wasn't
  1002. a multiple of 8 bits.
  1003.     - The error printing code used .languagelevel, which wasn't defined
  1004. in Level 1 configurations.
  1005.     - setpagedevice didn't pop its argument.
  1006.     - Definitions in statusdict didn't change according to the current
  1007. language level.
  1008.     - Separation color spaces didn't allow strings as color space names.
  1009.     - Due to a bug in chunk_locate_ptr, the garbage collector sometimes
  1010. decided incorrectly that a pointer was pointing outside collectable space.
  1011.     - (Many other garbage collector bugs were fixed.)
  1012.  
  1013. Implements additional Level 2 features:
  1014.     - Garbage collection for strings.
  1015.     - Expandable operand and dictionary stacks, and the ability to set
  1016.     the maximum size of these stacks.
  1017.     - Additional user and system parameters.  The following are dummies:
  1018.     AccurateScreens, JobName, JobTimeout, WaitTimeout.
  1019.     - Procedure-based filters usable with cvx/exec and token.
  1020.     - Separation color spaces (always using the alternate space).
  1021.     (These were theoretically implemented in version 2.6, but they were
  1022.     never tested and were actually missing most of the implementation.)
  1023.     - VMThreshold and VMReclaim for invoking GC automatically.
  1024.  
  1025. Adds a hook in iscan.c for parsing DSC comments.
  1026.  
  1027. Adds encoding and decoding filters for the BCP and TBCP protocols.  These
  1028. are not fully implemented yet:
  1029.     - The interrupt and status request characters are ignored on input,
  1030.     and never generated on output;
  1031.     - The TBCP encoder doesn't emit the start-of-protocol string;
  1032.     - The TBCP decoder doesn't recognize the end-of-protocol string.
  1033.  
  1034. Factors out Type 1 font capability as a separate feature.
  1035.  
  1036. Changes the names of some files:
  1037.     packed.h to ipacked.h;
  1038.     bnum.h to ibnum.h.
  1039.  
  1040. Changes the name of the value.index member of a ref to value.boolval.
  1041. (Internal change only.)
  1042.  
  1043. Library
  1044. -------
  1045.  
  1046. Fixes bugs:
  1047.     - The definition of RELOC_PTRS_BEGIN in gsstruct.h wouldn't compile
  1048. properly with non-ANSI compilers.
  1049.     - The JPEG library wouldn't compile properly with non-ANSI compilers.
  1050. *    - The platform font machinery gave up too easily in some cases.
  1051.     - CMYK devices needing halftoning converted the CMYK color to RGB.
  1052.     - The debugging code in arc_add (gspath.c) didn't print the output
  1053. values correctly.
  1054.  
  1055. Factors out Type 1 font capability as a separate feature.
  1056.  
  1057. Version 2.9.4-beta (2/19/94)
  1058. ==================
  1059.  
  1060. Procedures
  1061. ----------
  1062.  
  1063. Changes Ghostscript's path searching algorithm so that it does not
  1064. automatically look in the current directory first.  (The former algorithm
  1065. was more MS-DOS-like; the new one is more Unix-like.)  If you want to
  1066. include the current directory, you must include '.' in the search path.
  1067. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.
  1068.  
  1069. Adds two new resource types for genconf.c:
  1070.     - -header filexxx.h adds #include "filexxx.h" to gconfig.h.
  1071.     - -libpath dir adds dir to the list of library search paths.
  1072.  
  1073. Utilities
  1074. ---------
  1075.  
  1076. Fixes bugs:
  1077.     - impath.ps (used by bdftops) computed the starting X coordinate
  1078. incorrectly, typically causing characters to be displaced slightly to the
  1079. right.
  1080.     - pstoppm.ps didn't handle local and global VM properly.
  1081.  
  1082. Adds a ps2ai.ps utility, contributed by a user, for converting arbitrary
  1083. PostScript files into a form compatible with Adobe Illustrator.
  1084.  
  1085. Drivers
  1086. -------
  1087.  
  1088. Adds new drivers:
  1089.     - A user-contributed driver for Imagen Impress laser printers.
  1090.     - A user-contributed driver for the DEC LA75plus printer.
  1091.  
  1092. Platforms
  1093. ---------
  1094.  
  1095. Under OS/2, adds the ability to keep Ghostscript in memory for a
  1096. specified number of minutes.
  1097.  
  1098. Adds support for Win32 and Win32s.
  1099.  
  1100. Changes the MS Windows platform font interface so that it does not attempt
  1101. to render fonts at sizes smaller than 6 pixels.  Changes the X Windows
  1102. interface, which already did this for 4-point and smaller fonts, to also
  1103. use a lower limit of 6 pixels.  Also changes the X Windows platform font
  1104. machinery so it does not render fonts at sizes larger than 36 pixels: at
  1105. large sizes, Ghostscript does a perfectly good job, and some X font servers
  1106. rasterize the entire font and lock up the entire window system while doing
  1107. so.
  1108.  
  1109. Interpreter
  1110. -----------
  1111.  
  1112. Fixes bugs:
  1113.     - currentdash always returned a new array of reals, rather than the
  1114. actual argument of setdash.
  1115.     - Strings in binary object sequences read in as integers.
  1116.     - Because of a bug in chunk_locate_ptr, some large objects didn't
  1117. get freed properly.
  1118.     - If an error occurred while processing an image, Ghostscript would
  1119. attempt to free random blocks of storage.
  1120.     - Input filters discarded trailing data, rather than filling it out
  1121. with zeros.  (This is now fixed for ASCIIHexDecode and ASCII85Decode; it's
  1122. not clear what other filters it should affect.)
  1123.     - The ASCII85Encode filter produced garbage output for the final
  1124. 1-4 bytes before EOD.
  1125. *    - The TIFF output driver produced incorrect output for the second
  1126. and subsequent pages if the output was being produced on multiple files.
  1127. *    - The default handleerror did a 'stop', which was not correct.
  1128.     - gpcheck.h converted all positive return codes to 0 if interrupt
  1129. checking was enabled.
  1130.     - Images with multiple data sources didn't work.
  1131.     - Images with 12-bit sample values didn't work.
  1132.     - Images with a file as the data source read additional data beyond
  1133. what was required.
  1134.     - 2 vmreclaim worked (pretty much), but 1 vmreclaim didn't.
  1135.     - If %lineedit was opened multiple times, characters from later
  1136. openings overwrote characters from earlier ones.
  1137.     - token returned garbage for the "remaining string" result when
  1138. reading from a string, if it actually read all of the string.  (New bug in
  1139. 2.9.2, probably.)
  1140.  
  1141. Implements additional Level 2 features:
  1142.     - DCTEncode and DCTDecode filters.
  1143.     - Filters with procedures as the data source or target.
  1144.     (Except for token and cvx/exec.)
  1145.     - Garbage collection for names.
  1146.  
  1147. Changes the error printout so that strings are always truncated at 200
  1148. characters.
  1149.  
  1150. For Level 2 systems, changes the initial setting of the object format
  1151. parameter from 0 to an appropriate non-zero value.
  1152.  
  1153. * Changes the .quit operator so that it takes two operands, an error object
  1154. and an error code; if the latter is negative, the interpreter returns this
  1155. as the error code, rather than e_Quit.
  1156.  
  1157. Makes StandardEncoding and ISOLatin1Encoding arrays, rather than packed
  1158. arrays, on large-memory systems, for compatibility with certain test
  1159. suites.  Changes .registerencoding to accept arrays as well as packed
  1160. arrays.
  1161.  
  1162. Library
  1163. -------
  1164.  
  1165. Fixes bugs:
  1166.     - Due to an error in cie_mult3, CIE-based colors were badly
  1167. mis-mapped.
  1168. *    - Very narrow (but not empty) rectangles would disappear.
  1169. *    - Small halftone cells could smash the next higher entry in the
  1170. halftone cache.
  1171.     - The orientation algorithm in gxstroke.c still interchanged
  1172. clockwise and counter-clockwise coordinate systems (after having been
  1173. "fixed" at least 3 times).
  1174.     - Stroking 1-pixel-wide lines shortened them, instead of
  1175. lengthening them, if non-butt caps were requested.
  1176.  
  1177. Refactors mem_mapped8_copy_mono because of limitations in the bcc32
  1178. compiler.
  1179.  
  1180. Version 2.9.3-beta (1/19/94)
  1181. ==================
  1182.  
  1183. This version was created for evaluation purposes for a few users who
  1184. needed Level 2 capability; it was never released to anyone else, even
  1185. beta testers.
  1186.  
  1187. Documentation
  1188. -------------
  1189.  
  1190. Fixes bugs:
  1191.     - The description of psview and xpsview was incorrect.
  1192.  
  1193. Procedures
  1194. ----------
  1195.  
  1196. Changes the installation directories for Unix and similar systems to put
  1197. Ghostscript data in $(datadir)/ghostscript/gs-NN.NN.NN rather than directly
  1198. in $(datadir)/ghostscript.  (Fonts still go in $(datadir)/ghostscript/fonts.)
  1199.  
  1200. Drivers
  1201. -------
  1202.  
  1203. Fixes bugs:
  1204.     - Some spaces were incorrectly replaced with tabs in the help
  1205. message in the 3B1 display driver.
  1206.     - The BMP driver wrote a spurious scan line at the beginning
  1207. of its output.
  1208.     - The monochrome PCX driver had the two palette elements
  1209. interchanged.
  1210.  
  1211. Adds new drivers:
  1212.     - A user-contributed driver for the Xerox XES printer format.  This
  1213. has a FSF copyright.
  1214.     - A user-contributed driver for the Epson AP3250 printer.  (This is
  1215. the same as the Stylus 800, with slightly different margins.)
  1216.     - A user-contributed driver for the DEC LA70 printer with some
  1217. algorithms for improving text at low resolutions.  This has a FSF
  1218. copyright.
  1219.     - A user-contributed driver for an intermediate-resolution mode
  1220. for 9-pin "Epson-compatible" printers.
  1221.  
  1222. Changes the name of the Stylus 800 driver from escp2 to st800.
  1223.  
  1224. Adds a compile-time flag to the Epson driver to cope with Panasonic 9-pin
  1225. printers, which sometimes have trouble mixing graphics and tabs.
  1226.  
  1227. Platforms
  1228. ---------
  1229.  
  1230. Fixes bugs:
  1231.     - The MS Windows driver (gp_mswin.c) referred to iodev.h rather
  1232. than gxiodev.h.
  1233.     - On Unix System V platforms, gp_unifs.c and gdevpipe.c were
  1234. incorrectly omitted from the link list.
  1235.     - (Some?) System V platforms don't have the S_ISDIR macro,
  1236. requiring a change in stat_.h.
  1237.     - The Unix `install' target didn't install gs_std_e.ps and
  1238. gs_iso_e.ps.
  1239.     - No MODULES.LIS file was provided for VMS.
  1240.  
  1241. Adds Desqview/X makefiles that actually work.
  1242.  
  1243. Documents the set of H-P-supplied patches needed to make H-P's
  1244. compilers process Ghostscript.
  1245.  
  1246. Changes the MS Windows driver so that if the user presses the Enter key
  1247. while the image window has the focus, the text window will be brought to
  1248. the top and made the active window.  This is useful when viewing a
  1249. multi-page document with Ghostscript.
  1250.  
  1251. Interpreter
  1252. -----------
  1253.  
  1254. Fixes bugs:
  1255.     - The definition of public_st_client_color() in gxccolor.h
  1256. included an extraneous semicolon.
  1257.     - The definition of private_st_AXD_state() in sfilter.h included an
  1258. extraneous semicolon.
  1259.     - saxx.c didn't include sfilter.h, which it needed for the
  1260. definition of private_st_AXD_state().
  1261.     - ialloc_struct failed to create a separate chunk if the structure
  1262. was very large.
  1263.     - setcolorspace didn't allocate the colorspace object in the same
  1264. VM space as the graphics state, causing problems when the colorspace was
  1265. freed.
  1266.     - In rare circumstances, currentfile could return an empty array
  1267. rather than a file.
  1268.     - Dictionary keys were always allocated in global VM.
  1269.     - If NOPLATFONTS was true, definefont didn't check whether the
  1270. dictionary was read-only before trying to insert an ExactSize key.
  1271.     - startjob could get an invalidaccess error, because serverdict was
  1272. allocated in global VM.
  1273.     - Using definefont with an already registered font created a
  1274. circular list structure.
  1275.     - If a PostScript procedure appeared as a CharString in a Type 1
  1276. font, it was always called with the character name, never the character
  1277. code.
  1278.     - The SubFileDecode filter didn't work with a non-empty EOD string
  1279. (went into an endless loop).  (Probably a new bug in 2.8.)
  1280.     - save/restore didn't properly restore the maxlength of a
  1281. dictionary, causing data to get smashed at random.  (New bug in 2.9.)
  1282.     - save didn't mark objects as old, so a nested restore had no
  1283. effect.  (New bug in 2.9.2.)
  1284.     - After returning from an OtherSubrs callback, op_type1_free
  1285. freed the saved interpreter state incorrectly.  (New bug in 2.7.)
  1286.     - Level 1 configurations didn't work because .makeoperator gave an
  1287. invalidaccess error.  (New bug in 2.9.2.)
  1288.     - ASCII85 string literals didn't work.  (Probably a new bug in 2.8.)
  1289.     - If the current global/local allocation mode was different at the
  1290. end of a file than at the beginning, an addressing fault could occur
  1291. (gs_unregister_root in gs_run_string).  (New bug in 2.9.2.)
  1292.     - After a setfileposition on a file open for reading,
  1293. fileposition would return an incorrect value, even though the stream
  1294. was actually repositioned properly.
  1295.  
  1296. Brings the dictionary unpacking code for the DCT filters into line with
  1297. Adobe Technical Note 5116, which describes the Picky parameter for
  1298. DCTDecode and the NoMarker, Resync, Blend, Picky, and Relax parameters for
  1299. DCTEncode.
  1300.  
  1301. Changes the .quit operator so that if given a negative argument, the
  1302. interpreter returns this as the error code, rather than e_Quit.
  1303.  
  1304. Changes the Ghostscript integer version number from 100P+10S+T to
  1305. 10000P+100S+T.
  1306.  
  1307. Changes the default halftone screen for high-resolution devices, both
  1308. black-and-white and color.
  1309.  
  1310. Library
  1311. -------
  1312.  
  1313. Fixes bugs:
  1314.     - The software floating multiply code used with USE_FPU=-1 only
  1315. worked on little-endian platforms.
  1316.     - Specifying a left side bearing to .type1addpath produced an
  1317. inappropriate offset.
  1318.  
  1319. Version 2.9.2-beta (1/2/94)
  1320. ==================
  1321.  
  1322. This version was distributed only to beta testers.  It adds a garbage
  1323. collector and full local and global VM support.  It is the first version
  1324. that sets languagelevel = 2, i.e., claims to be a Level 2 implementation.
  1325.  
  1326. Documentation
  1327. -------------
  1328.  
  1329. Fixes bugs:
  1330.     - make.doc still referred to use_* variables in gdevx.c, and
  1331. use.doc didn't explain the use* X resources.
  1332.  
  1333. Notes that -Olimit=1000 is needed to compile Ghostscript on AXP systems
  1334. under OSF/1 1.3.
  1335.  
  1336. Utilities
  1337. ---------
  1338.  
  1339. Fixes bugs:
  1340.     - viewgif.ps did not work with interlaced images.
  1341.     - font2c.ps omitted gsmemory.h from the #include list in compiled
  1342. fonts.
  1343.  
  1344. Drivers
  1345. -------
  1346.  
  1347. Fixes bugs:
  1348.     - The MS Windows driver hadn't been updated to work with the
  1349. new additions to the gx_device structure.
  1350.     - The BMP file driver wrote one scan line too many.
  1351.     - The cdj driver omitted an important cast to int in the error
  1352. diffusion code (FSdither macro).
  1353.  
  1354. Changes the SuperVGA drivers to recognize erasepage and reset the
  1355. color table, like the X driver.
  1356.  
  1357. Adds some fragmentary code to begin implementing the PostScript fax
  1358. extensions.
  1359.  
  1360. Platforms
  1361. ---------
  1362.  
  1363. Fixes bugs:
  1364.     - The procedure initializers for the MS Windows console I/O
  1365. were missing the new reset element.
  1366.     - The makefile entry in bcwin.mak used -fdev rather than -iodev.
  1367.     - The Borland C++ makefiles exceeded MS-DOS's line length limit if
  1368. the compiler files were in the standard Borland directory (BORLANDC).
  1369.     - Some procedures weren't declared with prototypes in gp_vms.c.
  1370.     - Some declarations had to be reordered to pacify the VAX compiler.
  1371.     - Under MS Windows, Ghostscript didn't automatically de-iconify the
  1372. text window to display messages on an error exit.
  1373.     - The Unix makefile rule for gconfig_.h used echogs rather than
  1374. ./echogs.
  1375.     - The Microsoft C makefile referred to an obsolete file gs.tr.
  1376.     - gp_unifs.c used strpbrk and strrchr, which some systems lack.
  1377.  
  1378. Updates the OS/2 code and documentation for compatibility with the current
  1379. Ghostscript version.
  1380.  
  1381. Fonts
  1382. -----
  1383.  
  1384. Fixes bugs:
  1385.     - The X11 .pfa fonts replaced their .gsf requirements in the
  1386. fontmap, but not distributed with the previous (beta) release.
  1387.  
  1388. Adds fontmaps appropriate for use with DEC Ultrix and OSF/1 systems.
  1389.  
  1390. Interpreter
  1391. -----------
  1392.  
  1393. Fixes bugs:
  1394.     - 4-value entries in the Metrics dictionary were interpreted with
  1395. the width and side bearing interchanged.
  1396.     - Objects large enough to require their own chunk were not freed
  1397. properly.
  1398.     - The GS_FONTPATH scanner didn't deal with the possibility that
  1399. opening a file might fail.
  1400.     - The interrupt and timeout errors incorrectly pushed an error
  1401. object on the operand stack.
  1402.     - imagemask gave an error if it was invoked with a dictionary
  1403. argument with a current color space with more than 1 parameter.
  1404.     - definefont insisted that a new font not have a FID entry.
  1405.     - Some places didn't cast char to byte when needed.
  1406.     - An extra element was left on the stack when substituting the
  1407. default font for a font whose file couldn't be found.
  1408.     - The CCITTFaxDecode filter didn't allow the dictionary to be
  1409. omitted.  (The Adobe documentation doesn't allow this, but Adobe
  1410. implementations do.)
  1411.     - When the input came from a pipe (`-') switch, opening a filter on
  1412. currentfile that required more than 1 input byte to make progress would
  1413. cause Ghostscript to hang (in sreadbuf).
  1414.     - The interpreter didn't call gs_set_lib_paths before executing a
  1415. compiled-in initialization file.
  1416.     - A stream could be closed more than once.  (New bug in 2.8.)
  1417.     - The LZW decoder produced incorrect output if a code string was
  1418. too long to fit into a single output buffer.  (New bug as of 2.8.)
  1419.  
  1420. Implements a special check in def to allow construction of systemdict,
  1421. which is stored in global VM but references dictionaries in local VM.
  1422.  
  1423. Implements additional Level 2 features:
  1424.     - %null% and %ram% IODevices.
  1425.     - startjob, exitserver.
  1426.     - Local and global VM (finish).
  1427.     - Garbage collection (for everything except names and strings).
  1428.  
  1429. Moves the procedures for selecting paper size from systemdict to userdict.
  1430.  
  1431. Sets languagelevel to 2 in Level 2 mode, since essentially all of
  1432. Level 2 is now implemented.
  1433.  
  1434. Factors out the Level 1 extended color facilities (CMYK color and
  1435. colorimage) as a separate configuration feature.
  1436.  
  1437. Adds some preliminary code to begin implementing the Adobe BCP and TBCP
  1438. communication protocols.
  1439.  
  1440. Changes the implementation of save and restore so that the bookkeeping
  1441. structures are allocated in the new area, not the old.  (This is an
  1442. internal change not visible at the PostScript level.)
  1443.  
  1444. Library
  1445. -------
  1446.  
  1447. Fixes bugs:
  1448.     - gdevprn used some preprocessor macros in formal argument
  1449. lists that ansi2knr couldn't handle.
  1450.     - pick_cell_size called gs_distance_transform with a 0 argument
  1451. that non-ANSI compilers didn't automatically promote to floating point.
  1452.     - gs_screen_init called hypot with integer arguments that
  1453. non-ANSI compilers didn't automatically promote to floating point.
  1454.     - Some places didn't cast char to byte when needed.
  1455.     - The vx/vy origin adjustment for WMode=1 wasn't implemented.
  1456.     - The pattern cache wasn't initialized properly.
  1457.     - Composite fonts didn't properly decode strings that started with
  1458. an escape sequence, which have a special (undocumented) decoding rule, and
  1459. also didn't properly decode strings with multiple consecutive escape
  1460. sequences.
  1461.  
  1462. Factors out the Level 1 extended color facilities (CMYK color and
  1463. colorimage) as a separate configuration feature.
  1464.  
  1465. Version 2.9.1-beta (12/7/93)
  1466. ==================
  1467.  
  1468. This version was distributed only to beta testers.
  1469.  
  1470. Utilities
  1471. ---------
  1472.  
  1473. Adds a viewgif.ps utility to view GIF files.  The current version does not
  1474. work with interlaced data, local color tables, or files containing more
  1475. than one image.
  1476.  
  1477. Interpreter
  1478. -----------
  1479.  
  1480. Fixes bugs:
  1481.     - putinterval and copy didn't do the right thing if the source and
  1482. destination were aliases for overlapping sections of the same array or
  1483. string.
  1484.     - The DCT filter stub didn't allow the dictionary to be omitted.
  1485. (The Adobe documentation doesn't allow this, but Adobe implementations
  1486. do.)
  1487.  
  1488. Adds an optional dictionary argument to the LZWDecode filter, containing
  1489. InitialCodeLength, FirstBitLowOrder, BlockData, and EarlyChange entries.
  1490. Setting these parameters appropriately allows reading (non-interlaced) GIF
  1491. data directly.
  1492.  
  1493. Library
  1494. -------
  1495.  
  1496. Fixes bugs:
  1497.     - setdash produced inverted output if the pattern had an odd
  1498. number of elements and the offset O had the property that L <= O mod
  1499. 2*L, where L was the sum of the pattern elements.
  1500.  
  1501. Version 2.9-beta (12/6/93)
  1502. ================
  1503.  
  1504. Like 2.7, this version was created to satisfy a contractual requirement,
  1505. and will never be distributed to anyone other than the other party to the
  1506. contract.
  1507.  
  1508. Documentation
  1509. -------------
  1510.  
  1511. Notes that Ghostscript runs on IBM PCs and compatibles under DR DOS
  1512. 6.0.
  1513.  
  1514. Notes that Ghostscript will run on IBM PCs and compatibles with
  1515. Hercules display cards if you redirect text output to a file.
  1516.  
  1517. Notes that the alternate DeskJet 500C driver (djet500c) does not work
  1518. on the 550C.
  1519.  
  1520. Gives a list of system-specific directories where Type 1 fonts are
  1521. likely to be installed, as a suggested setting for GS_FONTPATH.
  1522.  
  1523. Procedures
  1524. ----------
  1525.  
  1526. Changes the distribution script so that it stores all text files in the
  1527. main source archive with Unix end-of-line conventions, but with DOS
  1528. end-of-line conventions in the MS-DOS-specific archive.
  1529.  
  1530. Changes the MS-DOS, MS Windows, and OS/2 makefiles so that 486SX and 486DX
  1531. processors are different CPU_TYPEs.  (The former, designated by
  1532. CPU_TYPE=485, does not include an on-chip FPU.)
  1533.  
  1534. Adds a line to gs_init.ps which can be uncommented to select A4 as
  1535. the default paper size.
  1536.  
  1537. Adds a definable CFLAGS macro to the makefiles, allowing -DA4 to
  1538. select A4 as the default paper size.
  1539.  
  1540. Adds the H-P printer drivers to the standard Unix configurations.
  1541.  
  1542. Utilities
  1543. ---------
  1544.  
  1545. Fixes bugs:
  1546.     - If there were no unencoded characters, prfont.ps would get
  1547. an error.
  1548.  
  1549. Changes ansi2knr to accept a wider range of function declaration syntax,
  1550. and to not depend on any Ghostscript header files.
  1551.  
  1552. Drivers
  1553. -------
  1554.  
  1555. Fixes bugs:
  1556.     - Several drivers (DigiFax, Epson LQ-2550, NEC P6) didn't handle
  1557. A4 paper width.
  1558.     - The IBM ProPrinter wasn't being initialized properly.
  1559.     - The Epson driver didn't work properly with compilers that
  1560. insisted on 'char' being a signed type.
  1561.     - The Epson driver ignored its end_string argument, producing
  1562. incorrect end-of-page behavior on some printers.
  1563.  
  1564. Adds new drivers:
  1565.     - User-contributed drivers for Bellcore MGR (a window manager most
  1566. commonly used with OS-9) devices.
  1567.     - A user-contributed driver for the CIF file format.
  1568.     - A user-contributed driver for the HP 2563B line printer.
  1569.  
  1570. Changes the LaserJet 2p, 3, and 4 drivers so they set the initial position
  1571. to (0,0) rather than (0,0.25").  (I don't remember why it was the other
  1572. way.)
  1573.  
  1574. Implements the PageCount property in all drivers, not just printer
  1575. drivers.
  1576.  
  1577. Introduces a new gx_tile_bitmap type, and changes the tile_rectangle
  1578. device procedure to take it in place of gx_bitmap.  THIS IS A
  1579. NON-BACKWARD-COMPATIBLE CHANGE.  However, it only affects devices that
  1580. implement their own tile_rectangle procedures, of which there aren't very
  1581. many.
  1582.  
  1583. Platforms
  1584. ---------
  1585.  
  1586. Fixes bugs:
  1587.     - The VMS module lists referred to SDCTD and SDCTE instead of
  1588. SDCT.
  1589.     - The Unix install script tried to install the non-existent file
  1590. readme.doc.
  1591.     - Microsoft C does something bizarre with empty macro parameters,
  1592. which caused a problem with the gs_struct_type_... macros.
  1593.     - The Unix platforms didn't automatically handle the presence
  1594. or absence of <dirent.h>.
  1595.     - The DEC Alpha OSF/1 1.3 library lacks `const' in the prototype
  1596. for popen, which requires a workaround.
  1597.     - The DEC Alpha OSF/1 1.3 X Windows library uses `private' as a
  1598. member name.
  1599.  
  1600. Splits off gp_unifs.c, containing code common to "Unix-like" file systems.
  1601.  
  1602. Adds a user-contributed OS-9 platform.
  1603.  
  1604. Interpreter
  1605. -----------
  1606.  
  1607. Fixes bugs:
  1608.     - The currentfile cache wasn't updated properly if an executable
  1609. file appeared in the middle of a procedure.  In particular, eexec-encoded
  1610. .PFB fonts often didn't work.
  1611.     - There was an extraneous `goto top' in scfd.c.
  1612.     - An integer constant overflowed in iname.c.
  1613.     - -2147483648 (i.e., -1 << 31) was converted to a float.
  1614.     - eexec didn't skip the first 4 characters correctly if they were
  1615. split across a buffer boundary.
  1616.     - The font/matrix pair cache didn't properly free entries with only
  1617. an XUID that was being deallocated.
  1618.  
  1619. Implements additional Level 2 features:
  1620.     - Patterns, makepattern, setpattern.
  1621.     - IODevice resource, setdevparams, currentdevparams.
  1622.     - OutputDevice resource, setpagedevice, currentpagedevice.
  1623.     (Partially implemented.)
  1624.  
  1625. Adds a new type t_struct to handle miscellaneous types that are allocated
  1626. as objects and that the interpreter doesn't handle specially, and changes
  1627. condition, fontID, gstate, lock, and save types to use t_struct.  (This is
  1628. an internal change, not visible at the language level.)
  1629.  
  1630. Moves the maxlength of a dictionary to its own ref, eliminating the "size
  1631. of integer" hack.  (This is an internal change, not visible at the
  1632. language level.)
  1633.  
  1634. Adds the last OS error number to the error printout.
  1635.  
  1636. Removes the obsolete framedevice operator.
  1637.  
  1638. Implements resetfile (the only Level 1 operator not yet implemented!).
  1639.  
  1640. Changes the name of the getdevice operator to .getdevice.
  1641.  
  1642. Library
  1643. -------
  1644.  
  1645. Fixes bugs:
  1646.     - A couple of necessary casts from char * to byte * were omitted.
  1647.     - A Sun compiler required an extra cast to (void *) in the e1
  1648. macro in clip_rect_enum_ptrs in gxcpath.c.
  1649.     - The gx_dc_ procedures defined in gxdraw.c weren't marked as
  1650. 'private'.
  1651.     - The number of "on" pixels in a halftone cell sometimes varied by
  1652. 1 from cell to cell.
  1653.     - Mapping a gray level to CMYK didn't subtract it from 1 (to
  1654. produce the K component).
  1655. *    - charpath took hints into account.
  1656.  
  1657. Shuffles the order of some declarations to pacify the VMS C compiler.
  1658.  
  1659. Version 2.8-beta (11/10/93)
  1660. ================
  1661.  
  1662. This version was distributed only to beta testers.  It adds Type 0 font
  1663. support.  It also includes extensive redesign of streams (to eventually
  1664. support procedure streams) and device properties (to eventually support
  1665. get/setpagedevice and get/setdevparams).
  1666.  
  1667. Documentation
  1668. -------------
  1669.  
  1670. Notes the change in X11 foreground/background handling.
  1671.  
  1672. Changes README so it no longer claims that Ghostscript works with X11R3.
  1673.  
  1674. Notes (in devs.mak) that the cdjmono driver is the best one to use for the
  1675. DeskJet 510.
  1676.  
  1677. Procedures
  1678. ----------
  1679.  
  1680. Fixes bugs:
  1681.     - echogs wasn't always invoked with ./ on Unix systems.
  1682.  
  1683. Changes the file name unix-ansi.mak to unixansi.mak, so it can be created
  1684. on a MS-DOS system.
  1685.  
  1686. Adds a new "feature", ccinit.dev, which compiles and links the
  1687. initialization files (gs_*.ps) into the executable, just as ccfonts.dev
  1688. compiles and links fonts.  If ccinit and ccfonts are both selected, the
  1689. only external file needed at run time is Fontmap.  Note that you must have
  1690. a working version of Ghostscript already in order to create a version that
  1691. uses the ccinit feature, just as for ccfonts.
  1692.  
  1693. Utilities
  1694. ---------
  1695.  
  1696. Fixes bugs:
  1697.     - the ps2image utility didn't put a %! on the first line of the
  1698. output.
  1699.  
  1700. Drivers
  1701. -------
  1702.  
  1703. Fixes bugs:
  1704.     - The Hercules display driver didn't include definitions for
  1705. outport2 and PAGE_HEIGHT_INCHES, which it uses.
  1706.     - The BGI driver didn't call setactivepage or setvisualpage,
  1707. which it needs to do in general.
  1708.     - The Apple DMP driver declared dmp_print_page rather than
  1709. appledmp_print_page, causing a compilation error.
  1710.  
  1711. Changes the X11 driver so that it doesn't use the default foreground and
  1712. background colors: you must set foreground and background explicitly for
  1713. Ghostscript if you want them to be other than black and white
  1714. respectively.
  1715.  
  1716. Adds new user-contributed drivers for:
  1717.     - The StarJet 48 inkjet printer;
  1718.     - The Linux VGALIB display interface.
  1719.     - OS/2 Presentation Manager.
  1720.  
  1721. Changes the margins of the Epson driver to 0.2, 0.0, 0.0, 0.0, which
  1722. more accurately reflect the printer's capabilities.
  1723.  
  1724. Changes the get_props and put_props device procedures to take property
  1725. list "objects" with a procedural interface, rather than a data structure
  1726. interface.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.  It affects all
  1727. get_props and put_props procedures.  Fortunately, there were only a few
  1728. devices that implemented their own get_props and put_props procedures (the
  1729. H-P color printers, and the three window systems -- X Windows, MS Windows,
  1730. and OS/2 PM).
  1731.  
  1732. Platforms
  1733. ---------
  1734.  
  1735. Fixes bugs:
  1736.     - The meaning of the -p switch for the Watcom compile-and-link
  1737. program was changed between Watcom C/386 versions 8.5 and 9.5, causing the
  1738. make process to malfunction.
  1739.     - The SCFTAB and SCFDTAB modules were omitted from the VMS link
  1740. list.
  1741.  
  1742. Adds user-contributed code for OS/2.
  1743.  
  1744. Removes the assumption that an 80486 CPU implies the presence of hardware
  1745. floating point, since the 486SX and Cyrix 486SLC don't have it.
  1746.  
  1747. Fonts
  1748. -----
  1749.  
  1750. Fixes bugs:
  1751. *    - The GS_FONTPATH scanner didn't recognize .PFB fonts beginning
  1752. with %!PS-AdobeFont.
  1753. *    - The GS_FONTPATH scanner often didn't recognize .PFB fonts at all.
  1754.     - Type 1 fonts always set the line join, line cap, and miter limit
  1755. to known values, rather than using the current values.  (Using the current
  1756. values doesn't make much sense, but it's apparently what the Adobe
  1757. implementations do.)
  1758.     - DISKFONTS didn't work, because of the change in the Ghostscript
  1759. fonts to do a systemdict begin/end (in version 2.7.1).
  1760.  
  1761. Interpreter
  1762. -----------
  1763.  
  1764. Fixes bugs:
  1765.     - == didn't produce exactly the same output as the Adobe
  1766. interpreters.  (Some automated debugging and testing programs care.)
  1767.     - The CCITTFaxEncode filter could get caught in an infinite loop,
  1768. because it failed to mask a byte datum when scanning for runs of black
  1769. pixels.
  1770.     - The write operator gave an error for values outside the range 0
  1771. to 255, rather than just using the low-order 8 bits.
  1772.     - Some applications call a statusdict procedure named
  1773. setresolution without checking first whether it is present; Ghostscript
  1774. didn't provide one.
  1775.     - Reading from a closed stream caused an error instead of
  1776. returning EOF.
  1777.     - Input streams didn't close automatically at EOF.
  1778.     - findfont was defined as an operator, not a procedure.
  1779.     - closefile on a closed file gave an error.  (It isn't obvious
  1780. that the Adobe documentation specifies that it shouldn't, but that's what
  1781. Adobe says they do.)
  1782.     - The LZWDecode filter didn't handle codes representing strings
  1783. longer than the buffer size correctly.
  1784.     - The LZWDecode filter only allowed 4095 codes to be used, rather
  1785. than 4096.
  1786.     - The rand operator produced an infinite string of zeros if
  1787. given 0 or 0x7fffffff as the seed.
  1788.     - When a CDevProc procedure was called, there was an extra
  1789. copy of the character name on the operand stack below the operands of
  1790. CDevProc.
  1791.  
  1792. Replaces all stream implementations with new ones designed to allow
  1793. interruption at arbitrary times.  ****** The 2-D case of CCITTFaxEncode
  1794. hasn't been converted (but it probably didn't work before, either).
  1795.  
  1796. Implements additional Level 2 features:
  1797.     - Type 0 (composite) fonts.
  1798.  
  1799. Adds an eexecEncode filter.
  1800.  
  1801. Implements setcolorscreen, which was accidentally omitted from 2.7.
  1802.  
  1803. Library
  1804. -------
  1805.  
  1806. Fixes bugs:
  1807. *    - In colorimage, if the color space of the image was different
  1808. from the current color space, and the first data values on a scan line
  1809. were zeros, the wrong color could result.
  1810.     - The new flatness testing algorithm could overflow, producing
  1811. straight lines or obvious polygons instead of curves.
  1812.     - Images could fail to display pixels after the first non-blank
  1813. pixel on a line if halftoned color was required.  (This bug was probably
  1814. introduced in 2.7.)
  1815.     - Interpolation between transfer map entries didn't work, because
  1816. of a rounding/truncation bug in frac2bits (bug introduced in 2.7.1.)
  1817.     - cshow did an extra grestore at the end.
  1818.  
  1819. * Implements a hack to slightly displace 1-bit-wide or -high images.  This
  1820. is necessary to work around a bug in TeX (or dvips?), which uses such
  1821. images to draw horizontal and vertical lines without positioning them to
  1822. ensure that they cover device pixel centers.
  1823.  
  1824. Adds support for composite fonts (no new client procedures).
  1825.  
  1826. Version 2.7.2-beta (10/11/93)
  1827. ==================
  1828.  
  1829. This version was distributed only to alpha testers.
  1830.  
  1831. Utilities
  1832. ---------
  1833.  
  1834. Fixes bugs:
  1835.     - prfont.ps didn't print unencoded characters.
  1836.  
  1837. Improves mergeini.ps to remove embedded comments.
  1838.  
  1839. Interpreter
  1840. -----------
  1841.  
  1842. Fixes bugs:
  1843.     - An error occurring within the scope of an internal .stopped
  1844. didn't pop the command and error name off the stack.
  1845. *    - The = and == procedures weren't re-entrant.
  1846.  
  1847. * Adds a .writecvs operator that does a cvs to an internal string followed
  1848. by a writestring.
  1849.  
  1850. Library
  1851. -------
  1852.  
  1853. Fixes bugs:
  1854.     - grestore freed the path and the clip path in an order that
  1855. was likely to lead to memory sandbars.
  1856.     - moveto + closepath didn't actually close the path.
  1857.     - moveto + reversepath produced an empty path (no moveto).
  1858.     - moveto + closepath + reversepath produced an extra lineto.
  1859.     - reversepath didn't set the current point to the end (i.e., the
  1860. former beginning) of the last subpath.
  1861.  
  1862. Adds a "planar" memory device.
  1863.  
  1864. Version 2.7.1-beta (10/4/93, not distributed to the public)
  1865. ==================
  1866.  
  1867. Like 2.7, this version was created to satisfy a contractual requirement,
  1868. and will never be distributed to anyone other than the other party to the
  1869. contract.
  1870.  
  1871. Documentation
  1872. -------------
  1873.  
  1874. Documents the GS_OPTIONS environment variable.
  1875.  
  1876. Adds a summary of all environment variables to the documentation
  1877. (use.doc).
  1878.  
  1879. Documents the existence of a third free viewer built on Ghostscript.
  1880.  
  1881. Utilities
  1882. ---------
  1883.  
  1884. Fixes bugs:
  1885.     - wrfont didn't wrap a systemdict begin / end around the body of
  1886. the font.
  1887.     - wrfont wrote out the Symbol and ZapfDingbats encodings in a way
  1888. that only worked if the encoding was known by name.
  1889.  
  1890. Changes bdftops to include an XUID if desired.
  1891.  
  1892. Changes bdftops so that it uses 'show' for unknown ligatures, rather than
  1893. executing the characters as subroutines; this makes such ligatures work
  1894. properly with xfonts.
  1895.  
  1896. Drivers
  1897. -------
  1898.  
  1899. Fixes bugs:
  1900.     - The PCL drivers sent a printer reset (<ESC>E) at the beginning
  1901. of every page, instead of only before the first page.
  1902.     - The PCX driver didn't round up the scan line width in the
  1903. header, even though it produced scan lines with the correct (rounded)
  1904. number of bytes.
  1905.  
  1906. Adds a new map_rgb_alpha_color procedure.  This is a backward-compatible
  1907. change; this procedure defaults to calling map_rgb_color.
  1908.  
  1909. Platforms
  1910. ---------
  1911.  
  1912. Fixes bugs:
  1913.     - On Unix platforms, the value of the TEMP environment variable
  1914. had to end with a '/'.
  1915.     - On MS-DOS systems, printer output to devices other than PRN
  1916. (specifically, LPTn) didn't put the device into binary mode.
  1917.  
  1918. Adds FPU_TYPE to the Unix makefiles, with a default value of 1.
  1919.  
  1920. Removes the mention of Xmu linking problems on the SunOS platform,
  1921. since the problem no longer exists.
  1922.  
  1923. Changes the order of X Windows libraries from Xt X11 Xext to Xt Xext X11.
  1924. This makes the OSF/1 linker happier.
  1925.  
  1926. Fonts
  1927. -----
  1928.  
  1929. Fixes bugs:
  1930.     - All the fonts originated by Aladdin, and the shareware fonts,
  1931. had UniqueIDs in the 4xxxxxx range, which is only supposed to be used for
  1932. limited-distribution fonts.
  1933. *    - When Ghostscript loaded a font, it pushed a scratch dictionary
  1934. on the dictionary stack, rather than userdict.  (Note that this fix also
  1935. requires fixing the fonts to include a protective systemdict begin /
  1936. end; see below.)
  1937. *    - When loading a font failed, Ghostscript didn't check the font
  1938. name against the default font name properly.
  1939.     - Ghostscript's own fonts didn't include a systemdict begin /
  1940. end to guard against redefinition of names used in the reading
  1941. procedures (e.g., index).
  1942. *    - When Ghostscript scanned a .PFB font to get the FontName, it
  1943. didn't skip over the 6-byte header, which could cause confusion or a
  1944. syntaxerror.
  1945.     - Loading a .PFB font that left extra information on the
  1946. operand stack didn't work.
  1947.  
  1948. Changes the ZapfDingbats font to use DingbatsEncoding rather than include
  1949. a copy of the encoding in itself, if DingbatsEncoding is known.  Changes
  1950. the Symbol font similarly.
  1951.  
  1952. Removes eexec encryption from the 4 URW fonts, so they will work with
  1953. DISKFONTS.
  1954.  
  1955. Adds shareware Hiragana and Katakana fonts (Calligraphic-Hiragana and
  1956. Calligraphic-Katakana, by Kevin Hartig).
  1957.  
  1958. Adds GS on the end of the family names of all of Aladdin's own converted
  1959. fonts.
  1960.  
  1961. Replaces many of the Hershey fonts with new ones (mostly Type 1) created
  1962. by Thomas Wolff, who added accents, accented characters, and other
  1963. non-alphabetics.  These too now have proper UniqueIDs.
  1964.  
  1965. Interpreter
  1966. -----------
  1967.  
  1968. Fixes bugs:
  1969. *    - imagemask interpreted the Decode array incorrectly (inverted).
  1970.     - Running out of memory when constructing a path incorrectly
  1971. signalled a limitcheck rather than a VMerror.
  1972.     - restore didn't purge uncached scaled fonts properly.
  1973.  
  1974. Adds alpha (opacity) to the graphics state, and setalpha and
  1975. currentalpha operators.
  1976.  
  1977. Redefines erasepage in terms of a new .fillpage operator that fills
  1978. the current page with the current color and then does a sync_output.
  1979.  
  1980. Redefines setdevice and putdeviceprops in terms of new .setdevice and
  1981. .putdeviceprops operators that return a boolean indicating whether the
  1982. page needs to be erased.  With this change, operators that erase the page
  1983. always call erasepage at the interpreter level rather than calling
  1984. gs_erasepage directly.
  1985.  
  1986. Library
  1987. -------
  1988.  
  1989. Fixes bugs:
  1990.     - The null device allowed its size to be reset.
  1991.     - clippath didn't establish a current point if the clipping
  1992. path was empty.
  1993. *    - The Type 1 font interpreter (gs_type1_interpret) flattened
  1994. curves even if it was being invoked for charpath.
  1995.     - Colored halftones usually didn't come out with the correct
  1996. phase, and had several other problems.
  1997.     - A show or charpath within a BuildChar procedure didn't work.
  1998.     - Accented characters composed with seac used the base
  1999. character width instead of the composed character width.  (The Adobe
  2000. documentation says these must be the same, but some commercial fonts
  2001. don't obey this.)
  2002.     - setcurrentpoint in the accent of a character composed with
  2003. seac didn't take the accent's displacement into account.
  2004.  
  2005. Adds an alpha (coverage) value to the graphics state, and
  2006. gs_setalpha/currentalpha procedures.  Currently Ghostscript just passes
  2007. the alpha value to the driver; it doesn't attempt to emulate alpha
  2008. handling if the driver doesn't support it.
  2009.  
  2010. Redefines gs_erasepage to call gs_fillpage.
  2011.  
  2012. Bypasses the fill code if the clipping box is empty.  This makes a big
  2013. difference for stringwidth, and doesn't hurt anything else.
  2014.  
  2015. Changes frac_1 from 0x7fff to 0x7ff8.  This allows exact representation of
  2016. practically all useful fractions, since this number (32760) is
  2017. 2*2*2*3*3*5*7*13.
  2018.  
  2019. Changes float to double in several matrix routines for better accuracy.
  2020.  
  2021. Adds new device properties to implement the deviceinfo operator:
  2022. Colors, GrayValues, RedValues, GreenValues, BlueValues, ColorValues.
  2023. Also adds HWBitsPerPixel and HWColorMap.
  2024.  
  2025. Changes the sorting algorithm for halftones to use qsort instead of
  2026. special code.
  2027.  
  2028. Changes the Type 1 interpreter so that it uses the current point, rather
  2029. than (0,0), as the character origin.
  2030.  
  2031. Version 2.7-beta (9/20/93, not distributed to the public)
  2032. ================
  2033.  
  2034. This is the first of a series of beta-only versions planned for release
  2035. between 2.6.n and 3.0.  This version, in particular, was created to
  2036. satisfy a contractual requirement, and will never be distributed to anyone
  2037. other than the other party to the contract.
  2038.  
  2039. Documentation
  2040. -------------
  2041.  
  2042. Fixes bugs:
  2043.     - The "HP XLFD extensions" to X11R5 are not specific to H-P
  2044. platforms.
  2045.     - The configuration generation script used rm rather than rm -f.
  2046.     - gs.1 was installed in $(docdir) rather than $(mandir);
  2047. $(mandir) wasn't defined.
  2048.     - ansi2knr.1 was installed in $(docdir), which was
  2049. inappropriate because ansi2knr itself wasn't installed anywhere.
  2050.  
  2051. Moves documentation for versions 2.4.x and 2.5.x to history.doc.
  2052.  
  2053. Moves the documentation on how to add devices to the configuration
  2054. from devs.mak to make.doc.
  2055.  
  2056. Changes the name of readme.doc to current.doc, since the presence of
  2057. two "readme" files was confusing to users.
  2058.  
  2059. Documents how to use the Microsoft Windows PostScript printer driver
  2060. to convert TrueType fonts to Type 1 fonts embedded in the document.
  2061.  
  2062. Corrects several errors in the documentation of the get_bits driver
  2063. procedure.
  2064.  
  2065. Documents the fact that X11R3 is no longer supported.
  2066.  
  2067. Removes the last references to "Ghostscript" from the comments in the
  2068. gs_*.ps files.  The only remaining reference, other than the boilerplate
  2069. comments at the beginning of each file, is in the message at the end of
  2070. gs_init.ps.
  2071.  
  2072. Documents the use of WMAKEL rather than WMAKE with the Watcom compiler.
  2073.  
  2074. Procedures
  2075. ----------
  2076.  
  2077. Fixes bugs:
  2078. *    - The Unix install script used gs rather than $(GS) as the name of
  2079. the executable.
  2080. *    - The Unix install script didn't copy gs_dbt_e.ps to $(gsdatadir).
  2081.     - genconf.c used ps2 as a variable name; ps2 is a predefined
  2082. preprocessor symbol in the VSC compiler used by IBM.
  2083.     - @-expansion didn't interact properly with -- and -+.
  2084.     - The Unix install script didn't copy COPYING to $(docdir),
  2085. and copied README to $(gsdatadir) rather than $(docdir).
  2086.     - ps2ascii used /bin/sh -f, which is an incorrect flag.
  2087.  
  2088. Removes all uses and mentions of USG (a now-obsolete GNU convention)
  2089. as a synonym for SYSV.
  2090.  
  2091. Removes filter.dev and dps.dev from FEATURE_DEVS if level2.dev is
  2092. included, since they don't add anything beyond level2.dev.
  2093.  
  2094. Changes the ccgs script to explictly remove the old .o file before
  2095. doing the mv, for the benefit of people who have changed mv to prompt
  2096. before overwriting.  Changes the configuration script to use rm -f
  2097. for the same reason.
  2098.  
  2099. Changes the -Z switch so an empty list of options does nothing, rather
  2100. than turning on all options.
  2101.  
  2102. Adds a -@ switch which is like -- and -+ except that it does
  2103. @-expansion of arguments.
  2104.  
  2105. Changes genconf so it takes patterns from the command line that describe
  2106. how to write the linker control files, rather than having the patterns
  2107. built in.
  2108.  
  2109. Changes -d and -D so that if no value is supplied, the default is
  2110. true rather than null.
  2111.  
  2112. Utilities
  2113. ---------
  2114.  
  2115. Fixes bugs:
  2116. *    - The ps2ascii script still referenced ps2ascii.ps under its
  2117. old name gs_2asc.ps.
  2118. *    - ps2image.ps had a 'pop' missing in the written-out
  2119. definition of 'max' in the boilerplate code it put at the beginning
  2120. of compressed files.
  2121. *    - ps2image.ps got a typecheck if a scan line had no repeated
  2122. data in it anywhere.
  2123.     - wrfont.ps didn't handle CharStrings or Subrs that weren't
  2124. strings.
  2125.     - mergeini.ps produced an init file that incorrectly
  2126. attempted to load the Symbol and Dingbats encodings dynamically.
  2127.  
  2128. Removes the gsview.bat file, since it was confusingly named and not
  2129. generally useful.
  2130.  
  2131. Changes bdftops back to using encrypted CharStrings, for compatibility
  2132. with Adobe interpreters, but also changes lenIV to 0, to save a little
  2133. more space.
  2134.  
  2135. Changes the traceop utility so it makes traced operators appear to be
  2136. operators, and so it will replace a definition in systemdict if explicitly
  2137. requested to do so and systemdict is writable.
  2138.  
  2139. Adds a printafm utility for printing the metrics of fonts in AFM format.
  2140.  
  2141. Drivers
  2142. -------
  2143.  
  2144. Fixes bugs:
  2145.     - The cdj driver was missing a few type casts that were needed to
  2146. satisfy pedantic compilers.
  2147.     - For banded devices, many of the non-displaying target routines
  2148. were getting called with the original device as the first argument, not
  2149. the target device.  (This didn't make any difference in practice, because
  2150. gdev_prn_open explicitly copied the non-rendering procedures back into the
  2151. procedure vector.)
  2152. *    - The X driver didn't catch and discard bogus errors on
  2153. XFreeColors, which faulty servers generate.
  2154. *    - The X driver gave up on color allocation too easily.
  2155. *    - The X driver dynamic color table size could become negative.
  2156. *    - x_lookup_font could return platform fonts of very small sizes,
  2157. which have very inaccurate metrics.
  2158. *    - The ESCP/2 driver was incorrectly named gdevescp2 in devs.mak.
  2159.     - The Apple DMP driver used #if 0 / #endif instead of comment
  2160. brackets, and was incorrectly named "dmp" instead of "appledmp" in
  2161. the source code.
  2162. *    - The X driver didn't free dynamic colors at the start of each page.
  2163. *    - The X driver didn't bind foreground/background defaults tightly.
  2164. *    - The X driver didn't check for GHOSTVIEW_COLORS properly.
  2165. *    - The X driver freed too many colors if an allocation request failed.
  2166. *    - The X driver didn't check return value of gs_malloc for being NULL.
  2167. *    - The DeskJet/LaserJet driver used an incorrect command for
  2168. end-of-page.
  2169. *    - The DeskJet/LaserJet driver incorrectly reset the printer at the
  2170. beginning of every page.
  2171. *    - The PCX driver put an old version number in the header, and
  2172. didn't pad scan lines to an even number of bytes.
  2173.     - The BMP driver used a variable named `quad', which is a
  2174. reserved word on some platforms.
  2175. *    - The TIFF driver didn't handle A4 or B4 size paper correctly.
  2176. *    - The X11 driver incorrectly demanded the Xmu library, which was
  2177. not needed and which caused link errors on some versions of SunOS.
  2178. *    - X11 font matching scheme was too loose, causing overlaps and
  2179. other problems.
  2180. *    - X11 Font Extensions (rotated and mirrored fonts) did not work
  2181. properly on NCD terminals.
  2182. *    - When freeing the rgb cube/gray ramp, the parameters to gs_free()
  2183. did not exactly match the parameters to gs_malloc().
  2184. *    - Ghostscript failed to warn the user when it could not allocate
  2185. the original color cube/gray ramp and dropped back to a smaller
  2186. cube/ramp, or from color to mono.
  2187. *    - x_release could cause Ghostscript to fail if a font was freed
  2188. after the device was closed.
  2189.     - The X driver continued to ask the server for colors even after a
  2190. request failed, causing colored images to display very slowly.
  2191.  
  2192. * Adds a pcxgray driver to provide 8-bit gray scale output in PCX format.
  2193.  
  2194. Adds a pcx24b driver to provide 24-bit RGB color PCX output.
  2195.  
  2196. * Adds a LaserJet 4 driver.
  2197.  
  2198. Adds a user-contributed driver for the DEC LA70 (very similar to the LA75).
  2199.  
  2200. Substantially improves the performance of the PxM drivers by eliminating
  2201. an unnecessary copying step and by writing each scan line with a single
  2202. fwrite when possible.
  2203.  
  2204. Moves the gray-scale and 24-bit RGB device color mapping routines to
  2205. gxcmap.c from gdevpcx.c and (nowhere).
  2206.  
  2207. Allows window granularities smaller than 64K in the VESA driver.
  2208.  
  2209. Changes the LaserJet margins again.
  2210.  
  2211. Platforms
  2212. ---------
  2213.  
  2214. Fixes bugs:
  2215.     - Platforms where stat doesn't return a st_blocks value
  2216. computed the block count wrong.
  2217.     - In gp_vms.c, the call on SYS$FILESCAN needed two uint *s
  2218. rather than a long * and a struct *.
  2219. *    - The VMS script files referenced IBSCAN instead of ISCAN2,
  2220. and omitted GDEVXXF.
  2221. *    - The UUENCODEd icons for the MS Windows platform were omitted
  2222. from the fileset.
  2223. *    - On MS-DOS systems, filenameforall didn't interpret * alone
  2224. as a pattern matching all files.
  2225.  
  2226. Adds wildcard matching capability to filenameforall under Unix.
  2227.  
  2228. Removes gp_file_status from the platform interface, since all
  2229. platforms provide identical stat calls in the C library.
  2230.  
  2231. Adds DesqView/X (using djgcc and go32) as a platform.
  2232.  
  2233. Removes the S3 driver from the standard PC configurations.
  2234.  
  2235. Adds documentation for compiling Ghostscript on the Intergraph Clipper.
  2236.  
  2237. Updates the documentation to add a better list of X Windows font
  2238. names for the Sun platform.
  2239.  
  2240. Fonts
  2241. -----
  2242.  
  2243. Creates an external file (gs_dbt_e.ps) with the ZapfDingbats encoding
  2244. (actually in 2.6.1, but not documented there).
  2245.  
  2246. Changes the names of the Cyrillic fonts to Shareware-Cyrillic-Regular
  2247. and Shareware-Cyrillic-Italic, keeping Cyrillic, Cyrillic-Regular,
  2248. and Cyrillic-Italic as aliases.
  2249.  
  2250. * Removes the requirement that the FontName in the font file be the same
  2251. as the name in Fontmap.  (This requirement led to the need for aliases,
  2252. and was extremely confusing to users.)
  2253.  
  2254. * Adds a GS_FONTPATH environment variable containing a list of directories
  2255. that should be scanned automatically for fonts.
  2256.  
  2257. * Gets rid of the Ugly font, and changes the default to the IBM Courier
  2258. font, which is freely distributable.
  2259.  
  2260. Interpreter
  2261. -----------
  2262.  
  2263. Fixes bugs:
  2264.     - cvs didn't check for stack underflow.
  2265. *    - zht2.c didn't include alloc.h.
  2266. *    - execstackoverflow cleared the e-stack instead of just
  2267. cutting it back.
  2268.     - if and ifelse incorrectly reported typecheck instead of
  2269. stackunderflow.
  2270.     - Copying a dictionary could alter some items even if a later
  2271. item causes an invalidaccess error because of an attempted store of a
  2272. local object into global VM.
  2273.     - bitshift and cvrs assumed that longs occupied 32 bits.
  2274. *    - exitserver didn't check the password, and always succeeded.
  2275.     - Font loading didn't suppress all output messages if QUIET
  2276. was set.
  2277. *    - The interpreter incorrectly pushed its exit procedure on
  2278. the e-stack if it was called again after an interrupt.
  2279. *    - The interpreter didn't treat timeout like interrupt in
  2280. terms of re-executing the current operation.
  2281. *    - `show' operators popped their operands before they were
  2282. sure they wouldn't be interrupted.
  2283. *    - rotate with a matrix operand didn't check for multiples of
  2284. 90 degrees.
  2285.     - In the system name table, ge was misspelled eg, and
  2286. pathforall was misspelled pathfoall.
  2287. *    - file_close_file attempted to free the buffer even if it was an
  2288. externally supplied string (specifically, the argument of gs_run_string).
  2289.     - setprintername (in gs_statd.ps) set printername rather than
  2290. .printername.
  2291.  
  2292. Implements additional Level 2 features:
  2293.     - Indexed color space with lookup procedure.
  2294.     - sethalftone, except for the transfer function override,
  2295.     and currenthalftone.
  2296.  
  2297. Implements OtherSubrs for indices greater than 3 (required for
  2298. MultiMaster fonts).
  2299.  
  2300. Implements black generation and undercolor removal.
  2301.  
  2302. Changes `store' from a C procedure to a PostScript procedure.
  2303.  
  2304. Changes idiv back so it requires integer operands, per the Adobe
  2305. documentation but not per some old Adobe interpreters.
  2306.  
  2307. * Adds many new paper sizes to gs_statd.ps.  It now includes ISO a0-a10
  2308. and b0-b10, and CAD sizes archA-archE.
  2309.  
  2310. Implements `status' for non-%os% files.  (This is currently a no-op,
  2311. but the framework is there.)
  2312.  
  2313. Changes the error handler so it normally uses = rather than == to print
  2314. the operand stack, to avoid recursive errors.
  2315.  
  2316. * Adds time slicing capability to the interpreter.
  2317.  
  2318. Implements setcolorscreen/currentcolorscreen.
  2319.  
  2320. Library
  2321. -------
  2322.  
  2323. Fixes bugs:
  2324. *    - Rectangles with vertices specified in clockwise order were
  2325. drawn as 0-width lines.
  2326. *    - The string matching function reported that 'abcdefg'
  2327. matched the pattern 'abcde'.
  2328. *    - The bounding box of non-rectangular clipping paths was not
  2329. being marked as valid, so cached characters would simply get
  2330. discarded as being outside the bounding box.
  2331.     - erasepage filled the page with the device's white color,
  2332. not with gray level 1 passed through the transfer function.
  2333. *    - Colors with equal R/G/B or C/M/Y components were rendered
  2334. incorrectly if the 3 or 4 transfer functions were not all the same.
  2335. *    - Because of a bug in rc_unshare, using CIE color would give
  2336. random errors (such as /invalidaccess in --for--).
  2337. *    - setbbox didn't round the coordinates properly, which could
  2338. cause erroneous rangecheck errors with coordinates on the edge of the
  2339. box.
  2340. *    - Color halftones "flipped over" at the 50% point, inverting
  2341. foreground and background.
  2342.     - Quite a few places assumed that longs occupied 32 bits.
  2343. *    - kshow passed an incorrect c1 value to the procedure.
  2344.     - The debugging code in update_x_list in gxfill.c didn't take
  2345. into account the possibility that the active line at x_first might be
  2346. deleted.
  2347.     - gx_image_cached_char called the xfont render_char procedure an
  2348. extra time if it failed with required=0 and succeeded with required=1.
  2349. (This was just a small inefficiency, not a logic bug.)
  2350.     - Non-rectangular clipping regions weren't computed correctly,
  2351. because accum_add_rect didn't handle overlapping rectangles.
  2352.     - Drivers didn't report file system errors (such as file system
  2353. full) as an ioerror.
  2354. *    - setdevice didn't reset the charpath and setcachedevice flags.
  2355.     - The Zortech compiler produced wrong code for the uid_equal
  2356. macro; uid_equal is now a procedure.
  2357.  
  2358. Passes OtherSubrs arguments back to the caller correctly for indices
  2359. greater than 3.
  2360.  
  2361. Implements black generation and undercolor removal.
  2362.  
  2363. Removes gdev_mem_ensure_byte_order, which was no longer used or useful.
  2364.  
  2365. Removes gstdev.c (device tracing), since it hasn't been used in a
  2366. long time and is of little value given a reasonable debugger.
  2367.  
  2368. Changes the interface to the xfont char_metrics and render_char
  2369. procedures to allow them to return 1.
  2370.  
  2371. Changes 32-bit memory devices so they use CMYK color mapping rather
  2372. than RGB mapping with an unused byte.
  2373.  
  2374. Implements gs_setcolorscreen/currentcolorscreen.
  2375.  
  2376. Implements Level 2 halftones, except for the transfer function override.
  2377.  
  2378. Implements a hack to make zero-width rectangles display as one pixel wide,
  2379. to work around a bug in the Microsoft Windows PostScript driver.
  2380. Currently the hack only works for vertical lines, not horizontal ones.
  2381.  
  2382. Versions before 2.7
  2383. ===================
  2384.  
  2385. See the file history.doc.
  2386.