History of Ghostscript versions 5.n

Table of contents

This document is a record of changes in Ghostscript releases numbered 5.n. For earlier versions, see the the history documents:

History of Ghostscript versions 4.n
History of Ghostscript versions 3.n
History of Ghostscript versions 2.n
History of Ghostscript versions 1.n

For other information, see the Ghostscript overview.


Within each release, news appears in the following order: Incompatible
changes, Documentation, Procedures, Utilities, Drivers, Platforms, Fonts,
Interpreter, Streams (included under Interpreter through release 2.9.9),
Library.  Changes marked with a * were made available as patches to a
previous release.


Version 5.99 (beta) (1999-12-18)

Incompatible changes

(Procedures) - All platform-specific makefiles must now define the Q macro. - Ghostscript now exits with an error status if an error occurs in a file named on the command line, a -c command, or piped input. (Utilities) - ps2epsi now disables setpagedevice: the bounding box of the EPSI output file is recorded only in the %%BoundingBox comment. (Drivers) - The return type of gdev_vector_close_file is changed from void to int. (Interpreter) - The name of the predefined stochastic halftone is changed to StochasticDefault. (This change was actually made in 5.98.) - The compht feature is replaced by stocht. - Font searching now looks in FontResourceDir. - The ASCIIHexEncode filter now produces upper-case output. (Library) - The type returned by compiled halftone resource access procedures is changed.

Documentation

Fixes problems: - A stray character had gotten added to the beginning of a file. (doc/Use.htm) - Many minor HTML errors had crept in. (doc/*.htm, doc/gsdoc.el) Updates the docmentation on the mswinpr2 driver. (doc/Devices.htm) Notes that GNU make currently does not work on OpenVMS. (doc/Make.htm) Documents the fact that x/y_pixels_per_inch are deprecated. (gxdevcli.h) Documents certain bugs in ps2pdf. (doc/Ps2pdf.htm) Documents the addition of FontResourceDir to the font search process. (doc/Use.htm) Documents the new arrangement for B paper sizes. (doc/Psfiles.htm, doc/Use.htm, doc/gs-vms.hlp, man/gs.1) Removes the "under development" warning from the text API and get_bits_rectangle documentation, and adds a little more detail. (doc/Drivers.htm) Adds new user-contributed documentation for installing and using Ghostscript fonts with X Windows. (doc/Fonts.htm, doc/Readme.htm, doc/Use.htm) Adds building with the Watcom compiler to the release process. (doc/Release.htm) Adds an "Improving performance" section to the user documentation. (doc/Use.htm) Adds a note to the C style guide about order of evaluation. (doc/C-style.htm) Documents the new stocht.ps file. (doc/Psfiles.htm)

Procedures

Fixes problems: - A missing dependency caused builds on certain platforms to fail. (int.mak) - $(EXP) was missing before various utility invocations. (int.mak) - VMS converts all unquoted arguments to lower case. In order to work around this, we have added a platform-specific makefile macro Q, which is defined as a quote mark on VMS and as an empty string on all other platforms, and used it to quote the few mixed-case values in the makefiles. We removed the obsolete QQ macro from os2.mak as well. (cfonts.mak, dvx-head.mak, int.mak, openvms.mak, openvms.mmk, os2.mak, unixhead.mak, wccommon.mak, winlib.mak) - PSRCDIR was incorrectly referenced as PNGSRCDIR in one place. (all-arch.mak) - winint.mak had a conditional that Watcom's make program didn't accept. (winint.mak) Adds a makefile entry to allow compilation with libpng 1.0.5. (libpng.mak) Updates the Borland C++ makefile to work with C++Builder 4. (bcwin32.mak) Updates the Unix installation makefile to install stocht.ps. (unixinst.mak)

Utilities

Fixes problems: - ps2epsi didn't disable setpagedevice. (lib/ps2epsi) - geninit needed for 'exit'. (geninit.c) - Some invocations of utilities didn't deal with VMS's habit of converting arguments to lower case. (geninit.c, cfonts.mak) - The ps2pdf*.bat files didn't produce a usage message if no arguments were provided. (lib/ps2pdf.bat, lib/ps2pdf12.bat, lib/ps2pdf13.bat) - Removes some warnings from the Windows uninstaller. (dwuninst.cpp) Upgrades the halftone compiler to handle Type 5 halftones. (genht.c) Makes the initialization string compiler recognize sections of the code where binary tokens are allowed, and convert literal hex strings within such sections to binary-token strings, which take less space and load faster. (geninit.c) Adds a utility file to define b0 ... b6 as selecting JIS B paper sizes. (unixinst.mak, lib/jispaper.ps) Modifies the font printing utility to sort unencoded characters. (lib/prfont.ps) Adds a small utility to help use the StochasticDefault halftone. (lib/stocht.ps)

Drivers

Fixes problems: - The output of the epswrite driver couldn't be embedded in another file, because it assumed it was invoked with an empty operand stack. (gdevps.c) - "Vector" drivers didn't detect I/O errors such as filling up the disk. (gdevvec.h, gdevpdf.c, gdevps.c, gdevpx.c, gdevvec.c) - The bookkeeping for image color spaces when banding was incorrect, possibly causing memory access errors. (gxclist.h, gxclimag.c, gxclist.c) - The cljet5 driver didn't place the image on the page correctly. (gdevclj.c) - 16-bit X11 devices with R/G/B widths other than 5/6/5 sometimes failed to map colors correctly. (gdevxcmp.h, gdevxcmp.c) - The cljet5c driver omitted a needed cast. (gdevcljc.c) Adds new x11rg16x and x11rg32x devices to test X Windows with unusual pixel layout. (devs.mak, gdevxalt.c) Works around a bug in Acrobat Distiller 4 (and perhaps some other PostScript interpreters) that causes an error if CCITTFaxDecode with /EndOfBlock = true is given data with no EOB (terminated by the end of the data stream instead). (gdevps.c)

Platforms

Fixes problems: - The absence of mktemp on the Watcom platform caused a linking error under Windows. (watc.mak, watcw32.mak, gp_iwatc.c, gp_mktmp.c)

Fonts

Fixes problems: - findfont, /Font resourcestatus, and /Font resourceforall weren't consistent. (lib/gs_fonts.ps, lib/gs_res.ps) - Very large TrueType fonts caused a stackoverflow. (lib/gs_ttf.ps)

PDF writer

Fixes problems: - Errors in pdfmark and setdistillerparams were ignored (!). (lib/gs_pdfwr.ps) - The PUT pdfmark didn't allow adding dictionaries to stream-type objects. (The pdfmark documentation says this isn't allowed, but we think this is an oversight, since it is reasonable and unambiguous and Acrobat Distiller allows it.) (gdevpdfm.c) - The token scanner used to substitute object names in pdfmark parameters sometimes added an extra character on the end. (gdevpdfr.c) - ashow and [a]widthshow produced incorrect text spacing. (bug introduced by an optimization in 5.97) (gdevpdft.c) - setdistillerparams left its argument on the stack. (lib/gs_pdfwr.ps) - 0-height images caused errors either at conversion or at rendering time. (gdevpdfi.c) - If the FontMatrix included a translation component, text was positioned incorrectly. NOTE: this fix may not handle x/y/xyshow. (gdevpdft.c) - Out-of-range user-space coordinates could get generated for rectangles. NOTE: they can still get generated for general paths. (gdevpdfd.c) - Widths weren't written for renamed built-in fonts. We fixed this partly by improving the algorithm for recognizing built-in fonts. (gdevpdff.h, gdevpdff.c, gdevpdft.c) Works around the Acrobat limitation that user-space coordinates must not exceed 32K. (fix from Artifex) (gdevpdfp.c) Works around an Acrobat Reader 3 bug with printing files including Type 3 fonts: with the "Download Fonts Once" option, AR3 only emits the font subset referenced on the first page where the font appears. (gdevpdfx.h, gdevpdf.c, gdevpdft.c)

Interpreter (PDF)

Fixes problems: - Type 3 fonts weren't handled properly as a marking context, so if a CharProc referenced a resource in the font, an error would occur. (lib/pdf_fonts.ps) - 0-height images caused an error. (lib/pdf_draw.ps)

Interpreter

Fixes problems: - Errors weren't propagated properly. (bug introduced in 5.98 by enhanced error recovery code) (imainarg.h, gs.c, imainarg.c) - Errors in -c commands or in files named on the command line sometimes allowed execution to continue, and did not terminate with an abnormal status. (lib/gs_init.ps) Changes the binary token scanner so that if the stream buffer is in foreign space, binary-token strings will not be copied, but will be referenced directly in the buffer. This parallels what is done for name strings. (iscanbin.c) Changes the stochastic halftone from multiple Type 3s to a Type 5. (lib/ht_ccsto.ps, int.mak) Replaces the compht feature with a new feature called stocht. If this feature is selected, the StochasticDefault halftone resource will be pre-loaded into Ghostscript. If COMPILE_INITS=1, all the halftone data (threshold array, order and bits arrays) will be efficiently compiled into the executable. (int.mak) Replaces (...\n) print with (...) = everywhere. (lib/gs_cmdl.ps, lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_setpd.ps, lib/pdf_base.ps, lib/pdf_font.ps, lib/pdf_main.ps, lib/pdf_sec.ps) Adds support for JIS B paper sizes: statusdict will now include isob0..6 and jisb0..6 operators, with b0..6 normally aliased to the former. (lib/gs_statd.ps, lib/jispaper.ps) Adds a b5tray procedure; limits the valid arguments for setpagetype to the Adobe-defined values 0 and 1. (lib/gs_statd.ps) Updates clients for the change in the gs_image_* API. (zimage.c) Makes the default halftone lookup procedure more reasonable. (lib/gs_init.ps, lib/gs_ll3.ps)

Streams

Fixes problems: - An error condition when closing a file stream wasn't reported properly. (sfxfd.c, sfxstdio.c) For greater Adobe compatibility, changes the ASCIIHexEncode filter to produce upper-case output. (sstring.c)

Library

Fixes problems: - The gs_image_* API didn't work for ImageType 3 images. Fixing this required a small (but backward-compatible) API change. (fix mostly provided by Artifex) (gsimage.h, gsimage.c) - The change in the bbox device in 5.95 broke it for the case where it was being used in a pipeline. (gdevbbox.c) - A possible overflow wasn't detected when stroking lines with very large coordinates. (gxstroke.c) - A mask was sized incorrectly. (gsdcolor.h) Updates the runtime support for compiled halftones. (gxdhtres.h, gscdefs.h, gconf.c, gxclrast.c, gxhtbit.c) Replaces all references to the now-deprecated x/y_pixels_per_inch with HWResolution[0/1]. (gsdevice.c, gxclist.c, gxpcmap.c)

Version 5.98 (beta) (1999-12-01)

Incompatible changes

(Library) - The return type of init_proc is changed from void to int. - The return types of gs_lib_init* are changed from void to int. (Interpreter) - The return types of gs_[main_]init*, gs_[main_]add_lib_path, gs_[main_]set_lib_paths, and a number of internal initialization-related procedures are changed from void to int.

Documentation

Improves the documentation of the clist_render_rectangle procedure. (gxclist.h) Makes it clear that pre-public-release filesets should not be redistributed. (doc/Tester.htm) Clarifies that the parameters for the X driver are command line switches, not X resources. (doc/Use.htm) Improves the documentation of ps2pdf in response to some user comments. (doc/Ps2pdf.htm) Documents the initial settings of the distiller parameters. (doc/Ps2pdf.htm) Documents the UniqueIDs assigned to Aladdin. (lib/gs_fonts.ps) Updates the documentation for the stochastic halftone mask. (doc/Make.htm) Removes some obsolete material. (doc/Release.htm)

Procedures

Fixes problems: - The new ps2pdf* scripts weren't included in the Unix install list. (unixinst.mak) - The directory names were missing in BEGINFILES. (openvms.mak) - The .pl and .sh scripts weren't included in the Unix install list. (unixinst.mak) Updates all-arch.mak with a newer version from its contributor. (all-arch.mak) Updates the makefiles for a change in eexec modularization. (devs.mak, int.mak, lib.mak)

Utilities

Fixes problems: - The dvipdf usage message was incorrect. (lib/dvipdf) Adds a utility for mechanically adding the Adobe extended Latin characters (primarily Central European accented letters) to a font. Eventually we would like to integrate this into the font loader and/or make extended versions of the standard 35 fonts. (lib/addxchar.ps)

Drivers

Fixes problems: - psdf_sorted_glyphs_include didn't handle empty lists correctly. (gdevpsdf.c) - A reference to a #defined constant hadn't been converted to upper case. (gdevpsdf.h) - Acrobat Reader couldn't handle <> as the definition of Notice in an embedded font's FontInfo dictionary: it requires a () string. (gdevpsd1.c) - The [e]pswrite driver didn't take stroked paths into account when computing the bounding box. (gdevps.c) Updates gdevwpr2.c with a new version from its most recent author. (gdevwpr2.c)

Fonts

Fixes problems: - The FONTPATH file scanner wasn't protected against errors. (lib/gs_fonts.ps) - Some badly designed Chinese TrueType fonts, whose 'post' table gives the name .null to all glyphs, didn't work properly. (lib/gs_ttf.ps) - The shareware Katakana font had an incorrect UniqueID. (fonts/fkarw.gsf) Adds all of the PostScript 3 fonts to the intelligent substitution tables. (lib/gs_fonts.ps) Changes the FONTPATH scanner to allow a %%BeginFont: line as the first line of a font. Nothing in Adobe's documentation suggests that this is acceptable, but some fonts have it. (lib/gs_fonts.ps) Releases an updated set of the URW fonts, fixing the braceleftbt problem in the Symbol font and a couple of missing characters in the ZapfDingbats fonts, and adding the Euro glyph to the alphabetic fonts. The new archive also includes fonts.scale and fonts.dir files for use with X Windows (mkfontdir and xfs). Centralizes the definition of Aladdin's XUIDs. (lib/gs_fonts.ps, lib/gs_ttf.ps)

PDF writer

Fixes problems: - The algorithm for making font names unique didn't take subset prefixes into account. (gdevpdff.h, gdevpdff.c, gdevpdfw.c) - Computing character bounding boxes was taking an inordinate amount of time. (performance problem only) (gdevpdff.c) - The pdf_image_writer and pdf_image_enum structures didn't have GC descriptors, possibly causing memory corruption. (gdevpdfi.c) - PostScript files containing images with premature end-of-data were converted to PDF files with premature end-of-data, which Acrobat doesn't accept. (gdevpdfo.h, gdevpdfx.h, gdevpdfi.c, gdevpdfo.c, gdevpdfu.c) - Pattern resources whose image was written in-line omitted a needed gsave (q). (bug introduced in 5.94) (gdevpdfi.c) - The similarity between a font and a base font wasn't computed correctly, leading to some unnecessary writing of Widths for standard fonts. (gdevpdft.c) - Embedding a stream in the psdf_binary_writer caused garbage collector problems, because there could be pointers to that stream from elsewhere. (gdevpsdf.h, gdevpsdf.c) - The algorithms for deciding whether a font was script or serif were very inaccurate. (The revised ones are only somewhat better.) (gdevpdff.c) - Re-encoded characters in subset fonts weren't handled correctly. We work around this by writing the entire font if the character doesn't appear in the font's encoding. This is inefficient but will always produce correct output. (gdevpdff.h, gdevpdff.c, gdevpdft.c, gdevpdfw.c) - The meaning of bit 6 in the Flags was supposed to have changed in PDF 1.2, but didn't. (gdevpdff.h, gdevpdff.c, gdevpdfw.c) - The Widths array didn't get written out for embedded subsets of the built-in fonts. (gdevpdfw.c) - Planar images weren't handled correctly, and could cause memory corruption. (gdevpdfi.c) - Patterns still weren't scaled correctly; in fact, the "fix" in 5.94 can't possibly have worked, and we don't understand why it seemed to. (gdevpdfi.c) Recants the belief that the default encoding for embedded fonts is StandardEncoding (see 5.95): the appearance of this was a symptom of having multiple fonts with the same name. (gdevpdft.c) Removes FONT_EMBED_UNKNOWN, which is meaningless (a decision is always made about whether to embed a font). (gdevpdff.h, gdevpdff.c, gdevpdft.c) Changes the algorithm for picking the base font so that it produces more efficient output for certain cases of re-encoded fonts. (gdevpdft.c)

Interpreter (PDF)

Fixes problems: - Fonts were getting renamed unnecessarily. (performance and PDF output size problem only) (lib/pdf_font.ps) - Fonts with Widths but no FontDescriptor caused an error. (lib/pdf_font.ps) - TrueType fonts processed the Encoding key in the font the same way as other font types, which is not correct. (lib/pdf_font.ps) - For embedded Type 3 fonts, the Widths entry in a font didn't override the width in the CharProc. (lib/pdf_font.ps, lib/pdf_ops.ps) - If a page had multiple Contents streams, and one of the streams ended with values on the operand stack, an error might occur. (lib/pdf_main.ps) - Ts and Tz within a text object didn't take effect immediately. (lib/pdf_ops.ps) - sc[n] and SC[N] could cause an error because Do left an extra item on the stack temporarily. (lib/pdf_draw.ps)

Interpreter

Fixes problems: - Getting the unscaled outline for a Type 1 font didn't disable hinting. (mostly a performance problem) (zchar1.c) - Error conditions during initialization weren't recognized. Fixing this required changing various return types from void to int. (ialloc.h, iinit.h, imain.h, interp.h, ialloc.c, iinit.c, imain.c) - HalftoneMode didn't affect setscreen or setcolorscreen. (lib/gs_init.ps, lib/gs_ll3.ps) Makes the interpreter quit with a message, rather than a stack dump, if it can't open the initial device and DEBUG is not set. (lib/gs_init.ps) Adds .setlimitclamp and .currentlimitclamp operators to access the limit clamp flag in the graphics state. (zgstate.c) Changes the names of the stochastic halftone mask to be more descriptive. (lib/ht_ccsto.ps, int.mak, unixinst.mak)

Streams

Adds the ability to forbid using hex encoding when writing strings. (spsdf.h, spsdf.c)

Library

Fixes problems: - Computing the width of a glyph unnecessarily constructed the entire outline. (performance problem only) (gxtype1.c) - Getting the unscaled width of a glyph in a Type 1 font didn't disable hinting. (mostly a performance problem) (gxtype1.c.) - The "unknown device" GC descriptor is no longer used. (gsdevice.c) - Some compilers *still* complained about end-of-loop code not being reached. (gxpath2.c) - Mixing float and double values sometimes caused spurious lines to be drawn when stroking very short lines with large widths. (fix from Artifex) (gxpdash.c) - The code for handling crossing lines in the path filling algorithm sometimes computed line crossings incorrectly, causing excessive computation. (gxfill.c) - When oversampling for anti-aliasing, the flatness parameter was not scaled, leading to unnecessarily accurate curve rendering. (gspaint.c) - An extra grestore in a Pattern PaintProc could cause a crash. (gxpcmap.c) - Error conditions during initialization weren't recognized. Fixing this required changing the return type of init_proc, and various other internal procedures, from void to int. (std.h, gslib.h, gscdefs.h, gshtscr.c, gsiodev.c, gslib.c, gsutil.c) Splits off the Type 1 encryption/decryption code into a separate file for sharing with the eexec streams. (gscrypt1.c, gxtype1.c)

Version 5.97 (beta) (11/22/99)

This is the next beta for 6.0. We believe the pdfwrite driver (ps2pdf) now finally produces Acrobat-acceptable output, with reasonable handling of fonts, and have also fixed the problem with high-level image banding. We are cautiously hopeful that this is a "real" beta candidate.

Incompatible changes

(Drivers) - The default CompatibilityLevel in the pdfwrite driver is now back to 1.3. (Library) - The seac_data procedure of a Type 1 font must now be able to return the glyph and/or the actual outline data.

Documentation

Fixes problems: - A <br> was missing. (doc/Release.htm) - The final step of copying releases to www.aladdin.com was missing. (doc.Release.htm) Documents the new situation with the ps2pdf* scripts. (doc/Ps2pdf.htm) Documents the simplification of the pthreads code. (doc/Helpers.htm, doc/Make.htm) Adds a requirement to the license that modifications include the name and e-mail address of the author, and the date and purpose of the modification. (doc/Public.htm) Adds a link to the documentation for setdistillerparams. (doc/Ps2pdf.htm)

Procedures

Fixes problems: - On OpenVMS, the test for whether the bin and obj subdirectories already existed was incorrect. (openvms.mak, openvms.mmk) - The recently updated Borland/Inprise makefile deleted some temp files prematurely. (bcwin32.mak) - The dependencies for the Unix install-scripts and install-data targets were incorrect. (unixinst.mak) Updates the RPM spec files. (gs.rps, gs-fonts.rps, rpm-conf.dif) Adds support for compilation with Borland/Inprise C++Builder 3. (bcwin32.mak, winint.mak) Adds a note on font installation under Red Hat Linux 6. (doc/Install.htm)

Utilities

Adds ps2pdf12 and ps2pdf13 scripts to select the PDF output level explicitly; makes ps2pdf a wrapper for ps2pdf12. (lib/ps2pdf, lib/ps2pdf.bat, lib/ps2pdf12, lib/ps2pdf12.bat, lib/ps2pdf13, lib/ps2pdf13.bat, lib/ps2pdfwr, lib/ps2pdfwr.bat) Updates the Windows install/setup program to display the Aladdin start menu folder on a successful install, so that the user gets some feedback that all went well. (dwinst.cpp, dwsetup.cpp)

Drivers

Fixes problems: - The lj5{mono,gray} drivers didn't send the page size to the printer. (gdevpxut.h, gdevlj56.c, gdevpx.c, gdevpxut.c) - The pxl drivers didn't handle out-of-range points properly. (gdevvec.c, gdevpx.c) - The bmpa drivers didn't produce multi-page output files correctly -- all pages but the first were blank. (The bmp format is supposed to be single-page, but at least some readers handle multi-page files correctly.) (gdevbmpa.c) - The code for writing embedded TrueType fonts was broken. (bug probably introduced in 5.9x) (gdevpsdt.c) Removes an unused variable. (gdevbmpa.c)

Platforms

Replaces the 4 pthreads files, which included a dependence on the non-POSIX <semaphore.h>, with a single file that uses only pthreads procedures. (gp_psync.c, gp_posem.c [deleted], gp_pthr.c [deleted], gp_ptsem.c [deleted], gp_semon.c [deleted])

PDF writer

Fixes problems: - Whether or not to write the Widths array was implicit in the data structures rather than explicit, so it was sometimes written unnecessarily. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) - Fonts based on the 14 built-in fonts didn't set BaseFont to the name of the built-in font. (gdevpdff.c) - The determination of whether a glyph was available was incorrect for embedded fonts, leading some glyphs to be turned into bitmaps unnecessarily. (gdevpdft.c) - Apparently Acrobat Reader gets confused if different subsets of the same font have different FirstChar and LastChar values, so we have to write the full Widths array each time. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) - A structure member wasn't initialized when processing pdfmark annotations, possibly causing a memory access error. (gdevpdfm.c) - The typedef for gx_device_pdf had a typo. (gdevpdfx.h) - Each embedded font subset had its own FontDescriptor and its own font data, confusing Acrobat Reader. Fixing this required sharing FontDescriptors among multiple fonts and making FontDescriptors pseudo-resources. (gdevpdff.h, gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdft.c, gdevpdfw.c) - Incrementally defined embedded Type 1 fonts didn't write out correct Widths. (gdevpdff.c) - PDF resources didn't consistently record the gs_id of the structure they represented, possibly causing resources to be duplicated unnecessarily. (gdevpdff.c, gdevpdfu.c) Reinstates PDF text output. (gdevpdf.c) Changes the default CompatibilityLevel in the pdfwrite device back to 1.3, since the ps2pdf scripts now make it easy to choose the PDF level. (gdevpdf.c) When possible, uses the widths obtained from the font, rather than the default implementation of text_process, to complete the text_process operation. This greatly speeds up the conversion process. (gdevpdft.c) Allows character remapping (but not reencoding) of TrueType fonts. (gdevpdft.c) Factors the definitions for cos objects and font-related objects into header files more thoroughly. (gdevpdff.h, gdevpdfo.h, gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfr.c, gdevpdft.c, gdevpdfu.c) Makes the names of some structure elements correspond more directly to keys in PDF directories. (gdevpdff.h, gdevpdff.c, gdevpdft.c) Splits off the font-writing code, since a source file was getting too big. (gdevpdff.h, gdevpdff.c, gdevpdfw.c) Adds CharSet information to embedded Type 1 font descriptors. (gdevpdfw.c) Makes all font names in the output unique, selected by static bool MAKE_FONT_NAMES_UNIQUE. (gdevpdff.h, gdevpdff.c, gdevpdft.c) Reinstates support for one special case of composite fonts (8/8 mapping with the high order byte always zero) that is used by the AdobePS4 Windows driver. (gdevpdft.c) Changes the assumption about the default encoding for embedded TrueType fonts from StandardEncoding to no known encoding. (gdevpdft.c) Changes FONT_EMBED_BASE14 to FONT_EMBED_STANDARD for greater descriptiveness. (gdevpdff.h, gdevpdff.c, gdevpdft.c)

Interpreter

Fixes problems: - The same-font test for Type 1 fonts didn't correctly identify re-encoded fonts with unchanged metrics. (zfont1.c) - If a save level was split into multiple internal save objects, some changes could get undone before objects were finalized. (isave.c) - When releasing all of memory, stable allocators weren't finalized. (isave.c) - Some compilers gave annoying and needless warnings about integer overflow. (store.h) - There was a signed/unsigned char * mismatch. (iccfont.c) Adds a debugging procedure. (idebug.h, idebug.c) Changes the Type 1 font seac_data procedure to match the new API. (zchar1.c)

Library

Fixes problems: - The GC didn't know about the pointers to the tables for Indexed color spaces when banding, occasionally causing the tables to be written as garbage. This is the real fix for the problem discovered in 5.96. (gsiparam.h, gxclist.h, gxiparam.h, gxclimag.c, gxclist.c, gxclpath.c) - With 'async' drivers, multi-page files didn't render properly (they got a rangecheck error on every page after the first one). (gdevprna.c) - Some compilers still complained about end-of-loop code not being reached. (gxpath2.c) - The scaled font cache required that a font have a UID in order to be a candidate for caching. (gsfont.c) - An obsolete check caused slight discrepancies between banded and non-banded output. (gxstroke.c) - The glyph_outline procedure for TrueType fonts transformed the width by the scaling matrix twice. (gstype42.c) Removes some now-unnecessary extern_st declarations. (gdevbbox.c, gdevplnx.c, gximage3.c) Removes some initializations that read uninitialized locations and are logically unnecessary. (gsalloc.c, gscolor.c) Adds makefile rules for compiling the MD5 implementation. (lib.mak) Makes the seac_data of a Type 1 font return the glyph and/or the actual outline data. This is necessary because some Type 1 fonts don't have the accents in the same positions as StandardEncoding, but use seac anyway. (gxfont1.h) Changes the Type 1 font interpreter to match the new seac_data API. (gxtype1.c)

Version 5.96 (beta) (11/12/99)

This is the next beta for 6.0. To meet a need of our commercial licensing partner for a PostScript LL3 release, we are releasing this fileset with all font handling in the PDF writer disabled, as well as high-level image banding. This is a temporary measure: we will reinstate PDF text in 5.97, and high-level image banding as soon as we can straighten out its memory management problems.

Incompatible changes

(Procedures) - All Unix 'make' programs must now predefine MAKE as the name of the program. (Interpreter) - zcolor_remap_one now returns o_push_estack rather than 0 in the case where it doesn't actually have to sample the procedure. (Library) - Multi-plane halftones (when needed) are now used for all CMYK devices, not only if setcolorscreen was executed. - Font implementors must now provide a same_font procedure.

Documentation

Makes it clear that gsnup.ps is very simple and naive. (doc/Psfiles.htm, lib/gsnup.ps) Documents the new -Z_ switch. (doc/Use.htm) Documents that SYNC=nosync allows building on systems that don't support multi-threading. (doc/Make.htm) Adds documentation for building on Macintosh Rhapsody systems. (doc/Make.htm) Adds a reference to the new all-arch.mak file. (doc/Helpers.htm, doc/Make.htm) Notes that ps2pdf does preserve the color space for images. (doc/Ps2pdf.htm) Documents the new self-extracting archive for MS Windows. (doc/Install.htm, doc/Release.htm) Further improves the documentation of the PDF text machinery. (gdevpdfx.h) Reorganizes the build information for Unix. (doc/Make.htm) Adds information on building Ghostscript under BSDI. (doc/Make.htm) Notes that versions of zlib before 1.1.3 may cause an error on rare occasions. (zlib.mak) Fixes a few other minor problems. (doc/Current.htm, doc/Devices.htm, doc/DLL.htm, doc/Install.htm, doc/Language.htm, doc/Make.htm, doc/New-user.htm, doc/Ps2pdf.htm, doc/Source.htm, doc/Use.htm)

Procedures

Fixes problems: - dctd.dev and dcte.dev were defined in $(PSD), but referenced in $(GLD). (devs.mak, int.mak, lib.mak) - pipe.dev was defined in $(GLD), but referenced in $(PSD). (bcwin32.mak, dvx-gcc.mak, msvc32.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak) - XLIBDIRS was included in the linker command even if none of the X drivers were used. (devs.mak, dvx-tail.mak, ugcclib.mak, unixlink.mak) - The OpenVMS makefile didn't create the obj and bin directories properly. (openvms.mak) - 'make debug' and 'make pg' didn't work on Unix systems where the make program was named something other than make. (unix-end.mak) Introduces a new top-level makefile macro, STDLIBS, that is -lm for all reasonable platforms but null for Rhapsody. (dvx-gcc.mak, dvx-tail.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixlink.mak, unixtrad.mak) Adds Nelson Beebe's contributed multi-architecture Unix makefile. (all-arch.mak) Makes it theoretically possible in theory to build the new Windows install/uninstall program with the Borland compiler. However, since this requires Borland C++ 4.52 and we only have 4.5, this is disabled in bcwin32.mak. (bcwin32.mak, winint.mak)

Utilities

Fixes problems: - The default for gsnup.ps was 3x2 landscape, rather than 2x2 portrait. (lib/gsnup.ps) - gslp.ps was broken (by the changes made to support gsnup.ps). (lib/gslp.ps) Adds a -link switch to genconf, to allow verbatim copying of commands into the linker command line. (genconf.c) Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (dwinst.h, dwsetup.h, dwuninst.h, bench.c, dwuninst.cpp) Makes it possible to build the new Windows install/uninstall program with the Borland compiler. (dwinst.cpp, dwsetup.cpp, dwsetup.def, dwsetup.rc, dwuninst.cpp, dwuninst.def)

Drivers

Fixes problems: - Embedded Type 1 fonts lacked some 'def' commands. (gdevpsd1.c) - Multiple Master Font instances weren't written out correctly. (gdevpsd1.c) Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (gdev8bcm.h, gdevht.h, gdevpccm.h, gdevpcl.h, gdevsvga.h, gdevx.h, gdev3852.c, gdev8510.c, gdevadmp.c, gdevcd8.c, gdevcif.c, gdevclj.c, gdevhl7x.c, gdevifno.c, gdevimgn.c, gdevl31s.c, gdevmeds.c, gdevmswn.c, gdevos2p.c, gdevpe.c, gdevpm.c, gdevsj48.c, gdevtknk.c, gdevupd.c, gdevwddb.c, gdevwpr2.c, gdevwprn.c)

Platforms

Fixes problems: - The pthreads wrapper had a procedure type mismatch. We fixed this by making it allocate and free a wrapper object, as the Windows wrapper does. (gp_pthr.c) Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (dwimg.h, dwmain.h, gsdll.h, gp_msio.c, gp_mswin.c) Removes an unnecessary #include <semaphore.h>. (gp_semon.c) Adds a module that implements semaphores using the pthreads mutex facilities, as an alternative to gp_posem.c. Unfortunately, using this module causes immediate crashes on both Linux and BSDI, and we don't know why. (Let us know if you figure it out.) (gp_ptsem.c)

PDF writer

Fixes problems: - The character and word spacing weren't recognized as being reset by a PDF grestore. (gdevpdfx.h, gdevpdfu.c) - Fonts that couldn't be embedded were always converted to bitmaps, rather than becoming candidates for non-embedded representation (if EmbedAllFonts is false and the font doesn't appear on the AlwaysEmbed list). (gdevpdfx.h, gdevpdff.c, gdevpdft.c) - Stream-type Cos objects were written with no (0-length) data. (gdevpdfm.c) - Reencoded base 14 fonts were not recognized as such, leading to excessive font embedding. (gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdft.c) - Fonts were embedded by default even if EmbedAllFonts was false. (gdevpdft.c) Changes MaxSubsetPct to 35 to match Acrobat Distiller. (gdevpsdf.h) Adds some tracing output (-Z_). (gdevpdff.c, gdevpdft.c) Temporarily disables font handling in the PDF writer, to meet a need of our commercial licensing partner. All text will be converted to code-scrambled Type 3 bitmap fonts. (gdevpdf.c)

Interpreter (PDF)

Fixes problems: - The sh operator caused an invalidaccess error for shadings that required a DataSource. (lib/pdf_draw.ps) - The test for whether a Widget appearance was a Form or a collection of sub-appearances was incorrect, causing an /undefined error in the latter case. (lib/pdf_draw.ps) - If the FontName in a Font descriptor differed from the BaseFont name in the Font object, the interpreter used the two inconsistently, sometimes causing the wrong font to be used. (lib/pdf_font.ps) - ICCBased color spaces caused an error. (lib/pdf_draw.ps) Works around the fact that Acrobat Distiller produces files in which a Widget's Form appearance lacks Type and Subtype keys. (lib/pdf_draw.ps)

Interpreter

Fixes problems: - Failure in allocating the name table would cause a crash. (iname.c) - Shadings with procedure-based filters didn't work. (lib/gs_ll3.ps, ifilter.h, zfileio.c, zfproc.c) - Some compilers complained about arithmetic on an enum. (iparam.c) - Setting a transfer or similar function to the identity function didn't set the cached values, so the setting didn't consistently take effect. (icolor.h, zcolor.c) - If the C library's implementation of sprintf with a %g format ever produced a number with an exponent but no decimal point, a crash would occur. (iutil.c) - The PageDeviceName page device parameter wasn't supported. (lib/gs_lev2.ps, lib/gs_setpd.ps) - A public procedure wasn't declared extern if DEBUG wasn't set. (igc.h) - Because of a typo, loading resources automatically from a file always failed. (bug introduced in 5.94) (lib/gs_res.ps) Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (files.h, iastate.h, ibnum.h, ichar.h, ifilter.h, iimage.h, iimage2.h, iparam.h, isave.h, iscan.h, isstate.h, istream.h, iutil.h, opcheck.h, scanchar.h) Adds a font similarity testing procedure for Type 1/2/4 fonts. (zfont1.c)

Streams

Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (sbhc.h, sbtx.h, sbwbs.h, sdct.h, scfdgen.c, scfdtab.c, shcgen.h, siscale.h, sjpeg.h, slzwx.h, smtf.h, spdiffx.h, spngpx.h, srlx.h)

Library

Fixes problems: - Making a transformed font inappropriately copied the font's notification list. (gsfont.c) - Some compilers complained about end-of-loop code not being reached. (gxpath2.c) - The first two arguments of scale_delta was swapped, causing anomalous output for certain Type 1 fonts with curves where the starting and ending points had the same X or Y coordinate. (gxhint3.c) - Large smoothness values produced blocky output. (gxshade.c) - When banding, in a region where a CMYK halftone had no K at all, the output was likely to be black rather than the correct color. (gxcht.c) - Interpolated images with mirrored X scaling weren't mirrored. (gxiscale.c) - Interpolated images were truncated. (gxiscale.c) - Halftone caches could have a dangling pointer to a transfer map in the halftone order. (gxht.c) - The next-character code returned for kshow was the same as the current character. (bug probably introduced in 5.86) (gstext.c) - The GC didn't know about the pointers to the tables for Indexed color spaces when banding, occasionally causing the tables to be written as garbage. In the process of investigating this, we discovered that the GC didn't know about *any* of the pointers in the structures used to track banded images. ****** NOT FIXED, TOO MUCH RISK OF INTRODUCING FURTHER BUGS. ****** Instead, we disabled high-level image banding in this fileset. (gxclimag.c) Changes the name of a variable from ppc to ppcr, because an Apple compiler inappropriately defines the name ppc when compiling on a PowerPC. (gxshade6.c) Edits files to add missing $Id lines and module summary comments, and to delimit module summary comments from further material. (gdevbbox.h, gscoord.h, gscpixel.h, gsfname.h, gsfont.h, gsimage.h, gslib.h, gsmdebug.h, gspaint.h, gspath.h, gspath2.h, gxalloc.h, gxclipm.h, gxclpage.h, gxclpath.h, gxcmap.h, gxcoord.h, gxcpath.h, gxdda.h, gxdevmem.h, gxfcache.h, gxfont.h, gximage.h, gxiodev.h, gxpaint.h, gxpath.h, gxpcolor.h, gzacpath.h, gzcpath.h, gzht.h, gzpath.h, md5.h, gxdither.c, md5.c) Adds a prototype for debug_find_pointers. (gxalloc.h) Adds a font procedure for testing whether two fonts are the same in various ways. This is needed so that the PDF writer can do a reasonable job of identifying reencoded and renamed versions of the base 14 fonts. (gxfont.h, gsfont.c) Changes a macro to a procedure and improves some commenting. (gxhint3.c) Changes the halftoning code so that multi-plane halftones are always used on CMYK devices, even if only a single halftone is set (setscreen or HalftoneType 1). (gxcht.c, gxdither.c)

Version 5.95 (beta) (11/1/99)

There were several new problems in 5.94, some of them severe. We hope this beta candidate fixes them without introducing any new ones. It also fixes some minor problems not reported in 5.93. We think we have finally found the right workarounds for Acrobat and specification problems so that pdfwrite output (with CompatibilityLevel either 1.2 or 1.3) both conforms as closely as possible to the published PDF specification and works with Acrobat Reader (3 or 4 respectively) for both displaying and printing. NOTE: The default level of output from the pdfwrite device (ps2pdf) has been changed back to PDF 1.2 (Acrobat 3 compatible), because this is what the majority of users want. For PDF 1.3 output, use -dCompatibilityLevel=1.3. Note: some post-6.0 code is included under an #ifdef POST60.

Incompatible changes

(Drivers) - The default CompatibilityLevel in the pdfwrite device (ps2pdf) is now 1.2 rather than 1.3. - pdfwrite now discards information after the last showpage rather than producing an additional page. (Library) - The is_monotonic procedure of a function now returns a result that indicates the direction of monotonicity of each value separately. - The coordinate system used internally by the bbox device is now upright (lower left corner = (0,0) rather than upper left corner). (This should not make any difference to clients, who should always have been using default user space coordinate.)

Documentation

Fixes problems: - A couple of URLs were incorrect or out of date. (doc/Readme.htm, doc/Use.htm) - There was a typo in a comment. (gxfont.h) - An old bug had been fixed, but the documentation had not been updated to reflect this. (doc/Current.htm) Documents the requirement to change SYNC from posync to fbsdsync on FreeBSD. (doc/Make.htm) Adds references to Adobe's on-line documentation. (doc/Readme.htm) Updates the release procedure to mention adding .ps files. (doc/Release.htm) Adds documentation for the bbox device. (doc/Use.htm) Documents the new gsnup.ps utility. (doc/Psfiles.htm) Modifies the gslp utility for greater page independence and smaller output files. (lib/gslp.ps) Documents the fact that the default output from pdfwrite is PDF 1.2. (doc/Ps2pdf.htm) Adds Inprise (as the new name of the Borland tools) in a few places. (doc/Make.htm) Updates the release documentation slightly. (doc/Release.htm)

Procedures

Fixes problems: - FreeBSD uses a different name for the pthreads implementation. (lib.mak, unixansi.mak, unix-gcc.mak, unixtrad.mak) Encapsulates gsnogc.$(OBJ) in a gsnogc.dev module, to make it more sharable. (lib.mak)

Utilities

Fixes problems: - guilsinglleft and guilsinglright were misspelled. (lib/ps2ascii.ps) - The ps2pdf script didn't handle the -I switch correctly. We fixed this by including the options twice, both before and after the automatically supplied options. (lib/ps2pdf, lib/ps2pdf.bat) Adds an install/uninstall program for Windows 9x, including optional generation of a self-extracting executable, written by Ghostgum Software Pty Ltd. This program is not actually used yet. (msvc32.mak, winint.mak, dwinst.*, dwsetup.*, dwuninst.*) Adds a new environment parameter to arch.h, ARCH_DIV_NEG_POS_TRUNCATES. (genarch.c) Adds a utility for N-up printing. (unixinst.mak, lib/gsnup.ps) Changes ps2pdf so that if showpage has ever been executed, any partial page after the last showpage is discarded rather than made into an additional page. This is consistent with printers, and correctly handles BeginPage procedures that draw backgrounds. (gdevpdf.c)

Drivers

Fixes problems: - The TIFF drivers could produce incorrectly sorted tag tables. (gdevtifs.c) - The OS/2 PM driver had an incorrect #include. (gdevpm.c) - Embedded Type 1 fonts that used seac didn't automatically include the constituent glyphs. (gdevpsd1.c) - Embedded Type 1 fonts wrote the wrong font name in the first (comment) line. (gdevpsd1.c) - Deleting elements from the AlwaysEmbed or NeverEmbed list could cause a memory access error. (gdevpsdp.c) - The string and string array members of psdf_distiller_params were omitted from the GC descriptor, causing memory corruption. (gdevpsdf.h, gdevpsdf.c, gdevpsdp.c) - When using "async" printing, the buffer device was destroyed too soon. (fix from Artifex) (gdevbmpa.c) Adds (partial) parsing for the new Acrobat Distiller 4.0 parameters, under #ifdef POST60. The put_params code isn't finished. (gdevpsdf.h, gdevpsdp.c)

Platforms

Changes product to productfamily as the Windows registry key. (gp_wgetv.c)

Fonts

Fixes problems: - guilsinglleft and guilsinglright were misspelled in MacRomanEncoding and MacGlyphEncoding. (lib/gs_mro_e.ps) - plusminus was misspelled in MacGlyphEncoding. (lib/gs_mgl_e.ps) - braceleftbt was misspelled as bracelefttbt in the Symbol font. (fonts/s050000l.pfb) ****** NOT DISTRIBUTED YET ****** - euro was incorrectly included at position 240 in the Symbol encoding. (lib/gs_sym_e.ps) - Zcaron and zcaron weren't included in WinAnsiEncoding (this is new for PDF 1.3). (lib/gs_wan_e.ps) - Euro replaced currency in MacRomanEncoding. We had to change this back, even though the Mac does use code 219 for Euro, for compatibility with Adobe documentation. (lib/gs_mro_e.ps) - TrueType fonts with more glyphencoding entries than glyphs could cause errors. (lib/gs_ttf.ps) Adds the Adobe Central European encoding. (lib/gs_ce_e.ps, unixinst.mak) Adds more tracing to the TrueType font loader. (lib/gs_ttf.ps) Adds the remaining PDF Encodings to the predefined set. (lib/gs_lgo_e.ps, lib/gs_lgx_e.ps, lib/gs_mex_e.ps, lib/gs_mgl_e.ps, lib/gs_mro_e.ps)

PDF writer

Fixes problems: - When printing an error message, a pointer/length string was incorrectly treated as a C string. (gdevpdfm.c) - The treatment of text was completely broken by "improvements" made in 5.94. We think we've put things back to a state that at least isn't any worse than 5.93. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) - The test for whether a glyph was present in a glyph set was wrong, possibly causing an infinite loop. (This never happened, because the code was masked by other bugs.) (gdevpdft.c) - Testing the PDF compatibility level didn't work correctly, because of float/double mismatches. (gdevpdfx.h, gdevpdfp.c) - Embedded TrueType fonts were still written in binary even if ASCII85EncodePages was true. (gdevpdff.c) - Embedded TrueType subsets didn't use Flags to indicate that they had a non-standard cmap. (gdevpdff.c) - Contrary to the obvious reading of the PDF specification, it appears that the default encoding for embedded fonts, if no BaseEncoding is specified, is StandardEncoding, *not* the built-in encoding of the font itself; and that any differences from StandardEncoding must be listed explicitly. (gdevpdft.c) Adds parsing for the new Acrobat Distiller 4.0 parameters, under #ifdef POST60. (lib/gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c) Ensures that the Mac encodings are loaded when writing PDF. (devs.mak) Works around an Acrobat 3 bug: The only cmap table that works in TrueType fonts is format 0, which can only reference glyphs up to 255. Consequently, a TrueType font whose Encoding references glyphs above 255 cannot be embedded (as a font). (gdevpdft.c) Changes the default CompatibilityLevel from 1.3 to 1.2. The majority of users are running Acrobat 3. (gdevpdf.c)

Interpreter (PDF)

Fixes problems: - The T* operator was changed incorrectly to use the negative of the leading value. (lib/pdf_ops.ps) - The Tz value scaled the X offset for Td and TD (which it shouldn't), occasionally causing strings to be displaced horizontally. (lib/pdf_ops.ps) - sc[n]/SC[N] didn't work with 1-value color spaces, because the code incorrectly assumed the operand stack contained only the values on the PDF operand stack. (bug introduced by Annotation rendering in 5.94) (lib/pdf_base.ps, lib/pdf_draw.ps, lib/pdf_main.ps, lib/pdf_ops.ps) - The HTP key in the graphics state caused an error if the interpreter didn't implement sethalftonephase. (lib/pdf_draw.ps) - If there was no Names tree, invalid links (string Dest values) caused an error instead of being ignored. (lib/pdf_main.ps) - An annotation with a Thread action caused an error. (lib/pdf_main.ps) Adds table entries, but not implementation, for the op and OPM keys in ExtGState dictionaries. (lib/pdf_draw.ps) Works around a bug in Adobe Acrobat Distiller 4.0 for Windows: it uses the value /Default with the BG, UCR, and TR keys in an ExtGState. (lib/pdf_draw.ps, lib/pdf_main.ps) Adds additional tracing for Functions. (lib/pdf_draw.ps) Implements the BG2, UCR2, and TR2 keys in ExtGStates. (lib/pdf_draw.ps)

Interpreter

Fixes problems: - There was a (harmless) signed/unsigned mismatch. (imainarg.c) - If build_gs_simple_font had to add any elements to the font dictionary, a temporary pointer to the CharStrings could become invalid, causing crashes or confusion. (zbfont.c) - The check for known Encodings included some pseudo-Encodings. (zbfont.c) - The error object wasn't reset to null before each call of the interpreter, possibly causing the garbage collector to mark it even if it no longer existed. (interp.c) Adds productfamily as a new predefined name, for the benefit of the Windows registry. (iinit.c) Changes the default color smoothness to 0.02 to match Adobe RIPs. (lib/gs_ll3.ps) Adds using the glyph_info procedure for Type 1 fonts, needed to fix the problem with seac and Type 1 embedded fonts. (zfont1.c)

Library

Fixes problems: - Memory devices that may execute RasterOp must be initialized with an allocator (for temporary bitmaps), but sometimes they weren't. (gdevdrop.c) - The computation of colors_used for images could cause arithmetic exceptions and/or produce incorrect results. (fix from Artifex) (gxclimag.c) - A dead variable was getting incremented in a loop. (Small performance bug only.) (gsfunc0.c) - The cached is_monotonic value in a function head was incorrectly declared bool rather than int. (gsfunc.h) - The clip operators didn't always recognize empty clipping regions: sometimes they retained a 1-pixel-wide region. (gxcpath.c) - The bbox device could get into a recursion loop if it had a non-null target with a non-standard fill_path procedure. (gdevbbox.c) - The procedure u32 was defined in two places. (gsutil.h, gdevpsdt.c, gsutil.c, gstype42.c) - The DataSource member of a sampled function wasn't reported to the garbage collector. (gsfunc0.h, gsfunc0.c) ****** MUST DO THE SAME FOR SHADINGS ****** - All name-type parameters (device and other) were converted as strings rather than names. (gsparam.c) - Using a mask Pattern with an anti-aliased device could make invalid memory accesses and cause a crash. (gxpcmap.c) - math_.h was included unnecessarily. (gxfill.c, gxhint3.c) - In a few places, (fixed-point) coordinates were truncated towards zero rather than taking the floor. (It's likely that this had no effect.) (gxfill.c, gxpcopy.c) - The join and cap values weren't taken into account when dividing a stroked path into bands, possibly causing some caps or joins to be dropped if they fell exactly at band boundaries. (gxclpath.c) - An arithmetic overflow in gx_adjust_if_empty could produce incorrect output. (gxfill.c) - Because the bbox device used a Y-inverted coordinate system, it could produce incorrect results for out-of-bounds coordinates. (gdevbbox.c) - The default font_info procedure didn't compute MISSING_WIDTH if IS_FIXED_WIDTH wasn't requested. (gsfont.c) - space_params wasn't managed properly, causing problems if the device altered the default values. (fix from Artifex) (gdevprn.c) - The Macintosh cmap table for embedded TrueType fonts was written incorrectly. (gdevpsdt.c) - The OS/2 table for embedded TrueType fonts could be inconsistent with the cmap table. (gdevpsdt.c) - In embedded subset TrueType fonts, loca entries beyond the last occupied glyph contained garbage. (gdevpsdt.c) - Embedded TrueType subsets didn't include the components of composite glyphs. (gdevpsdf.h, gdevpsd1.c, gdevpsdf.c, gdevpsdt.c) Changes the is_monotonic procedure of Functions so that it reports the direction of monotonicity of each value independently. This allows a larger class of functions to be detected as monotonic. (gsfunc.h, gsfunc0.c, gsfunc3.c) Works around a bug in Fontographer that causes it to produce (or at least allow users to produce) Type 1 fonts using seac in which the side bearing of the accented character differs from the side bearing of the base glyph. The published Type 1 specification and Adobe's engineers agree that such fonts are invalid, but the authors of Fontographer don't seem to care (this is the 4th Fontographer bug that we have had to patch around so far). (gxtype1.h, gstype1.c, gxtype1.c) Adds gs_productfamily, for the benefit of the Windows registry. (gscdefs.h, gscdef.c) Adds a glyph_info procedure for Type 1 fonts, needed to fix the problem with seac and Type 1 embedded fonts. (gxfont1.h, gxtype1.c) Adds a gs_resize_struct_array procedure that either allocates or resizes an object. We have wanted this for quite a while. (gsmemory.h, gsmemory.c) Adds the remaining PDF Encodings to the predefined set. Also adds string names for the "real" encodings. (gsccode.h) Adjusts the format of embedded TrueType fonts to be closer to that produced by Acrobat Distiller, in the hope of making Acrobat Reader accept them. (gdevpsdf.h, gdevpsdt.c)

Version 5.94 (beta) (9/30/99)

This is (intended to be) the last beta candidate for the 6.0 release. Most changes other than added documentation are bug fixes. In order to address a last-minute problem report, we implemented a subset of Annotation rendering for PDF files. At the request of the Free Software Foundation, we removed support for GNU readline from the Aladdin Ghostscript fileset. See here for more information. We suspect that Acrobat's bugs and limitations still prevent embedded TrueType fonts in files created by the pdfwrite device from working properly, but we have neither the time nor the means to test this properly.

Incompatible changes

(Procedures) - For OpenVMS with MMK or MMS, the third-party libraries are now located in [.<lib>] rather than [-.<lib>]. - The OpenVMS makefiles now select the same set of devices as the Unix makefiles. - The MS Windows and MS-DOS default installation directory is now c:\Aladdin\gs#.# rather than c:\gs. - All top-level makefiles now need a definition of BUILD_TIME_GS. (Drivers) - The cljet5 driver is renamed cljet5pr; there is a new cljet5 driver that doesn't attempt (and fail) to handle page rotation. (Interpreter) - .getiodevice may return null. (Library) - IODevices may now have a null name.

Documentation

Fixes problems: - The documentation of font searching was still wrong in both places. (doc/Fonts.htm, doc/Use.htm) Notes that certain CodeWarrior code generation options produce incorrect code. (doc/Make.htm) Removes an inaccurate and obsolete comment. (lib/pdf_font.ps) Notes that newer versions of the SGI compiler use a different switch for setting the optimization limit. (doc/Make.htm) Notes that there may be code generation bugs in MSVC5 and later. (doc/Make.htm) Documents the new Fontmap.SGI file. (doc/Use.htm) Updates the documentation on installing Ghostscript on MS Windows. (doc/Install.htm) Documents the removal of the GNU readline interface. (doc/Current.htm, doc/Make.htm)

Procedures

Fixes problems: - The instcopy script, supposed to handle incompatibilities between Unix `install' commands, didn't work. (instcopy, unixinst.mak) - The Windows makefiles had an extra occurrence of `.' at the beginning of the default search path. (bcwin32.mak, msvc32.mak, msvclib.mak, watc*.mak) - The OpenVMS makefile didn't automatically create the bin and obj directories if needed. (openvms.mak) Changes the OpenVMS MMK/MMS makefile to expect the third-party libraries in a subdirectory of the current directory, rather than a subdirectory of the parent. This makes it compatible with all the other makefiles. (openvms.mmk) Changes the OpenVMS makefiles to select the same set of devices as the Unix makefiles. (openvms.mak, openvms.mmk, unixansi.mak) Changes the Windows and OS/2 default search paths to match the new convention of installation rooted at c:\Aladdin. (bcwin32.mak, msvc32.mak, msvclib.mak, os2.mak, watc.mak, watclib.mak, watcw32.mak)

Utilities

Fixes problems: - The Type 1/2 CharString printer didn't handle undefined opcodes correctly. (lib/type1ops.ps) - There was no Unix script for pf2afm. (lib/pf2afm) - The Type 1/2 font printing utilities didn't default lenIV to -1 for Type 2, and didn't handle lenIV = -1 correctly in some places. (lib/type1ops.ps) - The font2c utility used the version of font2c.ps from whatever existing Ghostscript executable was in the search path. Fixing this required adding a new parameter in all top-level makefiles, BUILD_TIME_GS. (cfonts.mak, bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak, openvms.mmk, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watcw32.mak) - The pfbtopfa usage message was incorrect. (lib/pfbtopfa.ps)

Drivers

Fixes problems: - The pswrite driver didn't reset the clipping path when writing low-level images, possibly causing output to be clipped incorrectly. (gdevps.c) - The PNG drivers implicitly declared png_init_io. Fixing this is only possible in libpng versions 1.0.3 and later. (gdevpng.c) - The cljet5 driver (now cljet5pr) set rotated = true if the page was rotated, but didn't set it to false if the page wasn't rotated. (gdevclj.c) - Embedded Type 1 fonts didn't include any FontInfo elements. (gdevpsd1.c) - Specifying the DCTEncode filter for compressing images caused a crash. This problem is hard to fix correctly because of the complicated initialization requirements of the JPEG encoder. We patched around it by substituting FlateEncode (when available) for DCTEncode. (gdevpsdi.c) Renames the cljet5 driver, which has special (and incorrect) hacks to handle page rotation for the PCL interpreter, as cljet5pr; adds a new cljet5 driver without the hacks. (gdevclj.c)

Platforms

Fixes problems: - On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed up as an instance of the IODevice resource category, causing problems. (gp_msio.c, gp_os2.c) Adds a set of XBM/XPM icons in 4 sizes, contributed by Gintautas Grigelionis (eragigr@ki.ericsson.se). (lib/gs*.xbm, lib/gs*.xpm, unixinst.mak) Brings the Windows and OS/2 code up to date, fixing some minor problems. (gdevpm.c, gp_os2.c, gsos2.rc, gspmdrv.rc, os2.mak, pcwin.mak)

Fonts

Fixes problems: - The font directory scanner (FONTPATH) didn't recognize TrueType fonts tagged as 'true' rather than 0x00010000. (lib/gs_ttf.ps) Changes the TrueType font loader to use ISOLatin1Encoding for constructing the CharStrings if there is a Microsoft Unicode cmap and no glyph names in the post table. This seems like a hack, but we aren't sure what the right approach would be. (lib/gs_ttf.ps) Adds a Fontmap for SGI IRIX. This just comments out those fonts that are provided by DPS. (lib/Fontmap.SGI)

PDF writer

Fixes problems: - Writing Patterns could cause a memory access error. (bug introduced recently) (gdevpdfi.c) - Filling with a pattern didn't reset the clipping path, possibly causing output to be clipped incorrectly. (gdevpdfi.c) - Patterns weren't scaled correctly. (gdevpdfi.c) - The data for large Patterns could exceed Acrobat Reader's limit on the length of a string. (gdevpdfi.c) - copy_color did an extra gsave and concat. (gdevpdfi.c) - Repeated color images weren't detected (performance bug only). (gdevpdfi.c) - Names including control characters or spaces produced invalid output. (gdevpdfx.h, gdevpdfu.c) - A matrix multiply was in the wrong order, causing fonts with non-zero translation in the FontMatrix to render at incorrect coordinates (sometimes off the page). - If a font had one of the 14 standard names but had some characters defined by PostScript procedures, the output file would be invalid. (gdevpdft.c) - The graphics state line parameters were kept in two different copies, causing bookkeeping errors. (gdevpdfx.h, gdevpdf.c, gdevpdfd.c, gdevpdfu.c) - If a page's BeginPage procedure did anything other than erase the page to white, the resulting PDF file was invalid. (gdevpdf.c) - Articles with the same title weren't merged properly. (gdevpdfm.c) - The Threads element of the catalog wasn't an indirect object. (gdevpdf.c) - Thread actions incorrectly converted the destination (thread title) to a name, rather than leaving it as a string. (gdevpdfm.c) - Fonts with the same name as the built-in ones, but not the standard definitions, produced possibly incorrect output. (gdevpdff.c) - The writer didn't recognize attempts to use Encodings with the standard fonts that mentioned characters not present in the font's glyph set. (gdevpdft.c) Ensures that the WinAnsiEncoding is loaded when writing PDF. (devs.mak)

Interpreter (PDF)

Fixes problems: - The default (identity) CMap didn't map CID 0 to glyph 0. (pdf_fonts.ps) - TrueType fonts with an explicit Encoding didn't work properly. (lib/gs_ttf.ps) - If an embedded Type 1 font executed definefont more than once, the wrong thing would happen. (lib/pdf_font.ps) - The T* operator used the negative of the leading value. (lib/pdf_ops.ps) Implements a subset of Annotation rendering: only Widget annotations, only Normal appearance, only S and D borders, no rounded-corner borders. We did this at the very last minute before the release, in order to respond to a bug report, and it probably has some bugs. (lib/pdf_draw.ps, lib/pdf_main.ps)

Interpreter

Fixes problems: - If an input buffer boundary fell at exactly the wrong place, an image whose input was coming from a stream could fail to read the stream EOD marker. (This is quite an old bug.) (zimage.c) - On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed up as an instance of the IODevice resource category, causing problems. (lib/gs_res.ps, ziodev.c) - errorinfo in $error was undefined, rather than null, initially and after errors that didn't set it deliberately. (lib/gs_init.ps) - The InkParams resource category was defined even in systems that didn't support in-RIP trapping. (lib/gs_ll3.ps, lib/gs_res.ps, lib/gs_trap.ps) - CID fonts with 0-length data caused an error. (lib/gs_cidfn.ps) - Type 10 halftone dictionaries were broken -- perhaps they never had worked. (lib/gs_ll3.ps) Makes FontInfo entries available through the extended font API, needed to allow embedded Type 1 fonts to include those entries. (zfont1.c) Makes it possible to determine whether the current file is a resource file, needed to allow distinguishing between built-in and input-embedded fonts. (lib/gs_ccfnt.ps, lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_res.ps, lib/gs_type1.ps, zfont.c) Moves support for GNU readline from the main Ghostscript fileset to the GNU-specific fileset. (unix-gcc.mak, int.mak, gp_gnrdl.c => src/gnu/gp_gnrdl.c, gnu/src/gnudevs.mak)

Streams

Fixes problems: - The CCITTFaxDecode filter didn't correctly handle the case where the last code of a 1-D row was a black code and occurred less than 7 or 8 bits before the end of the input stream. (We thought we fixed this in 5.86, but we missed one case.) (scfd.c) - If an input buffer boundary fell at exactly the wrong place, an image whose input was coming from a stream could fail to read the stream EOD marker. (This is quite an old bug.) Fixing this involved a possibly risky change to the definition of sbuf_min_left and the already fragile logic in sreadbuf: the fix does solve this problem, but we aren't at all certain it didn't introduce new ones. (stream.h, stream.c)

Library

Fixes problems: - The default implementation of copy_tile didn't pass the bitmap id for complete tiles, missing potential optimizations (performance bug only). (gdevdbit.c) - The patch edges of ShadingType 7 shadings were ordered incorrectly, producing incorrect output in some cases where the surface folds over itself. (gxshade6.c) - Flushing internal buffers when rendering an image didn't clip the flushed data, producing incorrect output. (gxidata.c) - Non-zero data_x values for banded images produced incorrect band list data. (It's astounding that this problem hasn't shown up before.) (gxclimag.c) - Banded images rotated by 90 degrees could produce "seams" or garbage if they crossed band boundaries. (This is at least the third time we have "fixed" this problem.) (gxclimag.c, gxifast.c) - Circles or ellipses defined by pairs of 180-degree arcs produced incorrect output when banding. (gxclpath.c, gxclrast.c) - setgray et al simply cleared the Pattern pointer in the client color rather than adjusting its reference count. (gscolor.c, gscolor1.c) - The saved graphics state for bitmap/pixmap patterns contained a reference to the Pattern color, causing Patterns to be retained when they shouldn't be and causing unwanted recursion when freeing them. (gsptype1.c) - Patterns containing halftoned CMYK colors rendered as all black. (bug probably introduced in 5.6x) (gxcht.c) - Because of a typo, CMYK halftoning with only a single plane could put too much yellow into the output. This appears to be quite an old bug. (gxdither.c) - The error code from running out of band list memory wasn't propagated if the condition was detected in cmd_put_drawing_color, causing low-memory recovery not to be invoked. (gxclpath.c) - (Same error code problem) in clist_change_tile. (gxclbits.c) Adds more font attributes to the set available through a standard API. (gxfont.h) Adds more statistics to the filling algorithm. (gxfill.c) Adds an is_resource flag to fonts, to indicate that they originated from a resource rather than being embedded in an input file. (gxfont.h, gsfont.c)

Version 5.93 (beta) (9/11/99)

This is the next candidate for the 6.0 release. As with 5.92, all changes other than added documentation are bug fixes.

Incompatible changes

(Library) - Every stream whose state includes any GC-traceable pointers must now have a set_defaults procedure that clears those pointers.

Documentation

Fixes problems: - There was an extra /ul tag. (doc/Release.htm) - Fontmap.GS wasn't mentioned as needing to be installed. (doc/Install.htm) - Some documentation for the handling of seac was incorrect. (gxtype1.c) Removes references to installbsd, which are no longer relevant. (doc/Install.htm) Updates the information on building with NeXTSTEP. (doc/Make.htm)

Procedures

Fixes problems: - The install command had unpredictably different syntax from one "standard" Unix system to another, causing `make install' to fail. We replaced the install command with our own script. (instcopy, dvx-gcc.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak)

Utilities

Fixes problems: - pcharstr.ps loaded type1ops.ps with run rather than runlibfile, causing an error. (lib/pcharstr.ps)

Drivers

Fixes problems: - Attempting to embed a font whose Encoding included characters not present in the font produced invalid output. (gdevpsd1.c) - Allocating a stream state didn't (automatically) clear all its internal pointers, possibly causing GC memory access errors. (gdevpsds.c) - An #include of string_.h should have been memory_.h. (gdevpsdf.c) Disables compression for very small images. (gdevpsdi.c)

Platforms

Fixes problems: - Compiling gp_msio with MSVC's /MD switch caused a compile-time error. (gp_msio.c)

PDF writer

Fixes problems: - A bookkeeping object was allocated with the wrong allocator, possibly causing access errors or garbage output. (gdevpdfu.c) - Certain Patterns weren't treated as such, leading to very large output files. (gdevpdfi.c) - If one of the base 14 fonts had a non-standard FontMatrix, the output disregarded this fact. This could cause double obliquing. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) - Articles never got an object ID assigned. (bug introduced in 5.91) (gdevpdfm.c)

Interpreter (PDF)

Changes the PDF interpreter to allow abbreviated filter names like /Fl for all streams, not just in-line images. This directly contradicts the published PDF specification, but Acrobat Reader allows it. (lib/pdf_base.ps)

Interpreter

Fixes problems: - Compiled fonts were broken by the introduction of i_ctx_p. (lib/font2c.ps, ccfont.h, iccfont.c) - Allocating a stream state didn't (automatically) clear all its internal pointers, possibly causing GC memory access errors. (zfproc.c)

Streams

Fixes problems: - Allocating a stream state didn't (automatically) clear all its internal pointers, possibly causing GC memory access errors. (scfx.h, slzwx.h, spngpx.h, strimpl.h, sbwbs.c, sdctc.c, seexec.c, sfilter1.c, siscale.c, szlibc.c) - The PNG predictor streams could fail to process some data at the end of the input. (spngp.c)

Library

Fixes problems: - Some obsolete definitions for Turbo C could produce references to an undefined procedure (setmem) at link time. (memory_.h, string_.h)

Version 5.92 (beta) (9/2/99)

This is the next candidate for the 6.0 release. All changes other than added documentation are bug fixes.

Documentation

Fixes problems: - The News for 5.91 didn't include a summary. (doc/News.htm) - The documentation for Microsoft platforms didn't mention that you must add the Ghostscript bin and lib directories to the PATH. (doc/Use.htm) Adds a file describing Aladdin's process for building, testing, and releasing Ghostscript. (doc/Readme.htm, doc/Release.htm)

Procedures

Fixes problems: - Fontmap.GS is now required, but wasn't installed. (unixinst.mak) - A couple of documentation files weren't installed. (unixinst.mak)

Utilities

Fixes problems: - The ps2pdf script for MS Windows used the wrong name for the executable. (lib/ps2pdf.bat)

Drivers

Fixes problems: - An uninitialized variable annoyed some compilers. (gdevpsdt.c) - The PostScript-writing driver used the wrong allocator, causing possible memory access errors. (gdevps.c) - The PostScript-writing driver didn't clear a pointer, causing possible GC errors. (gdevps.c) - The PostScript-writing driver didn't have a correct GC descriptor, causing pointers to be corrupted. (gdevpsdf.h, gdevps.c, gdevpsdf.c) - Embedded Type 1 fonts unnecessarily filled individual Encoding slots with /.notdef. (gdevpsd1.c) - A large constant produced warnings on some compilers. (gdevpsdt.c)

PDF writer

Fixes problems: - Once again, gcc didn't complain about an ANSI-illegal extra semicolon in a declaration list. (gdevpdfo.h) - Adds a cast to work around the fact that some compilers declare the return type of memchr as char * rather than void *. (gdevpdfr.c) - The bookkeeping for whether a font had been written and freed was inverted, causing some fonts to be written many times and other fonts not to be written at all. (gdevpdf.c)

Interpreter

Fixes problems: - More places needed workarounds for the alignment aliasing gcc bug. The bug only occurs if a pointer variable is dereferenced through a cast to a stricter alignment and then dereferenced later in its original form, so it doesn't affect very many places. (igc.c, igcref.c, isave.c)

Streams

Makes the stream GC descriptor public for subclassing. (stream.h, stream.c)

Version 5.91 (beta) (8/30/99)

This is the next beta for 6.0. It includes a major rewrite of the parts of the PDF writer that deal with resources and pdfmarks, as well as the usual bug fixes. There are still problems with embedded fonts, both TrueType (which sometimes don't show up at all) and Type 1 (which sometimes confuse Acrobat Reader 3).

Documentation

Fixes problems: - An HTML tag was misplaced in the News file. (doc/News.htm) Notes that the Solaris FONTPATH scanning problem may be fixed. (doc/Use.htm)

Utilities

Fixes problems: - Many of the margin and width computations in ps2epsi.ps (not written by Aladdin) were wrong -- off by 1. It's only because the bugs masked each other or cancelled each other out that the code didn't produce errors more of the time. (lib/ps2epsi.ps)

Drivers

Fixes problems: - Font subset glyphs weren't sorted early enough, causing Type 1 embedded fonts to be written with inconsistent lengths. (gdevpsd1.c) Changes the BMP drivers so that they set the resolution in the BMP header rather than leaving it at 0. This solves some problems reported by users, but may cause others. (gdevbmpc.c)

Platforms

Fixes problems: - A change made in 5.90 was incorrect (we couldn't test it, because MS Windows and OS/2 systems can't be used over a network). (gp_msio.c, gp_os2.c) Adds some conditionalization to work around a bug in some recent versions of gcc/egcs. (stdpre.h, interp.c)

Fonts

Fixes problems: - If the extension of a font file name on GS_FONTPATH included any upper-case characters, the font would not be found. (lib/gs_fonts.ps) Allows fontmaps to contain <string> run or .runlibfile, to get rid of the Fontmap -> Fontmap.GS link that VMS can't handle. (lib/gs_fonts.ps)

PDF writer

Fixes problems: - Very long arguments for pdfmark caused an ioerror, because the buffer used for converting them was fixed-length. (lib/gs_pdfwr.ps) - pdfmarks couldn't refer to objects that hadn't been defined yet. (gdevpdfx.h, gdevpdfo.c) - When a DOCVIEW pdfmark added an OpenAction key to the Catalog, it omitted the / before the name. (gdevpdfm.c) - Font resources could be written in the middle of a page contents stream. (bug introduced in 5.90) (gdevpdff.c, gdevpdfu.c) - As usual, there were some signed/unsigned char * mismatches that gcc didn't detect. (gdevpdff.c, gdevpdfm.c, gdevpdfo.c) - Fonts used on a page but freed before the end of the page were omitted from the page's resource dictionary. (gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdft.c) - /D or /Dest keys in Action pdfmark dictionaries dropped the first character of their value. (gdevpdfm.c) - If a pdfmark added annotations to a page after the end of that page had been reached, those annotations would be lost. (gdevpdf.c) - ANN, LNK, DEST, and PS pdfmarks ignored the object name, if any. (Only OBJ and BP processed the name.) Unfortunately, fixing this required a complete overhaul of the way that resources and PDF objects were represented internally. The result is both simpler and more general, but it involved a major upheaval in the PDF writer code. (lib/gs_pdfwr.ps, gdevpdfo.h, gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfo.c, gdevpdfr.c, gdevpdft.c, gdevpdfu.c) - EP pdfmarks didn't close any open text context. (gdevpdfm.c) Adds debugging code to check the consistency of the embedded Type 1 font writer. (gdevpdff.c) Makes /A and /F at the top level of an annotation or outline pdfmark equivalent to /Action and /File respectively. See the code for more information. (gdevpdfm.c)

Library

Fixes problems: - Degenerate Bezier curves could cause a division by zero. (gxpcopy.c) - Some macros used in non-FPU configurations were missing some needed uses of const, and in one case an additional cast. (gxfarith.h, gxfixed.h) Changes the discard macro to upper-case. (stdpre.h)

Version 5.90 (beta) (8/20/99)

This is the first real candidate for the 6.0 release. It does not fix all known bugs, but it includes all planned functionality. New in this fileset: - FunctionType 4 for PDF files. - Alternate printer images for PDF files (-dUsePrinterImages switch). - pdfwrite support for PDF "Cos objects" (without compression for streams). - pdfwrite support for graphics objects named with BP/EP/SP (without compression for the object definition). - pdfwrite font subsetting and embedded TrueType fonts.

Incompatible changes

(Interpreter) - ref_stack_init now takes an additional argument. - no_time_slice_proc is removed -- use 0 instead. (Library) - Notification client procedures and the gs_notify_ procedures take different arguments. - The common part of a gs_function_t structure has changed. - gs_text_enum_init now returns a value that can indicate an error. - The font font_info procedure now takes an additional argument. - The IODevice open_device procedure is now defined as returning 0 or 1 under specific circumstances. - gxp1fill.h is renamed gxp1impl.h. - Allocators now have an additional procedure they must implement, and a state member they must initialize. - Most of the gs..basic.. structure definition macros have been renamed. The ptrs1_stringsN structure definition macros are removed. - Implementations of the text API now must provide a resync procedure rather than a restart procedure.

Documentation

Documents the new -dUsePrinterImages switch, and the expanded meaning of -Z~. (doc/Use.htm) Updates FSF's address in documentation. (lib/Fontmap.GS, lib/Fontmap.Sol, gdevcd8.c) Brings the PDF writer (ps2pdf) documentation up to date. (doc/Ps2pdf.htm) Updates the current-release documentation. (doc/Current.htm, doc/Readme.htm) Updates the problem-reporting procedure for contributed drivers, and some other new-user information. (doc/New-user.htm)

Procedures

Fixes bugs: - Because of a typo, the file gs_mgl_e.ps wasn't installed (on Unix systems) by 'make install'. (unixinst.mak) - The .dev files for drivers didn't depend on devs.mak. (devs.mak) - The X driver didn't include a needed dependency on the bbox device. (devs.mak) Incorporates the pdfmin package into the pdf package, since pdfmin was only provided for very small-memory environments and is no longer useful. (int.mak) Adds additional prototype-checking switches, which are important on 64-bit platforms and useful on all platforms, to the gcc compilation line. (unix-gcc.mak)

Utilities

Fixes bugs: - A backquote was misplaced in the Unix ps2pdf script. (lib/ps2pdf) - Some example files didn't have %! headers. (examples/alphabet.ps, examples/waterfal.ps) - ansi2knr didn't handle preprocessor directives within a function header. (ansi2knr.c) Cleans up some minor compiler complaints. (genarch.c, genconf.c, echogs.c)

Drivers

Fixes bugs: - The PostScript writer sometimes failed to reset the clip path, causing parts of the output to be omitted or to appear incorrectly. (gdevvec.c) - There was a type mismatch in a conditional. (gdevxini.c) - A constant array wasn't declared as static. (gdevpsdt.c) - Once again, there were some signed / unsigned char mismatches that gcc apparently can't be forced to detect. (gdevpsdt.c) - The alternative X drivers didn't have GC descriptors, which could lead to memory corruption. (gdevxalt.c) - The alternative X drivers didn't handle the closing of the underlying X driver correctly, leading to a dangling pointer. (gdevxalt.c) - Font subsetting didn't eliminate duplicate glyphs (glyphs referenced more than once from the Encoding vector.) (gdevpsd1.c, gdevpsdt.c) - Type 1 font subsetting didn't ensure the presence of .notdef. (gdevpsd1.c) - The embedded TrueType font writer wrote all 16-bit values incorrectly. This could explain a lot! (gdevpsdt.c) Cleans up public functions with no previous prototype. (gdevtfax.h, gdevx.h, gdevdfax.c, gdevtfax.c, gdevx.c, gdevxini.c, gdevxxf.c) Adds some procedures to support font subsetting. (gdevpsdf.h, gdevpsdf.c) Adds an alternate font name for writing TrueType fonts. (gdevpsdt.c) Makes the TrueType font writer generate an OS/2 table, a Macintosh cmap, and a name table (for the font name), as well as a Windows cmap and post, if necessary. (gdevpsdf.h, gdevpsdt.c)

Platforms

Updates a couple of clients for the change in the IODevice open_device procedure, eliminating some undesirable externs. (gp_msio.c, gp_os2.c)

Fonts

Adds OS/2 and maxp to the list of tables that must be preserved when loading TrueType fonts. (lib/gs_ttf.ps) Registers the complete lists of glyphs in the Adobe Latin fonts as pseudo-encodings. (lib/gs_lgo_e.ps, lib/gs_lgx_e.ps, unixinst.mak)

PDF writer

Fixes bugs: - One built-in font was sometimes substituted for another. (gdevpdff.c) - Use of composite fonts often produced a rangecheck error. (gdevpdft.c) - The structures for named objects were freed twice. (gdevpdfx.h, gdevpdf.c, gdevpdfo.c) - The code to avoid writing a blank between a Td command and following text was fragile and still incorrect after being "fixed" twice. We removed this minor optimization, at a small cost in file size when not compressing. (gdevpdft.c) - No Names tree was generated for named destinations specified as strings. Rather than do this, we now convert string destinations to names. This doesn't scale up well, but it is simple and also is compatible with all PDF versions from 1.1 on. (gdevpdfm.c) - Fonts that define characters incrementally, such as the TrueType fonts written by some versions of the AdobePS Windows driver, could omit characters if embedded. Fixing this required delaying writing out fonts until the font was about to be freed or the writer was closed. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) Cleans up public functions with no previous prototype. (gdevpdfx.h, gdevpdf.c, gdevpdfm.c) Updates client code for the change in gs_text_enum_init. (gdevpdft.c) Makes some changes towards handling show operations that must be split up internally into multiple operations using different fonts. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) Implements the PUT pdfmark for the built-in objects (Catalog, DocInfo, Page<#>, ThisPage, PrevPage, NextPage). This required deferring writing out page objects until the end of the document. (lib/gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdfm.c, gdevpdfo.c, gdevpdfu.c) Adds table entries, but not parsing, checking, or functionality, for the new Acrobat 4 pdfmarks related to document logical structure. (gdevpdfm.c) Implements stream-type Cos objects. (lib/gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfo.c, gdevpdfp.c, gdevpdfu.c) Implements BP/EP/SP pdfmarks. (gdevpdfx.h, gdevpdf.c, gdevpdfi.c, gdevpdfm.c) Changes enumeration and #defined names to upper case, and adds _t to type names. (gdevpdfx.h, gdevpdf*.c) Adds an OS/2 table for embedded fonts if missing. (gdevpdff.c) Makes the allocator for the PDF device's internal structures be the stable allocator of the device's allocator, not the C heap. This required correcting a number of GC descriptors. (gdevpdfx.h, gdevpdf.c, gdevpdfu.c) Replaces the text restart procedure with the new resync procedure. (gdevpdft.c)

Interpreter (PDF)

Fixes problems: - Failure to find a font in the Resources dictionary signalled an /undefinedfont error (which does not exist) rather than /invalidfont. (lib/pdf_font.ps) Implements FunctionType 4 functions. (lib/pdf_draw.ps, zfunc4.c) Implements the -dUsePrinterImages switch to use "alternate" printer images when rendering. (lib/pdf_draw.ps)

Interpreter

Fixes problems: - Some pointers were declared as ref * that actually could be ref_packed *, potentially confusing compilers that follow the new, stricter ANSI C rules about alignment aliasing. (idebug.h, idebug.c, igc.c, igcref.c, zmisc.c) - cshow didn't restore the root font after executing the procedure, producing incorrect results if the procedure did a setfont. (ichar.h, zcfont.c, zchar.c) - A needed const-breaking cast was omitted. (zmisc.c) - The memory validator could cause an unaligned access. (ilocate.c) - restore could free parts of the stacks that were still in use. We fixed this long-standing problem using the new concept of stable allocators. (interp.c) Moves the implementation of the abs operator to C, required for FunctionType 4 support. (lib/gs_init.ps, zarith.c) Makes more operator procedures public, required for FunctionType 4 support. (zarith.c, zmath.c, zrelbit.c, ztype.c) Adds an additional parameter to ref_stack_init, to allow creating a temporary stack without having an allocator. (istkparm.h, istack.h, interp.c, istack.c) Cleans up public functions with no previous prototype. (files.h, ichar.h, icstate.h, ifilter2.h, ifrpred.h, ifwpred.h, igcstr.h, iimage.h, iimage2.h, iinit.h, imain.h, interp.h, iscanbin.h, ivmem2.h, oparc.h, opextern.h, icontext.c, igc.c, iinit.c, imain.c, inobtokn.c, interp.c, iscan.c, iscanbin.c, zchar.c, zcharout.c, zcolor.c, zcolor1.c, zcontrol.c, zdevice.c, zdpnext.c, zdps.c, zfdecode.c, zfile.c, zfilter2.c, zfont0.c, zfunc0.c, zfunc3.c, zfzlib.c, zgeneric.c, zht1.c, zht2.c, zimage.c, zimage2.c, ziodev.c, zmath.c, zpath1.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c) Updates client code for the tweak in the definition of the IODevice open_device procedure. (ziodev.c) Implements stable local and global VM allocators. This required changing more places than we would have liked. (ialloc.c, igc.c, ilocate.c, imain.c, interp.c, ireclaim.c, isave.c, zcontext.c) Removes the global member of gs_ref_memory_t, since it isn't used. (gxalloc.h, ialloc.c, zcontext.c) Adds more tracing to the relocation phase of the garbage collector. (igcref.c)

Streams

Fixes problems: - jpeg_open_backing_store no longer had the correct arguments. (This had no effect in practice, since the procedure was never called.) (sjpegc.c) Cleans up public functions with no previous prototype. (scfdgen.c, scfetab.c, sjpegc.c, slzwce.c, slzwd.c, stream.c) Adds some tracing to the image scaling stream. (siscale.c)

Library

Fixes bugs: - A null OutputFile name could cause an error. (gxdevice.h, gsdevice.c, gsfname.c) - Shading with non-monotonic Functions produced incorrect output. (gxshade1.c) - An #undef didn't match the #define it was supposed to cancel. (gxchar.c) - The default next_char_glyph procedure didn't handle FROM_CHARS or FROM_SINGLE_CHAR data sources. (gstext.c) - When finalizing a forwarding device, the target pointer in the device wasn't cleared, leading to an incorrect attempt to access it later. (gdevnfwd.c) - Interpolated images were broken, probably since 5.81. (gxiscale.c) - Some color space implementation procedures hadn't been updated to add 'const' to the color space argument. (gscie.c) - A constant had a signed/unsigned ambiguity on systems where sizeof(long) > 4. (gsccode.h) - The font font_info procedure didn't provide for scaling. (gxfont.h) Simplifies the notification mechanism to remove the concept of client and generating object. Registration now just takes a closure (procedure + opaque data); events pass the closure data and event data. (gsnotify.h, gsfont.c, gsnotify.c) Changes gs_notify_unregister so that it can unregister all registrations of a particular client rather than only one. (gsnotify.h, gsnotify.c) Adds support for "vanilla" Functions at the library level. (gsfunc.h, gsfunc.c) Adds some tracing for Functions. (gsfunc3.c) Redefines function monotonicity to indicate whether the function is increasing or decreasing, and implements monotonicity correctly for all FunctionTypes except 4. (gsfunc.h, gxfunc.h, gsfunc0.c, gsfunc3.c) Makes Type 0 fonts check that they are being used with a string, not a character or (a) glyph(s). (gxtext.h, gschar.c, gschar0.c, gstext.c, gxchar.c) Cleans up public functions with no previous prototype. (gdevmem.h, gpcheck.h, gscie.h, gserror.h, gsmemory.h, gxcie.h, gxcldev.h, gxclpath.h, gxcmap.h, gxcspace.h, gxfixed.h, gxfont0.h, gxp1fill.h [deleted], gxp1impl.h, math_.h, std.h, gconf.c, gdevdrop.c, gdevm1.c, gdevm2.c, gdevm4.c, gdevm8.c, gdevm24.c, gdevmr1.c, gdevmr2n.c, gdevprn.c, gsbittab.c, gscdef.c, gscie.c, gsciemap.c, gscspace.c, gscscie.c, gsdevmem.c, gsdparam.c, gshtscr.c, gsimpath.c, gsiodev.c, gsmisc.c, gsnorop.c, gspath.c, gspcolor.c, gsptype1.c, gsropc.c, gsutil.c, gxacpath.c, gxclist.c, gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c, gxiscale.c, gxp1fill.c, gxpath2.c) Gets rid of some remaining vestiges of 16-bit ints. (gdevm1.c, gsbitops.c) Adds procedures to register clients for notification when a font is freed. (gxfont.h, gsfont.c) Defines the IODevice open_device procedure as returning 1 if it opened a new stream, 0 if it returned an existing stream. This eliminates some awkward externs. Adds the concept of a stable allocator -- an allocator that allocates from the same heap and in the same VM space as another allocator, but is not subject to save and restore. (gsmemory.h, gsmemraw.h, gsalloc.c, gsmalloc.c, gsmemlok.c, gsmemret.c, gsnogc.c) Adds some new macros to make defining new kinds of fixed-format structures simpler. (gsstruct.h) Replaces the text processing restart procedure with a more general resync procedure, which can be used to restart partway through a string. We retain gs_text_restart for backward compatibility and general usefulness. (gstext.h, gxtext.h, gdevbbox.c, gstext.c, gxchar.c) Adds the Adobe Latin glyph sets as pseudo-encodings. (gsccode.h)

Version 5.88 (tester) (8/3/99)

This fileset adds the ability to reference and embed TrueType fonts in PDF output. Unfortunately, even though the resulting PDF files work fine with Ghostscript itself, Acrobat Reader apparently can't handle embedded TrueType fonts with non-standard Encodings. We hope to fix this problem during the 6.0 beta test period. This fileset also adds the ability to buffer X Windows output in a client-side bitmap. This is typically more efficient than trying to push many small commands through the X client/server knothole, especially if bitmap images or RasterOp are involved. Some reported problems have been deliberately left unfixed: we will need every minute of the 13 days before the start of the 6.0 beta test period to implement the last few items of functionality scheduled for the 6.0 release, and we can fix problems (but not add functionality) during the beta test period.

Incompatible changes

(Library) - The box_device member of the bbox device is replaced by the box_data member, with a different meaning. - The x_rect structure is removed; all uses are changed to gs_int_rect. - gdevpstr.h is renamed spprint.h. - The parameter printing procedures are moved from gdevpsdf.[hc] to spsdf.[hc]. - Clients must now allocate gs_font* objects using gs_font_alloc or gs_font_base_alloc, not directly with gs_alloc_struct. - The first (vptr) argument of enum_ptrs procedures is now const *. EV_CONST is no longer defined. - The pep argument of enum_ptrs procedures is now enum_ptr_t * rather than const void **. - The font glyph_pieces procedure is replaced with an option for glyph_info. - The font encode_char procedure now takes an additional glyph_space argument. - The o_large flag in object headers is renamed o_alone; o_lmark and o_lsize no longer exist. The DO_LARGE and DO_SMALL macros for enumerating objects in a chunk are also removed.

Documentation

Fixes problems: - News entries since 5.72 had a missing <li> in the table of contents entry. (doc/News.htm) - gs_text_params_t still referred to REPLACE_X_WIDTHS and REPLACE_Y_WIDTHS rather than REPLACE_WIDTHS. (gstext.h) Clarifies that the font glyph_outline procedure must append a final moveto for the advance width. (gxfont.h) Clarifies that the font enumerate_glyph procedure enumerates glyphs in an unpredictable order. (gxfont.h) Documents that reference counted freeing procedures for structures with finalization must free the structure itself first rather than last. (gsrefct.h) Updates documentation on building Ghostscript on MS-DOS and MS Windows. (doc/Make.htm) Adds some documentation on how the makefiles are / should be structured. (doc/Source.htm) Documents the new parameters for the X driver. (doc/Use.htm) Updates the language documentation to refer properly to PostScript LanguageLevel 3 and PDF 1.3. (doc/Language.htm)

Procedures

Fixes problems: - An omitted space in a makefile caused an incompatibility with the VMS build utilities. (lib.mak) - The gsindent script was omitted from the fileset. (gsindent) - The core library didn't include stream.c, which is now required. (lib.mak) - The workaround for the peculiarities of the Watcom compiler's command line syntax didn't work. (zlib.mak) - A DOS command line overflowed in the makefile. We patched this by deleting the bmpgray device from the Borland Windows platform. (bcwin32.mak) Provides a .lnk file required by the revised linking procedures on MS Windows. (gsdll32w.lnk) Straightens out the Watcom makefiles so that it is possible to build a Windows executable and DLL using the Watcom compiler. This required moving some parameters around in the other PC makefiles. (bcwin32.mak, msvccmd.mak, watc.mak, watcw32.mak, wccommon.mak, winint.mak, winlib.mak)

Drivers

Fixes problems: - The X driver reported the wrong parameter name for errors in the value of the WindowID or .IsPageDevice parameter. (gdevxini.c) - The X driver calculated the Y window dimension incorrectly when resizing the window if X and Y resolutions were different. (Never happens in practice.) (gdevxini.c) - The bmpasep8 device was defined as gx_device_printer rather than gx_device_async. (gdevbmpa.c) - Some casts between signed and unsigned char * were missing. (gdevpdff.c, gdevpdft.c) - The PDF writer didn't handle reencoded characters properly in non-embedded fonts. (gdevpdfx.h) - The PDF writer allocated new structures while being closed, causing memory corruption if the close procedure was called for finalization. (gdevpdff.c, gdevpsd1.c) - The PDF writer tried to close the resource file twice. (bug introduced since 5.50) (gdevpdf.c) - The PDF writer failed to work around a bug in Acrobat 3 Reader's Print function related to re-encoded fonts. (gdevpdft.c) - The PDF writer incorrectly specified ASCII85Encode rather than ASCII85Decode for non-binary embedded fonts. (gdevpdff.c) - The PDF writer didn't handle embedded fonts with a non-standard FontMatrix correctly. (gdevpdft.c) - The PDF writer didn't handle reassigned characters correctly. (gdevpdft.c) - When embedding a Type 1 font, the PDF writer didn't check that the font contains only CharStrings (no PostScript procedures), no non-standard OtherSubrs, and no CDevProc. (gdevpsd1.c) - There was an unused label in the mswinpr2 driver. (gdevwpr2.c) - The X driver didn't flush buffered output before reading back bits from the display. (gdevx.c) - The X driver still didn't set up the color mapping tables correctly -- in particular, it didn't initialize cman.color_to_rgb before setting up the dither ramp or cube. This is at least the third time we have "fixed" this problem. (gdevxcmp.c) Removes the remaining uses of gs_malloc, gs_free, and gs_memory_default from Aladdin's non-display drivers. (gdevbit.c, gdevbmp.c, gdevbmpa.c, gdevcgm.c, gdevclj.c, gdevcljc.c, gdevdjet.c, gdevlj56.c, gdevmiff.c, gdevpbm.c, gdevpcx.c, gdevpng.c, gdevpsim.c, gdevtfax.c, gdevtfnx.c, gdevxalt.c) Adds a MaxBitmap parameter to the X driver: the driver will maintain a full-window pixmap in memory if it requires no more space than MaxBitmap. The default value of this parameter is 0, meaning never use a client-side bitmap. (gdevx.h, gdevx.c, gdevxini.c, gdevxxf.c) Moves the X device closing and get/put parameters procedures from gdevx.c to gdevxini.c. (gdevx.c, gdevxini.c) Removes some remaining uses of gs_malloc and gs_free from the X driver. Note that this requires making the X device structure properly garbage-collectable. (gdevx.h, gsstruct.h, gdevxini.c) Removes the remaining uses of 'register' from the X driver. (gdevx.c, gdevxini.c) Removes the remaining uses of the obsolete far_data keyword from Aladdin's non-PC drivers. (gdevbmp.c, gdevbmpa.c, gdevcgm.c, gdevlj56.c, gdevmiff.c, gdevp2up.c) Improves the X driver's algorithm for deciding when to update the screen, and makes its parameters available for reading and setting. (gdevx.h, gdevx.c, gdevxini.c) In the X driver's color mapper, improves performance slightly by replacing multiplies and divides with shifts and table lookups in the normal case of standard color maps. (gdevxcmp.h, gdevxcmp.c) Moves some filter-related code from the driver level to the stream level. (gdevpsdf.c) Moves some utilities for printing values in ASCII form from the driver level to the stream level. (devs.mak, gdevpdfx.h, gdevpstr.h [deleted], gdevps.c, gdevpsde.c, gdevpsdf.c, gdevpsdp.c, gdevpstr.c [deleted]) Upgrades the PDF writer to handle TrueType fonts as well as Type 1. (gdevpdfx.h, gdevpsdf.h, gdevpdff.c, gdevpdft.c, gdevpsde.c => gdevpsd1.c, gdevpsdt.c) Starts to implement font subsetting in the PDF writer. (gdevpdfx.h, gdevpsdf.h, gdevpdff.c, gdevpsd1.c, gdevpsdt.c) Partially implements WMode when writing font descriptors. (gdevpdff.c) Changes psdf_binary_writer so that adding the ASCII85 filter in psdf_begin_binary doesn't require allocating any memory. (gdevpsdf.h, gdevpsdf.c) Makes the PDF writer guess the Ascent and StemV values for embedded fonts when it can't determine them by examining the font. (gdevpdff.c) Makes the PDF writer able to handle xshow and yshow (TEXT_REPLACE_WIDTHS). (gdevpdft.c) Updates code to reflect the addition of glyph_space to the font encode_char and enumerate_glyph procedures. (gdevpsdf.h, gdevpdff.c, gdevpdft.c, gdevpsd1.c, gdevpsdf.c, gdevpsdt.c) Removes some unnecessary #includes. (gdevxres.c) Removes the sample driver-based CRD from the variant X drivers, since this created a pointless dependency. (The `bit' drivers still provide this feature, for testing.) (gdevxalt.c) Changes the default compatibility level of PDF output from 1.2 (Acrobat 3) to 1.3 (Acrobat 4). (gdevpdf.c)

Platforms

Fixes problems: - A comment included an extra /*. (gp_mswin.c) - The definitions for min and max in a couple of files disagreed with the ones typically provided in system header files. (dwimg.cpp, dwtext.cpp) Removes some unnecessary code related to generating temporary file names. (gp_iwatc.c)

Fonts

Changes the loader for TrueType fonts to keep the 'instructions', which are required if the font is going to be written out in a PDF file. (lib/gs_ttf.ps) Adds some more debugging output to the TrueType font loader. (lib/gs_ttf.ps) Registers the MacGlyphEncoding so it can be made available to the PDF writer. (lib/gs_mgl_e.ps, lib/gs_ttf.ps, unixinst.mak, gsccode.h, ifont.h)

Interpreter (PDF)

Fixes problems: - The serif and small-caps flags in the FontDescriptor were ignored when doing font substitution. (lib/gs_fonts.ps, lib/pdf_font.ps) - The ri operator was undefined. We added a dummy definition. (lib/pdf_ops.ps) - The redefinitions of restore could cause a recursion loop. (lib/gs_fform.ps, lib/gs_lev2.ps) - There was an extra gsave executed for each page, causing the graphics state stack to grow deeper and deeper, which caused problems when wrapping up at the end of execution. (lib/pdf_main.ps) Implements the sh operator. (lib/pdf_draw.ps) Works around a bug in some PDF files generated by Adobe's PDF library (?), which attempt to create a font Encoding array with more than 256 elements. (lib/pdf_font.ps)

Interpreter

Fixes problems: - The GNU readline completion code (which Aladdin did not write) was completely wrong. (gp_gnrdl.c) - The top-level restore sometimes tried to restore global VM an extra time, leading to memory corruption. (bug probably introduced in 5.85) (isave.c) - The glyph_ref procedure was defined in two different places (inconsistently). (ichar.h, zchar.c, zchar1.c) Restructures the name table to improve cache coherence and to make it possible to store initial name strings in ROM. (iname.h, inamedef.h, inames.h, inamestr.h, igc.c, iname.c, isave.c) Changes the scanner so it doesn't copy name strings when scanning a compiled init string. This reduces RAM requirements by about 20K when using compiled initialization. (iscan.c) Removes redundant FontBBox correction code, since this is now handled by the library. (zfont42.c) Updates the Type 1 and Type 42 font code to implement the new font procedures. (icharout.h, zcharout.c, zchar1.c, zchar42.c, zfont1.c, zfont42.c) Simplifies the code that checks whether a grestore needs to do a setpagedevice. (zdevice2.c) Updates code to reflect the change of the vptr argument of enum_ptrs procedures to const *. (igcref.c) Updates code to reflect the change in the pep argument of enum_ptrs procedures to enum_ptr_t *. (igc.h, iscan.h, istruct.h, igc.c, igcref.c, ilocate.c, iscan.c) Updates code to reflect the addition of glyph_space to the font encode_char and enumerate_glyph procedures. (bfont.h, ifont.h, zbfont.c, zfont1.c, zfont32.c, zfont42.c) Cleans up some code details. (idebug.h, ifunc.h, iparray.h, istream.h, zfunc.c) Removes some no longer needed test code. (zfont1.c) Updates memory manager code to reflect the change from o_large to o_alone. (igc.c, igcref.c, ilocate.c, isave.c) Changes the printed font substitution message to be closer to what some Adobe products print if SHORTERRORS is defined. (Thanks to Andrew Chilvers for the suggestion.) (lib/gs_fonts.ps)

Streams

Fixes problems: - The fix in 5.85 for ASCII85Encode EOLs was wrong and caused a word of data to be dropped occasionally. (sfilter2.c) Moves some filter-related code from the driver level to the stream level. (stream.h, stream.c) Moves some utilities for printing values in ASCII form from the driver level to the stream level. (lib.mak, spprint.h, spsdf.h, spprint.c, spsdf.c) Adds some more tracing output for image scaling. (siscale.c)

Library

Fixes problems: - The bbox device's check for whether a rectangle filled the entire page was wrong. (gdevbbox.c) - The bbox device didn't correctly handle parallelograms, triangles, or thin lines with points specified in other than ascending order. (gdevbbox.c) - The bbox device smashed the reference count of the text enumerator it created, causing a memory leak. (gdevbbox.c) - The bbox device didn't copy back all the dynamic information from a subsidiary text enumerator, with unpredictable results. (gxtext.h, gdevbbox.c, gstext.c) - The default implementation of glyph_info for fonts incorrectly reported that it returned values for all members, not just the ones it knew about. (gsfont.c) - The profiling implementation of memset was incorrect, leading to memory smashing. (gsmisc.c) - The default implementation of glyph_info had a memory leak. (gsfont.c) - The default implementation of character rendering didn't correctly handle the case where the character was in the cache and only the character width was requested. (gxchar.c) - Text processing didn't correctly handle REPLACE_WIDTHS if the X and Y width arrays were different. (The PostScript interpreter never does this.) (gstext.h, gstext.c, gxchar.c) - Compositing devices weren't initialized properly, leading to invalid accesses. This is the last (?) bit of the device reference counting bug tail. (gsalphac.c, gsropc.c) Changes the bbox device to make the procedures for managing the bounding box virtual, so the X device can be a subclass. (gdevbbox.h, gdevbbox.c) Changes the bbox device so it always adds the bounding box after doing the drawing operation rather than before, for the benefit of the buffering X device. (gdevbbox.c) Removes some remaining uses of gs_memory_default. (gdevdrop.c) Removes all uses of the obsolete far_data keyword from the library. (gconf.c, gdevbbox.c) Changes the bbox device so it doesn't run drawing algorithms twice if it has a target that uses the default implementation. (gdevbbox.c) Speeds up the implementation of fill_rectangle for 16-bit memory devices. (gdevm16.c) Makes TrueType fonts implement the new font procedures. (gxfont42.h, gxmatrix.h, gsmatrix.c, gstype42.c) Adds a gs_id to gs_font objects, so that fonts with the same name can be distinguished reliably without relying on the address. (gxfont.h, gsfont.c) Makes the vptr argument of enum_ptrs procedures be const *. This is a long-overdue change. (gsstype.h, gxxfont.h, gsalloc.c, gsfont.c, gsmemory.c) ****** REDO THE CONST-BREAKING CASTS IN gsfont.c ****** Changes the pep argument of enum_ptrs from const void ** to enum_ptr_t *, to get rid of some hacks in enum_ptrs implementations that had to construct temporary gs_strings. (gsstruct.h, gsstype.h, gstext.h, gsalloc.c, gscolor2.c, gsfont.c, gsmemory.c, gstext.c) Adds a general mechanism that provides for an arbitrary number of clients to be notified when an event occurs. For the moment, we only use it to notify PDF writers when a font is about to be freed. (gsnotify.h, gsnotify.c) Makes fonts use the new notification mechanism to notify clients when the font is about to be freed. (gxfont.h, gsfont.c) Adds a gs_text_set_cache procedure to parallel restart and retry. (gstext.h, gxtext.h, gstext.c) Adds a glyph_space argument to the font encode_char and enumerate_glyph procedures, so that clients can choose between glyph names and glyph indices in environments that use both. (gsccode.h, gxchar.h, gxfont.h, gxfont42.h, gsfont.c, gstype42.c, gxchar.c) Changes the bbox device so it optionally considers white to be opaque. (gdevbbox.h, gdevbbox.c) Cleans up some code details. (gshsb.h) Adds a hack to suppress warning messages from the Watcom compiler about testing constant values. (stdpre.h) Replaces the glyph_pieces font procedure with a GLYPH_INFO_PIECES option for glyph_info. (gxfont.h, gxfont42.h, gsfont.c, gstype42.c) Adds a font_info font procedure, similar to glyph_info but giving information about the font as a whole. (gxfont.h) In order to fix a bug in resizing large objects, gets rid of the concept of large objects entirely, replacing it with the concept of an 'alone' object that is guaranteed to be the only object in its chunk. (gxalloc.h, gxobj.h, gsalloc.c) Adds some more tracing output for interpolated images. (gxiscale.c) Adds a _long parameter setting procedure to parallel _bool, _enum, and _int. (gsparamx.h, gsparamx.c)

Version 5.87 (tester) (6/29/99)

In this fileset, the pdfwrite device finally handles general Type 1 fonts, and can write them in both embedded and non-embedded form. This fileset also contains a few more changes to the text API, and some incompatible changes to the gs_font procedure vector: more such changes are likely. It also fixes a couple of long-standing pdfmark bugs. NOTE: there are known problems in PDF output with non-embedded fonts (fonts represented only by a descriptor): some characters will be missing, and because of bugs in Acrobat's Print function, even more characters will be missing or wrong when printing from Acrobat. We will fix our problems, and work around Acrobat's bugs, in the next couple of filesets.

Incompatible changes

(Library) - Text enumerators now have a release procedure. - gx_device_text_begin no longer stores its arguments into the enumerator: the driver text_begin procedure must do this. - The argument list for the font encode_char procedure no longer includes the enumerator, and the second argument is now a gs_char rather than a gs_char *. - The font next_char procedure is removed. (It has been obsolete for a while.) The next_glyph procedure is renamed next_char_glyph. - The first argument of the font init_fstack, build_char, and next_glyph procedures is changed from gs_show_enum * to gs_text_enum_t *. - gx_font_stack[_item] is renamed gx_font_stack[_item]_t. - New font procedures have been added, of which two (enumerate_glyph and glyph_outline) are required. The font procedure vector has been reorganized. - The Type 1 font next_glyph procedure is replaced by the gs_font enumerate_glyph procedure. - psdf_embed_type1_font is renamed psdf_write_type1_font, and has an additional argument. - psdf_alloc_param_printer takes slightly different arguments; print_binary_ok and print_ASCII85_ok are now upper-case.

Documentation

Reorganizes the driver API documentation slightly, documents the fact that get_alpha_bits and draw_line are obsolete, and documents the driver text API. (doc/Drivers.htm) Documents an additional Irix configuration where the compiler doesn't work. (doc/Make.htm)

Procedures

Moves the %pipe% IODevice into lib.mak, since it is now included on Windows as well as Unix. (lib.mak, unix-aux.mak) Adds the bmpgray driver to all platforms that include the other BMP drivers. (bcwin32.mak, msvc32.mak, os2.mak, unix-gcc.mak, watc.mak, watcw32.mak)

Drivers

Fixes problems: - The PS and PDF writers didn't maintain the font embedding lists correctly. (gdevpsdp.c) - The CreationDate in PDF output was always set to the current date, and couldn't be set with a pdfmark. We now don't set CreationDate at all, since it is supposed to be the creation date of the original document, not of the PDF file. (gdevpdfm.c, gdevpdfu.c) - The Producer in PDF output couldn't be set with a pdfmark. (gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfu.c) - pdfmarks with /Action /GoTo incorrectly retained the Action key. (gdevpdfm.c) - pdfmarks didn't substitute /Dest => /D or /File => /F correctly. (gdevpdfm.c) Updates the PDF writer to use the new text API rather than the show pseudo-parameter. (gdevpdfx.h, gdevpdf.c, gdevpdfp.c, gdevpdft.c) Changes pdf_open_document so that it opens the document even if some resources have been allocated. (gdevpdf.c) Splits off pdfwrite utilities from top-level control, since the file was getting too big. (gdevpdfx.h, gdevpdf.c, gdevpdfu.c) When writing PDF, avoids resetting the word spacing parameter if the string doesn't contain any spaces, and the character spacing parameter if the string has no more than 1 character. (gdevpdft.c) Splits off PDF font handling from text handling, since the file was getting too big. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) Implement both embedded and non-embedded fonts beyond the base 14 in the PDF writer. This code doesn't work very reliably yet. (gdevpdfx.h, gdevpdff.c, gdevpdft.c) Adds a bmpgray driver that produces 8-bit gray-scale output. (devs.mak, gdevbmp.c) Updates the PDF writer for changes in the gs_font procedure vector. (gdevpdff.c, gdevpdft.c) Updates the Type 1 font writer for changes in the gs_font procedure vector, and adds some output options. (gdevpsdf.h, gdevpsde.c) Changes the printing parameter list implementation to take all of its parametric arguments in the params structure, and changes the names of the options. (gdevpsdf.h, gdevpsde.c, gdevpsdf.c, gdevpdff.c, gdevpdfi.c, gdevpdfu.c)

Interpreter (PDF)

Fixes problems: - Indexed color spaces didn't allow the base space to be an indirect reference. (lib/pdf_draw.ps) - The CS and cs operators didn't accept a literal color space name (as opposed to a color space resource name). (lib/pdf_draw.ps) - Some PDF 1.2 files had a SM entry in graphics state dictionaries, even though this is not documented and requires a LL3 interpreter. (lib/pdf_draw.ps) - Generated font names included a % character, which could cause problems for ps2pdf. (lib/pdf_font.ps)

Interpreter

Fixes problems: - The calculation of the final index when enumerating the pointers in a context state was incorrect. (source bug only, no effect on execution) (icontext.c) Updates the interpreter's glue code for the changes in the PDF writer. (lib/gs_pdfwr.ps) Updates a client to use gs_font_alloc. (zbfont.c) Updates clients for changes in the gs_font procedure vector. (zbfont.c, zchar1.c, zfont0.c, zfont1.c, zfont32.c) Updates a client for the change to psdf_write_type1_font. (zfont1.c)

Library

Fixes problems: - Some code used rc_decrement_only instead of gx_device_retain. (Stylistic bug only.) (gschar.c) - The finalize procedure for the character cache device could get unset and/or the retained flag cleared, leading to a reference count not getting decremented. (gxccman.c) - Allocating a show enumerator didn't clear the show_gstate member. (Probably no effect in practice.) (gschar.c) - Cleaning up at the end of text processing was not consistent and sometimes didn't get done. The old API used explicit and separate client allocation (gs_show_enum_alloc), release (gs_show_enum_release), and freeing (gs_free_object); release, but not free, was automatic at the end of processing (in show_finish). The new API has allocation in gs_text_begin or gx_device_text_begin, no implicit release or free, and a single gs_text_release call to handle both release and free. Reconciling these required adding an auto_release flag in the gs_show_enum structure to indicate which API was used to create it, and a release procedure. (The auto_release flag is only needed for backward compatibility with clients that use the old API. Ghostscript itself no longer has such clients, but the PCL interpreters do.) (gxchar.h, gxtext.h, gdevbbox.c, gschar.c, gstext.c, gxchar.c) - We were burned once again by gcc's acceptance of private/public procedure mismatches. (gxchar.c) - A line break was missing between the return type and a procedure name. (gsstate.c) - Show enumerators had an incorrect GC descriptor. (gxchar.c) - Text enumerators didn't terminate their list properly. (gstext.c) Adds a debugging procedure that finds all the pointers to an object. This uses the GC's pointer enumeration procedures, so it will only work if all structures have correct GC descriptors. (Of course, we think this is true of all of Ghostscript.) The current implementation doesn't trace refs. (gsalloc.c) Removes remaining references from gxchar.c to procedures defined in gschar.c. The standard Ghostscript build now no longer needs gschar.c, although we will keep it for the moment for backward compatibility. (gschar.c, gxchar.c) Removes an obsolete reference to gs_show_enum. (gstype1.h) Adds definitions for the built-in encoding indices. (gsccode.h, gxfont.h, gxxfont.h) To make text_begin implementations callable, requires them, rather than gx_device_text_begin, to save their parameters in the enumerator structure. (gxtext.h, gstext.c, gxchar.c) Adds a TEXT_DO_CHARWIDTH alternative to the text operation, to just advance the current point by the character width (stringwidth rmoveto). (gscpm.h, gstext.h, gxchar.c, gxpath.c) Adds procedures to allocate and initialize fonts. (gxfont.h, gsfont.c) Starts to revise the gs_font procedure vector to create a real "font socket" API, adding several new procedures. This is a NON-BACKWARD-COMPATIBLE change, and there probably are more to come. (gxchar.h, gxfont.h, gsfont.c, gstext.c, gxchar.c) Moves the Type 0 font stack from gs_show_enum to gs_text_enum_t, and renames its types to gx_font_stack_[item_]t. Also moves cmap_code. (gxchar.h, gxtext.h, gschar0.c, gstext.c, gxchar.c) Moves the glyph enumeration procedure from Type 1 fonts to general fonts, changing its name to enumerate_glyph. (gxfont1.h) Changes the debugging code for reference counting to call procedures, to allow better breakpointing. (gsrefct.h, gsmemory.c)

Version 5.86 (tester) (6/14/99)

This fileset includes the first batch of changes for the new driver-based text API. Unfortunately, a few of them are non-backward-compatible. WARNING: This API is UNSTABLE and should not be used yet. This includes the APIs and structures in gxtext.h, and to a lesser extent those in gstext.h.

Incompatible changes

(Interpreter) - The default initialization of fonts now sets next_glyph rather than next_char. (Library) - The font argument of the driver text_begin procedure is no longer declared as const. - Text enumerators now have a is_width_only and current_width procedures; the restart procedure is renamed retry, and there is a new restart procedure that does something different. - The scale member of gs_text_enum_t is renamed log2_scale. - gs_show_restore_font is removed. - The current_char, current_glyph, width, and log2_current_scale members of gs_show_enum are removed (replaced by members of gs_text_enum_t). - The current_width member of gs_text_enum_t is removed. - Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single TEXT_REPLACE_WIDTHS.

Documentation

Fixes a number of outdated URLs. (doc/Devices.htm, doc/Fonts.htm, doc/Install.htm, doc/Language.htm, doc/Make.htm, doc/New-user.htm) Documents the name change from gs_iso_e.ps to gs_il1_e.ps. (doc/Psfiles.htm) Documents the fact that a double % may be needed on MS systems. (doc/Use.htm) Documents that reversepath discards a trailing moveto, for compatibility with Adobe implementations. (gxpath2.c)

Procedures

Fixes problems: - Some punctuation was omitted that affects builds on VMS systems. (gs.mak) - 'make install' didn't install doc/History5.htm. (unixinst.mak) - The Borland makefile put some generated files in the top-level directory rather than the build directory. (bcwin32.mak) Updates the Unix install script for the name change of gs_iso_e.ps. (unixinst.mak) Moves the GNU-licensed drivers to a separate makefile. (contrib.mak, gnu/src/gnudevs.mak) Adds pipe.dev to the BC++, MSVC++, and OS/2 (GCC/EMX) platforms. (bcwin32.mak, dvx-gcc.mak, msvc32.mak, msvclib.mak)

Utilities

Fixes problems: - The usage message for pdf2ps was incorrect. (lib/pdf2ps, lib/pdf2ps.bat)

Drivers

Removes all remaining uses of #define'd casts in connection with ENUM_PTRS and RELOC_PTRS procedures. (gdevpdf.c, gdevpdfo.c) Adds a user-contributed driver for the Oki Data OkiPage 4w+ LED printer. This is a GPL'ed driver. (contrib.mak, gnu/src/gdevop4w.c)

Platforms

Adds a %handle% IODevice (mshandle.dev) to recognize file names of the form %handle%NNNNNNNN under MS Windows. GSview uses this feature in place of pipes, which are an open industry standard not supported by MS Windows. (msvc32.mak, winlib.mak, gp_mshdl.c)

Fonts

Adds the ISO 8859-2 encoding to the stock of built-in encodings. (lib/gs_il2_e.ps, lib/gs_iso_e.ps => lib/gs_il1_e.ps)

Interpreter (PDF)

Fixes problems: - Using a colored pattern with an uncolored Pattern color space caused an error. (lib/pdf_draw.ps) - Embedded CIDFontType 2 fonts didn't work, and embedded TrueType fonts did an extra definefont. (lib/gs_ttf.ps, lib/pdf_font.ps, lib/pdf_ops.ps) ****** IN PROGRESS ******

Interpreter

Fixes problems: - Some files hadn't been updated for the removal of the gs_imemory static. (int.mak, gp_gnrdl.c, imain.c, ztrap.c) - %statementedit could append a spurious character if the last character of the statement was not whitespace. (bug probably introduced in 5.8x) (ziodev.c) - The show operators didn't properly handle the special case of executing within a cshow procedure for a non-CID font. (zchar.c) - cshow applied to a composite font didn't scale the current font correctly (in fact, at all). (zcfont.c) - If an error occurred within the procedure called by resourceforall, it wasn't reported. (lib/gs_res.ps) - flushfile and closefile didn't correctly handle filters that only write a fixed amount of data. (zfileio.c) - cshow didn't restore the font reliably after executing the procedure. (ichar.h, zcfont.c, zchar.c) - An execstackoverflow error might temporarily leave the execution stack in an invalid state. (interp.c) Cleans up some macros. (iname.c, isave.c, iscan.c) Removes all remaining uses of #define'd casts in connection with ENUM_PTRS and RELOC_PTRS procedures. (icontext.c, iname.c, isave.c, iscan.c, istack.c, zcontext.c, zfproc.c) Adds a run-time warning message if gp_gnrdl.c is included in a non-GNU build. (gp_gnrdl.c) Converts clients to use the gs_text procedures that replace the gs_show procedures, and to use gs_text_enum_t rather than gs_show_enum as the enumerator type. (ichar.h, zbfont.c, zcfont.c, zchar.c, zchar1.c, zchar32.c, zchar42.c, zcharout.c, zcharx.c, zfont.c, zfont0.c, zfont1.c, zfont32.c, zimage.c, zimage2.c) Updates the initialization code for the name change of gs_iso_e.ps. (lib/gs_init.ps) Splits off the definitions relating to name indices, in anticipation of defining some name indices statically. (inamedef.h, inameidx.h, iname.c)

Streams

Fixes problems: - The pixel-difference filters didn't initialize the previous sample to 0 at the beginning of each row. (spdiff.c) - The CCITTFaxDecode filter didn't correctly handle the case where the last code of a row occurred less than 7 or 8 bits before the end of the input stream. (scf.h, shc.h, scfd.c) - Flushing filters didn't work. (stream.c) - The DCTEncode filter gave an error if asked to write to a string with less than 100 bytes of free space left when the end of the input data was reached. (sdct.h, sdcte.c) Removes all remaining uses of #define'd casts in connection with ENUM_PTRS and RELOC_PTRS procedures. (stream.c) Changes the ASCII85Encode stream to reliably insert a newline at least once every 80 characters, rather than unreliably after at most 80 characters of data. (sfilter2.c) Cleans up some formatting. (stream.c)

Library

Fixes problems: - A client wasn't updated for the change in the declaration of gx_dht_proc. (bug introduced in 5.84) (genht.c) - When rendering a 12-bit-per-sample color image, the device color wasn't initialized, possibly causing a memory access error when comparing the current color with the previous one. (gxi12bit.c) - arch_floats_are_IEEE was incorrectly defined as arch_floats_are_ieee. (bug introduced in 5.83) (std.h) - Decoding of IEEE floats on non-IEEE systems was wrong. (ibnum.c) - The fast case of masked images in Pattern color spaces didn't work. (bug introduced since 5.50) (gxifast.c) - cshow gave an error if there was no current point. (gxchar.c) Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single TEXT_REPLACE_WIDTHS. (gstext.h, gstext.c) Cleans up some macros. (gdevddrw.c, gsfont.c, gsht1.c) Removes all remaining uses of #define'd casts in connection with ENUM_PTRS and RELOC_PTRS procedures. (gdevddrw.c, gdevplnx.c, gsalloc.c, gschar.c, gscolor.c, gscolor2.c, gscrd.c, gscsepr.c, gscspace.c, gsdevice.c, gsdsrc.c, gsfcmap.c, gsfont.c, gsfont0.c, gsht1.c, gshtscr.c, gsimage.c, gspcolor.c, gsptype1.c, gsstate.c, gstext.c, gxcmap.c, gxht.c, gxipixel.c, gxmclip.c, gxtype1.c) Adds gs_c_param_list_write_more, to switch a C parameter list back to write mode without clearing it. (gsparam.h, gscparam.c) Adds gs_grestore_only, to do a grestore without requiring 2 entries on the graphics state stack. (gsstate.h, gsstate.c) Completes a first bridge between the new driver text_begin procedure and the existing text API defined in gschar.h. The changes are backward-compatible for both clients of the APIs and (the few) implementors of text_begin, except that the font argument of text_begin is no longer const. Note that gschar.h is no longer used by any client, and in fact is deprecated. (gschar.h, gstext.h, gxfcache.h, gxtext.h, gzstate.h, gdevbbox.c, gdevnfwd.c, gschar.c, gsfont.c, gsfont0.c, gstext.c) Mostly splits off the existing text procedures from the default implementation of the new text facilities. (lib.mak, gxchar.h, gschar.c, gxchar.c) Makes the structure descriptor for gs_state public, for testing in gxchar.c. (gzstate.h, gsstate.c) Adds is_width_only and current_width procedures to the text enumerator; renames restart as retry, and adds a restart procedure for restarting with different parameters. (gstext.h, gxtext.h, gdevbbox.c, gschar.c, gstext.c, gxchar.c) Makes the masks for the subgroups of text operation parameters public. (gstext.h) Removes members of gs_show_enum that are superseded by members of gs_text_enum_t: current_char, current_glyph, width, and log2_current_scale. (gxchar.h, gxchar.c) Adds aliases for popen and pclose under WIN32. (pipe_.h) Moves gs_incachedevice from gschar.h to gsstate.h. (gschar.h, gsstate.h)

Version 5.85 (tester) (5/29/99)

This fileset removes a few more writable statics, and adds uniform support for %filedevice%filename syntax in OutputFile. Unfortunately, removing the static that held the interpreter's allocator group was almost as much of an upheaval as removing the statics for the interpreter stacks.

Incompatible changes

(Interpreter) - context_state_alloc now takes an additional parameter, as do obj_cvp, make_packed_array, parse_real_file_name, ref_stack_store, sread/write_proc, terminate_file_name, and a number of other internal interpreter procedures. - scan_number now does not mark the result as new. - The _param_list_read/write procedures now take an additional gs_ref_memory_t * parameter. - It is no longer possible to store pointers to the interpreter's allocator group (gs_dual_memory_t) in structures or variables across a garbage collection. - The save_level instance variable is moved from gs_dual_memory_t to gs_ref_memory_t. - op_show_finish_setup can now fail. - fname.h is renamed gsfname.h; the procedure names and parameters for %device%name file names are changed. - gx_imager_stroke_add now takes an additional argument; a NULL value for the device argument of gx_stroke_path_only is no longer valid. - gx_make_clip_translate_device now takes a memory parameter, and no container parameter; gx_make_clip_device no longer takes a container parameter; gx_mask_clip_initialize and tile_clip_initialize now take a memory parameter.

Documentation

Fixes problems: - The language documentation still referred to outside clipping. (doc/Language.htm) Documents the new curve join graphics state parameter. (doc/Language.htm) Documents the fact that the OutputFile device parameter now supports the %device%file syntax. (gp.h, doc/Use.htm) Documents the licensing problems related to GNU readline. (int.mak, unix-gcc.mak, gp_gnrdl.c)

Procedures

Fixes problems: - The bmpa devices needed gdevppla. (bug introduced in 5.84) (devs.mak) - The bmpa devices were accidentally included in the DEVICE_DEVS setting in the distributed fileset. (unix-gcc.mak) - msvclib.mak was missing some definitions. (msvclib.mak) Adds a CC_NO_WARN macro for those few files that produce tons of warnings that we can't work around. (bcwin32.mak, dvx-gcc.mak, msvccmd.mak, openvms.mak, openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watcw32.mak, wccommon.mak, devs.mak, lib.mak, zlib.mak) Adds version.mak to msvclib.mak, so library clients can track the version. (msvclib.mak)

Utilities

Fixes problems: - -replace didn't work if it was the last item of a module description. (genconf.c)

Drivers

Fixes problems: - CCITTFax-compressed bitmaps sometimes used both a Rows value and an end-of-block indicator, which some PostScript implementations don't handle properly. (gdevpsdf.h, gdevps.c, gdevpsdf.c) Removes an unused procedure and macro. (gdevlj56.c)

Interpreter (PDF)

Fixes problems: - The interpreter cached objects even if the reference had the wrong generation number, causing errors if a correct reference occurred later. (lib/pdf_base.ps) - Embedded TrueType fonts using the Macintosh encoding sometimes caused an error. (lib/gs_ttf.ps)

Interpreter

Fixes problems: - Multiple contexts were broken (probably since 5.80). Fixing this required adding a parameter to context_state_alloc, to provide systemdict. (icontext.h, icontext.c, interp.c) - setpagedevice didn't accept the 4-element PageSize values that appear in the InputAttributes dictionary. (zmedia2.c) - BuildChar/BuildGlyph was "short circuited" even in some cases where it wasn't safe to do so. (ichar.h, zchar.c, zcharout.c) - The show operators didn't properly handle the special case of executing within a cshow procedure. (ichar.h, zcfont.c, zchar.c, zcharx.c) - The -dDOINTERPOLATE switch had gotten broken somehow. (lib/gs_init.ps) - The is_identity flag wasn't properly cleared when loading cached CIE mapping values, causing incorrect output. (zcie.c) Removes the writable static for the context scheduler. (zcontext.c) Removes the writable static for the interpreter's group of allocators (gs_imemory). This too turned out to be a massive change with many NON-BACKWARD-COMPATIBLE changes required in internal procedures. (bfont.h, files.h, fname.h, ialloc.h, ifunc.h, imemory.h, interp.h, iparam.h, iparray.h, ipcolor.h, isave.h, iscannum.h, istack.h, istream.h, iutil.h, store.h, ialloc.c, icontext.c, idebug.c, idict.c, iinit.c, imain.c, imainarg.c, interp.c, iparam.c, ireclaim.c, isave.c, iscan.c, iscanbin.c, iscannum.c, isstate.h, istack.c, iutil.c, zarray.c, zbfont.c, zcontext.c, zdict.c, zfname.c, zdps.c, zdps1.c, zfcmap.c, zdict.c, zfile.c, zfilter.c, zfont.c, zfont0.c, zfproc.c, zfreuse.c, zfunc.c, zfunc0.c, zfunc3.c, zgeneric.c, zht2.c, ziodev.c, ziodev2.c, zpacked.c, zpcolor.c, zshade.c, zupath.c, zvmem.c) Adds a gs_memory_t * argument to obj_cvp. This is part of the work for removing the gs_imemory static: we note it separately because it affects code beyond the interpreter. (iutil.h, gp_gnrdl.c, iutil.c, zfileio.c) Updates interpreter code for the addition of new_mask, test_mask, and save_level to gs_ref_memory_t, and the removal of save_level from gs_dual_memory_t. (ialloc.h, ialloc.c, isave.c) Adds a gs_ref_memory_t * argument to all the _param_list_read/write procedures. (iparam.h, iparam.c, zcrd.c, zdevice.c, zfdctd.c, zfdcte.c, zfdecode.c, zfilter2.c, ziodev2.c, zusparam.c) Changes the hack in file_alloc_stream that determines whether a gs_memory_t * is actually a gs_ref_memory_t *. The former code tested specifically whether the allocator was one of the current interpreter allocators; the new code simply tests the procedure vector. We aren't 100% sure that this change will work reliably. (zfile.c) Factors common code out of isave.h and store.h. (idosave.h, isave.h, store.h) Removes the reclaim_data member of gs_dual_memory_t, since it is no longer useful. (imemory.h, ialloc.c, ireclaim.c) Makes the default InputAttributes and OutputAttributes elements of page device dictionaries writable and (if possible) allocated in local VM, to work around bugs in the output of Word Perfect. (lib/gs_setpd.ps) Modifies the interpreter's error printout to indicate whether dictionaries on the stack(s) are writable. (lib/gs_init.ps) Moves support for %device%name file naming into the library. (fname.h, zfile.c, zfname.c [deleted]) Adds interpreter support for the new curve join graphics state parameter. (zgstate.c)

Library

Fixes problems: - bbox_fill_path device didn't interact with compositors correctly. (This problem had no practical effect.) (gdevbbox.c) - kshow didn't check for CID fonts. (gschar.c) - The bbox and ImageType 3 image enumerators had incorrect GC descriptors, possibly causing memory-related crashes. (gsstruct.h, gdevbbox.c, gximage3.c) - gx_make_clip_[translate_]device took an obsolete container parameter. (gxcpath.h, gsshade.c, gxccache.c, gxfill.c, gxstroke.c) - Non-transient clipping devices were used for image clipping, but the API didn't support creating them. (gxcpath.h, gxclip.c, gximage3.c, gxipixel.c) - Some devices were created without setting their memory member, which caused the GC not to trace pointers to them. (gxmclip.h, gxclip2.h, gxclip2.c, gximage3.c, gxmclip.c, gxp1fill.c) - The bbox device didn't handle ImageType 3 images correctly. (gdevbbox.c) - When the bbox device passed a stroke operation to the library, it didn't pass the device, causing absolute-length dots to render incorrectly. Fixing this required adding a device parameter to the gx_imager_stroke_add procedure. (gxpaint.h, gdevbbox.c, gxpaint.c) - The counter control OtherSubrs (12 and 13) weren't implemented. (This probably had no effect.) (gstype1.c) - Type 1 stem hints with negative widths didn't work properly. (gxhint2.c) - The debugging output for hintmask and cntrmask printed the vstem and hstem counts in the wrong order. (gstype2.c) - If the value of the OutputFile device parameter was too long, the result could be memory corruption rather than a rangecheck error. (gsdevice.c) - The dash pattern pointer in the saved imager state of a band list writer could point inside the writer structure, confusing the garbage collector. (gxclist.h, gxclpath.c) Adds new_mask, test_mask, and save_level instance variables to gs_ref_memory_t. This too is part of the gs_imemory work: we note it separately because it is the only piece of this work that affects the library. (gxalloc.h, gsalloc.c) Makes cntrmask at the beginning of a charstring act like vstemhm + cntrmask, as with hintmask. This is not documented, but we see it used this way in Type 2 CharStrings. (gstype2.c) Cleans up formatting and macros. (gp.h) Speeds up the bounding box device by skipping path filling if the entire path falls within the already-accumulated bounding box, and by defining the device as 8-bit gray to avoid halftone computation. (gdevbbox.c) Adds a procedure, gs_show_use_glyph, for implementing the show-in-cshow hack. (gschar.h, gschar.c) Moves support for %device%file file naming into the library. (lib.mak, gsfname.h, gxiodev.h, gdevpipe.c, gsfname.c) Makes the OutputFile device parameter recognize %device%file syntax, as well as "-" and (on platforms that support pipes) |command. (gp.h, gxdevice.h, gdevprn.c, gsdevice.c, gp_unix.c) Adds a separate graphics state parameter to indicate how to treat joins between segments of a flattened curve, for compatibility with Adobe interpreters (which apparently always use bevel joins). (gsline.h, gxclpath.h, gxline.h, gsline.c, gsstate.c, gxclpath.c, gxclrast.c, gxstroke.c) Changes code slightly, introducing an unnecessary assignment, in order to suppress a compiler warning. (gxclpath.c) Tweaks the CIE_LOAD_CACHE_BODY macro slightly. (gscie.c)

Version 5.84 (tester) (5/19/99)

This fileset completes the implementation of planar rendering, and fixes a few more bugs, some of them surprisingly old.

Incompatible changes

(Drivers) - The dopath vector device implementation procedure was changed to take an optional matrix argument. (Library) - The internal memory__need_ macros are changed to upper case.

Procedures

Fixes problems: - There was a duplicate entry for GENINIT_XE in the Watcom makefile. (wctail.mak) Adds the duplex-capable LaserJet drivers (ljet3d and ljet4d) to all standard configurations. (bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak, openvms.mmk, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watcw32.mak) Adds a PROFILE compilation switch, similar to DEBUG, to work around the fact that gprof under Linux doesn't count time in memset, memcpy, or other C library procedures. PROFILE will substitute our own versions of memset, memcpy, and memmove. Currently, this switch is supported only on Unix. (unix-end.mak) Defines a new makefile macro, SYNC, that gives the module name for thread / synchronization facilities; makes async.dev include this module. This is posync on Unix and VMS platforms, winsync on MS Windows and OS/2 platforms. (bcwin32.mak, dvx-gcc.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak, openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watclib.mak, watcw32.mak) Splits off the rules common to the 3 Windows makefiles (watc, watclib, winlib) into a separate file, defining new modules winplat.dev and winsync.dev. (watc.mak, watclib.mak, winlib.mak, winplat.mak) Removes -Wcast-align from the gcc switches, since this produces huge numbers of warnings that we will certainly never get rid of. (unix-gcc.mak)

Utilities

Enhances the ps2pdf script with a patch contributed by Jim Avera (avera@fjst.com) so that it can be used as a pipe by specifying "-" for the input and/or output file. (lib/ps2pdf) Modifies ps2ascii to handle landscape pages better. (lib/ps2ascii.ps)

Drivers

Fixes problems: - PDF output that used Pattern colors on more than one page failed to include the color space resource in the resource dictionaries of pages other than the first. (gdevpdf.c) - The PDF writer emitted bitmap patterns inverted in Y. (gdevpdfi.c) - The PCL XL driver's GC descriptor had become incorrect, causing crashes. (gdevpx.c) - The pdfwrite driver could still emit coordinates too large for Acrobat Reader to handle, for stroked lines with an unusual CTM. (gdevpdfd.c) - The pxl drivers emitted invalid output for dashed lines. (gdevpx.c) - The [e]pswrite and pxl drivers scaled line widths and dash patterns incorrectly. Fixing this properly involved refactoring the handling of scaling for paths, and removing gdev_vector_stroke_path. (gdevpsdf.h, gdevvec.h, gdevpdfd.c, gdevps.c, gdevpsdf.c, gdevpx.c, gdevvec.c) - The lj5 drivers didn't pad images to a multiple of 4 bytes per scan line, producing invalid PCL XL output. (We don't see how they could ever have worked, in fact.) (gdevpcl.h, gdevlj56.c, gdevpcl.c) Adds a user-contributed driver for the DEClaser 2100. This is a GPL'ed driver. (contrib.mak, gnu/src/gdevln03.c) Makes the UsePlanarBuffer parameter, and planar buffering capability, from the PPM devices available to general printer devices, but in a separate module to avoid making all printer devices require gdevmpla.c. (gdevppla.h, gdevpbm.c, gdevppla.c) Adds a UsePlanarBuffer parameter to the async BMP drivers, for testing. (gdevbmpa.c) Removes the comment about the instability of the "vector" driver interface. (gdevvec.h, gdevvec.c)

Platforms

Splits off the Windows thread and synchronization primitives into a new file and a new module, winsync.dev. (watc.mak, watclib.mak, winlib.mak, gp_win32.c, gp_wsync.c)

Interpreter

Fixes problems: - As usual, gcc failed to flag some signed/unsigned char mismatches. (gp_gnrdl.c, iutil.c) Moves the indexed color space cache lookup procedure from the interpreter to the library. (zcsindex.c)

Streams

Fixes problems: - If a 2-D CCITTFax stream ended with 1 or 2 "vertical 0" codes, those codes would be ignored. (scfd.c)

Library

Fixes problems: - gsnogc.h contained an extern for gs_gc_reclaim rather than for gs_nogc_reclaim. (gsnogc.h) - Banded images in Indexed color spaces rendered incorrectly. (gximage.c) - A function declared some arguments as float rather than floatp. (gshtx.h, gshtx.c) - As usual, gcc failed to flag some public/private mismatches. (gdevmrun.c) - The tracing output for monobit images printed 8 bits per pixel rather than 1 bit per pixel. (gxidata.c) - A Pn macro was used in a header file that didn't include stdpre.h. (gscdefs.h, gconf.c, genht.c, gxhtbit.c, gxclrast.c) - get_bits_rectangle for the planar memory device didn't flush the last byte of each row. (gdevmpla.c) - When banding, Indexed color spaces using a procedure rather than a lookup table caused a crash. (gxcolor2.h, gscolor2.c, gxclrast.c) - When filling a region with a Pattern with a rotated matrix, some parts of the region could be missed. (bug introduced by a fix in 5.38) (gxp1fill.c) When compiling with gcc, replaces inline with __inline__ to get rid of a potential warning. (stdpre.h) Adds our own implementations of memset, memcpy, and memmove, to work around the fact that gprof under Linux doesn't count time in C library procedures. (memory_.h, string_.h, gsmisc.c) Finishes implementing planar rendering for printer / banded devices. (gdevprn.h, gxclist.h, gxdevbuf.h, gdevprn.c, gxclread.c)

Version 5.83 (tester) (5/13/99)

This fileset was driven mostly by commercial licensee demands; it doesn't fix most of the problems reported in 5.82. It features smaller threshold halftones, the ability to store halftones in ROM, and a nearly complete implementation of a planar memory device. Items pushed off to the next fileset: - Finish multi-planar band buffers (requires changing gdev_prn_render_lines to be based on memory devices rather than buffer pointers). - For Adobe compatibility, change stroking so that it always uses bevel joins between the segments of a curve (this directly contradicts the Red Book, but it's what Adobe interpreters do). - Implement an IdiomSet for Corel Draw fountain fills? (idioms.ps) - Change shading so it doesn't install a clip device (make this a driver procedure instead), because that prevents clist_fill_path from being called.

Incompatible changes

(Interpreter) - The spaces.indexed member of a vm_spaces structure has been renamed spaces_indexed (a macro). - The gs_reclaim procedure is changed to a macro, GS_RECLAIM. (Library) - The bits member of a halftone order is now called bit_data, and is opaque; halftone orders are now "objects"; gx_ht_alloc_[ht_]order now take an additional argument. - The architectural values in arch.h are now all upper-case. (std.h defines lower-case synonyms for backward compatibility.) - The buffer device procedures for printer devices are now collected in a structure; this also changes the parameters of clist_init_params. - The parameters of the buffered device setup_buf_device procedure are changed. - gx_path_copy_reducing now takes an additional argument, an imager state, for flattening stroked paths. - Memory devices now must be created by copying a prototype device, rather than by initializing individual members, even if they are only being used for limited purposes.

Documentation

Documents the new facility for compiled halftones, and the old one for compiling initialization files. (doc/Make.htm)

Utilities

Adds a utility for compiling halftones into the executable. Also defines the dependency lists for the auxiliary programs in lib.mak and int.mak, rather than replicating them for every platform. (bcwin32.mak, dvx-tail.mak, gs.mak, int.mak, lib.mak, msvctail.mak, openvms.mak, openvms.mmk, os2.mak, unix-aux.mak, wctail.mak, genht.c) Adds support for halftone "resources" in the makefile. (genconf.c) Adds code to determine the primary and secondary CPU cache sizes empirically. (genarch.c) Changes the architecture definition macros from lower to upper case, with lower-case synonyms in std.h for backward compatibility. (gsjconf.h, std.h, genarch.c) Changes the ps2ai utility so that jtxt3 can be set from the command line, to allow pstoedit to generate AI3-compatible output. (lib/ps2ai.ps)

Procedures

Adds some optional library modules to the base library compilation list, so that compilation errors won't slip through. (lib.mak)

Interpreter

Fixes problems: - A change from char to byte needed to be undone (gcc didn't catch this). (iutil.c) Adds a 167x167 stochastic halftone that CalComp put in the public domain. (lib/ht_ccbnm.ps, int.mak, unixinst.mak) Updates the interpreter for the change to per-VM-spaces garbage collection. (igc.h, ialloc.c, icontext.c, igc.c, ilocate.c, imain.c, interp.c, ireclaim.c, isave.c, zfile.c, zht.c, zht1.c, zht2.c) Updates places that only use gsstruct.h for extern_st to use gsstype.h instead. (icontext.h, ifont.h)

Library

Fixes problems: - Some types needed updating to reflect the change in the string freelists. (gsalloc.c, gsnogc.c) - clip_copy_color didn't initialize some variables in the fastest case. (bug probably introduced in 5.83) (gxclip.c) - The fit_fill_ and fit_copy_ macros didn't always parenthesize their dev argument. (gxdevice.h) - The sample_load macros returned the wrong results for depth 1 and 2. Amazingly enough, it appears that this case had never been used. (gsbitops.h) - The standard allocator would free chunks even if is_controlled was true. (gsalloc.c) - Stroking drew semicircles rather than full circles for round joins. (gxstroke.c) - The calculation of how finely to sample a curve to achieve a particular flatness didn't take line width into account when stroking (the flatness has to apply to the outside of the stroked curve). (gxpath.h, gxpcopy.c, gxstroke.c) Speeds up the bbox device a little. (gdevbbox.c) Speeds up the most common cases of clipping a little. (gxclip.h, gxacpath.c, gxclip.c) Makes halftone orders more "object-oriented", so we can use an alternate representation that trades time for space. This requires a NON-BACKWARD-COMPATIBLE CHANGE in the gx_ht_order structure and the arguments of gx_ht_alloc_[ht_]order. (gxcldev.h, gxdht.h, gzht.h, gsht.c, gsht1.c, gshtscr.c, gshtx.c, gsistate.c, gxcht.c, gxclimag.c, gxclrast.c, gxht.c, gxhtbit.c) Makes it possible to compile-in halftone threshold arrays and orders (e.g., in ROM) so they don't take up RAM at execution time. (gscdefs.h, gxdht.h, gxdhtres.h, gzht.h, gconf.c, gsht.c, gsht1.c, gxclrast.c, gxhtbit.c) Adds some statistics to the 24-bit memory device (in DEBUG mode only, as usual). (gdevm24.c) Makes the 24-bit memory device optionally use memcpy for wide rectangle fills. We thought this got us a factor of 3 speedup on a Pentium with gcc's library, but it turned out to be a profiler artifact. (gdevm24.c) Cleans up some formatting. (gxclip.h) Dusts off the run-length-encoded memory device, changing it so it reverts to the unencoded representation when necessary. This code hasn't been tested, and is not currently used. (gdevmrun.h, gdevrun.c [deleted], gdevmrun.c) Adds more statistics to the clipping device. (gxclip.c) Adds an implementation of the MD5 Algorithm defined in RFC 1321, derived directly from the text of the RFC and not from the reference implementation. This code uses the zlib license, which is more liberal than the Aladdin or GNU licenses. (md5.h, md5.c) Finishes implementing the planar memory device, including generalizing it to store varying numbers of bits per plane rather than 1 bit per plane. (gdevmem.h, gdevmpla.h, gxdevmem.h, gdevmem.c, gdevmpla.c) Updates clients to initialize memory devices more fully, now required to distinguish chunky from planar devices. (gxpcmap.c) Mostly implements enhancing printer / banded devices so they can use a planar memory device for rendering and/or band buffering. The code currently works only in the non-banded case. (gdevprn.h, gxclist.h, gxdevbuf.h, gxdevcli.h, gdevprn.c, gxclist.c, gxclread.c) For testing, adds a -dUsePlanarBuffer=<boolean> parameter to the PPM devices to make them use a planar memory device. (gdevpbm.c) Cleans up some code formatting. (gdevmem.c) Makes the garbage collection procedure separately settable for each group of VM spaces. (In an environment with "async" rendering, the renderer has its owm VM space group.) Unfortunately, this involved a NON-BACKWARD-COMPATIBLE change in the vm_spaces structure. (gsgc.h, gsnogc.h, gsnogc.c) Updates a client for the change in gs_reclaim; also makes the renderer thread use the non-tracing garbage collector. (gdevprna.c) Updates the non-tracing GC to reflect its role as a garbage collection procedure in a vm_spaces. (gsnogc.c) Enhances the non-tracing GC so that if a chunk ever contains no strings, the string marking area reserved for the tracing GC is added to free space. (gxalloc.h, gsalloc.c, gsnogc.c) Changes the font cache allocator to use a different structure descriptor for its data so that memory dumps will show "font cache bytes" rather than just "bytes". (gxccman.c) Splits gsstruct.h into gsstype.h, which contains enough of the definition of structure type descriptors to support extern_st, and gsstruct.h, which is needed to actually define structure types. (gsstruct.h, gsstype.h, gxfmap.h) Updates places that only use gsstruct.h for extern_st to use gsstype.h instead. (gsbitmap.h, gsccolor.h, gscie.h, gxfont.h, gzpath.h, scommon.h, gscdevn.c, gscrd.c, gscrdp.c, gsshade.c, gxpath2.c)

Version 5.82 (tester) (4/24/99)

This fileset fixes a few odds and ends, removes a couple more writable statics, and improves performance in a couple of areas.

Incompatible changes

(Interpreter) - dict_uid_param now takes an additional argument, the interpreter context pointer. - obj_cvp now takes a stream rather than a string.

Documentation

Documents the -dGraphicsAlphaBits and -dTextAlphaBits switches; reorganizes the documentation of the -d/-s switches by function. (doc/Use.htm)

Procedures

Fixes problems: - Building with MSVC didn't work if COMPILE_INITS was selected. (msvctail.mak) - The cp script didn't work on all MS-DOS systems, since the systems are incompatible with each other in undocumented ways. (cp.bat) - Using ^ in a command line failed on Windows 98. (wccommon.mak) - Watcom compilation under Windows NT didn't include some needed headers. (wccommon.mak) - The Watcom compiler's quoting requirements were inconsistent. (gs.mak) - GLCCWIN was used without being defined. The MS DOS/Windows makefiles really are a tangled mess.... (watc.mak) - The build directories didn't get created automatically when compiling with the Watcom compiler. (watc.mak) Adds more optimization switches for Watcom compilation. (wccommon.mak)

Utilities

Adds a pfbtopfa script. (unixinst.mak, lib/pfbtopfa, lib/pfbtopfa.bat, lib/pfbtopfa.ps)

Drivers

Fixes problems: - "Vector" drivers (currently only the PCL XL driver) filled polygons incorrectly. (gdevvec.c) - The PCL XL drivers produced incorrect output for images. (We can't understand how they ever could have worked.) (gdevpx.c) - The PCL XL drivers skipped blank pages. (gdevpx.c) - The page origin for the clj driver was set incorrectly. (fix from Artifex) (gdevclj.c) - The map_color_rgb procedure for the 32-bit CMYK bmp device was wrong, causing RasterOps to produce incorrect output. (fix from Artifex) (gdevbmp.c) Works around a bug in Acrobat Reader's Print command, by changing the scaling for bitmap patterns. (gdevpdfi.c) Cleans up some formatting and macros. (gdevpx.c) Factors out some common parameter-putting utilities. (gdevpsdf.h, gdevpdfp.c, gdevpsdp.c)

Platforms

Fixes problems: - The DLL code "knew" it could only be compiled on Windows and OS/2 platforms. (gsdll.c) Removes a Mac-specific file that is now moved to the Mac-specific archive. (gsdllmac.h [deleted])

Interpreter (PDF)

Fixes problems: - An invalidaccess could occur when repositioning the file after executing an image XObject. (lib/pdf_draw.ps) - Indexed color spaces gave an error if the underlying space was represented as a name rather than an array. (bug introduced in 5.80) (lib/pdf_draw.ps)

Interpreter

Fixes problems: - The interpreter reentrancy changes broke the GNU readline interface. (gp_gnrdl.c, ziodev.c) - The TrappingType resource category wasn't defined. (lib/gs_res.ps, lib/gs_trap.ps) - CIE color spaces in shading patterns didn't work. (lib/gs_ll3.ps) - Printing a string of more than 200 characters with == was broken. Fixing this required a NON-BACKWARD-COMPATIBLE change in the argument list of obj_cvp. (bug introduced in 5.80) (iutil.h, gp_gnrdl.c, idebug.c, iutil.c, zfileio.c) Changes the interpreter trace output to be somewhat more readable. (interp.c) Makes the linking of the binary token scanning procedure static rather than dynamic. (int.mak, inobtokn.c, iscan.c, zbseq.c) Makes the language level a property of the context, eliminating a writable static. (icstate.h, idparam.h, ilevel.h, icontext.c, idparam.c, iinit.c, interp.c, zcontext.c, zmisc2.c) Updates clients for the change in dict_uid_param. (zbfont.c, zfcmap.c, zpcolor.c, zshade.c)

Library

Fixes problems: - There was a signed/unsigned char * mismatch. (sfxfd.c) - Some very picky compilers complained inappropriately about a const/non-const mismatch. (gxcht.c) - The format of the string freelists didn't allow chunks with more than 64K bytes of string area. (gxalloc.h, gsnogc.c) Moves the interface definitions for the memory dump debugging code into a header file. (gxalloc.h, gsalloc.c) Makes the standard memory manager recognize more effectively when it can reset the high-water mark for occupied space in the current chunk. This turns out to make a big difference in preventing sandbars. (gxalloc.h, gsalloc.c) Makes clipping lists keep track of their minimum and maximum X values, so that they can return accurate outer clipping boxes, which in turn allows more effective pre-clipping of filled regions. (gxcpath.h, gxacpath.c, gxclip.c, gxcpath.c) Makes clipping devices cache their clipping box, so they can return it quickly. (gxcpath.h, gxclip.c) Makes the colored halftone logic check bounding boxes before running the expensive algorithms. This improves performance dramatically for some files without costing much for the rest. (gxcht.c) Adds some more debugging printout for clipping lists. (gxcpath.c) Cleans up formatting and macros. (gdevdflt.c, gdevhit.c, gdevnfwd.c) Factors out some common parameter-putting utilities. (gsparamx.h, gsparamx.c, gstrap.c) Adds some more tracing output for images. (gxidata.c)

Version 5.81 (tester) (4/14/99)

This fileset cleans up most of the bug tail from 5.80, but it doesn't fix all the reported problems. It also factors out the platform-specific DLL calls, and extends the DLL API to the Mac.

Incompatible changes

(Platforms) - gsdll_get_bitmap is now defined in gsdllos2.h; gsdll_copy_dib, _copy_palette, _draw, and _get_bitmap_row are now defined in gsdllwin.h. (Interpreter) - zcolor_remap_one may return 0 rather than o_push_estack. (This change actually occurred in 5.80, but was not documented.) (Library) - The initialized parameters of an image scaling filter are now stored in a subsidiary structure. - The names max_support and log2_max_support are changed to MAX_ISCALE_SUPPORT and LOG2_MAX_ISCALE_SUPPORT. - The structure definition for the smoothed image scaling filter is now private, although its descriptor remains public. - The criteria for when to use Interpolate are now more stringent.

Procedures

Fixes problems: - gs_trap.ps wasn't installed by `make install'. (unixinst.mak) - A semicolon was missing in one definition of GS_LIB_DEFAULT. (watc.mak) - ll.tr and _temp_.tr weren't created in the obj directory. (watc.mak, wctail.mak) - RM_ was defined incorrectly on one platform. (wccommon.mak)

Utilities

Makes some minor edits in ansi2knr, contributed by a user, to remove gcc warnings. (ansi2knr.c)

Drivers

Fixes problems: - There was an int/uint mismatch. (gdevbmpa.c) - There was a const/non-const mismatch. (gdevbmpa.c) Changes the p*m drivers so that they use the default color mapper when possible, speeding up execution. (gdevpbm.c)

Fonts

Adds Black as indicating that a bold font should be substituted if necessary. (lib/gs_fonts.ps)

Platforms

Fixes problems: - The Watcom NT compiler implements setmode and fileno but not _setmode and _fileno. (gp_ntfs.c) - The procedure parameter passed to the Windows _beginthread procedure had the wrong prototype. (gp_win32.c) - Watcom's _beginthread procedure takes an extra argument. (windows_.h, gp_win32.c) Extends the DLL API to work on the Mac. This required some restructuring of the code, and some NON-BACKWARD-COMPATIBLE changes to move environment-specific calls into environment-specific header files. (pcwin.mak, os2.mak, winint.mak, dwdll.h, gsdll.h, gsdllmac.h, gsdllos2.h, gsdllwin.h, dpmainc.c, dwdll.cpp, dwnodll.cpp, gdevmswn.c, gdevpm.c, gdevwdib.c, gsdll.c)

Interpreter (PDF)

Changes the interpreter to handle two more specification-violating conditions that Adobe Acrobat accepts: truncation of %%EOF to %%EO, and use of Dest links with no Dests dictionary. (lib/pdf_main.ps)

Interpreter

Fixes problems: - gcc failed to flag initialization of an automatic aggregate, which is allowed in neither ANSI nor traditional C. (iutil.c) - The system name table lacked the last 3 entries. (lib/gs_btokn.ps) - Interpolated images always wound up at (0, 0). (bug introduced in 5.80) (gxipixel.c) - The Watcom compiler didn't consider "const uint" and "const unsigned" to be compatible. (ifunc.h) - The code to detect identity transfer functions could cause transfer functions not to be processed at all. (icolor.h, zcolor.c, zcolor1.c, zht2.c) - The Level 2 redefinition of restore could do an extra grestore, possibly creating a temporary reference to a freed object. (zdevice2.c) Adds more tracing for undo-saves, and changes a macro to a procedure. (isave.c) Removes some #define'd casts. (isave.c)

Library

Fixes problems: - When banding, the color space wasn't reinitialized for each page. (gxclist.c) - The criterion for allowing image interpolation still produced "mush" for some important classes of image. (gxiscale.c) - The Watcom compiler didn't consider "const uint" and "const unsigned" to be compatible. (gscdefs.h, gconf.c) - Identity black generation and undercolor removal functions weren't passed through the band list correctly. (gxcldev.h, gxclbits.c, gxclrast.c) - Once again, gcc failed to give a warning for extern followed by private. (gxcdevn.h) - glyphshow set up the text operation in a way that created a garbage collector error. (gschar.c) Makes gs_opendevice complete the device procedure vector if the device wasn't already open. (gsdevice.c) Factors out the image scaling filter so that we can use either Adobe's algorithm or the Mitchell filter. This involves a NON-BACKWARD-COMPATIBLE CHANGE in the way the filter parameters are defined. (gximage.h, siscale.h, sisparam.h, gxclimag.c, gxidata.c, gxiscale.c, siscale.c) Makes the criteria for when to use interpolation stricter, since we are still using the Mitchell filter. (gxiscale.c) Starts to implement Adobe's image interpolation algorithm. (siinterp.h, siinterp.c, gxiscale.c) Speeds up RGB interpolated images by detecting runs of output color. (gxiscale.c) Makes the default RGB color mapper a "known" mapper that can be propagated through device pipelines. (gxdevice.h, gsdevice.c)

Version 5.80 (tester) (4/6/99)

This version contains the first, and, we hope, largest wave of changes in the interpreter required to make the interpreter fully reentrant. Unfortunately, many externally visible APIs, including the argument list for operator procedures, required changes. Because of the magnitude of the change, we incremented the version number to 5.80. The non-backward-compatible API changes were confined to the interpreter: the (very minor) changes to the library required to support interpreter reentrancy are fully backward-compatible. This fileset also implements DeviceN color spaces (always using the alternate space), including Indexed spaces over DeviceN spaces, for all uses except smooth shading.

Incompatible changes

(Interpreter) - names_init now takes a gs_ref_memory_t * rather than a gs_memory_t *. - type_print_strings, type_name_strings, and ref_type_properties_data are now REF_TYPE_DEBUG_PRINT_STRINGS, REF_TYPE_NAME_STRINGS, and REF_TYPE_PROPERTIES_DATA. - The undocumented .writecvp operator, and obj_cvp, now take an integer instead of a Boolean to define the type of output desired. - The argument list for operators is changed from os_ptr to i_ctx_t *. Many internal interpreter APIs have changed. - The typedef name for operator procedures is changed from op_proc_p to op_proc_t. - gs_interpret now takes an additional context (i_ctx_t **) argument. - The interpreter's rescheduling and time-slicing procedures, gs_interp_reschedule_proc and gs_interp_time_slice_proc, now take a context (i_ctx_t **) argument. - The Type 1 interpreter push_value callback is renamed push_values; the first argument of push_values and pop_value has changed from gs_font_type1 * to void *. - dict_put*, dict_copy*, dict_undef, dict_resize, dict_grow, and dict_unpack now take an additional argument, a dictionary stack where the dictionary may be present.

Procedures

Fixes problems: - The dependency list for the (dummy) trapping feature was wrong. (int.mak) - The directory for jerror_.h was incorrect. (jpeg.mak) Removes the never-used -header switch from genconf. (genconf.c) Adds priority-sorted resources to genconf, currently used only for image classes. (genconf.c) Adds an imageclass resource to genconf, for what used to be called image strategies. (genconf.c)

Utilities

Fixes problems: - ansi2knr didn't recognize id1(id2, xxxxx) as not being a function. (ansi2knr.c) - viewpcx still referred to the deleted PCXDecode filter. (lib/viewpcx.ps) - strlen was called without being declared. (genarch.c)

Drivers

Fixes problems: - Some drivers that called gdev_prn_open_printer didn't check the return code for errors. (gdevdjet.c, gdevhl7x.c) - The cljet5 driver didn't handle long-edge feed properly. (from Artifex) (gdevclj.c) - The [e]pswrite driver could produce incorrect output if the input file had zero-length lines. (gdevps.c) - The X driver didn't handle byte-swapped 16-bit displays. (gdevx.c) - There was an int/uint mismatch. (gdevbmp.c) - Some needed headers weren't included. (gdevdcrd.c, gdevpdfo.c) - The updated mswinpr2 driver wouldn't compile with older Windows header files. (gdevwpr2.c) Removes some unnecessary #includes. (gdevps.c) Adds user-contributed drivers for the CoStar LabelWriter II Plus and XL label printers. (gdevcslw.c) Speeds up color mapping for the bitrgb driver a little, by using the default procedure. (gdevbit.c)

Fonts

Fixes problems: - TrueType fonts with odd-length glyf definitions caused an invalidfont error. (lib/gs_ttf.ps) Changes the font substitution mechanism slightly to be more useful to the PDF interpreter. (lib/gs_fonts.ps)

Platforms

Fixes problems: - Some needed headers weren't included. (watc.mak, watclib.mak, winlib.mak, gp_win32.c)

Interpreter

Fixes problems: - There were many signed/unsigned char type errors that gcc didn't catch. (gp_gnrdl.c) - The operator definition list for zdouble was too long. (int.mak, zdouble.c) Removes some unnecessary #includes. (zchar.c) Speeds up names_string_ref. (inamedef.h, inames.h, imain.c, iname.c) Speeds up reading string/name array parameters. (iparam.c) Refactors the implementation of ==, so that all types other than arrays and dictionaries are handled in C code. (lib/gs_init.ps, iutil.h, iref.h, gp_gnrdl.c, idebug.c, iutil.c, zfileio.c, ztype.c) Changes the type name for operator procedures from op_proc_p to op_proc_t, for consistency and also to help detect places that need the argument list changed. (ichar.h, interp.h, iref.h, opdef.h, interp.c, iutil.c, zchar.c, zcharx.c, zcontrol.c, zupath.c) Changes the argument type for operators from os_ptr to i_ctx_t *. (i_ctx_t is an alias for gs_context_state_t.) This also requires adding a context pointer to many internal procedures, or changing an os_ptr argument to i_ctx_t *. This is a MASSIVE NON-BACKWARD-COMPATIBLE change which we simply saw no way to avoid if the interpreter was to be made fully re-entrant. See "Incompatible changes" above for externally visible changes. (lib/gs_init.ps, bfont.h, btoken.h, dstack.h, estack.h, files.h, ichar.h, ichar1.h, icharout.h, icie.h, icolor.h, icontext.h, icsmap.h, ifilter.h, ifont1.h, igstate.h, iht.h, iimage.h, iimage2.h, imain.h, imemory.h, interp.h, ipacked.h, iref.h, iscan.h, istream.h, opdef.h, oper.h, opextern.h, ostack.h, ialloc.c, icontext.c, iinit.c, imain.c, inouparm.c, interp.c, ireclaim.c, iscan.c, iscanbin.c, zarith.c, zarray.c, zbfont.c, zbseq.c, zcfont.c, zchar.c, zchar1.c, zchar2.c, zchar32.c, zchar42.c, zcharout.c, zcharx.c, zcid.c, zcie.c, zcolor.c, zcolor1.c, zcolor2.c, zcontext.c, zcontrol.c, zcrd.c, zcsdevn.c, zcsindex.c, zcspixel.c, zcssepr.c, zdevice.c, zdevice2.c, zdict.c, zdosio.c, zdouble.c, zdpnext.c, zdps.c, zdps1.c, zfbcp.c, zfcmap.c, zfdctd.c, zfdcte.c, zfdecode.c, zfile.c, zfileio.c, zfilter.c, zfilter2.c, zfilterx.c, zfont.c, zfont0.c, zfont1.c, zfont2.c, zfont32.c, zfont42.c, zfproc.c, zfreuse.c, zfunc.c, zfzlib.c, zgeneric.c, zgstate.c, zhsb.c, zht.c, zht1.c, zht2.c, zimage.c, zimage2.c, zimage3.c, ziodev.c, ziodev2.c, zmath.c, zmatrix.c, zmedia2.c, zmisc.c, zmisc1.c, zmisc2.c, zmisc3.c, zpacked.c, zpaint.c, zpath.c, zpath1.c, zpcolor.c, zrelbit.c, zrop.c, zshade.c, zstack.c, zstring.c, zsysvm.c, ztoken.c, ztrap.c, ztype.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c) Changes caching for the interpreter's CIE color spaces so that instead of changing the color space installation procedure to one that schedules the sampling of the procedures though a back door, it leaves the installation procedure alone and schedules the sampling in the color-space-specific setcolorspace operator. This is needed for interpreter reentrancy. (icie.h, zcie.c, zcrd.c) Makes the linkage from the dictionary machinery to the cached values in the dictionary stack and the name table explicit, by adding a dstack pointer to all the relevant dict_* procedures. This is needed for interpreter reentrancy. (iddstack.h, idict.h, idstack.h, idict.c) Updates clients for the change in the dictionary API. For each changed dict_ procedure, we add an idict_ procedure that uses i_ctx_p->dict_stack as the additional argument. (iddict.h, icontext.c, iinit.c, interp.c, iparam.c, iscanbin.c, zdps.c, zfcmap.c, zdict.c, zfont.c, zfont0.c, zgeneric.c, zht2.c, zmisc2.c) Changes Pattern color remapping so that it saves information in the interpreter's part of the graphics state, rather than manipulating the e-stack directly. This is needed for interpreter reentrancy. (errors.h, icremap.h, igstate.h, interp.c, zgstate.c, zpcolor.c) Adds to the "main instance" structure a pointer to the currently executing context. This is needed for interpreter reentrancy. (imain.h, iminst.h, main.h, imain.c, imainarg.c) Changes the argument list for operator initialization procedures from void to i_ctx_t *. (opdef.h, ireclaim.c, zbfont.c, zbseq.c, zcontext.c, zfile.c, zfont.c, zpcolor.c) Changes the initialization of the interpreter's allocators so it doesn't presume the allocator structure is global. (ialloc.h, ialloc.c, imain.c) Factors out the structure definition of the stacks, which is needed for defining the state of a context, from the API, which is only needed by actual clients. (icstate.h, idsdata.h, idstack.h, iesdata.h, iestack.h, iosdata.h, iostack.h, isdata.h, istack.h) Changes filter error reporting so that the report_error procedure doesn't need access to the interpreter. (interp.h, interp.c, zfile.c, zfileio.c) Completes the implementation of DeviceN color spaces at the interpreter level. (lib/gs_res.ps, lib/gs_lev2.ps, lib/gs_ll3.ps, icsmap.h, zcsdevn.c, zcsindex.c, zcssepr.c, zimage.c) Speeds up color mapping for identity transfer, BG, or UCR functions. (zcolor.c)

Interpreter (PDF)

Fixes problems: - The L range for Lab color spaces was wrong. (lib/pdf_draw.ps) - Images in Lab color spaces came out all black. (lib/pdf_draw.ps) Improves the font substitution mechanism slightly. (lib/pdf_font.ps)

Streams

Adds an error string to the stream state structure, which stream implementations can set when returning an error. The motivation is to allow the PostScript interpreter to put this into $error.errorinfo. (scommon.h, stream.c)

Library

Fixes problems: - The S_ISCHR fix in 5.73 had a typo. (stat_.h) - The garbage collector traced dash pattern pointers even if the pattern had no elements. (gzline.h, gsistate.c) - Always tracing the clip_path element of gx_device_clist for garbage collection could cause crashes, because this pointer could be stale. However, we have to trace this pointer if an image is being processed. (gxclist.c) - A close-brace was positioned incorrectly. (No effect on the working of the code.) (gximage3.c) - Some macros caused some compilers to complain about functions that didn't return values. (gsmemlok.c) - A procedure vector wasn't declared const. (gsmemlok.c) - Some needed headers weren't included. (gscrdp.c) - A const pointer was being treated as non-const. (gxcpath.c) - The algorithm for choosing halftone cell dimensions required an unreasonably close angle tolerance (0.01 degrees, rather than 1% of a 90-degree possible difference). (gshtscr.c) Speeds up arcs a little more. (gspath1.c) Removes some unnecessary #includes. (gxclpath.h, gxcpath.h, gzcpath.h, gxccman.c, gxclip.c, gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c, gxiscale.c, gxpcmap.c) Cleans up some formatting. (gxpath.c) Re-enables image interpolation for images that have at least 8 bits of input data per pixel. This is still a compromise.... (gxiscale.c) Enhances the default implementation of parameter lists so that a C parameter list can forward unrecognized param_read calls to another parameter list. This allows constructing incrementally modified parameter lists for internal purposes. (gsparam.h, gscparam.c) Changes the first argument of the Type 1 charstring interpreter push_value (which is renamed push_values) and pop_value callbacks from the font pointer to an arbitrary pointer passed in to the interpreter. This is needed for PostScript interpreter reentrancy. (gstype1.h, gxfont1.h, gxtype1.h, gstype1.c, gxtype1.c) Adds an allocator wrapper that calls a closure to attempt to free up memory if an allocation fails. This is used for asynchronous operation (waiting for the page queue to empty) and operation with an optional disk for the band list. (gsmemret.h, gsmemret.c) Adds the retrying wrapper to the malloc allocator. (gsmalloc.c) Makes "async" printer devices use the retrying wrapper. (gdevprna.c) Makes clist_fill_parallelogram recognize rectangles. This makes a big difference for images rotated 90 degrees. (gsrect.h, gdevddrw.c, gxclpath.c) Arranges to construct the list of image classes (formerly called strategies) statically rather than dynamically. (lib.mak, gscdefs.h, gxiclass.h, gximage.h, gconf.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c, gxipixel.c, gxiscale.c) Implements Indexed color spaces for high-level image banding. (gxclist.h, gxclpath.h, gxclimag.c, gxclrast.c) Arranges to construct the blank bitmap for colored patterns statically rather than dynamically. (gsbitmap.h, gxbitmap.h, gxcht.c) Changes FORCE_STRIP_HALFTONES from a #define to a static Boolean. (gshtscr.c) Implements alternate-space DeviceN color spaces. (gscspace.h, gxcdevn.h, gscdevn.c) Implements DeviceN color spaces for images. (gximage.h, gsimage.c, gxi12bit.c, gxicolor.c, gxidata.c, gximage3.c, gximono.c, gxipixel.c) Speeds up color mapping a bit. (gxfmap.h, gsdevice.c, gsstate.c, gxclbits.c, gxclrast.c, gxcmap.c)

Version 5.73 (tester) (3/19/99)

This fileset fixes a few bugs and adds a couple of minor performance improvements. Its purpose is to fix a fairly serious memory management bug and a Microsoft-platform compilation problem, both introduced in 5.72.

Incompatible changes

(Library) - Removes the restriction on device registration that was introduced in 5.72. - gx_[c]path_scale_exp2 are replaced by gx_[c]path_scale_exp2_shared.

Documentation

Identifies GNU readline support as user-contributed, and adds the author's name. (int.mak, unix-gcc.mak, gp_gnrdl.c) Notes that an edit is required for GNU readline for AIX. (doc/Make.htm) Changes the bug reporting e-mail address to bug-gs@aladdin.com. (doc/Bug-form.htm, doc/New-user.htm, doc/Use.htm, imainarg.c)

Procedures

Adds FEATURE_DEVS_EXTRA and DEVICE_DEVS_EXTRA, reserved for setting from the command line. (gs.mak)

Drivers

Fixes problems: - A needed cast was missing. (gdevx.c)

Interpreter

Fixes problems: - A needed cast was missing. (zfname.c) - The CFF loader didn't handle empty subsections correctly. (lib/gs_cff.ps) - GNU readline gave an error, rather than expanding the input buffer, when called in response to %lineedit. (files.h, zfileio.c, ziodev.c) - GNU readline wasn't always initialized, causing a crash when an attempt was made to shut it down. (iminst.h, imain.c) Adds more tracing to the CFF loader. (lib/gs_cff.ps) Adds some deconstifying casts to compensate for broken headers in the GNU readline package. (gp_gnrdl.c)

Library

Fixes problems: - The bounding box device didn't ignore filling paths consisting only of a moveto. (gdevbbox.c) - Some systems have S_IFCHR but not S_ISCHR. (stat_.h) - The clipping list accumulator didn't merge single rectangles correctly. (gxacpath.c) - The clipping list accumulator wasn't aggressive enough about merging rectangles. (Performance effect only.) (gxacpath.c) - The page wasn't cleared when installing a new device. (bug introduced in 5.72) (gsdevice.c) - With graphics anti-aliasing enabled, executing clip or eoclip followed by fill or stroke produced incorrect output. (bug introduced between 5.10 and 5.50) (gxpath.h, gspaint.c, gxcpath.c, gxpath2.c) - The garbage collector could crash if any banded devices were active. (bug introduced in 5.72) (gdevprn.c) Changes memory management for device instances to allocate the structure type objects dynamically. This gets rid of a static, and also gets rid of the requirement that device prototypes be registered, at the expense of an extra copy of the (small) structure type object per instance of certain devices. (gscdefs.h, gxdevcli.h, gxdevice.h, gconf.c, gsdevice.c) Disables image interpolation for all high-resolution images, not just black-and-white, since this produces better-looking output. (gxiscale.c) Speeds up path bounding box computation a little. (gxpath2.c) Speeds up clipping a little. (gxclip.c) Cleans up formatting a bit. (gxacpath.c) Adds support for libpng version 1.0.3, but (for now) updates only the OpenVMS and Unix makefiles to use it. (libpng.mak, openvms.mak, openvms.mmk, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak) Attempts to work around picky compilers that don't allow assigning T[M][N] to const T[M][N]. (gxcht.c)

Version 5.72 (tester) (3/17/99)

This fileset finally gets rid of the need to have jpeg, libpng, or zlib source code on Unix systems that already have these libraries available. It also starts to add support for general DeviceN color spaces. Works in progress: - Fix Fontmap -> Fontmap.GS link, which VMS can't handle. - Make x11alpha do real alpha blending. - spdiff.c is unfinished, partly wrong. - DeviceN support is in progress. In gxcht.c, set_ht_colors_le_4 and set_color_ht_gt_4 don't have any way to color-map >4 planes.

Incompatible changes

(Interpreter) - The str argument of arg_push_memory_string is no longer const. - The last argument of print_reloc is now const. (Library) - Clients should never call the device open_device or close_device procedure directly: they should call gs_opendevice or gs_closedevice. - The fn_free_functions procedure has been made private. - The first argument of gs_currentpoint is no longer const. - References to header files in the third-party libraries must now include a trailing _, i.e.: jerror_.h jmorecf_.h jpeglib_.h png_.h zconf_.h - IJG JPEG library versions before v5a are no longer supported. - ilog2 replaces small_exact_log2. - Support for "outside" clipping has been removed. - Clients that define their own devices now must either register them in the makefile (using the SET[P]DEV[2] macros) or set the stype pointer in the static prototype to the correct structure type (or at least a structure type with the correct procedures).

Documentation

Clarifies the fact that clients should never call the device open_device or close_device procedure directly. (doc/Drivers.htm) Updates contact information for Artifex Software. (doc/Commprod.htm, doc/New-user.htm) Clarifies the fact that Aladdin did not write gdevcdj.c. (gdevcdj.c) Documents the new -TTYPAUSE switch. (doc/Use.htm) Adds SCO OpenServer 5.0.5 to the list of systems where Ghostscript is known to build. (doc/Make.htm) Notes that the MIPSpro 7.2.1.3m compiler produces incorrect output. (doc/Make.htm)

Procedures

Fixes problems: - The Unix install directory ($(gsdatadir)) and the Unix default search path ($(gsdatadir)/lib) weren't compatible. (bug introduced since 5.50) (unixinst.mak) - The compilation rule for echogs omitted a dependency and also failed to specify a directory for header files. (unix-aux.mak) - Third-party library source code was required even if the corresponding SHARE_xxx option was set to 1. (devs.mak, gs.mak, int.mak, lib.mak, jpeg.mak) Adds a -dTTYPAUSE switch to cause .confirm to read from /dev/tty instead of stdin, useful when the data input is a pipe. (lib/gs_init.ps)

Utilities

Fixes problems: - Some preprocessor macros were defined twice on VMS. (echogs.c) - traceop.ps didn't build operator-tracing procedures in global VM. (This didn't matter before we introduced local pseudo-operators.) (lib/traceop.ps) - geninit produced invalid output or hung if the input files didn't have the correct EOL representation for the platform. (geninit.c) Updates a (probably otherwise obsolete) file for the deletion of the private JPEG library error message table. (bughunt.sh)

Drivers

Fixes problems: - A procedure returning void tried to return a value. (gdevtfax.c) - For 24-bit displays, XGetImage can return an image in which bits_per_pixel is 32 rather than 24, which is not at all obvious from the documentation; also, the bit and byte ordering may not be MSBFirst. (gdevx.c) - XFree takes a char *, not a void *. (gdevx.c) - The fix in 5.71 to adjust the width of TIFF images introduced another bug. (gdevtfax.c) - If the X driver used a standard colormap, pixel values 255 and less didn't map back to RGB properly. (bug introduced in 5.71) (gdevxcmp.c) - The ForceMono addition to gdevbit.c (in 5.71) was incorrect. (gdevbit.c) - There was a const mismatch in an extern. (gdevxalt.c) - Third-party library source code was required even if the corresponding SHARE_xxx option was set to 1. Fixing this required referencing all third-party library header files through *_.h files. (gdevjpeg.c, gdevpdfi.c, gdevpng.c, gdevpsdi.c, gdevpsdp.c) - There was no way to cause the bounding box device to give up its reference to the target. (gdevbbox.h, gdevbbox.c) - pdfwrite crashed if given a 12-bit-per-sample CMYK image when ConvertCMYKImagesToRGB was true, and produced invalid output for other 12-bit-per-sample images (PDF limits bits-per-sample to 8). (gdevpsdi.c) - pdfwrite mangled planar images if bits-per-sample was other than 8. (bug introduced since 5.50) (gdevpdfi.c) Changes some code to reduce compiler warnings about casts discarding const. (gdevxalt.c) Removes a test that allowed referencing the statically allocated instance of the alternative X drivers. (gdevxalt.c) Changes a reference to small_exact_log2. (gdevsvga.c) Greatly improves the PDF writer's handling of simple pattern fills, by retaining them as pattern fills. (gdevpdfx.h, gdevpdf.c, gdevpdfi.c)

Fonts

Fixes problems: - Cn in a font name wasn't recognized as indicating a condensed font. (lib/gs_fonts.ps)

Interpreter

Fixes problems: - Third-party library source code was required even if the corresponding SHARE_xxx option was set to 1. Fixing this required referencing all third-party library header files through *_.h files. (zfdctd.c, zfdcte.c) - An /undefined error occurred on floating point numbers whose integer part exceeded the size of a long (normally 31 bits) and that also included a fraction. (iscannum.c) - ialloc.c included gxarith.h unnecessarily. (ialloc.c) When opening a terminal for reading, always sets the buffer size to 1. This does not apply to %stdin, %lineedit, or %statementedit. (zfile.c) Changes code to use the new deconstifying freeing procedures, to remove deconstifying casts. (gsargs.h, ialloc.h, gsargs.c, zfname.c, zfunc.c) Adds a writable packed ref pointer variant to ref.value, to remove compiler warnings about casts discarding const. (igc.h, iref.h, idict.c, igc.c, igcref.c) Changes the help printouts to use the new printf_program_ident procedure. (imainarg.c) Generalizes clients to handle color spaces that may have more than 4 components. (zcsdevn.c, zcsindex.c, zcssepr.c, zdpnext.c, zfdecode.c) Removes support for outside clipping, which we implemented only because we misinterpreted a requirement. (zpath.c)

Interpreter (PDF)

Fixes problems: - Selecting a colored Pattern color space caused an error. (lib/pdf_draw.ps, lib/pdf_ops.ps) - Reading data from a subfile with no filter caused an error. (lib/pdf_base.ps) Allows mask images to omit BitsPerComponent: Acrobat Reader accepts this even though the PDF specification requires it to be present (with value = 1). (lib/pdf_draw.ps)

Streams

Fixes problems: - The PixelDifference filters didn't propagate leftover bits in the last byte of a row. (bug probably introduced in 5.60) (spdiff.c) - The 1- and 2-bit-per-pixel PixelDifferenceEncode filters were broken. (spdiff.c) Changes code slightly to remove a warning about an uninitialized variable. (spdiff.c) Extends the PixelDifference filters to handle more than 4 Colors. s_PDiff_max_Colors is the maximum value. (spdiffx.h, spdiff.c) Adds a stream for converting 12-bit samples to 8-bit. (gdevpsds.h, gdevpsds.c) Gets rid of the no longer needed private copy of the JPEG error message table. (sdcte.c, sdeparam.c, sjpegerr.c [deleted], sjpegc.c)

Library

Fixes problems: - If a 1-bit-per-pixel image terminated early, the last few scan lines might not be written out. (gxidata.c) - The bbox device could leave its target in a half-open state, because it called the open/close_device procedures directly rather than going through gs_open/closedevice. We "fixed" this by making this device forward open and close, but conditionally, so that clients can choose. (gdevbbox.c) - Third-party library source code was required even if the corresponding SHARE_xxx option was set to 1. Fixing this required referencing all third-party library header files through *_.h files. (sdcparam.c, sdctc.c, sdctd.c, sddparam.c, sjpegc.c, sjpegd.c, sjpege.c, sjpegerr.c) - Low-memory recovery in the band list writer sometimes didn't work, because a test was backwards. (gxcldev.h, gxclist.c) - Executing a put_params during band rasterizing didn't update cached values in the imager state. This was probably not a problem in practice, since the only parameters that affect cached values (device color space, depth, and color mapping) were very rarely set. (gxclrast.c) - Converting 12-bit planar images to chunky format could store beyond the end of the output area and corrupt memory. (gsflip.h, gsflip.c) - The algorithms for converting 4-plane, 1- and 2-bit planar images to chunky format were wrong. (gsflip.c) - Images that lay entirely outside the page could cause a memory access error. (gxclimag.c) - The bbox device could return excessively conservative values for stroked paths. (gxpaint.h, gdevbbox.c, gxpaint.c, gxstroke.c) - Banding devices now include some pointers that the garbage collector must trace. (gdevprn.h, gxclist.h, gxdevice.h, gdevprn.c, gsdevice.c, gxclist.c) Adds a gs_opendevice procedure to mirror gs_closedevice. (gsdevice.h, gsdevice.c) Adds deconstifying freeing procedures to the memory manager. This allows us to have pointers as structure members that should be const * for all ordinary clients, and still be able to free the referenced objects without a compiler warning. (gsmemory.h, gsmemory.c) Changes code, often to use the new deconstifying freeing procedures, to remove deconstifying casts. (gspath.h, gxfunc.h, gsfunc.c, gsfunc0.c, gsfunc3.c, gspath.c, gsptype1.c) Changes the eprintf macros so they print the version as well as the program name. (std.h, gscdef.c, gsmisc.c) Adds procedures that update cached values in graphics or imager states after setting device parameters. Clients should use these when setting parameters of devices that may be current in graphics or imager states. Note that this is only a partial solution for a much deeper problem, and may even have to be replaced at some point. (gsdevice.h, gsdevice.c) Defines GS_CLIENT_COLOR_MAX_COMPONENTS (in gsccolor.h), GX_DEVICE_COLOR_MAX_COMPONENTS (in gxcindex.h), and GS_IMAGE_MAX_COMPONENTS, and starts to use them where needed, in anticipation of implementing DeviceN color spaces. (gsccolor.h, gsdcolor.h, gsiparam.h, gsiparm4.h, gxcindex.h, gxctable.h, gximage.h, gxshade.h, gdevplnx.c, gscdevn.c, gscolor2.c, gxcht.c, gxclimag.c, gxcmap.c, gxicolor.c, gxctable.c, gxi12bit.c) Replaces small_exact_log2 by a procedure ilog2 that computes floor(log2(n)). (gxarith.h, gsmisc.c, gspaint.c, gxccman.c, gxclimag.c, gxclrect.c) Upgrades gsflip.c to handle >4 planes. (gsbitops.h, gsflip.h, gsflip.c) Speeds up getting and testing memory device prototypes a little. (gdevmem.c) Speeds up adding arcs to a path a little. (gspath1.c) Increases the precision of a precomputed constant from float to double. (gxpath.h) Adds a new band list operation to make circles smaller and faster. (gxclpath.h, gxclpath.c, gxclrast.c) Adds an accessor procedure for the start point of the current subpath. (gxpath.h, gxpath2.c) Removes support for outside clipping, which we implemented only because we misinterpreted a requirement. (gspath.h, gxcldev.h, gxcpath.h, gxpath.h, gspath.c, gxacpath.c, gxclip.c, gxclpath.c, gxclrast.c, gxcpath.c) Changes gs_copydevice to require that static prototypes either be registered in gx_device_list or have a correct stype pointer. (This is already the case for all devices in code we distribute.) (gsdevice.c) Adds ENUM_PTRS_PROC and RELOC_PTRS_PROC macros for giving a name to the typed pointer to the object being processed. (gsstruct.h)

Version 5.71 (tester) (3/3/99)

This fileset reinstates support for TrueColor X displays, and adds optional support for GNU readline. It also includes a little more work on the new driver text API.

Incompatible changes

(Library) - The *line_accum* macros are now capitalized; declare_line_accum is renamed DECLARE_LINE_ACCUM_COPY, and DECLARE_LINE_ACCUM is new.

Documentation

Documents the CIE joint cache invariant more accurately. (gscie.h) Adds a request for xdpyinfo/xwininfo output to the problem reporting form. (doc/Bug-form.htm)

Procedures

Fixes problems: - The default search path was missing the lib subdirectory on many platforms. (dvx-gcc.mak, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watclib.mak, watcw32.mak) - The dependency list for the X Windows drivers was incorrect, sometimes causing needed recompilation to be omitted. (devs.mak)

Utilities

Fixes problems: - The representation of maximum unsigned values produced warnings on some compilers (specifically, gcc with -Wtraditional). (genarch.c) - Some string variables weren't declared const. (echogs.c, genarch.c) - The viewpbm utility was broken for pgm and ppm (but not pbm). (bug introduced in 5.66) (lib/viewpbm.ps)

Drivers

Fixes problems: - The X driver didn't handle TrueColor displays properly. (gdevxcmp.h, gdevxcmp.c) - The alternative X drivers didn't implement get_bits properly. (gdevxalt.c) - The X driver specified the byte order incorrectly for displays with more than 8 bits per pixel. (gdevx.c) - The X driver used the wrong number of bits for comparing colors on visuals with fixed color maps. (gdevxcmp.h, gdevxcmp.c) - Some symbols were multiply defined with -DNOPRIVATE. (gdevbit.c) - If a file specified a paper size, rather than using the default, the G3/G4 fax output drivers didn't adjust the width to a legal one for fax systems. (gdevtfax.c) Segregates the resource lists, for which warnings about casting of const to non-const string types should be suppressed, into a separate file. (devs.mak, gdevx.h, gdevxini.c, gdevxres.c) Splits off the code related to color mapping for X Windows, for greater understandability. (devs.mak, gdevx.h, gdevxcmp.h, gdevx.c, gdevxcmp.c, gdevxini.c) Changes code slightly to remove warnings about signed/unsigned integer constants. (gdevxalt.c) Changes code to remove unused variables. (gdevx.c, gdevxalt.c) Adds a user-contributed driver for the H-P LaserJet 4D. (devs.mak, gdevdjet.c) Makes the bitcmyk driver reset its map_cmyk_color procedure dynamically according to the depth, allowing more efficient execution in the 1- and 8-bit cases. (gdevbit.c) Adds a settable option, AdjustWidth, to control whether the fax-format drivers (faxg*, tiffcrle, tiffg*) adjust the page width to legal fax values. Its default value is 1 (do adjust). (devs.mak, gdevtfax.c) Adds a ForceMono parameter to the bitcmyk/bitrgb devices to implement a special monochrome-in-CMYK mode requested by a customer. (gdevbit.c) Removes the TRIM_ and EXPAND_BITS_TO_BYTES options from the bit devices, since they are no longer needed. (gdevbit.c)

Fonts

Changes the substitution mechanism for condensed / narrow fonts, so that the PDF interpreter can use it. (lib/gs_fonts.ps)

Interpreter

Fixes problems: - The bind operator generated unaligned accesses and might not operate reliably. (bug introduced in 5.70) (zmisc.c) - If the BuildChar procedure of a font included an image or imagemask operator, charpath would (incorrectly) display the character. (zimage.c) Adds a bogus return statement to suppress a compiler warning. (gs.c) Changes code slightly to remove warnings about signed/unsigned integer constants. (store.h, ibnum.c) Changes the build date format to %d-%02d-%02d. (lib/gs_init.ps, imainarg.c) Rearranges some code to add readline support. (files.h, imain.c, zfileio.c, ziodev.c) Adds support for GNU readline, with several completion keys, contributed by a user. (int.mak, gs_rdlin.ps, gp_gnrdl.c) Changes the font substitution machinery slightly so the PDF interpreter can use it. (lib/gs_fonts.ps)

Interpreter (PDF)

Fixes problems: - In-line images caused a syntaxerror or stackunderflow. (lib/pdf_draw.ps) - The font substitution mechanism didn't detect Condensed fonts. (lib/pdf_font.ps) - The font substitution mechanism didn't use the intelligent algorithm used for PostScript files. (lib/pdf_font.ps) Prints a message when substituting for a font on the basis of its descriptor. (lib/pdf_font.ps)

Streams

Adds an interface and default implementation for readline. (srdline.h, stream.h, stream.c)

Library

Fixes problems: - A void procedure attempted to return a value. (stream.c) - A pointer was declared with an extra *. (gsmemory.c) - An argument would be stringified with traditional C. (gdevdbit.c) - The check for validity of the CIE joint caches was wrong, leading to incorrect output in some obscure cases. (gsciemap.c) - A tiny rounding inaccuracy could cause an occasional blank line when rendering adjacent images. (gxipixel.c) - Some symbols were multiply defined with -DNOPRIVATE. (gsptype2.h) - If a character was too large to be cached, it didn't use anti-aliasing, even if TextAlphaBits was >1. (gspaint.c) Changes code slightly to remove warnings about signed/unsigned integer constants. (gsccode.h, gsmisc.c, gxcht.c) Changes code to remove a warning about an unhandled case in a switch. (gsstruct.h, gsmemory.c) Changes code to remove unused variables. (gxcindex.h, gdevdbit.c, gdevprn.c, gxiscale.c) Restructures the header files for the new text API, adding the SINGLE options in text_params, enough new elements in text_enum to store all the arguments of text_begin, and new elements in text_enum to hold results returned by text_process. This code is no longer "subject to [arbitrary] change without notice", although it is still not very stable. (gstext.h, gxtext.h, gstext.c) Changes code to remove warnings about uninitialized variables. (gxipixel.c) Changes the syntactic form of some constants yet again to suppress a different set of compiler warnings. (gxsample.c) Adds a procedure to fix the charpath-in-BuildChar problem. (gsimage.h, gsimage.c, gsptype1.c) Speeds up the handling of certain RasterOp cases for CMYK devices. (gxdevice.h, gxdevmem.h, gdevdrop.c, gdevmem.c, gdevmr8n.c, gdevrops.c) Adds a platform-specific interface for reading lines from stdin. This is intended primarily to support GNU readline. (lib.mak, gp.h, gp_strdl.c)

Version 5.70 (internal) (2/20/99)

This fileset includes substantial changes to the interpreter in support of making it fully reentrant (eliminating writable globals).

Incompatible changes

(Interpreter) - The ref_stack structure has been renamed ref_stack_t, and has been changed substantially. Clients should now access all of its members, other than the pointers to the current block, through the macros or procedures defined in istack.h. The STACK_LOOP_{BEGIN,END} macros have been removed. - The argument of context_state_load is no longer const. - Each file's table of operator definitions is now limited to 16 entries. op_def_table[] no longer exists: use op_index_def() instead. - invalid_file_entry now has an associated VM space, avm_invalid_file_entry, that must be used in constructing invalid file refs. - restore will now undo binding of pseudo-operators. Attempting to bind a local pseudo-operator into a global procedure will cause an invalidaccess error.

Documentation

Updates the driver documentation a bit. It probably still includes a lot of out-of-date text. (doc/Drivers.htm) Improves the problem reporting form to make it absolutely clear that test data are required, and that the problem must be reproducible without using a viewer. (doc/Bug-form.htm) Documents the -dDOINTERPOLATE switch. (doc/Use.htm) Documents the difference between public and tester releases, in connection with making tester releases available to everyone. (doc/New-user.htm) Updates the list of history files. (doc/Readme.htm) Adds a questionnaire for people who want to be notified of new test releases. (doc/Readme.htm, doc/Tester.htm)

Procedures

Fixes problems: - A ! was missing before an include. (bcwin32.mak, msvc32.mak) - A trailing \ in some macro definitions was quoted incorrectly. (bcwin32.mak, msvc32.mak) - An editing error prevented a makefile from working. (bcwin32.mak) - The 16-bit spooler executable didn't reference its icon correctly. (gs16spl.rc) - The Watcom makefiles had gotten badly out of date. (watc.mak, watclib.mak, wccommon.mak) - Some DEVICE_DEVS lines were too long for the shell to handle. (openvms.mmk) - A space was missing before a colon. (openvms.mmk) Updates MSVC support to handle version 6. (msvc32.mak) Extends genconf to handle function types as well as image types, and changes the output for image types. (genconf.c) Desupports the use of CONFIG for selecting between multiple configurations, since parameterized output directories do this better. (bcwin32.mak, dvx-gcc.mak, gs.mak, int.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak, openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watclib.mak, watcw32.mak) Adds a -dDOINTERPOLATE switch to force Interpolate in all images. (lib/gs_init.ps)

Utilities

Rewrites viewpcx to eliminate dependence on a special filter. (lib/viewpcx.ps)

Drivers

Fixes problems: - The [e]pswrite and pdfwrite drivers wrote out clipping paths using the winding number rule even if the path had been set with eoclip. (gdevpdfd.c, gdevvec.c) - Some occurrences of ushort should have been gx_color_value. (gdevpbm.c) - A comment was accidentally left outside comment quotes. (gdev3852.c) - There was a char/byte mismatch not covered by a cast. (gdevdcrd.c) - There were still some references to the 'huge' keyword, which has been superseded by FAR. (gdevwdib.c) - Some obsolete references to which_colors hadn't been removed. (gdevwdib.c) - The [e]pswrite driver produced incorrect output for a curveto or closepath followed by a lineto and then a moveto. (gdevps.c) - The [e]pswrite driver could produce incorrect output for paths ending with a lineto. (gdevps.c) - The name paper_sizes was used both by a driver and by other code, causing a problem when building with -dNOPRIVATE. (gdevclj.c) Consolidates the X error handling statics into a structure. (gdevxini.c) Updates the pdfwrite driver to reflect the addition of state to the ASCII85Encode filter. (gdevpsdf.c) Adds a user-contributed driver for the Lexmark 5700 printer (black-and-white only). (contrib.mak, gdevlxm.c) Updates the mswinpr2 driver with a new, user-contributed one that includes interaction with the user. (gdevwpr2.c)

Fonts

Fixes problems: - When TrueType support was present, the FONTPATH scanner didn't recognize TrueType fonts whose 'type' was "true" rather than the documented <00 01 00 00>. (lib/gs_ttf.ps) - When DEBUG was set, loading a TrueType font could cause an /undefined error. (lib/gs_ttf.ps)

Interpreter

Fixes problems: - Local (pseudo-)operators could get bound into global procedures with 'bind', causing dangling references. Attempting this now causes an invalidaccess error. Fixing this also required making restore undo binding of pseudo-operators. (zmisc.c) - A harmless dictfull error occurring during language level switching caused an error. (zmisc2.c) - If given a closed input file, flushfile caused an error, rather than doing nothing. (zfileio.c) Renames the ref_stack structure as ref_stack_t, and factors it so that the parts set only at initialization are separated from the dynamic parts, in support of moving the stacks from static to dynamic storage. (icstate.h, idebug.h, idstack.h, iestack.h, iostack.h, iparam.h, iparray.h, istack.h, idebug.c, interp.c, iparam.c, istack.c, zcontext.c, zpacked.c, zvmem.c) Moves the dynamic part of the stacks in-line in the context structure; gets rid of the statically allocated stacks. (dstack.h, estack.h, icontext.h, icstate.h, idstack.h, iestack.h, interp.h, iostack.h, ostack.h, icontext.c, iinit.c, interp.c, zcontext.c) Packages the dictionary lookup statistics in a structure, like the other statistics. (idict.c) Changes from dynamic to static initialization of the function type table. (int.mak, ifunc.h, iconf.c, zfunc.c, zfunc0.c, zfunc3.c) Removes the PCXDecode filter. (zfilterx.c) Removes more writable statics. (int.mak, btoken.h, files.h, icstate.h, igstate.h, ipacked.h, iscan.h, icontext.c, imain.c, iscan.c, iscanbin.c, zbseq.c, zcolor2.c, zcontext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causing images to render more slowly than they should. (gzht.h, gxht.c) - There was a const mismatch between an argument and the formal parameter. (gdevprn.h, gdevprn.c, gxclread.c) - An error in the definition of st_imager_state_num_ptrs caused the garbage collector to omit marking one pointer in imager states, possibly causing memory corruption. (gxistate.h) - The bbox device, used with no target, didn't properly handle images where more data was provided than needed. (gdevbbox.c) Removes any pretense of supporting multiple threads in a single-threaded environment. Dummy synchronization primitives, however, are still provided. (gp_nsync.c) Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c, gxipixel.c) Changes the handling of image types, and adds similar handling for function types. (gscdefs.h, gconf.c) Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c) Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono operations. We could do the same for the other operations if we wanted. (gxclip.c) Identifies this fileset as a tester release. (gscdef.c)

Version 5.69 (internal) (2/4/99)

This incremental fileset fixes minor compilation problems, as well as many problems with driver-based CRDs (not used by PostScript or PDF).

Procedures

Fixes problems: - The OpenVMS makefile had not been updated properly to reflect the division of files into subdirectories. (openvms.mak) - A space was missing before a :. (devs.mak) - The MMK makefile had not been updated to reflect the renaming of the psm[raw] devices to pksm[raw]. (openvms.mmk) Changes the default name of the build directory for the library test program from debugobj to libobj, so that one can work with both library and interpreter builds without interference. (ugcclib.mak) Adds -fno-builtin to the gcc switches, to detect failure to declare functions like memcpy, at a small cost in performance. (ugcclib.mak, unix-gcc.mak)

Utilities

Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c) Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)

Drivers

Fixes problems: - The 32-bit CMYK "async" BMP driver was declared incorrectly as a non-async device. (gdevbmpa.c) - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c) - The PC frame buffer device still referred to _ss and near. (gdevpcfb.c) - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit offset correctly. (gdevps.c) - The pdfwrite driver wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevpdfd.c) - "Vector" drivers wrote all clipping paths with the winding number rule, even if they were established by eoclip. (gdevvec.c) Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c) Tweaks the sample driver-based CRD to make it a more realistic (closer to the PostScript default). (gdevdcrd.c) Adds the sample driver-based CRD to the modified X drivers. (devs.mak, gdevxalt.c)

Interpreter

Fixes problems: - Some #includes were missing, because gcc didn't warn about failures to declare certain standard functions. (zchar1.c) - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps) Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (igcref.c, zdevice.c) Adds the ability to set the orientation of zero-length "dots". (zgstate.c) Adds comments on an alternative shallow-binding design. (dstack.h) Changes the threshold for repeatedly rescanning change lists so that it is based on the cumulative amount of rescanning and not the amount in a single pass. (isave.c)

Streams

Changes some code because non-int switch expressions are not handled correctly in pre-ANSI C. (sfilter1.c)

Library

Fixes problems: - Some casts to (gx_device *) were missing. (gschar.c) - Some #includes were missing, because gcc doesn't warn about failures to declare certain standard functions. (gdevdgbr.c, gscie.c, gsmatrix.c, gxshade1.c) - gxclread.c now needs gdevprn.h to declare certain procedures. We tried very hard to make the command list machinery not depend on anything related to printer devices, but at this point we have not succeeded. (gxclread.c) - For CRDs set by library clients, the is_identity flags in the caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c, gscrd.c, gscrdp.c) - For CRDs set by library clients, the EncodeABC and RenderTable T procedures were sampled incorrectly. (gsciemap.c, gscrd.c) - The interpreter tried to sample the TransformPQR functions in the PostScript CRD even for driver CRDs. (gscie.h, gscie.c) - Library assistance was needed for the interpreter to support driver CRDs properly. (gscrdp.h, gscrdp.c) - The procedures that accessed cached CIE values didn't round the index, so accessing already-cached values could wipe out the cache. (gscie.c) - The procedure that accessed cached RenderTable.T values simply wasn't implemented. (gscrd.c) Adds an "if (1)" to a macro to suppress "statement not rn ntext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c, zpacked.c) Changes the representation of the operator table to avoid allocating a dynamic copy. This introduces a limit of 16 entries per definition set. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c, zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c) Includes the ASCII85Decode filter in all configurations, for simplicity. (iscan.c, zfdecode.c) Makes the invalid file reference point to a static object. (files.h, icontext.c, zfile.c, ziodev.c) Changes all dictfull error returns from the dictionary code to use return_error. This should have been done a long time ago! (idict.c) Increases the predefined size of systemdict a little more because .upp files may define a lot of new entries. (iinit.c) Adds a few more interpreter statistics. (interp.c)

Interpreter (PDF)

Fixes problems: - Images never closed the data stream, placing a heavy load on the garbage collector to clean up streams and stream states. (lib/pdf_draw.ps) - Streams stored on external files didn't work. (lib/pdf_base.ps) Reorganizes code slightly to allocate less memory for in-line images. (lib/pdf_draw.ps) Speeds up some common operations a little. (lib/pdf_base.ps)

Streams

Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted]) Changes the name of a variable for greater clarity. (stream.c) Splits off the ASCII85Decode filter into a separate file, since it turns out to be convenient to include it in all configurations. (sa85d.h, sa85x.h, sa85d.c, sfilter2.c) Makes an initialization entry point available for non-heap-allocated streams. (stream.h, stream.c) Changes the ASCII85Encode filter so it always produces lines of at most 80 characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, because this filter now needs a state structure, which it didn't before. (sa85x.h, sfilter2.c)

Library

Fixes problems: - Reference counting of graphics state elements was wrong when creating multiple contexts, causing memory corruption. (bug probably introduced in 5.68) (gsstate.c) - If CIE joint caches were created because the reference count of the existing caches was >1, the new caches weren't initialized correctly. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c) - If Margins are set so that part of the default clipping region lies outside the ((0,0),(width,height)) device coordinate space, the fast case of images could cause a memory access error. (gxifast.c) - In the case of a halftone with more bits than levels, gx_check_tile_cache could incorrectly return false, causin