2009-07-28T19:35:06.647161Z Ralph Giles

Update release version and date for 8.70rc1.

[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]

2009-07-28T19:30:52.619540Z Ralph Giles

Document the cat.ps utility.

[doc/Psfiles.htm]

2009-07-28T19:11:13.726309Z Ralph Giles

Add release notes for 8.70rc1.

[doc/News.htm]

2009-07-28T18:20:58.792176Z Alex Cherepanov

Change the operand types of encode_binary_token() to match the
the type of PostScript integers in the ref structure. Bug 690660.

[psi/iscanbin.c psi/btoken.h]

2009-07-28T17:16:43.839663Z Ralph Giles

Bump the release number to 8.70.

The numerous transparency and smask fixes justify a new minor number.

[base/version.mak Resource/Init/gs_init.ps doc/News.htm]

2009-07-28T16:55:34.923668Z Alex Cherepanov

Fix incorrect right shift on 64-bit platforms. PLRM defines bitshift operator
as a logical shift. On 64-bit platform, the integer operand was promoted to
64-bit long value, shifted, and assigned back to 32-bit int, effectively
emulating the sign extension.

[psi/zrelbit.c]

2009-07-28T16:49:26.940894Z Ralph Giles (details)

Work around problems with XInitImage and large rasters.

Patch from Russ Cox, fixes Bugs 689547 and 689561.

[base/gdevx.c]

2009-07-28T16:20:51.749226Z Ken Sharp (details)

Fix (pdfwrite): Excessive redefinitions of CIDFonts causing memory exhaustion

[Resource/Init/pdf_font.ps Resource/Init/gs_ttf.ps]

2009-07-28T07:48:19.388013Z Ralph Giles (details)

Add bounds checking to various icclib functions.

Based on a set of patches by Jan Lieskovsky at Red Hat,
addressing CVE-2009-0583 and CVE-2009-0792.

[icclib/icc.c]

2009-07-27T16:59:50.188520Z Till Kamppeter

Update of the Esc/Page laser printer drivers from Epson and Avasys, new output devices "eplmono" and "eplcolor", and new media types.

[contrib/contrib.mak contrib/eplaser/gdevescv.h base/configure.ac contrib/eplaser/gdevescv.c]

2009-07-27T00:30:35.025070Z Marcos H. Woehrmann

The fill adjustment change in r9882 was too great; this rev changes it to 0.3 (from the original 0.25).

[base/gsstate.c]

2009-07-24T19:03:05.883160Z Ray Johnston

Add some debug that can be handy in tracing memory usage with the chunk manager.
This code has not effect on non-debug builds.

[base/gsmchunk.c]

2009-07-24T14:21:19.243209Z Ken Sharp (details)

Fix (pdfwrite) : Incorrect table in /Unicode /Decoding Resource

[Resource/Decoding/Unicode]

2009-07-23T17:34:17.505092Z Henry Stiles

Temporarily address bug #690646 with a fatter fill adjustment default.
This will only affect tests with resolutions less than 150 dpi.  The
change makes superfluous code in gs_init.ps which initializes the
default fill adjust to .5 iff the resolution is greater than or equal
to 150 dpi.

[base/gsstate.c]

2009-07-22T21:09:42.692668Z Michael Vrhel (details)

The commits provides proper transparency support for fills with patterns that contain transparency. This is a merge of the pattern_trans branch into the trunk. 

[psi/zpcolor.c base/gdevp14.c base/gsptype1.c base/lib.mak base/gdevp14.h base/gxpcmap.c base/gsptype1.h psi/int.mak base/gxpcolor.h base/gxcolor2.h /trunk/gs base/gxp1fill.c]

2009-07-21T13:43:27.037336Z Ken Sharp (details)

Enhancement (pdfwrite) : Add a new switch 'PDFACompatibilityPolicy to control PDF/A
creation when encountering invalid content.

[base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfp.c doc/Ps2pdf.htm base/gdevpdfb.h]

2009-07-21T04:50:01.508924Z Alex Cherepanov

Add output buffer alignment code to one of the image handling branches
where it was omitted. Fix a SEGV on Sparc platform that cannot access
misaligned data. Bug 690613.

[base/gxiscale.c]

2009-07-20T05:10:46.340795Z Alex Cherepanov

Unobfuscate image scaling code: remove dead code, expand macros and typedefs.
All changes are algorithmically equivalent.

[base/siscale.c]

2009-07-19T03:58:54.979499Z Alex Cherepanov

Fix a typo in compile time flag that prevented GNU libiconv to emulate
system libiconv and caused link errors on the systems that use GNU headers
but system libraries. Bug 690123.

[contrib/opvp/gdevopvp.c]

2009-07-17T15:19:24.111289Z Alex Cherepanov

Initialize bit accumulator in LZW encoder to clear a Purify warning about
using an uninitialised value in an expression. The value itself is unimportant
because all bits that may affect the result are shifted out.

[base/slzwe.c]

2009-07-17T14:00:35.203729Z Alex Cherepanov

Fix processiong of numeric entry in /W2 array. Bug 690635.

[Resource/Init/pdf_font.ps]

2009-07-15T13:07:48.754703Z Ken Sharp (details)

Fix (pdfwrite): Crash with font errors.

[base/gdevpdte.c]

2009-07-14T03:35:22.419126Z Alex Cherepanov

Switch the order of an assignment and condition to fix (harmless) reading of
uninitialized memory. Clear a Purify warning.

[base/gxhintn.c]

2009-07-13T01:50:06.521945Z Ray Johnston (details)

Add a couple of utilities for extracting Fonts and ICC Profiles from a
PDF. I had these laying around and the need for these comes up from 
time to time. See the top of each PostScript file for usage.

[toolbin/extractICCprofiles.ps toolbin/extractFonts.ps]

2009-07-11T17:49:45.436921Z Ralph Giles

Change the GPL Ghostscript license to GPLv2 or later, instead of GPLv2-only.

[LICENSE]

2009-07-09T13:09:11.914398Z Alex Cherepanov

Don't take empty string for an answer when searching 'name' table in TrueType
font because some MS fonts have empty strings for platform IDs MS doesn't
use. Bug 690611, customer 0.

[Resource/Init/gs_ttf.ps]

2009-07-09T05:59:44.622957Z Henry Stiles

Remove ad hoc code to draw thin rectangles.  It appears this code is
obsolete with respect to the current fill code.  Many fills adjusted
with this code will actually render without enlargement.  Differences
noted in the following files were insignificant or improvements.

comparefiles/012-05.ps
comparefiles/013-05.ps
comparefiles/067a_unc-stroke.pdf
comparefiles/298-09.ps
comparefiles/321-09.ps
comparefiles/86554321.pdf
comparefiles/Bug687603.ps
comparefiles/Bug687724.pdf
comparefiles/Bug687840.pdf
comparefiles/Bug687901.ps
comparefiles/Bug688485.pdf
comparefiles/Bug688631.pdf
comparefiles/Bug688807.pdf
comparefiles/Bug689083.pdf
comparefiles/Bug689516.pdf
comparefiles/Bug689842.pdf
comparefiles/Bug689918.pdf
comparefiles/Bug689978.pdf
comparefiles/Bug690115.pdf
comparefiles/Bug690206.pdf
comparefiles/Bug690395.pdf
comparefiles/Clarke-Tate-Manns-Chinese.ai
comparefiles/H00216q.pdf
comparefiles/LMG-40-7161-RU-DUC-01.pdf
comparefiles/Testform.v1.0.2.pdf
comparefiles/WD0010L0.pdf
comparefiles/annots.pdf
comparefiles/bug_687457.pdf
comparefiles/bulletin.pdf
comparefiles/knight.pdf
comparefiles/messenger.pdf
comparefiles/messenger16.pdf
comparefiles/p2b-100.pdf
comparefiles/z400454b01d4-1.pdf
pdf/PDFIA1.7_SUBSET/CATX2140.pdf
pdf/PDFIA1.7_SUBSET/CATX5233.pdf
pdf/PDFIA1.7_SUBSET/CATX9004.pdf
pdf/PDFIA1.7_SUBSET/CATX9214.pdf
pdf/PDFIA1.7_SUBSET/CATX9558.pdf
pdf/PDFIA1.7_SUBSET/IA3Z0005.pdf
pdf/PDFIA1.7_SUBSET/IA3Z0302.pdf
pdf/PDFIA1.7_SUBSET/IA3Z1351.pdf
pdf/PDFIA1.7_SUBSET/IA3Z3225.pdf
pdf/PDFIA1.7_SUBSET/IA3Z3356.pdf
pdf/PDFIA1.7_SUBSET/IA3Z3359.pdf
pdf/PDFIA1.7_SUBSET/IA3Z3519.pdf
pdf/PDFIA1.7_SUBSET/IA3Z3778.pdf
pdf/PDFIA1.7_SUBSET/IA3Z4373.pdf
pdf/PDFIA1.7_SUBSET/IA3Z4663.pdf
ps/ps3cet/11-01.PS
ps/ps3cet/11-26C.PS
ps/ps3cet/12-05.PS
ps/ps3cet/13-01.PS
ps/ps3cet/13-02.PS
ps/ps3cet/13-03.PS
ps/ps3cet/13-10.PS
ps/ps3cet/13-12.PS
ps/ps3cet/13-13.PS
ps/ps3cet/13-15.PS
ps/ps3cet/13-16.PS
ps/ps3cet/13-17.PS
ps/ps3cet/13-18.PS
ps/ps3cet/13-19.PS
ps/ps3cet/13-20.PS
ps/ps3cet/13-22.PS
ps/ps3cet/13-26.PS
ps/ps3cet/13-27.PS
ps/ps3cet/13-28.PS
ps/ps3cet/13-29.PS
ps/ps3cet/14-08.PS
ps/ps3cet/23-25.PS
ps/ps3cet/29-03.PS


[base/gxpaint.c base/gxcpath.c base/gxttfb.c base/gdevtrac.c base/gxacpath.c base/gxpaint.h base/gdevbbox.c base/gdevpdfd.c base/gxshade.c base/gxfill.c base/gxstroke.c base/gxclrast.c]

2009-07-09T00:28:02.323867Z Alex Cherepanov

Set default color and colorspace for colored pattern stream that relies on
default values; keep the color unset as required for uncolored pattern.
Bug 690609, customer 531.

[Resource/Init/pdf_draw.ps]

2009-07-08T14:18:43.038306Z Henry Stiles

This patch is a continuation of revision 9842, to derive the fill
adjustment parameter from the graphics state and not assume the value
is 1/2.  Interestingly, the patch seems to result in improvements for
postscript in several regression test files.  For example cet file
13-13.ps page 3 appears to improve the clipping of the large (W)
character.  Previously the (W) character obscured the line on the top
border of the page, now the line is visible.  Unfortunately the non
banded result is still wrong and with the fix does not match the
banded output.  Analysis of this issue is incomplete and ongoing.

[base/gxclrast.c]

2009-07-08T13:56:15.311074Z Ken Sharp (details)

Fix (CID fonts): The fallback when totally failing to find a character code in a CMap
sets the CID to 0 (/.notdef) but failed to select a descendant font.

[base/gschar0.c]

2009-07-08T06:02:40.134274Z Ray Johnston (details)

Fix for segfault caused by dereference of a stale pointer (pgs->dev_color).
Bug 690519 detected with pkmraw during regression testing.

[psi/zpcolor.c]

2009-07-06T17:20:39.998539Z Henry Stiles

The fill adjustment associated with the clipping path should be
derived from the graphics state, not set to the constant 1/2.  This
change results in many improvement for pcl which uses center of pixel
(fill adjust == 0) rendering.  It should result in no change for
postscript or pdf at high resolution, but we do expect many difference
at lower resolutions, where fill adjust is set to 1/4.  In the latter
case postscript and pdf paint with fill adjust set to 1/4 while
clipping paths are created with a fill adjustment of 1/2 which is
incorrect.

[base/lib.mak base/gxacpath.c]

2009-07-06T08:51:30.498667Z Ken Sharp (details)

Fix (graphics library) : Conversion to base colour space of an /Indexed colour space was
not catering for spaces with a string lookup instead of a procedural lookup.

[psi/zcolor.c]

2009-07-04T22:45:06.512463Z Alex Cherepanov

Add a check for a null value of SMask attribute in ExtGState. This also works
for invalid SMask reference, which is already converted to null.
Bug 690597, customer 870.

[Resource/Init/pdf_draw.ps]

2009-07-03T21:59:49.616755Z Ray Johnston (details)

Fix for crash when tiles are outside printable areas seen with bug 690558.

[base/gxclip2.c]

2009-07-03T09:27:02.706358Z Ken Sharp (details)

Enhancement (TrueType fonts): Add support for Adobe's use of Identity CMap in PDF files,
when substituting a TrueType font, mapped as a CIDFont from disk, for a missing CIDFont.

[psi/zcid.c psi/icid.h Resource/Init/gs_ciddc.ps Resource/Init/gs_cidtt.ps psi/zfcid1.c]

2009-07-02T00:38:01.021625Z Till Kamppeter

Use "Perceptual" as render intent for the presentation quality setting in the "cdnj500" (HP DesignJet) driver.

[contrib/gdevcd8.c]

2009-06-30T00:06:33.029648Z Alex Cherepanov

Extract all documents from PDF collection to temporary files and process them
in the order they are listed in the /Names array. Bug 690422, customer 531.

[Resource/Init/pdf_main.ps]

2009-06-29T12:33:28.939766Z Ken Sharp

gs_ciddc.ps is now in Resource/Init, not in lib as was stated in the documentation.

[doc/Language.htm]

2009-06-29T09:33:50.558685Z Ken Sharp

Enhancement (pdfwrite & ps2write) : Optionally convert Separation and DeviceN spaces to their alternate space.

Detalis:
bug #690582 "Disabel /Separation and /DeviceN colour space preservation"

When creating a colour space for output, allow the user to insist that Separation and
DeviceN spaces be converted to their alternate space.

[base/gdevpdfx.h base/gdevpdfp.c doc/Ps2pdf.htm base/gdevpdfc.c base/gdevpdfb.h]

2009-06-26T12:42:29.607606Z Alex Cherepanov (details)

Look into JPX stream to get color space and color depth when it is omitted
from the image dictionary. Bug 690518, customer 850.

[Resource/Init/pdf_base.ps Resource/Init/pdf_draw.ps]

2009-06-23T22:24:57.094170Z Michael Vrhel

Fix for bug690546.  Problem was caused by double application of opacity for knockout fills.  The opacity was being applied in the alpha value and in the opacity value.  The alpha value is the product of the shape and opacity and can be used directly.

[base/gdevp14.c]

2009-06-23T07:24:50.757746Z Ken Sharp (details)

Fix (pdfwrite) : Update 'where_used' in case object is used across pages

[base/gdevpdft.c]

2009-06-22T11:22:48.383638Z Russell Lang

Add the Windows installer manifest when building with Visual Studio 2008.

[psi/msvc32.mak]

2009-06-22T07:41:34.716284Z Ken Sharp

Fix a technically uninitialised variable (Coverity warning).

[base/gdevpdti.c]

2009-06-22T07:41:01.524464Z Ken Sharp

Fix a minor Coverity warning about implicit function declarations.

[base/gdevpdfb.c]

2009-06-21T21:22:33.385661Z Russell Lang

Add manifest files to the Windows setup and uninstall programs,
to force Windows Vista to run them as Administrator.
Bug 690510.

[psi/dwsetup_x64.manifest psi/dwuninst_x64.manifest psi/dwsetup_x86.manifest psi/dwuninst_x86.manifest]

2009-06-21T04:38:47.415879Z Russell Lang

Remove support for cross compiling of Win64 ghostscript on
Windows 32-bit using Visual Studio .NET 2003 with a 
Win64 compatible DDK.
Ghostscript for Win64 must now be built on 64-bit Windows,
to assist with compiled resources. 
Visual Studio 2005 and 2008 are currently supported for 64-bit.

[doc/Make.htm base/msvccmd.mak psi/msvc32.mak]

2009-06-21T04:23:05.005351Z Russell Lang

Add manifest files to the Windows setup and uninstall programs,
to force Windows Vista to run them as Administrator.

[doc/Develop.htm psi/msvc32.mak]

2009-06-20T17:29:39.375319Z Alex Cherepanov

Add TrimBox support and a corresponding -dUseTrimBox option. Bug 690547.

[Resource/Init/pdf_main.ps doc/Use.htm]

2009-06-19T12:14:20.778442Z Ken Sharp (details)

Fix (pdfwrite) : Make type 3 bitmap font text-searchable if possible

[base/gdevpdti.h base/gdevpdfx.h base/gdevpdts.c base/gdevpdfb.c base/gdevpdt.h base/gdevpdti.c]

2009-06-19T10:53:11.324517Z Ken Sharp

Add a couple of missing initialisers to the PDF device structure. Spotted this problem while working on another issue.

[base/gdevpdfb.h]

2009-06-18T22:06:41.250732Z Marcos H. Woehrmann


Add A5 to the list of PCL output paper sizes.  Thanks to peter.berndts@oce.com for the patch.

Fixes bug 690532.

[base/gdevpcl.h base/gdevpcl.c]

2009-06-18T05:16:48.708579Z Ralph Giles

Handle 4-bit grayscale JPXDecode images.

This is a minimal patch to fix bug 690174.

The file has a JPXDecode stream with 4 bits per component. The image
dictionary has the correct matching /BitsPerComponent and /ColorSpace
keys, but the stream filter was returning the pixel data as the low
nibble in 8 bit pixels.

This is a minimal fix: if the first component of the data is 4 bpc,
divide the stride in half, then in copy_row_gray, pack two pixels
per byte when returning the data.

[base/sjpx.c]

2009-06-17T03:25:25.702690Z Alex Cherepanov

Fix memory corruption caused by long names. The length of name in the scanner
buffer may exceed the maximum name size and should be checked. Bug 690523.

[psi/iscan.c]

2009-06-17T02:17:49.344749Z Alex Cherepanov

Fix detection of extra Q operators in the page contents stream, which never
worked before. Remove some level 1 rudiments and comment the code.
Bug 690540, customer 750.

[Resource/Init/pdf_ops.ps]

2009-06-16T22:05:41.362092Z Henry Stiles

Add a graphics library rom file system variable.  For now this will be
used to hold the icc and wts files associated with the wtsimdi device.
No expected differences.

[base/lib.mak]

2009-06-14T22:57:22.467309Z Michael Vrhel (details)

Fix for access violation that can occur when processing PS files with spot colors into a sep device.

DIFFERENCES EXPECTED:
None

[base/gdevtsep.c]

2009-06-13T14:33:18.520606Z Alex Cherepanov

Export t1_glyph_equivalence table, which provides alternative glyph names.
Modify pf2afm.ps to disable glyph aliasing and generate AFM files that
match the font. Bug 689014.

[Resource/Init/gs_type1.ps lib/pf2afm.ps]

2009-06-13T01:20:00.314754Z Marcos H. Woehrmann

Add yet another _NMAKE_VER check (9.00.30729.01) to msvc32.mak to
detect MSVC_VERSION 9 (there has be a better way of doing this).
This surpresses a couple of warnings for each cl invocation but
shouldn't effect the build.

[psi/msvc32.mak]

2009-06-10T13:10:31.212563Z Ken Sharp (details)

Fix (pdfwrite): Bug in pdfmark processing

[base/gdevpdfm.c]

2009-06-09T03:32:01.703357Z Henry Stiles

Changed to use memset when filling white and black lines of a
rectangle.  This provides about a 10% speedup over copying a byte at a
time when printing long jobs where a significant amount of time is
spent whitening the page, this improvement was observed on a 2.53 GHz
Intel Core 2 Duo (Mac OS X) and we expect similar results on other
platforms.  No expected changes, the code is functionally equivalent.

[base/gdevwts.c]

2009-06-08T18:16:29.884697Z Ray Johnston (details)

Provide for filling zero width areas to prevent dropout in some strange stroked
characters. This seems to be the intent of the code, and definitely conforms to
the PS PLRM, but the PDF Reference Manual says zero width fills may or may not
be filled (although Adobe Acrobat does). This is not (yet) enabled by default,
but is provided to simplify regression analysis and for customer 531, bug 690466.

[base/gxfilltr.h base/gxfill.c]

2009-06-08T03:10:40.894198Z Henry Stiles

Previously we identified a banding device by checking if its
get_bits_rectangle procedure was the same as the procedure used in the
constant procedure declarations gs_clist_device_procs.  This
conditional has not been correct since the multi-threaded code, the
get_bits_rectangle() procedure is overridden with a new procedure
get_bits_rectangle_mt() and all devices were detected as non-banding.
We change the procedure checked to be open_device and don't expect
this to be overridden, but the code is still somewhat awkward.

The broken conditional resulted in non deterministic behavior in the
wtsimdi device, indirectly causing the complexity array to be
uninitialized.

[base/gdevprn.c]

2009-06-05T12:52:53.651342Z Ken Sharp (details)

Fix (pdfwrite) : Bug with DOCVIEW pdfmark handling

[base/gdevpdfm.c]

2009-06-05T05:55:54.211001Z Alex Cherepanov

Switch to 32-bit PostScript integers on 64 bit platform. Bug 690474.

[psi/iparam.c psi/zfile.c psi/zfunc4.c psi/zcontrol.c psi/ibnum.c psi/ztype.c psi/zdict.c psi/iscannum.c psi/idparam.c psi/zfcid0.c psi/ibnum.h psi/zdps.c psi/zmath.c psi/iscanbin.c psi/iutil.c psi/iref.h psi/iscan.c psi/idebug.c psi/zstack.c psi/ziodev.c psi/zarith.c base/gsalloc.c psi/zgeneric.c]

2009-06-05T04:25:51.460104Z Alex Cherepanov

Validate /Border attribute of annotations. Following AR, use invisible border
when /Border value is incorrect. Bug 690509.

[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]

2009-05-31T02:50:09.248528Z Alex Cherepanov

Current PDF font loader fails when Type 1 font executes 'restore' at the end
of the file and discards all the collected data. The patch breaks the check
for /UniqueID in the font to force a branch without 'restore'. Bug 690502.

[Resource/Init/pdf_font.ps]

2009-05-30T00:22:20.429756Z Ray Johnston (details)

Fix the file stream opening logic so that when the open failed, it did not leave
buffers and other structures up to the GC for collection. This only affected PS
and PDF, but happened on files that needed fonts that were not immediately in the
Fontmap. This resulted in up to on the files from bug 690422.

[base/sfxcommon.c base/stream.c]

2009-05-29T14:02:04.750188Z Ken Sharp (details)

Fix (Graphics library) : Inappropriate testing of shading co-ordinates

[base/gsshade.c]

2009-05-29T06:48:44.622628Z Ralph Giles

Update the included copy of jbig2dec with the 0.10 release.

This merges changed made to the version of the gs tree with upstream
fixes, including the buffer overrun fix for CVE-2009-0196. See
CHANGES for a more complete summary.

[jbig2dec/aclocal.m4 jbig2dec/config_win32.h jbig2dec/sha1.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image_pbm.c jbig2dec/install-sh jbig2dec/jbig2.c jbig2dec/jbig2_generic.h jbig2dec/jbig2_image.c jbig2dec/configure jbig2dec/Makefile.in jbig2dec/jbig2_metadata.h jbig2dec/jbig2.h jbig2dec/jbig2_priv.h jbig2dec/jbig2_image_png.c jbig2dec/jbig2_image.h jbig2dec/depcomp jbig2dec/compile jbig2dec/jbig2dec.c jbig2dec/os_types.h jbig2dec/config.h jbig2dec/configure.ac jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_arith.h jbig2dec/jbig2_page.c jbig2dec/jbig2_symbol_dict.h jbig2dec/jbig2_arith_int.c jbig2dec/jbig2_hufftab.h jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_arith_int.h jbig2dec/jbig2_text.h jbig2dec/jbig2_huffman.h jbig2dec/jbig2_mmr.c jbig2dec/jbig2_refinement.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_mmr.h jbig2dec/memcmp.c jbig2dec/test_jbig2dec.py jbig2dec/jbig2_arith_iaid.h jbig2dec/config.h.in jbig2dec/jbig2_segment.c jbig2dec/Makefile.am jbig2dec/missing jbig2dec/jbig2_generic.c]

2009-05-25T13:38:00.787533Z Ken Sharp (details)

Fix (colour handling): improper handling of ICCBased space with a /Alternate ICCBased
    space

[psi/zcolor.c]

2009-05-24T10:16:57.483100Z Ralph Giles (details)

Fix an uninitialized variable warning in FAPI_do_char.

[psi/zfapi.c]

2009-05-23T19:11:37.254849Z Ralph Giles

Remove an unnecessary duplicate typedef. Coverity issue 4183.

[base/gdevp14.h]

2009-05-23T19:02:08.125913Z Ralph Giles

Remove an unnecessary header include.

Coverity issue 2497.

[base/lib.mak base/sjpx.c]

2009-05-23T18:37:21.743759Z Ralph Giles

Remove some unused variables.

I've left one, the subarray_index, since it may be intended for future 
development. The others were all trivial.

[psi/zfapi.c]

2009-05-23T16:59:58.327296Z Ralph Giles

Correct a cut-and-paste error in r9742.

The blend values array logic for multiple master fonts was writing
integer element values with a floating point specifier. These are
normally floats, which is probably why the error wasn't noticed in
testing. Flagged by Coverity as issue 4326.

[psi/zfapi.c]

2009-05-23T15:36:33.756259Z Alex Cherepanov

Trap /ioerror and load the font by name when embedded font stream is
unreadable. Bug 690492.

[Resource/Init/pdf_font.ps]

2009-05-22T09:11:26.614602Z Ralph Giles

Remove a duplicate gs_memory_t structure member from the trace device.

In r8803 the image_enum memory pointer was moved from the various
subclasses into the common portion of the structure (the superclass).
In oversight, that change was not make to gdevtrac.c, breaking
compilation because of the now-duplicate member name. This went
unnoticed until now because the trace device isn't part of any
standard build.

Note that I've only fixed the compile error. I have not verified
that the trace device still functions properly.

[base/gdevtrac.c]

2009-05-22T09:03:35.793845Z Ralph Giles

Correct a typo in the unused gsparam2.c.

This was broken in r2849, but went unnoticed because the parameter
api rewrite was never developed further. This file isn't part of
any standard build.

[base/gsparam2.c]

2009-05-21T23:46:45.296083Z Marcos H. Woehrmann


Minor changes for Luratech decoders command line options.

[base/Makefile.in]

2009-05-21T19:16:25.645959Z Ralph Giles

Update documentation with the new location for dmmain.

[doc/Develop.htm]

2009-05-21T19:13:36.537944Z Ralph Giles

Move the Classic MacOS gsapi client example code to psi, where it more 
properly belongs.

[base/dmmain.r base/dmmain.c psi/dmmain.r psi/dmmain.c]

2009-05-21T19:11:13.444391Z Ralph Giles

Comment improvement in the font api implementation.

[psi/zfapi.c base/gxfapiu.c base/gxfapiu.h]

2009-05-21T12:40:07.902153Z Till Kamppeter

The "ps2write" output device produces PostScript which is not DSC-conforming, so do not advertize it as DSC-conforming with a "%!PS-Adobe-..." magic string. Use "%!" instead. Otherwise the "pstops" CUPS filter cannot handle this output (Ubuntu bug #377011).

[base/gdevpdfu.c]

2009-05-20T22:33:12.105223Z Till Kamppeter

pstoraster did not work when called with an input file name as the 6th command line argument.

[cups/pstoraster.in]

2009-05-20T22:30:48.432212Z Till Kamppeter

Fixed recognition of page size via /cupsPageSizeName. All page sizes were considered custom sizes if /cupsPageSizeName was not set.

[cups/gdevcups.c]

2009-05-20T12:17:22.906937Z Tor Andersson

Reformat code to improve readability and fix messed up tab/space indentation. Also removed the m_ prefix on struct fields.

[psi/fapi_ft.c]

2009-05-19T22:57:04.259848Z Alex Cherepanov

When /Length attribute is incorrect, PDF interpreter removes it from the
stream dictionary. Add support of missing /Length attribute to the pattern
handling code. Bug 690488.

[Resource/Init/pdf_draw.ps]

2009-05-16T15:29:35.814286Z Alex Cherepanov

Bind all procedures in ps2ai.ps to prevent errors caused by redefined
operators, such as redefinition of 'length' as a number in
examples/colorcir.ps. Bug 690484.

[lib/ps2ai.ps]

2009-05-15T12:13:25.677962Z Ken Sharp (details)

Fix (FAPI) : FAPI doesn't support Multiple Master fonts

[psi/zfapi.c psi/ifapi.h psi/write_t1.c]

2009-05-13T23:37:28.142726Z Alex Cherepanov

Consider PDF files that has /StmF attribute but no /CF attribute as having
ARC4 encryption. Bug 690478.

[Resource/Init/pdf_sec.ps]

2009-05-12T20:22:11.794604Z Marcos H. Woehrmann

Removed reference to obsolete file (lwf_jp2_geo.h) that has been merged into lwf_jp2.h.

[base/lwf_jp2.mak]

2009-05-12T10:10:53.385307Z Ken Sharp (details)

Fix (ps2write) : Crash caused when converting large shading to image.

[base/gdevpsdi.c]

2009-05-11T15:19:46.521973Z Ken Sharp (details)

Fix (FAPI) : Type 2 fonts with local Subrs fail

[psi/zfapi.c psi/ifapi.h psi/write_t2.c]

2009-05-10T20:56:12.436440Z Henry Stiles

Fill in omitted paper sizes as part of fixing bug #689677.  Thanks to
Jeffrey Vance for providing several of these paper dimensions.  No
regression differences are expected.

[base/gdevpxen.h]

2009-05-10T16:44:00.640518Z Marcos H. Woehrmann (details)

Use 32 bits for fixed coordinates even on 64 bit cpus.

[base/gxfixed.h]

2009-05-10T02:59:01.912309Z Ray Johnston (details)

Fix regression caused by the changes to make PCL work. Bug 690463.

[base/gsiorom.c]

2009-05-08T13:13:26.891026Z Ken Sharp (details)

Fix : Windows drag&drop has a fixed path limit of 80 characters.

[psi/dwtext.c psi/dwimg.c]

2009-05-07T15:45:58.755801Z Ken Sharp (details)

Fix PostScript interpreter : ICC colour space could cause crash

[psi/zcolor.c]

2009-05-07T13:06:10.554451Z Ken Sharp (details)

Fix (FAPI) : FAPI doesn't handle Encoding arrays of type mixed_array

[psi/zfapi.c]

2009-05-07T12:46:25.039496Z Ken Sharp (details)

Fix (FAPI) : FAPI fails when FontBBox is missing

[psi/zfapi.c]

2009-05-05T10:40:10.582721Z Ken Sharp

The revision 9699 to quiet a Coverity warning incorrectly tested a char * instead of a
char ** for NULL.

[base/gdevpdtc.c]

2009-05-05T10:28:48.253152Z Ken Sharp

revision 9714 reformatted a test in a way which left dead code behind. Put the test
back as it was, there was no functional difference anyway, this was just done for
investigative purposes.

[psi/zfapi.c]

2009-05-04T10:59:18.106139Z Till Kamppeter

Removed "cupsEvenDuplex" PPD keyword handling from the "cups" output device again. This keyword is already handled by the pstops and pdftopdf CUPS filters.

[cups/gdevcups.c]

2009-05-02T03:12:55.350064Z Alex Cherepanov

Commit .h file missed by the previous revision. Bug 690318, customer 631.

[base/gdevtifs.h]

2009-05-02T00:38:13.087492Z Ray Johnston

Supprt -dBigEndian=[true | false] so that the TIFF can be optimized for a
target host on a machine of another 'endian' byte orientation. This is a
mostly worthless change since the raster data doesn't change (only 16 or
32-bit values have endian issues). Thanks to wendyst2 at gmail.com for
this fix. Bug #690318.

[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c base/gdevtfax.c]

2009-05-02T00:03:15.297730Z Ray Johnston (details)

Add an 'IODevice' aware layer for filesystem enumeration 'gs_enumerate_*'
which needs to be used whenever the file is not known to be on the default
iodev (%os% by default). Use this in the PDL parser to open fonts so that
COMPILE_INITS=1 does not need the fonts on the disk.

The default PXL/PCL builds now use COMPILE_INITS=1.

Fixes bug #690367.

[base/gxiodev.h base/gsiorom.c base/gsiodev.c]

2009-05-01T03:39:24.695161Z Alex Cherepanov

Check for unbalanced q/Q operators in content streams of PDF forms.
Add missing Q when needed and issue a warning. Bug 690449, customer 870.

[Resource/Init/pdf_draw.ps]

2009-04-30T18:34:49.698412Z Michael Vrhel (details)

Fix for case when blending color space of soft mask is not specified.

[base/gdevp14.c base/gstrans.c]

2009-04-30T13:14:10.674985Z Ken Sharp (details)

Fix (FAPI): Incremental Type 42 font with GlyphDirectory & missing glyphs fails

[psi/zfapi.c]

2009-04-30T11:15:04.348733Z Till Kamppeter

Adde support for the "*APDuplexRequiresFlippedMargin:" PPD keyword to the "cups" output device, fixed also the margin handling for custom paper sizes.

[cups/gdevcups.c]

2009-04-30T10:41:48.084860Z Till Kamppeter

Fixed unprintable margin handling of the "cups" output device.

[cups/gdevcups.c]

2009-04-29T18:02:50.832175Z Ralph Giles

Whitespace, line length and C-style improvements to gscolorbuffer.[ch].

These files tend to use 8 spaces instead of tabs; I haven't corrected
many of these.

[base/gscolorbuffer.c base/gscolorbuffer.h]

2009-04-29T17:02:43.113835Z Ralph Giles

Remove a documentation reference to the gsindent script, which was
removed in r8455.

[doc/C-style.htm]

2009-04-29T16:56:02.841961Z Ralph Giles (details)

Always initialize the color_remap function pointer.

[base/gscolorbuffer.c]

2009-04-29T16:39:58.702496Z Ralph Giles

Set native line endings and keyword substitution on gscolorbuffer.[ch].

[base/gscolorbuffer.c base/gscolorbuffer.h]

2009-04-29T11:27:38.521368Z Marcos H. Woehrmann

Fixed compiler warning about /* within comment.

[base/gdevp14.c]

2009-04-28T22:11:03.867873Z Ralph Giles

Remove the unused including of gxlum.h in the inferno device.

The luminance weighting contants aren't used in the inferno driver.

[base/gdevifno.c base/contrib.mak]

2009-04-28T22:06:04.042908Z Ralph Giles

Remove the stdlib.h include from the inferno device.

This is no longer needed since the malloc/free calls were replaced
with gs allocator calls in r9687.

[base/gdevifno.c]

2009-04-28T18:41:43.426030Z Till Kamppeter

"cups" output device: Added support for "cupsEvenDuplex" PPD keyword.

[cups/gdevcups.c]

2009-04-28T16:44:09.981559Z Till Kamppeter

"cups" output device: Added support for the new "*cupsBackSide:" PPD keyword, fixed "*cupsFlipDuplex:" for landscape documents.

[cups/gdevcups.c]

2009-04-28T15:10:49.837556Z Alex Cherepanov

Take measures against Type 1 fonts that do 'systemdict begin' and
bypass all our font loading tricks. Bug 690450, customer 870.

[Resource/Init/pdf_font.ps]

2009-04-28T13:31:02.272975Z Ken Sharp

Ensure the pointer to standard cmap names is properly initialised before dereferencing
it. This is only to silence Coverity, the pointer is initialised to a static array and so
should never be invalid.

[base/gdevpdtc.c]

2009-04-28T13:23:46.582627Z Ken Sharp

Correct a potential buffer overrun. This looks like an oversight, the maximum size is
properly calculated taking the buffer length and data size into account, and used to
copy the data, but the trailing 0x00 (C string terminator) was written using the data
size without checking for a buffer overrun.

Warning from Coverity.

[base/gstype42.c]

2009-04-28T13:16:17.700417Z Ken Sharp

Check return value from cos_dict_put_key when writing document metadata. Warning from Coverity.

[base/gdevpdfe.c]

2009-04-28T09:04:10.426584Z Ken Sharp (details)

Fix (pdfwrite) : Enlarge the hardcoded threshold for subsetting True Type fonts.

[base/gdevpdtb.c]

2009-04-27T16:24:33.581172Z Ken Sharp (details)

Fix (FAPI) : FAPI fails when FontBBox is a packed array

[psi/zfapi.c]

2009-04-27T16:02:10.792862Z Till Kamppeter

Let "cups" output device take into account page size names.

The "cups" output device has selected the page size for determining
the margins only by the size and not by the name. So it was not
possible to have different page size entries with the same size and
different margins in the PPD, for example for fullbleed. This is fixed
now.

Fix done after a report from the HPLIP team on the OpenPrinting Summit
2009.

[cups/gdevcups.c]

2009-04-27T06:25:19.306977Z Alex Cherepanov

Fix 2 oversights in AES decryption code: (1) add enumeration of ctx member in
AES state. Unmovable blocks are still garbage collected and need enumeration;
(2) use correct names to access /CFM attribute in PDF file.
Bug 688958, customers 870, 850, 531.

[base/saes.h Resource/Init/pdf_sec.ps]

2009-04-24T17:39:56.201358Z Ralph Giles (details)

Replace malloc with gs_alloc_bytes in the inferno device.

[base/gdevifno.c]

2009-04-24T17:39:54.075505Z Ralph Giles

Dynamically allocate the inferno line buffer.

Previously, the scanline buffer was a 16k stack allocation. We still
reject bitmaps larger than that because of format limitations (so large
jobs above 300 dpi often fail with the inferno device) but now we
only allocate as much storage as needed, and on the heap instead of
the stack.

[base/gdevifno.c]

2009-04-24T14:10:48.907852Z Ken Sharp (details)

Enahncement (FAPI) : Allow FAPI to work with pdfwrite.

[psi/zfapi.c base/gdevpdfp.c]

2009-04-24T01:06:32.141706Z Ralph Giles (details)

Allocate the inferno device's color cube dynamically.

[base/gdevifno.c]

2009-04-24T01:06:30.215529Z Ralph Giles

Add a new prn_device_stype_body() construction macro.

Previously, all the printer device structures assumed there were no
additional pointer members in any subclass, and always installed the
st_device_printer structure descriptor. This may account for why so
few devices bother with point enumeration. Or perhaps it's the other
way around.

In any case, this commit adds two new construction macros for
filling in device structure templates: prn_device_stype_body and
prn_device_margins_stype_body. These take an additional argument,
the address of the subclass structure descriptor, after the device
name, and propagate it to the std_device_full_body_type macros.

[base/gdevprn.h]

2009-04-24T01:06:28.058835Z Ralph Giles

Comment out the prototype for a commented out function in the inferno driver.

Fixes a gcc warning.

[base/gdevifno.c]

2009-04-24T01:06:25.015250Z Ralph Giles

Add a prototype for init_p9color() in the inferno driver.

Fixes a warning on gcc.

[base/gdevifno.c]

2009-04-24T01:06:22.357332Z Ralph Giles

Remove trailing whitespace in the inferno driver.

[base/gdevifno.c]

2009-04-22T19:51:30.624349Z Michael Vrhel (details)

Allow inline images in pdfwrite.

[base/gdevpdfi.c]

2009-04-21T15:01:01.102780Z Ken Sharp

Initialise a couple of structure members to avoid a Coverity warning.

[base/gdevpdfg.c]

2009-04-21T07:55:30.518210Z Ken Sharp

Add a check for a NULL pointer before using it. In fact this should not be possible
but it silences another Coverity warning.

[base/gdevpdtc.c]

2009-04-20T19:35:15.102625Z Michael Vrhel

Add missing gscolorbuffer.c and gscolorbuffer.h that should have been in soft mask branch merge.  See previous commit message for differences and details.

[base/gscolorbuffer.c base/gscolorbuffer.h]

2009-04-20T19:16:24.907829Z Michael Vrhel (details)

This is a merge of the smask_work branch into the trunk.  The merge fixes issues related to missing soft masks, improperly rendered soft masks and transparency group color spaces.  It addresses a number of bugs including 688728 689422 689512 689931 688601 689968 690958 690115 690157 and 690170.    

[psi/zcolor.c base/gxclimag.c base/gxpcmap.c base/gdevdevn.c psi/ztrans.c base/gsovrc.c base/gdevpdft.c base/gxblend1.c base/gxcie.h /trunk/gs base/gxshade6.c base/gxclpath.c base/gsptype1.c base/gsccolor.h base/gsptype1.h base/gsistate.c base/gximag3x.c base/gscspace.c base/gxclutil.c base/lib.mak base/gxistate.h base/gscspace.h Resource/Init/pdf_main.ps psi/int.mak Resource/Init/pdf_draw.ps psi/zpcolor.c base/gxdevcli.h Resource/Init/pdf_ops.ps base/gdevp14.c base/gxclrect.c base/gxclist.c base/gdevp14.h base/gdevtsep.c base/gxdcolor.c base/gstrans.c base/gxclist.h base/gstparam.h base/gxblend.c base/gstrans.h base/gdevpdfi.c base/gxblend.h]

2009-04-20T17:44:20.115590Z Till Kamppeter

Added "cdnj500" device to support HP DesignJet 500 (patch from Timur Maximov).

[contrib/gdevcd8.c contrib/contrib.mak base/configure.ac]

2009-04-20T15:59:07.741446Z Ken Sharp

Update revision 9658 to silence a second Coverity warning and potential dereference of
a NULL pointer. Should still be impossible and is definitely an error condition.

[base/gdevpdtc.c]

2009-04-20T15:54:38.325839Z Ken Sharp

Add a check to ensure a font pointer is valid before dereferencing it. This should 
always be the case, but its worth checking to avoid a crash and should silence a Coverity
warning.

[base/gdevpdtc.c]

2009-04-20T15:43:56.142408Z Ken Sharp

initialise first_visit in the gs_cpath_enum structure with a dummy value. This will be
overwritten when the enumerator actually starts, this is only to silence a warning
from Coverity.

[base/gxcpath.c]

2009-04-20T14:59:33.677002Z Ken Sharp

Initialise a member of a struct to silence a Coverity warning. The warning about use of
an uninitialised variable is actually bogus, the value is copied, but not otherwise used.

[base/gdevpdfg.c]

2009-04-20T14:31:15.938087Z Ken Sharp

Check the length of the 'binary mode' file access string before strcat'ing it, to 
prevent a potential (but not actual) buffer overflow. Silences a Coverity warning.

[base/gdevpdf.c]

2009-04-20T14:27:28.365570Z Ken Sharp

Reformat a conditional sprintf to silence a Coverity warning.

[base/gdevpdfu.c]

2009-04-20T12:38:51.604664Z Ken Sharp (details)

Fix (colour) : Ensure /UseCIEColor sets for initial space correctly.

[Resource/Init/gs_setpd.ps]

2009-04-20T12:07:28.372687Z Alex Cherepanov

Some broken TrueType 1 fonts may declare more tables than they actualy have.
Use .peekstring instead of for readstring for resding the font directory to
avoid positioning non-seekable input stream past the 1st table data.
Bug 690423, customer 580.

[Resource/Init/gs_ttf.ps]

2009-04-20T06:56:10.039816Z Ken Sharp (details)

Fix (pdfwrite) : Work aroung wrong numGlyphs.

[base/gstype42.c base/gdevpsft.c]

2009-04-18T22:07:42.659183Z Ray Johnston

Improve the documentation related to the %rom$ file system, searching when the
executable is built with COMPILE_INITS=1 (the current default on most platforms)
and the (mostly deprecated) older methods for compiling Type 1 fonts and Halftone
into threshold arrays.

[doc/Use.htm doc/Make.htm]

2009-04-17T08:16:45.715059Z Ken Sharp

Change #include of stdlib.h to use angle bracket form to avoid local path searches.

[base/gdevpdfj.c]

2009-04-17T00:32:26.343700Z Ralph Giles

Remove unnecessary includes of gserrors.h in the jpeg stream module.

Fixes two coverity warnings.

[base/lib.mak base/sjpegd.c base/sjpege.c]

2009-04-16T16:00:34.882286Z Ken Sharp (details)

Fix (pdfwrite): Ignore missing side bearing/width in type 1 fonts.

[base/gstype1.c base/gxtype1.c base/gdevpsfx.c]

2009-04-15T20:08:27.661663Z Alex Cherepanov

Some broken Type 1 fonts define some of the attributes in the external scope
instead of defining them in the font dictionary. The patch tries to pick
the keys from the external scope and put them back to the font dictionary.
Bug 690418, customer 1110.

[Resource/Init/pdf_font.ps]

2009-04-15T19:18:47.976886Z Henry Stiles

On modern processors the c library's memset is usually faster than our
custom inline coding.  At least, using memset on recent windows, mac,
and linux platforms is appreciably faster for very long simple jobs
where erasing the page is significant relative to total job time.
Using the library's memcpy needs more investigation, it does not seem
to have significant impact on performance and also results in many
regressions which we haven't checked.

[base/gdevm24.c]

2009-04-15T06:50:51.933830Z Alex Cherepanov

Detect /Pages node without /Kids and bail out early. The code that tries
to determine the number of pages in the document takes such node as a /Page
node, which causes very long search for the last page. Bug 690389.

[Resource/Init/pdf_main.ps]

2009-04-14T04:56:06.103942Z Alex Cherepanov

Write color to the clip list even when it has no variable data, as in
[/Separation/None ...]. Fix a bug introduced by r. 8770 that causes rendering
of invisible objects with the last visible color. Bug 690395, customer 330.

[base/gxclpath.c]

2009-04-13T07:39:20.206752Z Ken Sharp

Silence some Coverity warnings (reasonable warnings, but not actually problems).

[base/gdevpdfj.c base/gdevpdtb.c base/gdevpdfe.c]

2009-04-13T07:31:25.084782Z Ken Sharp

Fix a typo in a comment.

[base/gdevpdtt.c]

2009-04-11T12:20:22.013355Z Alex Cherepanov

Repair broken PDF files created by "OKI HotKey" that misspell "endobj"
as "enbobj". Bug 690397.

[Resource/Init/pdf_base.ps]

2009-04-11T04:59:50.073474Z Ray Johnston (details)

Fix for crash on 18-02B in clist code. The clist cbuf (on the stack) would
write past the end of the buffer are polluting the next varaible on the
stack (data_bits). Fixes 690399.

[base/gsptype1.c base/gxclrast.c]

2009-04-10T17:36:04.582061Z Ralph Giles

Remove the reference to needing to compile in pdfwrite, which is 
confusing to casual users. The pdfwrite device is part of all the
default builds.

[doc/Ps2pdf.htm]

2009-04-09T13:57:24.013138Z Ken Sharp (details)

Fix (pdfwrite) : Omitted to write CIDToGIDMap when it was Identity, even if writing PDFA

[base/gdevpdtw.c]

2009-04-09T08:44:23.319707Z Ken Sharp

Accidentally removed the prototype for pdf_document_metadata. Restored.

[base/gdevpdfg.h]

2009-04-09T08:37:55.568580Z Ken Sharp (details)

Fix (pdfwrite): remove unused code for Font metadata.

[base/gdevpdfg.h base/gdevpdtb.c base/gdevpdfe.c]

2009-04-08T21:11:18.174166Z Ray Johnston (details)

The massive 'DeviceN' commit (r2925) broke this. The correct b_w w_b
palette should not rely on color_info.polarity, but instead needs to
be determined from the value of color black. Inverted if black is not
0. Bug 690314 for customer #661.

[base/gdevmem.c]

2009-04-07T16:07:22.605043Z Ken Sharp

Removed the function pdf_color_space, which simply called pdf_color_space_named, with
two additional fixed parameters, NULL and 0.

Because these two function called each other Coverity seemed unable to deal with the
recursion and logged numerous STACK_USE errors. Also, its much easier to follow a single
function when debugging.

[base/gdevpdfk.c base/gdevpdfg.h base/gdevpdfb.c base/gdevpdfc.c base/gdevpdft.c base/gdevpdfv.c base/gdevpdfg.c base/gdevpdfi.c]

2009-04-07T10:20:02.752832Z Ken Sharp (details)

Fix (ps2epsi): rounding problems calculating bbox.

[lib/ps2epsi lib/ps2epsi.ps lib/ps2epsi.cmd lib/cat.ps lib/ps2epsi.bat]

2009-04-06T15:30:47.928660Z Ken Sharp (details)

Fix (pdfwrite): Incorrect handling of short images with subsampling.

[base/gdevpdfj.c]

2009-04-06T13:48:44.630941Z Alex Cherepanov

Skip Identity /TR function in soft mask dictionary on PostScript level instead
of passing {} to .begintransparencymaskgroup because ref_function() only
accepts function made of data and operator %execfunction. Bug 690379.

[Resource/Init/pdf_draw.ps]

2009-04-04T16:36:15.613476Z Alex Cherepanov

Revert initial /PolicyNotFount to 1. The previous value, 7, introduced by ESP
Ghostscript merger (rev. 8026) was non-standard and handled by Ghostscript
like 0. Fix '/undefined in --setpagedevice--' error in CUPS mode
(-dNOMEDIAATTRS) when setpagedevice request has unsupported keys. Bug 690376.

[Resource/Init/gs_setpd.ps]

2009-04-04T10:10:56.584771Z Ken Sharp (details)

Enhancement (pdfwrite) : Allow pdfwrite to produce multiple copies of pages. New flag
        'DoNumCopies' added.

[base/gdevpdfx.h base/gdevpdf.c base/gdevpdfp.c doc/Ps2pdf.htm base/gdevpdfu.c]

2009-03-31T15:21:50.984238Z Ken Sharp

Another case of the return value from pdf_attached_font_resource not being checked.

[base/gdevpdtt.c]

2009-03-31T15:17:52.100598Z Ken Sharp

Revision 9604 left an uninitialised variable being used. Moved usage beyond initialisation.

[psi/zfapi.c]

2009-03-31T14:59:18.448263Z Ken Sharp

Check the return value from pdf_attached_font_resource to silence a Coverity warning.

[base/gdevpdtt.c]

2009-03-31T14:52:09.178132Z Ken Sharp

Check the return value from pdf_open_docuemnt to fix a Coverity warning.

[base/gdevpdfu.c]

2009-03-31T14:41:29.436551Z Ken Sharp

Remove some unused code relating to embedding font metadata in PDF files.

[base/gdevpdfe.c]

2009-03-31T14:33:47.297209Z Ken Sharp

Remove unused variable 'glyph_index' from FAPI_do_char (gcc warning)

[psi/zfapi.c]

2009-03-31T14:30:14.712906Z Ken Sharp

Remove a bunch of unused headers to silence Coverity warnings.

[base/gdevpdfj.c psi/zfapi.c base/gdevpdfm.c base/gdevpdfo.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c base/gdevpdfr.c base/gdevpdte.c base/gdevpdtf.c base/gdevpdfu.c base/gdevpdti.c base/gdevpsfm.c base/gdevpdf.c base/gdevpsf2.c base/gdevps.c]

2009-03-31T14:01:20.321673Z Ken Sharp (details)

Fix (pdfwrite): Incorrect handling of type 1 counter control hints.

[base/gdevpsf2.c base/gdevpsfx.c]

2009-03-30T16:26:53.447317Z Ken Sharp (details)

Fix (fonts): Potential dereference of NULL pointer.

[psi/zfapi.c]

2009-03-28T23:47:38.237280Z Alex Cherepanov

Recognize composite fonts and process descendant fonts according to
-dShowEmbeddedFonts flag. Bug 690363.

[toolbin/pdf_info.ps]

2009-03-28T21:03:25.515606Z Alex Cherepanov

Accept a string (instead of a name) as a possible /FontName value in
FontDescriptor. Recover broken PDF file generated by "MapForm". Bug 690365.

[Resource/Init/pdf_font.ps]

2009-03-28T19:32:04.398772Z Alex Cherepanov

Ignore /XObject attribute if it's not a dictionary. Recover broken
PDF file generated by "Allegro Design Publisher". Bug 690364, customer 870.

[Resource/Init/pdf_main.ps]

2009-03-26T13:46:29.711009Z Ken Sharp (details)

Fix (pdfwrite) : NeverEmbed/AlwaysEmbed not working properly.

[Resource/Init/gs_pdfwr.ps base/gdevpsdp.c]

2009-03-25T13:00:06.154261Z Till Kamppeter

Fixes in the "cups" (CUPS Raster) output device driver:

Fixed segmentation fault due to missing definition of get_color_comp_index() function. Used dummy function gx_error_get_color_comp_index() now (bug 690338).

Updated some (currently not used) functions to the current internal API of Ghostscript.

Made pre-initialization of device data structure complete.

[cups/gdevcups.c]

2009-03-25T05:14:39.001280Z Alex Cherepanov

Don't apply mapped transfer function to the uninitialised buffer. Old code
had no effect other than causing Valgrind warnings. Bug 688908.

[base/gsht1.c]

2009-03-25T05:01:11.445938Z Alex Cherepanov

When CCITTEncode'd stream is not properly terminated and used as an embedded
image, the filter may consume 'E' from 'EI'. Change PDF interpreter to accept
'I' as a synonym to 'EI'. Bug 690300, customer 353.

[Resource/Init/pdf_draw.ps]

2009-03-24T17:07:50.052635Z Ken Sharp

Remove some #ifdef code and some C++ style comments from the FreeType bridge code.

[psi/fapi_ft.c]

2009-03-24T15:55:25.161400Z Ken Sharp (details)

Fix (fonts) : Sheared/rotated text incorrect with FreeType bridge

[psi/fapi_ft.c]

2009-03-23T15:19:13.060013Z Ken Sharp (details)

Fix (pdfwrite) : Wrong page orientation with italic font.

[base/gdevpdtt.c]

2009-03-23T14:14:38.656422Z Ken Sharp (details)

Fix (fonts) : Coverity warning

[psi/zfapi.c]

2009-03-23T13:48:49.969966Z Ken Sharp (details)

Fix (pdfwrite) : Skip OpenType tables EBDT, EBLC, EBSC.

[base/gdevpsft.c]

2009-03-23T09:40:03.808902Z Ken Sharp (details)

Fix (fonts): Allow copying TT descandants of CIDFonts with no name table.

[base/gxfcopy.c]

2009-03-22T04:43:07.001485Z Alex Cherepanov

Initialize Jbig2TextRegionParams.sbrat even when it is not used in
calculations because it's included in error messages causing Valgrind
warnings.

[jbig2dec/jbig2_text.c]

2009-03-20T08:26:50.704630Z Ken Sharp (details)

Fix (pswrite) : extra '%' output in DSC comment

[base/gdevpsu.c]

2009-03-19T21:19:31.945883Z Alex Cherepanov

Allocate a file name string returned by .tempfile independently of the
file object. Don't free the file name string when the file is closed.
Fix a Valgrind warning and potential SEGV.

[psi/zfile.c]

2009-03-19T17:01:34.362845Z Ken Sharp (details)

Fix (fonts): Uninitialised variables in FreeType bridge.

[psi/fapi_ft.c]

2009-03-19T16:40:12.949694Z Ken Sharp (details)

Fix (fonts): PaintType 2 fonts not working.

[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]

2009-03-19T16:10:19.044766Z Ken Sharp (details)

Fix (fonts): PaintType 2 fonts not working.

[psi/zfapi.c]

2009-03-19T15:59:50.732428Z Ken Sharp (details)

Fix (fonts): Crash caused by missing tests.

[psi/zfapi.c]

2009-03-19T01:48:02.632278Z Henry Stiles

Fix 689822, the previous code did not free the palette associated with
an indexed color space to remain backward compatible wih pcl and
pclxl.  The previous setup, before 8928, allowed the clients to manage
the table for memory.  The commented out code in this module was a
workaround until we fixed the pcl clients.

[base/gscolor2.c]

2009-03-18T22:58:18.105967Z Ralph Giles

Backslash-escape nested parentheses in ps strings.

This isn't necessary with the gs scanner, but is considered good practice.
Thanks to Ray Johnston for raising the issue.

[Resource/Init/pdf_draw.ps]

2009-03-18T21:58:18.821466Z Ralph Giles

Correct diction in unbalanced q/Q warnings.

[Resource/Init/pdf_ops.ps Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]

2009-03-15T22:42:53.413236Z Alex Cherepanov

Add hagaki (Japanese postcard) paper size to the list of known paper sizes
because this format is widely used in Japan and popular PAPERSIZE option
takes a paper name. Bug 690213.

[doc/Use.htm Resource/Init/gs_statd.ps]

2009-03-14T05:44:00.168304Z Ray Johnston

Fix chunk_resize_object to retain the old data and add gs_debug['A'] debug
printing.

[base/gsmchunk.c]

2009-03-13T00:19:17.919125Z Ralph Giles

Correct some comment typos in the icclib wrapper.

Also removes trailing whitespace.

[base/gsicc.c]

2009-03-12T19:43:29.615649Z Ray Johnston (details)

Fix Segfault in the 'resize_object' of the chunk memory wrapper.

[base/gsmchunk.c]

2009-03-12T13:32:23.551227Z Alex Cherepanov

Remove code that has no effect other than moving uninitialized data around
and causing Coverity warning.

[psi/iutil2.c]

2009-03-12T00:18:03.727459Z Marcos H. Woehrmann

Fixed typo introduced in r9545.

[base/gdevp14.c]

2009-03-11T22:00:55.007444Z Ray Johnston (details)

Set the log_op (ROP) to a straightforward value when doing the pdf14 put_image
ignoring the input imager state log_op. Bug 690321.

[base/gdevp14.c]

2009-03-11T13:46:33.591266Z Alex Cherepanov

Move a variable declaration to the outer block to prevent out-of-scope access
and a corresponding Coverity warning.

[psi/idict.c]

2009-03-11T12:51:21.059563Z Alex Cherepanov

Propagate error code from gs_path_enum_next() upstream in operator
.getpath . Fix a Coverity warning.

[psi/zupath.c]

2009-03-10T00:07:03.756709Z Ralph Giles

Add the soclean and debugclean targets to distclean. Bug 690263.

[base/Makefile.in]

2009-03-07T22:59:15.942227Z Alex Cherepanov (details)

Increase operand stack to 100000 elements and change stack overflow handling.

[Resource/Init/gs_init.ps psi/interp.c]

2009-03-07T21:46:16.367445Z Till Kamppeter

Let pdftoraster CUPS filter not be build with CUPS < 1.2 and allow suppressing build of pdftoraster via command line option (needed for Mac OS X).

[cups/cups.mak base/Makefile.in base/configure.ac]

2009-03-05T09:56:07.987614Z Ralph Giles (details)

Look for the 'cmap' table in the font dictionary and use it when mapping
a cid to a character code when using the FAPI bridge.

This replaces a segfault with an invalid font error. Bug 689826.

[psi/zfapi.c]

2009-03-04T13:27:07.376818Z Ken Sharp

Fix the FreeType bridge code for outlines (result of charpath). 

The previous code assumed that co-ordinates returned by FT were in a 16.16 fixed
precision format, whereas they are actually in a 26.6 form. Rescale the 26.6 to 16.16
before returning to FAPI so that the conversion into GS co-ordinates works correctly.

[psi/fapi_ft.c]

2009-03-03T16:23:24.892806Z Ken Sharp (details)

Fix (colour): Faulty error handling

[psi/zcolor.c]

2009-03-02T19:54:01.945423Z Ray Johnston

Add mention of 'vewrgb.ps'. See the source for usage.

[doc/Psfiles.htm]

2009-03-02T19:47:28.992085Z Ralph Giles

Update copyright header and file metadata for viewrgb.ps.

[lib/viewrgb.ps]

2009-03-02T18:45:32.781041Z Ray Johnston

Add support for BITS=2, remove left over debugging messages. Note that
this has only been tested for BITS=1, BITS=2, BITS=8. BITS=4 is not
supported (Indexed color space is limited to palette of 4096 colors).

[lib/viewrgb.ps]

2009-03-02T17:44:22.371407Z Ray Johnston

Add a utility to view bitrgb files (derived from viewcmyk.ps)

[lib/viewrgb.ps]

2009-03-02T06:13:02.641888Z Alex Cherepanov

When /JBIG2Decode filter takes /.jbig2globalctx parameter and retains a
pointer to it, the filter must not be allocated in global memory if the
parameter is local. Bug 690308.

[psi/zfjbig2.c]

2009-02-28T00:03:41.220730Z Ralph Giles

Remove a continued line in a makefile variable.

Solaris 'make' doesn't like this. Bug 690311.

[psi/psromfs.mak]

2009-02-26T04:07:56.132242Z Ray Johnston (details)

Fix for access to potentially uninitialized memory in gx_hld_get_gstate_ptr
when called with an imager_state that is on the stack (as it is when this
is called from the clist). Valgrind spotted this. See coment #5 in Bug
690299.

[base/gsstate.c base/gxclist.c base/gxistate.h base/gdevvec.c base/gxhldevc.c]

2009-02-26T03:51:58.114906Z Ray Johnston

Add some documentation on a useful debugging PS operator and it's C code hook.

[doc/Language.htm]

2009-02-23T19:17:44.665816Z Marcos H. Woehrmann (details)


Change the maxval value for pkm and pkmraw files from 1 to 255.

[base/gdevpbm.c]

2009-02-23T11:35:26.753646Z Ken Sharp (details)

Fix (ps2write)

[Resource/Init/opdfread.ps]

2009-02-21T20:59:34.903436Z Ralph Giles

Update the msvc build of the freetype bridge for the new link scheme.

This commmit fixes some errors in the earlier untested update. In addition, the earlier FT_LIB (singular) makefile variable is resurrected for the msvc build only. It is necessary because the freetype project file embeds the release number of build variant in the library filename. If FT_LIB is not set it defaults to the multi-threaded debug build of the 2.3.8 release. Obviously this should be changed when building a binary for release, or against a different version of the freetype library.

[base/winlib.mak doc/Make.htm]

2009-02-20T23:17:14.675067Z Ralph Giles (details)

Replace the hardcoded reference to the FreeType library subpaths with a
more direct specification of compile and link flags.

The msvc build is untested.

[base/winlib.mak doc/Make.htm psi/int.mak]

2009-02-20T23:17:10.859552Z Ralph Giles

Add some missing dependencies to the interpreter makefile.

Strangely, these don't help ensure arch.h is built before write_t2.c.

[psi/int.mak]

2009-02-20T23:17:08.595733Z Ralph Giles

Replace 'Free Type' with 'FreeType' in the build documentation.

[doc/Make.htm]

2009-02-20T23:17:05.547619Z Ralph Giles (details)

Update freetype includes to the currently recommended scheme.

[psi/fapi_ft.c psi/int.mak]

2009-02-20T19:10:04.104225Z Alex Cherepanov

Check that gs_init.ps can be found at $(GenericResourceDir)Init/gs_init.ps
Issue a warning if this file cannot be found. Bug 690289.

[Resource/Init/gs_res.ps]

2009-02-19T18:53:21.845051Z Ralph Giles

Update our internal copy of the libpng source to the 1.2.35 release.

[libpng]

2009-02-19T18:52:24.164375Z Ralph Giles

Move the libpng source out of the way for an upgrade.

[libpng]

2009-02-19T17:13:36.155519Z Ray Johnston

Fix for segfault reported as bug 690051 caused by the assumption that the architecture
had 32-bit integers. Thanks to Wendy for the patch.

[base/gdevsgi.h base/gdevsgi.c]

2009-02-17T20:40:38.935981Z Alex Cherepanov

Remove obsolete information from Use.htm. Ghostscript now accepts PDF from
standard input and, since rev. 610 flushpage occurs even with -dNOPROMPT .

[doc/Use.htm]

2009-02-16T20:00:17.223054Z Ralph Giles

Set native eol-style on the jasper library source. Bug 690292.

[jasper/src/libjasper/include/jasper/jas_types.h jasper/src/libjasper/jpc/jpc_cs.c jasper/src/libjasper/mif/mif_cod.h jasper/src/libjasper/pgx/pgx_enc.c jasper/src/libjasper/bmp/bmp_cod.c jasper/src/libjasper/jpc/jpc_cs.h jasper/src/libjasper/ras/ras_dec.c jasper/src/libjasper/pgx/pgx_enc.h jasper/src/libjasper/bmp/bmp_cod.h jasper/src/libjasper/base/jas_version.c jasper/src/libjasper/jpc/jpc_qmfb.c jasper/src/libjasper/ras/ras_cod.c jasper/src/libjasper/base/jas_iccdata.c jasper/src/libjasper/base/jas_seq.c jasper/src/libjasper/jpg/jpg_val.c jasper/src/libjasper/jpc/jpc_qmfb.h jasper/src/libjasper/jpc/jpc_fix.h jasper/src/libjasper/jpc/jpc_tagtree.c jasper/src/libjasper/ras/ras_cod.h jasper/src/libjasper/pgx/pgx_dec.c jasper/src/libjasper/jpc/jpc_tagtree.h jasper/src/libjasper/base/jas_getopt.c jasper/src/libjasper/jpc/jpc_mqenc.c jasper/src/libjasper/include/jasper/jas_getopt.h jasper/src/libjasper/jpg/jpg_dummy.c jasper/src/libjasper/jpc/jpc_bs.c jasper/src/libjasper/include/jasper/jas_init.h jasper/src/libjasper/jpc/jpc_enc.c jasper/src/libjasper/base/jas_string.c jasper/src/libjasper/base/jas_malloc.c jasper/src/libjasper/include/jasper/jas_string.h jasper/src/libjasper/include/jasper/jas_malloc.h jasper/src/libjasper/jpc/jpc_mqenc.h jasper/src/libjasper/pgx/pgx_cod.c jasper/src/libjasper/jpc/jpc_bs.h jasper/src/libjasper/jpc/jpc_t1enc.c jasper/src/libjasper/jpc/jpc_enc.h jasper/src/libjasper/jpg/jpg_enc.c jasper/src/libjasper/pgx/pgx_cod.h jasper/src/libjasper/jpc/jpc_t1enc.h jasper/src/libjasper/jpg/jpg_enc.h jasper/src/libjasper/include/jasper/jas_version.h jasper/src/libjasper/include/jasper/jas_seq.h jasper/src/libjasper/jpc/jpc_mqdec.c jasper/src/libjasper/include/jasper/jas_math.h jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/jpc/jpc_flt.h jasper/src/libjasper/jpc/jpc_dec.c jasper/src/libjasper/include/jasper/jas_stream.h jasper/src/libjasper/base/jas_icc.c jasper/src/libjasper/jpc/jpc_mqdec.h jasper/src/libjasper/jpc/jpc_t1dec.c jasper/src/libjasper/jpc/jpc_dec.h jasper/src/libjasper/pnm/pnm_enc.c jasper/src/libjasper/jpg/jpg_dec.c jasper/src/libjasper/jp2/jp2_enc.c jasper/src/libjasper/jpc/jpc_mqcod.c jasper/src/libjasper/jpc/jpc_t1dec.h jasper/src/libjasper/pnm/pnm_enc.h jasper/src/libjasper/base/jas_tvp.c jasper/src/libjasper/jpc/jpc_mqcod.h jasper/src/libjasper/jpc/jpc_t1cod.c jasper/src/libjasper/jpc/jpc_cod.h jasper/src/libjasper/jpc/jpc_t2enc.c jasper/src/libjasper/jpc/jpc_util.c jasper/src/libjasper/jpc/jpc_t1cod.h jasper/src/libjasper/jpc/jpc_t2enc.h jasper/src/libjasper/jpc/jpc_util.h jasper/src/libjasper/jpg/jpg_cod.h jasper/src/libjasper/jpc/jpc_mct.c jasper/src/libjasper/include/jasper/jas_image.h jasper/src/libjasper/include/jasper/jas_debug.h jasper/src/libjasper/pnm/pnm_dec.c jasper/src/libjasper/jpc/jpc_mct.h jasper/src/libjasper/include/jasper/jas_config_win32.h jasper/src/libjasper/jpc/jpc_math.c jasper/src/libjasper/jp2/jp2_dec.c jasper/src/libjasper/jpg/jpg_jpeglib.h jasper/src/libjasper/jpc/jpc_math.h jasper/src/libjasper/jp2/jp2_dec.h jasper/src/libjasper/base/jas_cm.c jasper/src/libjasper/include/jasper/jas_icc.h jasper/src/libjasper/include/jasper/jas_cm.h jasper/src/libjasper/jpc/jpc_t2dec.c jasper/src/libjasper/pnm/pnm_cod.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/jp2/jp2_cod.c jasper/src/libjasper/include/jasper/jas_config.h jasper/src/libjasper/jpc/jpc_t2dec.h jasper/src/libjasper/pnm/pnm_cod.h jasper/src/libjasper/jp2/jp2_cod.h jasper/src/libjasper/bmp/bmp_enc.c jasper/src/libjasper/include/jasper/jas_tvp.h jasper/src/libjasper/jpc/jpc_t2cod.c jasper/src/libjasper/bmp/bmp_enc.h jasper/src/libjasper/jpc/jpc_t2cod.h jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_debug.c jasper/src/libjasper/include/jasper/jas_fix.h jasper/src/libjasper/ras/ras_enc.c jasper/src/libjasper/include/jasper/jasper.h jasper/src/libjasper/ras/ras_enc.h jasper/src/libjasper/jpc/jpc_tsfb.c jasper/src/libjasper/bmp/bmp_dec.c jasper/src/libjasper/jpc/jpc_tsfb.h jasper/src/libjasper/mif/mif_cod.c]

2009-02-16T19:58:09.175955Z Ralph Giles

Convert a jasper source file to unix line endings. Bug 690292.

[jasper/src/libjasper/jpc/jpc_qmfb.c]

2009-02-14T00:46:58.521562Z Ralph Giles

Don't strip dynamic driver modules when linking them.

This is better done at the install or packaging stages if space is a 
concern.

Also, propagate LDFLAGS to the link command line. This may or may not be 
what you want, but is more likely to help helpful than not.

After a patch by Kevin Pyle. Bug 690288. Originally Gentoo bug 215913.

[base/devs.mak]

2009-02-13T09:22:34.492616Z Ken Sharp (details)

Fix (TrueType interpreter): Ignore a 'faulty font' condition

[base/ttinterp.c]

2009-02-12T21:07:53.759360Z Alex Cherepanov

Limit the length of a buffer string for CCITTFaxEncode compression in
Type 32 font to 65535. Old code used worst case estimation (5x expansion)
that exceeded maximum string size for large glyphs. Bug 690286.

[Resource/Init/gs_typ32.ps]

2009-02-11T20:35:13.542448Z Henry Stiles

Revert the last change which was completely wrong.  The system does
not support depth 3 as Ray pointed out.  As it turns out the depth is
corrected so there is no difference in output between the two
configurations.

[base/gdevbit.c]

2009-02-11T19:37:42.026795Z Henry Stiles

The default bitrgb device prototype specified a depth of 4 instead of
3.  This change will break all regression tests that use bitrgb
(hopefully).

[base/gdevbit.c]

2009-02-11T15:41:25.950909Z Ken Sharp (details)

Fix (TrueType interpreter): Ignore a 'faulty font' error

[base/ttinterp.c]

2009-02-10T19:55:40.527955Z Ralph Giles

Move some components of the freetype bridge to the interpreter source 
directory.

These should have been put there in the source tree reorganization.

[base/write_t1.c base/wrfont.c base/write_t2.c psi/write_t1.c psi/wrfont.c psi/write_t2.c base/write_t1.h base/wrfont.h base/write_t2.h psi/write_t1.h psi/wrfont.h psi/write_t2.h]

2009-02-10T17:38:02.642910Z Marcos H. Woehrmann (details)

Make the font cache determinstic.

[base/gxfcache.h base/gsfont.c base/gxccman.c]

2009-02-10T11:56:30.899368Z Ken Sharp (details)

Fix (graphics library): Rotated/skewed text not anti-aliased

[base/gxchar.c]

2009-02-10T02:17:30.702347Z Ralph Giles

Propagate LDFLAGS when linking the pdftoraster utility. Bug 690279.

Also, move the cups link libraries to the end of the command line
for tools that require dependency order.

[cups/cups.mak]

2009-02-09T22:18:20.864249Z Ralph Giles (details)

Protect some printf-like calls in the pcl3 output device from spurious
format specifiers. This eliminates a security-related gcc warning.

[contrib/pcl3/eprn/gdeveprn.c contrib/pcl3/src/gdevpcl3.c]

2009-02-09T22:18:18.594295Z Ralph Giles (details)

Have gs_throw_code() print the corresponding error string literally to
avoid interpretation of spurious format specifiers. This removes a
security-related gcc warning.

[base/gserror.h]

2009-02-09T00:32:35.099915Z Alex Cherepanov

Add a reference to doc/Use.htm#CIDFontSubstitution to the message about
CIDFont substitution based on registery and ordering data. Bug 690102.

[Resource/Init/pdf_font.ps]

2009-02-08T06:05:54.380114Z Alex Cherepanov

Correct handling of the operand stack overflow requires one more element than
the normal case. The maximum operand stack size has been reduced by 1 element
relatively to the size set by rev. 6889 for the bug 688764. Bug 690209.

[Resource/Init/gs_init.ps]

2009-02-06T19:17:54.834304Z Ray Johnston (details)

Fix for 0 length files from the bit*** devices when -dLastLine was not set.
The LastLine now defaults to the last line of the page (height-1). Bug 690217.
Thanks to Piotr Strzelczyk for spotting this.

[base/gdevbit.c]

2009-02-05T13:29:10.275517Z Ken Sharp (details)

New feature (pswrite): Center pages on output, new switch -dCenterPages

[doc/Ps2ps2.htm base/gdevpdfx.h base/gdevpdfp.c Resource/Init/opdfread.ps base/gdevpdfu.c]

2009-02-04T08:45:21.899308Z Ken Sharp (details)

Fix (pdfwrite): Limit on CIDFont size too low

[base/gdevpsf2.c]

2009-02-04T08:44:40.067265Z Ken Sharp (details)

Fix (pswrite): Incorrect A3 page size

[base/gdevpsu.c]

2009-02-04T03:39:35.058845Z Alex Cherepanov

Keep reading the data sources until all of them reach EOF instead of bailing
out when the first one reaches EOF. Different data sources can use different
compression techniques and buffer sizes. The mask in masked images also has
different length than other streams.
Bug 690237, customer 850.

[psi/zimage.c]

2009-02-03T23:56:30.290105Z Alex Cherepanov

Add one more header type to the list of possible CFF headers.
Bug 690256, customer 210.

[Resource/Init/pdf_font.ps]

2009-02-03T19:23:42.937693Z Ralph Giles

Bump version number and product name after the 8.64 release.

[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]

2009-02-03T17:03:41.696119Z Ralph Giles

Update release date and change logs for the 8.64 release.

[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]

2009-02-02T19:13:01.319812Z Ralph Giles

Update change logs and release date for 8.64rc3.

[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/Changes.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Ps2ps2.htm doc/Fonts.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Details.htm doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]

2009-02-02T08:58:11.805173Z Ray Johnston (details)

Fix broken bbox device caused by the 'fillpage' commit of rev 9288. This
resolves bug 690260 and other cases where the bbox was all 0's.

[base/gdevbbox.c]