diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2009-01-26 19:25:28 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2009-01-26 19:25:28 +0000 |
commit | 4703a6dfd709e0c43abdccdb5c6f2a699c07ab6a (patch) | |
tree | 0fcd89e01d4166e8750cf1f9f48e5b7c8dc68fcf | |
parent | c1d137daff658088f4129d4219ae2cd91ddd6bf3 (diff) |
Update changelogs for 8.64rc1.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9403 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/doc/Changes.htm | 3314 | ||||
-rw-r--r-- | gs/doc/Details.htm | 5697 | ||||
-rw-r--r-- | gs/doc/Details8.htm | 5479 | ||||
-rw-r--r-- | gs/doc/History8.htm | 3959 | ||||
-rw-r--r-- | gs/doc/News.htm | 5 |
5 files changed, 14730 insertions, 3724 deletions
diff --git a/gs/doc/Changes.htm b/gs/doc/Changes.htm index e31eaf416..0346ae093 100644 --- a/gs/doc/Changes.htm +++ b/gs/doc/Changes.htm @@ -8,2759 +8,3445 @@ </head> <body> -<p><strong><a name="2008-08-01T175317.331788Z"></a> -2008-08-01T17:53:17.331788Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T185939.072673Z"></a> +2009-01-26T18:59:39.072673Z Ralph Giles</strong></p> <blockquote> <pre> -Bump the product name an date for the 8.63 release. +Release notes for 8.64rc1. </pre> -<p>[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 src/gscdef.c 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 src/version.mak 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 doc/Htmstyle.htm 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]</p> +<p>[doc/News.htm]</p> </blockquote> -<p><strong><a name="2008-07-31T210650.284451Z"></a> -2008-07-31T21:06:50.284451Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T180553.102397Z"></a> +2009-01-26T18:05:53.102397Z Ralph Giles</strong></p> <blockquote> <pre> -Update change logs for 8.63rc3. +Propagate release number and date to the documentation. </pre> -<p>[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 src/version.mak 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 doc/Htmstyle.htm 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/Details.htm doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[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/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]</p> </blockquote> -<p><strong><a name="2008-07-29T203541.916113Z"></a> -2008-07-29T20:35:41.916113Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-26T180416.208144Z"></a> +2009-01-26T18:04:16.208144Z Ralph Giles</strong></p> <blockquote> <pre> -Fix problem with NumRenderingThreads>0 with devices that request data from -the bottom up such as the 'bmp*' devices. Bug 689985. +Bump release numbers and copyright dates for 8.64rc1. </pre> -<p>[src/gxclthrd.c]</p> +<p>[base/gscdef.c base/version.mak doc/News.htm psi/dwsetup.rc psi/winint.mak doc/Release.htm]</p> </blockquote> -<p><strong><a name="2008-07-29T191131.677116Z"></a> -2008-07-29T19:11:31.677116Z Alex Cherepanov</strong> (<a href="Details.htm#2008-07-29T191131.677116Z">details</a>)</p> +<p><strong><a name="2009-01-26T180243.525231Z"></a> +2009-01-26T18:02:43.525231Z Ralph Giles</strong></p> <blockquote> <pre> -Add support to NULL pointers in t_structs or t_astructs objects to execstack -operator. Thanks to Ken for the analysis. Bug 689535. +Work around an issue with comment parsing in the pre.tcl release script. +My tclsh seems to be broken. </pre> -<p>[src/zcontrol.c]</p> +<p>[toolbin/pre.tcl]</p> </blockquote> -<p><strong><a name="2008-07-29T180637.196198Z"></a> -2008-07-29T18:06:37.196198Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T180241.107170Z"></a> +2009-01-26T18:02:41.107170Z Ralph Giles</strong></p> <blockquote> <pre> -Update change logs for 8.63rc2. +Update the pre.tcl release script for the new source locations. </pre> -<p>[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 src/version.mak 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 doc/Htmstyle.htm 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/Details.htm doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[toolbin/pre.tcl]</p> </blockquote> -<p><strong><a name="2008-07-29T110111.006826Z"></a> -2008-07-29T11:01:11.006826Z Russell Lang</strong></p> +<p><strong><a name="2009-01-26T180237.633990Z"></a> +2009-01-26T18:02:37.633990Z Ralph Giles</strong></p> <blockquote> <pre> -Allow compilation with Microsoft Visual Studio 2008 (VC 9.0). -Include lib files in the Windows installer when using COMPILE_INITS=1. +Update the pre.tcl release script for the new gs_init.ps location. + +The essential ps library files were moved from lib to Resource/Init for +clarity and simpler behavior with compile-inits. </pre> -<p>[src/winint.mak src/msvc32.mak]</p> +<p>[toolbin/pre.tcl]</p> </blockquote> -<p><strong><a name="2008-07-29T044405.830173Z"></a> -2008-07-29T04:44:05.830173Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T173336.155851Z"></a> +2009-01-26T17:33:36.155851Z Ken Sharp</strong> (<a href="Details.htm#2009-01-26T173336.155851Z">details</a>)</p> <blockquote> <pre> -Avoid a segfault with invalid ccitt fax data streams. Bug 689917. -Patch from Tim Waugh. +Fix (pswrite): Incorrect PageBoundingBox comment location </pre> -<p>[src/scfd.c]</p> +<p>[base/gdevpsu.c]</p> </blockquote> -<p><strong><a name="2008-07-28T222304.128314Z"></a> -2008-07-28T22:23:04.128314Z Michael Vrhel</strong></p> +<p><strong><a name="2009-01-26T171647.546837Z"></a> +2009-01-26T17:16:47.546837Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for Bug 689983. This was introduced with the source space interpolation code. Fixes indexing direction in source data when we have indexed data, interpolation and a negative xx value in the geometric transformation. +Yet more tidying up in the batch file. Adds release builds to the solution, better directory handling, a usage comment in the batch file and, if invoked without parameters, a usage printout for the user.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> +<p><strong><a name="2009-01-25T065945.428302Z"></a> +2009-01-25T06:59:45.428302Z Ralph Giles</strong></p> +<blockquote> +<pre> +Make the GS_SPLIT_LIBS configure function only recognize -l at the start +of an argument, to avoid false positives from hyphens inside linker +arguments. Bug 690254. </pre> -<p>[src/gxiscale.c]</p> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-24T093146.808669Z"></a> +2009-01-24T09:31:46.808669Z Ken Sharp</strong></p> +<blockquote> +<pre> +This batch file, to generate a MSVC solution for building GS, was invalidated by the source re-organisation, and the inclusion of the resources in a ROM file system. + +Fixed various aspects so that it now works again, basically.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2009-01-24T090550.373013Z"></a> +2009-01-24T09:05:50.373013Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a check when comparing clip paths to see if both are NULL. Silences a Coverity warning and one day might conceivably prevent a crash.</pre> +<p>[base/gdevpdfd.c]</p> </blockquote> -<p><strong><a name="2008-07-28T204443.542926Z"></a> -2008-07-28T20:44:43.542926Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-23T225302.093705Z"></a> +2009-01-23T22:53:02.093705Z Ralph Giles</strong></p> <blockquote> <pre> -Update change logs for 8.63rc1. +Convert 24 bit RGB data to grayscale when printing in monochrome with +eplaser device. Previously the RGB data was sent as is, resulting in +a stretched and truncated page image. + +Patch from Olaf Meeuwissen. Bug 690252. </pre> -<p>[doc/Changes.htm doc/History8.htm doc/News.htm doc/Details8.htm doc/Details.htm]</p> +<p>[contrib/eplaser/gdevescv.c]</p> </blockquote> -<p><strong><a name="2008-07-28T194125.163173Z"></a> -2008-07-28T19:41:25.163173Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-23T190440.484432Z"></a> +2009-01-23T19:04:40.484432Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a syntax error from r8548. +Continue the the fix from rev. 9384, plug 2 more ways that caused multiple +inclusion of page objects into the linearized file. Bug 690140, customer 932. -This wasn't noticed because double.dev isn't part of the default build. </pre> -<p>[src/zdouble.c]</p> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-28T185841.634974Z"></a> -2008-07-28T18:58:41.634974Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-23T031005.467096Z"></a> +2009-01-23T03:10:05.467096Z Ralph Giles</strong></p> <blockquote> <pre> -Update release date and product name for 8.63rc1. +Use the page parameters set on the X11 device when called by Ghostview. + +This patch allows gv to control the output page parameters, overriding +document and gs default settings. Since it has been tested in the +Debian distribution and is contingent on being wrapped by the viewer, +I consider it low risk. + +Original patch by William Bader. Bug 688943. </pre> -<p>[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 src/gscdef.c 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 src/version.mak 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 doc/Htmstyle.htm man/font2c.1 man/gsnd.1 man/pdfopt.1 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]</p> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T135318.843673Z"></a> +2009-01-22T13:53:18.843673Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise two uninitialised variables. Not thought to be a real problem, but worth making certain. Flagged by Coverity.</pre> +<p>[base/gdevpsf1.c base/gdevpsfx.c]</p> </blockquote> -<p><strong><a name="2008-07-28T185501.811159Z"></a> -2008-07-28T18:55:01.811159Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-22T131507.920292Z"></a> +2009-01-22T13:15:07.920292Z Ken Sharp</strong></p> <blockquote> <pre> -Update news for 8.63rc1. +Check the return value of gdev_prepare_stroke. Another warning from Coverity. </pre> -<p>[doc/News.htm]</p> +<p>[base/gdevps.c]</p> </blockquote> -<p><strong><a name="2008-07-28T120151.595271Z"></a> -2008-07-28T12:01:51.595271Z Alex Cherepanov</strong> (<a href="Details.htm#2008-07-28T120151.595271Z">details</a>)</p> +<p><strong><a name="2009-01-22T025301.653019Z"></a> +2009-01-22T02:53:01.653019Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix extraction of the default subfile from PDF file collection on save -level 0. Export the file name as a PS name from PDF interpreter instance -to protect the name from restore. Bug 689981. +Fix multiple inclusion of page objects referenced from beads array. +Bug 690140, customer 932. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-22T014831.483983Z"></a> +2009-01-22T01:48:31.483983Z Ray Johnston</strong> (<a href="Details.htm#2009-01-22T014831.483983Z">details</a>)</p> +<blockquote> +<pre> +Fix for Segfault with tiffsep devics when a file has more than 64 spot colors +and uses transparency. Clean up indentations to C-style. Problem seen with +Bug 690157. + +</pre> +<p>[base/gdevp14.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2008-07-28T101053.373341Z"></a> -2008-07-28T10:10:53.373341Z Igor Melichev</strong> (<a href="Details.htm#2008-07-28T101053.373341Z">details</a>)</p> +<p><strong><a name="2009-01-22T011735.554315Z"></a> +2009-01-22T01:17:35.554315Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : Improve the logic about zero tile id. +Check for and skip null objects (and other junk) in the /Anots array. +Bug 690244. </pre> -<p>[src/gxclrect.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-07-28T075242.264750Z"></a> -2008-07-28T07:52:42.264750Z Igor Melichev</strong> (<a href="Details.htm#2008-07-28T075242.264750Z">details</a>)</p> +<p><strong><a name="2009-01-21T153455.892148Z"></a> +2009-01-21T15:34:55.892148Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (printer) : A check for buffer space overflow was dramatically overestimated. +Add a couple of error return checks which were missing. Picked up by Coverity.</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T111305.930829Z"></a> +2009-01-19T11:13:05.930829Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 8951 missed an important part of the fix for pswrite, emitting a %%PageBoundingBox for each +page of the output.</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T094756.340575Z"></a> +2009-01-19T09:47:56.340575Z Ken Sharp</strong> (<a href="Details.htm#2009-01-19T094756.340575Z">details</a>)</p> +<blockquote> +<pre> +Fix (pswrite): %%BoundingBox comment geenration + (ps2write): media selection and %%BoundingBox generation </pre> -<p>[src/gdevprn.c]</p> +<p>[doc/Ps2ps2.htm base/gdevpdfx.h base/gdevpsu.c base/gdevpdfp.c base/gdevpdfu.c base/gdevpdfb.h]</p> </blockquote> -<p><strong><a name="2008-07-27T210638.633515Z"></a> -2008-07-27T21:06:38.633515Z Igor Melichev</strong> (<a href="Details.htm#2008-07-27T210638.633515Z">details</a>)</p> +<p><strong><a name="2009-01-18T195758.223740Z"></a> +2009-01-18T19:57:58.223740Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (shading) : Empty clipping was entirely lost. +Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass +correct device type to prn_device_body() macro. thanks to Wendy for the patch. </pre> -<p>[src/gxfill.c]</p> +<p>[base/gdevifno.c]</p> </blockquote> -<p><strong><a name="2008-07-27T191002.737363Z"></a> -2008-07-27T19:10:02.737363Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-16T183848.474888Z"></a> +2009-01-16T18:38:48.474888Z Ken Sharp</strong> (<a href="Details.htm#2009-01-16T183848.474888Z">details</a>)</p> <blockquote> <pre> -Metadata updates for the new zfile header. +Fix (pdfwrite): Invalid metadata for PDF/A output + </pre> -<p>[src/zfile.h doc/Develop.htm]</p> +<p>[base/gdevpdtd.c base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-27T160730.174721Z"></a> -2008-07-27T16:07:30.174721Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-16T050344.102465Z"></a> +2009-01-16T05:03:44.102465Z Ralph Giles</strong></p> <blockquote> <pre> -Remove (complete) duplication of the contents. Cosmetic change only. +Move the font api bridge implementations to the psi directory. + +Bug 690231, fixes the language switch build with ufst. + +These are referenced from int.mak and depend on interpreter-level +headers. So while the font api should be part of the graphics library, +these files actually belong in the interpreter. </pre> -<p>[src/zfile.h]</p> +<p>[psi/fapi_ft.c base/fapiufst.c psi/fapiufst.c base/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2009-01-15T152239.193218Z"></a> +2009-01-15T15:22:39.193218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update a comment to say why the minimum file size is 4KB</pre> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-27T160128.177923Z"></a> -2008-07-27T16:01:28.177923Z Igor Melichev</strong> (<a href="Details.htm#2008-07-27T160128.177923Z">details</a>)</p> +<p><strong><a name="2009-01-15T152015.993430Z"></a> +2009-01-15T15:20:15.993430Z Ken Sharp</strong> (<a href="Details.htm#2009-01-15T152015.993430Z">details</a>)</p> <blockquote> <pre> -Fix (clist) : Skip writing unuseful data with linear color triangle. +Fix (pdfopt): Minimum optimised file size changed in Acrobat 9 </pre> -<p>[src/gxclrast.c src/gxclrect.c]</p> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-27T093842.451745Z"></a> -2008-07-27T09:38:42.451745Z Igor Melichev</strong> (<a href="Details.htm#2008-07-27T093842.451745Z">details</a>)</p> +<p><strong><a name="2009-01-15T091600.166572Z"></a> +2009-01-15T09:16:00.166572Z Ken Sharp</strong> (<a href="Details.htm#2009-01-15T091600.166572Z">details</a>)</p> <blockquote> <pre> -Fix (True Type font loader) : Can't work around unsorted 'loca' when 'loca' is not loaded. +Fix (pdfwrite) </pre> -<p>[src/bfont.h src/zfcid1.c src/gstype42.c src/zfont42.c]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-27T092937.311275Z"></a> -2008-07-27T09:29:37.311275Z Igor Melichev</strong> (<a href="Details.htm#2008-07-27T092937.311275Z">details</a>)</p> +<p><strong><a name="2009-01-15T075213.786371Z"></a> +2009-01-15T07:52:13.786371Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (PDF interpreter) : A temporary work around huge images with a soft mask. +Fix compilation on Windows NT, which doesn't define LOCALE_IPAPERSIZE. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[base/gp_wpapr.c]</p> </blockquote> -<p><strong><a name="2008-07-27T070342.852634Z"></a> -2008-07-27T07:03:42.852634Z Russell Lang</strong></p> +<p><strong><a name="2009-01-14T225856.327548Z"></a> +2009-01-14T22:58:56.327548Z Ralph Giles</strong></p> <blockquote> <pre> -When building the Windows installer with COMPILE_INITS=1, -do not include the Resource and lib initialization files as -separate files in the installer zip archive. +Check for a null target_info in bbox_image_end_image before +trying to free it. Fixes bug 680019. </pre> -<p>[src/winint.mak]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2008-07-27T025211.521293Z"></a> -2008-07-27T02:52:11.521293Z Alex Cherepanov</strong> (<a href="Details.htm#2008-07-27T025211.521293Z">details</a>)</p> +<p><strong><a name="2009-01-14T111524.692365Z"></a> +2009-01-14T11:15:24.692365Z Igor Melichev</strong> (<a href="Details.htm#2009-01-14T111524.692365Z">details</a>)</p> <blockquote> <pre> -Fix direct access to a subfile in the %rom% file system by reusable -stream. Bug 689976, customers 661, 580. +Fix (graphics) : Redundant patterns in clist (continued 7). </pre> -<p>[src/zfile.h src/gsiorom.c src/int.mak src/zfrsd.c src/zfile.c]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-25T225114.900519Z"></a> -2008-07-25T22:51:14.900519Z Russell Lang</strong></p> +<p><strong><a name="2009-01-13T221721.104569Z"></a> +2009-01-13T22:17:21.104569Z Alex Cherepanov</strong> (<a href="Details.htm#2009-01-13T221721.104569Z">details</a>)</p> <blockquote> <pre> -Change Windows installer to remove "GPL Ghostscript Fonts" target. -Ghostscript now includes fonts in the Resource directory, -and no longer needs the fonts previously installed in -"C:\Program Files\gs\fonts". +Return 0 when accessing Type1C font table out of range or the table is too +short and display a warning if possible. Bug 690050, customer 353. + </pre> -<p>[src/dwsetup.rc src/winint.mak src/dwsetup.h src/dwsetup.cpp]</p> +<p>[Resource/Init/gs_cff.ps]</p> </blockquote> -<p><strong><a name="2008-07-25T011039.451286Z"></a> -2008-07-25T01:10:39.451286Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-13T183837.869412Z"></a> +2009-01-13T18:38:37.869412Z Ray Johnston</strong></p> <blockquote> <pre> -Use reusable stream when the data stream of type 0 function doesn't fit into -a string. Bug 689978, customer 770. +Revert .outputattrkeys to the list prior to rev 8026 to fix problems with +Duplex introduced with that change. Bug 690041. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[Resource/Init/gs_setpd.ps]</p> </blockquote> -<p><strong><a name="2008-07-24T172851.809318Z"></a> -2008-07-24T17:28:51.809318Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-12T193358.722824Z"></a> +2009-01-12T19:33:58.722824Z Ralph Giles</strong></p> <blockquote> <pre> -Fix source style warnings from the nightly regression. +Fix a gcc warning in gxshade6.c. + +When VD_TRACE is not defined, vdtrace.h defines most of its operations +as DO_NOTHING, but with was not done for vd_restore and vd_disable, +causing compiler warnings in gxshade6.c, where vd_disable is called +as the sole body of an if() statement. + +Bug 690204. </pre> -<p>[src/aes.h doc/Develop.htm toolbin/clusterpush.sh]</p> +<p>[base/vdtrace.h]</p> </blockquote> -<p><strong><a name="2008-07-24T020607.385871Z"></a> -2008-07-24T02:06:07.385871Z Michael Vrhel</strong></p> +<p><strong><a name="2009-01-12T165159.689070Z"></a> +2009-01-12T16:51:59.689070Z Ken Sharp</strong> (<a href="Details.htm#2009-01-12T165159.689070Z">details</a>)</p> <blockquote> <pre> -Clean up of // comment in code and debug ifdef that should have been removed for r8868</pre> -<p>[src/gxiscale.c]</p> +Fix (pdfwrite): Invalid metadata for PDF/A output + +</pre> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-24T004206.095459Z"></a> -2008-07-24T00:42:06.095459Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-10T221118.954264Z"></a> +2009-01-10T22:11:18.954264Z Till Kamppeter</strong></p> <blockquote> <pre> -Change the XYSSL AES implementation to better match our conventions. +Add "-sstdout=%stderr" to scripts that call gs so that they don't corrupt their own output when outputing to stdout (Thanks to Dan Sheridan (djs at adelard dot com), Ubuntu bug #314439). + </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[lib/eps2eps lib/ps2pdfwr lib/ps2ps lib/ps2ps2 lib/dvipdf]</p> </blockquote> -<p><strong><a name="2008-07-24T004204.729720Z"></a> -2008-07-24T00:42:04.729720Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-09T085340.554994Z"></a> +2009-01-09T08:53:40.554994Z Till Kamppeter</strong></p> <blockquote> <pre> -Change the XYSSL AES implementation to build in isolation. +Added support for GNU Hurd (patch from Debian package). </pre> -<p>[src/aes.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-24T004202.863201Z"></a> -2008-07-24T00:42:02.863201Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-09T002818.396434Z"></a> +2009-01-09T00:28:18.396434Z Ray Johnston</strong></p> <blockquote> <pre> -Replace Brian Gladman's AES implementation with a no-advertising BSD -version from XYSSL 0.9. Used with permission of Christophe Devine. +Correct very minor typo. </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-07-24T004201.337493Z"></a> -2008-07-24T00:42:01.337493Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-08T212855.852108Z"></a> +2009-01-08T21:28:55.852108Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix some compile problems in Brian Gladman's AES implementation -and disable 'on the fly keying' routines we don't need. +Small correction on ./configure magic for libpaper. </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-23T232939.935990Z"></a> -2008-07-23T23:29:39.935990Z Michael Vrhel</strong> (<a href="Details.htm#2008-07-23T232939.935990Z">details</a>)</p> +<p><strong><a name="2009-01-08T125135.348058Z"></a> +2009-01-08T12:51:35.348058Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for Bug 689246. When performing interpolation, the interpolation is now performed in the source colorspace as opposed to the device space. Custom color callback is no longer bypassed by direct concretization as it was previously. +Added auto-detection for libpaper to the configure script +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-08T124328.851914Z"></a> +2009-01-08T12:43:28.851914Z Igor Melichev</strong> (<a href="Details.htm#2009-01-08T124328.851914Z">details</a>)</p> +<blockquote> +<pre> +Fix (TT font handler) : Wrong glyph posiitions with vertical writing mode (continued). </pre> -<p>[src/lib.mak src/gxiscale.c src/gxcolor2.h src/gximage.h src/gscindex.h src/gscolor2.c]</p> +<p>[base/gstype42.c]</p> </blockquote> -<p><strong><a name="2008-07-23T225250.086155Z"></a> -2008-07-23T22:52:50.086155Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-08T091718.162362Z"></a> +2009-01-08T09:17:18.162362Z Russell Lang</strong> (<a href="Details.htm#2009-01-08T091718.162362Z">details</a>)</p> <blockquote> <pre> -Fix possible use of uninitialized variable 'mem_space'. Compute the value -when no-transparency is in effect prior to adding in the space needed for -transparency. Thanks to Michael Vrhel for spotting this. +Automatically select the default paper size from the locale +on the Windows platform, and make provision for doing this +on Linux. + </pre> -<p>[src/gdevprn.c]</p> +<p>[base/openvms.mmk base/lib.mak base/gp_paper.c doc/Use.htm doc/Develop.htm base/unix-aux.mak base/macos-mcp.mak psi/zmisc.c psi/os2.mak base/winlib.mak base/watclib.mak base/gp.h Resource/Init/gs_init.ps base/openvms.mak base/gp_upapr.c base/gp_wpapr.c doc/Language.htm]</p> </blockquote> -<p><strong><a name="2008-07-23T215521.014656Z"></a> -2008-07-23T21:55:21.014656Z Igor Melichev</strong> (<a href="Details.htm#2008-07-23T215521.014656Z">details</a>)</p> +<p><strong><a name="2009-01-08T080441.159684Z"></a> +2009-01-08T08:04:41.159684Z Russell Lang</strong></p> <blockquote> <pre> -Fix (graphics) : Write tile id into a pattern clist (continued). +Fix stackunderflow when specified PAPERSIZE is unknown. +Ghostscript will now use the device default page size when +PAPERSIZE is unknown. +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-07T173655.528046Z"></a> +2009-01-07T17:36:55.528046Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprinting with transparency. This fixes bugs related to the lack of overprint support when there is transparency present in the file. + +DETAILS: Previously if a sep device is used when processing a file that contains both transparency and overprinting, the overprinted colors would blow away the other sep colors. In this commit, there was one fix to improper geometry in pfd14_cmykspot_put_image. The remaining changes involved 1) passing overprint compositor actions to the pdf14 device, which occurs during the clist reading phase (in pdf14_create_compositor) 2) adding over_print and overprint mode to the pdf14 clist parameters (this follows the same process that is currently done for text knockout, blend mode etc) and 3) adding the actual fill support in pdf14_mark_fill_rectangle. + +EXPECTED DIFFERENCES: In the regression tests Bug688631.pdf and Bug690206.pdf will have slight differences due to the blending of spot colors when the color space is subtractive. This matches what is seen in AR.</pre> +<p>[base/gdevp14.c base/gdevp14.h base/gstrans.h]</p> +</blockquote> + +<p><strong><a name="2009-01-07T083314.825057Z"></a> +2009-01-07T08:33:14.825057Z Ken Sharp</strong> (<a href="Details.htm#2009-01-07T083314.825057Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF Interpreter): Default Unicode decoding clashing with ToUnicode CMap </pre> -<p>[src/gxclrast.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-07-22T210307.709088Z"></a> -2008-07-22T21:03:07.709088Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-06T143801.194845Z"></a> +2009-01-06T14:38:01.194845Z Ken Sharp</strong> (<a href="Details.htm#2009-01-06T143801.194845Z">details</a>)</p> <blockquote> <pre> -Turn off the NOISY 'VERBOSE' setting by default. +Fix (pdfwrite): Missing glyphs in CIDFont causing errors. + </pre> -<p>[src/rinkj/rinkj-epson870.c]</p> +<p>[base/gdevpdtc.c]</p> </blockquote> -<p><strong><a name="2008-07-22T183234.998275Z"></a> -2008-07-22T18:32:34.998275Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-06T141130.802229Z"></a> +2009-01-06T14:11:30.802229Z Igor Melichev</strong> (<a href="Details.htm#2009-01-06T141130.802229Z">details</a>)</p> <blockquote> <pre> -Change the default GS_CLIENT_COLOR_MAX_COMPONENTS to 8 (down from 252). -This improves the performance for files with many images. This limits -the number of DeviceN components and the number of separations that -can be generated in the default build and causes 'limitcheck' errors -on CET tests that attempt to set a 250 component DeviceN space. +Fix (PDF interpreter) : A more explanatory message when a CID font is missing. -THIS IS NOT BACKWARDS COMPATIBLE, but the change in ths single file -so this can readily be rebuilt by customers that need more components -or anyone that demands conformance to this implementation dependent -result on the CET. Note that not all Adobe implementations support -250 components as CPSI does. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> -Currently only the tiffsep and psdcmyk devices can generate more than -8 separations, and then only when USE_COMPRESSED_ENCODING is used to -fit more than 8 components in a 64-bit color value. +<p><strong><a name="2009-01-05T171701.015629Z"></a> +2009-01-05T17:17:01.015629Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Removed old code that failed in 2009. +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> -This partly reverts rev 7159. +<p><strong><a name="2009-01-05T140204.227069Z"></a> +2009-01-05T14:02:04.227069Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added examples of PostScript files with CJK text +</pre> +<p>[examples/cjk examples/cjk/all_ag1.ps examples/cjk/iso2022.ps examples/cjk/all_aj1.ps examples/cjk/all_aj2.ps examples/cjk/all_ak1.ps examples/cjk/gscjk_ac.ps examples/cjk/iso2022v.ps examples/cjk/gscjk_ag.ps examples/cjk/gscjk_aj.ps examples/cjk/all_ac1.ps examples/cjk/article9.ps examples/cjk/gscjk_ak.ps]</p> +</blockquote> +<p><strong><a name="2009-01-05T103413.766328Z"></a> +2009-01-05T10:34:13.766328Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Accidentally committed an obsolete patch. Reverted. </pre> -<p>[src/gsccolor.h]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2008-07-22T142325.922113Z"></a> -2008-07-22T14:23:25.922113Z Ken Sharp</strong> (<a href="Details.htm#2008-07-22T142325.922113Z">details</a>)</p> +<p><strong><a name="2009-01-04T202047.824575Z"></a> +2009-01-04T20:20:47.824575Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (pdfwrite): limit checking of CIDfonts for 'fixed width' property. +Fix sigbus/segfaults on sparc, hppa, etc. Debian bug 453903. + +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453903 for details. </pre> -<p>[src/zfcid1.c]</p> +<p>[psi/store.h]</p> </blockquote> -<p><strong><a name="2008-07-22T062414.072316Z"></a> -2008-07-22T06:24:14.072316Z Igor Melichev</strong> (<a href="Details.htm#2008-07-22T062414.072316Z">details</a>)</p> +<p><strong><a name="2009-01-04T201519.267170Z"></a> +2009-01-04T20:15:19.267170Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (graphics) : Write tile id into a pattern clist. +Improved man pages of ps2pdf. +</pre> +<p>[man/ps2pdf.1 man/de/ps2pdf.1]</p> +</blockquote> +<p><strong><a name="2009-01-04T201328.072664Z"></a> +2009-01-04T20:13:28.072664Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed syntax error in gs.css. </pre> -<p>[src/gxclbits.c src/gxclist.h src/gdevprn.c src/gxclrast.c]</p> +<p>[doc/gs.css]</p> </blockquote> -<p><strong><a name="2008-07-21T232313.534369Z"></a> -2008-07-21T23:23:13.534369Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-04T201157.725211Z"></a> +2009-01-04T20:11:57.725211Z Till Kamppeter</strong></p> <blockquote> <pre> -Update the license statement for Kevin Hartig's hana fonts. +Assorted script fixes. +</pre> +<p>[lib/ps2epsi lib/dumphint lib/dvipdf]</p> +</blockquote> -They are now under the SIL Open Font License 1.1 with reserved font -names Calligraphic-Hiragana and Calligraphic-Katakana. +<p><strong><a name="2009-01-04T200704.350954Z"></a> +2009-01-04T20:07:04.350954Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix insecure script in toolbin. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> -See Bug 688674 for the relicensing declaration. +<p><strong><a name="2009-01-04T200541.434499Z"></a> +2009-01-04T20:05:41.434499Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Typo fixes in "gs" man page. </pre> -<p>[lib/Fontmap.GS]</p> +<p>[man/gs.1]</p> </blockquote> -<p><strong><a name="2008-07-21T202221.005889Z"></a> -2008-07-21T20:22:21.005889Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-04T200338.607601Z"></a> +2009-01-04T20:03:38.607601Z Till Kamppeter</strong></p> <blockquote> <pre> -Remove obsolete and probably non-working support for ancient DesqView (DOS -multi-taksing). This probably should have been dropped when we dropped 16-bit -support. +Fix segfault in X device when page size changes. </pre> -<p>[src/dvx-tail.mak src/dvx-gcc.mak src/dvx-head.mak]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2008-07-21T185531.311238Z"></a> -2008-07-21T18:55:31.311238Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-04T200110.696570Z"></a> +2009-01-04T20:01:10.696570Z Till Kamppeter</strong></p> <blockquote> <pre> -Wrap string data source into a procedure when /ImscaleDecode filter is -installed, to ensure repeated reading of the string when the imagemask -needs more data than has the string. Allocate new composite objects -with the same global status as old ones. Bug 689889, customer 330. +Adjust the margins for Epson dot matrix printer drivers +</pre> +<p>[base/gdevepsn.c]</p> +</blockquote> +<p><strong><a name="2009-01-04T195854.777417Z"></a> +2009-01-04T19:58:54.777417Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix a problem with Brother 7x0 GDI, contributed to Debian by B. Janssen. </pre> -<p>[lib/gs_img.ps]</p> +<p>[base/gdevhl7x.c]</p> </blockquote> -<p><strong><a name="2008-07-18T205354.538069Z"></a> -2008-07-18T20:53:54.538069Z Ray Johnston</strong> (<a href="Details.htm#2008-07-18T205354.538069Z">details</a>)</p> +<p><strong><a name="2009-01-04T195707.064594Z"></a> +2009-01-04T19:57:07.064594Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for Seg fault caused by wrap around of an unsigned long. Seen at 600 dpi -to pkmraw with Bug689369.pdf and -dBufferSpace=32000000. +Fix segmentation fault on -sDEVICE=bbox, contributed to Debian by Yaroslav Halchenko. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2009-01-03T224550.335886Z"></a> +2009-01-03T22:45:50.335886Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug raw dumping code that I have found useful in my debug of transparency and overprint issues. + +DETAILS : Open images with Photoshop in the raw format with the dimensions given in the file name. + +EXPECTED DIFFERENCES : None + + </pre> -<p>[src/gdevprn.c]</p> +<p>[base/gxblend.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2008-07-17T201152.225244Z"></a> -2008-07-17T20:11:52.225244Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-03T195108.451624Z"></a> +2009-01-03T19:51:08.451624Z Igor Melichev</strong> (<a href="Details.htm#2009-01-03T195108.451624Z">details</a>)</p> <blockquote> <pre> -Increase the default threshold for using the (much slower) pattern clist accumulator. -The 32Mb threshold is tolerable for most host systems and this can be modified during -the build with -DMAX_PATTERN_BITMAP_SIZE=___ (possibly using the makefile XCFLAGS). +Fix (graphics) : Incorrect bounds for clipping list. + +</pre> +<p>[base/gxcpath.c]</p> +</blockquote> -Only embedded systems may want to set this to a smaller value. +<p><strong><a name="2009-01-01T053409.090806Z"></a> +2009-01-01T05:34:09.090806Z Alex Cherepanov</strong> (<a href="Details.htm#2009-01-01T053409.090806Z">details</a>)</p> +<blockquote> +<pre> +Continue to access the stream while reading a string (sgets()) until the +string is filled, EOF is reached, or an error occurs. Don't return after +first partial read. Bug 690152. -This is a temnporary workaround for bug 689966. Improving the performance of the -pattern clist accumulator will be considered a future enhancement. </pre> -<p>[src/gxpcmap.c]</p> +<p>[base/stream.c]</p> </blockquote> -<p><strong><a name="2008-07-17T055119.136291Z"></a> -2008-07-17T05:51:19.136291Z Ray Johnston</strong></p> +<p><strong><a name="2008-12-30T185817.371540Z"></a> +2008-12-30T18:58:17.371540Z Igor Melichev</strong> (<a href="Details.htm#2008-12-30T185817.371540Z">details</a>)</p> <blockquote> <pre> -Update documentation to describe multi-threaded rendering (NumRenderingThreads) -and improve the documentation about the clist/banding parameters and the effect -on performance. Addresses issues raised in bug 689668. +Fix (garbager) : Wrong object marks when the object is freed by a garbager callback. + </pre> -<p>[doc/Use.htm doc/Language.htm]</p> +<p>[psi/igc.c base/gsalloc.c]</p> </blockquote> -<p><strong><a name="2008-07-17T023401.869133Z"></a> -2008-07-17T02:34:01.869133Z Ralph Giles</strong> (<a href="Details.htm#2008-07-17T023401.869133Z">details</a>)</p> +<p><strong><a name="2008-12-29T182508.338456Z"></a> +2008-12-29T18:25:08.338456Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Write pure white as a background in the pngalpha device. Bug 689934. +Script to print out open customer/P1/regression bugs by engineer. + +Usage: bugsByEngineer.pl >report.txt </pre> -<p>[src/gdevpng.c]</p> +<p>[toolbin/bugsByEngineer.pl]</p> </blockquote> -<p><strong><a name="2008-07-16T171929.238633Z"></a> -2008-07-16T17:19:29.238633Z Igor Melichev</strong> (<a href="Details.htm#2008-07-16T171929.238633Z">details</a>)</p> +<p><strong><a name="2008-12-29T064342.727931Z"></a> +2008-12-29T06:43:42.727931Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (transparency) : A mask buffer could left unreleased due to banding. +Fix for Bug 689895. gx_put_blended_image_cmykspot was improperly inverting the alpha channel. +</pre> +<p>[base/gxblend1.c]</p> +</blockquote> + +<p><strong><a name="2008-12-28T160329.366807Z"></a> +2008-12-28T16:03:29.366807Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use a proper destructor to free a file stream when access to the file is not +permitted in the safe mode, not just close the file and drop the rest of the +file structure. Bug 689975. </pre> -<p>[src/gdevp14.c]</p> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T072531.122671Z"></a> +2008-12-26T07:25:31.122671Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 3 last cases of missing prototypes in MS Windows build. +</pre> +<p>[base/lib.mak psi/int.mak psi/zfcid1.c base/gxblend1.c base/gdevddrw.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T044820.570500Z"></a> +2008-12-26T04:48:20.570500Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove the last 2 unused variables from Ghostscript code base. +</pre> +<p>[psi/dwtrace.c base/gdevdjet.c]</p> </blockquote> -<p><strong><a name="2008-07-16T150017.682927Z"></a> -2008-07-16T15:00:17.682927Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-24T203322.470682Z"></a> +2008-12-24T20:33:22.470682Z Alex Cherepanov</strong></p> <blockquote> <pre> -Ignore out-of-range UniqueID in embedded Type 1 PDF fonts. Bug 689973. +Fix a buffer overflow in base font writer module of pdfwrite defice. +Allocate sufficient buffer for the worst case. Bug 690211. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[base/gdevpdtb.c]</p> </blockquote> -<p><strong><a name="2008-07-15T202913.383262Z"></a> -2008-07-15T20:29:13.383262Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-24T153640.083208Z"></a> +2008-12-24T15:36:40.083208Z Ken Sharp</strong> (<a href="Details.htm#2008-12-24T153640.083208Z">details</a>)</p> <blockquote> <pre> -Remove the obsolete pnga device. Bug 689971. +Fix (pdfwrite): Image with SMask fails when inside transparency group. -This was a test framework used in the development of the PDF 1.4 -compositor. It's no longer used. </pre> -<p>[src/devs.mak src/gdevpnga.c]</p> +<p>[base/gdevpdft.c]</p> </blockquote> -<p><strong><a name="2008-07-15T132729.996709Z"></a> -2008-07-15T13:27:29.996709Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-23T090530.676239Z"></a> +2008-12-23T09:05:30.676239Z Ken Sharp</strong> (<a href="Details.htm#2008-12-23T090530.676239Z">details</a>)</p> <blockquote> <pre> -Cache the pattern instance in the PDF pattern object to prevent reprated -pattern instantiation and improve performance. Bug 689896, customer 531. +Fix (pdfwrite): DSC comments interfering with Page Tree Orientation. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[base/gdevpdf.c]</p> </blockquote> -<p><strong><a name="2008-07-14T185340.636598Z"></a> -2008-07-14T18:53:40.636598Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-12-21T143429.309508Z"></a> +2008-12-21T14:34:29.309508Z Igor Melichev</strong> (<a href="Details.htm#2008-12-21T143429.309508Z">details</a>)</p> <blockquote> <pre> +Fix (PS interpreter) : The operator 'gstate' leaked memory. + +</pre> +<p>[psi/zdps1.c]</p> +</blockquote> -Allows the Epson AcuLaser device output to be sent to a pipe (closes bug 689953). +<p><strong><a name="2008-12-21T074652.896538Z"></a> +2008-12-21T07:46:52.896538Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement Algorithm 8.1 from PDF 1.6 Reference. Map /BBox of the appearance +stream transformed by /Matrix onto the annotation rectangle. +Bug 690195, customer 770. -Thanks to j@uriah.heep.sax.de (Joerg Wunsch) for the patch. </pre> -<p>[contrib/eplaser/gdevescv.c]</p> +<p>[psi/zmatrix.c psi/int.mak Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-13T220619.770532Z"></a> -2008-07-13T22:06:19.770532Z Henry Stiles</strong></p> +<p><strong><a name="2008-12-19T165041.185072Z"></a> +2008-12-19T16:50:41.185072Z Ken Sharp</strong> (<a href="Details.htm#2008-12-19T165041.185072Z">details</a>)</p> <blockquote> <pre> -Rop devices now require access to an allocator instance. Fixes crash -in running pxl fts file T326.BIN with a halftoning device. The bug -was reported by a potential customer and a bugzilla report was never -filed. +Fix: Problem with /DeviceN [/All]. + </pre> -<p>[src/gdevrops.c]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-07-12T014313.151852Z"></a> -2008-07-12T01:43:13.151852Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-19T015318.887063Z"></a> +2008-12-19T01:53:18.887063Z Ralph Giles</strong> (<a href="Details.htm#2008-12-19T015318.887063Z">details</a>)</p> <blockquote> <pre> -Use /.notdef instead of null in the array of PostScript names of TTF glyphs. -This saves the trouble of checking for null values and fixes a case where -a null entry slipped through. Bug 689962, customer 384. +Warn when the JPX ColorSpace key workaround is activated. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-11T231056.624279Z"></a> -2008-07-11T23:10:56.624279Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-19T015317.038875Z"></a> +2008-12-19T01:53:17.038875Z Ralph Giles</strong> (<a href="Details.htm#2008-12-19T015317.038875Z">details</a>)</p> <blockquote> <pre> -Restore the 2_fracs image class to the psl2lib device. +Assume unlabled JPXDecode streams are 8 bit DeviceRGB. + +This is a work-around for bugs 688159, 689058 and 689509. -It was inadvertently removed in r8828. </pre> -<p>[src/lib.mak]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-11T231055.549110Z"></a> -2008-07-11T23:10:55.549110Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-18T233732.655756Z"></a> +2008-12-18T23:37:32.655756Z Alex Cherepanov</strong></p> <blockquote> <pre> -Make the search for the most recent ghostpcl revision more robust. -Thanks to Henry Stiles for the extra quoting idea. +Change accessors to cmap data to support cmap subtables exceeding 64K-1 bytes. +Bug 690206, customer 870. + </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2008-07-11T211049.148153Z"></a> -2008-07-11T21:10:49.148153Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-16T183555.343539Z"></a> +2008-12-16T18:35:55.343539Z Ralph Giles</strong></p> <blockquote> <pre> -Merge clusterpush changes from the ghostpcl tree. +Fix a typo in commit r9288 which broke the X11 device build. Bug 690202. + +Patch by Alex Cherepanov. </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2008-07-11T180013.808434Z"></a> -2008-07-11T18:00:13.808434Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-16T175213.417519Z"></a> +2008-12-16T17:52:13.417519Z Ralph Giles</strong> (<a href="Details.htm#2008-12-16T175213.417519Z">details</a>)</p> <blockquote> <pre> -Check return codes of remote commands and abort if there's a problem. +Add the CVS directory to the romfs exclusion list. Bug 690205. -Previously we continued which could confusingly return the wrong -regression report at the end if the connection drops while waiting -for the run to complete. </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2008-07-11T050607.316809Z"></a> -2008-07-11T05:06:07.316809Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-15T171506.646171Z"></a> +2008-12-15T17:15:06.646171Z Ken Sharp</strong> (<a href="Details.htm#2008-12-15T171506.646171Z">details</a>)</p> <blockquote> <pre> -TrueType instruction definitions (IDEF) are addressed by a single byte index. -So there cannot be mode than 256 different instructions. Nevertheless, a -request a for larger array for instruction definitions should not be a fatal -error. Bug 689960, customer 330. +Enhancement (pdfwrite): Add support for the fillpage method. </pre> -<p>[src/ttobjs.c]</p> +<p>[base/gdevpdfx.h base/gdevpdfd.c base/gdevpdfb.h]</p> </blockquote> -<p><strong><a name="2008-07-10T233600.202299Z"></a> -2008-07-10T23:36:00.202299Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T200537.951803Z"></a> +2008-12-13T20:05:37.951803Z Igor Melichev</strong> (<a href="Details.htm#2008-12-13T200537.951803Z">details</a>)</p> <blockquote> <pre> -Add the so build directories to the clusterpush exclude list. +Enhancement (graphics) : Implement new device virtual method 'fillpage'. + </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[base/gdevrops.c base/gdevdflt.c base/gdevbbox.c base/gxcldev.h base/gxclipm.c base/gsovrc.c base/gxdevice.h base/gdevnfwd.c base/gspaint.c base/gdevddrw.c base/gxclip2.c base/gdevprn.h base/gdevp14.c base/gxdevcli.h base/gxclrect.c base/gdevxini.c base/gxclist.c base/gxclist.h base/gxclip.c base/gxclrast.c]</p> </blockquote> -<p><strong><a name="2008-07-10T233556.971501Z"></a> -2008-07-10T23:35:56.971501Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T165417.751950Z"></a> +2008-12-13T16:54:17.751950Z Igor Melichev</strong> (<a href="Details.htm#2008-12-13T165417.751950Z">details</a>)</p> <blockquote> <pre> -Move the interpolation image class from the ps2 dev to the core graphics -library so it is available to all languages. +Fix (graphics) : Redundant patterns in clist (continued 6). + </pre> -<p>[src/lib.mak]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-10T170039.840394Z"></a> -2008-07-10T17:00:39.840394Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T125514.082194Z"></a> +2008-12-13T12:55:14.082194Z Igor Melichev</strong> (<a href="Details.htm#2008-12-13T125514.082194Z">details</a>)</p> <blockquote> <pre> -Documentation update: we support Separation, DeviceN and a number of PDF 1.7 features. +Fix (graphics) : Redundant patterns in clist (continued 5). + </pre> -<p>[doc/Language.htm]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-09T225900.503580Z"></a> -2008-07-09T22:59:00.503580Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-13T111454.029422Z"></a> +2008-12-13T11:14:54.029422Z Igor Melichev</strong> (<a href="Details.htm#2008-12-13T111454.029422Z">details</a>)</p> <blockquote> <pre> -Use '%PDF-' instead of '%PDF-1.' to recognize PDF files because PDFsharp 0.8.2 -generates '%PDF-0.0' and Acrobat accepts this. Bug 689949, customer 384. +Fix (graphics) : Redundant patterns in clist (continued 4). </pre> -<p>[lib/pdf_main.ps]</p> +<p>[base/gxclpath.c base/gxclimag.c base/gxclrect.c base/gxclpath.h base/gxcldev.h]</p> </blockquote> -<p><strong><a name="2008-07-07T141754.881290Z"></a> -2008-07-07T14:17:54.881290Z Ken Sharp</strong></p> +<p><strong><a name="2008-12-13T101802.260144Z"></a> +2008-12-13T10:18:02.260144Z Ken Sharp</strong> (<a href="Details.htm#2008-12-13T101802.260144Z">details</a>)</p> <blockquote> <pre> -Update the documentation for the NOCIE switch, noting that this also affects the CIEBasedDEF -and CIEBasedDEFG spaces, substituting DeviceRGB and DeviceCMYK for the CIE spaces. +Fix (pdfwrite): Fonts with unusual FontMatrix generating incorrect FontBBox. + </pre> -<p>[doc/Use.htm]</p> +<p>[base/gdevpdtd.c]</p> </blockquote> -<p><strong><a name="2008-07-07T134338.233194Z"></a> -2008-07-07T13:43:38.233194Z Ken Sharp</strong> (<a href="Details.htm#2008-07-07T134338.233194Z">details</a>)</p> +<p><strong><a name="2008-12-13T101347.692668Z"></a> +2008-12-13T10:13:47.692668Z Ken Sharp</strong> (<a href="Details.htm#2008-12-13T101347.692668Z">details</a>)</p> <blockquote> <pre> -Fix warnings from the JPX decoder when using Visual Studio 9. +Fix (pdfwrite): Tidy up code. </pre> -<p>[src/msvccmd.mak]</p> +<p>[base/gdevpsft.c]</p> </blockquote> -<p><strong><a name="2008-07-07T085659.749169Z"></a> -2008-07-07T08:56:59.749169Z Ken Sharp</strong> (<a href="Details.htm#2008-07-07T085659.749169Z">details</a>)</p> +<p><strong><a name="2008-12-10T191043.669416Z"></a> +2008-12-10T19:10:43.669416Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): Images ina DeviceN space with more than 60 inks caused a crash. +Set standard properties on pdf_main.ps. Bug 690198. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-10T072939.713832Z"></a> +2008-12-10T07:29:39.713832Z Igor Melichev</strong> (<a href="Details.htm#2008-12-10T072939.713832Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF interpreter) : Avoid extra erasepage, part 1. </pre> -<p>[src/spngpx.h src/spngp.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-07-06T004519.690811Z"></a> -2008-07-06T00:45:19.690811Z Ray Johnston</strong></p> +<p><strong><a name="2008-12-09T173040.898715Z"></a> +2008-12-09T17:30:40.898715Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-12-09T173040.898715Z">details</a>)</p> <blockquote> <pre> -Fix address/value problem. How this ever seemed to work, who knows. -Thanks to Matthias Kilian for this patch. + +Fix for weird math issue under AIX that cause problems in glpyh spacing when +writing type42 fonts for ps2write and pdfwrite. + +This fixes bug 690118. + </pre> -<p>[src/gdevwts.c]</p> +<p>[base/gdevpsft.c]</p> </blockquote> -<p><strong><a name="2008-07-04T203541.686667Z"></a> -2008-07-04T20:35:41.686667Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-09T084520.654566Z"></a> +2008-12-09T08:45:20.654566Z Ken Sharp</strong> (<a href="Details.htm#2008-12-09T084520.654566Z">details</a>)</p> <blockquote> <pre> -Fix a bug in the error recovery code that handles invalid font streams. -Bug 689936, customer 661. +Fix (pdfwrite): regression with type 3 fonts using show charpath stroke combinations. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[base/gdevpdtc.c base/gdevpdfd.c]</p> </blockquote> -<p><strong><a name="2008-07-04T182044.681886Z"></a> -2008-07-04T18:20:44.681886Z Ralph Giles</strong> (<a href="Details.htm#2008-07-04T182044.681886Z">details</a>)</p> +<p><strong><a name="2008-12-09T080143.121661Z"></a> +2008-12-09T08:01:43.121661Z Igor Melichev</strong> (<a href="Details.htm#2008-12-09T080143.121661Z">details</a>)</p> <blockquote> <pre> -Parse common color space keys in JPXDecode filtered images and pass them -to the filter, allowing JPX-encoded CMYK images to display properly. -Fixes bug 688807. +Fix (graphics) : Redundant patterns in clist (continued 3). </pre> -<p>[src/zfjpx.c src/sjpx.c]</p> +<p>[base/gxclpath.c base/gxclutil.c base/gxcldev.h]</p> </blockquote> -<p><strong><a name="2008-07-03T182555.494578Z"></a> -2008-07-03T18:25:55.494578Z Ralph Giles</strong> (<a href="Details.htm#2008-07-03T182555.494578Z">details</a>)</p> +<p><strong><a name="2008-12-09T075855.697280Z"></a> +2008-12-09T07:58:55.697280Z Igor Melichev</strong> (<a href="Details.htm#2008-12-09T075855.697280Z">details</a>)</p> <blockquote> <pre> -Clean up the state machine in s_jpxd_process. +Fix (graphics) : Redundant patterns in clist (continued 2). </pre> -<p>[src/sjpx.c src/sjpx.h]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-03T182554.527696Z"></a> -2008-07-03T18:25:54.527696Z Ralph Giles</strong> (<a href="Details.htm#2008-07-03T182554.527696Z">details</a>)</p> +<p><strong><a name="2008-12-08T081755.714566Z"></a> +2008-12-08T08:17:55.714566Z Ken Sharp</strong> (<a href="Details.htm#2008-12-08T081755.714566Z">details</a>)</p> <blockquote> <pre> -Fix a hang in s_jpxd_process. Bug 688807. +Fix (pdfwrite): Large type 1 or 2 fonts caused errors with text. </pre> -<p>[src/sjpx.c]</p> +<p>[base/gdevpdtb.c base/gxfcopy.c base/gdevpdtc.c base/gxfcopy.h]</p> </blockquote> -<p><strong><a name="2008-07-03T182552.592596Z"></a> -2008-07-03T18:25:52.592596Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-05T073906.671710Z"></a> +2008-12-05T07:39:06.671710Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove trailing whitespace from the jpx stream implementation. +Check the whole Decode array to detect special cases of identity and inverse +decoding. Previous test analyzed every channel separately and misidentified +decoding arrays like [0 1 1 0 0 1]. Bug 690178. + </pre> -<p>[src/sjpx_luratech.h src/sjpx.c src/sjpx.h src/sjpx_luratech.c]</p> +<p>[base/gxipixel.c]</p> </blockquote> -<p><strong><a name="2008-07-03T130311.896225Z"></a> -2008-07-03T13:03:11.896225Z Igor Melichev</strong> (<a href="Details.htm#2008-07-03T130311.896225Z">details</a>)</p> +<p><strong><a name="2008-12-05T044451.989860Z"></a> +2008-12-05T04:44:51.989860Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : Indeterminizm writing a degenerate curve. +Adds special, tolerant to singular matrix processing, to the case when +ImageMatrix is differs from the CTM by the translation vector only, which +happens in cached character rendering. The patch clears PostScript errors +during text rendering with singular CTM. Bug 690179, customer 870. </pre> -<p>[src/gxclpath.c]</p> +<p>[base/gxipixel.c base/gsimage.c base/gxccache.c]</p> </blockquote> -<p><strong><a name="2008-07-01T102225.835951Z"></a> -2008-07-01T10:22:25.835951Z Igor Melichev</strong> (<a href="Details.htm#2008-07-01T102225.835951Z">details</a>)</p> +<p><strong><a name="2008-11-29T143326.712726Z"></a> +2008-11-29T14:33:26.712726Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : The maximal compositor command size was wrong. +Ignore /ToUnicode attribute when it points to an object other then a stream. +Bug 680138. </pre> -<p>[src/gstparam.h src/gdevp14.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-06-30T235604.281753Z"></a> -2008-06-30T23:56:04.281753Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-29T122704.428583Z"></a> +2008-11-29T12:27:04.428583Z Till Kamppeter</strong></p> <blockquote> <pre> -Document the output filename behavior of ps2pdf in the manpage. -Bug 689920. +The pstopxl CUPS filter did not remove its temporary file. </pre> -<p>[man/ps2pdf.1]</p> +<p>[cups/pstopxl.in]</p> </blockquote> -<p><strong><a name="2008-06-30T181551.663545Z"></a> -2008-06-30T18:15:51.663545Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-27T150537.010932Z"></a> +2008-11-27T15:05:37.010932Z Ken Sharp</strong> (<a href="Details.htm#2008-11-27T150537.010932Z">details</a>)</p> <blockquote> <pre> -Add a missing header dependency. +Fix (pdfwrite): more issues with PDF Text rendering modes. + </pre> -<p>[src/lib.mak]</p> +<p>[Resource/Init/pdf_ops.ps base/gdevpdts.c base/gdevpdfd.c base/gdevpdts.h base/gdevpdfg.c]</p> </blockquote> -<p><strong><a name="2008-06-30T000540.080596Z"></a> -2008-06-30T00:05:40.080596Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-27T052005.725774Z"></a> +2008-11-27T05:20:05.725774Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add one more way to store data of the reusable stream: an array of strings. -Read the input stream into an array of strings during reusable stream -construction and use the array directly as a data storage. -Bug 689476, customer 190. +Use the same name (/PDFType3Untitled) for all Type 3 fonts without /FontName +attribute. PDF interpreter doesn't need unique names and the previous attempt +to generate unique names didn't work. Bug 689358. </pre> -<p>[src/int.mak src/gxshade.c lib/gs_frsd.ps src/zfrsd.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-06-28T145332.570212Z"></a> -2008-06-28T14:53:32.570212Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-27T015854.354925Z"></a> +2008-11-27T01:58:54.354925Z Alex Cherepanov</strong></p> <blockquote> <pre> -Make /?dblacute and /?hungarumlaut glyph names equivalent in Type 1 fonts. -Add a missing glyph when the font is loaded if another glyph is defined. -Bug 689014, customer 580. +Restore language level after loading pdfwrite.ps for consistency and +compatibility with PS utilities. Also pick a few nits that may cause errors +if some of start-up files ever loaded in level 1 mode. Thanks to SaGS +for the patch. Bug 688151. + +</pre> +<p>[lib/pdfwrite.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_cff.ps]</p> +</blockquote> +<p><strong><a name="2008-11-25T171923.759068Z"></a> +2008-11-25T17:19:23.759068Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed paper tray selection for the PCL 4/5/5e drivers (bug 690182). Works fine now with "-dMediaPosition=..." and for all possible trays. Needs review to see whether it does not break anything else. </pre> -<p>[lib/gs_type1.ps]</p> +<p>[base/gdevdjet.c]</p> </blockquote> -<p><strong><a name="2008-06-26T191737.366443Z"></a> -2008-06-26T19:17:37.366443Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-24T230421.969628Z"></a> +2008-11-24T23:04:21.969628Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use extended name table by default and adjust the settings to have -up to 1M names of up to 1K characters long. Bug 689913. +Skip everything before 'begincodespacerange' in ToUnicode CMap stream +to avoid PostScript errors in CMap headers. PDF interpreter doesn't +need any data from the header. Bug 689842, customer 870. </pre> -<p>[src/inamedef.h src/inameidx.h src/inamestr.h]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-06-25T161857.687888Z"></a> -2008-06-25T16:18:57.687888Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-11-24T191504.507271Z"></a> +2008-11-24T19:15:04.507271Z Till Kamppeter</strong></p> <blockquote> <pre> -Fixed compile for Linux. +Fixed input tray selection support in the PCL-XL drivers ("pxlmono"/"pxlcolor"), fixes on CUPS filter and PPDs to make input tray selection actually work. </pre> -<p>[contrib/opvp/gdevopvp.c]</p> +<p>[base/gdevpx.c cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-11-24T110142.358113Z"></a> +2008-11-24T11:01:42.358113Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS filters and PPDs for PCL-XL also work with PDF as input data format +</pre> +<p>[cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> </blockquote> -<p><strong><a name="2008-06-24T141629.258940Z"></a> -2008-06-24T14:16:29.258940Z Igor Melichev</strong> (<a href="Details.htm#2008-06-24T141629.258940Z">details</a>)</p> +<p><strong><a name="2008-11-23T203612.040586Z"></a> +2008-11-23T20:36:12.040586Z Igor Melichev</strong> (<a href="Details.htm#2008-11-23T203612.040586Z">details</a>)</p> <blockquote> <pre> -Fix (graphics) : Clean image enumerator before releasing it. +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (continued) </pre> -<p>[src/gxiparam.h src/gxidata.c src/gsimage.h src/gdevvec.c src/gximage.h src/gximag3x.c src/gdevplnx.c src/devs.mak src/gdevvec.h src/gdevpdfi.c src/gxclimag.c src/lib.mak src/gdevpx.c src/gdevtrac.c src/gdevbbox.c src/gximage1.c src/gximage3.c]</p> +<p>[Resource/Init/gs_cidtt.ps]</p> </blockquote> -<p><strong><a name="2008-06-22T064328.997699Z"></a> -2008-06-22T06:43:28.997699Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-21T142421.693040Z"></a> +2008-11-21T14:24:21.693040Z Till Kamppeter</strong></p> <blockquote> <pre> -Rename the svg device to svgwrite to avoid conflict with the SVG interpreter. +The "cups" output device was logging way to much in CUPS' debug logging mode. Moved some logging to debug2. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2008-11-21T053110.447898Z"></a> +2008-11-21T05:31:10.447898Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a check for bogus '>>' after 'endstream' to recover files generated +by 'Kroll Background Screening'. Bug 690161. -The device is still selected as -sDEVICE=svg, just the name used internally -has been changed. </pre> -<p>[src/Makefile.in src/gdevsvg.c src/devs.mak]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-06-21T140600.424638Z"></a> -2008-06-21T14:06:00.424638Z Igor Melichev</strong> (<a href="Details.htm#2008-06-21T140600.424638Z">details</a>)</p> +<p><strong><a name="2008-11-20T211109.954526Z"></a> +2008-11-20T21:11:09.954526Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (TT interpreter) : A work around a wrong maxPoints. +Move validation of the page tree after installation of the decryption handler +because access to encrypted xref streams needs decryption. Fix regression +introduced by the rev. 8933. Bug 690175. </pre> -<p>[src/ttobjs.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-06-16T161237.522247Z"></a> -2008-06-16T16:12:37.522247Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-11-20T193136.700423Z"></a> +2008-11-20T19:31:36.700423Z Ralph Giles</strong></p> <blockquote> <pre> -Updated to latest versions of files from ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/aj16.tar.Z +Add AES support to the pdf interpreter. -Closes bug 689735. +This commit adds convenience wrappers around the aes stream +implementation to pdf_sec.ps, and calls them when appropriate, +based on the crypt filter methods defined in the file Trailer's +Encrypt dictionary. Bug 688958. + +It also includes comment and whitespace cleanup. </pre> -<p>[Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H]</p> +<p>[Resource/Init/pdf_sec.ps]</p> </blockquote> -<p><strong><a name="2008-06-11T162424.671679Z"></a> -2008-06-11T16:24:24.671679Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-17T194347.727833Z"></a> +2008-11-17T19:43:47.727833Z Alex Cherepanov</strong> (<a href="Details.htm#2008-11-17T194347.727833Z">details</a>)</p> <blockquote> <pre> -Undoing change introduced in rev 8794. This change will need to occur after Bug 689889 is handled. rev 8749 introduced 37 differences in the regression. </pre> -<p>[src/simscale.c]</p> +Add missing initialization of read_id field in reusable streams. + +</pre> +<p>[psi/zfrsd.c]</p> </blockquote> -<p><strong><a name="2008-06-10T203705.090668Z"></a> -2008-06-10T20:37:05.090668Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-17T104113.803460Z"></a> +2008-11-17T10:41:13.803460Z Ken Sharp</strong> (<a href="Details.htm#2008-11-17T104113.803460Z">details</a>)</p> <blockquote> <pre> -For bug 689888. This fixes the hang in the while loop. If end of file occurs during the reading of the stream it is passed along by the filter. However, proper output does not occur due to a different issue. Another bug was opened related to this postscript noncompliance of string reading reuse in imaging operators. See 689889. </pre> -<p>[src/simscale.c]</p> +Fix (pdfwrite): Not considering all glyphs in a string when noting first/last character + +</pre> +<p>[base/gdevpdtc.c]</p> </blockquote> -<p><strong><a name="2008-06-09T230250.347013Z"></a> -2008-06-09T23:02:50.347013Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-16T144749.851717Z"></a> +2008-11-16T14:47:49.851717Z Igor Melichev</strong> (<a href="Details.htm#2008-11-16T144749.851717Z">details</a>)</p> <blockquote> <pre> -Add a modified version of the clusterpush script from the ghostpcl tree. +Fix (PS interpreter) : Eliminate unuseful transfer of left side bearing to type42_finish. + </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[psi/zchar42.c psi/zchar42.h psi/zchar.c]</p> </blockquote> -<p><strong><a name="2008-06-09T134608.406410Z"></a> -2008-06-09T13:46:08.406410Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-16T121546.619814Z"></a> +2008-11-16T12:15:46.619814Z Igor Melichev</strong> (<a href="Details.htm#2008-11-16T121546.619814Z">details</a>)</p> <blockquote> <pre> -Use a dictionary (instead of an array) to represent cmap table in -a TrueType font because the array cannot accept fonts that have both -0x0 and 0xFFFF codes. Bug 689136, customer 870. +Fix (TT font handler) : Wrong glyph posiitions with vertical vcriting mode. </pre> -<p>[src/icid.h src/zfcid1.c lib/gs_ttf.ps src/zcid.c]</p> +<p>[psi/zchar42.c]</p> </blockquote> -<p><strong><a name="2008-06-09T073357.606022Z"></a> -2008-06-09T07:33:57.606022Z Igor Melichev</strong> (<a href="Details.htm#2008-06-09T073357.606022Z">details</a>)</p> +<p><strong><a name="2008-11-15T140727.807825Z"></a> +2008-11-15T14:07:27.807825Z Ken Sharp</strong> (<a href="Details.htm#2008-11-15T140727.807825Z">details</a>)</p> <blockquote> <pre> -Fix (stroking) : Prevent unpainted gaps between neighbour strokes that could appear due to stroke adjustment. +Fix PS interpreter: issues with ICCBased spaces </pre> -<p>[src/gsimage.c src/gstext.c src/gxdevice.h src/gdevbit.c src/gspaint.c src/gxclip.c src/gxstroke.c src/gxdevcli.h]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-06-05T215258.268146Z"></a> -2008-06-05T21:52:58.268146Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-13T142305.749468Z"></a> +2008-11-13T14:23:05.749468Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove the executable property from the included fonts. +Skip null entries in /Annots array. Bug 690161. + </pre> -<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusRomNo9L-Medi Resource/Font/NimbusSanL-Bold Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/URWGothicL-Demi Resource/Font/NimbusSanL-BoldItal Resource/Font/NimbusRomNo9L-MediItal Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/URWGothicL-BookObli Resource/Font/NimbusSanL-ReguItal Resource/Font/URWPalladioL-Ital]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-06-05T002620.566472Z"></a> -2008-06-05T00:26:20.566472Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-13T020249.620374Z"></a> +2008-11-13T02:02:49.620374Z Ray Johnston</strong> (<a href="Details.htm#2008-11-13T020249.620374Z">details</a>)</p> <blockquote> <pre> -Replace incorrect FontMatrix in CFF CIDFont with a most common value to -recover a PDF file that Acrobat 8 manages to shows correctly. Bug 688517. +Revert 8.63 behavior where the /Alternate key/value pair in ICCBased param dictionaries +is optional. Bug 690165 for customer 850. </pre> -<p>[lib/gs_cidfn.ps]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-31T005734.917939Z"></a> -2008-05-31T00:57:34.917939Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-10T190157.531817Z"></a> +2008-11-10T19:01:57.531817Z Igor Melichev</strong> (<a href="Details.htm#2008-11-10T190157.531817Z">details</a>)</p> <blockquote> <pre> -Add work-around for PDF files that misspell 'endobj' as 'endjobj'. Bug 689876. +Fix (clist writer) : A crash when transparent object appears over the page top. </pre> -<p>[lib/pdf_base.ps]</p> +<p>[base/gxclimag.c]</p> </blockquote> -<p><strong><a name="2008-05-30T202517.430208Z"></a> -2008-05-30T20:25:17.430208Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-09T203808.817663Z"></a> +2008-11-09T20:38:08.817663Z Igor Melichev</strong> (<a href="Details.htm#2008-11-09T203808.817663Z">details</a>)</p> <blockquote> <pre> -Dom't interpret ^D (0x04) as a self-delimeted character in PDF mode because -PDF doesn't need this hack. Bug 689875. +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (part 2). </pre> -<p>[src/iscan.c]</p> +<p>[psi/zchar42.c Resource/Init/gs_ciddc.ps Resource/Init/gs_cidtt.ps psi/int.mak psi/zfcid1.c psi/zfont42.c]</p> </blockquote> -<p><strong><a name="2008-05-28T215203.844656Z"></a> -2008-05-28T21:52:03.844656Z Igor Melichev</strong> (<a href="Details.htm#2008-05-28T215203.844656Z">details</a>)</p> +<p><strong><a name="2008-11-09T190930.285684Z"></a> +2008-11-09T19:09:30.285684Z Igor Melichev</strong> (<a href="Details.htm#2008-11-09T190930.285684Z">details</a>)</p> <blockquote> <pre> -Fix (True Type font loader) : Work around incorrect numGlyphs (continued). +Fix (CID font emulation) : CID from another writing mode rendered a wrong +glyph (part 1). +This revision is incomplete due to a commitment error. Please use next +revision. </pre> -<p>[src/gstype42.c]</p> +<p>[Resource/SubstCID/CNS1-WMode base/gxfcid.h Resource/SubstCID base/lib.mak Resource/SubstCID/GB1-WMode Resource/SubstCID/Japan1-WMode base/gsfcid.c base/gxfont42.h psi/psromfs.mak base/gstype42.c toolbin/GenSubstCID.ps Resource/SubstCID/Korea1-WMode]</p> </blockquote> -<p><strong><a name="2008-05-28T181626.144495Z"></a> -2008-05-28T18:16:26.144495Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-07T184934.403723Z"></a> +2008-11-07T18:49:34.403723Z Ralph Giles</strong> (<a href="Details.htm#2008-11-07T184934.403723Z">details</a>)</p> <blockquote> <pre> -Correct properties. +Remove a duplicate typedef for stream_arcfour_state. + </pre> -<p>[src/sidscale.h src/sjbig2_luratech.h src/sjpx_luratech.h src/sidscale.c src/sjbig2_luratech.c src/sjpx_luratech.c]</p> +<p>[base/gdevpdfx.h base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-28T160401.772433Z"></a> -2008-05-28T16:04:01.772433Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-11-06T235127.600449Z"></a> +2008-11-06T23:51:27.600449Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-11-06T235127.600449Z">details</a>)</p> <blockquote> <pre> -Changed crlf to lf. +Updates to nightly regressions to allow them to run under Mac OS X. + </pre> -<p>[src/sidscale.h src/sidscale.c]</p> +<p>[toolbin/tests/make_baselinedb.py toolbin/tests/gscheck_raster.py toolbin/tests/testdiff.py toolbin/tests/compare_checksums.py toolbin/tests/gscheck_pdfwrite.py toolbin/tests/build_revision.py toolbin/tests/check_dirs.py toolbin/tests/compare_checksumdb.py toolbin/tests/gsconf.py toolbin/tests/get_baseline_log.py toolbin/tests/run_nightly.py toolbin/tests/gstestgs.py toolbin/tests/run_regression.py toolbin/tests/update_baseline.py]</p> </blockquote> -<p><strong><a name="2008-05-28T023835.559910Z"></a> -2008-05-28T02:38:35.559910Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-06T233055.150402Z"></a> +2008-11-06T23:30:55.150402Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix a typo introduced in the rev. 8146 that prevented running PDF files from -stdin. Bug 689847. +Stopped generating 600 dpi raster files when running make_missing since they were never being tested. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[toolbin/tests/gsparamsets.py]</p> </blockquote> -<p><strong><a name="2008-05-28T002723.734030Z"></a> -2008-05-28T00:27:23.734030Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-06T232754.191464Z"></a> +2008-11-06T23:27:54.191464Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix to enable proper custom color callback when indexed images with ICC profiles are used. Bug 689863.</pre> -<p>[src/lib.mak src/gscolor2.h src/gxcie.h src/gsciemap.c src/gscolor2.c]</p> +Made some messages prettier. +</pre> +<p>[toolbin/tests/testdiff.py]</p> </blockquote> -<p><strong><a name="2008-05-27T201208.164024Z"></a> -2008-05-27T20:12:08.164024Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-06T232502.686517Z"></a> +2008-11-06T23:25:02.686517Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Addition of debug code to dump embedded ICC profiles for external analysis. </pre> -<p>[src/gsicc.c]</p> +Fixed typo. +</pre> +<p>[toolbin/tests/update_baseline.py]</p> </blockquote> -<p><strong><a name="2008-05-27T170740.221072Z"></a> -2008-05-27T17:07:40.221072Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-06T201319.335714Z"></a> +2008-11-06T20:13:19.335714Z Igor Melichev</strong></p> <blockquote> <pre> -Enable printafm to emit a comment with UniqueID, that may be of some use when -investigating versions of fonts used. Thanks to Michail Vidiassov for the -patch. Bug 688610. +Fix (graphics) : A missed dependency in makefile. + </pre> -<p>[lib/printafm.ps]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2008-05-26T190405.563476Z"></a> -2008-05-26T19:04:05.563476Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-06T200426.632073Z"></a> +2008-11-06T20:04:26.632073Z Igor Melichev</strong> (<a href="Details.htm#2008-11-06T200426.632073Z">details</a>)</p> <blockquote> <pre> -Work around broken JBIG2Decode streams created by several versions of -Xerox WorkCentre. Bugs 689841 and 689852. +Fix (clist interpreter) : A faster procesing without a preliminary clearing of the band buffer. -In these streams, a segment data length field is written as -1 -expecting the decoder to infer it from the length of the remaining -data. </pre> -<p>[jbig2dec/jbig2_page.c]</p> +<p>[base/gxclread.c]</p> </blockquote> -<p><strong><a name="2008-05-25T072853.119264Z"></a> -2008-05-25T07:28:53.119264Z Igor Melichev</strong> (<a href="Details.htm#2008-05-25T072853.119264Z">details</a>)</p> +<p><strong><a name="2008-11-06T190939.284217Z"></a> +2008-11-06T19:09:39.284217Z Ralph Giles</strong></p> <blockquote> <pre> -Fix : MSVC warnings. +Remove an unused variable. +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> +<p><strong><a name="2008-11-06T190937.330669Z"></a> +2008-11-06T19:09:37.330669Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing include for pdf_prepare_stroke(). </pre> -<p>[src/gdevpx.c]</p> +<p>[base/gdevpdts.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-25T072338.027951Z"></a> -2008-05-25T07:23:38.027951Z Igor Melichev</strong> (<a href="Details.htm#2008-05-25T072338.027951Z">details</a>)</p> +<p><strong><a name="2008-11-05T204122.951927Z"></a> +2008-11-05T20:41:22.951927Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (True Type font loader) : Work around incorrect numGlyphs. +Remove psromfs.mak from ugcclib.mak. +This makefile is ostensibly for the graphics library only. </pre> -<p>[src/gstype42.c src/ttfmain.c]</p> +<p>[base/ugcclib.mak]</p> </blockquote> -<p><strong><a name="2008-05-25T054515.665594Z"></a> -2008-05-25T05:45:15.665594Z Alex Cherepanov</strong> (<a href="Details.htm#2008-05-25T054515.665594Z">details</a>)</p> +<p><strong><a name="2008-11-05T204106.620266Z"></a> +2008-11-05T20:41:06.620266Z Ralph Giles</strong></p> <blockquote> <pre> -Revert the rev. 8509 because it is not needed after rev. 8774 but interferes -with FONTPATH search and memory font resources. Bug 689637. +Add -lpthread to ugcclib.mak. It is now required by sync=posync. +</pre> +<p>[base/ugcclib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T082619.980667Z"></a> +2008-11-05T08:26:19.980667Z Ken Sharp</strong> (<a href="Details.htm#2008-11-05T082619.980667Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): several issues with PaintType 2 (stroked fonts) and PDF Text rendering modes. </pre> -<p>[lib/pdf_font.ps src/zfont.c]</p> +<p>[base/gdevpdts.c base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2008-05-25T042823.450067Z"></a> -2008-05-25T04:28:23.450067Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-04T050732.360011Z"></a> +2008-11-04T05:07:32.360011Z Alex Cherepanov</strong></p> <blockquote> <pre> -Continue the changes started by the rev. 8772. Remove one more definefont from -embedded TrueType font loader. Bug 689644, customer 243. +Add support for indirect objects in /W and /W2 entries in the CIDFont +dictionary. Bug 690151. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-05-25T021714.504731Z"></a> -2008-05-25T02:17:14.504731Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-04T033352.379523Z"></a> +2008-11-04T03:33:52.379523Z Alex Cherepanov</strong></p> <blockquote> <pre> -Change all shell scripts to treat a single dash '-' as a positional -parameter rather than an option. Bug 689846. +Export (i.e. don't undefine) runpdfpagerange procedure for the benefit +of PDF manipulation utilities. Bug 690153. </pre> -<p>[lib/eps2eps lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-05-23T050520.013100Z"></a> -2008-05-23T05:05:20.013100Z Alex Cherepanov</strong> (<a href="Details.htm#2008-05-23T050520.013100Z">details</a>)</p> +<p><strong><a name="2008-11-03T062632.640021Z"></a> +2008-11-03T06:26:32.640021Z Alex Cherepanov</strong> (<a href="Details.htm#2008-11-03T062632.640021Z">details</a>)</p> <blockquote> <pre> -Use embedded PDF fonts directly. Don't define them as resources and look them -up later by the name. Leave findfont operator for fetching non-embedded fonts -only, which are now unaffected by embedded fonts. Bugs 689510, 689514 from -customer 700. +Fix a bug in object stream handling that sometimes dropped incremental +updates. Bug 690141. </pre> -<p>[lib/pdf_font.ps lib/pdf_ops.ps]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-23T001350.314402Z"></a> -2008-05-23T00:13:50.314402Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-03T042851.792909Z"></a> +2008-11-03T04:28:51.792909Z Ray Johnston</strong> (<a href="Details.htm#2008-11-03T042851.792909Z">details</a>)</p> <blockquote> <pre> -Implement sync_output as cairo_flush. Patch from Behdad Esfahbod. +Fix Floating Point excpetion caused by improper initializer of a private device +structure subclassed (in the klunky C ghostscript fashion) from the gx_device_printers_s +structure. Restructure a macro in base/gdevprn.h to help prevent similar bit rot in the +future. Bug 690122. + </pre> -<p>[src/gdevcairo.c]</p> +<p>[base/gdevprn.h contrib/lips4/gdevlprn.h]</p> </blockquote> -<p><strong><a name="2008-05-22T180622.983939Z"></a> -2008-05-22T18:06:22.983939Z Igor Melichev</strong> (<a href="Details.htm#2008-05-22T180622.983939Z">details</a>)</p> +<p><strong><a name="2008-10-28T031552.084170Z"></a> +2008-10-28T03:15:52.084170Z Alex Cherepanov</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 4). +Don't assume that the top of the dictionary stack is writable or can be made +writable by allocating a new PDF graphic state. The latter cannot be done in +pdfinflt.ps and similar clients. This patch replaces my previous fix (r. 9124) +for the bug 690088. Bug 690134. </pre> -<p>[src/gsptype1.c src/gxcldev.h src/gxclrast.c src/gxclpath.c src/gxclutil.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-22T095218.876353Z"></a> -2008-05-22T09:52:18.876353Z Igor Melichev</strong> (<a href="Details.htm#2008-05-22T095218.876353Z">details</a>)</p> +<p><strong><a name="2008-10-28T004349.468966Z"></a> +2008-10-28T00:43:49.468966Z Alex Cherepanov</strong> (<a href="Details.htm#2008-10-28T004349.468966Z">details</a>)</p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 3). +Ignore named encodings for known symbolic fonts. Bug 690135, customer 580. </pre> -<p>[src/gsptype1.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T194653.581581Z"></a> -2008-05-21T19:46:53.581581Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-27T215317.877952Z"></a> +2008-10-27T21:53:17.877952Z Ralph Giles</strong></p> <blockquote> <pre> -Change parameters to gdev_prn_allocata_mesmory to explicit width and height to work -around a (suspected) bug in gdev_prn_allocate when new_width and new_height are 0 -and the page has transparency. That issue will be adddressed separately. -Crash with multi-threaded rendering reported by customer #850. +Update the documentation reference to psromfs.mak. + +This file moved from base to psi in r9126. </pre> -<p>[src/gxclthrd.c]</p> +<p>[doc/Develop.htm]</p> </blockquote> -<p><strong><a name="2008-05-21T194647.112573Z"></a> -2008-05-21T19:46:47.112573Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-25T043430.742669Z"></a> +2008-10-25T04:34:30.742669Z Michael Vrhel</strong> (<a href="Details.htm#2008-10-25T043430.742669Z">details</a>)</p> <blockquote> <pre> -In r8765 we concluded GS_IMAGE_MAX_PLANES was the same as -MAX_COMPONENTS. Make this change permanent by removing the -MAX_PLANES define entirely. +Fix for bug 690103. This issue was introduced with r8868 where spatial interpolation in the source color space was introduced. The part that was missing in that commit was to handle the case where we had 8 bit image data that was non CIE based and NOT encoded with [0 1] . + </pre> -<p>[src/gsimage.c src/zimage.c src/gxiparam.h src/gdevbbox.c src/gxidata.c src/gximage.c src/gsiparam.h src/gxclimag.c]</p> +<p>[base/lib.mak base/gscspace.h base/gxiscale.c base/gscspace.c]</p> </blockquote> -<p><strong><a name="2008-05-21T194643.711424Z"></a> -2008-05-21T19:46:43.711424Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-24T145144.819826Z"></a> +2008-10-24T14:51:44.819826Z Igor Melichev</strong> (<a href="Details.htm#2008-10-24T145144.819826Z">details</a>)</p> <blockquote> <pre> -Remove the lowercase "compatibility" versions of the GS_IMAGE_MAX_* -macros. +Fix (TT font handler) : Properly process a broken TTC header. + </pre> -<p>[src/zimage.c src/gdevtxtw.c src/gsimage.c src/gxiparam.h src/gxidata.c src/gximage.c src/dxmainc.c src/gdevpdtv.c src/gdevpdfb.h src/gdevpdtv.h src/macsystypes.h src/gdevmacttf.h src/gp_mac.h src/gxclimag.c src/iimage.h src/gxsamplp.h src/gdevmacxf.c src/gdevmac.c src/gsiparam.h src/gdevmac.h]</p> +<p>[base/gstype42.c]</p> </blockquote> -<p><strong><a name="2008-05-21T190531.529144Z"></a> -2008-05-21T19:05:31.529144Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-23T043329.326096Z"></a> +2008-10-23T04:33:29.326096Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-10-23T043329.326096Z">details</a>)</p> <blockquote> <pre> -Reduce the GS_IMAGE_MAX_PLANES to a sane number. The image cannot have more -planes than the number of CLIENT_COLORS we support (plus 1 for alpha). -This cures a stack overflow seen with the multi-threaded rendering on -Windows. +Make gx_sort_ht_order() deterministic. + </pre> -<p>[src/gsiparam.h]</p> +<p>[base/gsht.c]</p> </blockquote> -<p><strong><a name="2008-05-21T182742.905572Z"></a> -2008-05-21T18:27:42.905572Z Michael Vrhel</strong> (<a href="Details.htm#2008-05-21T182742.905572Z">details</a>)</p> +<p><strong><a name="2008-10-23T042842.566180Z"></a> +2008-10-23T04:28:42.566180Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-10-23T042842.566180Z">details</a>)</p> <blockquote> <pre> -Fix for 689811. Enables custom color callback when banding of images is occurs. +Changed decleration of det from float to double in gs_matrix_invert(). </pre> -<p>[src/gsnamecl.h src/gslibctx.c src/gxcmap.c src/iapi.c src/gslibctx.h src/gsncdummy.c src/gsciemap.c src/gscspace.c src/gsicc.c src/gscdevn.c src/gsnamecl.c src/gscie.c]</p> +<p>[base/gsmatrix.c]</p> </blockquote> -<p><strong><a name="2008-05-21T181313.037917Z"></a> -2008-05-21T18:13:13.037917Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-21T180959.854984Z"></a> +2008-10-21T18:09:59.854984Z Ralph Giles</strong></p> <blockquote> <pre> -Credit Behdad in the source. +Fix a makefile dependency which should have been added in r8872. </pre> -<p>[src/gdevcairo.c]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T134208.542151Z"></a> -2008-05-21T13:42:08.542151Z Igor Melichev</strong> (<a href="Details.htm#2008-05-21T134208.542151Z">details</a>)</p> +<p><strong><a name="2008-10-21T162609.248809Z"></a> +2008-10-21T16:26:09.248809Z Igor Melichev</strong> (<a href="Details.htm#2008-10-21T162609.248809Z">details</a>)</p> <blockquote> <pre> -Fix (Type 1 hinter) : The missed flex hewristic malfunctioned. +Fix (PS intetreter) : Crash in garbager when resetting marks in names table. </pre> -<p>[src/gxhintn.c]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2008-05-21T101214.199391Z"></a> -2008-05-21T10:12:14.199391Z Igor Melichev</strong> (<a href="Details.htm#2008-05-21T101214.199391Z">details</a>)</p> +<p><strong><a name="2008-10-21T103552.809111Z"></a> +2008-10-21T10:35:52.809111Z Ken Sharp</strong> (<a href="Details.htm#2008-10-21T103552.809111Z">details</a>)</p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 2). +Fix (pdfwrite): Conversion of PaintType 0 fonts to text rendering mode +1 sometimes produced incorrect stroke width. </pre> -<p>[src/gxclutil.c]</p> +<p>[base/gdevpdts.c base/gdevpdtt.c base/gdevpdts.h]</p> </blockquote> -<p><strong><a name="2008-05-21T064641.280250Z"></a> -2008-05-21T06:46:41.280250Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-19T203203.940940Z"></a> +2008-10-19T20:32:03.940940Z Alex Cherepanov</strong></p> <blockquote> <pre> -Ensure that the chunk wrapper is used on the non_gc allocator since doing GC -on chunks will be disastrous. This is protection only and causes no difference -since the only current client of the chunk wrapper is the multi-threaded clist -rendering which wraps non_gc_memory. +Search for 'startxref' instead of '%%EOF' in PDF recovery code because +'%%EOF' is mangled more ofthen than 'startxref'. Bug 690071, customer 384. + </pre> -<p>[src/gsmchunk.c]</p> +<p>[Resource/Init/pdf_rbld.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T064014.466289Z"></a> -2008-05-21T06:40:14.466289Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-19T012328.662366Z"></a> +2008-10-19T01:23:28.662366Z Alex Cherepanov</strong></p> <blockquote> <pre> -Upon one of our engineer's request, clean up the MSVC warning about use of an -uninitialized variable. +Extend the size of the array for procedures scheduled for binding in DELAYBIND +mode to 2000. Prevent an overflow when 3rd party code (such as Ubuntu CJKV +patch) binds many new procedures. Bug 690124. + </pre> -<p>[src/gxclthrd.c src/gxclist.h src/gxclread.c]</p> +<p>[Resource/Init/gs_init.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T063534.826889Z"></a> -2008-05-21T06:35:34.826889Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-18T105242.057112Z"></a> +2008-10-18T10:52:42.057112Z Till Kamppeter</strong></p> <blockquote> <pre> -Add some missing information for the clist multi-threaded rendering files and -the chunk memory wrapper. This cleans up (som of) the nightly regression nags. +Fixed bug #690032: bjc600/bjc800 drivers do not work with PDF input </pre> -<p>[doc/Develop.htm]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2008-05-21T013708.729158Z"></a> -2008-05-21T01:37:08.729158Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-18T031141.445457Z"></a> +2008-10-18T03:11:41.445457Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix the autoconf build when libcairo isn't available. +Fix a bug in a new reusable stream implementation introduced in rev. 8810. +Take into account unread data left in the stream buffer before refilling +the buffer. Bug 690090, customers 384, 581, 661. -The device properly disabled in r8752. </pre> -<p>[src/configure.ac]</p> +<p>[psi/zfrsd.c]</p> </blockquote> -<p><strong><a name="2008-05-21T012649.215021Z"></a> -2008-05-21T01:26:49.215021Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T225821.764880Z"></a> +2008-10-17T22:58:21.764880Z Ralph Giles</strong></p> <blockquote> <pre> -Set properties on the new cairo device source file. +Update properties for cups driver files. </pre> -<p>[src/gdevcairo.c]</p> +<p>[cups/pstoraster.in cups/pdftoraster.c cups/pstopxl.in cups/pxlmono.ppd cups/cups.mak cups/gdevcups.c cups/pxlcolor.ppd]</p> </blockquote> -<p><strong><a name="2008-05-21T012445.439819Z"></a> -2008-05-21T01:24:45.439819Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T225738.635737Z"></a> +2008-10-17T22:57:38.635737Z Till Kamppeter</strong></p> <blockquote> <pre> -Whitespace cleanup. Also comment out the warning about setlogop; this -isn't important for most documents. +Use $(PDFTORASTER_XE) for path to compiled pdftoraster binary </pre> -<p>[src/gdevcairo.c]</p> +<p>[cups/cups.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T012444.147836Z"></a> -2008-05-21T01:24:44.147836Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T214627.567328Z"></a> +2008-10-17T21:46:27.567328Z Till Kamppeter</strong></p> <blockquote> <pre> -Don't compare a NULL extension string. +Put new files under MIT license, </pre> -<p>[src/gdevcairo.c]</p> +<p>[cups/pdftoraster.c cups/pdftoraster.convs]</p> </blockquote> -<p><strong><a name="2008-05-21T012442.046903Z"></a> -2008-05-21T01:24:42.046903Z Ralph Giles</strong> (<a href="Details.htm#2008-05-21T012442.046903Z">details</a>)</p> +<p><strong><a name="2008-10-17T205006.903656Z"></a> +2008-10-17T20:50:06.903656Z Igor Melichev</strong> (<a href="Details.htm#2008-10-17T205006.903656Z">details</a>)</p> <blockquote> <pre> -Rename the cairo device parameter CairoSurface to CairoOption. +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out (continued). -Better handling of libcairo errors. +</pre> +<p>[base/gxclpath.c base/gxclist.c base/gxclist.h]</p> +</blockquote> -Add (untested) support for passing a libcairo context pointer -through the CairoContext device parameter for rendering to a -client drawable. +<p><strong><a name="2008-10-17T202704.052662Z"></a> +2008-10-17T20:27:04.052662Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added Ghostscript-based pdftoraster filter +</pre> +<p>[cups/pdftoraster.c cups/cups.mak cups/pdftoraster.convs]</p> +</blockquote> +<p><strong><a name="2008-10-17T164958.474885Z"></a> +2008-10-17T16:49:58.474885Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed several bugs, like crash if input is PDF (bug #690101), duplex not working, ... </pre> -<p>[src/gdevcairo.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2008-05-21T012440.923940Z"></a> -2008-05-21T01:24:40.923940Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T134434.259593Z"></a> +2008-10-17T13:44:34.259593Z Alex Cherepanov</strong></p> <blockquote> <pre> -Protect the use of pkg-config for libcairo. +Consider /Identity CMap compatible with any CIDFont /Ordering. Bug 690120. + </pre> -<p>[src/configure.ac]</p> +<p>[Resource/Init/gs_cidcm.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012438.762206Z"></a> -2008-05-21T01:24:38.762206Z Ralph Giles</strong> (<a href="Details.htm#2008-05-21T012438.762206Z">details</a>)</p> +<p><strong><a name="2008-10-17T093135.914027Z"></a> +2008-10-17T09:31:35.914027Z Ken Sharp</strong> (<a href="Details.htm#2008-10-17T093135.914027Z">details</a>)</p> <blockquote> <pre> -New 'cairo' output device using the libcairo graphics library. -Patch by Behdad Esfahbod. +Fix (pdfwrite): ICCBased color spaces in input PDF files, /Alternate space converted to +ICCBased in output PDF file. </pre> -<p>[src/Makefile.in src/configure.ac src/gdevcairo.c src/devs.mak]</p> +<p>[psi/zcolor.c psi/zfunc4.c psi/zcolor.h psi/int.mak psi/zfsample.c]</p> </blockquote> -<p><strong><a name="2008-05-20T203452.772461Z"></a> -2008-05-20T20:34:52.772461Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-15T174700.008618Z"></a> +2008-10-15T17:47:00.008618Z Ray Johnston</strong></p> <blockquote> <pre> -Add double inclusion protection to cure nag from nightly regression. +Switch file I/O of 'opdfread.ps' to 'strmio' that supports the %rom% file system +as well as the default (%os%) file system. Bug 690074. </pre> -<p>[src/gsmchunk.h src/gxclthrd.h]</p> +<p>[base/gdevpdfu.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-20T161840.306550Z"></a> -2008-05-20T16:18:40.306550Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-15T070640.437422Z"></a> +2008-10-15T07:06:40.437422Z Ken Sharp</strong></p> <blockquote> <pre> -Clean up properties to get rid of nightly regression warnings. +Revision 9154 accidentally left a temporary C++ style comment in place. + </pre> -<p>[src/gsmchunk.c src/gxclthrd.c src/gsmchunk.h src/gxclthrd.h src/gdevsvg.c]</p> +<p>[psi/zicc.c]</p> </blockquote> -<p><strong><a name="2008-05-20T005225.121469Z"></a> -2008-05-20T00:52:25.121469Z Alex Cherepanov</strong> (<a href="Details.htm#2008-05-20T005225.121469Z">details</a>)</p> +<p><strong><a name="2008-10-15T045130.597312Z"></a> +2008-10-15T04:51:30.597312Z Michael Vrhel</strong></p> <blockquote> <pre> -Consider Index object in CFF font as empty if the offset element size is -incorrect. Bug 689854, customer 580. +Fix for bug 689961. + +There was a problem with the testing to determine if a color space mapping was linear within a triangle and along a line. The old code assumed the number of components was the same in the client and device color space. In general this is not true, especially if we have a DeviceN color space with one color and a CMYK output device, which was the test case given. </pre> -<p>[lib/gs_cff.ps]</p> +<p>[base/gscspace.c]</p> </blockquote> -<p><strong><a name="2008-05-19T144752.443966Z"></a> -2008-05-19T14:47:52.443966Z Igor Melichev</strong> (<a href="Details.htm#2008-05-19T144752.443966Z">details</a>)</p> +<p><strong><a name="2008-10-15T013243.847670Z"></a> +2008-10-15T01:32:43.847670Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued). +Exclude local repository files from other version control systems +from clusterpush. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> +<p><strong><a name="2008-10-15T013239.731625Z"></a> +2008-10-15T01:32:39.731625Z Ralph Giles</strong></p> +<blockquote> +<pre> +Read git commit names if an svn revision number isn't available. </pre> -<p>[src/gsptype1.c]</p> +<p>[toolbin/clusterpush.sh]</p> </blockquote> -<p><strong><a name="2008-05-17T213347.003946Z"></a> -2008-05-17T21:33:47.003946Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-15T013233.815878Z"></a> +2008-10-15T01:32:33.815878Z Ralph Giles</strong></p> <blockquote> <pre> -Permit opening of temporary files in the safe mode. Fix /invalidaccess -error during interpretation of PDF 1.7 file collections in the safe mode. -Bug 689847. +Update the clusterpush script for the new source locations. +Previously we copied the baseline from the last ghostpcl run on the +cluster, but since the ghostpdl tree moved to the public repository it +runs in an updating directory like gs. + +Also, compare return codes numerically instead of as a string. </pre> -<p>[lib/pdf_main.ps src/zfile.c]</p> +<p>[toolbin/clusterpush.sh]</p> </blockquote> -<p><strong><a name="2008-05-17T125801.814886Z"></a> -2008-05-17T12:58:01.814886Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-14T182724.066580Z"></a> +2008-10-14T18:27:24.066580Z Ken Sharp</strong> (<a href="Details.htm#2008-10-14T182724.066580Z">details</a>)</p> <blockquote> <pre> -Ignore annotation appearance stream when it has a wrong type i.e. not a -dictionary. Bug 689839. +Fix (PS interpreter): .seticcspace leaving operand on stack. </pre> -<p>[lib/pdf_main.ps lib/pdf_base.ps lib/pdf_draw.ps]</p> +<p>[psi/zcolor.c psi/zicc.c]</p> </blockquote> -<p><strong><a name="2008-05-17T010202.764582Z"></a> -2008-05-17T01:02:02.764582Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-13T210348.526048Z"></a> +2008-10-13T21:03:48.526048Z Till Kamppeter</strong></p> <blockquote> <pre> -Replace various access techniques to PDF annotations with 'knownoget' -in preparation to fix the bug 689839. +Make Duplex with the "pxlcolor" and "pxlmono" drivers work (standard command line options "-dDuplex" and "-dTumble"). +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2008-10-12T063818.212672Z"></a> +2008-10-12T06:38:18.212672Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove spurious un-definition of GlobalSubrs attribute during loading of +OpenType CFF fonts as CIDFont resources. Bug 690113, customer 1110. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[Resource/Init/gs_cff.ps]</p> </blockquote> -<p><strong><a name="2008-05-16T233414.372367Z"></a> -2008-05-16T23:34:14.372367Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-10T085142.858031Z"></a> +2008-10-10T08:51:42.858031Z Ken Sharp</strong> (<a href="Details.htm#2008-10-10T085142.858031Z">details</a>)</p> <blockquote> <pre> -Add support for linecap/join and miterlimit. +The update for opdfread.ps in revision 8706 missed a required routine 'putu32'. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-05-16T124824.645580Z"></a> -2008-05-16T12:48:24.645580Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-09T194814.487705Z"></a> +2008-10-09T19:48:14.487705Z Alex Cherepanov</strong> (<a href="Details.htm#2008-10-09T194814.487705Z">details</a>)</p> <blockquote> <pre> -Use PDFScanRules to scan ToUnicode CMap. Fix a case where CMap stream has -a name starting with 2 slashes that should not be parsed as an immediately -evaluated name. Bug 689642, customer 870. +Scale widget annotations in x and y directions to fit the BBox of the +appearance stream into the annotation rectangle. Old code considered +y direction only. Bug 690109. </pre> -<p>[lib/pdf_font.ps lib/pdf_base.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-05-16T000542.149140Z"></a> -2008-05-16T00:05:42.149140Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-09T175310.358436Z"></a> +2008-10-09T17:53:10.358436Z Ray Johnston</strong></p> <blockquote> <pre> -Accumulate imaging state changes and write a new group only when -drawing. Add support for the linewidth parameter. We're pretty -close to properly handling tiger and other vector-only files. +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. </pre> -<p>[src/gdevsvg.c]</p> +<p>[psi/dw32c.def]</p> +</blockquote> + +<p><strong><a name="2008-10-08T150358.878575Z"></a> +2008-10-08T15:03:58.878575Z Ray Johnston</strong></p> +<blockquote> +<pre> +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. +</pre> +<p>[psi/dwmain32.def]</p> </blockquote> -<p><strong><a name="2008-05-16T000541.073469Z"></a> -2008-05-16T00:05:41.073469Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-08T134055.237034Z"></a> +2008-10-08T13:40:55.237034Z Ken Sharp</strong> (<a href="Details.htm#2008-10-08T134055.237034Z">details</a>)</p> <blockquote> <pre> -Correct stroke and fill attribute overrides based on the path type. +Log: +Fix: ps2write. Very large TrueType fonts (>64Kb), when converted to Type 42 +fonts for use in PostScript, must contain an /sfnts entry, which is an +array of strings comprising the TT font. There are restrictions on where +the original data is split to form the strings, which ps2write was not +honouring. -Also includes some whitespace cleanup. </pre> -<p>[src/gdevsvg.c]</p> +<p>[Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-05-16T000540.066267Z"></a> -2008-05-16T00:05:40.066267Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-08T074352.342922Z"></a> +2008-10-08T07:43:52.342922Z Igor Melichev</strong> (<a href="Details.htm#2008-10-08T074352.342922Z">details</a>)</p> <blockquote> <pre> -Store clipping rectangles as a clip path and ignore other non-drawing -paths. +TT fonts : An initial implementation of GSUB. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[psi/zchar42.c base/gxfont42.h base/gstype42.c Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2008-05-15T212413.840635Z"></a> -2008-05-15T21:24:13.840635Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-08T055627.963219Z"></a> +2008-10-08T05:56:27.963219Z Ray Johnston</strong></p> <blockquote> <pre> -Set the document size and scale based on the page size and resolution -from the device parameters. +Fix Windows stack overflow when NumRenderingThreads > 0. This was identified +during testing for bug 690108 (see comments, #1 and #2). This is a work around +as it does not address the excessive stack usage, but does work around the +problem by throwing memory at it. Bug 690198. </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gp_wsync.c]</p> </blockquote> -<p><strong><a name="2008-05-15T212412.705572Z"></a> -2008-05-15T21:24:12.705572Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-07T200558.844384Z"></a> +2008-10-07T20:05:58.844384Z Ray Johnston</strong> (<a href="Details.htm#2008-10-07T200558.844384Z">details</a>)</p> <blockquote> <pre> -Return proper negative error codes on allocation failure. +Restore function of NumRenderingThreads > 0 that was inadvertently disabled +by previous commit to this module. -Also some minor formatting. </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-15T212411.342484Z"></a> -2008-05-15T21:24:11.342484Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-05T175125.414873Z"></a> +2008-10-05T17:51:25.414873Z Ray Johnston</strong> (<a href="Details.htm#2008-10-05T175125.414873Z">details</a>)</p> <blockquote> <pre> -Be explicit about clearing the current fill or stroke color when -none is set. +Fix SEGV when NumRenderingThreads > 0 caused by improper clist reader phase +initialization. Bug #690108. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gxclread.c base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-15T161748.102316Z"></a> -2008-05-15T16:17:48.102316Z Michael Vrhel</strong></p> +<p><strong><a name="2008-10-02T193322.695690Z"></a> +2008-10-02T19:33:22.695690Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for previous commit. I had the wrong version number test in the define.</pre> -<p>[jbig2dec/config_win32.h]</p> +Move psromfs.mak to the interpreter source tree. + +This file defines variables used by lib.mak, but the resources are all +related to the ps interpreter, so it makes more sense to keep it there. +It is only included by top-level makefiles, so this doesn't violate +the dependency boundary. +</pre> +<p>[psi/os2.mak base/bcwin32.mak base/ugcclib.mak base/psromfs.mak psi/psromfs.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak ijs/unix.mak psi/msvc32.mak base/macos-mcp.mak]</p> </blockquote> -<p><strong><a name="2008-05-15T161217.999197Z"></a> -2008-05-15T16:12:17.999197Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-30T190135.905183Z"></a> +2008-09-30T19:01:35.905183Z Ray Johnston</strong></p> <blockquote> <pre> -Minor change in JBIG configuration file related to using Visual Studio Version 9 (2008). stdio.h has a definition for vsnprintf which conflicts with the define in config_win32.h</pre> -<p>[jbig2dec/config_win32.h]</p> +Clean up a few coverity gripes (nothing important) +</pre> +<p>[base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-15T000024.616940Z"></a> -2008-05-15T00:00:24.616940Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-05-15T000024.616940Z">details</a>)</p> +<p><strong><a name="2008-09-27T013936.090759Z"></a> +2008-09-27T01:39:36.090759Z Alex Cherepanov</strong></p> <blockquote> <pre> -Improve white-on-mask drawing mode. +Set the temporary value of PDFDEBUG flag using 'gput' procedure instead of +'def' because initial PDF graphic state is represented by a read-only +dictionary. Bug 690088. </pre> -<p>[src/gdevpx.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-14T234909.954483Z"></a> -2008-05-14T23:49:09.954483Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-05-14T234909.954483Z">details</a>)</p> +<p><strong><a name="2008-09-25T234803.662203Z"></a> +2008-09-25T23:48:03.662203Z Alex Cherepanov</strong></p> <blockquote> <pre> +Process invalid PDF operator QBT as Q BT . +Bug 690089, customer 384. -Add support to pxlcolor and pxlmono for 24 bpp images. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-25T133655.133901Z"></a> +2008-09-25T13:36:55.133901Z Igor Melichev</strong> (<a href="Details.htm#2008-09-25T133655.133901Z">details</a>)</p> +<blockquote> +<pre> +Fix (printer devices) : Allow retries for raster buffer allocation when BufferSpace is default. </pre> -<p>[src/gdevpx.c]</p> +<p>[base/gxclist.c base/gdevprn.c]</p> </blockquote> -<p><strong><a name="2008-05-13T195208.912983Z"></a> -2008-05-13T19:52:08.912983Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-25T101003.369546Z"></a> +2008-09-25T10:10:03.369546Z Igor Melichev</strong> (<a href="Details.htm#2008-09-25T101003.369546Z">details</a>)</p> <blockquote> <pre> -Fix an incorrect curveto coordinate. +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-05-13T184723.939753Z"></a> -2008-05-13T18:47:23.939753Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-24T110746.268855Z"></a> +2008-09-24T11:07:46.268855Z Ralph Giles</strong> (<a href="Details.htm#2008-09-24T110746.268855Z">details</a>)</p> <blockquote> <pre> -Disable drawing in the SVG output device after the first output_page call. +Initial support for aes decryption streams. -Even for single-page output we receive an erasepage fill after the showpage -from gdevvec, which overwrites whatever we've drawn. This should be avoided -in a more sophisticated way (ideally in the superclass) but this method is -helpful for current development. </pre> -<p>[src/gdevsvg.c]</p> +<p>[psi/zfaes.c psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-13T184723.279847Z"></a> -2008-05-13T18:47:23.279847Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-24T110743.989804Z"></a> +2008-09-24T11:07:43.989804Z Ralph Giles</strong> (<a href="Details.htm#2008-09-24T110743.989804Z">details</a>)</p> <blockquote> <pre> -Support setting stroke and fill colors. +Initial support for aes decryption streams. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/saes.c base/lib.mak base/saes.h]</p> </blockquote> -<p><strong><a name="2008-05-13T184721.967012Z"></a> -2008-05-13T18:47:21.967012Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-23T185730.153977Z"></a> +2008-09-23T18:57:30.153977Z Igor Melichev</strong> (<a href="Details.htm#2008-09-23T185730.153977Z">details</a>)</p> <blockquote> <pre> -Import the current state of the svg driver. Doesn't work. +Fix (PS interpreter) : Incorrect data in garbager descriptor for reusable stream state. + </pre> -<p>[src/Makefile.in src/gdevsvg.c src/devs.mak]</p> +<p>[psi/zfrsd.c]</p> </blockquote> -<p><strong><a name="2008-05-13T035810.005759Z"></a> -2008-05-13T03:58:10.005759Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-22T105652.199700Z"></a> +2008-09-22T10:56:52.199700Z Ken Sharp</strong></p> <blockquote> <pre> -Reduce generation of garbage and the time spent on garbage collection by -placing gstate into the 2nd element of the patterm implementation array -in Adobe compatibility mode only. Ghostscript doesn't use this gstate -at all. Bug 689488. +Remove a number of no longer required includes from the source, and update the makefile to remove the dependencies. + +Local regression testing shows no differences, local builds correctly generate executable. </pre> -<p>[lib/gs_lev2.ps src/zmisc.c]</p> +<p>[base/gdevpdfm.c base/gdevpsdp.c base/gdevpdt.c base/gdevpdfo.c base/gdevpdf.c base/gdevpsdu.c base/gdevpdfd.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpsdi.c base/gdevpdfg.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-11T170017.181464Z"></a> -2008-05-11T17:00:17.181464Z Alex Cherepanov</strong> (<a href="Details.htm#2008-05-11T170017.181464Z">details</a>)</p> +<p><strong><a name="2008-09-19T233125.043936Z"></a> +2008-09-19T23:31:25.043936Z Ralph Giles</strong></p> <blockquote> <pre> -Fix a bug that leaves a junk value on the stack for every empty row on the -page during execution of a redefined showpage. Bug 689832. +Fix a double fclose(). +fuzzy_diff_images() doesn't open the files it reads from, so it should +not close them when cleaning up. The caller takes care of this on line +764, right after calling fuzzy_diff_images(). </pre> -<p>[lib/ps2epsi.ps]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-10T220203.546959Z"></a> -2008-05-10T22:02:03.546959Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-19T214510.190751Z"></a> +2008-09-19T21:45:10.190751Z Ralph Giles</strong></p> <blockquote> <pre> -Ignore OutputIntent attribute if it is not an array; recover a broken PDF file. -Bug 689831. +Correct two typos in error message strings. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> +<p><strong><a name="2008-09-19T214509.139047Z"></a> +2008-09-19T21:45:09.139047Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the freport initizialization out of fuzzy_diff_images() to silence +a gcc uninitialized variable warning. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-09T164454.615805Z"></a> -2008-05-09T16:44:54.615805Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-19T214508.203062Z"></a> +2008-09-19T21:45:08.203062Z Ralph Giles</strong></p> <blockquote> <pre> -Fix missing dependency that caused builds that included the 'bmpa' devices -to fail because the locking memory code wasn't included. Currently PCL -builds still had the bmpa devices included, so they failed. +Remove trailing whitespace. </pre> -<p>[src/lib.mak]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-09T140044.027651Z"></a> -2008-05-09T14:00:44.027651Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-19T214506.338528Z"></a> +2008-09-19T21:45:06.338528Z Ralph Giles</strong> (<a href="Details.htm#2008-09-19T214506.338528Z">details</a>)</p> <blockquote> <pre> -uncodes 33 and 34 repeat a zero code length symbol id, not the previous -symbol like runcode 32. Bug 689824. +Fix a gcc warning. Bug 690054. -Thanks to Justin Greer for the fix. </pre> -<p>[jbig2dec/config.h jbig2dec/configure jbig2dec/jbig2_text.c]</p> +<p>[base/gdev8510.c]</p> </blockquote> -<p><strong><a name="2008-05-09T041201.814716Z"></a> -2008-05-09T04:12:01.814716Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-19T162232.262870Z"></a> +2008-09-19T16:22:32.262870Z Ralph Giles</strong> (<a href="Details.htm#2008-09-19T162232.262870Z">details</a>)</p> <blockquote> <pre> -Reject incorrect ICC profile that has 0 offset in one of the tags -and use alternate color space. Bug 689830. +Include our math_.h wrapper instead of math.h. </pre> -<p>[icclib/icc.c]</p> +<p>[psi/zcolor.c psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-09T021814.475665Z"></a> -2008-05-09T02:18:14.475665Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-19T160802.308202Z"></a> +2008-09-19T16:08:02.308202Z Ralph Giles</strong></p> <blockquote> <pre> -This is the "final" merge of the mtrender (multi-threaded clist rendering) -branch into the trunk. The default behavior is still the same, i.e., the -clist rendering is done in the same thread as the parsing (main thread). +Also remove gscolor1.h from the zcolor.c dependency list. +</pre> +<p>[psi/int.mak]</p> +</blockquote> -The 'gsmalloc' memory allocator now ALWAYS uses a mutex to lock accesses -in case it is used by a multi-threaded client. This was determined to -result is less than 1% performance hit on a single threaded client. +<p><strong><a name="2008-09-19T134455.520555Z"></a> +2008-09-19T13:44:55.520555Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove gscolor1.h. We no longer use gs_setcmykcolor here and so this header is not required. -Refer to the log messages on the mtrender branch for details on the -design of the multi-threaded clist rendering, but the summary is that --dNumRenderingThreads=# (default 0) determines the number of background -threads REQUESTED for rendering bands. If the platform doesn't support -threads, or if there is an error starting the threads from the clist_ -get_bits_rectangle_mt hook, single threaded rendering will be used. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> -The number of threads may be less than the requested number if the -number of bands is less than the request, or if there is an error -setting up threads (as many as can be created, up to the request will -be used). The -Z: debug switch emits status messages indicating how -many threads are requested (-dNumRenderingThreads) and the number that -is actually used. +<p><strong><a name="2008-09-19T000151.675092Z"></a> +2008-09-19T00:01:51.675092Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use a portable path separator in gs.mak. +</pre> +<p>[base/gs.mak]</p> +</blockquote> -Many files show little if any improvement with multi-threaded clist -rendering since they are dominated by the clist writing time, or by -the time required to write the output. No files seen to date show a -performance hit greater than aobut 3%. Setting NumRenderingThreads -to a count higher than the number of CPU cores available does not -seem to help or hurt much, but there is overhead (per page) with -starting threads and allocating band buffers, so a very large count -is not productive. +<p><strong><a name="2008-09-18T235526.486186Z"></a> +2008-09-18T23:55:26.486186Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious $(_I) and add use portable $(D_)...$(_D) for defines +as needed by the openvms build. Bug 690084. +</pre> +<p>[base/libpng.mak base/devs.mak]</p> +</blockquote> -The best performance seen on an Intel Core 2 Duo system, on a -particular file is about a 75% performance improvement (completing -the page in 57% of the single threaded time). This time did not -include writing a file (output to /dev/null). +<p><strong><a name="2008-09-18T235007.487730Z"></a> +2008-09-18T23:50:07.487730Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix typos in third-party library paths introduced in r6514. Bug 690084. +</pre> +<p>[base/openvms.mmk]</p> +</blockquote> -In order to prevent memory mutex (locking) contention from slowing -down multi-threaded clist rendering, each thread uses a 'chunk' -wrapper on NON-GC the non-gc memory allocator. Each chunk allocator -is thread-safe/instantiated, so the locking only occurs on chunk -allocations to the wrapped (target) memory allocator. +<p><strong><a name="2008-09-18T233116.150062Z"></a> +2008-09-18T23:31:16.150062Z Ralph Giles</strong></p> +<blockquote> +<pre> +Additional leading space characters before colons in makefiles. Bug 690084. +</pre> +<p>[base/lib.mak contrib/contrib.mak]</p> +</blockquote> -The 'BAND_LIST_STORAGE=mmeory' option has been supplemented to allow -multiple concurrent threads to read the clist 'memfile'. +<p><strong><a name="2008-09-18T203208.326447Z"></a> +2008-09-18T20:32:08.326447Z Ralph Giles</strong></p> +<blockquote> +<pre> +Space makefile colons for the benefit of VMS. Bug 690084. -The "autoconf" files (configure.ac and Makefile.in) have been improved -to hook the 'posix' pthreads if available, so linux and Mac OS/X will -be able to support the multi-threaded clist rendering. +OpenVMS supports a basic makefile syntax, but requires a space on both +sides of the dependency colon. We try to maintain this in our +cross-platform makefiles. </pre> -<p>[src/gxclist.c src/gsmemlok.c src/gsmchunk.c src/gxclthrd.c src/gxclist.h src/configure.ac src/gsmchunk.h src/gxclthrd.h src/gxclread.c src/lib.mak src/gxclmem.c src/gxclmem.h src/gsmalloc.c src/Makefile.in src/gdevprn.c src/gsmalloc.h src/gdevprn.h]</p> +<p>[contrib/contrib.mak base/contrib.mak base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-08T214707.355557Z"></a> -2008-05-08T21:47:07.355557Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-18T182322.617130Z"></a> +2008-09-18T18:23:22.617130Z Ralph Giles</strong></p> <blockquote> <pre> -Use 'realtime' instead of 'usertime' for -Z: timing information. On some -systems (Windows) these are equivalent, but on linux, 'usertime' is the -time for the current thread which interferes with timing collection on -different threads (multi-threaded rendering did not include any time for -the threads). INCOMPATIBLE CHANGE, but this is only debug info. +Move time_.h to the top of the include list. </pre> -<p>[src/imain.c]</p> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2008-05-08T212830.163536Z"></a> -2008-05-08T21:28:30.163536Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-18T003745.093298Z"></a> +2008-09-18T00:37:45.093298Z Ralph Giles</strong></p> <blockquote> <pre> -Allow some compile time constants that affect performance to be set as -/D compiler flags (via XCFLAGS makefile macro). +The SunPro compiler doesn't handle variable length arrays in structs. -MAX_BITMAP_PATTERN_SIZE controls when the clist pattern accumulator is used, -and on machines with a decent amount of RAM, the default of 1 Mb is too -small and causes the slower clist method to be used too often. Setting this -to 32 Mb is probably better on hosts. +Bug 689079. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> -The GS_CLIENT_COLOR_MAX_COMPONENTS default of 252 is needed for Adobe CPSI -compatibility and for RIPS that want to use a large number of DeviceN -colorants, but this increases the size of some allocations and slows down -performance and is much too large for printers. Setting this to 6 or 8 is -probably plenty. +<p><strong><a name="2008-09-18T003743.189925Z"></a> +2008-09-18T00:37:43.189925Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up whitespace in the opvp device source. </pre> -<p>[src/gxpcmap.c src/gsccolor.h]</p> +<p>[contrib/opvp/opvp.h contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-05-08T200932.433652Z"></a> -2008-05-08T20:09:32.433652Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-18T003741.259902Z"></a> +2008-09-18T00:37:41.259902Z Ralph Giles</strong></p> <blockquote> <pre> -Fix MSVC warning -- mismatched type. +Fix: default to MITER line joins in the opvp device. Bug 689079. + +The previous default was BUTT, which is a line cap, not a join. This +looks like it was a cut-and-paste error. Patch from Jon Peatfield. </pre> -<p>[src/zchar42.c]</p> +<p>[contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-05-08T195633.932490Z"></a> -2008-05-08T19:56:33.932490Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-18T003738.655050Z"></a> +2008-09-18T00:37:38.655050Z Ralph Giles</strong></p> <blockquote> <pre> -Fix gcc warnings, unused variables and type mismatch, implicit declaration. +Fix: don't treat char as unsigned in the opvp device. Bug 690079. </pre> -<p>[src/gximask.c src/gp_unix.c]</p> +<p>[contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-05-08T193526.683268Z"></a> -2008-05-08T19:35:26.683268Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-18T001211.086491Z"></a> +2008-09-18T00:12:11.086491Z Ralph Giles</strong></p> <blockquote> <pre> -Clean up gcc compiler warnings for unused 'st' and no prototype for -gx_pattern_cache_free (from gxpcolor.h). +Enable jasper assembly optimizations with _MSC_VER instead of _WIN32 so the MSVC-specific inline code won't be passed to gcc in mingw builds. + +Bug 690070.</pre> +<p>[jasper/src/libjasper/jpc/jpc_qmfb.c]</p> +</blockquote> + +<p><strong><a name="2008-09-16T002906.813229Z"></a> +2008-09-16T00:29:06.813229Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an inadvertent semicolon in gs_throw_code, added in r9037. </pre> -<p>[src/gxclrast.c]</p> +<p>[base/gserror.h]</p> </blockquote> -<p><strong><a name="2008-05-08T191040.329127Z"></a> -2008-05-08T19:10:40.329127Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-14T122056.043501Z"></a> +2008-09-14T12:20:56.043501Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add support for recursive mutex on posix. Multiple threads that perform -'locking' before calling an object's finalize need this to prevent -deadlock if the finalize calls 'free'. This protection is standard on -Windows, but PTHREAD_MUTEX_RECURSIVE attribute is not available on -many systems. +Allocate missing FontInfo dictionary in a matching global or local memory and +use .forceput to override read-only status of the font directory. Bug 690063. -The method, using pthread_self and pthread_equal, was extracted from -a web information page and tested on linux. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> -NB: The multi-threaded clist rendering no longer needs this since -the 'chunk' memory wrapper calls the 'finalize' function without -locking, so the deadlock no longer occurs. +<p><strong><a name="2008-09-13T202225.237944Z"></a> +2008-09-13T20:22:25.237944Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the dxmain.c and dxmainc.c front ends to the interpreter source +directory. </pre> -<p>[src/gp_psync.c]</p> +<p>[base/dxmain.c psi/dxmain.c base/unix-dll.mak base/dxmainc.c psi/dxmainc.c]</p> </blockquote> -<p><strong><a name="2008-05-08T185610.922303Z"></a> -2008-05-08T18:56:10.922303Z Ray Johnston</strong> (<a href="Details.htm#2008-05-08T185610.922303Z">details</a>)</p> +<p><strong><a name="2008-09-12T080554.684727Z"></a> +2008-09-12T08:05:54.684727Z Ken Sharp</strong></p> <blockquote> <pre> -Fix memory leak observed with DEBUG=1 build on mtrender branch. The -'levels' and 'bit_data' of halftones were being leaked when halftones -were set by the clist reader. +The CIEBasedDEF/DEFG colour space validation did not insist that the dictionary contain a +/Table entry, which is a required entry. It also did not limit the numeric values in the +/Table array to integers, reals are not allowed. </pre> -<p>[src/gxdhtserial.c]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-08T184031.637800Z"></a> -2008-05-08T18:40:31.637800Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-11T160358.760444Z"></a> +2008-09-11T16:03:58.760444Z Ray Johnston</strong></p> <blockquote> <pre> -Fix compiler warning due to missing prototype for strncmp. +Add support for passing the requested number of copies through to the PXL +output file. Tested on an actual HP printer. </pre> -<p>[src/zchar42.c src/int.mak]</p> +<p>[base/gdevpx.c]</p> </blockquote> -<p><strong><a name="2008-05-07T210753.236295Z"></a> -2008-05-07T21:07:53.236295Z Igor Melichev</strong> (<a href="Details.htm#2008-05-07T210753.236295Z">details</a>)</p> +<p><strong><a name="2008-09-10T213524.802228Z"></a> +2008-09-10T21:35:24.802228Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation. +Change two more printf(%x) uses with pointers to use %p. +Update copyright. </pre> -<p>[src/gsptype1.c src/gxclrast.c src/gxclpath.c src/gxclimag.c src/gxclrect.c]</p> +<p>[base/gxclmem.c]</p> </blockquote> -<p><strong><a name="2008-05-07T210216.625138Z"></a> -2008-05-07T21:02:16.625138Z Igor Melichev</strong> (<a href="Details.htm#2008-05-07T210216.625138Z">details</a>)</p> +<p><strong><a name="2008-09-10T213326.724052Z"></a> +2008-09-10T21:33:26.724052Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (graphics) : Wrong pattern phase when pattern applies to a band with non-zero origin. +Replace non-standard %P with %p for pointer printing. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> +<p><strong><a name="2008-09-09T210054.348833Z"></a> +2008-09-09T21:00:54.348833Z Ralph Giles</strong></p> +<blockquote> +<pre> +Ask gcc to warn about declarations beyond the start of a block. </pre> -<p>[src/gsptype1.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-05-07T091527.593615Z"></a> -2008-05-07T09:15:27.593615Z Igor Melichev</strong> (<a href="Details.htm#2008-05-07T091527.593615Z">details</a>)</p> +<p><strong><a name="2008-09-09T203137.982033Z"></a> +2008-09-09T20:31:37.982033Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (graphics) : Imprecise pattern phase with negative cell origins (continued). +Move variable declarations to the top of blocks in the fontconfig +support code. +Also fixes a gcc warning about passing int 0 instead of NULL to +terminate an argument list. </pre> -<p>[src/gxp1fill.c]</p> +<p>[base/gp_unix.c]</p> </blockquote> -<p><strong><a name="2008-05-07T062534.508384Z"></a> -2008-05-07T06:25:34.508384Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-09T184527.627887Z"></a> +2008-09-09T18:45:27.627887Z Ralph Giles</strong></p> <blockquote> <pre> -Repait yet another broken PDF file that abbreviates /Indexed to /I -in the color space array. Bug 689815. +Add a space to the product name between the family and release names. +</pre> +<p>[base/gscdef.c]</p> +</blockquote> +<p><strong><a name="2008-09-09T174826.542519Z"></a> +2008-09-09T17:48:26.542519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move some interpreter headers from base to psi. + +These were missed in the original merge of the reorganization patch. +Also, add missing makefile dependencies for these new headers. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[base/zcolor.h base/zicc.h psi/zcolor.h psi/zicc.h base/zcie.h psi/zcie.h psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-06T205954.208603Z"></a> -2008-05-06T20:59:54.208603Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-09T143331.847337Z"></a> +2008-09-09T14:33:31.847337Z Ken Sharp</strong></p> <blockquote> <pre> -Fix and simplify implementation of operator Q. Collecting the path with -the current ctm and re-playing it with the restored ctm transforms the -path exactly as PDF needs. Bug 689812. +Henry's coverage test revealed that a couple of 'belt and braces' checks in the RGB->HSB +conversion were impossible to trigger. Removed those checks. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-05T195117.293996Z"></a> -2008-05-05T19:51:17.293996Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-06T095738.114441Z"></a> +2008-09-06T09:57:38.114441Z Ken Sharp</strong></p> <blockquote> <pre> -Eliminate leaks caused by lost 'maskbuf' elements. Only the uppermost -maskbuf is (currently) used by the pop_transparency_group that applies -the mask, but the chain of maskbuf->maskbuf elements was never freed. -This also improves performance (at least for the test case of bug -689534). Customer #870. +Address some more issues raised by Coverity. Check return values in some places which were +not previously checked, initialise some variables, and remove some dead code. + +Local regression testing of pdfwrite shows no differences. + </pre> -<p>[src/gdevp14.c]</p> +<p>[base/gdevpdtd.c base/gdevpdtt.c base/gdevpdte.c base/gdevpdtf.c base/gdevpdfe.c base/gdevpdtw.c base/gdevpdti.c]</p> </blockquote> -<p><strong><a name="2008-05-02T201350.255816Z"></a> -2008-05-02T20:13:50.255816Z Igor Melichev</strong> (<a href="Details.htm#2008-05-02T201350.255816Z">details</a>)</p> +<p><strong><a name="2008-09-04T154656.923276Z"></a> +2008-09-04T15:46:56.923276Z Igor Melichev</strong> (<a href="Details.htm#2008-09-04T154656.923276Z">details</a>)</p> <blockquote> <pre> -Fix (graphics) : Imprecise pattern phase with negative cell origins. +Fix : Divide gdevp14.c into 2 modules. </pre> -<p>[src/gxp1fill.c]</p> +<p>[base/gdevp14.c base/lib.mak base/gdevp14.h base/gxblend.c base/gxblend1.c base/gdevdevn.h base/gxblend.h]</p> </blockquote> -<p><strong><a name="2008-05-02T080750.475340Z"></a> -2008-05-02T08:07:50.475340Z Ken Sharp</strong></p> +<p><strong><a name="2008-09-04T140617.707413Z"></a> +2008-09-04T14:06:17.707413Z Igor Melichev</strong> (<a href="Details.htm#2008-09-04T140617.707413Z">details</a>)</p> <blockquote> <pre> -The revision 8621 which reinstated the comments, and updated encs2c.ps to generate them, -placed the Id line in the wrong position relative to the licence and summary comments. +Fix (graphics) : Preovide a right check for incorrect call to pdf14_pop_transparency_group. + </pre> -<p>[toolbin/encs2c.ps src/gscedata.h src/gdevpdtv.c src/gdevpdtv.h src/gscedata.c]</p> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2008-05-02T021957.012115Z"></a> -2008-05-02T02:19:57.012115Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-04T100554.831940Z"></a> +2008-09-04T10:05:54.831940Z Ken Sharp</strong></p> <blockquote> <pre> -Remove the testing instructions and file index. +More minor issues reported by Coverity. An unchecked return code from cos_dict_find_c_key, +and some dead code. -This was mostly obsolete, and the automated tests are fairly complete now. </pre> -<p>[doc/Testing.htm doc/Readme.htm toolbin/tests/check_docrefs.py]</p> +<p>[base/gdevpdfm.c]</p> </blockquote> -<p><strong><a name="2008-05-02T014214.506521Z"></a> -2008-05-02T01:42:14.506521Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-04T100410.193139Z"></a> +2008-09-04T10:04:10.193139Z Ken Sharp</strong></p> <blockquote> <pre> -Fix various code policy warnings. +A couple of issues detected by Coverity. Firstly an error condition could lead to a file being +left open. Secondly a call to pdf_restore_viewer_state which didn't check the return value. + </pre> -<p>[toolbin/msvcxml.bat src/gdevdjet.c src/aes.h toolbin/memory.py src/aes.c]</p> +<p>[base/gdevpdfu.c]</p> </blockquote> -<p><strong><a name="2008-04-30T190659.803995Z"></a> -2008-04-30T19:06:59.803995Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-04T100204.794387Z"></a> +2008-09-04T10:02:04.794387Z Ken Sharp</strong></p> <blockquote> <pre> -Fix some warnings. +More very minor dead code removal, again as noted by Coverity. + </pre> -<p>[src/gsncdummy.c]</p> +<p>[base/gdevpdtb.c]</p> </blockquote> -<p><strong><a name="2008-04-30T045102.115275Z"></a> -2008-04-30T04:51:02.115275Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-04T100112.562540Z"></a> +2008-09-04T10:01:12.562540Z Ken Sharp</strong></p> <blockquote> <pre> -Fixed issue with NULL pointer in gsncdummy.c when ICC color space was used in custom color callback. Also, made the object based coloring an option define and fixed minor header issues.</pre> -<p>[src/lib.mak src/gxcmap.c src/gsncdummy.c src/gscspace.c src/gscdevn.c src/gsnamecl.c]</p> +Remove some dead code from cmap handling, as noted by Coverity. + +</pre> +<p>[base/gdevpdtc.c]</p> </blockquote> -<p><strong><a name="2008-04-30T013518.247997Z"></a> -2008-04-30T01:35:18.247997Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-04T095911.733313Z"></a> +2008-09-04T09:59:11.733313Z Ken Sharp</strong></p> <blockquote> <pre> -Fix some warnings. +Check the return code from pdf_write_resource_objects when closing a page. Fixes Coverity +warning. + </pre> -<p>[src/gdevp14.c]</p> +<p>[base/gdevpdf.c]</p> </blockquote> -<p><strong><a name="2008-04-29T063417.581619Z"></a> -2008-04-29T06:34:17.581619Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-03T204913.486158Z"></a> +2008-09-03T20:49:13.486158Z Ray Johnston</strong></p> <blockquote> <pre> -Fix for bug 689806 which was introduced when fixing bug 689803. The current bug was related to a CIELAB image with a colorspace ICC profile (LAB to LAB). The image data was incorrectly being normalized between 0 and 1 (float). It is now properly normalized to the range of the CIELAB ICC space. There still exists an issue with this file as absolute colorimetry should be used. This is the source of the current difference between AR and GS. However, the image is no longer black now but should match the GS result prior to rev 8664.</pre> -<p>[src/lib.mak src/gxicolor.c]</p> +Add protection for the "finish" exit point for potential (no longer exists +since rev 9062) case when f==NULL when code >= 0. Belt and suspenders couldn't +hurt to improve maintainability (prevent future problems). Original problem +reported by Coverity analysis. +</pre> +<p>[base/gxclmem.c]</p> </blockquote> -<p><strong><a name="2008-04-29T003125.778368Z"></a> -2008-04-29T00:31:25.778368Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-03T122027.869178Z"></a> +2008-09-03T12:20:27.869178Z Igor Melichev</strong> (<a href="Details.htm#2008-09-03T122027.869178Z">details</a>)</p> <blockquote> <pre> -Make pf2afm utility friendlier to Windows users: check for .pfa or .pfb -extensions case-insensitively and accept backslash as a path separator. -Bug 689804. +Fix : gcc compiler warnings (continued). + </pre> -<p>[lib/pf2afm.ps]</p> +<p>[psi/zfunc4.c]</p> </blockquote> -<p><strong><a name="2008-04-28T174826.844493Z"></a> -2008-04-28T17:48:26.844493Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-03T114235.783010Z"></a> +2008-09-03T11:42:35.783010Z Igor Melichev</strong> (<a href="Details.htm#2008-09-03T114235.783010Z">details</a>)</p> <blockquote> <pre> -Refine calculation of di member of a trap_line structure to avoid integer -overflow when the source operands are big. Bug 689448. +Fix : gcc compiler warnings. + +</pre> +<p>[base/gxclread.c base/gxpcopy.c base/gxclpage.c psi/zfunc4.c base/gxclutil.c base/gxclmem.c base/lib.mak base/gxiscale.c base/gxclmem.h base/gdevpdtd.c psi/int.mak psi/zfsample.c base/gdevpdte.c base/gximage1.c base/gsovrc.c base/gdevprn.c base/gxstroke.c psi/zfunc.c base/gspath1.c base/gxshade6.c psi/zfrsd.c base/gxclpath.c psi/zfunc.h psi/igcstr.c base/mkromfs.c base/gstype42.c base/gdevdsha.c base/gxfill.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T183707.959806Z"></a> +2008-09-02T18:37:07.959806Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed small bug in the patch to add a PJL command for setting the resolution to +the pxlmono/pxlcolor drivers (rev 9060). + +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T090641.787945Z"></a> +2008-09-02T09:06:41.787945Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Let pxlmono/pxlcolor drivers add resolution setting to the PJL header. Printers need the PJL command to set the resolution (see bug 689230). Now the printing resolution can be easily controlled with the "-r" command line option. +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T170320.988497Z"></a> +2008-09-01T17:03:20.988497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix incorrect error code test in the calculator function validation +procedure. + +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T165343.689721Z"></a> +2008-09-01T16:53:43.689721Z Ken Sharp</strong></p> +<blockquote> +<pre> +Resolve another gcc compiler warning. The test was incorrect, now it is correctly taking the +text render mode into account. + +Local regression testing shows no differences. + +</pre> +<p>[base/gdevpdts.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T084944.722693Z"></a> +2008-09-01T08:49:44.722693Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a warning from older versions of gcc. Spotted by Russell Lang when doing OS/2 build. +Oddly, newer versions of gcc don't spot this, even though the code was technically +redundant. + +Also remove some commented out code that should not have been present, and fix a couple +of warnings produced by recent versions of gcc regarding unused local variables and code. + +Local regression testing exhibits no differences. </pre> -<p>[src/gdevddrw.c]</p> +<p>[base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2008-04-28T162635.071571Z"></a> -2008-04-28T16:26:35.071571Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-31T002820.047781Z"></a> +2008-08-31T00:28:20.047781Z Russell Lang</strong></p> <blockquote> <pre> -Fix a minor header dependency skew. +Add a makefile target for a Windows source zip file, +used in building a release. </pre> -<p>[src/int.mak src/gsicc.c]</p> +<p>[psi/winint.mak]</p> </blockquote> -<p><strong><a name="2008-04-28T064728.650051Z"></a> -2008-04-28T06:47:28.650051Z Michael Vrhel</strong></p> +<p><strong><a name="2008-08-30T232304.017387Z"></a> +2008-08-30T23:23:04.017387Z Alex Cherepanov</strong></p> <blockquote> <pre> -Undo accidental commitment of ENABLE_CUSTOM_COLOR_CALLBACK (has callback) code.</pre> -<p>[src/gsicc.c]</p> +Make PDF interpreter run our /Install procedure after the user's procedure +because: (1) PDF interpreter caches the CTM, (2) the user's procedure may +replace CTM by calling setmatrix. Bug 689914, customer 770. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-04-28T052054.026239Z"></a> -2008-04-28T05:20:54.026239Z Alex Cherepanov</strong> (<a href="Details.htm#2008-04-28T052054.026239Z">details</a>)</p> +<p><strong><a name="2008-08-30T140729.736170Z"></a> +2008-08-30T14:07:29.736170Z Igor Melichev</strong></p> <blockquote> <pre> -Implement spacial handling of transfer functions during Gray to CMYK -conversion: ignore transfer functions for non-black components. Bug 688360. +Fix (PS interpreter) : Wrong dependencies in makefile. </pre> -<p>[src/lib.mak src/gxcmap.c src/gxcspace.h src/gscspace.c src/gxdevcli.h]</p> +<p>[psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-04-27T152110.051210Z"></a> -2008-04-27T15:21:10.051210Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-30T133827.563236Z"></a> +2008-08-30T13:38:27.563236Z Russell Lang</strong></p> <blockquote> <pre> -Check the error code early. Fix a SEGV in PDF file with invalid ICC profile -that was introduced by the rev. 8664. +Fix gcc warning on OS/2. +</pre> +<p>[base/gdevdsp.c]</p> +</blockquote> +<p><strong><a name="2008-08-30T133129.235544Z"></a> +2008-08-30T13:31:29.235544Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build after the source reorganization. +Remove the os2pm device and the old DLL interface for OS/2, +to avoid direct links from the graphics library into the +PS interpreter. </pre> -<p>[src/zicc.c]</p> +<p>[base/gp_os2.c base/os2.mak psi/dpmain.c psi/gsos2.def base/gsos2.icx doc/Develop.htm psi/gsos2.rc base/pcwin.mak base/dpmain.c base/gsos2.def psi/os2.mak base/mkromfs.c base/gsos2.rc psi/gsdllos2.h psi/gsos2.icx base/gp_os2fs.c base/gdevpm.c psi/gsdll2.def base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-04-26T043556.962801Z"></a> -2008-04-26T04:35:56.962801Z Michael Vrhel</strong></p> +<p><strong><a name="2008-08-29T194713.384972Z"></a> +2008-08-29T19:47:13.384972Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for bug#689803. Set bounds correctly when input data is LAB and color also includes a colorspace source profile (e.g. LAB to LAB). </pre> -<p>[src/int.mak src/gsicc.c src/zicc.c]</p> +Update the Visual Studio project file generator for +the new source locations. Untested.</pre> +<p>[toolbin/msvcxml.bat]</p> </blockquote> -<p><strong><a name="2008-04-23T140611.166309Z"></a> -2008-04-23T14:06:11.166309Z Igor Melichev</strong> (<a href="Details.htm#2008-04-23T140611.166309Z">details</a>)</p> +<p><strong><a name="2008-08-29T184621.860372Z"></a> +2008-08-29T18:46:21.860372Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (graphics) : Convert imagemask into a clipping path when painting a big pattern. +Split the source tree into two new directories. + +PSSRC files are now in 'gs/psi'. +GLSRC files are now in 'gs/base'. + +This is to facilitate build modularization and merging in the ghostpdl +tree. +NOTE: msvc32.mak is now in psi, not src. </pre> -<p>[src/gsimage.c src/gxacpath.c src/gsptype1.h src/gximask.c]</p> +<p>[/trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/main/pcl6_gcc.mak src /trunk/ghostpdl/tools/check_deps.py doc/Develop.htm psi /trunk/ghostpdl/svg/svg_gcc.mak /trunk/ghostpdl/xps/xps_msvc.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/doc/ghostpdl.tex /trunk/ghostpdl/psi/psitop.c doc/API.htm doc/Issues.htm /trunk/ghostpdl/svg/svg_msvc.mak /trunk/ghostpdl/language_switch/pspcl6_gcc.mak doc/Make.htm doc/Drivers.htm base autogen.sh doc/Release.htm doc/C-style.htm /trunk/ghostpdl/doc/ghostpdl.txt /trunk/ghostpdl/xps/xps_gcc.mak]</p> </blockquote> -<p><strong><a name="2008-04-23T003010.271302Z"></a> -2008-04-23T00:30:10.271302Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-28T194700.816950Z"></a> +2008-08-28T19:47:00.816950Z Ralph Giles</strong></p> <blockquote> <pre> -Since we always write a complete "classic" xref, the Trailer may need to be -adjusted: (1) remove keys that pertain to xref-streams and hybrid-xref PDFs; -(2) if it's a PDF stream, turn it into a PDF dict by removing keys used for -PDF streams (both standard and GS-specific), and the executable attribute. -Thanks to SaGS for the patch. Bug 688152. +Replace 3d with 3rd in the documentation and regularize '3(r)d party' as +'third-party'. Bug 690004. </pre> -<p>[lib/pdfwrite.ps lib/pdfopt.ps]</p> +<p>[doc/Use.htm doc/Lib.htm]</p> </blockquote> -<p><strong><a name="2008-04-22T171803.467843Z"></a> -2008-04-22T17:18:03.467843Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-28T024007.463083Z"></a> +2008-08-28T02:40:07.463083Z Ralph Giles</strong></p> <blockquote> <pre> -Set native line endings on gsnamecl. This should remedy patch-portability problems. +Use the new gs_rethrow_code() macro in svgwrite. </pre> -<p>[src/gsnamecl.h src/gsnamecl.c]</p> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024006.379728Z"></a> +2008-08-28T02:40:06.379728Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add gs_throw_code() and gs_rethrow_code() macros for use in situations +where the normal error string does not fit or is redundant. +</pre> +<p>[src/gserror.h]</p> </blockquote> -<p><strong><a name="2008-04-21T145338.640663Z"></a> -2008-04-21T14:53:38.640663Z Igor Melichev</strong> (<a href="Details.htm#2008-04-21T145338.640663Z">details</a>)</p> +<p><strong><a name="2008-08-28T024004.423296Z"></a> +2008-08-28T02:40:04.423296Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying big patterns until page clist interpretation. +Fix some code style issues in the svgwrite device. +We can't use gs_note_error() as we were because it returns the error +code which generates an empty statement warning with gcc. Use gs_throw() +instead for now. </pre> -<p>[src/gsptype1.c src/lib.mak src/gsptype2.c src/gxclist.c src/gxpcmap.c src/gsptype1.h src/gxdcolor.c src/gxclist.h src/gxpcolor.h src/gdevfax.c src/gxdcolor.h src/gxp1fill.c src/gxclrast.c src/gxclread.c src/gxclimag.c]</p> +<p>[src/gdevsvg.c]</p> </blockquote> -<p><strong><a name="2008-04-21T115827.801424Z"></a> -2008-04-21T11:58:27.801424Z Russell Lang</strong></p> +<p><strong><a name="2008-08-28T003633.257400Z"></a> +2008-08-28T00:36:33.257400Z Ralph Giles</strong></p> <blockquote> <pre> -Change the name of a utility used to build Windows distribution so it doesn't -get treated as a setup program by Windows Vista. -Change reference to obsolete doc/Public.htm to doc/COPYING. -Allow makefile to recognise a later patch of the Microsoft Visual Studio 2005 -make utility. +Update warnings policy; we agreed to fix all warnings. </pre> -<p>[src/winint.mak src/msvc32.mak]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-20T234049.333141Z"></a> -2008-04-20T23:40:49.333141Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-28T000340.520992Z"></a> +2008-08-28T00:03:40.520992Z Ralph Giles</strong> (<a href="Details.htm#2008-08-28T000340.520992Z">details</a>)</p> <blockquote> <pre> -Ignore DSC comments in nested EPS files and data blocks. Thanks to -William Bader for the patch. Bug 689791. +Document the motivation for a source style item. -RIFFERENCES: -None </pre> -<p>[src/zdscpars.c]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-20T045121.386273Z"></a> -2008-04-20T04:51:21.386273Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-27T172724.986727Z"></a> +2008-08-27T17:27:24.986727Z Ralph Giles</strong></p> <blockquote> <pre> -Skip bogus endobj operators inside the object stream. -Bug 689795, customer 870. +Fix more html conformance problems with the documentation. +</pre> +<p>[doc/Ps2ps2.htm doc/Fonts.htm doc/Use.htm doc/Ps2pdf.htm doc/Develop.htm doc/Deprecated.htm doc/Install.htm doc/API.htm doc/Issues.htm doc/Make.htm doc/Drivers.htm doc/Release.htm doc/C-style.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T025723.718740Z"></a> +2008-08-27T02:57:23.718740Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove Humor.htm. -RIFFERENCES: -None +The joke has gotten old, and blogs are a better medium for this sort of +thing. </pre> -<p>[lib/pdf_base.ps]</p> +<p>[doc/Humor.htm doc/Readme.htm]</p> </blockquote> -<p><strong><a name="2008-04-19T182631.622080Z"></a> -2008-04-19T18:26:31.622080Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-27T021643.113337Z"></a> +2008-08-27T02:16:43.113337Z Ralph Giles</strong></p> <blockquote> <pre> -Fix a problem when the default transfer function of the target printer -is not in global space. Seen with Konica Minolta (QMS PostScript). -Fixes 'invalidaccess' error caused by attempting to store a 'local' -currentcolortransfer into a 'global' array. NB: The 'cp2g' will then -convert the array to global which is needed to store into InitialExtGState. +Remove the obsolete HTML style guidelines. + +We no longer expect readers to look at the raw html in a text editor. +Documentation should declare its format specification and conform to it, +attempting to match local style where appropriate. </pre> -<p>[lib/opdfread.ps]</p> +<p>[doc/Htmstyle.htm doc/Readme.htm]</p> </blockquote> -<p><strong><a name="2008-04-19T181834.484562Z"></a> -2008-04-19T18:18:34.484562Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-27T021410.447789Z"></a> +2008-08-27T02:14:10.447789Z Ralph Giles</strong></p> <blockquote> <pre> -Add diagnostic information for start of rendering (Outputpage start) so that -parsing as well as rendering time can be observed with -Z: (gs_debug[':']) +Replace the awkward <b><tt> construction with css-styled <code> elements. </pre> -<p>[src/zdevice.c]</p> +<p>[doc/History7.htm doc/Fonts.htm doc/Projects.htm doc/Ps2ps2.htm doc/Use.htm doc/Readme.htm doc/Develop.htm doc/Ps2pdf.htm doc/Deprecated.htm doc/Source.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Install.htm doc/Htmstyle.htm doc/API.htm doc/gs.css doc/DLL.htm doc/Make.htm doc/Drivers.htm doc/Unix-lpr.htm doc/Commprod.htm doc/C-style.htm doc/Ps-style.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2epsi.htm]</p> </blockquote> -<p><strong><a name="2008-04-19T124815.825215Z"></a> -2008-04-19T12:48:15.825215Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-26T215026.926408Z"></a> +2008-08-26T21:50:26.926408Z Ralph Giles</strong></p> <blockquote> <pre> -Fix PDF transmuting utilities. Remove '#' from the list of characters that -may occur in PDF names unescaped. Bug 689770. +Cast away signed/unsigned char warnings in gdevsvg. + +Patch from Igor Melichev. Also cleaned up some trailing whitespace. </pre> -<p>[lib/pdfwrite.ps]</p> +<p>[src/gdevsvg.c]</p> </blockquote> -<p><strong><a name="2008-04-19T044920.031557Z"></a> -2008-04-19T04:49:20.031557Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-26T214055.546109Z"></a> +2008-08-26T21:40:55.546109Z Ralph Giles</strong></p> <blockquote> <pre> -Add recognition of abbreviated filter names to the PDF inflation utility. +Remove references to bits64 from the source style documentation. It is +superceeded by the stdint types. </pre> -<p>[toolbin/pdfinflt.ps]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-19T034321.791168Z"></a> -2008-04-19T03:43:21.791168Z Alex Cherepanov</strong> (<a href="Details.htm#2008-04-19T034321.791168Z">details</a>)</p> +<p><strong><a name="2008-08-26T155938.718117Z"></a> +2008-08-26T15:59:38.718117Z Igor Melichev</strong> (<a href="Details.htm#2008-08-26T155938.718117Z">details</a>)</p> <blockquote> <pre> -Implement loading of OpenType CFF font as a CIDFont resource in PDF reader. -Bug 689763, customers 531, 850. +Fix (PDF interpreter) : Implementing a temporary option for development needs of images with soft mask. </pre> -<p>[lib/pdf_font.ps lib/gs_cff.ps lib/pdf_ops.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-04-17T174005.253185Z"></a> -2008-04-17T17:40:05.253185Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-26T153103.416051Z"></a> +2008-08-26T15:31:03.416051Z Igor Melichev</strong> (<a href="Details.htm#2008-08-26T153103.416051Z">details</a>)</p> <blockquote> <pre> -Use -O0 with the autoconf debug build instead of -O which seems to -hide some symbols. +Fix (PDF interpreter) : A wrong comment about procedure operands for is_big_mask . + </pre> -<p>[src/Makefile.in]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-04-17T173157.458743Z"></a> -2008-04-17T17:31:57.458743Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-26T070255.610521Z"></a> +2008-08-26T07:02:55.610521Z Igor Melichev</strong> (<a href="Details.htm#2008-08-26T070255.610521Z">details</a>)</p> <blockquote> <pre> -Allow the ENABLE_CUSTOM_COLOR_CALLBACK preprocessor macro to be set -from the compiler command line. +Fix (graphics) : Scanline algorithm missed pixels at horizontal boundaries. + </pre> -<p>[src/gsnamecl.h]</p> +<p>[src/gxfillsl.h]</p> </blockquote> -<p><strong><a name="2008-04-15T044724.255743Z"></a> -2008-04-15T04:47:24.255743Z Alex Cherepanov</strong> (<a href="Details.htm#2008-04-15T044724.255743Z">details</a>)</p> +<p><strong><a name="2008-08-23T163921.950258Z"></a> +2008-08-23T16:39:21.950258Z Alex Cherepanov</strong></p> <blockquote> <pre> -Repair broken CFF CIDFont stream generated by "Exstream Dialogue Version -6.2.004m (DBCS)". Bug 689753, customer 353. +Fix 6 Coverity warings about local variables hiding function arguments +by renaming local variables. </pre> -<p>[lib/gs_cff.ps]</p> +<p>[src/gsbitops.c]</p> </blockquote> -<p><strong><a name="2008-04-14T225722.422088Z"></a> -2008-04-14T22:57:22.422088Z Michael Vrhel</strong></p> +<p><strong><a name="2008-08-23T010547.610764Z"></a> +2008-08-23T01:05:47.610764Z Russell Lang</strong></p> <blockquote> <pre> -Fixed Colorspace enumeration order for debug printing.</pre> -<p>[src/gscspace.h]</p> +Remove reference from Windows image window code back to PostScript interpreter, +to allow the image window code to be used with non-interpreter builds. +</pre> +<p>[src/dwimg.h src/winint.mak src/dwmain.c src/dwmain.rc doc/Develop.htm src/dwmainc.c src/dwmain.h src/dwimg.c src/dwres.h]</p> </blockquote> -<p><strong><a name="2008-04-10T234336.714953Z"></a> -2008-04-10T23:43:36.714953Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-22T163436.763761Z"></a> +2008-08-22T16:34:36.763761Z Ralph Giles</strong> (<a href="Details.htm#2008-08-22T163436.763761Z">details</a>)</p> <blockquote> <pre> -Increase the static command and path buffers in echogs to deal with -longer build paths. Bug 689788. +Move the dw source files from GLSRC to PSSRC. Items in GLSRC shouldn't +depend on items in PSSRC. This is in preparation for the code +reorganization. + </pre> -<p>[src/echogs.c]</p> +<p>[src/winint.mak]</p> </blockquote> -<p><strong><a name="2008-04-10T220820.215716Z"></a> -2008-04-10T22:08:20.215716Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-22T011328.560292Z"></a> +2008-08-22T01:13:28.560292Z Ralph Giles</strong></p> <blockquote> <pre> -Use the correct GEN directory references. Bug 689788. +Remove an unnecesary iapi.h include. </pre> -<p>[src/jbig2.mak src/jasper.mak]</p> +<p>[src/winint.mak src/dwimg.c]</p> </blockquote> -<p><strong><a name="2008-04-10T073846.911876Z"></a> -2008-04-10T07:38:46.911876Z Ken Sharp</strong> (<a href="Details.htm#2008-04-10T073846.911876Z">details</a>)</p> +<p><strong><a name="2008-08-22T011124.167807Z"></a> +2008-08-22T01:11:24.167807Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (PDF interpreter): Improve omission of .notdef glyphs. +Remove trailing whitespace. +</pre> +<p>[src/dwimg.h src/dwimg.c]</p> +</blockquote> +<p><strong><a name="2008-08-21T232624.907412Z"></a> +2008-08-21T23:26:24.907412Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing return value check. Coverity issue 1847. </pre> -<p>[src/zchar42.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-04-10T054343.466565Z"></a> -2008-04-10T05:43:43.466565Z Igor Melichev</strong> (<a href="Details.htm#2008-04-10T054343.466565Z">details</a>)</p> +<p><strong><a name="2008-08-21T225500.562927Z"></a> +2008-08-21T22:55:00.562927Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Generalize prototypes of color serialization methods for big color data. +Correct a double free introduced in r9005. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> +<p><strong><a name="2008-08-21T215124.194924Z"></a> +2008-08-21T21:51:24.194924Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. </pre> -<p>[src/gsptype1.c src/gxwts.c src/gxcht.c src/gxdcolor.c src/gxdcolor.h src/gxclrast.c src/gxclpath.c src/gxht.c]</p> +<p>[src/ztrans.c]</p> </blockquote> -<p><strong><a name="2008-04-09T152845.087056Z"></a> -2008-04-09T15:28:45.087056Z Ken Sharp</strong> (<a href="Details.htm#2008-04-09T152845.087056Z">details</a>)</p> +<p><strong><a name="2008-08-21T083509.363063Z"></a> +2008-08-21T08:35:09.363063Z Ken Sharp</strong> (<a href="Details.htm#2008-08-21T083509.363063Z">details</a>)</p> <blockquote> <pre> -Fix (PDF interpreter): Optionally omit rendering of /.notdef glyphs -from TrueType fonts. +Submission for revision 9008 initialised the wrong 'pfn' variable. </pre> -<p>[lib/pdf_main.ps src/icontext.c src/zchar42.c doc/Use.htm src/icstate.h src/zusparam.c lib/gs_init.ps]</p> +<p>[src/zfunc.c]</p> </blockquote> -<p><strong><a name="2008-04-09T061650.593621Z"></a> -2008-04-09T06:16:50.593621Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-21T083331.319105Z"></a> +2008-08-21T08:33:31.319105Z Ken Sharp</strong> (<a href="Details.htm#2008-08-21T083331.319105Z">details</a>)</p> <blockquote> <pre> -Avoid a spurious warning "CS/cs (setcolorspace) operand not a name". -Acept array values for /CS attribute. Bug 689738. +Fix some more Coverity warnings </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-04-08T215508.170308Z"></a> -2008-04-08T21:55:08.170308Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-21T082849.451522Z"></a> +2008-08-21T08:28:49.451522Z Ken Sharp</strong> (<a href="Details.htm#2008-08-21T082849.451522Z">details</a>)</p> <blockquote> <pre> -We no longer have any outstanding port requests. Bug 689745. +Silence an 'uninitialised variable' warning from Coverity. + </pre> -<p>[doc/Projects.htm]</p> +<p>[src/zfunc.c]</p> </blockquote> -<p><strong><a name="2008-04-06T214234.379385Z"></a> -2008-04-06T21:42:34.379385Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-20T235843.536642Z"></a> +2008-08-20T23:58:43.536642Z Ralph Giles</strong> (<a href="Details.htm#2008-08-20T235843.536642Z">details</a>)</p> <blockquote> <pre> -Use operator .execn to keep the operand stack size and .pdfcount value -consistent during /BuildChar execution. Operator scn depends on the correct -value of .pdfcount. Bug 688796. +Replace an abs() call with our any_abs() macro. Also remove an +unnecessary math_.h include. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[src/gdevbit.c src/devs.mak]</p> </blockquote> -<p><strong><a name="2008-04-06T075333.800999Z"></a> -2008-04-06T07:53:33.800999Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-20T232249.144680Z"></a> +2008-08-20T23:22:49.144680Z Ralph Giles</strong></p> <blockquote> <pre> -Fix PDF empty stack count (pdfemptycount) in the tiling pattern. Operator -scn depends on the correct value of pdfemptycount. This bug was introduced -in the rev. 8308. Bug 689776. +Check for and propagate failures to find matching component indexes in +jpx streams. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[src/sjpx.c]</p> </blockquote> -<p><strong><a name="2008-04-04T113017.034942Z"></a> -2008-04-04T11:30:17.034942Z Till Kamppeter</strong></p> +<p><strong><a name="2008-08-20T220949.649774Z"></a> +2008-08-20T22:09:49.649774Z Ralph Giles</strong></p> <blockquote> <pre> -Added the new files of OpenPrinting Vector 1.0. +Further cleanups to the unix persistent cache error handling. </pre> -<p>[contrib/opvp/opvp_0_2_0.h contrib/opvp/opvp.h]</p> +<p>[src/gp_unix_cache.c]</p> </blockquote> -<p><strong><a name="2008-04-04T112822.909246Z"></a> -2008-04-04T11:28:22.909246Z Till Kamppeter</strong></p> +<p><strong><a name="2008-08-20T213228.795836Z"></a> +2008-08-20T21:32:28.795836Z Ralph Giles</strong></p> <blockquote> <pre> -Updated the OpenPrinting Vector driver interface ("opvp", "oprp") to version 1.0. +Fix memory and file handle leaks in the unix persistent cache error +handling. Also document that it is not re-entrant. </pre> -<p>[contrib/opvp/opvp_media.def contrib/opvp/opvp_common.h contrib/opvp/gdevopvp.c]</p> +<p>[src/gp_unix_cache.c]</p> </blockquote> -<p><strong><a name="2008-04-04T085357.893326Z"></a> -2008-04-04T08:53:57.893326Z Ken Sharp</strong> (<a href="Details.htm#2008-04-04T085357.893326Z">details</a>)</p> +<p><strong><a name="2008-08-20T194620.907096Z"></a> +2008-08-20T19:46:20.907096Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): Incorrect cmap aubtables written for 'non-symbolic' TrueType - fonts, when PDF/A output is enabled. +Remove trailing whitespace. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> +<p><strong><a name="2008-08-20T190944.615235Z"></a> +2008-08-20T19:09:44.615235Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a cast in svgwrite to be explicit that we're only using the lower 24 +bits of the color index. </pre> -<p>[src/gdevpdtb.c src/gdevpsft.c src/gdevpsf.h]</p> +<p>[src/gdevsvg.c]</p> </blockquote> -<p><strong><a name="2008-04-04T083933.625568Z"></a> -2008-04-04T08:39:33.625568Z Ken Sharp</strong> (<a href="Details.htm#2008-04-04T083933.625568Z">details</a>)</p> +<p><strong><a name="2008-08-20T182610.369143Z"></a> +2008-08-20T18:26:10.369143Z Ralph Giles</strong> (<a href="Details.htm#2008-08-20T182610.369143Z">details</a>)</p> <blockquote> <pre> -Fix (pdfwrite): code tidy up. +Fix __func__ on the default (non-C99) gcc build. </pre> -<p>[toolbin/encs2c.ps src/gdevpdtb.c src/gscedata.h src/gdevpdtv.c src/gdevpdtf.h src/gdevpdtv.h src/gscedata.c]</p> +<p>[src/gserror.h]</p> </blockquote> -<p><strong><a name="2008-04-04T010217.399302Z"></a> -2008-04-04T01:02:17.399302Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-20T015436.820847Z"></a> +2008-08-20T01:54:36.820847Z Ralph Giles</strong></p> <blockquote> <pre> -Add the rinkj driver to the default autoconf build under "ETS" devices. +Add the svgwrite device to the default windows build. +Bug 690028.</pre> +<p>[src/msvc32.mak]</p> +</blockquote> -It's not intended for production use, but this will help prevent -bit rot. Related to bug 689780. +<p><strong><a name="2008-08-19T040740.862102Z"></a> +2008-08-19T04:07:40.862102Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the jasper dependency from jpxtopdf. It's straightforward to +parse the image header ourselves. </pre> -<p>[src/configure.ac]</p> +<p>[toolbin/jpxtopdf.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T123125.491176Z"></a> +2008-08-17T12:31:25.491176Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in error checking code introduced in the rev. 8996 in pamcmyk32 +device. Bug 689583. +</pre> +<p>[src/gdevpbm.c]</p> </blockquote> -<p><strong><a name="2008-04-04T010216.708266Z"></a> -2008-04-04T01:02:16.708266Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-17T061935.130662Z"></a> +2008-08-17T06:19:35.130662Z Alex Cherepanov</strong></p> <blockquote> <pre> -Minimal changes to gdevrinkj.c so that it compiles. As far as I can tell, -the version in source control has never worked. +Check return values from all stdio functions in all pnm drivers and propagate +error codes upwards. Bug 689583. + </pre> -<p>[src/gdevrinkj.c]</p> +<p>[src/gdevpbm.c]</p> </blockquote> -<p><strong><a name="2008-04-04T010216.013247Z"></a> -2008-04-04T01:02:16.013247Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-17T011923.099945Z"></a> +2008-08-17T01:19:23.099945Z Alex Cherepanov</strong></p> <blockquote> <pre> -Include stdlib.h for malloc and free in the rinkj device. Bug 689780. +Add one more NMAKE version recognized as MSVC 7. +Bug 689816, customer 351. </pre> -<p>[src/rinkj/rinkj-byte-stream.c]</p> +<p>[src/msvc32.mak]</p> </blockquote> -<p><strong><a name="2008-04-01T002817.665464Z"></a> -2008-04-01T00:28:17.665464Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-16T041820.474141Z"></a> +2008-08-16T04:18:20.474141Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix incorrect scanline length calculation in 1 bit/component images on pswrite -and epswrite devices. The bug was introduced in rev. 8233. -Bug 689771, customer 73. +Work around a bug in a PDF file produced by "Nitro PDF Driver". Assume invalid +operator '-' to be a number 0. Bug 690012, </pre> -<p>[src/gdevps.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-03-31T235328.505732Z"></a> -2008-03-31T23:53:28.505732Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-16T020051.387588Z"></a> +2008-08-16T02:00:51.387588Z Alex Cherepanov</strong></p> <blockquote> <pre> -Don't override the memory pointer set by the client when initializing -the luratech jpx decoder. +Fix parsing of large embedded TrueType fonts by ps2write header: (1) read the +file into multiple strings for sfnts array. (2) use multiple reads to skip +over large parts of the file. Also modify Type42 font reader to allow TrueType +objects to span sfnts string boundaries. Bug 690012. + </pre> -<p>[src/sjpx_luratech.c]</p> +<p>[src/gxttfb.c Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-03-31T230841.231868Z"></a> -2008-03-31T23:08:41.231868Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-14T175406.399403Z"></a> +2008-08-14T17:54:06.399403Z Alex Cherepanov</strong> (<a href="Details.htm#2008-08-14T175406.399403Z">details</a>)</p> <blockquote> <pre> -Do not invoke the s_jpxd_template set_defaults method if it is null. -Fixes bug 689743, whose attachment segfaults with the luratech decoder -for which this method is not implemented. +Use GNU iconv.h header in compatibility mode unless we link with GNU libiconv. +This is needed for compiling gs with gcc under HP-UX 11.11. + </pre> -<p>[src/zfjpx.c]</p> +<p>[src/configure.ac contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-03-31T230055.454967Z"></a> -2008-03-31T23:00:55.454967Z Igor Melichev</strong> (<a href="Details.htm#2008-03-31T230055.454967Z">details</a>)</p> +<p><strong><a name="2008-08-13T015636.856132Z"></a> +2008-08-13T01:56:36.856132Z Ray Johnston</strong> (<a href="Details.htm#2008-08-13T015636.856132Z">details</a>)</p> <blockquote> <pre> -Fix (graphics) : Stroke width was wrong for short segments. +Update the fonts to those that the nightly and cluster regressions have +been using all along. The -Ifonts in the regression script was causing +the contents of Resource/Font to be ignored. These fonts are the std-8.11 +version. + +Note we probably next need to move to the newer version of these fonts +with the metrics fixed, but this is a first step. </pre> -<p>[src/gxstroke.c]</p> +<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusRomNo9L-MediItal Resource/Font/NimbusSanL-BoldItal Resource/Font/URWGothicL-Demi Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/NimbusSanL-ReguItal Resource/Font/URWGothicL-BookObli Resource/Font/URWPalladioL-Ital]</p> </blockquote> -<p><strong><a name="2008-03-28T163025.778081Z"></a> -2008-03-28T16:30:25.778081Z Igor Melichev</strong> (<a href="Details.htm#2008-03-28T163025.778081Z">details</a>)</p> +<p><strong><a name="2008-08-12T234453.919723Z"></a> +2008-08-12T23:44:53.919723Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (graphics) : rectfill applied a wrong path adjustment. +Remove 'Actual Fonts' references in the Fontmap that connected the URW FontName +to an 8.3 filename that we no longer use. +</pre> +<p>[Resource/Init/Fontmap.GS]</p> +</blockquote> +<p><strong><a name="2008-08-12T210438.048281Z"></a> +2008-08-12T21:04:38.048281Z Ray Johnston</strong></p> +<blockquote> +<pre> +Move opdfread.ps to Resource/Init since this is needed by the 'ps2write' device. </pre> -<p>[src/gsdps1.c]</p> +<p>[lib/opdfread.ps Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-03-28T063649.751300Z"></a> -2008-03-28T06:36:49.751300Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T144202.961911Z"></a> +2008-08-12T14:42:02.961911Z Ken Sharp</strong> (<a href="Details.htm#2008-08-12T144202.961911Z">details</a>)</p> <blockquote> <pre> -Improve detection of transparency usage. Search for transparency featires in -the resource chain of annotattion appearance streams. -Bug 689764, customer 531. +Fix: Genoa file renders incorrectly with current color code </pre> -<p>[lib/pdf_main.ps]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-27T083758.577822Z"></a> -2008-03-27T08:37:58.577822Z Ken Sharp</strong> (<a href="Details.htm#2008-03-27T083758.577822Z">details</a>)</p> +<p><strong><a name="2008-08-12T134108.386171Z"></a> +2008-08-12T13:41:08.386171Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite): endstream/endobj not always emitted PDF/A compliant. +Yet another minor change in the color work. + +The test file 'foo0-ge-64k.pdf' demonstrated an error with NChannel processing. The old +PostScript based code simply ignored errors when setting the NChannel Colorant spaces, we +now do the same. </pre> -<p>[src/gdevpdfo.c src/gdevpdfb.c src/gdevpdfu.c src/gdevpdti.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-26T140202.746186Z"></a> -2008-03-26T14:02:02.746186Z Ken Sharp</strong> (<a href="Details.htm#2008-03-26T140202.746186Z">details</a>)</p> +<p><strong><a name="2008-08-12T091756.269901Z"></a> +2008-08-12T09:17:56.269901Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (vector device): Operation order could result in failure to -apply clipping. +Another small change to the color code. The issue Michael has been looking at (#689950) +uses a DeviceN space with an NChannel Colorants dictionary. A mistake in the NChannel +parameter checking meant that the Colorants were never evaluated. </pre> -<p>[src/gdevvec.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-25T052624.097873Z"></a> -2008-03-25T05:26:24.097873Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T073745.162884Z"></a> +2008-08-12T07:37:45.162884Z Igor Melichev</strong> (<a href="Details.htm#2008-08-12T073745.162884Z">details</a>)</p> <blockquote> <pre> -PDF font descriptor may be shared between CID and simple fonts. We cache the -font object in the font descriptor dictionary. To prevent collision, use -different keys to store font and CIDFont objects. Improve the fix for the -bug 689301. +Fix (PS interpreter) : Wrong glyph positions with CIDFontType 2 WMode 1. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[src/zchar42.c]</p> </blockquote> -<p><strong><a name="2008-03-24T200207.895385Z"></a> -2008-03-24T20:02:07.895385Z Igor Melichev</strong> (<a href="Details.htm#2008-03-24T200207.895385Z">details</a>)</p> +<p><strong><a name="2008-08-12T073533.506225Z"></a> +2008-08-12T07:35:33.506225Z Igor Melichev</strong> (<a href="Details.htm#2008-08-12T073533.506225Z">details</a>)</p> <blockquote> <pre> -Fix (clist writer) : Smaller tiles for strip_copy_rop (continued). +Fix (TT interpreter) : AVector bug workaround was wrong. </pre> -<p>[src/gxclimag.c src/gxclrect.c]</p> +<p>[src/ttfmain.c]</p> </blockquote> -<p><strong><a name="2008-03-24T041747.859439Z"></a> -2008-03-24T04:17:47.859439Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T073119.650883Z"></a> +2008-08-12T07:31:19.650883Z Igor Melichev</strong> (<a href="Details.htm#2008-08-12T073119.650883Z">details</a>)</p> <blockquote> <pre> -Equivalent transformation of the PDF font handler to improve readability -in preparation for the PDF font overhaul. +Fix (graphics) : A clist-based pattern supplied a wrong clipping box. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[src/gxpcmap.c src/gximask.c]</p> </blockquote> -<p><strong><a name="2008-03-23T075043.652322Z"></a> -2008-03-23T07:50:43.652322Z Igor Melichev</strong> (<a href="Details.htm#2008-03-23T075043.652322Z">details</a>)</p> +<p><strong><a name="2008-08-12T014902.711432Z"></a> +2008-08-12T01:49:02.711432Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (vector device): %pipe% IO device being opened as seekable (continued). +Fix single '~' expansion in generic POSIX persistent-cache implementation. </pre> -<p>[src/gdevvec.c]</p> +<p>[src/gp_unix_cache.c]</p> </blockquote> -<p><strong><a name="2008-03-22T215500.988313Z"></a> -2008-03-22T21:55:00.988313Z Igor Melichev</strong> (<a href="Details.htm#2008-03-22T215500.988313Z">details</a>)</p> +<p><strong><a name="2008-08-12T013132.498041Z"></a> +2008-08-12T01:31:32.498041Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : Smaller tiles for strip_copy_rop. +Fix a potential crash after failed memory allocation in RAM-based command list. </pre> -<p>[src/lib.mak src/gdevddrw.c src/gdevmr8n.c src/gxclrect.c]</p> +<p>[src/gxclmem.c]</p> </blockquote> -<p><strong><a name="2008-03-21T050753.304009Z"></a> -2008-03-21T05:07:53.304009Z Igor Melichev</strong> (<a href="Details.htm#2008-03-21T050753.304009Z">details</a>)</p> +<p><strong><a name="2008-08-12T005352.298682Z"></a> +2008-08-12T00:53:52.298682Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (Windows application) : Provide a better visual trace support interface for use with other interpreters. +Fix a typo in get_data() macro used by PDF 1.4 composition devices +because the typo caused dependency on the side effect order. </pre> -<p>[src/dwtrace.h src/dwtrace.c]</p> +<p>[src/gdevp14.c]</p> </blockquote> -<p><strong><a name="2008-03-20T102017.499008Z"></a> -2008-03-20T10:20:17.499008Z Ken Sharp</strong> (<a href="Details.htm#2008-03-20T102017.499008Z">details</a>)</p> +<p><strong><a name="2008-08-11T230109.304118Z"></a> +2008-08-11T23:01:09.304118Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (pdfwrite): pdfwrite embedded TrueType/Type 42 fonts which -specifically forbid embedding. +Add a missing break statement after 16-bit Burn blending mode case. </pre> -<p>[src/gxfont42.h src/zfont.c src/gdevpdtt.c src/gstype42.c src/gdevpsft.c src/gdevpdtf.c src/gxfont.h]</p> +<p>[src/gxblend.c]</p> </blockquote> -<p><strong><a name="2008-03-19T100921.671968Z"></a> -2008-03-19T10:09:21.671968Z Ken Sharp</strong> (<a href="Details.htm#2008-03-19T100921.671968Z">details</a>)</p> +<p><strong><a name="2008-08-11T191145.049525Z"></a> +2008-08-11T19:11:45.049525Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (vector device): %pipe% IO device being opened as seekable. +Clean up the configure help entries for optional features. +</pre> +<p>[src/configure.ac]</p> +</blockquote> +<p><strong><a name="2008-08-11T185827.188200Z"></a> +2008-08-11T18:58:27.188200Z Ralph Giles</strong></p> +<blockquote> +<pre> +Don't run configure if autoconf failed to regenerate it. </pre> -<p>[src/gdevvec.c src/gsdevice.c]</p> +<p>[autogen.sh]</p> </blockquote> -<p><strong><a name="2008-03-16T222513.694561Z"></a> -2008-03-16T22:25:13.694561Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-11T183130.295468Z"></a> +2008-08-11T18:31:30.295468Z Ralph Giles</strong></p> <blockquote> <pre> -Handle TT fonts that have short post table with less than 256 glyphs. -Pad the generated Encoding vector with /.notdef glyphs. -Bug 689515, customer 700. +Add a --disable-cairo option to block linking to libcairo for packagers. +Bug 689999. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[src/configure.ac]</p> </blockquote> -<p><strong><a name="2008-03-15T235948.788786Z"></a> -2008-03-15T23:59:48.788786Z Alex Cherepanov</strong> (<a href="Details.htm#2008-03-15T235948.788786Z">details</a>)</p> +<p><strong><a name="2008-08-11T151006.472831Z"></a> +2008-08-11T15:10:06.472831Z Ken Sharp</strong></p> <blockquote> <pre> -Work around a bug in the PS interpeter by not using nulldevice in the PDF -interpreter where it isn't really needed. Bug 689751. +Further to the PostScript color work, clear up a couple of warnings which exhibit using gcc +on Linux, but not MSVC. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[src/zfunc.c src/zfunc4.c]</p> </blockquote> -<p><strong><a name="2008-03-14T054011.023910Z"></a> -2008-03-14T05:40:11.023910Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-08-11T141618.397362Z"></a> +2008-08-11T14:16:18.397362Z Ken Sharp</strong> (<a href="Details.htm#2008-08-11T141618.397362Z">details</a>)</p> <blockquote> <pre> -Fixed duplexing for ljet3d and ljet4d devices; thanks to karsten@sengebusch.de for the changes. +Move the interpretation of PostScript (and PDF) color spaces from PostScript into C. -Fixes bug 687531. +</pre> +<p>[src/int.mak src/zpcolor.c src/zicc.c Resource/Init/gs_devn.ps src/zcssepr.c Resource/Init/gs_cspace.ps src/zcie.c src/zicc.h src/zcie.h src/zcspixel.c Resource/Init/gs_lev2.ps Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps src/zcolor.c src/ifunc.h src/zfunc4.c src/zcsdevn.c src/zcolor.h Resource/Init/gs_patrn.ps src/zfsample.c doc/Develop.htm src/zfunc.c Resource/Init/gs_ll3.ps src/zcsindex.c doc/Psfiles.htm Resource/Init/gs_icc.ps Resource/Init/gs_devpxl.ps src/gscolor2.h Resource/Init/gs_init.ps Resource/Init/gs_devcs.ps Resource/Init/gs_indxd.ps Resource/Init/gs_ciecs2.ps]</p> +</blockquote> -No regressions expected, since neither device is tested by the regression suite. +<p><strong><a name="2008-08-11T121924.825877Z"></a> +2008-08-11T12:19:24.825877Z Ken Sharp</strong></p> +<blockquote> +<pre> +Change the description for the -dNOCIE switch, since it wasn't apparently clear enough +which device spaces were substituted for which CIEBased spaces.</pre> +<p>[doc/Use.htm]</p> +</blockquote> +<p><strong><a name="2008-08-08T053921.132225Z"></a> +2008-08-08T05:39:21.132225Z Ralph Giles</strong></p> +<blockquote> +<pre> +Re-add pdf_draw.ps which was dropped in r8954, since the CET regression +requires it. </pre> -<p>[src/gdevdjet.c src/gdevdljm.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-03-13T071846.618081Z"></a> -2008-03-13T07:18:46.618081Z Igor Melichev</strong> (<a href="Details.htm#2008-03-13T071846.618081Z">details</a>)</p> +<p><strong><a name="2008-08-08T042238.494595Z"></a> +2008-08-08T04:22:38.494595Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (graphics) : A bug in the pattern color serialization. +Massive commit discussed before the freeze to move the PostScript initialization +files to Resource/Init. This obviates the need for geninit when COMPILE_INITS=1. +A followup change will enhance mkromfs to allow it to 'strip' comments and white +space from PostScript input files somewhat reducing the compressed storage needed +for the files in Resource/Init. All files mentioned in int.mak with 'ADDMOD ... +-ps ...' are included as well as those that would have been included via gs_init.ps +%% Replace lines. + +Builds tested on Windows and Cygwin for the various executables (gs, pcl6, pspcl6 +and gxps). + +The default LIBPATH and GenericResourceDir are adjusted accordingly. </pre> -<p>[src/gsptype1.c]</p> +<p>[Resource/Init/gs_typ32.ps /trunk/ghostpdl/main/pcl6_gcc.mak Resource/Init src/cfonts.mak lib/gs_dbt_e.ps Resource/Init/gs_dscp.ps lib/gs_statd.ps lib/gs_fapi.ps Resource/Init/gs_devn.ps Resource/Init/gs_agl.ps lib/cidfmap src/iccinit0.c lib/gs_epsf.ps lib/gs_dpnxt.ps lib/pdf_draw.ps lib/gs_icc.ps lib/gs_diskf.ps src/all-arch.mak Resource/Init/gs_fapi.ps lib/gs_init.ps lib/pdf_font.ps lib/gs_ciddc.ps lib/gs_diskn.ps src/ccfont.h lib/pdf_base.ps Resource/Init/gs_dps.ps lib/gs_sym_e.ps lib/gs_btokn.ps Resource/Init/xlatmap Resource/Init/gs_epsf.ps lib/gs_resmp.ps Resource/Init/gs_init.ps src/gs.mak src/wmin.mak lib/gs_wan_e.ps src/Makefile.in Resource/Init/gs_indxd.ps Resource/Init/gs_cidtt.ps src/macos-mcp.mak Resource/Init/gs_img.ps lib/gs_type1.ps lib/pdf_cslayer.ps Resource/Init/gs_setpd.ps lib/gs_dps1.ps Resource/Init/gs_mgl_e.ps src/psromfs.mak lib/gs_lev2.ps lib/gs_pdf_e.ps Resource/Init/gs_fonts.ps src/icfontab.c Resource/Init/gs_mex_e.ps Resource/Init/gs_ttf.ps lib/gs_pdfwr.ps Resource/Init/gs_std_e.ps lib/gs_cidfn.ps /trunk/ghostpdl/common/msvc_top.mak src/geninit.c src/bcwin32.mak src/imain.c Resource/Init/pdf_cslayer.ps lib/gs_ll3.ps lib/Fontmap Resource/Init/gs_dps1.ps src/iccinit1.c Resource/Init/gs_lev2.ps lib/gs_css_e.ps lib/gs_ccfnt.ps Resource/Init/gs_l2img.ps lib/gs_frsd.ps Resource/Init/gs_cet.ps lib/gs_devpxl.ps lib/gs_trap.ps Resource/Init/FCOfontmap-PCLPS2 src/macosx.mak Resource/Init/gs_patrn.ps Resource/Init/pdf_main.ps lib/gs_ciecs2.ps Resource/Init/gs_res.ps Resource/Init/gs_il1_e.ps lib/gs_cidcm.ps lib/gs_cmap.ps src/openvms.mmk lib/gs_typ32.ps Resource/Init/gs_frsd.ps Resource/Init/gs_mro_e.ps Resource/Init/gs_devpxl.ps Resource/Init/gs_devcs.ps Resource/Init/gs_trap.ps Resource/Init/gs_ciecs2.ps Resource/Init/gs_fntem.ps lib/gs_cspace.ps lib/gs_agl.ps Resource/Init/gs_cmap.ps Resource/Init/gs_typ42.ps Resource/Init/gs_cidfm.ps Resource/Init/pdf_rbld.ps src/int.mak lib/pdf_sec.ps src/msvclib.mak src/imainarg.c /trunk/ghostpdl/main/pcl6_msvc.mak Resource/Init/gs_cff.ps Resource/Init/gs_cspace.ps lib/gs_dps.ps src/msvc32.mak src/unix-gcc.mak lib/xlatmap Resource/Init/pdf_sec.ps src/zfile.c lib/pdf_ops.ps Resource/Init/gs_dbt_e.ps Resource/Init/gs_statd.ps lib/gs_indxd.ps lib/gs_cidtt.ps lib/gs_dps2.ps src/unixansi.mak lib/gs_img.ps Resource/Init/cidfmap lib/gs_setpd.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_icc.ps lib/gs_mgl_e.ps Resource/Init/gs_diskf.ps Resource/Init/pdf_ops.ps src/winint.mak lib/gs_fonts.ps Resource/Init/gs_ciddc.ps Resource/Init/pdf_font.ps Resource/Init/gs_dps2.ps Resource/Init/gs_diskn.ps lib/gs_mex_e.ps lib/gs_ttf.ps lib/gs_std_e.ps Resource/Init/pdf_base.ps lib/gs_resst.ps Resource/Init/gs_sym_e.ps Resource/Init/gs_btokn.ps src/wctail.mak lib/Fontmap.GS src/watclib.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak lib/gs_sepr.ps lib/gs_ciecs3.ps lib/gs_l2img.ps Resource/Init/gs_resmp.ps lib/gs_cet.ps Resource/Init/gs_wan_e.ps src/iccfont.c lib/FCOfontmap-PCLPS2 lib/gs_patrn.ps lib/pdf_main.ps Resource/Init/Fontmap.GS Resource/Init/gs_type1.ps lib/gs_res.ps lib/gs_il1_e.ps /trunk/ghostpdl/language_switch/pspcl6_gcc.mak Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps lib/gs_mro_e.ps Resource/Init/gs_pdf_e.ps lib/gs_devcs.ps src/openvms.mak Resource/Init/gs_pdfwr.ps Resource/Init/gs_cidfn.ps src/watcw32.mak lib/gs_fntem.ps Resource/Init/Fontmap Resource/Init/gs_ll3.ps Resource/Init/gs_css_e.ps src/os2.mak lib/gs_cidfm.ps lib/gs_typ42.ps lib/pdf_rbld.ps src/ugcclib.mak lib/gs_dscp.ps lib/gs_devn.ps lib/gs_cff.ps Resource/Init/gs_cidcm.ps]</p> </blockquote> -<p><strong><a name="2008-03-12T223203.336468Z"></a> -2008-03-12T22:32:03.336468Z Igor Melichev</strong> (<a href="Details.htm#2008-03-12T223203.336468Z">details</a>)</p> +<p><strong><a name="2008-08-08T040354.625369Z"></a> +2008-08-08T04:03:54.625369Z Ray Johnston</strong> (<a href="Details.htm#2008-08-08T040354.625369Z">details</a>)</p> <blockquote> <pre> -Fix (graphics) : Optimize filling a path with a shading color (continuewd 3). +Fix 'rangecheck in showpage' with NumRenderingThreads>0 if the lines requeested do +not range from 0 forward or height-1 backwards. Bug from customer 531 and 850. +Also fix problems with reversion to non-multithreaded rendering with file and memory +based BAND_LIST_STORAGE. </pre> -<p>[src/gxfill.c]</p> +<p>[src/gxclmem.c src/gxclthrd.c src/gxclmem.h]</p> </blockquote> -<p><strong><a name="2008-03-11T183233.104151Z"></a> -2008-03-11T18:32:33.104151Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-07T192004.322235Z"></a> +2008-08-07T19:20:04.322235Z Igor Melichev</strong> (<a href="Details.htm#2008-08-07T192004.322235Z">details</a>)</p> <blockquote> <pre> -Fix MSVC makefile for the 'Big console mode EXE' case when COMPILE_INITS=1. Also -minor cleanup to gs.mak 'clean' target and redundant dependency in ugcclib.mak. -MSVC build problem noted by customer #531. +Fix (graphics) : Redundant patterns in clist (continued), + </pre> -<p>[src/ugcclib.mak src/gs.mak src/msvc32.mak]</p> +<p>[src/gsptype1.c src/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-03-10T021838.654568Z"></a> -2008-03-10T02:18:38.654568Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-07T052008.759100Z"></a> +2008-08-07T05:20:08.759100Z Alex Cherepanov</strong></p> <blockquote> <pre> -When the font has no /FontBBox but provides character width through /Metrics -dictionary, use them instead of the calculated width. The old code did so only -when both the width and side bearings were defined. Bug 689740, customer 353. +A pointer to allocated memory was used before checking it for 0. This bug +was discovered by Klocwork static code analyzer. </pre> -<p>[src/zchar1.c]</p> +<p>[src/scfd.c]</p> </blockquote> -<p><strong><a name="2008-03-09T133451.534239Z"></a> -2008-03-09T13:34:51.534239Z Igor Melichev</strong> (<a href="Details.htm#2008-03-09T133451.534239Z">details</a>)</p> +<p><strong><a name="2008-08-07T000214.784953Z"></a> +2008-08-07T00:02:14.784953Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (transparency) : Transparency compositor device recreation was incorrect. +Add the PSSRC dir to the includes of contrib devices that depend on +the ps interpreter so they can be build when that directory is different +from src. +</pre> +<p>[contrib/contrib.mak]</p> +</blockquote> +<p><strong><a name="2008-08-07T000213.283150Z"></a> +2008-08-07T00:02:13.283150Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter error codes in the gomni +device. </pre> -<p>[src/gdevp14.c]</p> +<p>[contrib/gomni.c]</p> </blockquote> -<p><strong><a name="2008-03-07T133935.783627Z"></a> -2008-03-07T13:39:35.783627Z Igor Melichev</strong> (<a href="Details.htm#2008-03-07T133935.783627Z">details</a>)</p> +<p><strong><a name="2008-08-06T195707.199634Z"></a> +2008-08-06T19:57:07.199634Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (bbox device) : box_fill_path needs as path for shfill. +Remove references to malloc/free memory management not used since r8192. +</pre> +<p>[src/lib.mak src/gsncdummy.c]</p> +</blockquote> +<p><strong><a name="2008-08-06T195121.189161Z"></a> +2008-08-06T19:51:21.189161Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. </pre> -<p>[src/gdevbbox.c]</p> +<p>[src/gsncdummy.c]</p> </blockquote> -<p><strong><a name="2008-03-07T094238.021120Z"></a> -2008-03-07T09:42:38.021120Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-06T194905.961384Z"></a> +2008-08-06T19:49:05.961384Z Ralph Giles</strong></p> <blockquote> <pre> -Correct a default return value. Follow on to Bug 689569. +Use graphics library instead of interpreter-level rangecheck errors. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> -Also rename a variable to match the jbig2dec version of the same call. +<p><strong><a name="2008-08-06T182820.524086Z"></a> +2008-08-06T18:28:20.524086Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a capability to select the first and last line to be emitted to the +output file. This was needed to support some customers (531 and 850) that +do something similar in their devices. Adds -dFirstLine=# and -dLastLine=# +to this device. Line numbers are from 0 to height-1, and may be in reverse +order. Probably not much use other than testing, but it doesn't hurt if it +is there. </pre> -<p>[src/sjbig2_luratech.c]</p> +<p>[src/gdevbit.c]</p> </blockquote> -<p><strong><a name="2008-03-05T233550.165171Z"></a> -2008-03-05T23:35:50.165171Z Igor Melichev</strong> (<a href="Details.htm#2008-03-05T233550.165171Z">details</a>)</p> +<p><strong><a name="2008-08-06T072226.679682Z"></a> +2008-08-06T07:22:26.679682Z Igor Melichev</strong> (<a href="Details.htm#2008-08-06T072226.679682Z">details</a>)</p> <blockquote> <pre> -Fix (clist) : Some transparency compositor commands don't need CTM. +Fix (graphics) : Redundant patterns in clist. </pre> -<p>[src/gdevdbit.c src/gdevp14.c]</p> +<p>[src/gsptype1.c src/lib.mak src/gsptype1.h src/gxcldev.h src/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-03-04T205648.308882Z"></a> -2008-03-04T20:56:48.308882Z Igor Melichev</strong> (<a href="Details.htm#2008-03-04T205648.308882Z">details</a>)</p> +<p><strong><a name="2008-08-06T062444.864622Z"></a> +2008-08-06T06:24:44.864622Z Igor Melichev</strong> (<a href="Details.htm#2008-08-06T062444.864622Z">details</a>)</p> <blockquote> <pre> -Fix (clist) : Crop transparency commands while clist writing, step 4. +Fix (graphics) : Memory leak from Indexed color space. </pre> -<p>[src/gdevp14.c]</p> +<p>[src/gscolor2.c]</p> </blockquote> -<p><strong><a name="2008-03-03T201606.744980Z"></a> -2008-03-03T20:16:06.744980Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T201606.744980Z">details</a>)</p> +<p><strong><a name="2008-08-05T204434.621109Z"></a> +2008-08-05T20:44:34.621109Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (images) : Revert an unintentional change to siscale.c . +Move pointer dereferences to after the NULL check. </pre> -<p>[src/siscale.c]</p> +<p>[src/ttobjs.c]</p> </blockquote> -<p><strong><a name="2008-03-03T160112.306842Z"></a> -2008-03-03T16:01:12.306842Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T160112.306842Z">details</a>)</p> +<p><strong><a name="2008-08-03T175446.281366Z"></a> +2008-08-03T17:54:46.281366Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 3. +Detect and reject PDF files with circular references in the page tree. +Avoid an infinite loop. Bug 689954. </pre> -<p>[src/gxclist.c src/gdevdflt.c src/gdevp14.h src/gstrans.c src/gsalphac.c src/gxclist.h src/gxcomp.h src/gsovrc.c src/gstparam.h src/gstrans.h src/gxclrast.c src/gdevp14.c src/gxclpath.c src/gxclimag.c]</p> +<p>[lib/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-03-03T115742.307384Z"></a> -2008-03-03T11:57:42.307384Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T115742.307384Z">details</a>)</p> +<p><strong><a name="2008-08-03T172340.990280Z"></a> +2008-08-03T17:23:40.990280Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 2. +Update ignore list for the ijs directory. +</pre> +<p>[ijs]</p> +</blockquote> +<p><strong><a name="2008-08-03T171710.771824Z"></a> +2008-08-03T17:17:10.771824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the cairo minimum version check introduced in r8929. </pre> -<p>[src/gxclist.c src/gxcldev.h src/gxclist.h src/gdevp14.c src/gxclpath.c]</p> +<p>[src/configure.ac]</p> </blockquote> -<p><strong><a name="2008-03-03T114233.253339Z"></a> -2008-03-03T11:42:33.253339Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T114233.253339Z">details</a>)</p> +<p><strong><a name="2008-08-03T163042.166329Z"></a> +2008-08-03T16:30:42.166329Z Igor Melichev</strong> (<a href="Details.htm#2008-08-03T163042.166329Z">details</a>)</p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1b. +Fix (graphics) : A slow stroking with big patterns. </pre> -<p>[src/gdevp14.c]</p> +<p>[src/lib.mak src/gxpcmap.c src/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T154758.770546Z"></a> +2008-08-03T15:47:58.770546Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Cairo device requires at least v. 1.2.0 of the Cairo library to build. +</pre> +<p>[src/configure.ac]</p> </blockquote> -<p><strong><a name="2008-03-03T101301.196997Z"></a> -2008-03-03T10:13:01.196997Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T101301.196997Z">details</a>)</p> +<p><strong><a name="2008-08-03T122641.949878Z"></a> +2008-08-03T12:26:41.949878Z Igor Melichev</strong> (<a href="Details.htm#2008-08-03T122641.949878Z">details</a>)</p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1a. +Fix (graphics) : Memory leak from Indexed color space. </pre> -<p>[src/gxclist.h]</p> +<p>[src/gsmchunk.c src/gscolor2.c]</p> </blockquote> -<p><strong><a name="2008-03-03T101127.428498Z"></a> -2008-03-03T10:11:27.428498Z Igor Melichev</strong> (<a href="Details.htm#2008-03-03T101127.428498Z">details</a>)</p> +<p><strong><a name="2008-08-03T122539.705021Z"></a> +2008-08-03T12:25:39.705021Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1. +Give a name to a continuation operator %ztoken_continue to avoid printing +its address, which varies between builds and causes spurious regression +reports. </pre> -<p>[src/gxclist.c src/gdevp14.c src/gxclpath.c src/gxclimag.c src/gxclrect.c]</p> +<p>[src/ztoken.c]</p> </blockquote> -<p><strong><a name="2008-03-03T040351.374416Z"></a> -2008-03-03T04:03:51.374416Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-03-03T040351.374416Z">details</a>)</p> +<p><strong><a name="2008-08-03T074959.678670Z"></a> +2008-08-03T07:49:59.678670Z Russell Lang</strong></p> <blockquote> <pre> +Fix the OS/2 build, which was broken because it was trying to use the +Windows synchronisation code. +While OS/2 does support thread synchronsation, there is no ghostscript +implementation for the OS/2 platform, and no interest in writing one. +</pre> +<p>[src/os2.mak]</p> +</blockquote> -Fix for compression always falling back to no compression in -pclxl_write_image_data(), bug 689732. +<p><strong><a name="2008-08-02T151041.076927Z"></a> +2008-08-02T15:10:41.076927Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace a conditional expression with an 'if' statement. The former +requires a prototype for mkstemp64() that is not available on AIX. </pre> -<p>[src/gdevpx.c]</p> +<p>[src/gp_unifs.c]</p> </blockquote> -<p><strong><a name="2008-03-03T025705.472235Z"></a> -2008-03-03T02:57:05.472235Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-01T214344.587346Z"></a> +2008-08-01T21:43:44.587346Z Ralph Giles</strong></p> <blockquote> <pre> -Fix properties +Document needing to remove autom4te.cache from the jasper directory. </pre> -<p>[src/psromfs.mak src/gsromfs0.c]</p> +<p>[doc/Release.htm]</p> </blockquote> -<p><strong><a name="2008-03-03T011709.063617Z"></a> -2008-03-03T01:17:09.063617Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2008-03-03T011709.063617Z">details</a>)</p> +<p><strong><a name="2008-08-01T214342.361706Z"></a> +2008-08-01T21:43:42.361706Z Ralph Giles</strong></p> <blockquote> <pre> -Fall back to using gx_default_copy_mono() in pclxl_copy_mono() if data_x!=0. +We can no longer run the full build with -dBufferSpace=100000. The +minimum to complete the smoke test seems to be around 120000, but +use 200000 as future insurance. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> +<p><strong><a name="2008-08-01T205740.076512Z"></a> +2008-08-01T20:57:40.076512Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reduce heap size limit (/Zm) on MSVC6 to fix internal compiler error +when COMPILE_INITS=1. </pre> -<p>[src/gdevpx.c]</p> +<p>[src/msvccmd.mak]</p> </blockquote> -<p><strong><a name="2008-03-01T101820.389016Z"></a> -2008-03-01T10:18:20.389016Z Ken Sharp</strong> (<a href="Details.htm#2008-03-01T101820.389016Z">details</a>)</p> +<p><strong><a name="2008-08-01T205500.712414Z"></a> +2008-08-01T20:55:00.712414Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): problems with type 3 fonts executing 'show'. +Add a mapping of commit ids to author names. +This is used by split_changelog.py to do the replacement when building +the History files. The changes to that script to make use of this file +were inadvertently included in r8917. </pre> -<p>[src/gdevpdfx.h src/gdevpdtt.c src/gdevpdfb.h src/gdevpdti.c]</p> +<p>[doc/AUTHORS]</p> </blockquote> -<p><strong><a name="2008-03-01T101502.847745Z"></a> -2008-03-01T10:15:02.847745Z Ken Sharp</strong> (<a href="Details.htm#2008-03-01T101502.847745Z">details</a>)</p> +<p><strong><a name="2008-08-01T202216.068978Z"></a> +2008-08-01T20:22:16.068978Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): problems with type 3 fonts executing 'show'. - +Bump the version and product name post-release. </pre> -<p>[src/gdevpdfd.c]</p> +<p>[doc/News.htm toolbin/split_changelog.py lib/gs_init.ps src/gscdef.c src/version.mak]</p> </blockquote> -<p><strong><a name="2008-03-01T014204.749356Z"></a> -2008-03-01T01:42:04.749356Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-01T180818.641815Z"></a> +2008-08-01T18:08:18.641815Z Ralph Giles</strong></p> <blockquote> <pre> -Bump the revision after the 8.62 release. +Update change logs for the 8.53 release. </pre> -<p>[doc/News.htm lib/gs_init.ps src/gscdef.c src/version.mak]</p> +<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> </blockquote> </body> </html> diff --git a/gs/doc/Details.htm b/gs/doc/Details.htm index 036d137cb..809fd629d 100644 --- a/gs/doc/Details.htm +++ b/gs/doc/Details.htm @@ -8,4089 +8,4966 @@ </head> <body> -<p><strong><a name="2008-08-01T175317.331788Z"></a> -2008-08-01T17:53:17.331788Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T185939.072673Z"></a> +2009-01-26T18:59:39.072673Z Ralph Giles</strong></p> <blockquote> <pre> -Bump the product name an date for the 8.63 release. +Release notes for 8.64rc1. </pre> -<p>[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 src/gscdef.c 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 src/version.mak 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 doc/Htmstyle.htm 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]</p> +<p>[doc/News.htm]</p> </blockquote> -<p><strong><a name="2008-07-31T210650.284451Z"></a> -2008-07-31T21:06:50.284451Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-26T180553.102397Z"></a> +2009-01-26T18:05:53.102397Z Ralph Giles</strong></p> <blockquote> <pre> -Update change logs for 8.63rc3. +Propagate release number and date to the documentation. </pre> -<p>[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 src/version.mak 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 doc/Htmstyle.htm 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/Details.htm doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[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/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]</p> </blockquote> -<p><strong><a name="2008-07-29T203541.916113Z"></a> -2008-07-29T20:35:41.916113Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-26T180416.208144Z"></a> +2009-01-26T18:04:16.208144Z Ralph Giles</strong></p> <blockquote> <pre> -Fix problem with NumRenderingThreads>0 with devices that request data from -the bottom up such as the 'bmp*' devices. Bug 689985. +Bump release numbers and copyright dates for 8.64rc1. </pre> -<p>[src/gxclthrd.c]</p> +<p>[base/gscdef.c base/version.mak doc/News.htm psi/dwsetup.rc psi/winint.mak doc/Release.htm]</p> </blockquote> -<p><strong><a name="2008-07-29T191131.677116Z"></a> -2008-07-29T19:11:31.677116Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-26T180243.525231Z"></a> +2009-01-26T18:02:43.525231Z Ralph Giles</strong></p> <blockquote> <pre> -Add support to NULL pointers in t_structs or t_astructs objects to execstack -operator. Thanks to Ken for the analysis. Bug 689535. - -DETAILS: -The issue is to do with devices handling patterns as high-level objects, which -is why it affects pdfwrite (which can handle patterns itself) but not regular -rendering. In zpcolor.c, pattern_paint_prepare(), there are two control paths, -one for devices which handle patterns as high-level objects, and one for -devices which don't. If the device can't handle high level objects, we install -a pattern accumulation device. - -In this case, the flag internal_accum is set, we create the pattern accumulator -device and open it: - - if (internal_accum) { - gs_memory_t *storage_memory = gstate_pattern_cache(pgs)->memory; - - pdev = gx_pattern_accum_alloc(imemory, storage_memory, pinst, -"pattern_paint_prepare"); - if (pdev == 0) - return_error(e_VMerror); - code = (*dev_proc(pdev, open_device)) ((gx_device *) pdev); -... -... -} - -Later the two control paths rejoin and we put some objects on the execution -stack: - - push_mark_estack(es_other, pattern_paint_cleanup); - ++esp; - make_istruct(esp, 0, pdev); +Work around an issue with comment parsing in the pre.tcl release script. -Now notice that we construct the structure on esp using pdev, but we *don't* -create pdev if we can handle patterns, so its left as NULL and we end up -pushing an empty t_struct. - -Leo's question in comment 10 is whether this is legal, the answer appears to be -yes, but its debatable. +My tclsh seems to be broken. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> -In pattern_paint_finish we do this: +<p><strong><a name="2009-01-26T180241.107170Z"></a> +2009-01-26T18:02:41.107170Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new source locations. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> - gx_device_forward *pdev = r_ptr(esp - 1, gx_device_forward); +<p><strong><a name="2009-01-26T180237.633990Z"></a> +2009-01-26T18:02:37.633990Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new gs_init.ps location. - if (pdev != NULL) { - gx_color_tile *ctile; - int code = gx_pattern_cache_add_entry((gs_imager_state *)igs, - pdev, &ctile); +The essential ps library files were moved from lib to Resource/Init for +clarity and simpler behavior with compile-inits. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> -That is, if the structure *isn't* NULL we do something with it, we ignore it if -it is NULL. Either way we then do this: +<p><strong><a name="2009-01-26T173336.155851Z"></a> +2009-01-26T17:33:36.155851Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pswrite): Incorrect PageBoundingBox comment location - esp -= 3; +Details: +The new %%PageBoundingBox comment was being emitted between a %%BeginPageSetup and %%EndPageSetup comment pair, which was causing it to be ignored by CUPS. -Removing all the objects from the execution stack that we added. Notice that -the structure we pushed onto the execution stack isn't actually 'executed', its -just data used by the pattern handler. +Moved the bounding box in front of the page setup comment -Now, all this works just fine in normal practice, however the job here uses a -CIEBased colour space, and being from an Adobe application it tries to set the -ColorRendering. Since we don't implement a ColorRendering resource category, -this causes an error (handled in a stopped context). +</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> -The default error handler uses execstack, and this is where the actual error -finally occurs, because execstack can't handle the empty structure. +<p><strong><a name="2009-01-26T171647.546837Z"></a> +2009-01-26T17:16:47.546837Z Ken Sharp</strong></p> +<blockquote> +<pre> +Yet more tidying up in the batch file. Adds release builds to the solution, better directory handling, a usage comment in the batch file and, if invoked without parameters, a usage printout for the user.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> +<p><strong><a name="2009-01-25T065945.428302Z"></a> +2009-01-25T06:59:45.428302Z Ralph Giles</strong></p> +<blockquote> +<pre> +Make the GS_SPLIT_LIBS configure function only recognize -l at the start +of an argument, to avoid false positives from hyphens inside linker +arguments. Bug 690254. </pre> -<p>[src/zcontrol.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-29T180637.196198Z"></a> -2008-07-29T18:06:37.196198Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-24T093146.808669Z"></a> +2009-01-24T09:31:46.808669Z Ken Sharp</strong></p> <blockquote> <pre> -Update change logs for 8.63rc2. -</pre> -<p>[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 src/version.mak 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 doc/Htmstyle.htm 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/Details.htm doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +This batch file, to generate a MSVC solution for building GS, was invalidated by the source re-organisation, and the inclusion of the resources in a ROM file system. + +Fixed various aspects so that it now works again, basically.</pre> +<p>[toolbin/msvcxml.bat]</p> </blockquote> -<p><strong><a name="2008-07-29T110111.006826Z"></a> -2008-07-29T11:01:11.006826Z Russell Lang</strong></p> +<p><strong><a name="2009-01-24T090550.373013Z"></a> +2009-01-24T09:05:50.373013Z Ken Sharp</strong></p> <blockquote> <pre> -Allow compilation with Microsoft Visual Studio 2008 (VC 9.0). -Include lib files in the Windows installer when using COMPILE_INITS=1. -</pre> -<p>[src/winint.mak src/msvc32.mak]</p> +Add a check when comparing clip paths to see if both are NULL. Silences a Coverity warning and one day might conceivably prevent a crash.</pre> +<p>[base/gdevpdfd.c]</p> </blockquote> -<p><strong><a name="2008-07-28T222304.128314Z"></a> -2008-07-28T22:23:04.128314Z Michael Vrhel</strong></p> +<p><strong><a name="2009-01-23T225302.093705Z"></a> +2009-01-23T22:53:02.093705Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for Bug 689983. This was introduced with the source space interpolation code. Fixes indexing direction in source data when we have indexed data, interpolation and a negative xx value in the geometric transformation. +Convert 24 bit RGB data to grayscale when printing in monochrome with +eplaser device. Previously the RGB data was sent as is, resulting in +a stretched and truncated page image. +Patch from Olaf Meeuwissen. Bug 690252. </pre> -<p>[src/gxiscale.c]</p> +<p>[contrib/eplaser/gdevescv.c]</p> </blockquote> -<p><strong><a name="2008-07-28T204443.542926Z"></a> -2008-07-28T20:44:43.542926Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-23T190440.484432Z"></a> +2009-01-23T19:04:40.484432Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update change logs for 8.63rc1. +Continue the the fix from rev. 9384, plug 2 more ways that caused multiple +inclusion of page objects into the linearized file. Bug 690140, customer 932. + </pre> -<p>[doc/Changes.htm doc/History8.htm doc/News.htm doc/Details8.htm doc/Details.htm]</p> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-28T194125.163173Z"></a> -2008-07-28T19:41:25.163173Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-23T031005.467096Z"></a> +2009-01-23T03:10:05.467096Z Ralph Giles</strong></p> <blockquote> <pre> -Fix a syntax error from r8548. +Use the page parameters set on the X11 device when called by Ghostview. -This wasn't noticed because double.dev isn't part of the default build. +This patch allows gv to control the output page parameters, overriding +document and gs default settings. Since it has been tested in the +Debian distribution and is contingent on being wrapped by the viewer, +I consider it low risk. + +Original patch by William Bader. Bug 688943. </pre> -<p>[src/zdouble.c]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2008-07-28T185841.634974Z"></a> -2008-07-28T18:58:41.634974Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-22T135318.843673Z"></a> +2009-01-22T13:53:18.843673Z Ken Sharp</strong></p> <blockquote> <pre> -Update release date and product name for 8.63rc1. -</pre> -<p>[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 src/gscdef.c 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 src/version.mak 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 doc/Htmstyle.htm man/font2c.1 man/gsnd.1 man/pdfopt.1 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]</p> +Initialise two uninitialised variables. Not thought to be a real problem, but worth making certain. Flagged by Coverity.</pre> +<p>[base/gdevpsf1.c base/gdevpsfx.c]</p> </blockquote> -<p><strong><a name="2008-07-28T185501.811159Z"></a> -2008-07-28T18:55:01.811159Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-22T131507.920292Z"></a> +2009-01-22T13:15:07.920292Z Ken Sharp</strong></p> <blockquote> <pre> -Update news for 8.63rc1. +Check the return value of gdev_prepare_stroke. Another warning from Coverity. </pre> -<p>[doc/News.htm]</p> +<p>[base/gdevps.c]</p> </blockquote> -<p><strong><a name="2008-07-28T120151.595271Z"></a> -2008-07-28T12:01:51.595271Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-22T025301.653019Z"></a> +2009-01-22T02:53:01.653019Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix extraction of the default subfile from PDF file collection on save -level 0. Export the file name as a PS name from PDF interpreter instance -to protect the name from restore. Bug 689981. - -DETAILS: -Exporting this value as a global composite object doesn't work when PDF -interpreter runs on the save level 0. If we ever implement processing of -multiple files from PDF collection the interface will need some changes. +Fix multiple inclusion of page objects referenced from beads array. +Bug 690140, customer 932. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-28T101053.373341Z"></a> -2008-07-28T10:10:53.373341Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-22T014831.483983Z"></a> +2009-01-22T01:48:31.483983Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (clist writer) : Improve the logic about zero tile id. +Fix for Segfault with tiffsep devics when a file has more than 64 spot colors +and uses transparency. Clean up indentations to C-style. Problem seen with +Bug 690157. -DETAILS : +DETAILS: -Thanks to Peter for participation. See comment in code. +The number of channels needed in the pdf14 device is one greater than the +number of separations, to allow for the alpha channel (gxblend.h) and the +'comps' variable needs to be at a gx_color_index size to avoid truncation. +Note that the output from tiffsep and psdcmyk is still incorrect -- there +is a gray background in the black channel that is not expected. Also, the +color swatches defined as Alternate colors do not appear in the output, +only the Separations and the device (process) colors. + +Also note that this does not address comment #5 from bug 690157 since the +default behavior when the maximum number of separations is reached is to +silently use the Alternate color. + +This patch is primarily designed to cure the segfault (buffer OOB) issue. </pre> -<p>[src/gxclrect.c]</p> +<p>[base/gdevp14.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2008-07-28T075242.264750Z"></a> -2008-07-28T07:52:42.264750Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-22T011735.554315Z"></a> +2009-01-22T01:17:35.554315Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (printer) : A check for buffer space overflow was dramatically overestimated. +Check for and skip null objects (and other junk) in the /Anots array. +Bug 690244. -DETAILS : +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> -In the old code : +<p><strong><a name="2009-01-21T153455.892148Z"></a> +2009-01-21T15:34:55.892148Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a couple of error return checks which were missing. Picked up by Coverity.</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> - new_height < max_ulong/(mem_space + (new_height * pdf14_trans_buffer_size)) +<p><strong><a name="2009-01-19T111305.930829Z"></a> +2009-01-19T11:13:05.930829Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 8951 missed an important part of the fix for pswrite, emitting a %%PageBoundingBox for each +page of the output.</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> -Where pdf14_trans_buffer_size is (raster * NUM_PDF14_BUFFERS). +<p><strong><a name="2009-01-19T094756.340575Z"></a> +2009-01-19T09:47:56.340575Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pswrite): %%BoundingBox comment geenration + (ps2write): media selection and %%BoundingBox generation -equivalent to : +Details: +bug #690236 "Ghostscript is not able to convert PDF to PostScript +maintaining the input document's page sizes" - - new_height * (mem_space + (new_height * (raster * NUM_PDF14_BUFFERS))) < max_ulong +The pswrite bug is actually in the consuming applications, which are unable to +process the media selection requests in the pswrite output and instead use DSC +comments to select the media. pswrite attempts to use the bbox deice to generate a +%%BoundingBox comment, but because this is a high-level device, no marks are made, so +the BoundingBox is 0 0 0 0. +Fixed by using the media size instead if this case is detected. -equivalent to : - new_height * mem_space + new_height * new_height * raster * NUM_PDF14_BUFFERS < max_ulong +ps2write did not generate a %%BoundingBox, or any other DSC comment at all, because it +does not produce DSC PostScript (there is a request to address this already #690064). +Also the media selection in the ps2write output is disabled by default, forcing users +to find some means to set particular keys in userdict on the target device. +Fixed by emitting a %%BoundingBox equal to the media size of the first page (NB as +this is not DSC, other pages will be selected incorrectly if this is all the +application uses). Also allow the use of the /SetPageSize, /RotatePages and /FitPages +keys during ps2write processing to emit a PostScript file with these keys already +set, thus allowing media selection to take place without further user intervention. -So it counts new_height quadratically, but it must be the linear multiple by the raster. +</pre> +<p>[doc/Ps2ps2.htm base/gdevpdfx.h base/gdevpsu.c base/gdevpdfp.c base/gdevpdfu.c base/gdevpdfb.h]</p> +</blockquote> -Debugged with the test case of the bug 689982. -It creates a 15Mb raster, but could not switch off the banding -even with -dMaxBitmap=1000000000 . +<p><strong><a name="2009-01-18T195758.223740Z"></a> +2009-01-18T19:57:58.223740Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass +correct device type to prn_device_body() macro. thanks to Wendy for the patch. </pre> -<p>[src/gdevprn.c]</p> +<p>[base/gdevifno.c]</p> </blockquote> -<p><strong><a name="2008-07-27T210638.633515Z"></a> -2008-07-27T21:06:38.633515Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-16T183848.474888Z"></a> +2009-01-16T18:38:48.474888Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (shading) : Empty clipping was entirely lost. +Fix (pdfwrite): Invalid metadata for PDF/A output -DETAILS : +Details: +bug #690046 "Ghostscript doesn't produce valid PDF/A-1B files" -Bug 689982 "A wrong shading raster". +Now that we have an example file, the remaining issues are resolved: -The old code doesn't account that gx_cpath_from_rectangle -may normalize the given rectangle. +1) The recommended tags for font metadata in the ISO spec are not present in the XMP schema, resulting in Acrobat preflight complaining. Distiller does not (and never has, apparently) write font metadata for PDF/A files, and the spec says only that files 'should' contain metadata. For now we disable writing font metadata to match Distiller. + +2) When converting TrueType fonts into CIDFonts, for PDF/A compatability, we must also write a CIDSet resource. The code was creating and initialising a table containing an explicit 256 entries, but the CIDSet resource was writing as many entries as there are glyphs in the base font. If this was larger we wrote uninitialised data to the CIDSet. Altererd to create and initialise a table the size of the number of glyphs in the base font. </pre> -<p>[src/gxfill.c]</p> +<p>[base/gdevpdtd.c base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-27T191002.737363Z"></a> -2008-07-27T19:10:02.737363Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-16T050344.102465Z"></a> +2009-01-16T05:03:44.102465Z Ralph Giles</strong></p> <blockquote> <pre> -Metadata updates for the new zfile header. +Move the font api bridge implementations to the psi directory. + +Bug 690231, fixes the language switch build with ufst. + +These are referenced from int.mak and depend on interpreter-level +headers. So while the font api should be part of the graphics library, +these files actually belong in the interpreter. </pre> -<p>[src/zfile.h doc/Develop.htm]</p> +<p>[psi/fapi_ft.c base/fapiufst.c psi/fapiufst.c base/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2008-07-27T160730.174721Z"></a> -2008-07-27T16:07:30.174721Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-15T152239.193218Z"></a> +2009-01-15T15:22:39.193218Z Ken Sharp</strong></p> <blockquote> <pre> -Remove (complete) duplication of the contents. Cosmetic change only. -</pre> -<p>[src/zfile.h]</p> +Update a comment to say why the minimum file size is 4KB</pre> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-27T160128.177923Z"></a> -2008-07-27T16:01:28.177923Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-15T152015.993430Z"></a> +2009-01-15T15:20:15.993430Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (clist) : Skip writing unuseful data with linear color triangle. +Fix (pdfopt): Minimum optimised file size changed in Acrobat 9 -DETAILS : - -This fixes a minor problem what was discovered while working on -bug 689918 "Ghostscript 8.62 and 8.63 segmentation fault". +Details: +bug #690210 "Inconsistent "fast web view' results" -cmd_write_trapezoid_cmd wrote an unused data to clist when -processing a linear color triangle. The variables ybot, ytop are never used -while a clist interpretation. In same time the data are not initialized -in that case, so they imply an indeterministic content and length of the clist. +It seems Acrobat 9 will decide that any file less than 4Kb in size is not optimised for fast web view, regardless of content. Previous versions of Acrobat insisted on a minimum of 1Kb. </pre> -<p>[src/gxclrast.c src/gxclrect.c]</p> +<p>[lib/pdfopt.ps]</p> </blockquote> -<p><strong><a name="2008-07-27T093842.451745Z"></a> -2008-07-27T09:38:42.451745Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-15T091600.166572Z"></a> +2009-01-15T09:16:00.166572Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (True Type font loader) : Can't work around unsorted 'loca' when 'loca' is not loaded. +Fix (pdfwrite) -DETAILS : - -Bug 689893 "Regression: CID font emulation is broken." - -A work around against unsorted 'loca' and its recent improvements -assume that 'loca' presents in sfnts. It is not true -when a CID font is emulated with a True Type disk font, -because in that case the font machinery delay loading -'loca' and 'glyp' elements until a real request from a document. -For more details see comments added in code. +Details: +revision 9346 sets the about member of the XMP metadata to empty ("") unconditionally, this should only be done when writing PDF/A files. </pre> -<p>[src/bfont.h src/zfcid1.c src/gstype42.c src/zfont42.c]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-27T092937.311275Z"></a> -2008-07-27T09:29:37.311275Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-15T075213.786371Z"></a> +2009-01-15T07:52:13.786371Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (PDF interpreter) : A temporary work around huge images with a soft mask. +Fix compilation on Windows NT, which doesn't define LOCALE_IPAPERSIZE. -DETAILS : - -Bug 689080 "PDF Crash with Transparency at 2880 dpi". - - -This is a temporary workaraound for the problem, -see comment in code. - -With this patch the test case doesn't crash, -but it needs -dBufferSpace=500000000 to complete in 15 minutes -on Core 2 Duo 2.4 MHz with debug build. -The test case is pretty big anyway - it generates a 4.2 gigapixel raster. - -Thankls to Ray for obtaining the buffer space from a device. - -I think the old code is incorrect because it looks applying the -mask two times : first when installing a mask buffer with -.begintransparencymaskimage in doimagesmask, and second time when -processing a Type 103 image in C code. The raster difference -is likely caused by that. I don't perform a deeper analyzis, -because it's a temporary fix which needs to be replaced soon. -All that is written in this paragraph are not sure, -because there is no time for a deeper analyzis before 8.63 release. -When we'll complete Type 103 images (with rasterizing after clist -and with a proper handling in pdfwrite), .begintransparencymaskimage -will likely go away. +</pre> +<p>[base/gp_wpapr.c]</p> +</blockquote> +<p><strong><a name="2009-01-14T225856.327548Z"></a> +2009-01-14T22:58:56.327548Z Ralph Giles</strong></p> +<blockquote> +<pre> +Check for a null target_info in bbox_image_end_image before +trying to free it. Fixes bug 680019. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2008-07-27T070342.852634Z"></a> -2008-07-27T07:03:42.852634Z Russell Lang</strong></p> +<p><strong><a name="2009-01-14T111524.692365Z"></a> +2009-01-14T11:15:24.692365Z Igor Melichev</strong></p> <blockquote> <pre> -When building the Windows installer with COMPILE_INITS=1, -do not include the Resource and lib initialization files as -separate files in the installer zip archive. +Fix (graphics) : Redundant patterns in clist (continued 7). + +DETAILS : + +Bug 690228 "pcl6 regression". + +Don't write a pattern in the short form (just tile id) +to the "all bands" list if some bands don't store same tile id. +Otherwise those bands would be confused and try to call pattern_load, +which is not supported while a clist playback. + </pre> -<p>[src/winint.mak]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-27T025211.521293Z"></a> -2008-07-27T02:52:11.521293Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-13T221721.104569Z"></a> +2009-01-13T22:17:21.104569Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix direct access to a subfile in the %rom% file system by reusable -stream. Bug 689976, customers 661, 580. +Return 0 when accessing Type1C font table out of range or the table is too +short and display a warning if possible. Bug 690050, customer 353. DETAILS: -1. Open the source file of the reusable stream as a general stream, - rather than an os-based file stream. -2. Take into account file_offset member when accessing the stream. +Old code smashed the stack when operator read was unsuccessful and failed +shortly afterwards. New code tolerates PDF files produced by 'Exstream +Dialogue', which have Type1C fonts with overlapping tables, which Ghostscript +shortens to non-overlapping length. Thanks to Ray for the origimal patch. </pre> -<p>[src/zfile.h src/gsiorom.c src/int.mak src/zfrsd.c src/zfile.c]</p> +<p>[Resource/Init/gs_cff.ps]</p> </blockquote> -<p><strong><a name="2008-07-25T225114.900519Z"></a> -2008-07-25T22:51:14.900519Z Russell Lang</strong></p> +<p><strong><a name="2009-01-13T183837.869412Z"></a> +2009-01-13T18:38:37.869412Z Ray Johnston</strong></p> <blockquote> <pre> -Change Windows installer to remove "GPL Ghostscript Fonts" target. -Ghostscript now includes fonts in the Resource directory, -and no longer needs the fonts previously installed in -"C:\Program Files\gs\fonts". +Revert .outputattrkeys to the list prior to rev 8026 to fix problems with +Duplex introduced with that change. Bug 690041. + </pre> -<p>[src/dwsetup.rc src/winint.mak src/dwsetup.h src/dwsetup.cpp]</p> +<p>[Resource/Init/gs_setpd.ps]</p> </blockquote> -<p><strong><a name="2008-07-25T011039.451286Z"></a> -2008-07-25T01:10:39.451286Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-12T193358.722824Z"></a> +2009-01-12T19:33:58.722824Z Ralph Giles</strong></p> <blockquote> <pre> -Use reusable stream when the data stream of type 0 function doesn't fit into -a string. Bug 689978, customer 770. +Fix a gcc warning in gxshade6.c. + +When VD_TRACE is not defined, vdtrace.h defines most of its operations +as DO_NOTHING, but with was not done for vd_restore and vd_disable, +causing compiler warnings in gxshade6.c, where vd_disable is called +as the sole body of an if() statement. +Bug 690204. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[base/vdtrace.h]</p> </blockquote> -<p><strong><a name="2008-07-24T172851.809318Z"></a> -2008-07-24T17:28:51.809318Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-12T165159.689070Z"></a> +2009-01-12T16:51:59.689070Z Ken Sharp</strong></p> <blockquote> <pre> -Fix source style warnings from the nightly regression. +Fix (pdfwrite): Invalid metadata for PDF/A output + +Details: +bug #690046 "Ghostscript doesn't produce valid PDF/A-1B files" + +This does not, unfortunately, address some of the issues raised in the bug report, +without a sample PostScript file to work from these cannot currently be addressed. + +However, there were significant problems with the XMP metadata being written: +1) The rdf attribute 'about' has changed, it is no longer recommended to use a UUID, +it should be left empty or formatted as a URI. Altered to empty. +2) The Adobe parser does not like mix and match of attributes and properties, if we +are setting properties, we can't use (at least some) attributes. +3) The preferred schema namespace prefix for the XMP basic schema is now 'xmp' not +'xap'. +4) Date syntax was incorrect for GMT. XMP specifies *either* 'Z' *or* +/-hh:mm. We +were writing 'Z00:00' (that is, both alternatives). + +Also added support for the /Subject and /Keywords elements of the Document Info +dictionary, if these are present, as per the patch from Florian Haenel. + </pre> -<p>[src/aes.h doc/Develop.htm toolbin/clusterpush.sh]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2008-07-24T020607.385871Z"></a> -2008-07-24T02:06:07.385871Z Michael Vrhel</strong></p> +<p><strong><a name="2009-01-10T221118.954264Z"></a> +2009-01-10T22:11:18.954264Z Till Kamppeter</strong></p> <blockquote> <pre> -Clean up of // comment in code and debug ifdef that should have been removed for r8868</pre> -<p>[src/gxiscale.c]</p> +Add "-sstdout=%stderr" to scripts that call gs so that they don't corrupt their own output when outputing to stdout (Thanks to Dan Sheridan (djs at adelard dot com), Ubuntu bug #314439). + +</pre> +<p>[lib/eps2eps lib/ps2pdfwr lib/ps2ps lib/ps2ps2 lib/dvipdf]</p> </blockquote> -<p><strong><a name="2008-07-24T004206.095459Z"></a> -2008-07-24T00:42:06.095459Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-09T085340.554994Z"></a> +2009-01-09T08:53:40.554994Z Till Kamppeter</strong></p> <blockquote> <pre> -Change the XYSSL AES implementation to better match our conventions. +Added support for GNU Hurd (patch from Debian package). </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-24T004204.729720Z"></a> -2008-07-24T00:42:04.729720Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-09T002818.396434Z"></a> +2009-01-09T00:28:18.396434Z Ray Johnston</strong></p> <blockquote> <pre> -Change the XYSSL AES implementation to build in isolation. +Correct very minor typo. </pre> -<p>[src/aes.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-07-24T004202.863201Z"></a> -2008-07-24T00:42:02.863201Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-08T212855.852108Z"></a> +2009-01-08T21:28:55.852108Z Till Kamppeter</strong></p> <blockquote> <pre> -Replace Brian Gladman's AES implementation with a no-advertising BSD -version from XYSSL 0.9. Used with permission of Christophe Devine. +Small correction on ./configure magic for libpaper. </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-24T004201.337493Z"></a> -2008-07-24T00:42:01.337493Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-08T125135.348058Z"></a> +2009-01-08T12:51:35.348058Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix some compile problems in Brian Gladman's AES implementation -and disable 'on the fly keying' routines we don't need. +Added auto-detection for libpaper to the configure script </pre> -<p>[src/aes.h src/aes.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2008-07-23T232939.935990Z"></a> -2008-07-23T23:29:39.935990Z Michael Vrhel</strong></p> +<p><strong><a name="2009-01-08T124328.851914Z"></a> +2009-01-08T12:43:28.851914Z Igor Melichev</strong></p> <blockquote> <pre> -Fix for Bug 689246. When performing interpolation, the interpolation is now performed in the source colorspace as opposed to the device space. Custom color callback is no longer bypassed by direct concretization as it was previously. +Fix (TT font handler) : Wrong glyph posiitions with vertical writing mode (continued). -DETAILS: +DETAILS : + +Bug 689304 "improper handling of vertical japanese text". -Previous code would take device color 8 bit values and do the interpolation. That portion of the code is the same. For cases where we have nondevice color the handling is now different. Indexed colors are mapped to their base space and interpolated. This is followed by a remap operation. Device independent colors are interpolated followed by a remap operation. +This is fourth partial patch for the bug 689304. +It adds a code for processing CoverageFormat2, +which is used by IPAfont00203. -Note that for cases where there is a significant enlargement occurring and we are not in a device color space, there can be a performance cost due to current inefficiencies in our color remapping operations. This can be costly if you have a CMYK CRD MLUT for example. There is currently a project underway to improve the efficiency of the color flow. For the current time, if this is an issue, improved speed can be achieved by invoking -dNOINTERPOLATION +Besides that, in the old CoverageFormat1 code +subst.GlyphCount was used instead cov.GlyphCount . +It didn't cause a problem because (we guess) +normally they are equal. + +The field CoverageFormat2::RangeRecord is renamed into +RangeArray to avoid possible conflict with same name for +a structure type. Rather it is a correct C, +we're not sure that all compilers accept it with no warning. </pre> -<p>[src/lib.mak src/gxiscale.c src/gxcolor2.h src/gximage.h src/gscindex.h src/gscolor2.c]</p> +<p>[base/gstype42.c]</p> </blockquote> -<p><strong><a name="2008-07-23T225250.086155Z"></a> -2008-07-23T22:52:50.086155Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-08T091718.162362Z"></a> +2009-01-08T09:17:18.162362Z Russell Lang</strong></p> <blockquote> <pre> -Fix possible use of uninitialized variable 'mem_space'. Compute the value -when no-transparency is in effect prior to adding in the space needed for -transparency. Thanks to Michael Vrhel for spotting this. +Automatically select the default paper size from the locale +on the Windows platform, and make provision for doing this +on Linux. + +DETAILS: +This adds a new platform function gp_defaultpapersize and a new +operator .defaultpapersize. +In order of priority, the paper size is set from PAPERSIZE, +DEFAULTPAPERSIZE, .defaultpapersize, or the compiled in +device paper size. + +It has been tested on Windows 98, XP and Vista. </pre> -<p>[src/gdevprn.c]</p> +<p>[base/openvms.mmk base/lib.mak base/gp_paper.c doc/Use.htm doc/Develop.htm base/unix-aux.mak base/macos-mcp.mak psi/zmisc.c psi/os2.mak base/winlib.mak base/watclib.mak base/gp.h Resource/Init/gs_init.ps base/openvms.mak base/gp_upapr.c base/gp_wpapr.c doc/Language.htm]</p> </blockquote> -<p><strong><a name="2008-07-23T215521.014656Z"></a> -2008-07-23T21:55:21.014656Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-08T080441.159684Z"></a> +2009-01-08T08:04:41.159684Z Russell Lang</strong></p> <blockquote> <pre> -Fix (graphics) : Write tile id into a pattern clist (continued). - -DETAILS : - -Bug 689818 "Regression: Test file imagemask-with-pattern.ps fails with banding and pbmraw ". - -The last patch appears incomplete, now fifing it. - +Fix stackunderflow when specified PAPERSIZE is unknown. +Ghostscript will now use the device default page size when +PAPERSIZE is unknown. </pre> -<p>[src/gxclrast.c]</p> +<p>[Resource/Init/gs_init.ps]</p> </blockquote> -<p><strong><a name="2008-07-22T210307.709088Z"></a> -2008-07-22T21:03:07.709088Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-07T173655.528046Z"></a> +2009-01-07T17:36:55.528046Z Michael Vrhel</strong></p> <blockquote> <pre> -Turn off the NOISY 'VERBOSE' setting by default. -</pre> -<p>[src/rinkj/rinkj-epson870.c]</p> +Fix for overprinting with transparency. This fixes bugs related to the lack of overprint support when there is transparency present in the file. + +DETAILS: Previously if a sep device is used when processing a file that contains both transparency and overprinting, the overprinted colors would blow away the other sep colors. In this commit, there was one fix to improper geometry in pfd14_cmykspot_put_image. The remaining changes involved 1) passing overprint compositor actions to the pdf14 device, which occurs during the clist reading phase (in pdf14_create_compositor) 2) adding over_print and overprint mode to the pdf14 clist parameters (this follows the same process that is currently done for text knockout, blend mode etc) and 3) adding the actual fill support in pdf14_mark_fill_rectangle. + +EXPECTED DIFFERENCES: In the regression tests Bug688631.pdf and Bug690206.pdf will have slight differences due to the blending of spot colors when the color space is subtractive. This matches what is seen in AR.</pre> +<p>[base/gdevp14.c base/gdevp14.h base/gstrans.h]</p> </blockquote> -<p><strong><a name="2008-07-22T183234.998275Z"></a> -2008-07-22T18:32:34.998275Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-07T083314.825057Z"></a> +2009-01-07T08:33:14.825057Z Ken Sharp</strong></p> <blockquote> <pre> -Change the default GS_CLIENT_COLOR_MAX_COMPONENTS to 8 (down from 252). -This improves the performance for files with many images. This limits -the number of DeviceN components and the number of separations that -can be generated in the default build and causes 'limitcheck' errors -on CET tests that attempt to set a 250 component DeviceN space. +Fix (PDF Interpreter): Default Unicode decoding clashing with ToUnicode CMap + +Details: +bug #690190 "Problem with -dProvideUnicode" -THIS IS NOT BACKWARDS COMPATIBLE, but the change in ths single file -so this can readily be rebuilt by customers that need more components -or anyone that demands conformance to this implementation dependent -result on the CET. Note that not all Adobe implementations support -250 components as CPSI does. +The ProvideUnicode switch creates a (read only) default Unicode decoding resource, presumably to use as a default ToUnicode Cmap when creating PDF files. -Currently only the tiffsep and psdcmyk devices can generate more than -8 separations, and then only when USE_COMPRESSED_ENCODING is used to -fit more than 8 components in a 64-bit color value. +This interferes with PDF files which contain a real ToUnicode CMap, as the resource is read only and so cannot be updated with the content of the ToUnicode CMap. -This partly reverts rev 7159. +Fixed by checking to see if the GlyphNamesToUnicode dictionary is writeable, and if it is not, creating a new one, when processing a ToUnicode CMap. </pre> -<p>[src/gsccolor.h]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-07-22T142325.922113Z"></a> -2008-07-22T14:23:25.922113Z Ken Sharp</strong></p> +<p><strong><a name="2009-01-06T143801.194845Z"></a> +2009-01-06T14:38:01.194845Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite): limit checking of CIDfonts for 'fixed width' property. +Fix (pdfwrite): Missing glyphs in CIDFont causing errors. Details: -Bug 689963 "Infinite loop converting PostScript to PDF" +Bug #690139: "Regression: Error writing PDF file: Missing glyph CID=0 in Bug689614.pdf". -In fact the loop is not infinite, but it does take a long time. When checking to see if a -font is non-proportional, ie all glyphs have the same width, and the font is a CIDFont, we -did not stop testing when the CID exceeded the maximum CID in the font instance. Instead -we continued to the full CID range (0xffffffff). Because the TrueType code returns a -default for missing glyphs if the font was truly non-proportional then it would take a -long time to search the entire range. +When we find that a string in a PDF file uses a glyph which is not present in the current CIDFont we substitute the .notdef glyph (CID=0). However, if we do not have a width for the .notdef (this is the first missing glyph) we proceed to get one, and then attempt to run the CDevProc for the font. -(zfcid1.c): In z11_enumerate_glyph, check the requested CID against the CIDCount for the -font. Return a rangecheck if we exceed it. +This, unfortunately, attempts to use the original (missing) glyph, and so fails with a rangecheck error. Added a check to catch this condition and skip the CDevProc and caching. -I believe only pdfwrite uses this code currently. +Also improved the error message slightly. </pre> -<p>[src/zfcid1.c]</p> +<p>[base/gdevpdtc.c]</p> </blockquote> -<p><strong><a name="2008-07-22T062414.072316Z"></a> -2008-07-22T06:24:14.072316Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-06T141130.802229Z"></a> +2009-01-06T14:11:30.802229Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (graphics) : Write tile id into a pattern clist. +Fix (PDF interpreter) : A more explanatory message when a CID font is missing. DETAILS : -Bug 689818 "Regression: Test file imagemask-with-pattern.ps fails with banding and pbmraw ". - -The old code doesn't write a tile id when writing the tile to clist, -because the clist interpreter doesn't use tile id. -This causes a failure after we implemented clist-based patterns. -While playing back a pattrn clist to a page clist writer device, -the clist writer does need a tile id -for choosing an entry of an internal hash table. - -Actually the failure happens due to a strange check -"tile->id != gx_no_bitmap_id" in -clist_strip_tile_rectangle in gxclrect.c ln 479. -It is not clear what it was intended for. -When a tile id is zerfo, the check skips writing tile size to clist, -so that a zerodevide happens during the clist playback. - -We decided to provide meanful ids -because the clist writer needs them anyway. -Fixing the check to be a subject of a separate patch -(if a fix is really necessary). +Bug 688770 "/undefinedresource in --findresource--". -This patch simply writes tile id when the clist -is for a pattern. A new nacro IS_CLIST_FOR_PATTERN(cdev) -Defines the condition for that. -Some internal functions change prototypes -with adding a new boolean argument for_pattern to know -whether a clist is for a pattern. +The patch prints which CID font is missing, +and a better explanation about CID font substitution and +about the related exit with error. </pre> -<p>[src/gxclbits.c src/gxclist.h src/gdevprn.c src/gxclrast.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-07-21T232313.534369Z"></a> -2008-07-21T23:23:13.534369Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-05T171701.015629Z"></a> +2009-01-05T17:17:01.015629Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Update the license statement for Kevin Hartig's hana fonts. - -They are now under the SIL Open Font License 1.1 with reserved font -names Calligraphic-Hiragana and Calligraphic-Katakana. - -See Bug 688674 for the relicensing declaration. +Removed old code that failed in 2009. </pre> -<p>[lib/Fontmap.GS]</p> +<p>[toolbin/bugsByEngineer.pl]</p> </blockquote> -<p><strong><a name="2008-07-21T202221.005889Z"></a> -2008-07-21T20:22:21.005889Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-05T140204.227069Z"></a> +2009-01-05T14:02:04.227069Z Till Kamppeter</strong></p> <blockquote> <pre> -Remove obsolete and probably non-working support for ancient DesqView (DOS -multi-taksing). This probably should have been dropped when we dropped 16-bit -support. +Added examples of PostScript files with CJK text </pre> -<p>[src/dvx-tail.mak src/dvx-gcc.mak src/dvx-head.mak]</p> +<p>[examples/cjk examples/cjk/all_ag1.ps examples/cjk/iso2022.ps examples/cjk/all_aj1.ps examples/cjk/all_aj2.ps examples/cjk/all_ak1.ps examples/cjk/gscjk_ac.ps examples/cjk/iso2022v.ps examples/cjk/gscjk_ag.ps examples/cjk/gscjk_aj.ps examples/cjk/all_ac1.ps examples/cjk/article9.ps examples/cjk/gscjk_ak.ps]</p> </blockquote> -<p><strong><a name="2008-07-21T185531.311238Z"></a> -2008-07-21T18:55:31.311238Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-05T103413.766328Z"></a> +2009-01-05T10:34:13.766328Z Till Kamppeter</strong></p> <blockquote> <pre> -Wrap string data source into a procedure when /ImscaleDecode filter is -installed, to ensure repeated reading of the string when the imagemask -needs more data than has the string. Allocate new composite objects -with the same global status as old ones. Bug 689889, customer 330. - +Accidentally committed an obsolete patch. Reverted. </pre> -<p>[lib/gs_img.ps]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2008-07-18T205354.538069Z"></a> -2008-07-18T20:53:54.538069Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-04T202047.824575Z"></a> +2009-01-04T20:20:47.824575Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for Seg fault caused by wrap around of an unsigned long. Seen at 600 dpi -to pkmraw with Bug689369.pdf and -dBufferSpace=32000000. +Fix sigbus/segfaults on sparc, hppa, etc. Debian bug 453903. -DETAILS: +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453903 for details. -While the pdf14_trans_buffer_size was small enough, the mem_space calculation -would wrap around. </pre> -<p>[src/gdevprn.c]</p> +<p>[psi/store.h]</p> </blockquote> -<p><strong><a name="2008-07-17T201152.225244Z"></a> -2008-07-17T20:11:52.225244Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-04T201519.267170Z"></a> +2009-01-04T20:15:19.267170Z Till Kamppeter</strong></p> <blockquote> <pre> -Increase the default threshold for using the (much slower) pattern clist accumulator. -The 32Mb threshold is tolerable for most host systems and this can be modified during -the build with -DMAX_PATTERN_BITMAP_SIZE=___ (possibly using the makefile XCFLAGS). - -Only embedded systems may want to set this to a smaller value. - -This is a temnporary workaround for bug 689966. Improving the performance of the -pattern clist accumulator will be considered a future enhancement. +Improved man pages of ps2pdf. </pre> -<p>[src/gxpcmap.c]</p> +<p>[man/ps2pdf.1 man/de/ps2pdf.1]</p> </blockquote> -<p><strong><a name="2008-07-17T055119.136291Z"></a> -2008-07-17T05:51:19.136291Z Ray Johnston</strong></p> +<p><strong><a name="2009-01-04T201328.072664Z"></a> +2009-01-04T20:13:28.072664Z Till Kamppeter</strong></p> <blockquote> <pre> -Update documentation to describe multi-threaded rendering (NumRenderingThreads) -and improve the documentation about the clist/banding parameters and the effect -on performance. Addresses issues raised in bug 689668. +Fixed syntax error in gs.css. </pre> -<p>[doc/Use.htm doc/Language.htm]</p> +<p>[doc/gs.css]</p> </blockquote> -<p><strong><a name="2008-07-17T023401.869133Z"></a> -2008-07-17T02:34:01.869133Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-04T201157.725211Z"></a> +2009-01-04T20:11:57.725211Z Till Kamppeter</strong></p> <blockquote> <pre> -Write pure white as a background in the pngalpha device. Bug 689934. - -Details: - -Russell Lang reports this caused problems originally, but it seems to -work now, so reverting the behaviour per his request. +Assorted script fixes. </pre> -<p>[src/gdevpng.c]</p> +<p>[lib/ps2epsi lib/dumphint lib/dvipdf]</p> </blockquote> -<p><strong><a name="2008-07-16T171929.238633Z"></a> -2008-07-16T17:19:29.238633Z Igor Melichev</strong></p> +<p><strong><a name="2009-01-04T200704.350954Z"></a> +2009-01-04T20:07:04.350954Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (transparency) : A mask buffer could left unreleased due to banding. - -DETAILS : - -Bug 689944 "Reference to free object". - -See comment in code. - +Fix insecure script in toolbin. </pre> -<p>[src/gdevp14.c]</p> +<p>[toolbin/pre.tcl]</p> </blockquote> -<p><strong><a name="2008-07-16T150017.682927Z"></a> -2008-07-16T15:00:17.682927Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-04T200541.434499Z"></a> +2009-01-04T20:05:41.434499Z Till Kamppeter</strong></p> <blockquote> <pre> -Ignore out-of-range UniqueID in embedded Type 1 PDF fonts. Bug 689973. - +Typo fixes in "gs" man page. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[man/gs.1]</p> </blockquote> -<p><strong><a name="2008-07-15T202913.383262Z"></a> -2008-07-15T20:29:13.383262Z Ralph Giles</strong></p> +<p><strong><a name="2009-01-04T200338.607601Z"></a> +2009-01-04T20:03:38.607601Z Till Kamppeter</strong></p> <blockquote> <pre> -Remove the obsolete pnga device. Bug 689971. +Fix segfault in X device when page size changes. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> -This was a test framework used in the development of the PDF 1.4 -compositor. It's no longer used. +<p><strong><a name="2009-01-04T200110.696570Z"></a> +2009-01-04T20:01:10.696570Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Adjust the margins for Epson dot matrix printer drivers </pre> -<p>[src/devs.mak src/gdevpnga.c]</p> +<p>[base/gdevepsn.c]</p> </blockquote> -<p><strong><a name="2008-07-15T132729.996709Z"></a> -2008-07-15T13:27:29.996709Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-04T195854.777417Z"></a> +2009-01-04T19:58:54.777417Z Till Kamppeter</strong></p> <blockquote> <pre> -Cache the pattern instance in the PDF pattern object to prevent reprated -pattern instantiation and improve performance. Bug 689896, customer 531. +Fix a problem with Brother 7x0 GDI, contributed to Debian by B. Janssen. +</pre> +<p>[base/gdevhl7x.c]</p> +</blockquote> +<p><strong><a name="2009-01-04T195707.064594Z"></a> +2009-01-04T19:57:07.064594Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix segmentation fault on -sDEVICE=bbox, contributed to Debian by Yaroslav Halchenko. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2008-07-14T185340.636598Z"></a> -2008-07-14T18:53:40.636598Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2009-01-03T224550.335886Z"></a> +2009-01-03T22:45:50.335886Z Michael Vrhel</strong></p> <blockquote> <pre> +Debug raw dumping code that I have found useful in my debug of transparency and overprint issues. + +DETAILS : Open images with Photoshop in the raw format with the dimensions given in the file name. + +EXPECTED DIFFERENCES : None + -Allows the Epson AcuLaser device output to be sent to a pipe (closes bug 689953). -Thanks to j@uriah.heep.sax.de (Joerg Wunsch) for the patch. </pre> -<p>[contrib/eplaser/gdevescv.c]</p> +<p>[base/gxblend.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2008-07-13T220619.770532Z"></a> -2008-07-13T22:06:19.770532Z Henry Stiles</strong></p> +<p><strong><a name="2009-01-03T195108.451624Z"></a> +2009-01-03T19:51:08.451624Z Igor Melichev</strong></p> <blockquote> <pre> -Rop devices now require access to an allocator instance. Fixes crash -in running pxl fts file T326.BIN with a halftoning device. The bug -was reported by a potential customer and a bugzilla report was never -filed. +Fix (graphics) : Incorrect bounds for clipping list. + +DETAILS : + +Bug 690060 "Regression: ball not round in Altona_Visual_1v2a_x3.pdf" + +The bug persists since the repository was created. +The revision 8020 brought an attempt to fix it, +but really it just replaced one wrong code with another wrong one. +Coding the right formula now. + </pre> -<p>[src/gdevrops.c]</p> +<p>[base/gxcpath.c]</p> </blockquote> -<p><strong><a name="2008-07-12T014313.151852Z"></a> -2008-07-12T01:43:13.151852Z Alex Cherepanov</strong></p> +<p><strong><a name="2009-01-01T053409.090806Z"></a> +2009-01-01T05:34:09.090806Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use /.notdef instead of null in the array of PostScript names of TTF glyphs. -This saves the trouble of checking for null values and fixes a case where -a null entry slipped through. Bug 689962, customer 384. +Continue to access the stream while reading a string (sgets()) until the +string is filled, EOF is reached, or an error occurs. Don't return after +first partial read. Bug 690152. + +DETAILS: +Old code did this only for 1-byte reads, which commonly occur during +reading stdin one byte at a time. Repeated reading is now extended to +reads of any size. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[base/stream.c]</p> </blockquote> -<p><strong><a name="2008-07-11T231056.624279Z"></a> -2008-07-11T23:10:56.624279Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-30T185817.371540Z"></a> +2008-12-30T18:58:17.371540Z Igor Melichev</strong></p> <blockquote> <pre> -Restore the 2_fracs image class to the psl2lib device. +Fix (garbager) : Wrong object marks when the object is freed by a garbager callback. + +DETAILS : + +Debugged on Vista x64 with running a 32 bits debug build of revision 9299 +with this command line : + +..\..\gs-hd\bin\gswin32c.exe -IF:\AFPL\gs-hd\Resource\Init;f:\afpl\fonts -Z$?@ -r300 + -dMaxBitmap=1000000 -dNOOUTERSAVE -sDEVICE=ppmraw -sOutputFile=out.ppm -dBATCH + -dNOPAUSE "H:\AuxFiles\CompareFiles\084-01.ps" + +1. The main change (gsalloc.c) : + +The bug persists since the repository was created. +When an object is freed after the garbager marking phase and before the +relocation phase, the heap consistency check misrecognizes it +as a free object pointed from an useful object. It happens because +the smark field was left unchanged ("marked") but the object status +changed to 'freed', which must be unmarked. + +In the test case such thing happens when a names subtable is freed +with this stack : + i_free_object() Line 721 + name_free_sub() Line 541 + name_scan_sub() Line 582 + names_trace_finish() Line 416 + gs_gc_reclaim() Line 371 + +The patch resets the mark whenever i_free_object is called, +so that any freed object automatically becomes unmarked. +We could do it more delicate with checking whether a garbager +is on stack with a new special flag in gs_ref_memory_t, +but we don't see enough reasons for such complex check. + +2. Minor change (igc.c) : + +Provide a right operand when gs_abort is called from +gc_objects_set_reloc. The old code crashed due to dereferencing NULL. -It was inadvertently removed in r8828. </pre> -<p>[src/lib.mak]</p> +<p>[psi/igc.c base/gsalloc.c]</p> </blockquote> -<p><strong><a name="2008-07-11T231055.549110Z"></a> -2008-07-11T23:10:55.549110Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-29T182508.338456Z"></a> +2008-12-29T18:25:08.338456Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Make the search for the most recent ghostpcl revision more robust. -Thanks to Henry Stiles for the extra quoting idea. +Script to print out open customer/P1/regression bugs by engineer. + +Usage: bugsByEngineer.pl >report.txt + </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[toolbin/bugsByEngineer.pl]</p> </blockquote> -<p><strong><a name="2008-07-11T211049.148153Z"></a> -2008-07-11T21:10:49.148153Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-29T064342.727931Z"></a> +2008-12-29T06:43:42.727931Z Michael Vrhel</strong></p> <blockquote> <pre> -Merge clusterpush changes from the ghostpcl tree. +Fix for Bug 689895. gx_put_blended_image_cmykspot was improperly inverting the alpha channel. </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[base/gxblend1.c]</p> </blockquote> -<p><strong><a name="2008-07-11T180013.808434Z"></a> -2008-07-11T18:00:13.808434Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-28T160329.366807Z"></a> +2008-12-28T16:03:29.366807Z Alex Cherepanov</strong></p> <blockquote> <pre> -Check return codes of remote commands and abort if there's a problem. +Use a proper destructor to free a file stream when access to the file is not +permitted in the safe mode, not just close the file and drop the rest of the +file structure. Bug 689975. -Previously we continued which could confusingly return the wrong -regression report at the end if the connection drops while waiting -for the run to complete. </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2008-07-11T050607.316809Z"></a> -2008-07-11T05:06:07.316809Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-26T072531.122671Z"></a> +2008-12-26T07:25:31.122671Z Alex Cherepanov</strong></p> <blockquote> <pre> -TrueType instruction definitions (IDEF) are addressed by a single byte index. -So there cannot be mode than 256 different instructions. Nevertheless, a -request a for larger array for instruction definitions should not be a fatal -error. Bug 689960, customer 330. +Fix 3 last cases of missing prototypes in MS Windows build. +</pre> +<p>[base/lib.mak psi/int.mak psi/zfcid1.c base/gxblend1.c base/gdevddrw.c]</p> +</blockquote> +<p><strong><a name="2008-12-26T044820.570500Z"></a> +2008-12-26T04:48:20.570500Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove the last 2 unused variables from Ghostscript code base. </pre> -<p>[src/ttobjs.c]</p> +<p>[psi/dwtrace.c base/gdevdjet.c]</p> </blockquote> -<p><strong><a name="2008-07-10T233600.202299Z"></a> -2008-07-10T23:36:00.202299Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-24T203322.470682Z"></a> +2008-12-24T20:33:22.470682Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add the so build directories to the clusterpush exclude list. +Fix a buffer overflow in base font writer module of pdfwrite defice. +Allocate sufficient buffer for the worst case. Bug 690211. + </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[base/gdevpdtb.c]</p> </blockquote> -<p><strong><a name="2008-07-10T233556.971501Z"></a> -2008-07-10T23:35:56.971501Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-24T153640.083208Z"></a> +2008-12-24T15:36:40.083208Z Ken Sharp</strong></p> <blockquote> <pre> -Move the interpolation image class from the ps2 dev to the core graphics -library so it is available to all languages. +Fix (pdfwrite): Image with SMask fails when inside transparency group. + +Details: +Bug #690139: "Regression: pdfwrite creates empty file". + +The PDF Interpreter internally surrounds SMask images with an extra transparency group definition. If emitted to PDF this is invalid and causes Acrobat to complain. This was fixed in revision 6878 (bug 688767) by adding an extra parameter 'Image_with_SMask' to the dictionary. + +The pdfwrite code checks for the existence of this in the group, and if present (and true) skips the transparency group begin. It also sets a flag in the device, to skip the end of the group as well. + +However, the flag is only reset when a new transparency group is begun. If the SMask was nested inside a group then the flag remained set, causing the 'end' for all enclosing groups to be skipped as well. This caused empty output or, in extreme cases, a 'rangecheck' error in discardtransparencygroup, because we overflowed an internal stack. + +We now set the device flag to false after we have skipped an end group. + </pre> -<p>[src/lib.mak]</p> +<p>[base/gdevpdft.c]</p> </blockquote> -<p><strong><a name="2008-07-10T170039.840394Z"></a> -2008-07-10T17:00:39.840394Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-23T090530.676239Z"></a> +2008-12-23T09:05:30.676239Z Ken Sharp</strong></p> <blockquote> <pre> -Documentation update: we support Separation, DeviceN and a number of PDF 1.7 features. +Fix (pdfwrite): DSC comments interfering with Page Tree Orientation. + +Details: +Bug #689922 "Rotation issues with pdfwrite and multiple operations". + +When writing out a PDF file, pdfwrite adds /Rotate keys to individual pages, and if the document is gnerally rotated (eg landscape) will set a /Rotate key in the pages treee. This causes all pages which do not have their own value to inherit this as a default. + +Unfortunately, the page tree code uses the same logic as the individual page, whch honours DSC '%%Orientation' and '%%ViewingOrientation' comments. If the last file processed contained one of these, this would become the default for all pages, regardless of their actual orientation. This would cause pages to be inappropriately rotated. + +Fixed by clearing the DSC information before writing the orientation for the page tree, by this time all the pages that require it have already been written with their own value. + </pre> -<p>[doc/Language.htm]</p> +<p>[base/gdevpdf.c]</p> </blockquote> -<p><strong><a name="2008-07-09T225900.503580Z"></a> -2008-07-09T22:59:00.503580Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-21T143429.309508Z"></a> +2008-12-21T14:34:29.309508Z Igor Melichev</strong></p> <blockquote> <pre> -Use '%PDF-' instead of '%PDF-1.' to recognize PDF files because PDFsharp 0.8.2 -generates '%PDF-0.0' and Acrobat accepts this. Bug 689949, customer 384. +Fix (PS interpreter) : The operator 'gstate' leaked memory. + +DETAILS : +Bug 689849 "gstate leaks memory" + +The old code of gsave executes 'ref_save' without a clear reason. +The patch disables it with #if 0. +For a while we keep the old code for an easier +understanding of an unexpected behavior difference, if any. + </pre> -<p>[lib/pdf_main.ps]</p> +<p>[psi/zdps1.c]</p> </blockquote> -<p><strong><a name="2008-07-07T141754.881290Z"></a> -2008-07-07T14:17:54.881290Z Ken Sharp</strong></p> +<p><strong><a name="2008-12-21T074652.896538Z"></a> +2008-12-21T07:46:52.896538Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the documentation for the NOCIE switch, noting that this also affects the CIEBasedDEF -and CIEBasedDEFG spaces, substituting DeviceRGB and DeviceCMYK for the CIE spaces. +Implement Algorithm 8.1 from PDF 1.6 Reference. Map /BBox of the appearance +stream transformed by /Matrix onto the annotation rectangle. +Bug 690195, customer 770. + </pre> -<p>[doc/Use.htm]</p> +<p>[psi/zmatrix.c psi/int.mak Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-07T134338.233194Z"></a> -2008-07-07T13:43:38.233194Z Ken Sharp</strong></p> +<p><strong><a name="2008-12-19T165041.185072Z"></a> +2008-12-19T16:50:41.185072Z Ken Sharp</strong></p> <blockquote> <pre> -Fix warnings from the JPX decoder when using Visual Studio 9. +Fix: Problem with /DeviceN [/All]. Details: -A compiler warning was disabled if the MSVC_VERSION variable was exactly 8, changed to ->7 so that it is also disabled for later versions of the compiler +Bug #690177 "Separation names become operator names.". + +/DeviceN [/All] is technically illegal, but is allowed by Acrobat. We convert this to a /Separation /All colour space for compatibility. An error in the processing of this kind of space led to a string object being used in place of a name object to create the named space. + +This led to 'peculiar' plate names instead of 'All', which caused no problems when rendering to CMYK (the alternate is used and sets all inks). However if rendering to a device with additional spot plates not alll plates would be marked as they should be for a /All space. Also pdfwrite produced incorrectly named plates in the output PDF file. </pre> -<p>[src/msvccmd.mak]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-07-07T085659.749169Z"></a> -2008-07-07T08:56:59.749169Z Ken Sharp</strong></p> +<p><strong><a name="2008-12-19T015318.887063Z"></a> +2008-12-19T01:53:18.887063Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): Images ina DeviceN space with more than 60 inks caused a crash. +Warn when the JPX ColorSpace key workaround is activated. Details: -Bug #689864 "Regression: 09-34.PS core dumps with pdfwrite" - -When emitting an image, using the Flate encoder, the number of colorants in -the DeviceN space was not checked against the maximum permitted. Since the -encoder uses a fixed buffer whose size depends on the maximum number of inks, this -could cause a write beyond the end of the buffer. -(spngpx.h) Increase the maximum number of colorants to 256 -(spngp.c) Return error if the number of colorants in the space - exceeds the maximum permitted. - -I can't check the generated PDF file, as no PDF reader seems able to open a PDF -file with more than 32 inks, the architectural limit in the current version -of Acrobat. +We don't use pdfformaterror because this is our failing, not the files. +But we call stderrprint to generate the output so it doesn't mangle +device output on stdout. +Suggested by Ray Johnston. </pre> -<p>[src/spngpx.h src/spngp.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-06T004519.690811Z"></a> -2008-07-06T00:45:19.690811Z Ray Johnston</strong></p> +<p><strong><a name="2008-12-19T015317.038875Z"></a> +2008-12-19T01:53:17.038875Z Ralph Giles</strong></p> <blockquote> <pre> -Fix address/value problem. How this ever seemed to work, who knows. -Thanks to Matthias Kilian for this patch. +Assume unlabled JPXDecode streams are 8 bit DeviceRGB. + +This is a work-around for bugs 688159, 689058 and 689509. + +Details: + +The PDF spec allows the ColorSpace and BitsPerComponent keys of a +JPXDecode filtered image dictionary to be left out, in which case +the interpreter is expected to obtain this information by examining +the stream. + +This change does not implement that, but in most cases the image +is RGB, and 8 bits per component; assuming this format allows +correct rendering of all wild files we've seen of this type. </pre> -<p>[src/gdevwts.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-07-04T203541.686667Z"></a> -2008-07-04T20:35:41.686667Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-18T233732.655756Z"></a> +2008-12-18T23:37:32.655756Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a bug in the error recovery code that handles invalid font streams. -Bug 689936, customer 661. +Change accessors to cmap data to support cmap subtables exceeding 64K-1 bytes. +Bug 690206, customer 870. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2008-07-04T182044.681886Z"></a> -2008-07-04T18:20:44.681886Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-16T183555.343539Z"></a> +2008-12-16T18:35:55.343539Z Ralph Giles</strong></p> <blockquote> <pre> -Parse common color space keys in JPXDecode filtered images and pass them -to the filter, allowing JPX-encoded CMYK images to display properly. -Fixes bug 688807. +Fix a typo in commit r9288 which broke the X11 device build. Bug 690202. -DETAILS: +Patch by Alex Cherepanov. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> -The fundamental issue is that the jasper library does not support the -ISO 15444-2 (JPX) extensions to the JP2 format for handling full ICC -and CMYK color spaces. So while the the PDF image dictionary and the -JPX streams both specify a CMYK ICC profile describing the image, jasper -ignores the extended colr boxes and marks the image as sRGB + an unknown -component, just based on it having three or more components. Our stream -implementation used this information and tried to return RGB pixels when -the graphics library expected CMYK, causing errors or hangs. +<p><strong><a name="2008-12-16T175213.417519Z"></a> +2008-12-16T17:52:13.417519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the CVS directory to the romfs exclusion list. Bug 690205. -Jasper should be amended to handle these extensions. However, since in -PDF a color space in the image's stream dictionary overrides what is in -the stream, I felt implementing the override was the more useful -resolution. +Details: -This patch doesn't handle all color spaces, just Device* and ICCBased, -which are the most common. In the case of ICCBased spaces, we try to -look up the alternate, and use that if it is a Device* space; otherwise -we guess based on the number of components. +Currently the mkromfs script just includes the entire file tree under +Resource/ but the presence of any extraneous directories there confuses +the enumeration machinery. We have a exclusion for the .svn directory +so builds out of svn work, but apparently some people have a CVS mirror? +Anyway, it isn't difficult to add an additional exclusion for CVS +metadata. This isn't an issue for git, darcs or mercurial because they +keep all their repository data in the top-level directory. </pre> -<p>[src/zfjpx.c src/sjpx.c]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2008-07-03T182555.494578Z"></a> -2008-07-03T18:25:55.494578Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-15T171506.646171Z"></a> +2008-12-15T17:15:06.646171Z Ken Sharp</strong></p> <blockquote> <pre> -Clean up the state machine in s_jpxd_process. +Enhancement (pdfwrite): Add support for the fillpage method. -DETAILS: - -The state machine didn't always respect the calling conventions for -filter process routines, and could return '0' (more input needed) when -'last' was true (no more input exists). +Details: +The new fillpage device method can be used to detect occurences of erasepage more reliably (and probably more cheaply in performance terms) than the previous checks in the fill_rectangle methods. -Also, the jas_stream member of the filter state isn't currently -necessary and has been moved to s_jpxd_decode_image(). Originally -it was envisioned that the jas_stream could seek on the filter's -source ghostscript stream and so would need a longer lifetime than -we're currently using. This has now been simplified to a local variable. +Removed the old code which checked the rectangle size against the page size, the colour against white, and the transparency stack depth, from the fill_rectangle methods. Added a new routine gdev_pdf_fillpage to implement the new fillpage device method. </pre> -<p>[src/sjpx.c src/sjpx.h]</p> +<p>[base/gdevpdfx.h base/gdevpdfd.c base/gdevpdfb.h]</p> </blockquote> -<p><strong><a name="2008-07-03T182554.527696Z"></a> -2008-07-03T18:25:54.527696Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T200537.951803Z"></a> +2008-12-13T20:05:37.951803Z Igor Melichev</strong></p> <blockquote> <pre> -Fix a hang in s_jpxd_process. Bug 688807. +Enhancement (graphics) : Implement new device virtual method 'fillpage'. -DETAILS: +DETAILS : + +The new method improves the handling of 'erasepage' and 'fillpage' +for high level devices, bbox device. Also it is a preparation for +optimizing 'erasepage' for printer devices as for bug 690131. + +When erasing a page, the old code passes fill_rectangle through +the device interface. However some devises need to recognize it +as a special high level operation and distinguish from an usual +rectangle filling. The old code implemented some trics for that. +This patch replaces the tricks with a strong logic for bbox device. +The pdfwrite device to be improved separately. + +The old function gx_fillpage is now splitted into two parts, +one of which works before the device interface, and another one +after it. The second one looks as a default implementation +for the 'fillpage' device virtual method. Forwarding devices +implement new function gx_forward_fillpage. -The problem file contains a CMYK JPX stream, which jasper does not -recognize, treating it as sRGB with an extra component. This causes -us to try an return 3-component data, and end up looping forever if -only a fraction of the expected pixel is available at the end of a -line. -Check for this event and return an error instead. </pre> -<p>[src/sjpx.c]</p> +<p>[base/gdevrops.c base/gdevdflt.c base/gdevbbox.c base/gxcldev.h base/gxclipm.c base/gsovrc.c base/gxdevice.h base/gdevnfwd.c base/gspaint.c base/gdevddrw.c base/gxclip2.c base/gdevprn.h base/gdevp14.c base/gxdevcli.h base/gxclrect.c base/gdevxini.c base/gxclist.c base/gxclist.h base/gxclip.c base/gxclrast.c]</p> </blockquote> -<p><strong><a name="2008-07-03T182552.592596Z"></a> -2008-07-03T18:25:52.592596Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T165417.751950Z"></a> +2008-12-13T16:54:17.751950Z Igor Melichev</strong></p> <blockquote> <pre> -Remove trailing whitespace from the jpx stream implementation. +Fix (graphics) : Redundant patterns in clist (continued 6). + +DETAILS : + +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". + +The last partch appears syntactically incorrect, now fixing. + </pre> -<p>[src/sjpx_luratech.h src/sjpx.c src/sjpx.h src/sjpx_luratech.c]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-03T130311.896225Z"></a> -2008-07-03T13:03:11.896225Z Igor Melichev</strong></p> +<p><strong><a name="2008-12-13T125514.082194Z"></a> +2008-12-13T12:55:14.082194Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (clist writer) : Indeterminizm writing a degenerate curve. +Fix (graphics) : Redundant patterns in clist (continued 5). DETAILS : -Bug 689911 Shifting raster data, Windows MSVC 8 non-debug build. - -In function cmd_put_path the variable 'prev' was wrongly localized -in the loop body when need to save/pass data from the previous cycle. -It worked fine with debug build, because the compiler -always commits variables to RAM for debug purpose. -With release build the variable 'prev' never changes -because formally speaking the program never uses its value -after it is initialized. +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". -The bug persists since the repository was created on March 9 2000. -The old behavior may be indeterministic. +The last partch wrongly distributed the saved pattern id for all bands +when writing a non-pattern color to all bands. +We believe it never happens the current revision with reasonable banding settings, +but fix fix it for code consistency and for avoiding problems +with further revisions. -With MSVC8 the effect is occasionaly visible when a degenerate curve -{x y x y x y x y} is written into clist. -See the simplified test case attached to the bug report. - </pre> -<p>[src/gxclpath.c]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-07-01T102225.835951Z"></a> -2008-07-01T10:22:25.835951Z Igor Melichev</strong></p> +<p><strong><a name="2008-12-13T111454.029422Z"></a> +2008-12-13T11:14:54.029422Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (clist writer) : The maximal compositor command size was wrong. +Fix (graphics) : Redundant patterns in clist (continued 4). DETAILS : -Bug 689927 "rangecheck in c_pdf14trans_write() causing 'unregistered' error". +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". + +This patch passes the coverage rectangle of a graphic element +for a better computation in cmd_put_drawing_color of the size +would be consumed while serializing a color to clist +with copying to all covered bands. +When we need to force writing to all bands, +we pass a NULL instead the coverage rectangle. -The bug was introduced in revision 8587. -See comments in code. -Thanks to Ray and Marcos for participation. - </pre> -<p>[src/gstparam.h src/gdevp14.c]</p> +<p>[base/gxclpath.c base/gxclimag.c base/gxclrect.c base/gxclpath.h base/gxcldev.h]</p> </blockquote> -<p><strong><a name="2008-06-30T235604.281753Z"></a> -2008-06-30T23:56:04.281753Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T101802.260144Z"></a> +2008-12-13T10:18:02.260144Z Ken Sharp</strong></p> <blockquote> <pre> -Document the output filename behavior of ps2pdf in the manpage. -Bug 689920. +Fix (pdfwrite): Fonts with unusual FontMatrix generating incorrect FontBBox. + +Details: +bug #689879 "wrong FontBBox in PDF file" + +Fonts other than type 3 may not have a FontMatrix in PDF, these fonts are assumed to be on a 1000x1000 design grid. Most fonts already are, and embedded TrueType fonts are already catered for, but some unusual fonts have a non-standard (not [0.001 0 0 0.001 0 0]) FontMatrix. The matrix is accounted for when scaling the font, so the Tf operator is correct in the page content stream, but the FontBBox was calculated using the unscaled glyph outline. + +We now scale the font outline into a 1000x1000 design grid before calculating the bounding box, so that the FontBBox entry will be correct. + </pre> -<p>[man/ps2pdf.1]</p> +<p>[base/gdevpdtd.c]</p> </blockquote> -<p><strong><a name="2008-06-30T181551.663545Z"></a> -2008-06-30T18:15:51.663545Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-13T101347.692668Z"></a> +2008-12-13T10:13:47.692668Z Ken Sharp</strong></p> <blockquote> <pre> -Add a missing header dependency. +Fix (pdfwrite): Tidy up code. + +Details: +Tidy up some code for bug #690118; When writing TrueType hmtx/vmtx, define a new function put_short which is functionally identical to put_ushort but doesn't truncate the sign bit. Use this instead of put_ushort when the value to be written may be negative. Add 0.5 to the floating point calculations and floor() the result so that we get the nearest approximation to the float when writing out the short. + +A small number of files exhibit a number of single pixel differences in position or rendering of glyphs with this change. In all cases comparing the rendered result of the new PDF file with the rendered result of the original file shows no differences, so I consider these to be progressions. + </pre> -<p>[src/lib.mak]</p> +<p>[base/gdevpsft.c]</p> </blockquote> -<p><strong><a name="2008-06-30T000540.080596Z"></a> -2008-06-30T00:05:40.080596Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-10T191043.669416Z"></a> +2008-12-10T19:10:43.669416Z Ralph Giles</strong></p> <blockquote> <pre> -Add one more way to store data of the reusable stream: an array of strings. -Read the input stream into an array of strings during reusable stream -construction and use the array directly as a data storage. -Bug 689476, customer 190. - +Set standard properties on pdf_main.ps. Bug 690198. </pre> -<p>[src/int.mak src/gxshade.c lib/gs_frsd.ps src/zfrsd.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-06-28T145332.570212Z"></a> -2008-06-28T14:53:32.570212Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-10T072939.713832Z"></a> +2008-12-10T07:29:39.713832Z Igor Melichev</strong></p> <blockquote> <pre> -Make /?dblacute and /?hungarumlaut glyph names equivalent in Type 1 fonts. -Add a missing glyph when the font is loaded if another glyph is defined. -Bug 689014, customer 580. +Fix (PDF interpreter) : Avoid extra erasepage, part 1. + +DETAILS : + +This is the first partial fix for the +bug 690131 "Optimize consecutive setpagedevice". + +The PDF interpreter calls extra setpagedevice for initializing the number of spot colors. +First it happens in pdfshowpage_setpage, and we merge that call +with another one that sets other multiple page parameters. +Second in pdfshowpage_finish we replace it with .setpagedevice, +which doesn't call .postinstall that calls erasepage. </pre> -<p>[lib/gs_type1.ps]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-06-26T191737.366443Z"></a> -2008-06-26T19:17:37.366443Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-12-09T173040.898715Z"></a> +2008-12-09T17:30:40.898715Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Use extended name table by default and adjust the settings to have -up to 1M names of up to 1K characters long. Bug 689913. + +Fix for weird math issue under AIX that cause problems in glpyh spacing when +writing type42 fonts for ps2write and pdfwrite. + +This fixes bug 690118. + +Details: + +For reasons that I don't undertand under AIX (ushort) (double * double) +produces a 0 if the first double is > -1 and < 0 (and the sum is < -1). +Presumably the cast happens before the multiplication, but this isn't +reasonable and doesn't occur on other operating systems, even running +the same version of gcc. Temporarily assigning the sum to a float and +then casting to a ushort resolves the problem. + +The temporary assignment should be removed by the optimizer, so there +shouldn't be a performance hit (I did check, the optimized code is still +correct under AIX). + </pre> -<p>[src/inamedef.h src/inameidx.h src/inamestr.h]</p> +<p>[base/gdevpsft.c]</p> </blockquote> -<p><strong><a name="2008-06-25T161857.687888Z"></a> -2008-06-25T16:18:57.687888Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-12-09T084520.654566Z"></a> +2008-12-09T08:45:20.654566Z Ken Sharp</strong></p> <blockquote> <pre> -Fixed compile for Linux. +Fix (pdfwrite): regression with type 3 fonts using show charpath stroke combinations. + +Details: +bug #690196 "regression: file for bug 689687" + +The recent changes for text rendering modes caused a regression with Quark's type 3 font for special text effects, when optimising a show followed by charpath stroke into a single 'Tj' with a text rendering mode of 2 in the resulting PDF file. + +Fixed by ceasing to treat type 3 fonts specially and applying the same optimisation as for other font types. A couple of other Quark files exhibit very small differences, comparing these to the rendered output of the original files the new result seems closer to the original. (ie a progression) + +Also resolved a compiler warning. + </pre> -<p>[contrib/opvp/gdevopvp.c]</p> +<p>[base/gdevpdtc.c base/gdevpdfd.c]</p> </blockquote> -<p><strong><a name="2008-06-24T141629.258940Z"></a> -2008-06-24T14:16:29.258940Z Igor Melichev</strong></p> +<p><strong><a name="2008-12-09T080143.121661Z"></a> +2008-12-09T08:01:43.121661Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (graphics) : Clean image enumerator before releasing it. +Fix (graphics) : Redundant patterns in clist (continued 3). DETAILS : -Bug 688845 "Segmentation Fault on EPS 2 PDF conversion", comment #38. +Bug 690133 "Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". -Adobe Illustrator creates a Postscript document, -in which an image data procedure executes 'save', -and the corresponding 'restore' appears after the image end. -DCue to that the image enumerator is freed at a higher save level than -it was allocated, so that gs_free_object works idle. -Nevertheless pointers must not in the structure, -because they may point to blocks already released -by the client's subclass method for end_image. -Leaving them uncleaned caused a real crash in the garbager - see bug 688845. +When filling a path with a pattern, the old code +stores the pattern to all bands that are covered with the path. +If the pattern is represented with a long clist, +it consumes too big memory for the page clist. -The patch defines the new function gs_image_free_enum, -which is intendend for a safe releasing of an image enumerator -from Postscript interpreter. -It cleans the entire subclassed enumerator, -including all possible pointers created by subclasses. -All end_image implementations, -which may be called from Postscript interpreter, -must call this function for releasing image enumerators. +If the pattern is big, the new code writes it +to the "all bands" list instead replicating it to bands. +Therefore the overall memory is smaller. -The 'memory' pointer moved from subclasses to gx_image_enum_common. -We believe that in the old code all subclasses define and initialize it. +The decision about storing a pattern to "all bands" +should also depend on the number of bands. +This patch doesn't account that because current data flows +don't pass the number of bands to the point where +the decision must be taken. It may need a further improvement. -Working on this patch we suspected memory leaks -from image enumerators with some devices. -Particularly we suspect that subclasses if gx_device_vector -(pdfwrite, ps2write, etc.) never release image enumerators (not sure). -This patch does not do any attempt to re[pair such leaks, -because we want the new code doesn't -change the behavour too much in order to simplify the testing. -A work on leaks to be done separately. +The threshold for "big" pattern is arbitrary set to 1Mb. +It may need an improvement also. It's another threshold +than one for representing a pattern as a raster or a clist. </pre> -<p>[src/gxiparam.h src/gxidata.c src/gsimage.h src/gdevvec.c src/gximage.h src/gximag3x.c src/gdevplnx.c src/devs.mak src/gdevvec.h src/gdevpdfi.c src/gxclimag.c src/lib.mak src/gdevpx.c src/gdevtrac.c src/gdevbbox.c src/gximage1.c src/gximage3.c]</p> +<p>[base/gxclpath.c base/gxclutil.c base/gxcldev.h]</p> </blockquote> -<p><strong><a name="2008-06-22T064328.997699Z"></a> -2008-06-22T06:43:28.997699Z Ralph Giles</strong></p> +<p><strong><a name="2008-12-09T075855.697280Z"></a> +2008-12-09T07:58:55.697280Z Igor Melichev</strong></p> <blockquote> <pre> -Rename the svg device to svgwrite to avoid conflict with the SVG interpreter. +Fix (graphics) : Redundant patterns in clist (continued 2). + +DETAILS : + +This patch is important for the bug Bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi", +but it is not restricted with its case. + +When writing a pattern color to a band, +the old code uses the "saved color" structure +for remembering which color has been stored for the band. +In the case of pattern it stores the client's pattern id. +However it doesn't provide enough resolution because +a client's pattern may be instantiated with various CTMs. +The new code uses the pattern tile id to distinguish the pattern instances. + +We're not sure why saved color structure stores the client's pattern id only. +It should be so for pdfwrite, but need to check whether other +cases are possible. Therefore the current change is kind of hackish. +See comment in code. -The device is still selected as -sDEVICE=svg, just the name used internally -has been changed. </pre> -<p>[src/Makefile.in src/gdevsvg.c src/devs.mak]</p> +<p>[base/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-06-21T140600.424638Z"></a> -2008-06-21T14:06:00.424638Z Igor Melichev</strong></p> +<p><strong><a name="2008-12-08T081755.714566Z"></a> +2008-12-08T08:17:55.714566Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (TT interpreter) : A work around a wrong maxPoints. +Fix (pdfwrite): Large type 1 or 2 fonts caused errors with text. -DETAILS : +Details: +bug #690144 "Files render properly with gs, but are misformatted in ps2pdf" -Bug 689907 "problem reading PDF: Failed to interpret TT instructions in font 80000001". +Revision 8235 added support to pdfwrite for type 0 fonts with type 1 or type 2 (CFF) descendant fonts, emitting these as subsets of the original instead of rendering the glyphs and embedding type 3 fonts with bitmap images. This results in better quality and smaller files. + +However type 1 or 2 fonts which are too large for an arbitrary Ghostscript limit (> 65537 glyphs) can not be copied. This 'should' have fallen back to the old mechanism, but some data had been altered which led to this failing. + +The fix for this comprises 3 parts: + +1) Mmodified scan_cmap_text to save the data we modify for subsetting, and restore it if pdf_obtain_font_resource_unencoded fails, which then falls back to the 'default' type 3 mechanism (in case of future problems in this area). + +2) Increased the limit of glyphs (for type 1 or 2 fonts) in gs_copy_font. Added a new parameter 'max_reserved_glyphs'. If this is -1 then we reserve enough space for the number of glyphs in the original font. Otherwise we reserve space for the specified maximum. This limit only applies to font type 1 or 2, and is used by pdfwrite to avoid making excessively large font copies. + +3) Modified pdf_base_alloc so that if the font is large (and is not one of the standard 13 fonts), we don't allocate a complete copy for our 'subset', we only allocate as many glyphs as will fit in a standard Encoding, 256, plus one for the required .notdef making 257 in total. We also avoid making a second 'complete' copy of the font, because we will never write the complete font. -The test csae embeds a TT font subset with an incorrect maxPoints. -This is a simple work around that. - </pre> -<p>[src/ttobjs.c]</p> +<p>[base/gdevpdtb.c base/gxfcopy.c base/gdevpdtc.c base/gxfcopy.h]</p> </blockquote> -<p><strong><a name="2008-06-16T161237.522247Z"></a> -2008-06-16T16:12:37.522247Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-12-05T073906.671710Z"></a> +2008-12-05T07:39:06.671710Z Alex Cherepanov</strong></p> <blockquote> <pre> -Updated to latest versions of files from ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/aj16.tar.Z +Check the whole Decode array to detect special cases of identity and inverse +decoding. Previous test analyzed every channel separately and misidentified +decoding arrays like [0 1 1 0 0 1]. Bug 690178. -Closes bug 689735. </pre> -<p>[Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H]</p> +<p>[base/gxipixel.c]</p> </blockquote> -<p><strong><a name="2008-06-11T162424.671679Z"></a> -2008-06-11T16:24:24.671679Z Michael Vrhel</strong></p> +<p><strong><a name="2008-12-05T044451.989860Z"></a> +2008-12-05T04:44:51.989860Z Alex Cherepanov</strong></p> <blockquote> <pre> -Undoing change introduced in rev 8794. This change will need to occur after Bug 689889 is handled. rev 8749 introduced 37 differences in the regression. </pre> -<p>[src/simscale.c]</p> +Adds special, tolerant to singular matrix processing, to the case when +ImageMatrix is differs from the CTM by the translation vector only, which +happens in cached character rendering. The patch clears PostScript errors +during text rendering with singular CTM. Bug 690179, customer 870. + +</pre> +<p>[base/gxipixel.c base/gsimage.c base/gxccache.c]</p> </blockquote> -<p><strong><a name="2008-06-10T203705.090668Z"></a> -2008-06-10T20:37:05.090668Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-29T143326.712726Z"></a> +2008-11-29T14:33:26.712726Z Alex Cherepanov</strong></p> <blockquote> <pre> -For bug 689888. This fixes the hang in the while loop. If end of file occurs during the reading of the stream it is passed along by the filter. However, proper output does not occur due to a different issue. Another bug was opened related to this postscript noncompliance of string reading reuse in imaging operators. See 689889. </pre> -<p>[src/simscale.c]</p> +Ignore /ToUnicode attribute when it points to an object other then a stream. +Bug 680138. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-06-09T230250.347013Z"></a> -2008-06-09T23:02:50.347013Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-29T122704.428583Z"></a> +2008-11-29T12:27:04.428583Z Till Kamppeter</strong></p> <blockquote> <pre> -Add a modified version of the clusterpush script from the ghostpcl tree. +The pstopxl CUPS filter did not remove its temporary file. </pre> -<p>[toolbin/clusterpush.sh]</p> +<p>[cups/pstopxl.in]</p> </blockquote> -<p><strong><a name="2008-06-09T134608.406410Z"></a> -2008-06-09T13:46:08.406410Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-27T150537.010932Z"></a> +2008-11-27T15:05:37.010932Z Ken Sharp</strong></p> <blockquote> <pre> -Use a dictionary (instead of an array) to represent cmap table in -a TrueType font because the array cannot accept fonts that have both -0x0 and 0xFFFF codes. Bug 689136, customer 870. +Fix (pdfwrite): more issues with PDF Text rendering modes. + +Details: +Bug #689692 Colour and linewidth is not set correct for text with rendermode STROKE +and FILLSTROKE +Bug #Bug690025 pxlmono driver prints some glyphs as squares when the input is PostScript generated by Ghostscript + +This follows on from revision 9196 and further addresses problems with PDF text rendering modes. Fundamentally the problem is that the PDF text matrix (Tm) should not affect the stroke width. However PostScript only has one transformation matrix, so when we get a Tm, the PDF interpreter modifies the CTM accordingly. This alters the (effective) stroke width, resulting in incorrect output. + +This patch modifies the CTM before executing a stroke in modes 2 & 6, and for mode 1 modifies the stroke width by calculating what it would have been if the CTM were the identity at the time the text block began. Since pdfwrite emits text in an identity CTM, this corrects the problem. + +The pdfwrite code for combining show/charpath/stroke operations into a single text rendering mode has been modified to expect the CTM to be correct, and to utilise it, when emitting the combined operation. + </pre> -<p>[src/icid.h src/zfcid1.c lib/gs_ttf.ps src/zcid.c]</p> +<p>[Resource/Init/pdf_ops.ps base/gdevpdts.c base/gdevpdfd.c base/gdevpdts.h base/gdevpdfg.c]</p> </blockquote> -<p><strong><a name="2008-06-09T073357.606022Z"></a> -2008-06-09T07:33:57.606022Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-27T052005.725774Z"></a> +2008-11-27T05:20:05.725774Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (stroking) : Prevent unpainted gaps between neighbour strokes that could appear due to stroke adjustment. - -DETAILS : +Use the same name (/PDFType3Untitled) for all Type 3 fonts without /FontName +attribute. PDF interpreter doesn't need unique names and the previous attempt +to generate unique names didn't work. Bug 689358. -Bug 687974 "pdf file has banding with ghostscript but not with acrobat". - -The test case includes a gradient, which is represented -as a set of paralel strokes. Due to stroke widths equals to fractional pixels, -stroke adjustment shifts some of them so that -an unpainted gap appears between strokes and the gradient looks striped. -Note the test document is created with Quark Express 4.11 . - -This patch implements a hewristic recognizer for parallel contacting strokes -and suppresses stroke adjustment for them. See comments in code -for more details. - -Note that the recognizer data are associated with a device but they -are not a device property. We store them in a device structure because -we haven't got an associated structure in the graphic state, -and we don't want to introduce one now against extra complexity -with memory management. Also the recognizer code -Appears to be distributed along multiple functions and we would like -to apply a better incapsulation. Nevertheless the encapsulation -would cause CPU time expense for multiple small function calls -unless we create new macros. So commonly we're unhappy of -this code but we don't see a better solution. - -Also note that the recognizer data is copied from/to clipper -device when the stroking algorithm installs and deinstalls a clipper. -So the data actually is not a property of a device. -Also they're not a part of graphic state because they must live -across gsave/grestore (the test case requires so). - </pre> -<p>[src/gsimage.c src/gstext.c src/gxdevice.h src/gdevbit.c src/gspaint.c src/gxclip.c src/gxstroke.c src/gxdevcli.h]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-06-05T215258.268146Z"></a> -2008-06-05T21:52:58.268146Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-27T015854.354925Z"></a> +2008-11-27T01:58:54.354925Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove the executable property from the included fonts. +Restore language level after loading pdfwrite.ps for consistency and +compatibility with PS utilities. Also pick a few nits that may cause errors +if some of start-up files ever loaded in level 1 mode. Thanks to SaGS +for the patch. Bug 688151. + </pre> -<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusRomNo9L-Medi Resource/Font/NimbusSanL-Bold Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/URWGothicL-Demi Resource/Font/NimbusSanL-BoldItal Resource/Font/NimbusRomNo9L-MediItal Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/URWGothicL-BookObli Resource/Font/NimbusSanL-ReguItal Resource/Font/URWPalladioL-Ital]</p> +<p>[lib/pdfwrite.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_cff.ps]</p> </blockquote> -<p><strong><a name="2008-06-05T002620.566472Z"></a> -2008-06-05T00:26:20.566472Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-25T171923.759068Z"></a> +2008-11-25T17:19:23.759068Z Till Kamppeter</strong></p> <blockquote> <pre> -Replace incorrect FontMatrix in CFF CIDFont with a most common value to -recover a PDF file that Acrobat 8 manages to shows correctly. Bug 688517. - +Fixed paper tray selection for the PCL 4/5/5e drivers (bug 690182). Works fine now with "-dMediaPosition=..." and for all possible trays. Needs review to see whether it does not break anything else. </pre> -<p>[lib/gs_cidfn.ps]</p> +<p>[base/gdevdjet.c]</p> </blockquote> -<p><strong><a name="2008-05-31T005734.917939Z"></a> -2008-05-31T00:57:34.917939Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-24T230421.969628Z"></a> +2008-11-24T23:04:21.969628Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add work-around for PDF files that misspell 'endobj' as 'endjobj'. Bug 689876. +Skip everything before 'begincodespacerange' in ToUnicode CMap stream +to avoid PostScript errors in CMap headers. PDF interpreter doesn't +need any data from the header. Bug 689842, customer 870. </pre> -<p>[lib/pdf_base.ps]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-05-30T202517.430208Z"></a> -2008-05-30T20:25:17.430208Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-24T191504.507271Z"></a> +2008-11-24T19:15:04.507271Z Till Kamppeter</strong></p> <blockquote> <pre> -Dom't interpret ^D (0x04) as a self-delimeted character in PDF mode because -PDF doesn't need this hack. Bug 689875. +Fixed input tray selection support in the PCL-XL drivers ("pxlmono"/"pxlcolor"), fixes on CUPS filter and PPDs to make input tray selection actually work. +</pre> +<p>[base/gdevpx.c cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> +<p><strong><a name="2008-11-24T110142.358113Z"></a> +2008-11-24T11:01:42.358113Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS filters and PPDs for PCL-XL also work with PDF as input data format </pre> -<p>[src/iscan.c]</p> +<p>[cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> </blockquote> -<p><strong><a name="2008-05-28T215203.844656Z"></a> -2008-05-28T21:52:03.844656Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-23T203612.040586Z"></a> +2008-11-23T20:36:12.040586Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (True Type font loader) : Work around incorrect numGlyphs (continued). +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (continued) DETAILS : -Bug 689516 "problem reading PDF: Failed to interpret TT instructions (ref 7814)". -Bug 689866 "Regression: with TrueType fonts (possibly related to loca); file Bug688467.ps" +This improve3s the second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. -The last patch appears to cause a conflict with the revision 5707 change. -which introduced a hewristic for reapring fonts with unsorted loca. -When sortinmg the full loca (including glyphs behind numGlyps), the test cases -of bugs 688467 and 688461 cause overlapping glyphs, -so that the hewristic gives a wrong glyph length. +The revision 9213 appears buggy. +When a SubstCID resource is not available, +the stack balance is broken. -This patch improves the hewristic with checking the glyph length -obtained from the unsorted loca, and replaces it only if it looks incorrect. -f -which may need further adjustments. - </pre> -<p>[src/gstype42.c]</p> +<p>[Resource/Init/gs_cidtt.ps]</p> </blockquote> -<p><strong><a name="2008-05-28T181626.144495Z"></a> -2008-05-28T18:16:26.144495Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-21T142421.693040Z"></a> +2008-11-21T14:24:21.693040Z Till Kamppeter</strong></p> <blockquote> <pre> -Correct properties. +The "cups" output device was logging way to much in CUPS' debug logging mode. Moved some logging to debug2. </pre> -<p>[src/sidscale.h src/sjbig2_luratech.h src/sjpx_luratech.h src/sidscale.c src/sjbig2_luratech.c src/sjpx_luratech.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2008-05-28T160401.772433Z"></a> -2008-05-28T16:04:01.772433Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-11-21T053110.447898Z"></a> +2008-11-21T05:31:10.447898Z Alex Cherepanov</strong></p> <blockquote> <pre> -Changed crlf to lf. +Add a check for bogus '>>' after 'endstream' to recover files generated +by 'Kroll Background Screening'. Bug 690161. + </pre> -<p>[src/sidscale.h src/sidscale.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-28T023835.559910Z"></a> -2008-05-28T02:38:35.559910Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-20T211109.954526Z"></a> +2008-11-20T21:11:09.954526Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a typo introduced in the rev. 8146 that prevented running PDF files from -stdin. Bug 689847. +Move validation of the page tree after installation of the decryption handler +because access to encrypted xref streams needs decryption. Fix regression +introduced by the rev. 8933. Bug 690175. + </pre> -<p>[lib/pdf_main.ps]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-05-28T002723.734030Z"></a> -2008-05-28T00:27:23.734030Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-20T193136.700423Z"></a> +2008-11-20T19:31:36.700423Z Ralph Giles</strong></p> <blockquote> <pre> -Fix to enable proper custom color callback when indexed images with ICC profiles are used. Bug 689863.</pre> -<p>[src/lib.mak src/gscolor2.h src/gxcie.h src/gsciemap.c src/gscolor2.c]</p> -</blockquote> +Add AES support to the pdf interpreter. -<p><strong><a name="2008-05-27T201208.164024Z"></a> -2008-05-27T20:12:08.164024Z Michael Vrhel</strong></p> -<blockquote> -<pre> -Addition of debug code to dump embedded ICC profiles for external analysis. </pre> -<p>[src/gsicc.c]</p> +This commit adds convenience wrappers around the aes stream +implementation to pdf_sec.ps, and calls them when appropriate, +based on the crypt filter methods defined in the file Trailer's +Encrypt dictionary. Bug 688958. + +It also includes comment and whitespace cleanup. +</pre> +<p>[Resource/Init/pdf_sec.ps]</p> </blockquote> -<p><strong><a name="2008-05-27T170740.221072Z"></a> -2008-05-27T17:07:40.221072Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-17T194347.727833Z"></a> +2008-11-17T19:43:47.727833Z Alex Cherepanov</strong></p> <blockquote> <pre> -Enable printafm to emit a comment with UniqueID, that may be of some use when -investigating versions of fonts used. Thanks to Michail Vidiassov for the -patch. Bug 688610. +Add missing initialization of read_id field in reusable streams. + +DETAILS: +This error was detected by Valgrind. I don't have any samples where this fix +affects the output. + + </pre> -<p>[lib/printafm.ps]</p> +<p>[psi/zfrsd.c]</p> </blockquote> -<p><strong><a name="2008-05-26T190405.563476Z"></a> -2008-05-26T19:04:05.563476Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-17T104113.803460Z"></a> +2008-11-17T10:41:13.803460Z Ken Sharp</strong></p> <blockquote> <pre> -Work around broken JBIG2Decode streams created by several versions of -Xerox WorkCentre. Bugs 689841 and 689852. +Fix (pdfwrite): Not considering all glyphs in a string when noting first/last character + +Details: +Bug 690166: extra space after apostrophe when distilled +Revision 8235 added support for type 0 fotns with type 1 or 2 descendants, this required using pdf_adjust_first_last_char so that we correctly noted the used glyphs, and stored their widths. + +An oversight in calling the function resulted in only the first glyph in the string being considered. -In these streams, a segment data length field is written as -1 -expecting the decoder to infer it from the length of the remaining -data. </pre> -<p>[jbig2dec/jbig2_page.c]</p> +<p>[base/gdevpdtc.c]</p> </blockquote> -<p><strong><a name="2008-05-25T072853.119264Z"></a> -2008-05-25T07:28:53.119264Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-16T144749.851717Z"></a> +2008-11-16T14:47:49.851717Z Igor Melichev</strong></p> <blockquote> <pre> -Fix : MSVC warnings. +Fix (PS interpreter) : Eliminate unuseful transfer of left side bearing to type42_finish. DETAILS : -Removed an extra debug printing that prints an unutialized variable. - +This change is algorithmically equivalent. + +type42_finish never uses lsb data that could be passed to it via +operand stack from some clients. This patch removes those data +and related arguments of some C functions. + </pre> -<p>[src/gdevpx.c]</p> +<p>[psi/zchar42.c psi/zchar42.h psi/zchar.c]</p> </blockquote> -<p><strong><a name="2008-05-25T072338.027951Z"></a> -2008-05-25T07:23:38.027951Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-16T121546.619814Z"></a> +2008-11-16T12:15:46.619814Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (True Type font loader) : Work around incorrect numGlyphs. +Fix (TT font handler) : Wrong glyph posiitions with vertical vcriting mode. DETAILS : -Bug 689516 "problem reading PDF: Failed to interpret TT instructions (ref 7814)". +Bug 689304 "improper handling of vertical japanese text". -The bug report supplies a PDF document, which embeds a TT font -with a too small numGlyphs. The loca table contains more glyphs and -they are referenced in a text. The font is incorrect, but Acrobat handles the document. +This is third partial patch for the bug 689304. +The old formulas were obtained impirically and don't +give the right result. The new ones are coded with a better understanding +of the problem. See comments in code for more details. -This patch checks whether there are glyphs behind numGlyphs and -extends numGlyphs to cover them. Also improved error handling in ttfmain.c . +Rather the patch closes the bug, we want to do some additional +equivalent changes for cleaning the code. Another patch coming soon. -Besides that, now we print a warning about an incorrect numGlyphs -in release build. The olkd code did with debug buil only. -I believe that users need to know whether a font is broken, and that -its rendering is hewristic. - </pre> -<p>[src/gstype42.c src/ttfmain.c]</p> +<p>[psi/zchar42.c]</p> </blockquote> -<p><strong><a name="2008-05-25T054515.665594Z"></a> -2008-05-25T05:45:15.665594Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-15T140727.807825Z"></a> +2008-11-15T14:07:27.807825Z Ken Sharp</strong></p> <blockquote> <pre> -Revert the rev. 8509 because it is not needed after rev. 8774 but interferes -with FONTPATH search and memory font resources. Bug 689637. +Fix PS interpreter: issues with ICCBased spaces -DETAILS: -Since embedded PDF fints are now not registered as resources, there's no -need to distinguish between disk and memory font resources. Embedded fonts -bypass resource machinery; non-embedded fonts are loaded by name. - -</pre> -<p>[lib/pdf_font.ps src/zfont.c]</p> -</blockquote> +Details: +Bug #690169 Regression: seg fault reading Bug689830.pdf, Bug689831.pdf, and annots.pdf -<p><strong><a name="2008-05-25T042823.450067Z"></a> -2008-05-25T04:28:23.450067Z Alex Cherepanov</strong></p> -<blockquote> -<pre> -Continue the changes started by the rev. 8772. Remove one more definefont from -embedded TrueType font loader. Bug 689644, customer 243. +The 9218 revision to restore the 'optional' nature of the Alternate in ICCBased colour spaces was unfortunately incomplete. This led to us trying to set a 'null' colour space when a PDF file had a damaged and unusable ICC specification. + +We now use the technique specified in the PDF Reference, take the value of 'N' from the space and use that to select an appropriate alternate, when one is not specified. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-25T021714.504731Z"></a> -2008-05-25T02:17:14.504731Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-13T142305.749468Z"></a> +2008-11-13T14:23:05.749468Z Alex Cherepanov</strong></p> <blockquote> <pre> -Change all shell scripts to treat a single dash '-' as a positional -parameter rather than an option. Bug 689846. +Skip null entries in /Annots array. Bug 690161. + </pre> -<p>[lib/eps2eps lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-05-23T050520.013100Z"></a> -2008-05-23T05:05:20.013100Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-11-13T020249.620374Z"></a> +2008-11-13T02:02:49.620374Z Ray Johnston</strong></p> <blockquote> <pre> -Use embedded PDF fonts directly. Don't define them as resources and look them -up later by the name. Leave findfont operator for fetching non-embedded fonts -only, which are now unaffected by embedded fonts. Bugs 689510, 689514 from -customer 700. +Revert 8.63 behavior where the /Alternate key/value pair in ICCBased param dictionaries +is optional. Bug 690165 for customer 850. DETAILS: -CIDFont resources should be handled in a similar way but this part -is not yet implemented. +This allows: + +[ /ICCBased << /N 3 /DataSource (srgb.icc) (r) file >> ] setcolorspace + +to work, where srgb.icc is the path to an 'input' ICC color profile. + +Until Ghostscript has support for ICC profiles throughout, this is useful to +allow for setting the Resource/ColorSpace/Default*** colorspaces (or +defining the ColorSpace resources) using ICC profiles. </pre> -<p>[lib/pdf_font.ps lib/pdf_ops.ps]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-23T001350.314402Z"></a> -2008-05-23T00:13:50.314402Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-10T190157.531817Z"></a> +2008-11-10T19:01:57.531817Z Igor Melichev</strong></p> <blockquote> <pre> -Implement sync_output as cairo_flush. Patch from Behdad Esfahbod. +Fix (clist writer) : A crash when transparent object appears over the page top. + +DETAILS : + +Bug 690149 "PDF-file can not be converted". + +The transparency compositor cropping caused an attempt to +Write to a non-existing band over the page top. +This patch skips writing such compositor commands. + + </pre> -<p>[src/gdevcairo.c]</p> +<p>[base/gxclimag.c]</p> </blockquote> -<p><strong><a name="2008-05-22T180622.983939Z"></a> -2008-05-22T18:06:22.983939Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-09T203808.817663Z"></a> +2008-11-09T20:38:08.817663Z Igor Melichev</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 4). +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (part 2). DETAILS : -The old code assumes that a pattern always fits into the clist writer buffer. -However ppmraw -r400 176-01.ps violates this assumption. -This patch implements a subdivision of a pattern into slices, -each of which is smaller than the buffer size. +This change fixes the previous change's commitment error. +This log message describes the union of the 2 changes. + +This is a second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. + +When emulating a CID font with an Open Type font, a CID is first +mapped to an OpenType encoding and then to a glyph index. +However OpenType provides same character codes for glyph variants, +which render differently depending on writing mode. +The glyph '(' is an example. + +This patch works for OpenType fonts only, which provide a GSUB for vertical +writing mode. +It is not working for True Type collections with no GSUB. +They need a further improvement. + +The patch assumes that all interpreters initialize a Type 42 font with +zeroing all its fields. +Postscript interpreter does so since a long ago, but we're not sure about +others. +They may need an improvement. + +1. Define a new resource category SubstCID (Resource/Init/gs_ciddc.ps). -1. The new function cmd_get_buffer_space retrives maximal available space - in the clist writer buffer (gxclutil.c). +2. Provide a tool for generating resources for that category +(toolbin/GenSubstCID). -2. cmd_put_drawing_color now implements a cycle for slicing big patterns. - Each slice writes to clist as a separate clist instruction (gxclpath.c). +3. Provide resources for various orderings (Resource/SubstCID/CNS1-WMode, +Resource/SubstCID/GB1-WMode, Resource/SubstCID/Japan1-WMode, +Resource/SubstCID/Korea1-WMode). -3. gx_dc_pattern_write_raster drops the constraint that the pattern - fits into a single buffer (gsptype1.c). +4. When loading a TrueType or OpenType font for a CID font emulation, +associate an +appropriate SubstCID resource to it (Resource/Init\gs_cidtt.ps). +(We do associate the resource with TrueType hoping that some +True Type fonts may provide GSUB). -4. The clist interpreter is enhanced with composing a pattern from slices - (gxclrast.c). +5. Define a new structure gs_subst_CID_on_WMode_s for storing that +information +for the graphics library (base\gxfcid.h), and its garbager descriptor +(base/gsfcid.c). +Since it may duplicate for several fonts, it is shared and +reference-counted. + +6. The new function get_subst_CID_on_WMode loads the resource data for the +graphics library +in psi\zfcid1.c . Note it is implemented for PS interpreter only. + +7. Generalized gs_type42_substitute_glyph_index_vertical with providing a +CID in base/gstype42.c +and made it be a virtual function of gs_font_type42 (base/gxfont42.c). +We're not sure how other interpreters initialize the font, so +we're checking it for NULL for safety and use +gs_type42_substitute_glyph_index_vertical +as a default implementation. + +8. font11_substitute_glyph_index_vertical is another implementation of that +function, which +accounts gs_subst_CID_on_WMode_s data for providing a right glyph depending +on WMode. +Rather a SubstCID resource provides a substitution, currently +we only use the fact that a CID is substituted, and never use +the substituting CID. Nevertheless we prefer to define and store the +resource +in the complete form for possible improvements in future (zfcid1.c). + +9. release_subst_CID_on_WMode automatically releases the resource data +when all fonts (that use it) are released. + +10. Added SubstCID to the ROM file system in psi/psromfs.mak . + +11. Minor unrelated fix : propagate errors from gs_font_notify_register for +(7) in base/gstype42.c . </pre> -<p>[src/gsptype1.c src/gxcldev.h src/gxclrast.c src/gxclpath.c src/gxclutil.c]</p> +<p>[psi/zchar42.c Resource/Init/gs_ciddc.ps Resource/Init/gs_cidtt.ps psi/int.mak psi/zfcid1.c psi/zfont42.c]</p> </blockquote> -<p><strong><a name="2008-05-22T095218.876353Z"></a> -2008-05-22T09:52:18.876353Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-09T190930.285684Z"></a> +2008-11-09T19:09:30.285684Z Igor Melichev</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 3). +Fix (CID font emulation) : CID from another writing mode rendered a wrong +glyph (part 1). +This revision is incomplete due to a commitment error. Please use next +revision. DETAILS : -Bug 689856 "Regression: 09-34.PS core dumps when banding". +This is a second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. + +When emulating a CID font with an Open Type font, a CID is first +mapped to an OpenType encoding and then to a glyph index. +However OpenType provides same character codes for glyph variants, +which render differently depending on writing mode. +The glyph '(' is an example. + +This patch works for OpenType fonts only, which provide a GSUB for vertical +writing mode. +It is not working for True Type collections with no GSUB. +They need a further improvement. + +The patch assumes that all interpreters initialize a Type 42 font with +zeroing all its fields. +Postscript interpreter does so since a long ago, but we're not sure about +others. +They may need an improvement. + +1. Define a new resource category SubstCID (Resource/Init/gs_ciddc.ps). + +2. Provide a tool for generating resources for that category +(toolbin/GenSubstCID). + +3. Provide resources for various orderings (Resource/SubstCID/CNS1-WMode, +Resource/SubstCID/GB1-WMode, Resource/SubstCID/Japan1-WMode, +Resource/SubstCID/Korea1-WMode). + +4. When loading a TrueType or OpenType font for a CID font emulation, +associate an +appropriate SubstCID resource to it (Resource/Init\gs_cidtt.ps). +(We do associate the resource with TrueType hoping that some +True Type fonts may provide GSUB). + +5. Define a new structure gs_subst_CID_on_WMode_s for storing that +information +for the graphics library (base\gxfcid.h), and its garbager descriptor +(base/gsfcid.c). +Since it may duplicate for several fonts, it is shared and +reference-counted. -Uninitialized fields in device color after restoring a pattern from clist. -Debugged with -..\..\gs-hd\bin\gswin32c.exe -IF:/AFPL/gs-hd/lib;f:\afpl\fonts -r300 -K1000000 -dMaxBitmap=10000 -dNOPAUSE -dBATCH -sDEVICE=pbmraw -sOutputFile=cur.ppm H:\AuxFiles\CET\09-34.PS +6. The new function get_subst_CID_on_WMode loads the resource data for the +graphics library +in psi\zfcid1.c . Note it is implemented for PS interpreter only. + +7. Generalized gs_type42_substitute_glyph_index_vertical with providing a +CID in base/gstype42.c +and made it be a virtual function of gs_font_type42 (base/gxfont42.c). +We're not sure how other interpreters initialize the font, so +we're checking it for NULL for safety and use +gs_type42_substitute_glyph_index_vertical +as a default implementation. + +8. font11_substitute_glyph_index_vertical is another implementation of that +function, which +accounts gs_subst_CID_on_WMode_s data for providing a right glyph depending +on WMode. +Rather a SubstCID resource provides a substitution, currently +we only use the fact that a CID is substituted, and never use +the substituting CID. Nevertheless we prefer to define and store the +resource +in the complete form for possible improvements in future (zfcid1.c). + +9. release_subst_CID_on_WMode automatically releases the resource data +when all fonts (that use it) are released. + +10. Added SubstCID to the ROM file system in psi/psromfs.mak . + +11. Minor unrelated fix : propagate errors from gs_font_notify_register for +(7) in base/gstype42.c . </pre> -<p>[src/gsptype1.c]</p> +<p>[Resource/SubstCID/CNS1-WMode base/gxfcid.h Resource/SubstCID base/lib.mak Resource/SubstCID/GB1-WMode Resource/SubstCID/Japan1-WMode base/gsfcid.c base/gxfont42.h psi/psromfs.mak base/gstype42.c toolbin/GenSubstCID.ps Resource/SubstCID/Korea1-WMode]</p> </blockquote> -<p><strong><a name="2008-05-21T194653.581581Z"></a> -2008-05-21T19:46:53.581581Z Ray Johnston</strong></p> +<p><strong><a name="2008-11-07T184934.403723Z"></a> +2008-11-07T18:49:34.403723Z Ralph Giles</strong></p> <blockquote> <pre> -Change parameters to gdev_prn_allocata_mesmory to explicit width and height to work -around a (suspected) bug in gdev_prn_allocate when new_width and new_height are 0 -and the page has transparency. That issue will be adddressed separately. -Crash with multi-threaded rendering reported by customer #850. +Remove a duplicate typedef for stream_arcfour_state. + +Details: + +The duplicate (opaque pointer) typedef in gdevpdfx.h was +redundant and any users that dereferenced members or allocated +the struct on the stack already included sarc4.h. + +I believe the idea here was just to hide the structure details +from some hypothetical user of the pdf_crypt api. However, the +stream state structure should either be opaque, with only the +typedef in sarc4.h or it should be public and using it requires +sarc4.h. The duplication isn't justified in either case. + +Since stream state structures generally are public so they can +be stack-allocated, we decided to remove the duplicate typedef. + +Also adds a missing dependency to the makefile. + +Issue originally reported by the coverity hfa checker. </pre> -<p>[src/gxclthrd.c]</p> +<p>[base/gdevpdfx.h base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T194647.112573Z"></a> -2008-05-21T19:46:47.112573Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-06T235127.600449Z"></a> +2008-11-06T23:51:27.600449Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -In r8765 we concluded GS_IMAGE_MAX_PLANES was the same as -MAX_COMPONENTS. Make this change permanent by removing the -MAX_PLANES define entirely. +Updates to nightly regressions to allow them to run under Mac OS X. + +Details: + +Change uname parameters from '-m -o' to '-m -s' +Don't appened ".db" to filename when opening database. +Replace sendmail python function with call to /usr/bin/sendmail. +Archive daily rasters. +Change location of gscdef.c from src to base. +Call time from /usr/local/bin (/usr/bin/time doesn't take -f option). + +Note that some of these changes are not compatible with peeves. </pre> -<p>[src/gsimage.c src/zimage.c src/gxiparam.h src/gdevbbox.c src/gxidata.c src/gximage.c src/gsiparam.h src/gxclimag.c]</p> +<p>[toolbin/tests/make_baselinedb.py toolbin/tests/gscheck_raster.py toolbin/tests/testdiff.py toolbin/tests/compare_checksums.py toolbin/tests/gscheck_pdfwrite.py toolbin/tests/build_revision.py toolbin/tests/check_dirs.py toolbin/tests/compare_checksumdb.py toolbin/tests/gsconf.py toolbin/tests/get_baseline_log.py toolbin/tests/run_nightly.py toolbin/tests/gstestgs.py toolbin/tests/run_regression.py toolbin/tests/update_baseline.py]</p> </blockquote> -<p><strong><a name="2008-05-21T194643.711424Z"></a> -2008-05-21T19:46:43.711424Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-06T233055.150402Z"></a> +2008-11-06T23:30:55.150402Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Remove the lowercase "compatibility" versions of the GS_IMAGE_MAX_* -macros. +Stopped generating 600 dpi raster files when running make_missing since they were never being tested. </pre> -<p>[src/zimage.c src/gdevtxtw.c src/gsimage.c src/gxiparam.h src/gxidata.c src/gximage.c src/dxmainc.c src/gdevpdtv.c src/gdevpdfb.h src/gdevpdtv.h src/macsystypes.h src/gdevmacttf.h src/gp_mac.h src/gxclimag.c src/iimage.h src/gxsamplp.h src/gdevmacxf.c src/gdevmac.c src/gsiparam.h src/gdevmac.h]</p> +<p>[toolbin/tests/gsparamsets.py]</p> </blockquote> -<p><strong><a name="2008-05-21T190531.529144Z"></a> -2008-05-21T19:05:31.529144Z Ray Johnston</strong></p> +<p><strong><a name="2008-11-06T232754.191464Z"></a> +2008-11-06T23:27:54.191464Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Reduce the GS_IMAGE_MAX_PLANES to a sane number. The image cannot have more -planes than the number of CLIENT_COLORS we support (plus 1 for alpha). -This cures a stack overflow seen with the multi-threaded rendering on -Windows. +Made some messages prettier. </pre> -<p>[src/gsiparam.h]</p> +<p>[toolbin/tests/testdiff.py]</p> </blockquote> -<p><strong><a name="2008-05-21T182742.905572Z"></a> -2008-05-21T18:27:42.905572Z Michael Vrhel</strong></p> +<p><strong><a name="2008-11-06T232502.686517Z"></a> +2008-11-06T23:25:02.686517Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix for 689811. Enables custom color callback when banding of images is occurs. - -DETAILS: -This was a simple fix which puts the callback structure address into gslib_ctx instead of in the graphic state. This fixes the customer's issue. The postscript interface for custom color remains as it was with this commit. Soon, in the future, we will be changing to a C API interface. There does remain an issue with respect to object type tagging. If high level images occur with banding, the object type is different than if there was no banding. Opening a new bug in regard to this.</pre> -<p>[src/gsnamecl.h src/gslibctx.c src/gxcmap.c src/iapi.c src/gslibctx.h src/gsncdummy.c src/gsciemap.c src/gscspace.c src/gsicc.c src/gscdevn.c src/gsnamecl.c src/gscie.c]</p> +Fixed typo. +</pre> +<p>[toolbin/tests/update_baseline.py]</p> </blockquote> -<p><strong><a name="2008-05-21T181313.037917Z"></a> -2008-05-21T18:13:13.037917Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-06T201319.335714Z"></a> +2008-11-06T20:13:19.335714Z Igor Melichev</strong></p> <blockquote> <pre> -Credit Behdad in the source. +Fix (graphics) : A missed dependency in makefile. + </pre> -<p>[src/gdevcairo.c]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T134208.542151Z"></a> -2008-05-21T13:42:08.542151Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-06T200426.632073Z"></a> +2008-11-06T20:04:26.632073Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (Type 1 hinter) : The missed flex hewristic malfunctioned. +Fix (clist interpreter) : A faster procesing without a preliminary clearing of the band buffer. DETAILS : -Bug 689821 "SegFault in gxhintn.c". - -The old code is buggy with a wrong index advance along a cyclic buffer range. +The preliminary cleaning of the buffer appears unuseful because erasepage +in the clist code performs same function. </pre> -<p>[src/gxhintn.c]</p> +<p>[base/gxclread.c]</p> </blockquote> -<p><strong><a name="2008-05-21T101214.199391Z"></a> -2008-05-21T10:12:14.199391Z Igor Melichev</strong></p> +<p><strong><a name="2008-11-06T190939.284217Z"></a> +2008-11-06T19:09:39.284217Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 2). - -DETAILS : - -Bug 689848 "C stack overflow on Windows and hang on linux 176-01.ps". - -A patch from Ray, which eliminates an infinite recursion in the clist writer. -A further improvement is coming soon about noodling the big data -while copying a pattern into a page clist. - +Remove an unused variable. </pre> -<p>[src/gxclutil.c]</p> +<p>[base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2008-05-21T064641.280250Z"></a> -2008-05-21T06:46:41.280250Z Ray Johnston</strong></p> +<p><strong><a name="2008-11-06T190937.330669Z"></a> +2008-11-06T19:09:37.330669Z Ralph Giles</strong></p> <blockquote> <pre> -Ensure that the chunk wrapper is used on the non_gc allocator since doing GC -on chunks will be disastrous. This is protection only and causes no difference -since the only current client of the chunk wrapper is the multi-threaded clist -rendering which wraps non_gc_memory. +Add a missing include for pdf_prepare_stroke(). </pre> -<p>[src/gsmchunk.c]</p> +<p>[base/gdevpdts.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T064014.466289Z"></a> -2008-05-21T06:40:14.466289Z Ray Johnston</strong></p> +<p><strong><a name="2008-11-05T204122.951927Z"></a> +2008-11-05T20:41:22.951927Z Ralph Giles</strong></p> <blockquote> <pre> -Upon one of our engineer's request, clean up the MSVC warning about use of an -uninitialized variable. +Remove psromfs.mak from ugcclib.mak. + +This makefile is ostensibly for the graphics library only. </pre> -<p>[src/gxclthrd.c src/gxclist.h src/gxclread.c]</p> +<p>[base/ugcclib.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T063534.826889Z"></a> -2008-05-21T06:35:34.826889Z Ray Johnston</strong></p> +<p><strong><a name="2008-11-05T204106.620266Z"></a> +2008-11-05T20:41:06.620266Z Ralph Giles</strong></p> <blockquote> <pre> -Add some missing information for the clist multi-threaded rendering files and -the chunk memory wrapper. This cleans up (som of) the nightly regression nags. +Add -lpthread to ugcclib.mak. It is now required by sync=posync. </pre> -<p>[doc/Develop.htm]</p> +<p>[base/ugcclib.mak]</p> </blockquote> -<p><strong><a name="2008-05-21T013708.729158Z"></a> -2008-05-21T01:37:08.729158Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-05T082619.980667Z"></a> +2008-11-05T08:26:19.980667Z Ken Sharp</strong></p> <blockquote> <pre> -Fix the autoconf build when libcairo isn't available. +Fix (pdfwrite): several issues with PaintType 2 (stroked fonts) and PDF Text rendering modes. + +Details: +Bug #690136 Differences in character stroke width +Bug #689970 major artefacts in pdfwriter output +Bug #688267 Ghostscript need native PDF graphic state +Bug #689654 pdfwrite ignores font /PaintType 1 +Bug #689692 Colour and linewidth is not set correct for text with rendermode STROKE +and FILLSTROKE + +The current implementation of text rendering modes has some problems. I've been able to address most of these in this patch by: + +1) Making the charpath detection slightly less picky. This picks up more instances of filled text followed by 'charpath stroke', combining correctly into a PDF text rendering mode. + +2) Relaxing the criteria for detecting a Tr mode involving stroking. + +3) Removing some spurious scaling, and applying a better scale factor when using stroked fonts (Paint Type 2). + +There are still problems with this code, and they are insuperable in the current architecture of pdfwrite/PDF interpreter. Specifically; Text render mode 6 (fill, stroke and clip) doe snot work properly, text which is stroked using a linewidth set outside the text block, and with a non-identity CTM and non-identity text matrix results in incorrect stroke widths. + +This will need to be addressed further under bug #688267, which is an enhancement. In the meantime this patch significantly improves the current implementation. Note; bug #689692 is still slightly incorrect with this patch, though improved. Bug #690025 is unchanged (still incorrect). -The device properly disabled in r8752. </pre> -<p>[src/configure.ac]</p> +<p>[base/gdevpdts.c base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2008-05-21T012649.215021Z"></a> -2008-05-21T01:26:49.215021Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-04T050732.360011Z"></a> +2008-11-04T05:07:32.360011Z Alex Cherepanov</strong></p> <blockquote> <pre> -Set properties on the new cairo device source file. +Add support for indirect objects in /W and /W2 entries in the CIDFont +dictionary. Bug 690151. + </pre> -<p>[src/gdevcairo.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012445.439819Z"></a> -2008-05-21T01:24:45.439819Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-04T033352.379523Z"></a> +2008-11-04T03:33:52.379523Z Alex Cherepanov</strong></p> <blockquote> <pre> -Whitespace cleanup. Also comment out the warning about setlogop; this -isn't important for most documents. +Export (i.e. don't undefine) runpdfpagerange procedure for the benefit +of PDF manipulation utilities. Bug 690153. </pre> -<p>[src/gdevcairo.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012444.147836Z"></a> -2008-05-21T01:24:44.147836Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-03T062632.640021Z"></a> +2008-11-03T06:26:32.640021Z Alex Cherepanov</strong></p> <blockquote> <pre> -Don't compare a NULL extension string. +Fix a bug in object stream handling that sometimes dropped incremental +updates. Bug 690141. + +DETAILS: +An incremental update can replace only some of the objects in the +object stream. Old code didn't check xref tables and resolfed all +unresolved objects from the stream. Once resolved, an object is no +longer accessed through xref. + </pre> -<p>[src/gdevcairo.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012442.046903Z"></a> -2008-05-21T01:24:42.046903Z Ralph Giles</strong></p> +<p><strong><a name="2008-11-03T042851.792909Z"></a> +2008-11-03T04:28:51.792909Z Ray Johnston</strong></p> <blockquote> <pre> -Rename the cairo device parameter CairoSurface to CairoOption. - -Better handling of libcairo errors. +Fix Floating Point excpetion caused by improper initializer of a private device +structure subclassed (in the klunky C ghostscript fashion) from the gx_device_printers_s +structure. Restructure a macro in base/gdevprn.h to help prevent similar bit rot in the +future. Bug 690122. -Add (untested) support for passing a libcairo context pointer -through the CairoContext device parameter for rendering to a -client drawable. +DETAILS: -Details: +The problem was with devices that use the contrib/lips4/gdevlprn.h header +files. The lp_duplex_device_body_rest_ and lp_device_body_rest_ macros that +initialized the prn_device structure 'common' elements were out of date with +respect to the revision in the gx_device_printer_s structure made for the +multi-threaded rendering. The num_render_threads_requested integer was added. -CairoSurface was renamed with the expectation that it will in -the future take additional options that might not be surface -specific. Also, the CairoSurface name was chosen with the idea -that a client could pass a pointer to an already allocated -cairo_surface_t, but it's just as easy to pass the result -of calling cairo_create() on such a surface as a context -pointer. Therefore we've added CairoContext and renamed the -old CairoSurface parameter to CairoOptions. +I restructured the prn_device_body_rest2_ in base/gdevprn.h so that the +contrib/lips4/gdevlprn.h initialization macro could use this to minimize the +likelihood of bit rot in the future. -The new command line would be: +I did a search for other devices that might have the same problem and did not +find them (although I may have missed them). +</pre> +<p>[base/gdevprn.h contrib/lips4/gdevlprn.h]</p> +</blockquote> - gs -sDEVICE=cairo -sCairoOptions=ps -o - test.ps +<p><strong><a name="2008-10-28T031552.084170Z"></a> +2008-10-28T03:15:52.084170Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't assume that the top of the dictionary stack is writable or can be made +writable by allocating a new PDF graphic state. The latter cannot be done in +pdfinflt.ps and similar clients. This patch replaces my previous fix (r. 9124) +for the bug 690088. Bug 690134. -to set the output format to ps. </pre> -<p>[src/gdevcairo.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012440.923940Z"></a> -2008-05-21T01:24:40.923940Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-28T004349.468966Z"></a> +2008-10-28T00:43:49.468966Z Alex Cherepanov</strong></p> <blockquote> <pre> -Protect the use of pkg-config for libcairo. +Ignore named encodings for known symbolic fonts. Bug 690135, customer 580. + +DETAILS: +Acrobat reader appears to know that /WinAnsiEncoding is not compatible with +Wingdings2. The patch looks up the font name in a table to determine whether +the font is symbolic because corresponding /Flags attribute is unreliable. + </pre> -<p>[src/configure.ac]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2008-05-21T012438.762206Z"></a> -2008-05-21T01:24:38.762206Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-27T215317.877952Z"></a> +2008-10-27T21:53:17.877952Z Ralph Giles</strong></p> <blockquote> <pre> -New 'cairo' output device using the libcairo graphics library. -Patch by Behdad Esfahbod. +Update the documentation reference to psromfs.mak. -Details: - -This output device uses the LGPL cairo library to create file output in -a variety of formats. Currently supported are png, svg, pdf, ps, eps. +This file moved from base to psi in r9126. +</pre> +<p>[doc/Develop.htm]</p> +</blockquote> -The output format can be specified with the CairoSurface device -parameter. If this parameter isn't set, the device will guess -based on the filename extension given in OutputFile. Thus, these -two command lines are equivalent: +<p><strong><a name="2008-10-25T043430.742669Z"></a> +2008-10-25T04:34:30.742669Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 690103. This issue was introduced with r8868 where spatial interpolation in the source color space was introduced. The part that was missing in that commit was to handle the case where we had 8 bit image data that was non CIE based and NOT encoded with [0 1] . -gs -sDEVICE=cairo -sCairoSurface=svg -o tiger.svg examples/tiger.eps -gs -sDEVICE=cairo -o tiger.svg examples/tiger.eps +DETAILS: -Other output formats are selected like so: +This patch was tested with forced interpolation on a set of files that are known to have issues with interpolation. It performed properly on those and on the customer's bug file. -gs -sDEVICE=cairo -o tiger.png examples/tiger.eps -gs -sDEVICE=cairo -o tiger.pdf examples/tiger.eps -gs -sDEVICE=cairo -o tiger.ps examples/tiger.eps +The part that was missing in the old code was the case where we have encoded +(not [0 1]) nonindexed 8 bit image data that is not CIE based. For this case, +it was not getting properly decoded prior to interpolation. -Only vector drawing is implemented at this point; images and text are -handled by fallback and will not give compact results. The resolution -for rasterization is set by the -r parameter as usual. </pre> -<p>[src/Makefile.in src/configure.ac src/gdevcairo.c src/devs.mak]</p> +<p>[base/lib.mak base/gscspace.h base/gxiscale.c base/gscspace.c]</p> </blockquote> -<p><strong><a name="2008-05-20T203452.772461Z"></a> -2008-05-20T20:34:52.772461Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-24T145144.819826Z"></a> +2008-10-24T14:51:44.819826Z Igor Melichev</strong></p> <blockquote> <pre> -Add double inclusion protection to cure nag from nightly regression. +Fix (TT font handler) : Properly process a broken TTC header. + +DETAILS : + +Bug 690105 "seg fault reading pcl file" + +1. Check for TTC version header and print error if it is unknown. +2. Fixing the formatting according to C-style.htm . + </pre> -<p>[src/gsmchunk.h src/gxclthrd.h]</p> +<p>[base/gstype42.c]</p> </blockquote> -<p><strong><a name="2008-05-20T161840.306550Z"></a> -2008-05-20T16:18:40.306550Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-23T043329.326096Z"></a> +2008-10-23T04:33:29.326096Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Clean up properties to get rid of nightly regression warnings. +Make gx_sort_ht_order() deterministic. + +DETAILS: + +The gx_sort_ht_order() routine sorts the halftone mask values. +These values are often the same and qsort() does not guarantee the +order of equal elements. However, the order appears to be significant +for the output (differences in the nightly regression are seen on +different computers). And it's also possible that this indeterminism +is part of the cluster regression problem. + +This revision sorts equal masks by index value. + +DIFFERENCES EXPECTED: + +Some of the pbmraw or pkmraw nightly regressions may have minor +differences in the dithering pattern. + </pre> -<p>[src/gsmchunk.c src/gxclthrd.c src/gsmchunk.h src/gxclthrd.h src/gdevsvg.c]</p> +<p>[base/gsht.c]</p> </blockquote> -<p><strong><a name="2008-05-20T005225.121469Z"></a> -2008-05-20T00:52:25.121469Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-23T042842.566180Z"></a> +2008-10-23T04:28:42.566180Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Consider Index object in CFF font as empty if the offset element size is -incorrect. Bug 689854, customer 580. +Changed decleration of det from float to double in gs_matrix_invert(). DETAILS: -The rationale behind this decision is that the index is, probably, -not used when it is malformed but the file survives in the wild. + +On peeves the results of gs_matrix_invert() change depending on +whether or not compiler optimization is enabled if det is declared +as a float. I believe this is due to the optimized code never +storing the det value so it never get shortened to a float; by +declaring it as a double the unoptimized code should act the same. </pre> -<p>[lib/gs_cff.ps]</p> +<p>[base/gsmatrix.c]</p> </blockquote> -<p><strong><a name="2008-05-19T144752.443966Z"></a> -2008-05-19T14:47:52.443966Z Igor Melichev</strong></p> +<p><strong><a name="2008-10-21T180959.854984Z"></a> +2008-10-21T18:09:59.854984Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued). +Fix a makefile dependency which should have been added in r8872. +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-21T162609.248809Z"></a> +2008-10-21T16:26:09.248809Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS intetreter) : Crash in garbager when resetting marks in names table. DETAILS : -Bug 689807 "segfault with 09-34.PS". +Bug 690129 "MSVC8 x64 debug build crashes in names_trace_finish" -The last patch for the subject appears incomplete. -This one allows to write and read null patterns. -Debugged with 09-34.PS . +1. The real bug : the old code sometimes removes an element from nt->sub table with name_scan_sub, +and then resets marks in the element that has same table index. +If the removed element is the last one, +it tryes to process an uninitialised element and crashes indeterministically. +The new variable save_count works for that. +The bug persisted since the repository was created. + +2. Minor change : an optimization : The old code checked twice +for the loop exit condition. To fix it we changed the type of +the variable 'i' and changed the loop condition. </pre> -<p>[src/gsptype1.c]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2008-05-17T213347.003946Z"></a> -2008-05-17T21:33:47.003946Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-21T103552.809111Z"></a> +2008-10-21T10:35:52.809111Z Ken Sharp</strong></p> <blockquote> <pre> -Permit opening of temporary files in the safe mode. Fix /invalidaccess -error during interpretation of PDF 1.7 file collections in the safe mode. -Bug 689847. +Fix (pdfwrite): Conversion of PaintType 0 fonts to text rendering mode +1 sometimes produced incorrect stroke width. + +Details: +Bug #690116 "StrokeWidth of outline font too small" + +pdfwrite converts fonts with a PaintType of 0 (outline fonts) to a normal +font, but sets the text rendering mode to 1. The calculation of the +required stroke width was insufficient in some cases. </pre> -<p>[lib/pdf_main.ps src/zfile.c]</p> +<p>[base/gdevpdts.c base/gdevpdtt.c base/gdevpdts.h]</p> </blockquote> -<p><strong><a name="2008-05-17T125801.814886Z"></a> -2008-05-17T12:58:01.814886Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-19T203203.940940Z"></a> +2008-10-19T20:32:03.940940Z Alex Cherepanov</strong></p> <blockquote> <pre> -Ignore annotation appearance stream when it has a wrong type i.e. not a -dictionary. Bug 689839. +Search for 'startxref' instead of '%%EOF' in PDF recovery code because +'%%EOF' is mangled more ofthen than 'startxref'. Bug 690071, customer 384. </pre> -<p>[lib/pdf_main.ps lib/pdf_base.ps lib/pdf_draw.ps]</p> +<p>[Resource/Init/pdf_rbld.ps]</p> </blockquote> -<p><strong><a name="2008-05-17T010202.764582Z"></a> -2008-05-17T01:02:02.764582Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-19T012328.662366Z"></a> +2008-10-19T01:23:28.662366Z Alex Cherepanov</strong></p> <blockquote> <pre> -Replace various access techniques to PDF annotations with 'knownoget' -in preparation to fix the bug 689839. +Extend the size of the array for procedures scheduled for binding in DELAYBIND +mode to 2000. Prevent an overflow when 3rd party code (such as Ubuntu CJKV +patch) binds many new procedures. Bug 690124. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[Resource/Init/gs_init.ps]</p> </blockquote> -<p><strong><a name="2008-05-16T233414.372367Z"></a> -2008-05-16T23:34:14.372367Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-18T105242.057112Z"></a> +2008-10-18T10:52:42.057112Z Till Kamppeter</strong></p> <blockquote> <pre> -Add support for linecap/join and miterlimit. +Fixed bug #690032: bjc600/bjc800 drivers do not work with PDF input </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2008-05-16T124824.645580Z"></a> -2008-05-16T12:48:24.645580Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-18T031141.445457Z"></a> +2008-10-18T03:11:41.445457Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use PDFScanRules to scan ToUnicode CMap. Fix a case where CMap stream has -a name starting with 2 slashes that should not be parsed as an immediately -evaluated name. Bug 689642, customer 870. +Fix a bug in a new reusable stream implementation introduced in rev. 8810. +Take into account unread data left in the stream buffer before refilling +the buffer. Bug 690090, customers 384, 581, 661. </pre> -<p>[lib/pdf_font.ps lib/pdf_base.ps]</p> +<p>[psi/zfrsd.c]</p> </blockquote> -<p><strong><a name="2008-05-16T000542.149140Z"></a> -2008-05-16T00:05:42.149140Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T225821.764880Z"></a> +2008-10-17T22:58:21.764880Z Ralph Giles</strong></p> <blockquote> <pre> -Accumulate imaging state changes and write a new group only when -drawing. Add support for the linewidth parameter. We're pretty -close to properly handling tiger and other vector-only files. +Update properties for cups driver files. </pre> -<p>[src/gdevsvg.c]</p> +<p>[cups/pstoraster.in cups/pdftoraster.c cups/pstopxl.in cups/pxlmono.ppd cups/cups.mak cups/gdevcups.c cups/pxlcolor.ppd]</p> </blockquote> -<p><strong><a name="2008-05-16T000541.073469Z"></a> -2008-05-16T00:05:41.073469Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T225738.635737Z"></a> +2008-10-17T22:57:38.635737Z Till Kamppeter</strong></p> <blockquote> <pre> -Correct stroke and fill attribute overrides based on the path type. - -Also includes some whitespace cleanup. +Use $(PDFTORASTER_XE) for path to compiled pdftoraster binary </pre> -<p>[src/gdevsvg.c]</p> +<p>[cups/cups.mak]</p> </blockquote> -<p><strong><a name="2008-05-16T000540.066267Z"></a> -2008-05-16T00:05:40.066267Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T214627.567328Z"></a> +2008-10-17T21:46:27.567328Z Till Kamppeter</strong></p> <blockquote> <pre> -Store clipping rectangles as a clip path and ignore other non-drawing -paths. +Put new files under MIT license, </pre> -<p>[src/gdevsvg.c]</p> +<p>[cups/pdftoraster.c cups/pdftoraster.convs]</p> </blockquote> -<p><strong><a name="2008-05-15T212413.840635Z"></a> -2008-05-15T21:24:13.840635Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T205006.903656Z"></a> +2008-10-17T20:50:06.903656Z Igor Melichev</strong></p> <blockquote> <pre> -Set the document size and scale based on the page size and resolution -from the device parameters. -</pre> -<p>[src/gdevsvg.c]</p> -</blockquote> +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out (continued). -<p><strong><a name="2008-05-15T212412.705572Z"></a> -2008-05-15T21:24:12.705572Z Ralph Giles</strong></p> -<blockquote> -<pre> -Return proper negative error codes on allocation failure. +DETAILS : + +Bug 690106 "Regression: /unregistered in --run--" + +The recent patch for the subject is not sufficient because +an empty clipping condition cannot be anticipated in the clist writer. +To fix it we introduce a new flag gx_device_clist_writer_s::cropping_saved +especially for clist_fill_path to know whether it was called recursively +for passing an untrivial clipping path for a shading. The cropping must be restored +in the outer call iff it is set. -Also some minor formatting. </pre> -<p>[src/gdevsvg.c]</p> +<p>[base/gxclpath.c base/gxclist.c base/gxclist.h]</p> </blockquote> -<p><strong><a name="2008-05-15T212411.342484Z"></a> -2008-05-15T21:24:11.342484Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-17T202704.052662Z"></a> +2008-10-17T20:27:04.052662Z Till Kamppeter</strong></p> <blockquote> <pre> -Be explicit about clearing the current fill or stroke color when -none is set. +Added Ghostscript-based pdftoraster filter </pre> -<p>[src/gdevsvg.c]</p> +<p>[cups/pdftoraster.c cups/cups.mak cups/pdftoraster.convs]</p> </blockquote> -<p><strong><a name="2008-05-15T161748.102316Z"></a> -2008-05-15T16:17:48.102316Z Michael Vrhel</strong></p> +<p><strong><a name="2008-10-17T164958.474885Z"></a> +2008-10-17T16:49:58.474885Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for previous commit. I had the wrong version number test in the define.</pre> -<p>[jbig2dec/config_win32.h]</p> +Fixed several bugs, like crash if input is PDF (bug #690101), duplex not working, ... +</pre> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2008-05-15T161217.999197Z"></a> -2008-05-15T16:12:17.999197Z Michael Vrhel</strong></p> +<p><strong><a name="2008-10-17T134434.259593Z"></a> +2008-10-17T13:44:34.259593Z Alex Cherepanov</strong></p> <blockquote> <pre> -Minor change in JBIG configuration file related to using Visual Studio Version 9 (2008). stdio.h has a definition for vsnprintf which conflicts with the define in config_win32.h</pre> -<p>[jbig2dec/config_win32.h]</p> +Consider /Identity CMap compatible with any CIDFont /Ordering. Bug 690120. + +</pre> +<p>[Resource/Init/gs_cidcm.ps]</p> </blockquote> -<p><strong><a name="2008-05-15T000024.616940Z"></a> -2008-05-15T00:00:24.616940Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-10-17T093135.914027Z"></a> +2008-10-17T09:31:35.914027Z Ken Sharp</strong></p> <blockquote> <pre> -Improve white-on-mask drawing mode. +Fix (pdfwrite): ICCBased color spaces in input PDF files, /Alternate space converted to +ICCBased in output PDF file. Details: +Bug #690038 "Regression: ghostscript cannot read ghostscript produced PDF file." -This patch is provided by Hin-Tak (see bug 688372); his comments: +The PDF interpreter always runs with (in effect) /UseCIEColor set to true. This converts +process spaces to CIE color spaces, which are emitted in the PDF as ICCBased color +spaces when using pdfwrite/ps2write. -This is a patch which I have created, to make the pxlmono/pxlcolor driver -bebaves much better in the white-on-mask situation, without breaking -normal drawing. +However, for ICCBased color spaces this caused the /Alternate space of the ICCBased +space to become another ICCBased space, which is legal but silly, and caused the GS PDF +interpreter problems. -I haven't quite work out all the details nor understand the -reverse-mask-draw code properly yet, but this patch improves the situation -a great deal, to the point all the icons are shown correctly except for -having its background draw solid white rather than transparent +Modified the alternate space extraction routines so that they can use the UseCIE flag in +the color handling code to prevent the base space being substituted with a CIE space, +when the parent space is an ICCBased space. +Also discovered in passing that zfsample.c and zfunc4.c use zcolor.h but the makefile +did not have dependencies for them. Fixed. </pre> -<p>[src/gdevpx.c]</p> +<p>[psi/zcolor.c psi/zfunc4.c psi/zcolor.h psi/int.mak psi/zfsample.c]</p> </blockquote> -<p><strong><a name="2008-05-14T234909.954483Z"></a> -2008-05-14T23:49:09.954483Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-10-15T174700.008618Z"></a> +2008-10-15T17:47:00.008618Z Ray Johnston</strong></p> <blockquote> <pre> +Switch file I/O of 'opdfread.ps' to 'strmio' that supports the %rom% file system +as well as the default (%os%) file system. Bug 690074. +</pre> +<p>[base/gdevpdfu.c base/devs.mak]</p> +</blockquote> -Add support to pxlcolor and pxlmono for 24 bpp images. +<p><strong><a name="2008-10-15T070640.437422Z"></a> +2008-10-15T07:06:40.437422Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 9154 accidentally left a temporary C++ style comment in place. -Details: +</pre> +<p>[psi/zicc.c]</p> +</blockquote> -Previous to this revision the pxlcolor and pxlmono devices would revert -to using gx_default_begin_image() when bits_per_pixel==24, resulting -in very large images. Now the image data is written directly into the -pxl stream. In the case of pxlmono the image is converted to 8 bpp via -the lum_*_weight values from gxlum.h. +<p><strong><a name="2008-10-15T045130.597312Z"></a> +2008-10-15T04:51:30.597312Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 689961. +There was a problem with the testing to determine if a color space mapping was linear within a triangle and along a line. The old code assumed the number of components was the same in the client and device color space. In general this is not true, especially if we have a DeviceN color space with one color and a CMYK output device, which was the test case given. </pre> -<p>[src/gdevpx.c]</p> +<p>[base/gscspace.c]</p> </blockquote> -<p><strong><a name="2008-05-13T195208.912983Z"></a> -2008-05-13T19:52:08.912983Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-15T013243.847670Z"></a> +2008-10-15T01:32:43.847670Z Ralph Giles</strong></p> <blockquote> <pre> -Fix an incorrect curveto coordinate. +Exclude local repository files from other version control systems +from clusterpush. </pre> -<p>[src/gdevsvg.c]</p> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013239.731625Z"></a> +2008-10-15T01:32:39.731625Z Ralph Giles</strong></p> +<blockquote> +<pre> +Read git commit names if an svn revision number isn't available. +</pre> +<p>[toolbin/clusterpush.sh]</p> </blockquote> -<p><strong><a name="2008-05-13T184723.939753Z"></a> -2008-05-13T18:47:23.939753Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-15T013233.815878Z"></a> +2008-10-15T01:32:33.815878Z Ralph Giles</strong></p> <blockquote> <pre> -Disable drawing in the SVG output device after the first output_page call. +Update the clusterpush script for the new source locations. -Even for single-page output we receive an erasepage fill after the showpage -from gdevvec, which overwrites whatever we've drawn. This should be avoided -in a more sophisticated way (ideally in the superclass) but this method is -helpful for current development. +Previously we copied the baseline from the last ghostpcl run on the +cluster, but since the ghostpdl tree moved to the public repository it +runs in an updating directory like gs. + +Also, compare return codes numerically instead of as a string. </pre> -<p>[src/gdevsvg.c]</p> +<p>[toolbin/clusterpush.sh]</p> </blockquote> -<p><strong><a name="2008-05-13T184723.279847Z"></a> -2008-05-13T18:47:23.279847Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-14T182724.066580Z"></a> +2008-10-14T18:27:24.066580Z Ken Sharp</strong></p> <blockquote> <pre> -Support setting stroke and fill colors. +Fix (PS interpreter): .seticcspace leaving operand on stack. + +Details: +Bug #690039 "failure to read ICC profiles generated by +Adobe Photoshop Version 7 and 9". + +ICC profiles in PostScript comments are handled by the comment +parsing code in gs_icc.ps, using the .seticcspace operator. After +the recent change to handle colour in 'C' rather than PostScript, +the .seticcspace operator was not removing its argument from the +operand stack. + +This led to the comment processing for other purposes (specifically +pdfwrite in this case) generating errors, as the stack had been disturbed. + +Altered the 'seticc' routine (called by .seticcspace) to remove the +operand from the stack. Also required altering the C colour processing +to increment the operand stack and pass the operand that way, when +calling seticc for PDF interpretation. + </pre> -<p>[src/gdevsvg.c]</p> +<p>[psi/zcolor.c psi/zicc.c]</p> </blockquote> -<p><strong><a name="2008-05-13T184721.967012Z"></a> -2008-05-13T18:47:21.967012Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-13T210348.526048Z"></a> +2008-10-13T21:03:48.526048Z Till Kamppeter</strong></p> <blockquote> <pre> -Import the current state of the svg driver. Doesn't work. +Make Duplex with the "pxlcolor" and "pxlmono" drivers work (standard command line options "-dDuplex" and "-dTumble"). </pre> -<p>[src/Makefile.in src/gdevsvg.c src/devs.mak]</p> +<p>[base/gdevpx.c]</p> </blockquote> -<p><strong><a name="2008-05-13T035810.005759Z"></a> -2008-05-13T03:58:10.005759Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-12T063818.212672Z"></a> +2008-10-12T06:38:18.212672Z Alex Cherepanov</strong></p> <blockquote> <pre> -Reduce generation of garbage and the time spent on garbage collection by -placing gstate into the 2nd element of the patterm implementation array -in Adobe compatibility mode only. Ghostscript doesn't use this gstate -at all. Bug 689488. +Remove spurious un-definition of GlobalSubrs attribute during loading of +OpenType CFF fonts as CIDFont resources. Bug 690113, customer 1110. </pre> -<p>[lib/gs_lev2.ps src/zmisc.c]</p> +<p>[Resource/Init/gs_cff.ps]</p> </blockquote> -<p><strong><a name="2008-05-11T170017.181464Z"></a> -2008-05-11T17:00:17.181464Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-10T085142.858031Z"></a> +2008-10-10T08:51:42.858031Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a bug that leaves a junk value on the stack for every empty row on the -page during execution of a redefined showpage. Bug 689832. +The update for opdfread.ps in revision 8706 missed a required routine 'putu32'. -DETAILS: -The bug was introduced in rev. 2602 and stayed undetected for a while because -most files don't depend on the contents of the operand stack after executing -showpage. +Details: +putu32, used to update the offsets of TrueType tables in the TrueType header, uses +putu16, which was accidentally omitted. This (oddly) didn't seem to cause a problem with +testing but did for the customer. Added the missing routine. </pre> -<p>[lib/ps2epsi.ps]</p> +<p>[Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-05-10T220203.546959Z"></a> -2008-05-10T22:02:03.546959Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-09T194814.487705Z"></a> +2008-10-09T19:48:14.487705Z Alex Cherepanov</strong></p> <blockquote> <pre> -Ignore OutputIntent attribute if it is not an array; recover a broken PDF file. -Bug 689831. +Scale widget annotations in x and y directions to fit the BBox of the +appearance stream into the annotation rectangle. Old code considered +y direction only. Bug 690109. + +DETAILS: +This implementation is mainly based on the experiments with AR5. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-05-09T164454.615805Z"></a> -2008-05-09T16:44:54.615805Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-09T175310.358436Z"></a> +2008-10-09T17:53:10.358436Z Ray Johnston</strong></p> <blockquote> <pre> -Fix missing dependency that caused builds that included the 'bmpa' devices -to fail because the locking memory code wasn't included. Currently PCL -builds still had the bmpa devices included, so they failed. +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. </pre> -<p>[src/lib.mak]</p> +<p>[psi/dw32c.def]</p> </blockquote> -<p><strong><a name="2008-05-09T140044.027651Z"></a> -2008-05-09T14:00:44.027651Z Ralph Giles</strong></p> +<p><strong><a name="2008-10-08T150358.878575Z"></a> +2008-10-08T15:03:58.878575Z Ray Johnston</strong></p> <blockquote> <pre> -uncodes 33 and 34 repeat a zero code length symbol id, not the previous -symbol like runcode 32. Bug 689824. - -Thanks to Justin Greer for the fix. +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. </pre> -<p>[jbig2dec/config.h jbig2dec/configure jbig2dec/jbig2_text.c]</p> +<p>[psi/dwmain32.def]</p> </blockquote> -<p><strong><a name="2008-05-09T041201.814716Z"></a> -2008-05-09T04:12:01.814716Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-10-08T134055.237034Z"></a> +2008-10-08T13:40:55.237034Z Ken Sharp</strong></p> <blockquote> <pre> -Reject incorrect ICC profile that has 0 offset in one of the tags -and use alternate color space. Bug 689830. +Log: +Fix: ps2write. Very large TrueType fonts (>64Kb), when converted to Type 42 +fonts for use in PostScript, must contain an /sfnts entry, which is an +array of strings comprising the TT font. There are restrictions on where +the original data is split to form the strings, which ps2write was not +honouring. + +DETAILS: +Bug #690044 "Printer error (49,4C02) with ps2write output" +Bug #690012 "Error with ps2write output ps file when Unicode font is used" +Bug #690030 "Issue with NeverEmbed flag with ps2write device for some of the fonts" + +There are five changes made to opdfread.ps in order to fix these problems: + +1) The VM allocation mode used by opdfread is now local throughout, where + previously it was global. Judging by the number of local hacks, this + has frequently caused problems in the past. + +2) There was a problem if a Font Descriptor contained neither a FontFile + nor a FontFile2 entry. This was due to not embedding fonts, but caused + the code to enter an infinte loop looking for one or the other. + +3) After encountering the 'xref' in the PDF file, the code simply + flushed the input file. This could potentially cause a problem if the + EOF was not signalled back to the interpreter. This was theorised to + be one of the issues, and fixed in passing, even though it was not + in fact causing a problem. + +4) The sfnts array is now built up from strings which follow the rules + laid out in the Type 42 Font Format specification (tech note 5012) + In particular the glyf table is now split on glyph boundaries. This + only seems to cause problems for Adobe interpreters. + +5) The 'post' table processing was modified to use an array of strings + instead of a single string, if the table was >64Kb. </pre> -<p>[icclib/icc.c]</p> +<p>[Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-05-09T021814.475665Z"></a> -2008-05-09T02:18:14.475665Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-08T074352.342922Z"></a> +2008-10-08T07:43:52.342922Z Igor Melichev</strong></p> <blockquote> <pre> -This is the "final" merge of the mtrender (multi-threaded clist rendering) -branch into the trunk. The default behavior is still the same, i.e., the -clist rendering is done in the same thread as the parsing (main thread). - -The 'gsmalloc' memory allocator now ALWAYS uses a mutex to lock accesses -in case it is used by a multi-threaded client. This was determined to -result is less than 1% performance hit on a single threaded client. +TT fonts : An initial implementation of GSUB. -Refer to the log messages on the mtrender branch for details on the -design of the multi-threaded clist rendering, but the summary is that --dNumRenderingThreads=# (default 0) determines the number of background -threads REQUESTED for rendering bands. If the platform doesn't support -threads, or if there is an error starting the threads from the clist_ -get_bits_rectangle_mt hook, single threaded rendering will be used. +DETAILS : -The number of threads may be less than the requested number if the -number of bands is less than the request, or if there is an error -setting up threads (as many as can be created, up to the request will -be used). The -Z: debug switch emits status messages indicating how -many threads are requested (-dNumRenderingThreads) and the number that -is actually used. +This is a partial fix for bug 689304 +"improper handling of vertical japanese text". +It works for brackets and punctuation signs orientation +when a vertical CJK text is painted with an +Open Type font that defines a GSUB table. -Many files show little if any improvement with multi-threaded clist -rendering since they are dominated by the clist writing time, or by -the time required to write the output. No files seen to date show a -performance hit greater than aobut 3%. Setting NumRenderingThreads -to a count higher than the number of CPU cores available does not -seem to help or hurt much, but there is overhead (per page) with -starting threads and allocating band buffers, so a very large count -is not productive. +The curent implementation always chooses a Format 1 +substitution table that substitutes single glyphs to single glyphs. +It doesn't account LangSys and feature tables. +Such logic is owned from the CJK patch attached to the bug 689304. +It may need further improvements. -The best performance seen on an Intel Core 2 Duo system, on a -particular file is about a 75% performance improvement (completing -the page in 57% of the single threaded time). This time did not -include writing a file (output to /dev/null). +Opposite to CJK group we implement it in C to allow +to it to work for other interpreters besides Postscript. -In order to prevent memory mutex (locking) contention from slowing -down multi-threaded clist rendering, each thread uses a 'chunk' -wrapper on NON-GC the non-gc memory allocator. Each chunk allocator -is thread-safe/instantiated, so the locking only occurs on chunk -allocations to the wrapped (target) memory allocator. +Interpreters may need to add an explicit call to +the new function gs_type42_substitute_glyph_index_vertical +to involve the new functionality. This happens due to +a compatibility to PS interpreter that needs to call +the new function from the interpreter code rather than from +the graphics library. -The 'BAND_LIST_STORAGE=mmeory' option has been supplemented to allow -multiple concurrent threads to read the clist 'memfile'. +See comments in code for more details. -The "autoconf" files (configure.ac and Makefile.in) have been improved -to hook the 'posix' pthreads if available, so linux and Mac OS/X will -be able to support the multi-threaded clist rendering. </pre> -<p>[src/gxclist.c src/gsmemlok.c src/gsmchunk.c src/gxclthrd.c src/gxclist.h src/configure.ac src/gsmchunk.h src/gxclthrd.h src/gxclread.c src/lib.mak src/gxclmem.c src/gxclmem.h src/gsmalloc.c src/Makefile.in src/gdevprn.c src/gsmalloc.h src/gdevprn.h]</p> +<p>[psi/zchar42.c base/gxfont42.h base/gstype42.c Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2008-05-08T214707.355557Z"></a> -2008-05-08T21:47:07.355557Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-08T055627.963219Z"></a> +2008-10-08T05:56:27.963219Z Ray Johnston</strong></p> <blockquote> <pre> -Use 'realtime' instead of 'usertime' for -Z: timing information. On some -systems (Windows) these are equivalent, but on linux, 'usertime' is the -time for the current thread which interferes with timing collection on -different threads (multi-threaded rendering did not include any time for -the threads). INCOMPATIBLE CHANGE, but this is only debug info. +Fix Windows stack overflow when NumRenderingThreads > 0. This was identified +during testing for bug 690108 (see comments, #1 and #2). This is a work around +as it does not address the excessive stack usage, but does work around the +problem by throwing memory at it. Bug 690198. </pre> -<p>[src/imain.c]</p> +<p>[base/gp_wsync.c]</p> </blockquote> -<p><strong><a name="2008-05-08T212830.163536Z"></a> -2008-05-08T21:28:30.163536Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-07T200558.844384Z"></a> +2008-10-07T20:05:58.844384Z Ray Johnston</strong></p> <blockquote> <pre> -Allow some compile time constants that affect performance to be set as -/D compiler flags (via XCFLAGS makefile macro). +Restore function of NumRenderingThreads > 0 that was inadvertently disabled +by previous commit to this module. -MAX_BITMAP_PATTERN_SIZE controls when the clist pattern accumulator is used, -and on machines with a decent amount of RAM, the default of 1 Mb is too -small and causes the slower clist method to be used too often. Setting this -to 32 Mb is probably better on hosts. +DETAILS: +The segfault was fixed by making sure that the clist structure was initialized +as a 'reader', but this included setting ymin=0, which meant that the following +test for crdev->render_threads == NULL always reverted to single threaded +rendering. -The GS_CLIENT_COLOR_MAX_COMPONENTS default of 252 is needed for Adobe CPSI -compatibility and for RIPS that want to use a large number of DeviceN -colorants, but this increases the size of some allocations and slows down -performance and is much too large for printers. Setting this to 6 or 8 is -probably plenty. +Note that this also will return the error if "clist_close_writer_and_init_reader" +returns an error value (<0), which is consistent with the behavior of the +clist_get_bite_rectangle function (NumRenderingThreads==0). </pre> -<p>[src/gxpcmap.c src/gsccolor.h]</p> +<p>[base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-08T200932.433652Z"></a> -2008-05-08T20:09:32.433652Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-05T175125.414873Z"></a> +2008-10-05T17:51:25.414873Z Ray Johnston</strong></p> <blockquote> <pre> -Fix MSVC warning -- mismatched type. +Fix SEGV when NumRenderingThreads > 0 caused by improper clist reader phase +initialization. Bug #690108. + +DETAILS: +Make sure that the clsit device is initialized to 'reader' mode before checking +the 'render_threads' element of the reader device. Prevents a SEGV when the +corresponding element of the 'writer' device structure was non-zero at the end +of the page since the render_threads table will not have been allocated and +some other (invalid) pointer would be used instead. </pre> -<p>[src/zchar42.c]</p> +<p>[base/gxclread.c base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-08T195633.932490Z"></a> -2008-05-08T19:56:33.932490Z Ray Johnston</strong></p> +<p><strong><a name="2008-10-02T193322.695690Z"></a> +2008-10-02T19:33:22.695690Z Ralph Giles</strong></p> <blockquote> <pre> -Fix gcc warnings, unused variables and type mismatch, implicit declaration. +Move psromfs.mak to the interpreter source tree. + +This file defines variables used by lib.mak, but the resources are all +related to the ps interpreter, so it makes more sense to keep it there. +It is only included by top-level makefiles, so this doesn't violate +the dependency boundary. </pre> -<p>[src/gximask.c src/gp_unix.c]</p> +<p>[psi/os2.mak base/bcwin32.mak base/ugcclib.mak base/psromfs.mak psi/psromfs.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak ijs/unix.mak psi/msvc32.mak base/macos-mcp.mak]</p> </blockquote> -<p><strong><a name="2008-05-08T193526.683268Z"></a> -2008-05-08T19:35:26.683268Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-30T190135.905183Z"></a> +2008-09-30T19:01:35.905183Z Ray Johnston</strong></p> <blockquote> <pre> -Clean up gcc compiler warnings for unused 'st' and no prototype for -gx_pattern_cache_free (from gxpcolor.h). +Clean up a few coverity gripes (nothing important) </pre> -<p>[src/gxclrast.c]</p> +<p>[base/gxclthrd.c]</p> </blockquote> -<p><strong><a name="2008-05-08T191040.329127Z"></a> -2008-05-08T19:10:40.329127Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-27T013936.090759Z"></a> +2008-09-27T01:39:36.090759Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add support for recursive mutex on posix. Multiple threads that perform -'locking' before calling an object's finalize need this to prevent -deadlock if the finalize calls 'free'. This protection is standard on -Windows, but PTHREAD_MUTEX_RECURSIVE attribute is not available on -many systems. - -The method, using pthread_self and pthread_equal, was extracted from -a web information page and tested on linux. +Set the temporary value of PDFDEBUG flag using 'gput' procedure instead of +'def' because initial PDF graphic state is represented by a read-only +dictionary. Bug 690088. -NB: The multi-threaded clist rendering no longer needs this since -the 'chunk' memory wrapper calls the 'finalize' function without -locking, so the deadlock no longer occurs. </pre> -<p>[src/gp_psync.c]</p> +<p>[Resource/Init/pdf_base.ps]</p> </blockquote> -<p><strong><a name="2008-05-08T185610.922303Z"></a> -2008-05-08T18:56:10.922303Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-25T234803.662203Z"></a> +2008-09-25T23:48:03.662203Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix memory leak observed with DEBUG=1 build on mtrender branch. The -'levels' and 'bit_data' of halftones were being leaked when halftones -were set by the clist reader. - -DETAILS: +Process invalid PDF operator QBT as Q BT . +Bug 690089, customer 384. -Since the 'dht.rc' was filled with 0's, the rc.memory would cause the -gx_imager_dev_ht_install to copy the order (mem_diff would be true). -The gx_ht_copy_ht_order would make a copy, but the one passed in -was never freed. Since the 'src' component information was cleared -during the install, gx_ht_read_and_install needs to save a copy of -the components so that the orders can be released. </pre> -<p>[src/gxdhtserial.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-05-08T184031.637800Z"></a> -2008-05-08T18:40:31.637800Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-25T133655.133901Z"></a> +2008-09-25T13:36:55.133901Z Igor Melichev</strong></p> <blockquote> <pre> -Fix compiler warning due to missing prototype for strncmp. +Fix (printer devices) : Allow retries for raster buffer allocation when BufferSpace is default. + +DETAILS : + +Bug 690055 "seg fault at higher resolutions". + +1. The old code implements a branch with increasing the buffer space +when a clist writer initialization fails with limitcheck and +the buffer size is default. +However the clist writer initialization never returns limitcheck, +it does return rangecheck instead. I guess the bug is in the +retry condition so I change it to rangecheck. + +2. When the buffer space size is not default, +the old code crashes while setpagedevice, +if the device was opened. The clist initialization +returns with an inconsistent clist writer state +and the device still has is_open flag set. +The new code resets is_open if the clist writer initialization +fails while setpagedevice. + +Thanks to Ray for participation. + + </pre> -<p>[src/zchar42.c src/int.mak]</p> +<p>[base/gxclist.c base/gdevprn.c]</p> </blockquote> -<p><strong><a name="2008-05-07T210753.236295Z"></a> -2008-05-07T21:07:53.236295Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-25T101003.369546Z"></a> +2008-09-25T10:10:03.369546Z Igor Melichev</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation. +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out. DETAILS : -Bug 689579 "Ghostscript generates a very, very large temporary file". +Bug 690078 "clist error in fts_41xx.xps and fts_39xx.xps". -The old code converts pattern fills into lots of constant color rectangles while writing to clist. -The new code writes pattern data to clist and apply pattern during the clist playback. -So here we complete the change started in revision 8655. +clist_fill_path implements a special processing of a clipping path for shadings. +It falls back to gx_default_fill_path, which accounts both filling path and clipping patch. +Doing so, gx_default_fill_path passes the clipping path to the clist writer +as a high level object with calling clist_fill_path with a NULL color. -New functions gx_dc_pattern_write_raster, gx_dc_pattern_read_raster -implement color serialization for raster patterns. -The old function gx_dc_pattern_write got minor changes about buffer localization. +However the 2 calls to clist_fill_path differently processed the +case of the empty clipping : the first call did not return immediately +and restored the compositor cropping interval after returning from gx_default_fill_path, +but the second call does return immediately and did not save the interval before +the clipping path is written. Thus the interval was restored to a wrong state +that occasionally left from a preceeding filling operation. -Minor chabge (gxclimag.c, gxclpath.c, gxclrect.c) : Propagated error codes. +This patch moves the check for empty clipping ahead the main +processing in clist_fill_path, so that the 2 calls do same thing +about the skipping of an empty clipping. -Also fixed a bug occasionally found in gxclrast.c . -It caused a crash in some unusual conditions. +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> +<p><strong><a name="2008-09-24T110746.268855Z"></a> +2008-09-24T11:07:46.268855Z Ralph Giles</strong></p> +<blockquote> +<pre> +Initial support for aes decryption streams. + +Details: + +This adds an AESDecode filter to the interpreter which wraps the +new aes stream implementation. </pre> -<p>[src/gsptype1.c src/gxclrast.c src/gxclpath.c src/gxclimag.c src/gxclrect.c]</p> +<p>[psi/zfaes.c psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-07T210216.625138Z"></a> -2008-05-07T21:02:16.625138Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-24T110743.989804Z"></a> +2008-09-24T11:07:43.989804Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (graphics) : Wrong pattern phase when pattern applies to a band with non-zero origin. +Initial support for aes decryption streams. -DETAILS : +Details: -The old code computes pattern phase modulo rep_width, rep_height. -It appears wrong when pattern step is much bigger than the pattern bbox. -Really the bbox determines the painting area as rep_width, rep_height, -but the phase to be computed modulo pattern step. -Besides that, the old code aplies a wrong sign, which is oposite to a band offset. +This adds support for compiling the xyssl aes implementation added +in r8870, and a stream library wrapper which calls it. -This bug has no effect with Postscript interpreter, because -currently patterns never apply after banding, -but it will change with the next patch. -With no banding the phase is always zero. +Note that while an s_aes_set_key() procedure is provided to set a +key in an allocated stream state, it merely stores the key, and the +actual allocation of the aes_context structure and initialization +with the key happen the first time the stream's process() method is +called. -Other interpreters may need additional improvements -(we suspect they are bug-to-bug compatible). +This is because a typical call to filter_read() in the interpreter +binding will end up memcpy()ing this to its own separately allocated +stream state. This preserves any static initialization performed by +the caller, such as passing in the key, but the xyssl aes_context +structure includes an internal pointer, and this is not updated when +the state is copied. +The internal pointer provides an indirect reference to support optional +storage of the sbox in secure memory. We're not using this feature, so +we could remove it, or update the pointer ourselves when our process() +method is first called. However, working around the issue by delaying +all opaque initialization until the stream is working is more robust. </pre> -<p>[src/gsptype1.c]</p> +<p>[base/saes.c base/lib.mak base/saes.h]</p> </blockquote> -<p><strong><a name="2008-05-07T091527.593615Z"></a> -2008-05-07T09:15:27.593615Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-23T185730.153977Z"></a> +2008-09-23T18:57:30.153977Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (graphics) : Imprecise pattern phase with negative cell origins (continued). +Fix (PS interpreter) : Incorrect data in garbager descriptor for reusable stream state. DETAILS : -The old code inaccurately converts floats to integers. -The problem here is that (int)-0.13 == 0 but the math wants -1. -It causes a 1 pixel bias with negative coordinates when argument is not integer. -This isn't a first time when we fix a bug of this kind, -and likely this one is not the last. - -This change is important for bug 689579. +The bug was introduced in rev 8810. +It defines a wrong offset for a relocating pointer. +The reason is an inaccurate copy-and-replace coding. +Fortunately the offset pointed to a static data pointer, +which the garbager filtered out with an error message. -Debugged with the following commands : +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> -gswin32c.exe -dMaxBitmap=22000000 -r300 -dNOPAUSE -dBATCH-sDEVICE=ppmraw -sOutputFile=cur-b.ppm 245-07.ps -gswin32c.exe -dMaxBitmap=100000000 -r300 -dNOPAUSE -dBATCH-sDEVICE=ppmraw -sOutputFile=cur-n.ppm 245-07.ps +<p><strong><a name="2008-09-22T105652.199700Z"></a> +2008-09-22T10:56:52.199700Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a number of no longer required includes from the source, and update the makefile to remove the dependencies. -They must render same raster, but they didn't. +Local regression testing shows no differences, local builds correctly generate executable. </pre> -<p>[src/gxp1fill.c]</p> +<p>[base/gdevpdfm.c base/gdevpsdp.c base/gdevpdt.c base/gdevpdfo.c base/gdevpdf.c base/gdevpsdu.c base/gdevpdfd.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpsdi.c base/gdevpdfg.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-05-07T062534.508384Z"></a> -2008-05-07T06:25:34.508384Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-19T233125.043936Z"></a> +2008-09-19T23:31:25.043936Z Ralph Giles</strong></p> <blockquote> <pre> -Repait yet another broken PDF file that abbreviates /Indexed to /I -in the color space array. Bug 689815. +Fix a double fclose(). +fuzzy_diff_images() doesn't open the files it reads from, so it should +not close them when cleaning up. The caller takes care of this on line +764, right after calling fuzzy_diff_images(). </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-06T205954.208603Z"></a> -2008-05-06T20:59:54.208603Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-19T214510.190751Z"></a> +2008-09-19T21:45:10.190751Z Ralph Giles</strong></p> <blockquote> <pre> -Fix and simplify implementation of operator Q. Collecting the path with -the current ctm and re-playing it with the restored ctm transforms the -path exactly as PDF needs. Bug 689812. - +Correct two typos in error message strings. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-05T195117.293996Z"></a> -2008-05-05T19:51:17.293996Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-19T214509.139047Z"></a> +2008-09-19T21:45:09.139047Z Ralph Giles</strong></p> <blockquote> <pre> -Eliminate leaks caused by lost 'maskbuf' elements. Only the uppermost -maskbuf is (currently) used by the pop_transparency_group that applies -the mask, but the chain of maskbuf->maskbuf elements was never freed. -This also improves performance (at least for the test case of bug -689534). Customer #870. +Move the freport initizialization out of fuzzy_diff_images() to silence +a gcc uninitialized variable warning. </pre> -<p>[src/gdevp14.c]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2008-05-02T201350.255816Z"></a> -2008-05-02T20:13:50.255816Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-19T214508.203062Z"></a> +2008-09-19T21:45:08.203062Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (graphics) : Imprecise pattern phase with negative cell origins. - -DETAILS : - -The old code inaccurately converts floats to integers. -The problem here is that (int)-0.13 == 0 but the math wants -1. -It causes a 1 pixel bias with negative coordinates when argument is not integer. -This isn't a first time when we fix a bug of this kind, -and likely this one is not the last. +Remove trailing whitespace. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> -This change is important for bug 689579. -Here is a test for debugging it : +<p><strong><a name="2008-09-19T214506.338528Z"></a> +2008-09-19T21:45:06.338528Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a gcc warning. Bug 690054. -<< - /PaintType 1 - /PatternType 1 - /TilingType 1 - /BBox [0 0 60 60] - /XStep 40 - /YStep 60 - /star - { gsave - 0 12 moveto - 4 - { 144 rotate - 0 12 lineto - } repeat - closepath - fill - grestore - } - /PaintProc - { begin - 1 0 0 setrgbcolor - 15 15 translate - star - 0 0 1 setrgbcolor - 30 30 translate - star - 0 1 0 setrgbcolor - -30 0 translate - star - 30 -30 translate - star - end - %.break - } ->> -[1 0 0 1 0 0] -makepattern -/Star4 exch def +Details: -/Pattern setcolorspace -Star4 setcolor +The gs_note_error() macro can't be called like a normal function. In +non-debug builds it reduces to its argument, generating an empty +statement. Placing it after a return or on the right hand side of an +assignment prevents this warning. +</pre> +<p>[base/gdev8510.c]</p> +</blockquote> -clippath pathbbox -exch pop 30 exch -4 copy = = = = -rectfill +<p><strong><a name="2008-09-19T162232.262870Z"></a> +2008-09-19T16:22:32.262870Z Ralph Giles</strong></p> +<blockquote> +<pre> +Include our math_.h wrapper instead of math.h. -showpage +Details: -The old code gives different rasters for this test while banded and unbanded rendering. +We have header_.h wrappers for most system headers which include various +platform-specific #ifdef trees to ensure the symbols we use are defined. +Except for some of the bootstrap code, these wrappers should always be +used instead of the system headers. </pre> -<p>[src/gxp1fill.c]</p> +<p>[psi/zcolor.c psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-02T080750.475340Z"></a> -2008-05-02T08:07:50.475340Z Ken Sharp</strong></p> +<p><strong><a name="2008-09-19T160802.308202Z"></a> +2008-09-19T16:08:02.308202Z Ralph Giles</strong></p> <blockquote> <pre> -The revision 8621 which reinstated the comments, and updated encs2c.ps to generate them, -placed the Id line in the wrong position relative to the licence and summary comments. +Also remove gscolor1.h from the zcolor.c dependency list. </pre> -<p>[toolbin/encs2c.ps src/gscedata.h src/gdevpdtv.c src/gdevpdtv.h src/gscedata.c]</p> +<p>[psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-05-02T021957.012115Z"></a> -2008-05-02T02:19:57.012115Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-19T134455.520555Z"></a> +2008-09-19T13:44:55.520555Z Ken Sharp</strong></p> <blockquote> <pre> -Remove the testing instructions and file index. +Remove gscolor1.h. We no longer use gs_setcmykcolor here and so this header is not required. -This was mostly obsolete, and the automated tests are fairly complete now. </pre> -<p>[doc/Testing.htm doc/Readme.htm toolbin/tests/check_docrefs.py]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-05-02T014214.506521Z"></a> -2008-05-02T01:42:14.506521Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-19T000151.675092Z"></a> +2008-09-19T00:01:51.675092Z Ralph Giles</strong></p> <blockquote> <pre> -Fix various code policy warnings. +Use a portable path separator in gs.mak. </pre> -<p>[toolbin/msvcxml.bat src/gdevdjet.c src/aes.h toolbin/memory.py src/aes.c]</p> +<p>[base/gs.mak]</p> </blockquote> -<p><strong><a name="2008-04-30T190659.803995Z"></a> -2008-04-30T19:06:59.803995Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-18T235526.486186Z"></a> +2008-09-18T23:55:26.486186Z Ralph Giles</strong></p> <blockquote> <pre> -Fix some warnings. +Remove a spurious $(_I) and add use portable $(D_)...$(_D) for defines +as needed by the openvms build. Bug 690084. </pre> -<p>[src/gsncdummy.c]</p> +<p>[base/libpng.mak base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-04-30T045102.115275Z"></a> -2008-04-30T04:51:02.115275Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-18T235007.487730Z"></a> +2008-09-18T23:50:07.487730Z Ralph Giles</strong></p> <blockquote> <pre> -Fixed issue with NULL pointer in gsncdummy.c when ICC color space was used in custom color callback. Also, made the object based coloring an option define and fixed minor header issues.</pre> -<p>[src/lib.mak src/gxcmap.c src/gsncdummy.c src/gscspace.c src/gscdevn.c src/gsnamecl.c]</p> +Fix typos in third-party library paths introduced in r6514. Bug 690084. +</pre> +<p>[base/openvms.mmk]</p> </blockquote> -<p><strong><a name="2008-04-30T013518.247997Z"></a> -2008-04-30T01:35:18.247997Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-18T233116.150062Z"></a> +2008-09-18T23:31:16.150062Z Ralph Giles</strong></p> <blockquote> <pre> -Fix some warnings. +Additional leading space characters before colons in makefiles. Bug 690084. </pre> -<p>[src/gdevp14.c]</p> +<p>[base/lib.mak contrib/contrib.mak]</p> </blockquote> -<p><strong><a name="2008-04-29T063417.581619Z"></a> -2008-04-29T06:34:17.581619Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-18T203208.326447Z"></a> +2008-09-18T20:32:08.326447Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for bug 689806 which was introduced when fixing bug 689803. The current bug was related to a CIELAB image with a colorspace ICC profile (LAB to LAB). The image data was incorrectly being normalized between 0 and 1 (float). It is now properly normalized to the range of the CIELAB ICC space. There still exists an issue with this file as absolute colorimetry should be used. This is the source of the current difference between AR and GS. However, the image is no longer black now but should match the GS result prior to rev 8664.</pre> -<p>[src/lib.mak src/gxicolor.c]</p> +Space makefile colons for the benefit of VMS. Bug 690084. + +OpenVMS supports a basic makefile syntax, but requires a space on both +sides of the dependency colon. We try to maintain this in our +cross-platform makefiles. +</pre> +<p>[contrib/contrib.mak base/contrib.mak base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-04-29T003125.778368Z"></a> -2008-04-29T00:31:25.778368Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-18T182322.617130Z"></a> +2008-09-18T18:23:22.617130Z Ralph Giles</strong></p> <blockquote> <pre> -Make pf2afm utility friendlier to Windows users: check for .pfa or .pfb -extensions case-insensitively and accept backslash as a path separator. -Bug 689804. +Move time_.h to the top of the include list. </pre> -<p>[lib/pf2afm.ps]</p> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2008-04-28T174826.844493Z"></a> -2008-04-28T17:48:26.844493Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-18T003745.093298Z"></a> +2008-09-18T00:37:45.093298Z Ralph Giles</strong></p> <blockquote> <pre> -Refine calculation of di member of a trap_line structure to avoid integer -overflow when the source operands are big. Bug 689448. +The SunPro compiler doesn't handle variable length arrays in structs. +Bug 689079. Patch from Jon Peatfield. </pre> -<p>[src/gdevddrw.c]</p> +<p>[contrib/opvp/opvp.h]</p> </blockquote> -<p><strong><a name="2008-04-28T162635.071571Z"></a> -2008-04-28T16:26:35.071571Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-18T003743.189925Z"></a> +2008-09-18T00:37:43.189925Z Ralph Giles</strong></p> <blockquote> <pre> -Fix a minor header dependency skew. +Clean up whitespace in the opvp device source. </pre> -<p>[src/int.mak src/gsicc.c]</p> +<p>[contrib/opvp/opvp.h contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-04-28T064728.650051Z"></a> -2008-04-28T06:47:28.650051Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-18T003741.259902Z"></a> +2008-09-18T00:37:41.259902Z Ralph Giles</strong></p> <blockquote> <pre> -Undo accidental commitment of ENABLE_CUSTOM_COLOR_CALLBACK (has callback) code.</pre> -<p>[src/gsicc.c]</p> +Fix: default to MITER line joins in the opvp device. Bug 689079. + +The previous default was BUTT, which is a line cap, not a join. This +looks like it was a cut-and-paste error. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-04-28T052054.026239Z"></a> -2008-04-28T05:20:54.026239Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-18T003738.655050Z"></a> +2008-09-18T00:37:38.655050Z Ralph Giles</strong></p> <blockquote> <pre> -Implement spacial handling of transfer functions during Gray to CMYK -conversion: ignore transfer functions for non-black components. Bug 688360. - -DETAILS: -On this topic, section 7.3 of PRLM-3rd (page 494) says: -"Note: When the current color space is DeviceGray and the output device's -native color space is DeviceCMYK, the interpreter uses only the gray transfer -function. ... This special case exists for compatibility with existing -applications." There is a similar comment in section 6.3 of the PDF 1.6 -spec. (page 456). - +Fix: don't treat char as unsigned in the opvp device. Bug 690079. </pre> -<p>[src/lib.mak src/gxcmap.c src/gxcspace.h src/gscspace.c src/gxdevcli.h]</p> +<p>[contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-04-27T152110.051210Z"></a> -2008-04-27T15:21:10.051210Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-18T001211.086491Z"></a> +2008-09-18T00:12:11.086491Z Ralph Giles</strong></p> <blockquote> <pre> -Check the error code early. Fix a SEGV in PDF file with invalid ICC profile -that was introduced by the rev. 8664. +Enable jasper assembly optimizations with _MSC_VER instead of _WIN32 so the MSVC-specific inline code won't be passed to gcc in mingw builds. -</pre> -<p>[src/zicc.c]</p> +Bug 690070.</pre> +<p>[jasper/src/libjasper/jpc/jpc_qmfb.c]</p> </blockquote> -<p><strong><a name="2008-04-26T043556.962801Z"></a> -2008-04-26T04:35:56.962801Z Michael Vrhel</strong></p> +<p><strong><a name="2008-09-16T002906.813229Z"></a> +2008-09-16T00:29:06.813229Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for bug#689803. Set bounds correctly when input data is LAB and color also includes a colorspace source profile (e.g. LAB to LAB). </pre> -<p>[src/int.mak src/gsicc.c src/zicc.c]</p> +Remove an inadvertent semicolon in gs_throw_code, added in r9037. +</pre> +<p>[base/gserror.h]</p> </blockquote> -<p><strong><a name="2008-04-23T140611.166309Z"></a> -2008-04-23T14:06:11.166309Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-14T122056.043501Z"></a> +2008-09-14T12:20:56.043501Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (graphics) : Convert imagemask into a clipping path when painting a big pattern. +Allocate missing FontInfo dictionary in a matching global or local memory and +use .forceput to override read-only status of the font directory. Bug 690063. -DETAILS : +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> -Bug 689440 "PostScript file generates infinitely large temp file". +<p><strong><a name="2008-09-13T202225.237944Z"></a> +2008-09-13T20:22:25.237944Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the dxmain.c and dxmainc.c front ends to the interpreter source +directory. +</pre> +<p>[base/dxmain.c psi/dxmain.c base/unix-dll.mak base/dxmainc.c psi/dxmainc.c]</p> +</blockquote> -In the past we implemented a conversion of imagemask intoi a clipping path -for a faster painting a shading color. Now we do same for big type 1 patterns. +<p><strong><a name="2008-09-12T080554.684727Z"></a> +2008-09-12T08:05:54.684727Z Ken Sharp</strong></p> +<blockquote> +<pre> +The CIEBasedDEF/DEFG colour space validation did not insist that the dictionary contain a +/Table entry, which is a required entry. It also did not limit the numeric values in the +/Table array to integers, reals are not allowed. -1. Enhanced the condition in gximask.c for passing big patterns. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> -2. In gximask.c filter out degenerate rectangles, - which can't be painted with gx_device_color_fill_rectangle. +<p><strong><a name="2008-09-11T160358.760444Z"></a> +2008-09-11T16:03:58.760444Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add support for passing the requested number of copies through to the PXL +output file. Tested on an actual HP printer. +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> -3. Set a pure black color in gsimage.c, - because patterns can't convert with gx_device_black. +<p><strong><a name="2008-09-10T213524.802228Z"></a> +2008-09-10T21:35:24.802228Z Ralph Giles</strong></p> +<blockquote> +<pre> +Change two more printf(%x) uses with pointers to use %p. -4. In gxacpath.c added the default copy_mono method - to the clip list accumulator device in order to handle - imagemask with the pure color set by (3). +Update copyright. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> -5. In gximask.c added a proper setup of device width and height - to clip list accummulator, because gx_default_copy_mono needs them. +<p><strong><a name="2008-09-10T213326.724052Z"></a> +2008-09-10T21:33:26.724052Z Ray Johnston</strong></p> +<blockquote> +<pre> +Replace non-standard %P with %p for pointer printing. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> -6. In gximask.c gx_device_retain is now called on errors. - The old code does not call it, and we think it caused memory leaks - in some rare cases. +<p><strong><a name="2008-09-09T210054.348833Z"></a> +2008-09-09T21:00:54.348833Z Ralph Giles</strong></p> +<blockquote> +<pre> +Ask gcc to warn about declarations beyond the start of a block. +</pre> +<p>[base/configure.ac]</p> +</blockquote> -This patch changes the behavior with shadings, because the old code paints -imagemask with the shading color to clip list accummulator. -The new code does with pure black, so that now the clipping is not -restricted with the shading area or the shading BBox. -But we believe that the final result should be same -and the performance should be some faster. +<p><strong><a name="2008-09-09T203137.982033Z"></a> +2008-09-09T20:31:37.982033Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move variable declarations to the top of blocks in the fontconfig +support code. -Note we keep the call to gx_dc_pattern2_clip_with_bbox_simple -in gx_image_fill_masked_end rather now it is always idle. -Doing so for the case if this change will need undoing for shadings. +Also fixes a gcc warning about passing int 0 instead of NULL to +terminate an argument list. +</pre> +<p>[base/gp_unix.c]</p> +</blockquote> -The new code doesn't use the writing of big patterns into clist, -which was done with recent revision 8655. -That change appears unneccessary for this particular bug. -However we want to keep it in HEAD branch because it may be useful -for further impeovements when imagemask produces a too big clipping list. +<p><strong><a name="2008-09-09T184527.627887Z"></a> +2008-09-09T18:45:27.627887Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a space to the product name between the family and release names. +</pre> +<p>[base/gscdef.c]</p> +</blockquote> -This patch causes a minor raster difference with Bug688396.pdf . -Delaying it for better times. +<p><strong><a name="2008-09-09T174826.542519Z"></a> +2008-09-09T17:48:26.542519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move some interpreter headers from base to psi. +These were missed in the original merge of the reorganization patch. +Also, add missing makefile dependencies for these new headers. </pre> -<p>[src/gsimage.c src/gxacpath.c src/gsptype1.h src/gximask.c]</p> +<p>[base/zcolor.h base/zicc.h psi/zcolor.h psi/zicc.h base/zcie.h psi/zcie.h psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-04-23T003010.271302Z"></a> -2008-04-23T00:30:10.271302Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-09T143331.847337Z"></a> +2008-09-09T14:33:31.847337Z Ken Sharp</strong></p> <blockquote> <pre> -Since we always write a complete "classic" xref, the Trailer may need to be -adjusted: (1) remove keys that pertain to xref-streams and hybrid-xref PDFs; -(2) if it's a PDF stream, turn it into a PDF dict by removing keys used for -PDF streams (both standard and GS-specific), and the executable attribute. -Thanks to SaGS for the patch. Bug 688152. +Henry's coverage test revealed that a couple of 'belt and braces' checks in the RGB->HSB +conversion were impossible to trigger. Removed those checks. + </pre> -<p>[lib/pdfwrite.ps lib/pdfopt.ps]</p> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-04-22T171803.467843Z"></a> -2008-04-22T17:18:03.467843Z Ralph Giles</strong></p> +<p><strong><a name="2008-09-06T095738.114441Z"></a> +2008-09-06T09:57:38.114441Z Ken Sharp</strong></p> <blockquote> <pre> -Set native line endings on gsnamecl. This should remedy patch-portability problems. +Address some more issues raised by Coverity. Check return values in some places which were +not previously checked, initialise some variables, and remove some dead code. + +Local regression testing of pdfwrite shows no differences. + </pre> -<p>[src/gsnamecl.h src/gsnamecl.c]</p> +<p>[base/gdevpdtd.c base/gdevpdtt.c base/gdevpdte.c base/gdevpdtf.c base/gdevpdfe.c base/gdevpdtw.c base/gdevpdti.c]</p> </blockquote> -<p><strong><a name="2008-04-21T145338.640663Z"></a> -2008-04-21T14:53:38.640663Z Igor Melichev</strong></p> +<p><strong><a name="2008-09-04T154656.923276Z"></a> +2008-09-04T15:46:56.923276Z Igor Melichev</strong></p> <blockquote> <pre> -Enhancement (graphics) : Delay applying big patterns until page clist interpretation. +Fix : Divide gdevp14.c into 2 modules. DETAILS : -This is a preparation for fixing -the bug 689440 "PostScript file generates infinitely large temp file". +This change is syntactically equivalent. +The purpose is to minimize dependencies between projects. +The new module gxblend1.c keeps color blending algorithms moved from gdevp14. -The old code decomposes the imagemask into rectangles, -each of which decomposed the pattern color into a huge list of rectangles. -See more about the old code in Comment #11 of the bug 689440. -Now we delay the decomposition until the page clist playback. +</pre> +<p>[base/gdevp14.c base/lib.mak base/gdevp14.h base/gxblend.c base/gxblend1.c base/gdevdevn.h base/gxblend.h]</p> +</blockquote> -This patch reduces the clist file size for the bug 689440 -from 355GB to an acceptable size of 316Mb. A further shortening -is possible as explained in (5) below. But the rasterization time is still -unacceptably long - more than 48 hours. It will be improved -in a next step with converting imagemask with pattern color -into a painting of a pattern color with a mask clip device. +<p><strong><a name="2008-09-04T140617.707413Z"></a> +2008-09-04T14:06:17.707413Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Preovide a right check for incorrect call to pdf14_pop_transparency_group. + +DETAILS : -1. The old functions gx_dc_pattern_write, gx_dc_pattern_read actually -are generic functions for multiple color types, -which simply return an error. Renamed them into -gx_dc_cannot_write, gx_dc_cannot_read. +This patch doesn't change behavior with regular runs. +In hypothetic cases, when .entransparencygroup is called with no +L +due to unreferencin null pointer. -2. Implemented new gx_dc_pattern_write, gx_dc_pattern_read for clist-based patterns. -They copy pattern clist data to/from page clist. Currently this code -doesn't try to compress the data, but probably we'll need to do that. +</pre> +<p>[base/gdevp14.c]</p> +</blockquote> -3. Changed a condition in gxclimag.c to pass imagemask -with a clist-based pattern color to clist writer. -Also moved some checks to provide image matrix to be computed -when the new condition is true. +<p><strong><a name="2008-09-04T100554.831940Z"></a> +2008-09-04T10:05:54.831940Z Ken Sharp</strong></p> +<blockquote> +<pre> +More minor issues reported by Coverity. An unchecked return code from cos_dict_find_c_key, +and some dead code. -4. Added more functions into gxclist.c, gxclist.h for accessing -data of a clist-based pattern. +</pre> +<p>[base/gdevpdfm.c]</p> +</blockquote> -5. gx_dc_pattern_read now constructs pattern cache and stores the -clist-based pattern "tile" to it. The clist reader releases the cache before exiting a band. -We will need an optimization agains redundant writing of patterns into page clist. -This necessary optimization to be done in a next step. +<p><strong><a name="2008-09-04T100410.193139Z"></a> +2008-09-04T10:04:10.193139Z Ken Sharp</strong></p> +<blockquote> +<pre> +A couple of issues detected by Coverity. Firstly an error condition could lead to a file being +left open. Secondly a call to pdf_restore_viewer_state which didn't check the return value. -6. Propagated error codes in gxclread.c, gdevfax.c for easier debugging. +</pre> +<p>[base/gdevpdfu.c]</p> +</blockquote> -7. Improved debug printing in gxp1fill.c to designate -recursive calls to clist interpreter when a clist-based pattern -in interpreted while a page clist playback. +<p><strong><a name="2008-09-04T100204.794387Z"></a> +2008-09-04T10:02:04.794387Z Ken Sharp</strong></p> +<blockquote> +<pre> +More very minor dead code removal, again as noted by Coverity. -8. Added new accessors into gxpcmap.c, which are needed -to access pattern cache while a page clist interpretation. +</pre> +<p>[base/gdevpdtb.c]</p> +</blockquote> -9. Updated dependencies in makefiles. +<p><strong><a name="2008-09-04T100112.562540Z"></a> +2008-09-04T10:01:12.562540Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove some dead code from cmap handling, as noted by Coverity. -10. Fixed the dependenco of gxdcolor.c on gxdevcli_h, which was missed before this change. +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> -11. Added the pattern color type into the list in gxdcolor.c, -because now we need to write it into clist. An old comment -reads that it was not included against unuseful reference to -pattern stuff in a Postscript Language Level 1 build. -The reference now appears, and this is unfortunate. -We think that level 1 builds are not important in nowadays. -On necessity it may be improved in a separate change. +<p><strong><a name="2008-09-04T095911.733313Z"></a> +2008-09-04T09:59:11.733313Z Ken Sharp</strong></p> +<blockquote> +<pre> +Check the return code from pdf_write_resource_objects when closing a page. Fixes Coverity +warning. </pre> -<p>[src/gsptype1.c src/lib.mak src/gsptype2.c src/gxclist.c src/gxpcmap.c src/gsptype1.h src/gxdcolor.c src/gxclist.h src/gxpcolor.h src/gdevfax.c src/gxdcolor.h src/gxp1fill.c src/gxclrast.c src/gxclread.c src/gxclimag.c]</p> +<p>[base/gdevpdf.c]</p> </blockquote> -<p><strong><a name="2008-04-21T115827.801424Z"></a> -2008-04-21T11:58:27.801424Z Russell Lang</strong></p> +<p><strong><a name="2008-09-03T204913.486158Z"></a> +2008-09-03T20:49:13.486158Z Ray Johnston</strong></p> <blockquote> <pre> -Change the name of a utility used to build Windows distribution so it doesn't -get treated as a setup program by Windows Vista. -Change reference to obsolete doc/Public.htm to doc/COPYING. -Allow makefile to recognise a later patch of the Microsoft Visual Studio 2005 -make utility. +Add protection for the "finish" exit point for potential (no longer exists +since rev 9062) case when f==NULL when code >= 0. Belt and suspenders couldn't +hurt to improve maintainability (prevent future problems). Original problem +reported by Coverity analysis. </pre> -<p>[src/winint.mak src/msvc32.mak]</p> +<p>[base/gxclmem.c]</p> </blockquote> -<p><strong><a name="2008-04-20T234049.333141Z"></a> -2008-04-20T23:40:49.333141Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-03T122027.869178Z"></a> +2008-09-03T12:20:27.869178Z Igor Melichev</strong></p> <blockquote> <pre> -Ignore DSC comments in nested EPS files and data blocks. Thanks to -William Bader for the patch. Bug 689791. +Fix : gcc compiler warnings (continued). -RIFFERENCES: -None +DETAILS : + +Repair a file broken due to Far 1.70 editor glitch on Vista. </pre> -<p>[src/zdscpars.c]</p> +<p>[psi/zfunc4.c]</p> </blockquote> -<p><strong><a name="2008-04-20T045121.386273Z"></a> -2008-04-20T04:51:21.386273Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-03T114235.783010Z"></a> +2008-09-03T11:42:35.783010Z Igor Melichev</strong></p> <blockquote> <pre> -Skip bogus endobj operators inside the object stream. -Bug 689795, customer 870. +Fix : gcc compiler warnings. + +DETAILS : -RIFFERENCES: -None +This patch fixes only those ones which either were approved or belong to my ownership. </pre> -<p>[lib/pdf_base.ps]</p> +<p>[base/gxclread.c base/gxpcopy.c base/gxclpage.c psi/zfunc4.c base/gxclutil.c base/gxclmem.c base/lib.mak base/gxiscale.c base/gxclmem.h base/gdevpdtd.c psi/int.mak psi/zfsample.c base/gdevpdte.c base/gximage1.c base/gsovrc.c base/gdevprn.c base/gxstroke.c psi/zfunc.c base/gspath1.c base/gxshade6.c psi/zfrsd.c base/gxclpath.c psi/zfunc.h psi/igcstr.c base/mkromfs.c base/gstype42.c base/gdevdsha.c base/gxfill.c base/gxclrast.c]</p> </blockquote> -<p><strong><a name="2008-04-19T182631.622080Z"></a> -2008-04-19T18:26:31.622080Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-02T183707.959806Z"></a> +2008-09-02T18:37:07.959806Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix a problem when the default transfer function of the target printer -is not in global space. Seen with Konica Minolta (QMS PostScript). -Fixes 'invalidaccess' error caused by attempting to store a 'local' -currentcolortransfer into a 'global' array. NB: The 'cp2g' will then -convert the array to global which is needed to store into InitialExtGState. +Fixed small bug in the patch to add a PJL command for setting the resolution to +the pxlmono/pxlcolor drivers (rev 9060). + </pre> -<p>[lib/opdfread.ps]</p> +<p>[base/gdevpxut.c]</p> </blockquote> -<p><strong><a name="2008-04-19T181834.484562Z"></a> -2008-04-19T18:18:34.484562Z Ray Johnston</strong></p> +<p><strong><a name="2008-09-02T090641.787945Z"></a> +2008-09-02T09:06:41.787945Z Till Kamppeter</strong></p> <blockquote> <pre> -Add diagnostic information for start of rendering (Outputpage start) so that -parsing as well as rendering time can be observed with -Z: (gs_debug[':']) +Let pxlmono/pxlcolor drivers add resolution setting to the PJL header. Printers need the PJL command to set the resolution (see bug 689230). Now the printing resolution can be easily controlled with the "-r" command line option. </pre> -<p>[src/zdevice.c]</p> +<p>[base/gdevpxut.c]</p> </blockquote> -<p><strong><a name="2008-04-19T124815.825215Z"></a> -2008-04-19T12:48:15.825215Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-01T170320.988497Z"></a> +2008-09-01T17:03:20.988497Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix PDF transmuting utilities. Remove '#' from the list of characters that -may occur in PDF names unescaped. Bug 689770. +Fix incorrect error code test in the calculator function validation +procedure. + </pre> -<p>[lib/pdfwrite.ps]</p> +<p>[psi/zfunc4.c]</p> </blockquote> -<p><strong><a name="2008-04-19T044920.031557Z"></a> -2008-04-19T04:49:20.031557Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-01T165343.689721Z"></a> +2008-09-01T16:53:43.689721Z Ken Sharp</strong></p> <blockquote> <pre> -Add recognition of abbreviated filter names to the PDF inflation utility. +Resolve another gcc compiler warning. The test was incorrect, now it is correctly taking the +text render mode into account. + +Local regression testing shows no differences. + </pre> -<p>[toolbin/pdfinflt.ps]</p> +<p>[base/gdevpdts.c]</p> </blockquote> -<p><strong><a name="2008-04-19T034321.791168Z"></a> -2008-04-19T03:43:21.791168Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-09-01T084944.722693Z"></a> +2008-09-01T08:49:44.722693Z Ken Sharp</strong></p> <blockquote> <pre> -Implement loading of OpenType CFF font as a CIDFont resource in PDF reader. -Bug 689763, customers 531, 850. +Fix a warning from older versions of gcc. Spotted by Russell Lang when doing OS/2 build. +Oddly, newer versions of gcc don't spot this, even though the code was technically +redundant. -DETAILS: -PDF can use OpenType font with ordinary CFF data as a CIDFont. Such a font is -referenced by /CIDFontType2 and may have /CIDToGIDMap table. The following -changes have been done to support this usage. +Also remove some commented out code that should not have been present, and fix a couple +of warnings produced by recent versions of gcc regarding unused local variables and code. -- A flag that forces CIDFont generation was added to CFF font loader. -- When the flag is on, CFF font is converted to a Type 9 CIDFont. -- The FontSet resource is returned by the value from the font loader - because it can be of either Font or CIDFont type, -- Since CIDMap has no effect on CIDFont Type 9, CIDToGIDMap is interpreted - by PDF reader to modify GlyphDirectory to the same effect. -- Unused CIDMap is no longer generated for CIDFontType2 objects that are not - TrueType CIDFont resources. +Local regression testing exhibits no differences. </pre> -<p>[lib/pdf_font.ps lib/gs_cff.ps lib/pdf_ops.ps]</p> +<p>[base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2008-04-17T174005.253185Z"></a> -2008-04-17T17:40:05.253185Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-31T002820.047781Z"></a> +2008-08-31T00:28:20.047781Z Russell Lang</strong></p> <blockquote> <pre> -Use -O0 with the autoconf debug build instead of -O which seems to -hide some symbols. +Add a makefile target for a Windows source zip file, +used in building a release. </pre> -<p>[src/Makefile.in]</p> +<p>[psi/winint.mak]</p> </blockquote> -<p><strong><a name="2008-04-17T173157.458743Z"></a> -2008-04-17T17:31:57.458743Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-30T232304.017387Z"></a> +2008-08-30T23:23:04.017387Z Alex Cherepanov</strong></p> <blockquote> <pre> -Allow the ENABLE_CUSTOM_COLOR_CALLBACK preprocessor macro to be set -from the compiler command line. +Make PDF interpreter run our /Install procedure after the user's procedure +because: (1) PDF interpreter caches the CTM, (2) the user's procedure may +replace CTM by calling setmatrix. Bug 689914, customer 770. + </pre> -<p>[src/gsnamecl.h]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2008-04-15T044724.255743Z"></a> -2008-04-15T04:47:24.255743Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-30T140729.736170Z"></a> +2008-08-30T14:07:29.736170Z Igor Melichev</strong></p> <blockquote> <pre> -Repair broken CFF CIDFont stream generated by "Exstream Dialogue Version -6.2.004m (DBCS)". Bug 689753, customer 353. - -DETAILS: -1. The CFF stream has a single Private DICT block but refers to it twice. -New version caches the DICT block that correspond to the Private stream. - -2. The operands of ROS operator are too small and correspond to some random -values from the standard string table. The patch doesn't attempt to find -the right values nut converts the fetched names to strings to avoid a -typecheck error during resource handling. +Fix (PS interpreter) : Wrong dependencies in makefile. </pre> -<p>[lib/gs_cff.ps]</p> +<p>[psi/int.mak]</p> </blockquote> -<p><strong><a name="2008-04-14T225722.422088Z"></a> -2008-04-14T22:57:22.422088Z Michael Vrhel</strong></p> +<p><strong><a name="2008-08-30T133827.563236Z"></a> +2008-08-30T13:38:27.563236Z Russell Lang</strong></p> <blockquote> <pre> -Fixed Colorspace enumeration order for debug printing.</pre> -<p>[src/gscspace.h]</p> +Fix gcc warning on OS/2. +</pre> +<p>[base/gdevdsp.c]</p> </blockquote> -<p><strong><a name="2008-04-10T234336.714953Z"></a> -2008-04-10T23:43:36.714953Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-30T133129.235544Z"></a> +2008-08-30T13:31:29.235544Z Russell Lang</strong></p> <blockquote> <pre> -Increase the static command and path buffers in echogs to deal with -longer build paths. Bug 689788. +Fix the OS/2 build after the source reorganization. +Remove the os2pm device and the old DLL interface for OS/2, +to avoid direct links from the graphics library into the +PS interpreter. </pre> -<p>[src/echogs.c]</p> +<p>[base/gp_os2.c base/os2.mak psi/dpmain.c psi/gsos2.def base/gsos2.icx doc/Develop.htm psi/gsos2.rc base/pcwin.mak base/dpmain.c base/gsos2.def psi/os2.mak base/mkromfs.c base/gsos2.rc psi/gsdllos2.h psi/gsos2.icx base/gp_os2fs.c base/gdevpm.c psi/gsdll2.def base/devs.mak]</p> </blockquote> -<p><strong><a name="2008-04-10T220820.215716Z"></a> -2008-04-10T22:08:20.215716Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-29T194713.384972Z"></a> +2008-08-29T19:47:13.384972Z Ralph Giles</strong></p> <blockquote> <pre> -Use the correct GEN directory references. Bug 689788. -</pre> -<p>[src/jbig2.mak src/jasper.mak]</p> +Update the Visual Studio project file generator for +the new source locations. Untested.</pre> +<p>[toolbin/msvcxml.bat]</p> </blockquote> -<p><strong><a name="2008-04-10T073846.911876Z"></a> -2008-04-10T07:38:46.911876Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-29T184621.860372Z"></a> +2008-08-29T18:46:21.860372Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (PDF interpreter): Improve omission of .notdef glyphs. +Split the source tree into two new directories. -Details: -Bug #689757 "Extra square characters rendering PDF file". - -Improvement to change 8217, makes the test for .notdef more -specific at Igor's suggestion. +PSSRC files are now in 'gs/psi'. +GLSRC files are now in 'gs/base'. -Now matches exactly the string ".notdef" or strings beginning -".notdef~GS~" in order to include any .notdef modified by the -PDF interpreter when it appears multiple times in an Encoding. +This is to facilitate build modularization and merging in the ghostpdl +tree. +NOTE: msvc32.mak is now in psi, not src. </pre> -<p>[src/zchar42.c]</p> +<p>[/trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/main/pcl6_gcc.mak src /trunk/ghostpdl/tools/check_deps.py doc/Develop.htm psi /trunk/ghostpdl/svg/svg_gcc.mak /trunk/ghostpdl/xps/xps_msvc.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/doc/ghostpdl.tex /trunk/ghostpdl/psi/psitop.c doc/API.htm doc/Issues.htm /trunk/ghostpdl/svg/svg_msvc.mak /trunk/ghostpdl/language_switch/pspcl6_gcc.mak doc/Make.htm doc/Drivers.htm base autogen.sh doc/Release.htm doc/C-style.htm /trunk/ghostpdl/doc/ghostpdl.txt /trunk/ghostpdl/xps/xps_gcc.mak]</p> </blockquote> -<p><strong><a name="2008-04-10T054343.466565Z"></a> -2008-04-10T05:43:43.466565Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-28T194700.816950Z"></a> +2008-08-28T19:47:00.816950Z Ralph Giles</strong></p> <blockquote> <pre> -Enhancement (graphics) : Generalize prototypes of color serialization methods for big color data. +Replace 3d with 3rd in the documentation and regularize '3(r)d party' as +'third-party'. Bug 690004. +</pre> +<p>[doc/Use.htm doc/Lib.htm]</p> +</blockquote> -DETAILS : +<p><strong><a name="2008-08-28T024007.463083Z"></a> +2008-08-28T02:40:07.463083Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use the new gs_rethrow_code() macro in svgwrite. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> -This is a preparation for fixing -the bug 689440 "PostScript file generates infinitely large temp file". +<p><strong><a name="2008-08-28T024006.379728Z"></a> +2008-08-28T02:40:06.379728Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add gs_throw_code() and gs_rethrow_code() macros for use in situations +where the normal error string does not fit or is redundant. +</pre> +<p>[src/gserror.h]</p> +</blockquote> -The old serialization methods assume that color data can fit into a small buffer. -Now we want to drop this constraint to allow to write big patterns into clist. -See comment in code for details. +<p><strong><a name="2008-08-28T024004.423296Z"></a> +2008-08-28T02:40:04.423296Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix some code style issues in the svgwrite device. -This change is algorithmically equivalent. -This patch adds a new argument to color serialization methods. -For a while the new actual parameter is always 0, -and the (untrivial) methods check for it. +We can't use gs_note_error() as we were because it returns the error +code which generates an empty statement warning with gcc. Use gs_throw() +instead for now. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> +<p><strong><a name="2008-08-28T003633.257400Z"></a> +2008-08-28T00:36:33.257400Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update warnings policy; we agreed to fix all warnings. </pre> -<p>[src/gsptype1.c src/gxwts.c src/gxcht.c src/gxdcolor.c src/gxdcolor.h src/gxclrast.c src/gxclpath.c src/gxht.c]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-09T152845.087056Z"></a> -2008-04-09T15:28:45.087056Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-28T000340.520992Z"></a> +2008-08-28T00:03:40.520992Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (PDF interpreter): Optionally omit rendering of /.notdef glyphs -from TrueType fonts. +Document the motivation for a source style item. Details: -Bug #689757 "Extra square characters rendering PDF file". - -When rendering glyphs in a TrueType font, and the glyph is not present -in the font, GS (correctly) draws the /.notdef glyph (or glyph ID 0) -instead. Under some conditions, however, Acrobat does not do so, but -does leave a 'gap' apparently corresponding to the width of the -original glyph (if a /Widths array is present), or the width of the -/.notdef glyph. - -Exactly what causes Acrobat to do this is unclear. In the thread for -bug 687929 it was suggested that Acrobat was substituting a standard -font with a /.notdef defined as an empty glyph. However changing the -font name had no effect. -Using a pdfwrite-produced PDF file, if I remove the symbolic flag -from the font, and any direct reference to /.notdef in the Encoding -/Differences array, then Acrobat does not display the /.notdef -glyph. However, starting with a Distiller-produced PDF file, and -either altering the font to symbolic, or adding a direct /.notdef -to the Encoding, or both, makes no difference, Acrobat still does -not render the /.notdef glyph. +There has been some controvesy over the rule that single-statement +bodies of control structs must be on their own line. Specifically: -The behaviour of Acrobat is probably technically incorrect, but -we need to attempt to render files similarly, if at all possible. -However, since the appearance of a /.notdef is usually indicative -of an error, this has been made optional. + if (code < 0) + return code; -We can't substitute a space glyph for the /.notdef as has been -suggested, because we can't guarantee the existence of a space glyph -(eg Arabic, which has no space) and can't guarantee that the space -makes no marks even if present. +instad of: -However, we still want to apply the Width of the glyph, so that -spacing works out correctly, if we simply skip the /.notdef glyph -then words may collide, as in the case of the file for this bug. -This means we must run the glyph through the text routines, as the -width is applied there. + if (code < 0) return code; -A new user parameter '/RenderTTNotdef' controls whether glyphs -named /.notdef in a TrueType font should be rendered or not. This -is also controlled by a systemdict parameter /RENDERTTNOTDEF. The -PDF interpreter will set the user parameter to the same value as -the systemdict parameter, allowing this to be controlled from the -GS command line. - -The user parameter defaults to 'true' which renders TrueType /.notdef -glyphs (so that these are properly rendered in PostScript), the -RENDERTTNOTDEF systemdict parameter defaults to 'false', which is -used by the PDF interpreter to set the user parameter, and therefore -disables rendering of TT /.notdef glyphs in PDF files. +despite the latter being less obtrusive for common error checks. +Several developers have requested this because it allows setting a +breakpoint directly on the return statement instead of a conditional +return on the conditional line, or a breakpoint at the return inside +the single source line. This is therefore a practical issue, not just +one of readability and style. </pre> -<p>[lib/pdf_main.ps src/icontext.c src/zchar42.c doc/Use.htm src/icstate.h src/zusparam.c lib/gs_init.ps]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-09T061650.593621Z"></a> -2008-04-09T06:16:50.593621Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-27T172724.986727Z"></a> +2008-08-27T17:27:24.986727Z Ralph Giles</strong></p> <blockquote> <pre> -Avoid a spurious warning "CS/cs (setcolorspace) operand not a name". -Acept array values for /CS attribute. Bug 689738. - +Fix more html conformance problems with the documentation. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[doc/Ps2ps2.htm doc/Fonts.htm doc/Use.htm doc/Ps2pdf.htm doc/Develop.htm doc/Deprecated.htm doc/Install.htm doc/API.htm doc/Issues.htm doc/Make.htm doc/Drivers.htm doc/Release.htm doc/C-style.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm]</p> </blockquote> -<p><strong><a name="2008-04-08T215508.170308Z"></a> -2008-04-08T21:55:08.170308Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-27T025723.718740Z"></a> +2008-08-27T02:57:23.718740Z Ralph Giles</strong></p> <blockquote> <pre> -We no longer have any outstanding port requests. Bug 689745. +Remove Humor.htm. + +The joke has gotten old, and blogs are a better medium for this sort of +thing. </pre> -<p>[doc/Projects.htm]</p> +<p>[doc/Humor.htm doc/Readme.htm]</p> </blockquote> -<p><strong><a name="2008-04-06T214234.379385Z"></a> -2008-04-06T21:42:34.379385Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-27T021643.113337Z"></a> +2008-08-27T02:16:43.113337Z Ralph Giles</strong></p> <blockquote> <pre> -Use operator .execn to keep the operand stack size and .pdfcount value -consistent during /BuildChar execution. Operator scn depends on the correct -value of .pdfcount. Bug 688796. +Remove the obsolete HTML style guidelines. +We no longer expect readers to look at the raw html in a text editor. +Documentation should declare its format specification and conform to it, +attempting to match local style where appropriate. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[doc/Htmstyle.htm doc/Readme.htm]</p> </blockquote> -<p><strong><a name="2008-04-06T075333.800999Z"></a> -2008-04-06T07:53:33.800999Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-27T021410.447789Z"></a> +2008-08-27T02:14:10.447789Z Ralph Giles</strong></p> <blockquote> <pre> -Fix PDF empty stack count (pdfemptycount) in the tiling pattern. Operator -scn depends on the correct value of pdfemptycount. This bug was introduced -in the rev. 8308. Bug 689776. - +Replace the awkward <b><tt> construction with css-styled <code> elements. </pre> -<p>[lib/pdf_draw.ps]</p> +<p>[doc/History7.htm doc/Fonts.htm doc/Projects.htm doc/Ps2ps2.htm doc/Use.htm doc/Readme.htm doc/Develop.htm doc/Ps2pdf.htm doc/Deprecated.htm doc/Source.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Install.htm doc/Htmstyle.htm doc/API.htm doc/gs.css doc/DLL.htm doc/Make.htm doc/Drivers.htm doc/Unix-lpr.htm doc/Commprod.htm doc/C-style.htm doc/Ps-style.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2epsi.htm]</p> </blockquote> -<p><strong><a name="2008-04-04T113017.034942Z"></a> -2008-04-04T11:30:17.034942Z Till Kamppeter</strong></p> +<p><strong><a name="2008-08-26T215026.926408Z"></a> +2008-08-26T21:50:26.926408Z Ralph Giles</strong></p> <blockquote> <pre> -Added the new files of OpenPrinting Vector 1.0. +Cast away signed/unsigned char warnings in gdevsvg. + +Patch from Igor Melichev. Also cleaned up some trailing whitespace. </pre> -<p>[contrib/opvp/opvp_0_2_0.h contrib/opvp/opvp.h]</p> +<p>[src/gdevsvg.c]</p> </blockquote> -<p><strong><a name="2008-04-04T112822.909246Z"></a> -2008-04-04T11:28:22.909246Z Till Kamppeter</strong></p> +<p><strong><a name="2008-08-26T214055.546109Z"></a> +2008-08-26T21:40:55.546109Z Ralph Giles</strong></p> <blockquote> <pre> -Updated the OpenPrinting Vector driver interface ("opvp", "oprp") to version 1.0. +Remove references to bits64 from the source style documentation. It is +superceeded by the stdint types. </pre> -<p>[contrib/opvp/opvp_media.def contrib/opvp/opvp_common.h contrib/opvp/gdevopvp.c]</p> +<p>[doc/C-style.htm]</p> </blockquote> -<p><strong><a name="2008-04-04T085357.893326Z"></a> -2008-04-04T08:53:57.893326Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-26T155938.718117Z"></a> +2008-08-26T15:59:38.718117Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (pdfwrite): Incorrect cmap aubtables written for 'non-symbolic' TrueType - fonts, when PDF/A output is enabled. - -Details: -Bug #689754 "Substituting .notdef for "german umlauts" when generating PDFA". - -Normally when writing TrueType fonts GS emits 'symbolic' TrueType fonts, and -correctly outputs both a 1,0 and 3,0 cmap subtable (with appropriate character -offsets, see section 5.5.5 of recent PDF specs). +Fix (PDF interpreter) : Implementing a temporary option for development needs of images with soft mask. -However, when PDF/A output is enabled, and the TT font to be output only -contains glyphs from the Adobe Latin set, and these are ordered in -accordance with that set, then we emit a 'non-symbolic' TT font. (For PDF/A -we do not emit 'symbolic' fonts, if the font is not 'non-symbolic' then we -write a CIDFont instead.) +DETAILS : -However, when writing the non-symbolic font, we continued to write the same -cmap subtables. Acrobat does not use the 3,0 subtable with non-symbolic fonts, -and falls back to the Mac Roman (1,0) subtable instead. For many glyphs this -works correctly, but if the font is WinAnsi compliant, and the glyph is one -of those for which the character position differs between Mac and Windows, -then the glyph cannot be found by Acrobat. +It doesn't chamge the behavior for regular runs. +The new temporary option is for development purpose only. +It will be removed after the complete implementation of images with soft mask is done. -By writing a 3,1 (Windows Unicode) cmap subtable we can ensure this does not -happen, as Acrobat will use this in preference to the 1,0 subtable. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> -(gdevpsf.h) Add a new TrueType writing control flag WRITE_TRUETYPE_UNICODE_CMAP - This is used to control whether we write a 3,0 or 3,1 cmap subtable. +<p><strong><a name="2008-08-26T153103.416051Z"></a> +2008-08-26T15:31:03.416051Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PDF interpreter) : A wrong comment about procedure operands for is_big_mask . -(gdevpdtb.c) When setting options for TrueType font writing, if we are - writing PDF/A, then set the new flag so we get a 3,1 Unicode subtable. +DETAILS : -(gdevpsft.c) Create new boilerplate for a type 6 Mac Roman subtable, - followed by a type 4 Windows Unicode subtable. Create a new routine - 'write_unicode_cmap_6' which uses the new boilerplate to write this - kind of subtable. In write_cmap, check if we have been asked to write a - Unicode cmap subtable, and use the new routine if so. Do not bias the - character codes if writing a Unicode table. +It changes a comment only. </pre> -<p>[src/gdevpdtb.c src/gdevpsft.c src/gdevpsf.h]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-04-04T083933.625568Z"></a> -2008-04-04T08:39:33.625568Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-26T070255.610521Z"></a> +2008-08-26T07:02:55.610521Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (pdfwrite): code tidy up. +Fix (graphics) : Scanline algorithm missed pixels at horizontal boundaries. -Details: -Bug #689712 "macro expanded unnecessarily and undocumented .h file". +DETAILS : -No functional changes, merely code reordering and tidying up. +Bug 689402 "Regression: differences in dina3_watermark.pdf". -(encs2c.ps) Modified to write the current license boilerplate and a - small additional comment referring developers to this file should they - wish to modify the generated files. Modify the output to gdevpdtv.c - to #include gdevpdtv.h. +The defect looks as an unimplemented branch. +which persists since Ghostscript 8.00 released on Decebmer 2002 +or longer. We could get a similar problem when runnung Bug687832.pdf +with Ghostscript 7.04 (it can't handle dina3_watermark.pdf), +and our reading of its code shows that the problem presents in it. +So the problem is really antique. + +The bottom of the problem is that fill adjustment was not applied +to some horizontal segments. Due to that some pixel centers are not covered +when they must be. -(gscedata.h) -(gscedata.c) -(gdevpdtv.c) -(gdevpdtv.h) Update with output from modified encs2c.ps +</pre> +<p>[src/gxfillsl.h]</p> +</blockquote> -(gdevpdtf.h) Remove the 'gs_private_st_basic..' macro, thus preventing - its unnecessary expansion and inclusion in several .c files. +<p><strong><a name="2008-08-23T163921.950258Z"></a> +2008-08-23T16:39:21.950258Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 6 Coverity warings about local variables hiding function arguments +by renaming local variables. -(gdevpdtb.c) Move the macro 'gs_private_st_basic(st_pdf_base_font...' - into this module, where it is actually used. +</pre> +<p>[src/gsbitops.c]</p> +</blockquote> +<p><strong><a name="2008-08-23T010547.610764Z"></a> +2008-08-23T01:05:47.610764Z Russell Lang</strong></p> +<blockquote> +<pre> +Remove reference from Windows image window code back to PostScript interpreter, +to allow the image window code to be used with non-interpreter builds. </pre> -<p>[toolbin/encs2c.ps src/gdevpdtb.c src/gscedata.h src/gdevpdtv.c src/gdevpdtf.h src/gdevpdtv.h src/gscedata.c]</p> +<p>[src/dwimg.h src/winint.mak src/dwmain.c src/dwmain.rc doc/Develop.htm src/dwmainc.c src/dwmain.h src/dwimg.c src/dwres.h]</p> </blockquote> -<p><strong><a name="2008-04-04T010217.399302Z"></a> -2008-04-04T01:02:17.399302Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-22T163436.763761Z"></a> +2008-08-22T16:34:36.763761Z Ralph Giles</strong></p> <blockquote> <pre> -Add the rinkj driver to the default autoconf build under "ETS" devices. +Move the dw source files from GLSRC to PSSRC. Items in GLSRC shouldn't +depend on items in PSSRC. This is in preparation for the code +reorganization. -It's not intended for production use, but this will help prevent -bit rot. Related to bug 689780. +Details: + +A number of these files, dwtext, dwtrace, and with some modifications +dwimg don't actually have PSSRC dependencies, but it's easier to keep +all the files built by winint.mak there for now. They can be moved back +into the base library later when they're useful for other builds. </pre> -<p>[src/configure.ac]</p> +<p>[src/winint.mak]</p> </blockquote> -<p><strong><a name="2008-04-04T010216.708266Z"></a> -2008-04-04T01:02:16.708266Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-22T011328.560292Z"></a> +2008-08-22T01:13:28.560292Z Ralph Giles</strong></p> <blockquote> <pre> -Minimal changes to gdevrinkj.c so that it compiles. As far as I can tell, -the version in source control has never worked. +Remove an unnecesary iapi.h include. </pre> -<p>[src/gdevrinkj.c]</p> +<p>[src/winint.mak src/dwimg.c]</p> </blockquote> -<p><strong><a name="2008-04-04T010216.013247Z"></a> -2008-04-04T01:02:16.013247Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-22T011124.167807Z"></a> +2008-08-22T01:11:24.167807Z Ralph Giles</strong></p> <blockquote> <pre> -Include stdlib.h for malloc and free in the rinkj device. Bug 689780. +Remove trailing whitespace. </pre> -<p>[src/rinkj/rinkj-byte-stream.c]</p> +<p>[src/dwimg.h src/dwimg.c]</p> </blockquote> -<p><strong><a name="2008-04-01T002817.665464Z"></a> -2008-04-01T00:28:17.665464Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-21T232624.907412Z"></a> +2008-08-21T23:26:24.907412Z Ralph Giles</strong></p> <blockquote> <pre> -Fix incorrect scanline length calculation in 1 bit/component images on pswrite -and epswrite devices. The bug was introduced in rev. 8233. -Bug 689771, customer 73. - +Add a missing return value check. Coverity issue 1847. </pre> -<p>[src/gdevps.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-31T235328.505732Z"></a> -2008-03-31T23:53:28.505732Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-21T225500.562927Z"></a> +2008-08-21T22:55:00.562927Z Ralph Giles</strong></p> <blockquote> <pre> -Don't override the memory pointer set by the client when initializing -the luratech jpx decoder. +Correct a double free introduced in r9005. </pre> -<p>[src/sjpx_luratech.c]</p> +<p>[src/gp_unix_cache.c]</p> </blockquote> -<p><strong><a name="2008-03-31T230841.231868Z"></a> -2008-03-31T23:08:41.231868Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-21T215124.194924Z"></a> +2008-08-21T21:51:24.194924Z Ralph Giles</strong></p> <blockquote> <pre> -Do not invoke the s_jpxd_template set_defaults method if it is null. -Fixes bug 689743, whose attachment segfaults with the luratech decoder -for which this method is not implemented. +Remove trailing whitespace. </pre> -<p>[src/zfjpx.c]</p> +<p>[src/ztrans.c]</p> </blockquote> -<p><strong><a name="2008-03-31T230055.454967Z"></a> -2008-03-31T23:00:55.454967Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-21T083509.363063Z"></a> +2008-08-21T08:35:09.363063Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (graphics) : Stroke width was wrong for short segments. - -DETAILS : +Submission for revision 9008 initialised the wrong 'pfn' variable. -Bug 689742 "Nearly missing dotted lines with anisotropic resolution". - -Rather the bug title mentions anisotropic rendering, -the problem appears with isotropic one as well. -The bottom of the problem is that the function width_is_thin -used the dash longitude to know its direction, -which gives an incorrect (zero) result -for vertical segments of zero length. +Details: +Accidentally changed the use in 'zbuildfunction' instead of 'buildfunction'. Correcting. +</pre> +<p>[src/zfunc.c]</p> +</blockquote> -That method became obsolete since revision 7706, -which intorduced the precise dash direction is a special data field. -Using it now for the right computation of the width. +<p><strong><a name="2008-08-21T083331.319105Z"></a> +2008-08-21T08:33:31.319105Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix some more Coverity warnings +Details: +Two places where a return value (from names_ref) was not being checked, one inadvertent +piece of dead code (duplicating a previous error check) and one genuine case of a variable +which could potentially be used uninitialsed. </pre> -<p>[src/gxstroke.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-28T163025.778081Z"></a> -2008-03-28T16:30:25.778081Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-21T082849.451522Z"></a> +2008-08-21T08:28:49.451522Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (graphics) : rectfill applied a wrong path adjustment. +Silence an 'uninitialised variable' warning from Coverity. -DETAILS : +Details: +Function initialisation is a bit round about. We pass a function pointer to +make_sampled_function, which assigns it to a local variable. That variable is passed to +gs_function_Sd_init, which immediately zeros it.... + +Since the pointer is never actually used, setting it to NULL should silence the warning.</pre> +<p>[src/zfunc.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T235843.536642Z"></a> +2008-08-20T23:58:43.536642Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace an abs() call with our any_abs() macro. Also remove an +unnecessary math_.h include. -Bug 689361 "Text has white stripes and missing parts at 100 dpi". +Details: -Ghostsctript applies path adjustment as an implementation of -"any part of pixel inside" filling rule. -However it was wrong for rectfill : -the lower adjustment was too wide, causing extra pixels to paint -when the lower coordinate of the rectangle falls to pixel center. -Besides that, the X adjustment was applied to Y axis. +A call to abs() was added in r8942. Technically the prototype for this +is in stdlib.h, but it's a built-in in most compilers so this didn't +raise a warning. We do include stdlib.h elsewhere, usually for qsort() +or malloc(), but abs() is only called from comment pseudo code; in +practice the any_abs() macro or fabs() from math.h are used instead. +Because this isn't in an inner loop, speed isn't important, so we prefer +the macro to a system header include for consistency. +Sine the beginning of repository history, gdevbit.c has included math.h, +but I don't see any math library calls now, so it as been removed. </pre> -<p>[src/gsdps1.c]</p> +<p>[src/gdevbit.c src/devs.mak]</p> </blockquote> -<p><strong><a name="2008-03-28T063649.751300Z"></a> -2008-03-28T06:36:49.751300Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-20T232249.144680Z"></a> +2008-08-20T23:22:49.144680Z Ralph Giles</strong></p> <blockquote> <pre> -Improve detection of transparency usage. Search for transparency featires in -the resource chain of annotattion appearance streams. -Bug 689764, customer 531. +Check for and propagate failures to find matching component indexes in +jpx streams. </pre> -<p>[lib/pdf_main.ps]</p> +<p>[src/sjpx.c]</p> </blockquote> -<p><strong><a name="2008-03-27T083758.577822Z"></a> -2008-03-27T08:37:58.577822Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-20T220949.649774Z"></a> +2008-08-20T22:09:49.649774Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite): endstream/endobj not always emitted PDF/A compliant. - -Details: -Bug #689755 "Keywords endstream and endobj not always preceded by EOL when generating". +Further cleanups to the unix persistent cache error handling. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> -The PDF/A specification mandates that the endstream and endobj operators -are always preceded by an EOL character (in the spec, EOL = carriage return, -linefeed, or carriage return/linefeed pair). +<p><strong><a name="2008-08-20T213228.795836Z"></a> +2008-08-20T21:32:28.795836Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix memory and file handle leaks in the unix persistent cache error +handling. Also document that it is not re-entrant. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> -(gdevpdfb.c) -(gdevpdfu.c) -(gdevpdti.c) Ensure all endstream operators are preceded by a '\n' if we - are producing PDF/A. -(gdevpdfo.c) Add '\n' to the end of array and dictionary objects in - cos_array_write and cos_dict_write, if we are producing PDF/A. This - ensures that endobj is always preceded by a EOL as other object types - already conform. +<p><strong><a name="2008-08-20T194620.907096Z"></a> +2008-08-20T19:46:20.907096Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> +<p><strong><a name="2008-08-20T190944.615235Z"></a> +2008-08-20T19:09:44.615235Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a cast in svgwrite to be explicit that we're only using the lower 24 +bits of the color index. </pre> -<p>[src/gdevpdfo.c src/gdevpdfb.c src/gdevpdfu.c src/gdevpdti.c]</p> +<p>[src/gdevsvg.c]</p> </blockquote> -<p><strong><a name="2008-03-26T140202.746186Z"></a> -2008-03-26T14:02:02.746186Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-20T182610.369143Z"></a> +2008-08-20T18:26:10.369143Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (vector device): Operation order could result in failure to -apply clipping. +Fix __func__ on the default (non-C99) gcc build. Details: -Bug #689469 "Incorrect clipping operation in vector output". - -From the patch supplied by Osamu Mihara. In gdev_vector_stroke_path and -gdev_vector_fill_path, clipping was performed after a number of other -operations. If these failed, the clipping was not applied, apparently -causing problems for some devices (eg OpenPrinting Vector Printer). -(gdevvec.c) Execute the clip operation before other operations to ensure - that the clip is applied, even if the later operations fail. +__func__ is a variable in C99. The earlier __FUNCTION__ is a magic +preproccessor define in MSVC 7 and later, so the #if defined() clause +enabled it. However, in GCC it is a magic string literal instead and so +this clause did not enable it. Therefore we add an explicit check for +the appropriate GCC version and define the same substitution for that +compiler. </pre> -<p>[src/gdevvec.c]</p> +<p>[src/gserror.h]</p> </blockquote> -<p><strong><a name="2008-03-25T052624.097873Z"></a> -2008-03-25T05:26:24.097873Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-20T015436.820847Z"></a> +2008-08-20T01:54:36.820847Z Ralph Giles</strong></p> <blockquote> <pre> -PDF font descriptor may be shared between CID and simple fonts. We cache the -font object in the font descriptor dictionary. To prevent collision, use -different keys to store font and CIDFont objects. Improve the fix for the -bug 689301. +Add the svgwrite device to the default windows build. +Bug 690028.</pre> +<p>[src/msvc32.mak]</p> +</blockquote> +<p><strong><a name="2008-08-19T040740.862102Z"></a> +2008-08-19T04:07:40.862102Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the jasper dependency from jpxtopdf. It's straightforward to +parse the image header ourselves. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[toolbin/jpxtopdf.c]</p> </blockquote> -<p><strong><a name="2008-03-24T200207.895385Z"></a> -2008-03-24T20:02:07.895385Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-17T123125.491176Z"></a> +2008-08-17T12:31:25.491176Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : Smaller tiles for strip_copy_rop (continued). - -DETAILS : +Fix a bug in error checking code introduced in the rev. 8996 in pamcmyk32 +device. Bug 689583. +</pre> +<p>[src/gdevpbm.c]</p> +</blockquote> -The old code sometimes tried to write a degenerate rectangles to clist. -It happened since revision 8581 due to inaccurate coding. -Should fix ghostpcl regression happened on March 23, 2008 . +<p><strong><a name="2008-08-17T061935.130662Z"></a> +2008-08-17T06:19:35.130662Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check return values from all stdio functions in all pnm drivers and propagate +error codes upwards. Bug 689583. </pre> -<p>[src/gxclimag.c src/gxclrect.c]</p> +<p>[src/gdevpbm.c]</p> </blockquote> -<p><strong><a name="2008-03-24T041747.859439Z"></a> -2008-03-24T04:17:47.859439Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-17T011923.099945Z"></a> +2008-08-17T01:19:23.099945Z Alex Cherepanov</strong></p> <blockquote> <pre> -Equivalent transformation of the PDF font handler to improve readability -in preparation for the PDF font overhaul. - +Add one more NMAKE version recognized as MSVC 7. +Bug 689816, customer 351. </pre> -<p>[lib/pdf_font.ps]</p> +<p>[src/msvc32.mak]</p> </blockquote> -<p><strong><a name="2008-03-23T075043.652322Z"></a> -2008-03-23T07:50:43.652322Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-16T041820.474141Z"></a> +2008-08-16T04:18:20.474141Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (vector device): %pipe% IO device being opened as seekable (continued). +Work around a bug in a PDF file produced by "Nitro PDF Driver". Assume invalid +operator '-' to be a number 0. Bug 690012, -DETAILS : +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> -Revision 8602 caused an MSVC warning, which is now fixed. +<p><strong><a name="2008-08-16T020051.387588Z"></a> +2008-08-16T02:00:51.387588Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix parsing of large embedded TrueType fonts by ps2write header: (1) read the +file into multiple strings for sfnts array. (2) use multiple reads to skip +over large parts of the file. Also modify Type42 font reader to allow TrueType +objects to span sfnts string boundaries. Bug 690012. </pre> -<p>[src/gdevvec.c]</p> +<p>[src/gxttfb.c Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-03-22T215500.988313Z"></a> -2008-03-22T21:55:00.988313Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-14T175406.399403Z"></a> +2008-08-14T17:54:06.399403Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist writer) : Smaller tiles for strip_copy_rop. +Use GNU iconv.h header in compatibility mode unless we link with GNU libiconv. +This is needed for compiling gs with gcc under HP-UX 11.11. -DETAILS : +DETAILS: +gdevopvp.c uses some basic functionality from iconv library but none of GNU +extensions. So the native implementation is searched first. -Bug 689588 "Unexpected InternalOverflow in ReadImage". +GNU header uses different names in the library and defines some macros to map +iconv* names to GNU libiconv* names. -When strip_copy_rop recieves a big tile, it is being subdivided into line tiles -to fit into the clist buffer. However the line tile can be too big as well. -The new code narrows the line tile with the size of the rectangle to be painted. -For details see comments added into gxclrect.c . +gcc looks for GNU version of iconv.h first, which requires a compatibility +flag to link with the native libraries. -Minor change (gdevddrw.c, gdevmr8n.c) Added visual trace commands for easier debugging. +So the compatibility flag is set when iconv* functions are not found but +libiconv* functions are found. </pre> -<p>[src/lib.mak src/gdevddrw.c src/gdevmr8n.c src/gxclrect.c]</p> +<p>[src/configure.ac contrib/opvp/gdevopvp.c]</p> </blockquote> -<p><strong><a name="2008-03-21T050753.304009Z"></a> -2008-03-21T05:07:53.304009Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-13T015636.856132Z"></a> +2008-08-13T01:56:36.856132Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (Windows application) : Provide a better visual trace support interface for use with other interpreters. +Update the fonts to those that the nightly and cluster regressions have +been using all along. The -Ifonts in the regression script was causing +the contents of Resource/Font to be ignored. These fonts are the std-8.11 +version. -DETAILS : +Note we probably next need to move to the newer version of these fonts +with the metrics fixed, but this is a first step. -This minor change doesn't change any behavior. +DETAILS: +These are files that were part of the distribution 8.11 files that really +can't live in the Resource/Font directory since some applications or +test files will enumerate (with 'resourceforall') the directory and will +get errors if files are there that are not fonts. +___________________________________________________________________________ + README: +This is release 1.0.7pre22 of Valek Filippov's improved versions of the URW +type 1 font collection, repackaged for distribution with Ghostscript. + +Cyrillized free URW fonts. + +These fonts were made from the free URW fonts distributed with ghostcript. +There are NO changes in the latin part of them (I hope). +Cyrillic glyphs were added by copying suitable latin ones +and painting oulines of unique cyrillic glyphs in same style as the others. +For all modification pfaedit was used. +The license for result is (of course) same as for original fonts, +i.e. GPL with an exception that you can put these fonts in your own non-GPLed +documents. (Looks like LGPL from my point of view =). + +The "sources" of these fonts in the native pfaedit format are available +at ftp://ftp.gnome.ru/fonts/sources + +The great font editor pfaedit is available at http://pfaedit.sf.net. +That page also includes some links to fonts created by +George Williams -- the author of pfaedit. + +Acknowledgements: +I would like to thank George Williams, the pfaedit's author and developer. +He is the most bug-reporter/feature-requester friendly developer +I ever saw in my not so short life. At some moment in the future +I must write a book about him: "George Williams and my best experience +in bug-reporting." George also greatly helped me bug-hunting these fonts, +explained to me some very important things about fonts and font design, +quickly adopted pfaedit to my needs (or pointed me to The Right Place in +documentation where I found better way of doing things). + +I would like to thank Alexey Novodvorsky (aka AEN), who +pointed me to pfaedit and George Williams' fonts, explained +The Task to me. He is also one of the main participators in the +development of Sysiphus -- free repository of free software. +I didn't loose my time for compiling/installing and supporting +my linux box coz I used the result of Sysiphus developers' works. + +I would like to thank Sergey Vlasov, who tested these fonts and reported +about bugs. Also he help me to make some bug-reports to George about +pfaedit bugs. + +I would like Dmitry 40in, who did big QA for some font outlines, drawn some glyphs, +and explain some The Truths for me. + +I would like to thank Vlad Harchev (aka hvv), who +proofread this text for me. + +Also I have to thank RMS for GPL and URW for releasing the fonts +under it. + +Thank you very much! +Valek Filippov frob@df.ru +(C)opyLeft 2001 +______________________________________________________________________________________ + TODO: +- fix all missed glyphs. +- change suitable glyphs with references. +- improve bearings of glyphs (thanks Dmitry 40in who pointed me to this) +- improve outlines of some cyrillic glyphs +______________________________________________________________________________________ + Changelog: +2002-11-22 Valek Filippov <frob@df.ru> + + Fixed bug that broke printing from QT. + +2002-11-16 Valek Filippov <frob@df.ru> -</pre> -<p>[src/dwtrace.h src/dwtrace.c]</p> -</blockquote> + Fixed some cyrillic (russian) glyphs in NimbusMono. + NimbusMono Ascend/Descend were changed to match the visible + size of the other font if same point-size is used. -<p><strong><a name="2008-03-20T102017.499008Z"></a> -2008-03-20T10:20:17.499008Z Ken Sharp</strong></p> -<blockquote> -<pre> -Fix (pdfwrite): pdfwrite embedded TrueType/Type 42 fonts which -specifically forbid embedding. +2002-10-12 Valek Filippov <frob@df.ru> -Details: -Bug #689693 "GS embeds licensed fonts when generating PDF". + Regenerated coz I screwed up UIDs. + Partly applied Owen Tailor tweaks. + (Really GWW changed pfaedit autohinter after OT sugggestion, + so other OT tweaks are aoutomade by pfaedit) + +2002-08-17 Valek Filippov <frob@df.ru> -For Type 42 fonts, in order to prevent embedding fonts with license -restrictions we need to retrieve and honour the /FSType key if present -in the FontInfo dictionary of the font. + Regenerated from 9-aug pfaedit version. + Mostly for testing of new cubic->quad bezier conversion. -We also need to check the embedding status of TrueType fonts read from disk -in a similar fashion to Type 42 fonts downloaded in the course of the job. +2002-07-22 Valek Filippov <frob@df.ru> -Finally, when writing a TrueType font to a PDF file, we need to preserve any -existing embedding rights by setting fstype appropriately in the OS/2 table. -It is possible to permit font embedding even when the embedding rights -are non zero and we should preserve these. + Regenerated from 22-07 pfaedit version. + I still haven't enough time for correct serbian glyphs from Danilo + integration =( -(gxfont.h) Add a new parameter, EmbeddingRights, and a new flag - FONT_INFO_EMBEDDING_RIGHTS, to the gs_font_info structure. +2002-05-19 Valek Filippov <frob@df.ru> -(zfont.c) In zfont_info, if we request the EmbeddingRights, and the font has - a FontInfo dictionary, retrieve the FSType if present. + Regenerated from 18-05 pfaedit version. + Restored original UIDs. + Made otf versions again =) -(gdevdtf.c) When determining whether a font may be embedded, retrieve the - font info, check the 'members' structure member after retrieving font info - to see if the EmbeddingRights member has been updated. Assume embedding - allowed if the member has not been updated. +2002-03-06 Valek Filippov <frob@df.ru> -(gxfont42.h) Add a new member os2_offset to the gs_type42_data structure, to allow - us to read from the OS/2 table later. + Added pfms. Forced using of original kerning. + d* and s* files were missed (fixed now). -(gstype42.c) In gs_type42_font_init, when reading the TrueType Table directory, store - the offset to the OS/2 table. +2002-03-04 Valek Filippov <frob@df.ru> - In gs_truetype_font_info, if the caller has requested the embedding rights - and they haven't already been retrieved from an FSType entry in the - FontInfo dictionary, get the OS/2 table and pull the fstype value from there. + Improved Bookman and Gothic. All fonts were regenerated + (fix 'Delta', improved hinting). pfms are temporary excluded. -(gdevpsft.c) When writing a TrueType font, and we don't have an OS/2 table to - copy (appears to always be the case), check to see if we have any - embedding rights information in the original font, and preserve it if so - by setting the fstype entry in the OS/2 table. +2002-02-03 Valek Filippov <frob@df.ru> -</pre> -<p>[src/gxfont42.h src/zfont.c src/gdevpdtt.c src/gstype42.c src/gdevpsft.c src/gdevpdtf.c src/gxfont.h]</p> -</blockquote> + Improved Bookman Light/DemiBold. At 2002-01-07 I put + non latest version of Chancery -- fixed. -<p><strong><a name="2008-03-19T100921.671968Z"></a> -2008-03-19T10:09:21.671968Z Ken Sharp</strong></p> -<blockquote> -<pre> -Fix (vector device): %pipe% IO device being opened as seekable. +2002-01-18 Valek Filippov <frob@df.ru> -Details: -Bug #689428 "‘gs -sOutputFile=%pipe%cat’ doesn't work". + All fonts regenerated again, coz AEN found bug in names translation. + NimbusRomNo9-Regu greatly improved. NimbusRomNo9-Bold, NimbusSans{Cond}-{Regu,Bold} + partially improved. + +2002-01-07 Valek Filippov <frob@df.ru> + + Bookman improved. Chancery added. + +2002-01-04 Valek Filippov <frob@df.ru> + + All fonts were regenerated. + TTF-instructions were improved, some non-russian cyrillic + fixed, "fi" and "fl" ligatures ligaturized where were not. + Implemented some changes that Dmitry suggested, + NimbusMono-Regular is partially made by him. + Added COPYING. Generated pfm-files. + Added fonts.dir and fonts.scale from gnu-gs-fonts. + +2001-12-14 Valek Filippov <frob@df.ru> + + Full tarball was made. -Based on the patch supplied by Dan Villiom Podlaski Christiansen. + NimbusRomNo9 regenerated. Added 'numero sign', + 'infinity' and 'Omega' (in Regu -- by Dmitry 40in). + OTF versions removed until the best time. + Dmitry supposed that URW'd presented 'beta'-version + of fonts to community, coz bearings for original URW + are not perfect. 1st attempt to fix it. -(gsdevice.c) in gx_device_open_output_file, if the parsed out iodevice - is '%pipe%', then open the output 'file' non-seekable. +2001-12-12 Valek Filippov <frob@df.ru> -(gdevvec.c) Not strictly related, but gdev_vector_open_file_options could - use 'fclose' on a stream opened with gx_device_open_output_file. Altered - to use gx_device_close_output_file instead. + Schoolbook extended to 'val3' and regenerated. + Palladio extended to 'val3' and regenerated. + Bookman extended to 'val3' and regenerated. + Gothic extended to 'val3' and regenerated. + Some glyphs still missed. + NimbusMono regenerated with modern pfaedit + (bug with xterm fixed). Some 0x4** glyphs fixed. + Added "number sign" and "infinity". Thanks to + Dmitry 40in and Anton Zinoviev who criticized me + about it. + +2001-12-08 Valek Filippov <frob@df.ru> + + Added updated version of NimbusSansCond. + Changes same like for NimbusSans + (except: otf version not added). + +2001-12-07 Valek Filippov <frob@df.ru> + + Added updated version of NimbusMono. + (Lat Ext-A, full 0x400 except 'glagolic', some chars are still + missed; ttf hinting regenerated; otf version added; + 'Cyr De, de, L, l, Ch, ch' fixed). + +2001-12-06 Valek Filippov <frob@df.ru> + + Added updated version of NimbusSans. + (Lat Ext-A, full 0x400 except 'glagolic', some chars are still + missed; ttf hinting regenerated; otf version added; + 'Cyr De, de, L, l, Ch, ch' fixed). + +2001-12-05 Valek Filippov <frob@df.ru> + + Kern pairs from original URW had missed at the 11-nov version. + Added OpenType version of fonts. + +2001-11-11 Valek Filippov <frob@df.ru> + + NimbusRomanNo9 + Regular: added all uni0400 (except ancient cyrillic /glagolic?/). + 04bc-04bf, 04a8-9, 04d8, 04da still missed. + added all glyphs from Lat Ext-A (uni0100-017F) that was missed + in original URW (45 glyphs). + Most of accented chars and part of cyrillics changed + with references. + TTF hinting regenerated with modern PfaEdit. + Bold: same but also missed 0494, 04a6, 04c3 + Italic, BoldItalic: same but missed many non-russian cyrillics. +______________________________________________________________________________________ + README.tweaks +Nimbus Sans L Regular, Nimbus Mono L Regular, Nimbus Mono L Oblique +all come from a more recent version of the cyrillic URW fonts. + +The hints on Nimbus Sans Regular have been modified in the +following ways: + +25 June 2002 + + - Added ghost hint to the top of 4 to keep it from being + taller than the other digits. + - Reduced the width of the left stem hint for H to 83 + (probably no real differences) + - Changed the StemSnapV values from [78 85 94] to [78 83 92] + (and fixed up StdVW accordingly) + This corresponds to the values in the font (which are 83/93 + for lower case and upper case stems) better and makes + the width-88 stems on M and N snap to to upper case + widths not lower-case widths. + +29 June 2002 + + - Removed odd vertical stem hints (width of horizontal + stems) from f, F, t, E, yen sign, fi ligature, + fl ligature, AE ligature, R, Lstroke, OE ligature, + lstroke, E" variants, t, variants, Eth, Dstoke, etc. + - Fixed hints on 1 to be two ghost hints instead of one + hint the height of the font + - fix bottom stem of u to have integer coordinates + - fixed hints on | + - fixed hints on inverted exclamation mark + +The hints on Nimbus Mono L Oblique have been modified in the +following ways: + + - Removed vertical stem hints from horizontal serifs on + roman characters. + +Owen Taylor </pre> -<p>[src/gdevvec.c src/gsdevice.c]</p> +<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusRomNo9L-MediItal Resource/Font/NimbusSanL-BoldItal Resource/Font/URWGothicL-Demi Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/NimbusSanL-ReguItal Resource/Font/URWGothicL-BookObli Resource/Font/URWPalladioL-Ital]</p> </blockquote> -<p><strong><a name="2008-03-16T222513.694561Z"></a> -2008-03-16T22:25:13.694561Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T234453.919723Z"></a> +2008-08-12T23:44:53.919723Z Ray Johnston</strong></p> <blockquote> <pre> -Handle TT fonts that have short post table with less than 256 glyphs. -Pad the generated Encoding vector with /.notdef glyphs. -Bug 689515, customer 700. +Remove 'Actual Fonts' references in the Fontmap that connected the URW FontName +to an 8.3 filename that we no longer use. +</pre> +<p>[Resource/Init/Fontmap.GS]</p> +</blockquote> +<p><strong><a name="2008-08-12T210438.048281Z"></a> +2008-08-12T21:04:38.048281Z Ray Johnston</strong></p> +<blockquote> +<pre> +Move opdfread.ps to Resource/Init since this is needed by the 'ps2write' device. </pre> -<p>[lib/gs_ttf.ps]</p> +<p>[lib/opdfread.ps Resource/Init/opdfread.ps]</p> </blockquote> -<p><strong><a name="2008-03-15T235948.788786Z"></a> -2008-03-15T23:59:48.788786Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T144202.961911Z"></a> +2008-08-12T14:42:02.961911Z Ken Sharp</strong></p> <blockquote> <pre> -Work around a bug in the PS interpeter by not using nulldevice in the PDF -interpreter where it isn't really needed. Bug 689751. +Fix: Genoa file renders incorrectly with current color code -DETAILS: -PS interpreter seems to fall into an infinite loop running charpath when -the font is composite and the curent device is nulldevice. +Details: +A typo in the DeviceGray code used an array of doubles instead of floats, causing incorrect +values to be returned by currenthsbcolor. </pre> -<p>[lib/pdf_ops.ps]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-14T054011.023910Z"></a> -2008-03-14T05:40:11.023910Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-08-12T134108.386171Z"></a> +2008-08-12T13:41:08.386171Z Ken Sharp</strong></p> <blockquote> <pre> -Fixed duplexing for ljet3d and ljet4d devices; thanks to karsten@sengebusch.de for the changes. +Yet another minor change in the color work. -Fixes bug 687531. +The test file 'foo0-ge-64k.pdf' demonstrated an error with NChannel processing. The old +PostScript based code simply ignored errors when setting the NChannel Colorant spaces, we +now do the same. -No regressions expected, since neither device is tested by the regression suite. +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T091756.269901Z"></a> +2008-08-12T09:17:56.269901Z Ken Sharp</strong></p> +<blockquote> +<pre> +Another small change to the color code. The issue Michael has been looking at (#689950) +uses a DeviceN space with an NChannel Colorants dictionary. A mistake in the NChannel +parameter checking meant that the Colorants were never evaluated. </pre> -<p>[src/gdevdjet.c src/gdevdljm.c]</p> +<p>[src/zcolor.c]</p> </blockquote> -<p><strong><a name="2008-03-13T071846.618081Z"></a> -2008-03-13T07:18:46.618081Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-12T073745.162884Z"></a> +2008-08-12T07:37:45.162884Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (graphics) : A bug in the pattern color serialization. +Fix (PS interpreter) : Wrong glyph positions with CIDFontType 2 WMode 1. DETAILS : -Patch from Alex mentioned in the bug 689731 and unrelated to that bug. +Bug 688058 "Vertical Japanese characters shift upper right direction". +Bug 689559 "centerline of vertical CJK text is wrong when external TrueType CJK font is used.". + +The old code wrongly computes glyph positions when a CIDFontType 2 WMode 1 +font has no metrics and includes vmtx. The patch properly computes +the V vector using top side bearing and font bounding box. +See comments in code. + +This patch fixes the glyph positions and closes the original bugs, +but we still observe other 2 problems with the 688058 test case : + +1. 2 characters are substitutes with hollow boxes. +2. pdfwrite generates a PDF with a wrong glyph positions. + +Opened bugs 690006, 690007 for them. </pre> -<p>[src/gsptype1.c]</p> +<p>[src/zchar42.c]</p> </blockquote> -<p><strong><a name="2008-03-12T223203.336468Z"></a> -2008-03-12T22:32:03.336468Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-12T073533.506225Z"></a> +2008-08-12T07:35:33.506225Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (graphics) : Optimize filling a path with a shading color (continuewd 3). +Fix (TT interpreter) : AVector bug workaround was wrong. DETAILS : -Bug 689748 "gs segfaults". +Bug 689820 "rendering of embbeded font with very low quality". + +The problem may happens only when a glyph is bigger than [-UnitsPerEm*2, UnitsPerEm*2]. +The old code includes a workaround for an antique AVBector bug. +However for detecting it the old code supplied a glyph bbox +with a wrong coordinate representation (scale). -An unitialized variable since rev 8510. -We had no test files for that branch, now got one. +The test case supplies a glyph, in which some points have x-coordinate +greater than UnitsPerEm*2, so the workaround +converted all curves into lines. + +The patch provides the right bbox data. </pre> -<p>[src/gxfill.c]</p> +<p>[src/ttfmain.c]</p> </blockquote> -<p><strong><a name="2008-03-11T183233.104151Z"></a> -2008-03-11T18:32:33.104151Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-12T073119.650883Z"></a> +2008-08-12T07:31:19.650883Z Igor Melichev</strong></p> <blockquote> <pre> -Fix MSVC makefile for the 'Big console mode EXE' case when COMPILE_INITS=1. Also -minor cleanup to gs.mak 'clean' target and redundant dependency in ugcclib.mak. -MSVC build problem noted by customer #531. +Fix (graphics) : A clist-based pattern supplied a wrong clipping box. + +DETAILS : + +Bug 689851 "Portions of output missing". + +The test document paints an imagemask with a pattern 1 color, +which contains a Type 1 image, which represents the graphics +that one can view there. + +The pattern appears so big as Ghostscript converts it into a clist. +When rendering the inner image to the clist, +It calls get_clipping_box to know whether the image portion +falls inside the painting area. But the old code +appears to use a wrong implementation of the get_clipping_box method, +which was inherited from the page clist writer and retrieves the page size. +Here we need the pattern cell size instead the page size. +The patch sets up the right implementation for get_clipping_box. + </pre> -<p>[src/ugcclib.mak src/gs.mak src/msvc32.mak]</p> +<p>[src/gxpcmap.c src/gximask.c]</p> </blockquote> -<p><strong><a name="2008-03-10T021838.654568Z"></a> -2008-03-10T02:18:38.654568Z Alex Cherepanov</strong></p> +<p><strong><a name="2008-08-12T014902.711432Z"></a> +2008-08-12T01:49:02.711432Z Alex Cherepanov</strong></p> <blockquote> <pre> -When the font has no /FontBBox but provides character width through /Metrics -dictionary, use them instead of the calculated width. The old code did so only -when both the width and side bearings were defined. Bug 689740, customer 353. +Fix single '~' expansion in generic POSIX persistent-cache implementation. </pre> -<p>[src/zchar1.c]</p> +<p>[src/gp_unix_cache.c]</p> </blockquote> -<p><strong><a name="2008-03-09T133451.534239Z"></a> -2008-03-09T13:34:51.534239Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-12T013132.498041Z"></a> +2008-08-12T01:31:32.498041Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (transparency) : Transparency compositor device recreation was incorrect. +Fix a potential crash after failed memory allocation in RAM-based command list. -DETAILS : +</pre> +<p>[src/gxclmem.c]</p> +</blockquote> -This problem was apparently detected when working on another problem. -The pdf14_recreate_clist_device code was wrong. -Regularly we never call that function, because -PDF interpreter creates the transparency compositor device once per page. -Nevertheless we store the right code since it is debugged. +<p><strong><a name="2008-08-12T005352.298682Z"></a> +2008-08-12T00:53:52.298682Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a typo in get_data() macro used by PDF 1.4 composition devices +because the typo caused dependency on the side effect order. </pre> <p>[src/gdevp14.c]</p> </blockquote> -<p><strong><a name="2008-03-07T133935.783627Z"></a> -2008-03-07T13:39:35.783627Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-11T230109.304118Z"></a> +2008-08-11T23:01:09.304118Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (bbox device) : box_fill_path needs as path for shfill. +Add a missing break statement after 16-bit Burn blending mode case. -DETAILS : - -Since revision 8017 the function gs_shfill includes a branch for -a faster handling of the Postscript operator shfill, -which does not provide a path to fill. It uses the clipping path instead. -The bbox device appears to be incompatible with that optimization. -This patch adds a special branch to bbox device to handle a shading fill -with no path. +</pre> +<p>[src/gxblend.c]</p> +</blockquote> -Please note that since revision 8017 the call -dev_proc(dev, pattern_manage)(dev, gs_no_id, NULL, pattern_manage__shfill_doesnt_need_path) -must return a proper information about the device's fill_path method. -In most case it is doe with the default implementation gx_default_pattern_manage, -but the bbox device ises gx_forward_pattern_manage instead, -which appears wrong for bbox_fill_path. We decided to add an optomized branch -rather than apply the slow general method. +<p><strong><a name="2008-08-11T191145.049525Z"></a> +2008-08-11T19:11:45.049525Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the configure help entries for optional features. +</pre> +<p>[src/configure.ac]</p> +</blockquote> +<p><strong><a name="2008-08-11T185827.188200Z"></a> +2008-08-11T18:58:27.188200Z Ralph Giles</strong></p> +<blockquote> +<pre> +Don't run configure if autoconf failed to regenerate it. </pre> -<p>[src/gdevbbox.c]</p> +<p>[autogen.sh]</p> </blockquote> -<p><strong><a name="2008-03-07T094238.021120Z"></a> -2008-03-07T09:42:38.021120Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-11T183130.295468Z"></a> +2008-08-11T18:31:30.295468Z Ralph Giles</strong></p> <blockquote> <pre> -Correct a default return value. Follow on to Bug 689569. +Add a --disable-cairo option to block linking to libcairo for packagers. +Bug 689999. -Also rename a variable to match the jbig2dec version of the same call. </pre> -<p>[src/sjbig2_luratech.c]</p> +<p>[src/configure.ac]</p> </blockquote> -<p><strong><a name="2008-03-05T233550.165171Z"></a> -2008-03-05T23:35:50.165171Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-11T151006.472831Z"></a> +2008-08-11T15:10:06.472831Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (clist) : Some transparency compositor commands don't need CTM. +Further to the PostScript color work, clear up a couple of warnings which exhibit using gcc +on Linux, but not MSVC. -DETAILS : +</pre> +<p>[src/zfunc.c src/zfunc4.c]</p> +</blockquote> -The old code writes CTM with each transparency compositor command. -Actually it is only needed with begin_transparency_grup and -begin_transparency_mask. So we can skip CTM with -when writing other commands to shorten the clist file. +<p><strong><a name="2008-08-11T141618.397362Z"></a> +2008-08-11T14:16:18.397362Z Ken Sharp</strong></p> +<blockquote> +<pre> +Move the interpretation of PostScript (and PDF) color spaces from PostScript into C. -Note clist reader now sets zero CTM when reading transparency -compositor command with no CTM. We believe it is useful because -subsequent graphics objects need to restore CTM of a containing group. +DETAILS: +This has required a large number of changes, there are a few new .c or .h files, a +number of PostScript files have been removed, and a few others simplified. A few +documentation '.htm' files have also been modified to reflect these changes. -See also comments added in code. +</pre> +<p>[src/int.mak src/zpcolor.c src/zicc.c Resource/Init/gs_devn.ps src/zcssepr.c Resource/Init/gs_cspace.ps src/zcie.c src/zicc.h src/zcie.h src/zcspixel.c Resource/Init/gs_lev2.ps Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps src/zcolor.c src/ifunc.h src/zfunc4.c src/zcsdevn.c src/zcolor.h Resource/Init/gs_patrn.ps src/zfsample.c doc/Develop.htm src/zfunc.c Resource/Init/gs_ll3.ps src/zcsindex.c doc/Psfiles.htm Resource/Init/gs_icc.ps Resource/Init/gs_devpxl.ps src/gscolor2.h Resource/Init/gs_init.ps Resource/Init/gs_devcs.ps Resource/Init/gs_indxd.ps Resource/Init/gs_ciecs2.ps]</p> +</blockquote> +<p><strong><a name="2008-08-11T121924.825877Z"></a> +2008-08-11T12:19:24.825877Z Ken Sharp</strong></p> +<blockquote> +<pre> +Change the description for the -dNOCIE switch, since it wasn't apparently clear enough +which device spaces were substituted for which CIEBased spaces.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-08T053921.132225Z"></a> +2008-08-08T05:39:21.132225Z Ralph Giles</strong></p> +<blockquote> +<pre> +Re-add pdf_draw.ps which was dropped in r8954, since the CET regression +requires it. </pre> -<p>[src/gdevdbit.c src/gdevp14.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2008-03-04T205648.308882Z"></a> -2008-03-04T20:56:48.308882Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-08T042238.494595Z"></a> +2008-08-08T04:22:38.494595Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparency commands while clist writing, step 4. +Massive commit discussed before the freeze to move the PostScript initialization +files to Resource/Init. This obviates the need for geninit when COMPILE_INITS=1. +A followup change will enhance mkromfs to allow it to 'strip' comments and white +space from PostScript input files somewhat reducing the compressed storage needed +for the files in Resource/Init. All files mentioned in int.mak with 'ADDMOD ... +-ps ...' are included as well as those that would have been included via gs_init.ps +%% Replace lines. -DETAILS : +Builds tested on Windows and Cygwin for the various executables (gs, pcl6, pspcl6 +and gxps). -This provides a right group bounding box for transparency masks. -Instead that the old code used the container's group bbox, -which may be much bigger causing a performance leak. +The default LIBPATH and GenericResourceDir are adjusted accordingly. </pre> -<p>[src/gdevp14.c]</p> +<p>[Resource/Init/gs_typ32.ps /trunk/ghostpdl/main/pcl6_gcc.mak Resource/Init src/cfonts.mak lib/gs_dbt_e.ps Resource/Init/gs_dscp.ps lib/gs_statd.ps lib/gs_fapi.ps Resource/Init/gs_devn.ps Resource/Init/gs_agl.ps lib/cidfmap src/iccinit0.c lib/gs_epsf.ps lib/gs_dpnxt.ps lib/pdf_draw.ps lib/gs_icc.ps lib/gs_diskf.ps src/all-arch.mak Resource/Init/gs_fapi.ps lib/gs_init.ps lib/pdf_font.ps lib/gs_ciddc.ps lib/gs_diskn.ps src/ccfont.h lib/pdf_base.ps Resource/Init/gs_dps.ps lib/gs_sym_e.ps lib/gs_btokn.ps Resource/Init/xlatmap Resource/Init/gs_epsf.ps lib/gs_resmp.ps Resource/Init/gs_init.ps src/gs.mak src/wmin.mak lib/gs_wan_e.ps src/Makefile.in Resource/Init/gs_indxd.ps Resource/Init/gs_cidtt.ps src/macos-mcp.mak Resource/Init/gs_img.ps lib/gs_type1.ps lib/pdf_cslayer.ps Resource/Init/gs_setpd.ps lib/gs_dps1.ps Resource/Init/gs_mgl_e.ps src/psromfs.mak lib/gs_lev2.ps lib/gs_pdf_e.ps Resource/Init/gs_fonts.ps src/icfontab.c Resource/Init/gs_mex_e.ps Resource/Init/gs_ttf.ps lib/gs_pdfwr.ps Resource/Init/gs_std_e.ps lib/gs_cidfn.ps /trunk/ghostpdl/common/msvc_top.mak src/geninit.c src/bcwin32.mak src/imain.c Resource/Init/pdf_cslayer.ps lib/gs_ll3.ps lib/Fontmap Resource/Init/gs_dps1.ps src/iccinit1.c Resource/Init/gs_lev2.ps lib/gs_css_e.ps lib/gs_ccfnt.ps Resource/Init/gs_l2img.ps lib/gs_frsd.ps Resource/Init/gs_cet.ps lib/gs_devpxl.ps lib/gs_trap.ps Resource/Init/FCOfontmap-PCLPS2 src/macosx.mak Resource/Init/gs_patrn.ps Resource/Init/pdf_main.ps lib/gs_ciecs2.ps Resource/Init/gs_res.ps Resource/Init/gs_il1_e.ps lib/gs_cidcm.ps lib/gs_cmap.ps src/openvms.mmk lib/gs_typ32.ps Resource/Init/gs_frsd.ps Resource/Init/gs_mro_e.ps Resource/Init/gs_devpxl.ps Resource/Init/gs_devcs.ps Resource/Init/gs_trap.ps Resource/Init/gs_ciecs2.ps Resource/Init/gs_fntem.ps lib/gs_cspace.ps lib/gs_agl.ps Resource/Init/gs_cmap.ps Resource/Init/gs_typ42.ps Resource/Init/gs_cidfm.ps Resource/Init/pdf_rbld.ps src/int.mak lib/pdf_sec.ps src/msvclib.mak src/imainarg.c /trunk/ghostpdl/main/pcl6_msvc.mak Resource/Init/gs_cff.ps Resource/Init/gs_cspace.ps lib/gs_dps.ps src/msvc32.mak src/unix-gcc.mak lib/xlatmap Resource/Init/pdf_sec.ps src/zfile.c lib/pdf_ops.ps Resource/Init/gs_dbt_e.ps Resource/Init/gs_statd.ps lib/gs_indxd.ps lib/gs_cidtt.ps lib/gs_dps2.ps src/unixansi.mak lib/gs_img.ps Resource/Init/cidfmap lib/gs_setpd.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_icc.ps lib/gs_mgl_e.ps Resource/Init/gs_diskf.ps Resource/Init/pdf_ops.ps src/winint.mak lib/gs_fonts.ps Resource/Init/gs_ciddc.ps Resource/Init/pdf_font.ps Resource/Init/gs_dps2.ps Resource/Init/gs_diskn.ps lib/gs_mex_e.ps lib/gs_ttf.ps lib/gs_std_e.ps Resource/Init/pdf_base.ps lib/gs_resst.ps Resource/Init/gs_sym_e.ps Resource/Init/gs_btokn.ps src/wctail.mak lib/Fontmap.GS src/watclib.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak lib/gs_sepr.ps lib/gs_ciecs3.ps lib/gs_l2img.ps Resource/Init/gs_resmp.ps lib/gs_cet.ps Resource/Init/gs_wan_e.ps src/iccfont.c lib/FCOfontmap-PCLPS2 lib/gs_patrn.ps lib/pdf_main.ps Resource/Init/Fontmap.GS Resource/Init/gs_type1.ps lib/gs_res.ps lib/gs_il1_e.ps /trunk/ghostpdl/language_switch/pspcl6_gcc.mak Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps lib/gs_mro_e.ps Resource/Init/gs_pdf_e.ps lib/gs_devcs.ps src/openvms.mak Resource/Init/gs_pdfwr.ps Resource/Init/gs_cidfn.ps src/watcw32.mak lib/gs_fntem.ps Resource/Init/Fontmap Resource/Init/gs_ll3.ps Resource/Init/gs_css_e.ps src/os2.mak lib/gs_cidfm.ps lib/gs_typ42.ps lib/pdf_rbld.ps src/ugcclib.mak lib/gs_dscp.ps lib/gs_devn.ps lib/gs_cff.ps Resource/Init/gs_cidcm.ps]</p> </blockquote> -<p><strong><a name="2008-03-03T201606.744980Z"></a> -2008-03-03T20:16:06.744980Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-08T040354.625369Z"></a> +2008-08-08T04:03:54.625369Z Ray Johnston</strong></p> <blockquote> <pre> -Fix (images) : Revert an unintentional change to siscale.c . +Fix 'rangecheck in showpage' with NumRenderingThreads>0 if the lines requeested do +not range from 0 forward or height-1 backwards. Bug from customer 531 and 850. +Also fix problems with reversion to non-multithreaded rendering with file and memory +based BAND_LIST_STORAGE. -DETAILS : +DETAILS: + +The 'clist_get_band_from_thread' logic had a known deficiency if the device did not +request lines ranging from the top or bottom of the page. The fix assumes that the +normal direction is from line 0 forward unless the first line requested is the last +line of the page, setting the lookahead_direction. If a request is made for a band +other than the next one in the expected direction, the lookahead_direction is +reversed and threads are started for the requested band and the bands following in +the new direction. This effectively recovers from an incorrect guess, but since +there is no limit on the number of times that the recovery is performed, also allows +for lines/bands to be requested in arbitrary order. + +The customer uses a custom device, but the 'bit' devices were recently enhanced +with -dFirstLine= and -dLastLine= parameters to allow testing. + +The re-opening of the clist files was changed to use 'a+' to avoid erasing the +file if multi-threaded rendering was shut down (clist_teardown_render_threads), +and rendering was reverted to single threaded mode. -When doing the revisoon 8530, a macro was expanded in siscale.c -for a debug purpose. This change was committed by error, -reverting it now. +The memory based clist (BAND_LIST_STORAGE=memory) was supplemented to better +track re-opening and allow for 'a' mode and avoid memory leak of the original +'base' named memfile structure. The customers mentioned above also use the +BAND_LIST_STORAGE=memory for performance reasons (realizing a 10% gain in +throughput over file based clist). </pre> -<p>[src/siscale.c]</p> +<p>[src/gxclmem.c src/gxclthrd.c src/gxclmem.h]</p> </blockquote> -<p><strong><a name="2008-03-03T160112.306842Z"></a> -2008-03-03T16:01:12.306842Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-07T192004.322235Z"></a> +2008-08-07T19:20:04.322235Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 3. +Fix (graphics) : Redundant patterns in clist (continued), DETAILS : -This really crops transparency compositor commands with bands -that are covered by the transparency bbox. - -Actually the statement above has one exception. When a transparency bbox -covers more that 2/3 of all bands, we still write the commands to -the "all bands" list for a shorter clist file. We noticed that -the clist playback time strongly depends on the file size. - -1. The new method gs_composite_type_procs_t::get_cropping -replies what bands are covered by the compositor. -When it gives a non-trivial result, clist_create_compositor -writes the compositor command to those bands, -which are covered with the cropping (Exception : -if too many bands are covered, it writes the command to -the "for all bands" list). - -2. Since some bands skip some compositor commands, -while clist reading the association of masks to groups -becomes more complex. Before this patch each group -was associates with the mask, which was created immediately -before it at same transparency stack level. -After this patch some groups may be skipped, so that -clist reader may recieve extra masks, because masks are -still use the container's group bbox. For skipping such extra masks -we provide a numeric identifier of a mask, which is named mask_id. -Here is how it works : - -2.1. All masks recieve serial numbers (mask_id) while clist writing. -2.2. Each mask command is written with its mask_id. -2.3. Each group command is writen with mask_id, - which belongs to the mask that is assocuated with the group. -2.4. While clist playback pdf14_pop_transparency_group checks whether - the mask amd the group have same mask_id. If not, the mask is extra - and it must be droped. -2.5. Note the old assiciation logic is still working, - and it may skip some masks as well. -2.6. If the rasterization happens with no clist, mask_id is always zero. - In this case the old logics is only working. - Maybe we'll provide non-zero values someday. -2.7. See comments in code for more details. - -3. The method gs_composite_type_procs_t::clist_compositor_write_update -is now some generalized. Before this patch it only updates the clist writer state -with the compositor features. With this patch it also adds -some information from the clist writer state to the compositor parameters. -Particularly it provides mask_id to the compositor command. -Thus now it updates *both* clist writer and the compositor parameters -to comply each another. For a while, in order to simplify the patch, -the compositor argument is still 'const'. Will need to fix someday. - -4. Now we need to save mask_id in a stack that reflects the -transparency nesting. The cropping stack, which was introduced -in the last patch, now works for that. To provide that -we add mask_id to clist_writer_cropping_buffer_s, -and use clist_writer_push_no_cropping to save amsk_id -over inner groups. - -5. state_update(ctm) in c_pdf14trans_clist_write_update is replaced -with code, which updates CTM from the transparency compositor command. -The old code is not fully correct, because it takes CTM from the imager state, -rather we havn't got prcatical cases when it gives a wrong result. - -6. drop_compositor_queue now calls adjust_ctm for compositors being dropped. -The old code is incorrect because it can miss a CTM update when -a compositor sets some CTM and later a non-compositor object -sets same CTM. In this case the clist writer skips the second CTM on writing, -and skipping the first in the clist reader will miss the CTM completely. -We haven't got practical cases for that. - -7. Improved some debug printing. - -</pre> -<p>[src/gxclist.c src/gdevdflt.c src/gdevp14.h src/gstrans.c src/gsalphac.c src/gxclist.h src/gxcomp.h src/gsovrc.c src/gstparam.h src/gstrans.h src/gxclrast.c src/gdevp14.c src/gxclpath.c src/gxclimag.c]</p> -</blockquote> - -<p><strong><a name="2008-03-03T115742.307384Z"></a> -2008-03-03T11:57:42.307384Z Igor Melichev</strong></p> -<blockquote> -<pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 2. +Bug 689995 "segfault with 09-34.PS" -DETAILS : +1. (the bug fix) A recent patch doesn't account patterns with no tile, +which represent an empty pattern. +This change inserts checks for empty tiles +and process them with no optimization (redundantly), +because they are small and are not cached. +See comments in code. -This is a preparation to the next step. +2. pcls->band_complexity.uses_color accummulated a pattern address bits instead +a real data. This bug was introduced when serializing colors to clist. +nevertheless this bug has no visible effect because 'pure' is overlayed with +a tile address, which can't be equal to 0 or 0xffffff. +So formally this part of the change is algorithmically equivalent, +but it is important for redability. -The patch introduces a transparency stack for clist writer, -which saves cropping when entering a transparency group, -and restores when exiting it. The cropping is being narrowed -with transparency group's bounding box. +Note that when serializing a pattern to clist, 'uses_color' is not properly +computed and needs further development. see new bug 689997. + +Minor change : removed the second call to gs_dc_get_pattern_id for a faster code. </pre> -<p>[src/gxclist.c src/gxcldev.h src/gxclist.h src/gdevp14.c src/gxclpath.c]</p> +<p>[src/gsptype1.c src/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-03-03T114233.253339Z"></a> -2008-03-03T11:42:33.253339Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-07T052008.759100Z"></a> +2008-08-07T05:20:08.759100Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1b. +A pointer to allocated memory was used before checking it for 0. This bug +was discovered by Klocwork static code analyzer. -DETAILS : +</pre> +<p>[src/scfd.c]</p> +</blockquote> -Removing non-ascii chars that was not detected by MSVC. +<p><strong><a name="2008-08-07T000214.784953Z"></a> +2008-08-07T00:02:14.784953Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the PSSRC dir to the includes of contrib devices that depend on +the ps interpreter so they can be build when that directory is different +from src. +</pre> +<p>[contrib/contrib.mak]</p> +</blockquote> +<p><strong><a name="2008-08-07T000213.283150Z"></a> +2008-08-07T00:02:13.283150Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter error codes in the gomni +device. </pre> -<p>[src/gdevp14.c]</p> +<p>[contrib/gomni.c]</p> </blockquote> -<p><strong><a name="2008-03-03T101301.196997Z"></a> -2008-03-03T10:13:01.196997Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-06T195707.199634Z"></a> +2008-08-06T19:57:07.199634Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1a. +Remove references to malloc/free memory management not used since r8192. +</pre> +<p>[src/lib.mak src/gsncdummy.c]</p> +</blockquote> -DETAILS : +<p><strong><a name="2008-08-06T195121.189161Z"></a> +2008-08-06T19:51:21.189161Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> -The last commitment is incomplete, now fixing. +<p><strong><a name="2008-08-06T194905.961384Z"></a> +2008-08-06T19:49:05.961384Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter-level rangecheck errors. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> +<p><strong><a name="2008-08-06T182820.524086Z"></a> +2008-08-06T18:28:20.524086Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a capability to select the first and last line to be emitted to the +output file. This was needed to support some customers (531 and 850) that +do something similar in their devices. Adds -dFirstLine=# and -dLastLine=# +to this device. Line numbers are from 0 to height-1, and may be in reverse +order. Probably not much use other than testing, but it doesn't hurt if it +is there. </pre> -<p>[src/gxclist.h]</p> +<p>[src/gdevbit.c]</p> </blockquote> -<p><strong><a name="2008-03-03T101127.428498Z"></a> -2008-03-03T10:11:27.428498Z Igor Melichev</strong></p> +<p><strong><a name="2008-08-06T072226.679682Z"></a> +2008-08-06T07:22:26.679682Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (clist) : Crop transparencsy commands while clist writing, step 1. +Fix (graphics) : Redundant patterns in clist. DETAILS : -This is a preparation to the next step. -In general, the behavior doesn't change, -but implementation details differ. +Bug 689865 "clist stores redundant patterns". -The old code maitains a flag cropping_by_y in the clist writer, -which triggers a cropping of objects by the Y axis. -The old code isn't perfect, because -it first crops by [cdev->cropping_min, cdev->cropping_max], -and then by [0, cdev->height]. +The change is pretty simple because the clist reader already implememnts +a pattern cache. We just add pattern id to gx_clist_state +and provide a short format (just the id) when writing and reading +a pattern color to/from clist at second time. A new function gs_dc_get_pattern_id +allows to access the pattern id through closures of color elements. -In the new code we unite both croppings into a single one. -For doing that we remove the flag, and provide -the right interval [cdev->cropping_min, cdev->cropping_max] -in any case. Initially it is [0, cdev->height}, -and it is narrowed when a shading bbox is set. -To restore the initial cropping after the shading -is complete, we maintain 2 new fields -save_croping_min and save_cropping_max. +Note it remembers up to 2 pattern ids for a band +(one for the specific band, and another for "all bands"). +A better way would be to remember all patterns cached for a band, +but it would need to save all cached ids individually for each band while clist writing. +We don't want to enlarge the clist writer storage now. -So now the cropping mechanizm does not depend -on shading, and clients may set a croping when they need. -We'll use this feature in the next patch. +Minor change : Some dependencies of gxclpath.c were missed in makefile. </pre> -<p>[src/gxclist.c src/gdevp14.c src/gxclpath.c src/gxclimag.c src/gxclrect.c]</p> +<p>[src/gsptype1.c src/lib.mak src/gsptype1.h src/gxcldev.h src/gxclpath.c]</p> </blockquote> -<p><strong><a name="2008-03-03T040351.374416Z"></a> -2008-03-03T04:03:51.374416Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-08-06T062444.864622Z"></a> +2008-08-06T06:24:44.864622Z Igor Melichev</strong></p> <blockquote> <pre> +Fix (graphics) : Memory leak from Indexed color space. -Fix for compression always falling back to no compression in -pclxl_write_image_data(), bug 689732. - -Details: +DETAILS : -After much tracing of srle.c and gdevpx.c I believe this bug is in -the portion of s_RLE_process() that looks ahead in order to be able -to optimally compress the data. Rather than attempting to modify the -function and probably breaking something else I'm taking the 99% solution -and just calling s_RLE_process with last set to true instead of false. -This disables the look ahead feature, presumably making the compression -very slightly suboptimal but at least now it works. +Bug 689990 "pcl6.exe crash with gs revision 8928". -This change results in pxl files that are significantly smaller than -before (i.e. the test file associated with bug 689595 is reduced in size -from 1.1 megs to 387k). +This change partially unwinds the revision 8928 change +and reopens the bug 89822 "Memory leaks during rendering clist." +See comment in code. </pre> -<p>[src/gdevpx.c]</p> +<p>[src/gscolor2.c]</p> </blockquote> -<p><strong><a name="2008-03-03T025705.472235Z"></a> -2008-03-03T02:57:05.472235Z Ray Johnston</strong></p> +<p><strong><a name="2008-08-05T204434.621109Z"></a> +2008-08-05T20:44:34.621109Z Ralph Giles</strong></p> <blockquote> <pre> -Fix properties +Move pointer dereferences to after the NULL check. + </pre> -<p>[src/psromfs.mak src/gsromfs0.c]</p> +<p>[src/ttobjs.c]</p> </blockquote> -<p><strong><a name="2008-03-03T011709.063617Z"></a> -2008-03-03T01:17:09.063617Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2008-08-03T175446.281366Z"></a> +2008-08-03T17:54:46.281366Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fall back to using gx_default_copy_mono() in pclxl_copy_mono() if data_x!=0. - -Details: +Detect and reject PDF files with circular references in the page tree. +Avoid an infinite loop. Bug 689954. -Fixes bug 688992. Will increase the size of the generated PXL file in some cases; a better solution would be to modify the pclxl_write_image_data()function to handle data_x!=0. +</pre> +<p>[lib/pdf_main.ps]</p> +</blockquote> -Expected regressions: +<p><strong><a name="2008-08-03T172340.990280Z"></a> +2008-08-03T17:23:40.990280Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update ignore list for the ijs directory. +</pre> +<p>[ijs]</p> +</blockquote> -None, pxlmono isn't covered in the regression suite. +<p><strong><a name="2008-08-03T171710.771824Z"></a> +2008-08-03T17:17:10.771824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the cairo minimum version check introduced in r8929. </pre> -<p>[src/gdevpx.c]</p> +<p>[src/configure.ac]</p> </blockquote> -<p><strong><a name="2008-03-01T101820.389016Z"></a> -2008-03-01T10:18:20.389016Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-03T163042.166329Z"></a> +2008-08-03T16:30:42.166329Z Igor Melichev</strong></p> <blockquote> <pre> -Fix (pdfwrite): problems with type 3 fonts executing 'show'. +Fix (graphics) : A slow stroking with big patterns. -Details: -Bug #689685 "OpenType font incorrectly converted to PDF". +DETAILS : -The File is from Quark XPress and contains a type 3 font which -executes a 'show' and a 'charpath stroke' with a glyph from a type -1 font. Further, it executes a 'charpath' on this type 3 glyph. +Bug 689966 "c329.bin hang with bitcmyk in clist code". -Pdfwrite was unaware, when processing the 'show' that this was -inside a charpath operation, and emitted the shown glyph. -Modified pdfwrtite to be aware that a charpath is in operation, and -to have the graphics library handle any show operations. +1. The stroking algorithm includes a branch for a 'faster' rasterizing +with an idempotential color. That branch paints each stroke independently of others. +However that branch doesn't apply an optimization for big patterns, +which the general filling algorithm implements. It caused the too slow rendering, +because a clist-based pattern is played back for each parallelogram. +This change disables the 'faster' srtoking with big patterns, +so that the faster filling algorithm works fine for stroking. -(gdevpdfx.h) Add a new flag 'type3charpath' to the gx_device_pdf - structure. +2. Revert the revision 8851 change, which was a temporary workaround for the problem, +The default value for MAX_PATTERN_BITMAP_SIZE is now restored back to 1Mb. -(gdevpdfb.h) Add an initialiser for the type3charpath flag (also for - the last_charpath_op which was missed in that change) +</pre> +<p>[src/lib.mak src/gxpcmap.c src/gxstroke.c]</p> +</blockquote> -(gdevpdtt.c) In gdev_pdf_text_begin, if type3charpath is true, go -straight to the default text processing. Otherwise, check to see -if this is a type 3 font, and the operation is 'charpath'. If so -then create a pdfwrite text enumerator to process the text. +<p><strong><a name="2008-08-03T154758.770546Z"></a> +2008-08-03T15:47:58.770546Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Cairo device requires at least v. 1.2.0 of the Cairo library to build. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-03T122641.949878Z"></a> +2008-08-03T12:26:41.949878Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Memory leak from Indexed color space. -In pdf_text_process, if we have a type 3 font, the operation is charpath -and type3charpath is false, set it to true and go straight to the -default text handler. When the enumerator is completed, if type3charpath -is true, set it to false. +DETAILS : + +Bug 689822 "Memory leaks during rendering clist." -In pdf_text_process, while handling text, do not start accumulating a -charparoc if type3charpath is set. +The finalize function doesn't release 'table, +which is allocated when use_proc == 1. -Finally, in pdf_text_set_cache, if type3charpath is set, simply execute -the standard cache routine. +Minor change : improved a debug printing in gsmchunk.c : +A meanful name is better than an unknown address. + </pre> -<p>[src/gdevpdfx.h src/gdevpdtt.c src/gdevpdfb.h src/gdevpdti.c]</p> +<p>[src/gsmchunk.c src/gscolor2.c]</p> </blockquote> -<p><strong><a name="2008-03-01T101502.847745Z"></a> -2008-03-01T10:15:02.847745Z Ken Sharp</strong></p> +<p><strong><a name="2008-08-03T122539.705021Z"></a> +2008-08-03T12:25:39.705021Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (pdfwrite): problems with type 3 fonts executing 'show'. +Give a name to a continuation operator %ztoken_continue to avoid printing +its address, which varies between builds and causes spurious regression +reports. -Details: -Bug #689687 "Regression: pdfwrite DEVICE produces bad text". +</pre> +<p>[src/ztoken.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T074959.678670Z"></a> +2008-08-03T07:49:59.678670Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build, which was broken because it was trying to use the +Windows synchronisation code. +While OS/2 does support thread synchronsation, there is no ghostscript +implementation for the OS/2 platform, and no interest in writing one. +</pre> +<p>[src/os2.mak]</p> +</blockquote> -The File is from Quark XPress and contains a type 3 font which -executes a 'show' and a 'charpath stroke' with a glyph from a type -1 font. +<p><strong><a name="2008-08-02T151041.076927Z"></a> +2008-08-02T15:10:41.076927Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace a conditional expression with an 'if' statement. The former +requires a prototype for mkstemp64() that is not available on AIX. -The code for revision 8265 converts these into a '2 Tr' in the -PDF file. However, I missed the case of this occuring inside a font, -resulting in much too large a strokewidth being set. This code takes -account of the font matrix. +</pre> +<p>[src/gp_unifs.c]</p> +</blockquote> -NB there is still a potential problem. There is no way currently to tell -the difference between a charproc which explicitly sets a stroke width -and one which inherits it from the prevailing graphics state. Currently -we will write a font which always emits the stroke width at the time -the font was first used. There is no simple way to address this, we -could set the stroke width to an invalid value during the course of a type -3 glyph, and check it before emitting the stroke, but this is dangerous. +<p><strong><a name="2008-08-01T214344.587346Z"></a> +2008-08-01T21:43:44.587346Z Ralph Giles</strong></p> +<blockquote> +<pre> +Document needing to remove autom4te.cache from the jasper directory. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> -However, this seems unlikely to be a real problem in practice, since altering -the stroke width outside the font might result in unpredictable widths -dependent on the point size. I have chosen not to open a bug for the -possible condition at this time. +<p><strong><a name="2008-08-01T214342.361706Z"></a> +2008-08-01T21:43:42.361706Z Ralph Giles</strong></p> +<blockquote> +<pre> +We can no longer run the full build with -dBufferSpace=100000. The +minimum to complete the smoke test seems to be around 120000, but +use 200000 as future insurance. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-01T205740.076512Z"></a> +2008-08-01T20:57:40.076512Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reduce heap size limit (/Zm) on MSVC6 to fix internal compiler error +when COMPILE_INITS=1. +</pre> +<p>[src/msvccmd.mak]</p> +</blockquote> -(gdevpdfd.c) gdev_pdf_stroke_path, if we are converting to a PDF text -rendering mode, and are inside a type 3 font glyph description, take the -font matrix into account when calculating the strokewidth. +<p><strong><a name="2008-08-01T205500.712414Z"></a> +2008-08-01T20:55:00.712414Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a mapping of commit ids to author names. +This is used by split_changelog.py to do the replacement when building +the History files. The changes to that script to make use of this file +were inadvertently included in r8917. +</pre> +<p>[doc/AUTHORS]</p> +</blockquote> + +<p><strong><a name="2008-08-01T202216.068978Z"></a> +2008-08-01T20:22:16.068978Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump the version and product name post-release. </pre> -<p>[src/gdevpdfd.c]</p> +<p>[doc/News.htm toolbin/split_changelog.py lib/gs_init.ps src/gscdef.c src/version.mak]</p> </blockquote> -<p><strong><a name="2008-03-01T014204.749356Z"></a> -2008-03-01T01:42:04.749356Z Ralph Giles</strong></p> +<p><strong><a name="2008-08-01T180818.641815Z"></a> +2008-08-01T18:08:18.641815Z Ralph Giles</strong></p> <blockquote> <pre> -Bump the revision after the 8.62 release. +Update change logs for the 8.53 release. </pre> -<p>[doc/News.htm lib/gs_init.ps src/gscdef.c src/version.mak]</p> +<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> </blockquote> </body> </html> diff --git a/gs/doc/Details8.htm b/gs/doc/Details8.htm index 79248e9ea..322a7bf5e 100644 --- a/gs/doc/Details8.htm +++ b/gs/doc/Details8.htm @@ -29,6 +29,7 @@ <h2>Table of contents</h2> <blockquote><ul> +<li><a href="#Version8.64">Version 8.64 (2009-01-26)</a> <li><a href="#Version8.63">Version 8.63 (2008-08-01)</a> <li><a href="#Version8.62">Version 8.62 (2008-02-29)</a> <li><a href="#Version8.61">Version 8.61 (2007-11-21)</a> @@ -90,6 +91,5484 @@ overview</a>. <!-- [2.0 begin contents] ================================================== --> +<h2><a name="Version8.64"></a>Version 8.64 (2009-01-26)</h2> + +<p> +This is a release candidate for testing. + +<p> +This is the fifth scheduled release in the stable Ghostscript 8.6x +series. + +<p> +Approximately 100 bugs have been fixed since the 8.63 release. + +<p> +Of particular note in this release are improvements to overprint and +spot color support in documents with transparency, improvements to PDF +and PS output, proper handling of PDF-specific text rendering modes and +support for reading AES-encrypted PDF documents. + +<p> +Also improved is handling of CJK text, especially in vertical writing +modes, memory footprint processing some files at high resolution and +support for using the system's default paper size on unix. + +<p> +The interpreter's handling of color spaces has been moved from +PostScript code to C. + +<p> The following <a href="http://bugs.ghostscript.com/">bugs</a> were +open at the time of the last release: <blockquote> +226943, +430175, +465936, +493348, +535932, +578865, +614298, +626295, +686853, +686865, +687011, +687084, +687095, +687146, +687193, +687257, +687271, +687280, +687295, +687297, +687303, +687327, +687375, +687414, +687475, +687492, +687514, +687520, +687536, +687561, +687593, +687608, +687630, +687650, +687666, +687674, +687677, +687695, +687697, +687702, +687715, +687721, +687728, +687731, +687775, +687780, +687782, +687793, +687796, +687805, +687850, +687887, +687903, +687904, +687915, +687931, +687950, +687981, +687983, +688007, +688022, +688024, +688026, +688032, +688036, +688042, +688061, +688064, +688081, +688130, +688166, +688184, +688187, +688204, +688210, +688215, +688227, +688267, +688269, +688280, +688288, +688312, +688318, +688320, +688333, +688342, +688361, +688363, +688372, +688386, +688387, +688389, +688395, +688413, +688436, +688437, +688440, +688448, +688473, +688475, +688483, +688495, +688500, +688515, +688528, +688533, +688539, +688540, +688542, +688557, +688565, +688580, +688581, +688601, +688604, +688605, +688607, +688616, +688617, +688627, +688636, +688638, +688647, +688651, +688655, +688673, +688699, +688708, +688709, +688710, +688714, +688728, +688731, +688736, +688757, +688777, +688797, +688818, +688829, +688843, +688846, +688871, +688872, +688908, +688918, +688919, +688926, +688933, +688942, +688949, +688958, +688969, +688978, +688990, +688994, +688999, +689003, +689011, +689013, +689025, +689028, +689031, +689032, +689040, +689044, +689046, +689048, +689057, +689060, +689070, +689076, +689077, +689078, +689081, +689093, +689094, +689098, +689133, +689137, +689145, +689150, +689153, +689161, +689167, +689174, +689184, +689188, +689195, +689198, +689199, +689209, +689222, +689224, +689236, +689247, +689248, +689252, +689253, +689278, +689279, +689280, +689283, +689289, +689290, +689295, +689308, +689331, +689335, +689340, +689341, +689361, +689370, +689376, +689378, +689392, +689396, +689418, +689419, +689421, +689422, +689423, +689438, +689439, +689450, +689451, +689456, +689460, +689471, +689484, +689487, +689489, +689490, +689498, +689500, +689502, +689506, +689507, +689512, +689518, +689522, +689546, +689547, +689549, +689554, +689557, +689560, +689561, +689563, +689566, +689571, +689573, +689574, +689581, +689584, +689585, +689591, +689592, +689595, +689598, +689601, +689606, +689610, +689616, +689623, +689625, +689627, +689632, +689636, +689641, +689653, +689657, +689658, +689663, +689670, +689674, +689681, +689682, +689684, +689689, +689690, +689691, +689697, +689698, +689704, +689705, +689709, +689710, +689711, +689715, +689721, +689725, +689726, +689727, +689734, +689737, +689741, +689747, +689752, +689756, +689759, +689760, +689761, +689767, +689769, +689772, +689775, +689778, +689781, +689786, +689792, +689793, +689794, +689799, +689801, +689805, +689808, +689817, +689822, +689823, +689826, +689835, +689836, +689840, +689853, +689856, +689858, +689859, +689860, +689861, +689862, +689868, +689869, +689870, +689871, +689878, +689883, +689885, +689910, +689915, +689916, +689917, +689928, +689929, +689930, +689931, +689933, +689937, +689938, +689939, +689940, +689941, +689942, +689943, +689947, +689950, +689951, +689952, +689957, +689968, +689969, +689972, +689974, +689980, +689986, +689991, +689996, +689997, +690003, +690005, +690006, +690007, +690009, +690020, +690022, +690024, +690025, +690026, +690029, +690033, +690036, +690043, +690047, +690051, +690053, +690054, +690056, +690057, +690058, +690061, +690066, +690068, +690069, +690073, +690081, +690083, +690084, +690085, +690093, +690094, +690098, +690100, +690102, +690110, +690115, +690119, +690123, +690125, +690126, +690131, +690132, +690137, +690143, +690146, +690157, +690160, +690162, +690170, +690171, +690174, +690176, +690180, +690183, +690184, +690185, +690189, +690191, +690192, +690199, +690200, +690203, +690207, +690208, +690209, +690212, +690213, +690214, +690216, +690218, +690222, +690224, +690225, +690226, +690229, +690230, +690232, +690233, +690234, +690235, +690237, +690238, +690239, +690240, +690241, +690246, +690247, +690248, +690249, +690250, +690251, +690253. +</blockquote> + +<h3><a name="8.64_Incompatible_changes"></a>Incompatible changes</h3> + +<p> +There are known issues with the x11alpha device in this release. +Multipage documents may do properly clear the page area between pages, +and some images render as white rectangles or fail completely with an +error. This is an outstanding bug, rather than a permanent change. +Pass -sDEVICE=x11 as a work around for these issues. + +<p> +In this release the C source files have been split into two new +directories. Interpreter source files are now in <tt>psi</tt> and the +graphics library and output devices are now in <tt>base</tt>. Previously +everything was in <tt>src</tt>. This may cause problems with existing +references in external build files or when applying patches generated +against an older version. + +<p> +The compiled in font set in Resource/Fonts has been updated to the +version from the 8.11 release. This is the same set which was +recommended prior to the 8.63. + +<h3><a name="8.64_changelog"></a>Changelog</h3> + +<p><strong><a name="2009-01-26T185939.072673Z"></a> +2009-01-26T18:59:39.072673Z Ralph Giles</strong></p> +<blockquote> +<pre> +Release notes for 8.64rc1. +</pre> +<p>[doc/News.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180553.102397Z"></a> +2009-01-26T18:05:53.102397Z Ralph Giles</strong></p> +<blockquote> +<pre> +Propagate release number and date to the documentation. +</pre> +<p>[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/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]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180416.208144Z"></a> +2009-01-26T18:04:16.208144Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump release numbers and copyright dates for 8.64rc1. +</pre> +<p>[base/gscdef.c base/version.mak doc/News.htm psi/dwsetup.rc psi/winint.mak doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180243.525231Z"></a> +2009-01-26T18:02:43.525231Z Ralph Giles</strong></p> +<blockquote> +<pre> +Work around an issue with comment parsing in the pre.tcl release script. + +My tclsh seems to be broken. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180241.107170Z"></a> +2009-01-26T18:02:41.107170Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new source locations. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180237.633990Z"></a> +2009-01-26T18:02:37.633990Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new gs_init.ps location. + +The essential ps library files were moved from lib to Resource/Init for +clarity and simpler behavior with compile-inits. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T173336.155851Z"></a> +2009-01-26T17:33:36.155851Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pswrite): Incorrect PageBoundingBox comment location + +Details: +The new %%PageBoundingBox comment was being emitted between a %%BeginPageSetup and %%EndPageSetup comment pair, which was causing it to be ignored by CUPS. + +Moved the bounding box in front of the page setup comment + +</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> + +<p><strong><a name="2009-01-26T171647.546837Z"></a> +2009-01-26T17:16:47.546837Z Ken Sharp</strong></p> +<blockquote> +<pre> +Yet more tidying up in the batch file. Adds release builds to the solution, better directory handling, a usage comment in the batch file and, if invoked without parameters, a usage printout for the user.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2009-01-25T065945.428302Z"></a> +2009-01-25T06:59:45.428302Z Ralph Giles</strong></p> +<blockquote> +<pre> +Make the GS_SPLIT_LIBS configure function only recognize -l at the start +of an argument, to avoid false positives from hyphens inside linker +arguments. Bug 690254. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-24T093146.808669Z"></a> +2009-01-24T09:31:46.808669Z Ken Sharp</strong></p> +<blockquote> +<pre> +This batch file, to generate a MSVC solution for building GS, was invalidated by the source re-organisation, and the inclusion of the resources in a ROM file system. + +Fixed various aspects so that it now works again, basically.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2009-01-24T090550.373013Z"></a> +2009-01-24T09:05:50.373013Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a check when comparing clip paths to see if both are NULL. Silences a Coverity warning and one day might conceivably prevent a crash.</pre> +<p>[base/gdevpdfd.c]</p> +</blockquote> + +<p><strong><a name="2009-01-23T225302.093705Z"></a> +2009-01-23T22:53:02.093705Z Ralph Giles</strong></p> +<blockquote> +<pre> +Convert 24 bit RGB data to grayscale when printing in monochrome with +eplaser device. Previously the RGB data was sent as is, resulting in +a stretched and truncated page image. + +Patch from Olaf Meeuwissen. Bug 690252. +</pre> +<p>[contrib/eplaser/gdevescv.c]</p> +</blockquote> + +<p><strong><a name="2009-01-23T190440.484432Z"></a> +2009-01-23T19:04:40.484432Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Continue the the fix from rev. 9384, plug 2 more ways that caused multiple +inclusion of page objects into the linearized file. Bug 690140, customer 932. + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-23T031005.467096Z"></a> +2009-01-23T03:10:05.467096Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use the page parameters set on the X11 device when called by Ghostview. + +This patch allows gv to control the output page parameters, overriding +document and gs default settings. Since it has been tested in the +Debian distribution and is contingent on being wrapped by the viewer, +I consider it low risk. + +Original patch by William Bader. Bug 688943. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T135318.843673Z"></a> +2009-01-22T13:53:18.843673Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise two uninitialised variables. Not thought to be a real problem, but worth making certain. Flagged by Coverity.</pre> +<p>[base/gdevpsf1.c base/gdevpsfx.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T131507.920292Z"></a> +2009-01-22T13:15:07.920292Z Ken Sharp</strong></p> +<blockquote> +<pre> +Check the return value of gdev_prepare_stroke. Another warning from Coverity. +</pre> +<p>[base/gdevps.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T025301.653019Z"></a> +2009-01-22T02:53:01.653019Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix multiple inclusion of page objects referenced from beads array. +Bug 690140, customer 932. + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-22T014831.483983Z"></a> +2009-01-22T01:48:31.483983Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix for Segfault with tiffsep devics when a file has more than 64 spot colors +and uses transparency. Clean up indentations to C-style. Problem seen with +Bug 690157. + +DETAILS: + +The number of channels needed in the pdf14 device is one greater than the +number of separations, to allow for the alpha channel (gxblend.h) and the +'comps' variable needs to be at a gx_color_index size to avoid truncation. + +Note that the output from tiffsep and psdcmyk is still incorrect -- there +is a gray background in the black channel that is not expected. Also, the +color swatches defined as Alternate colors do not appear in the output, +only the Separations and the device (process) colors. + +Also note that this does not address comment #5 from bug 690157 since the +default behavior when the maximum number of separations is reached is to +silently use the Alternate color. + +This patch is primarily designed to cure the segfault (buffer OOB) issue. +</pre> +<p>[base/gdevp14.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2009-01-22T011735.554315Z"></a> +2009-01-22T01:17:35.554315Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check for and skip null objects (and other junk) in the /Anots array. +Bug 690244. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-21T153455.892148Z"></a> +2009-01-21T15:34:55.892148Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a couple of error return checks which were missing. Picked up by Coverity.</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T111305.930829Z"></a> +2009-01-19T11:13:05.930829Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 8951 missed an important part of the fix for pswrite, emitting a %%PageBoundingBox for each +page of the output.</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T094756.340575Z"></a> +2009-01-19T09:47:56.340575Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pswrite): %%BoundingBox comment geenration + (ps2write): media selection and %%BoundingBox generation + +Details: +bug #690236 "Ghostscript is not able to convert PDF to PostScript +maintaining the input document's page sizes" + +The pswrite bug is actually in the consuming applications, which are unable to +process the media selection requests in the pswrite output and instead use DSC +comments to select the media. pswrite attempts to use the bbox deice to generate a +%%BoundingBox comment, but because this is a high-level device, no marks are made, so +the BoundingBox is 0 0 0 0. + +Fixed by using the media size instead if this case is detected. + + +ps2write did not generate a %%BoundingBox, or any other DSC comment at all, because it +does not produce DSC PostScript (there is a request to address this already #690064). +Also the media selection in the ps2write output is disabled by default, forcing users +to find some means to set particular keys in userdict on the target device. + +Fixed by emitting a %%BoundingBox equal to the media size of the first page (NB as +this is not DSC, other pages will be selected incorrectly if this is all the +application uses). Also allow the use of the /SetPageSize, /RotatePages and /FitPages +keys during ps2write processing to emit a PostScript file with these keys already +set, thus allowing media selection to take place without further user intervention. + +</pre> +<p>[doc/Ps2ps2.htm base/gdevpdfx.h base/gdevpsu.c base/gdevpdfp.c base/gdevpdfu.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2009-01-18T195758.223740Z"></a> +2009-01-18T19:57:58.223740Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass +correct device type to prn_device_body() macro. thanks to Wendy for the patch. + +</pre> +<p>[base/gdevifno.c]</p> +</blockquote> + +<p><strong><a name="2009-01-16T183848.474888Z"></a> +2009-01-16T18:38:48.474888Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Invalid metadata for PDF/A output + +Details: +bug #690046 "Ghostscript doesn't produce valid PDF/A-1B files" + +Now that we have an example file, the remaining issues are resolved: + +1) The recommended tags for font metadata in the ISO spec are not present in the XMP schema, resulting in Acrobat preflight complaining. Distiller does not (and never has, apparently) write font metadata for PDF/A files, and the spec says only that files 'should' contain metadata. For now we disable writing font metadata to match Distiller. + +2) When converting TrueType fonts into CIDFonts, for PDF/A compatability, we must also write a CIDSet resource. The code was creating and initialising a table containing an explicit 256 entries, but the CIDSet resource was writing as many entries as there are glyphs in the base font. If this was larger we wrote uninitialised data to the CIDSet. Altererd to create and initialise a table the size of the number of glyphs in the base font. + +</pre> +<p>[base/gdevpdtd.c base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-16T050344.102465Z"></a> +2009-01-16T05:03:44.102465Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the font api bridge implementations to the psi directory. + +Bug 690231, fixes the language switch build with ufst. + +These are referenced from int.mak and depend on interpreter-level +headers. So while the font api should be part of the graphics library, +these files actually belong in the interpreter. +</pre> +<p>[psi/fapi_ft.c base/fapiufst.c psi/fapiufst.c base/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2009-01-15T152239.193218Z"></a> +2009-01-15T15:22:39.193218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update a comment to say why the minimum file size is 4KB</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-15T152015.993430Z"></a> +2009-01-15T15:20:15.993430Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfopt): Minimum optimised file size changed in Acrobat 9 + +Details: +bug #690210 "Inconsistent "fast web view' results" + +It seems Acrobat 9 will decide that any file less than 4Kb in size is not optimised for fast web view, regardless of content. Previous versions of Acrobat insisted on a minimum of 1Kb. + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-15T091600.166572Z"></a> +2009-01-15T09:16:00.166572Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) + +Details: +revision 9346 sets the about member of the XMP metadata to empty ("") unconditionally, this should only be done when writing PDF/A files. + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-15T075213.786371Z"></a> +2009-01-15T07:52:13.786371Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix compilation on Windows NT, which doesn't define LOCALE_IPAPERSIZE. + +</pre> +<p>[base/gp_wpapr.c]</p> +</blockquote> + +<p><strong><a name="2009-01-14T225856.327548Z"></a> +2009-01-14T22:58:56.327548Z Ralph Giles</strong></p> +<blockquote> +<pre> +Check for a null target_info in bbox_image_end_image before +trying to free it. Fixes bug 680019. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2009-01-14T111524.692365Z"></a> +2009-01-14T11:15:24.692365Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 7). + +DETAILS : + +Bug 690228 "pcl6 regression". + +Don't write a pattern in the short form (just tile id) +to the "all bands" list if some bands don't store same tile id. +Otherwise those bands would be confused and try to call pattern_load, +which is not supported while a clist playback. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2009-01-13T221721.104569Z"></a> +2009-01-13T22:17:21.104569Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Return 0 when accessing Type1C font table out of range or the table is too +short and display a warning if possible. Bug 690050, customer 353. + +DETAILS: +Old code smashed the stack when operator read was unsuccessful and failed +shortly afterwards. New code tolerates PDF files produced by 'Exstream +Dialogue', which have Type1C fonts with overlapping tables, which Ghostscript +shortens to non-overlapping length. Thanks to Ray for the origimal patch. + +</pre> +<p>[Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-13T183837.869412Z"></a> +2009-01-13T18:38:37.869412Z Ray Johnston</strong></p> +<blockquote> +<pre> +Revert .outputattrkeys to the list prior to rev 8026 to fix problems with +Duplex introduced with that change. Bug 690041. + +</pre> +<p>[Resource/Init/gs_setpd.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-12T193358.722824Z"></a> +2009-01-12T19:33:58.722824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a gcc warning in gxshade6.c. + +When VD_TRACE is not defined, vdtrace.h defines most of its operations +as DO_NOTHING, but with was not done for vd_restore and vd_disable, +causing compiler warnings in gxshade6.c, where vd_disable is called +as the sole body of an if() statement. + +Bug 690204. +</pre> +<p>[base/vdtrace.h]</p> +</blockquote> + +<p><strong><a name="2009-01-12T165159.689070Z"></a> +2009-01-12T16:51:59.689070Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Invalid metadata for PDF/A output + +Details: +bug #690046 "Ghostscript doesn't produce valid PDF/A-1B files" + +This does not, unfortunately, address some of the issues raised in the bug report, +without a sample PostScript file to work from these cannot currently be addressed. + +However, there were significant problems with the XMP metadata being written: +1) The rdf attribute 'about' has changed, it is no longer recommended to use a UUID, +it should be left empty or formatted as a URI. Altered to empty. +2) The Adobe parser does not like mix and match of attributes and properties, if we +are setting properties, we can't use (at least some) attributes. +3) The preferred schema namespace prefix for the XMP basic schema is now 'xmp' not +'xap'. +4) Date syntax was incorrect for GMT. XMP specifies *either* 'Z' *or* +/-hh:mm. We +were writing 'Z00:00' (that is, both alternatives). + +Also added support for the /Subject and /Keywords elements of the Document Info +dictionary, if these are present, as per the patch from Florian Haenel. + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-10T221118.954264Z"></a> +2009-01-10T22:11:18.954264Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Add "-sstdout=%stderr" to scripts that call gs so that they don't corrupt their own output when outputing to stdout (Thanks to Dan Sheridan (djs at adelard dot com), Ubuntu bug #314439). + +</pre> +<p>[lib/eps2eps lib/ps2pdfwr lib/ps2ps lib/ps2ps2 lib/dvipdf]</p> +</blockquote> + +<p><strong><a name="2009-01-09T085340.554994Z"></a> +2009-01-09T08:53:40.554994Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added support for GNU Hurd (patch from Debian package). +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-09T002818.396434Z"></a> +2009-01-09T00:28:18.396434Z Ray Johnston</strong></p> +<blockquote> +<pre> +Correct very minor typo. +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-08T212855.852108Z"></a> +2009-01-08T21:28:55.852108Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Small correction on ./configure magic for libpaper. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-08T125135.348058Z"></a> +2009-01-08T12:51:35.348058Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added auto-detection for libpaper to the configure script +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-08T124328.851914Z"></a> +2009-01-08T12:43:28.851914Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (TT font handler) : Wrong glyph posiitions with vertical writing mode (continued). + +DETAILS : + +Bug 689304 "improper handling of vertical japanese text". + +This is fourth partial patch for the bug 689304. +It adds a code for processing CoverageFormat2, +which is used by IPAfont00203. + +Besides that, in the old CoverageFormat1 code +subst.GlyphCount was used instead cov.GlyphCount . +It didn't cause a problem because (we guess) +normally they are equal. + +The field CoverageFormat2::RangeRecord is renamed into +RangeArray to avoid possible conflict with same name for +a structure type. Rather it is a correct C, +we're not sure that all compilers accept it with no warning. + +</pre> +<p>[base/gstype42.c]</p> +</blockquote> + +<p><strong><a name="2009-01-08T091718.162362Z"></a> +2009-01-08T09:17:18.162362Z Russell Lang</strong></p> +<blockquote> +<pre> +Automatically select the default paper size from the locale +on the Windows platform, and make provision for doing this +on Linux. + +DETAILS: +This adds a new platform function gp_defaultpapersize and a new +operator .defaultpapersize. +In order of priority, the paper size is set from PAPERSIZE, +DEFAULTPAPERSIZE, .defaultpapersize, or the compiled in +device paper size. + +It has been tested on Windows 98, XP and Vista. +</pre> +<p>[base/openvms.mmk base/lib.mak base/gp_paper.c doc/Use.htm doc/Develop.htm base/unix-aux.mak base/macos-mcp.mak psi/zmisc.c psi/os2.mak base/winlib.mak base/watclib.mak base/gp.h Resource/Init/gs_init.ps base/openvms.mak base/gp_upapr.c base/gp_wpapr.c doc/Language.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-08T080441.159684Z"></a> +2009-01-08T08:04:41.159684Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix stackunderflow when specified PAPERSIZE is unknown. +Ghostscript will now use the device default page size when +PAPERSIZE is unknown. +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-07T173655.528046Z"></a> +2009-01-07T17:36:55.528046Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprinting with transparency. This fixes bugs related to the lack of overprint support when there is transparency present in the file. + +DETAILS: Previously if a sep device is used when processing a file that contains both transparency and overprinting, the overprinted colors would blow away the other sep colors. In this commit, there was one fix to improper geometry in pfd14_cmykspot_put_image. The remaining changes involved 1) passing overprint compositor actions to the pdf14 device, which occurs during the clist reading phase (in pdf14_create_compositor) 2) adding over_print and overprint mode to the pdf14 clist parameters (this follows the same process that is currently done for text knockout, blend mode etc) and 3) adding the actual fill support in pdf14_mark_fill_rectangle. + +EXPECTED DIFFERENCES: In the regression tests Bug688631.pdf and Bug690206.pdf will have slight differences due to the blending of spot colors when the color space is subtractive. This matches what is seen in AR.</pre> +<p>[base/gdevp14.c base/gdevp14.h base/gstrans.h]</p> +</blockquote> + +<p><strong><a name="2009-01-07T083314.825057Z"></a> +2009-01-07T08:33:14.825057Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (PDF Interpreter): Default Unicode decoding clashing with ToUnicode CMap + +Details: +bug #690190 "Problem with -dProvideUnicode" + +The ProvideUnicode switch creates a (read only) default Unicode decoding resource, presumably to use as a default ToUnicode Cmap when creating PDF files. + +This interferes with PDF files which contain a real ToUnicode CMap, as the resource is read only and so cannot be updated with the content of the ToUnicode CMap. + +Fixed by checking to see if the GlyphNamesToUnicode dictionary is writeable, and if it is not, creating a new one, when processing a ToUnicode CMap. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-06T143801.194845Z"></a> +2009-01-06T14:38:01.194845Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Missing glyphs in CIDFont causing errors. + +Details: +Bug #690139: "Regression: Error writing PDF file: Missing glyph CID=0 in Bug689614.pdf". + +When we find that a string in a PDF file uses a glyph which is not present in the current CIDFont we substitute the .notdef glyph (CID=0). However, if we do not have a width for the .notdef (this is the first missing glyph) we proceed to get one, and then attempt to run the CDevProc for the font. + +This, unfortunately, attempts to use the original (missing) glyph, and so fails with a rangecheck error. Added a check to catch this condition and skip the CDevProc and caching. + +Also improved the error message slightly. + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2009-01-06T141130.802229Z"></a> +2009-01-06T14:11:30.802229Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PDF interpreter) : A more explanatory message when a CID font is missing. + +DETAILS : + +Bug 688770 "/undefinedresource in --findresource--". + +The patch prints which CID font is missing, +and a better explanation about CID font substitution and +about the related exit with error. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-05T171701.015629Z"></a> +2009-01-05T17:17:01.015629Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Removed old code that failed in 2009. +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2009-01-05T140204.227069Z"></a> +2009-01-05T14:02:04.227069Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added examples of PostScript files with CJK text +</pre> +<p>[examples/cjk examples/cjk/all_ag1.ps examples/cjk/iso2022.ps examples/cjk/all_aj1.ps examples/cjk/all_aj2.ps examples/cjk/all_ak1.ps examples/cjk/gscjk_ac.ps examples/cjk/iso2022v.ps examples/cjk/gscjk_ag.ps examples/cjk/gscjk_aj.ps examples/cjk/all_ac1.ps examples/cjk/article9.ps examples/cjk/gscjk_ak.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-05T103413.766328Z"></a> +2009-01-05T10:34:13.766328Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Accidentally committed an obsolete patch. Reverted. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T202047.824575Z"></a> +2009-01-04T20:20:47.824575Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix sigbus/segfaults on sparc, hppa, etc. Debian bug 453903. + +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453903 for details. + +</pre> +<p>[psi/store.h]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201519.267170Z"></a> +2009-01-04T20:15:19.267170Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Improved man pages of ps2pdf. +</pre> +<p>[man/ps2pdf.1 man/de/ps2pdf.1]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201328.072664Z"></a> +2009-01-04T20:13:28.072664Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed syntax error in gs.css. +</pre> +<p>[doc/gs.css]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201157.725211Z"></a> +2009-01-04T20:11:57.725211Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Assorted script fixes. +</pre> +<p>[lib/ps2epsi lib/dumphint lib/dvipdf]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200704.350954Z"></a> +2009-01-04T20:07:04.350954Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix insecure script in toolbin. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200541.434499Z"></a> +2009-01-04T20:05:41.434499Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Typo fixes in "gs" man page. +</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200338.607601Z"></a> +2009-01-04T20:03:38.607601Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix segfault in X device when page size changes. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200110.696570Z"></a> +2009-01-04T20:01:10.696570Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Adjust the margins for Epson dot matrix printer drivers +</pre> +<p>[base/gdevepsn.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T195854.777417Z"></a> +2009-01-04T19:58:54.777417Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix a problem with Brother 7x0 GDI, contributed to Debian by B. Janssen. +</pre> +<p>[base/gdevhl7x.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T195707.064594Z"></a> +2009-01-04T19:57:07.064594Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix segmentation fault on -sDEVICE=bbox, contributed to Debian by Yaroslav Halchenko. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2009-01-03T224550.335886Z"></a> +2009-01-03T22:45:50.335886Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug raw dumping code that I have found useful in my debug of transparency and overprint issues. + +DETAILS : Open images with Photoshop in the raw format with the dimensions given in the file name. + +EXPECTED DIFFERENCES : None + + + +</pre> +<p>[base/gxblend.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2009-01-03T195108.451624Z"></a> +2009-01-03T19:51:08.451624Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Incorrect bounds for clipping list. + +DETAILS : + +Bug 690060 "Regression: ball not round in Altona_Visual_1v2a_x3.pdf" + +The bug persists since the repository was created. +The revision 8020 brought an attempt to fix it, +but really it just replaced one wrong code with another wrong one. +Coding the right formula now. + +</pre> +<p>[base/gxcpath.c]</p> +</blockquote> + +<p><strong><a name="2009-01-01T053409.090806Z"></a> +2009-01-01T05:34:09.090806Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Continue to access the stream while reading a string (sgets()) until the +string is filled, EOF is reached, or an error occurs. Don't return after +first partial read. Bug 690152. + +DETAILS: +Old code did this only for 1-byte reads, which commonly occur during +reading stdin one byte at a time. Repeated reading is now extended to +reads of any size. + +</pre> +<p>[base/stream.c]</p> +</blockquote> + +<p><strong><a name="2008-12-30T185817.371540Z"></a> +2008-12-30T18:58:17.371540Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (garbager) : Wrong object marks when the object is freed by a garbager callback. + +DETAILS : + +Debugged on Vista x64 with running a 32 bits debug build of revision 9299 +with this command line : + +..\..\gs-hd\bin\gswin32c.exe -IF:\AFPL\gs-hd\Resource\Init;f:\afpl\fonts -Z$?@ -r300 + -dMaxBitmap=1000000 -dNOOUTERSAVE -sDEVICE=ppmraw -sOutputFile=out.ppm -dBATCH + -dNOPAUSE "H:\AuxFiles\CompareFiles\084-01.ps" + +1. The main change (gsalloc.c) : + +The bug persists since the repository was created. +When an object is freed after the garbager marking phase and before the +relocation phase, the heap consistency check misrecognizes it +as a free object pointed from an useful object. It happens because +the smark field was left unchanged ("marked") but the object status +changed to 'freed', which must be unmarked. + +In the test case such thing happens when a names subtable is freed +with this stack : + i_free_object() Line 721 + name_free_sub() Line 541 + name_scan_sub() Line 582 + names_trace_finish() Line 416 + gs_gc_reclaim() Line 371 + +The patch resets the mark whenever i_free_object is called, +so that any freed object automatically becomes unmarked. +We could do it more delicate with checking whether a garbager +is on stack with a new special flag in gs_ref_memory_t, +but we don't see enough reasons for such complex check. + +2. Minor change (igc.c) : + +Provide a right operand when gs_abort is called from +gc_objects_set_reloc. The old code crashed due to dereferencing NULL. + +</pre> +<p>[psi/igc.c base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2008-12-29T182508.338456Z"></a> +2008-12-29T18:25:08.338456Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Script to print out open customer/P1/regression bugs by engineer. + +Usage: bugsByEngineer.pl >report.txt + +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2008-12-29T064342.727931Z"></a> +2008-12-29T06:43:42.727931Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 689895. gx_put_blended_image_cmykspot was improperly inverting the alpha channel. +</pre> +<p>[base/gxblend1.c]</p> +</blockquote> + +<p><strong><a name="2008-12-28T160329.366807Z"></a> +2008-12-28T16:03:29.366807Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use a proper destructor to free a file stream when access to the file is not +permitted in the safe mode, not just close the file and drop the rest of the +file structure. Bug 689975. + +</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T072531.122671Z"></a> +2008-12-26T07:25:31.122671Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 3 last cases of missing prototypes in MS Windows build. +</pre> +<p>[base/lib.mak psi/int.mak psi/zfcid1.c base/gxblend1.c base/gdevddrw.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T044820.570500Z"></a> +2008-12-26T04:48:20.570500Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove the last 2 unused variables from Ghostscript code base. +</pre> +<p>[psi/dwtrace.c base/gdevdjet.c]</p> +</blockquote> + +<p><strong><a name="2008-12-24T203322.470682Z"></a> +2008-12-24T20:33:22.470682Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a buffer overflow in base font writer module of pdfwrite defice. +Allocate sufficient buffer for the worst case. Bug 690211. + +</pre> +<p>[base/gdevpdtb.c]</p> +</blockquote> + +<p><strong><a name="2008-12-24T153640.083208Z"></a> +2008-12-24T15:36:40.083208Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Image with SMask fails when inside transparency group. + +Details: +Bug #690139: "Regression: pdfwrite creates empty file". + +The PDF Interpreter internally surrounds SMask images with an extra transparency group definition. If emitted to PDF this is invalid and causes Acrobat to complain. This was fixed in revision 6878 (bug 688767) by adding an extra parameter 'Image_with_SMask' to the dictionary. + +The pdfwrite code checks for the existence of this in the group, and if present (and true) skips the transparency group begin. It also sets a flag in the device, to skip the end of the group as well. + +However, the flag is only reset when a new transparency group is begun. If the SMask was nested inside a group then the flag remained set, causing the 'end' for all enclosing groups to be skipped as well. This caused empty output or, in extreme cases, a 'rangecheck' error in discardtransparencygroup, because we overflowed an internal stack. + +We now set the device flag to false after we have skipped an end group. + +</pre> +<p>[base/gdevpdft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-23T090530.676239Z"></a> +2008-12-23T09:05:30.676239Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): DSC comments interfering with Page Tree Orientation. + +Details: +Bug #689922 "Rotation issues with pdfwrite and multiple operations". + +When writing out a PDF file, pdfwrite adds /Rotate keys to individual pages, and if the document is gnerally rotated (eg landscape) will set a /Rotate key in the pages treee. This causes all pages which do not have their own value to inherit this as a default. + +Unfortunately, the page tree code uses the same logic as the individual page, whch honours DSC '%%Orientation' and '%%ViewingOrientation' comments. If the last file processed contained one of these, this would become the default for all pages, regardless of their actual orientation. This would cause pages to be inappropriately rotated. + +Fixed by clearing the DSC information before writing the orientation for the page tree, by this time all the pages that require it have already been written with their own value. + +</pre> +<p>[base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2008-12-21T143429.309508Z"></a> +2008-12-21T14:34:29.309508Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : The operator 'gstate' leaked memory. + +DETAILS : + +Bug 689849 "gstate leaks memory" + +The old code of gsave executes 'ref_save' without a clear reason. +The patch disables it with #if 0. +For a while we keep the old code for an easier +understanding of an unexpected behavior difference, if any. + +</pre> +<p>[psi/zdps1.c]</p> +</blockquote> + +<p><strong><a name="2008-12-21T074652.896538Z"></a> +2008-12-21T07:46:52.896538Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement Algorithm 8.1 from PDF 1.6 Reference. Map /BBox of the appearance +stream transformed by /Matrix onto the annotation rectangle. +Bug 690195, customer 770. + +</pre> +<p>[psi/zmatrix.c psi/int.mak Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-19T165041.185072Z"></a> +2008-12-19T16:50:41.185072Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix: Problem with /DeviceN [/All]. + +Details: +Bug #690177 "Separation names become operator names.". + +/DeviceN [/All] is technically illegal, but is allowed by Acrobat. We convert this to a /Separation /All colour space for compatibility. An error in the processing of this kind of space led to a string object being used in place of a name object to create the named space. + +This led to 'peculiar' plate names instead of 'All', which caused no problems when rendering to CMYK (the alternate is used and sets all inks). However if rendering to a device with additional spot plates not alll plates would be marked as they should be for a /All space. Also pdfwrite produced incorrectly named plates in the output PDF file. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-12-19T015318.887063Z"></a> +2008-12-19T01:53:18.887063Z Ralph Giles</strong></p> +<blockquote> +<pre> +Warn when the JPX ColorSpace key workaround is activated. + +Details: + +We don't use pdfformaterror because this is our failing, not the files. +But we call stderrprint to generate the output so it doesn't mangle +device output on stdout. + +Suggested by Ray Johnston. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-19T015317.038875Z"></a> +2008-12-19T01:53:17.038875Z Ralph Giles</strong></p> +<blockquote> +<pre> +Assume unlabled JPXDecode streams are 8 bit DeviceRGB. + +This is a work-around for bugs 688159, 689058 and 689509. + +Details: + +The PDF spec allows the ColorSpace and BitsPerComponent keys of a +JPXDecode filtered image dictionary to be left out, in which case +the interpreter is expected to obtain this information by examining +the stream. + +This change does not implement that, but in most cases the image +is RGB, and 8 bits per component; assuming this format allows +correct rendering of all wild files we've seen of this type. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-18T233732.655756Z"></a> +2008-12-18T23:37:32.655756Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Change accessors to cmap data to support cmap subtables exceeding 64K-1 bytes. +Bug 690206, customer 870. + +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-16T183555.343539Z"></a> +2008-12-16T18:35:55.343539Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a typo in commit r9288 which broke the X11 device build. Bug 690202. + +Patch by Alex Cherepanov. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2008-12-16T175213.417519Z"></a> +2008-12-16T17:52:13.417519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the CVS directory to the romfs exclusion list. Bug 690205. + +Details: + +Currently the mkromfs script just includes the entire file tree under +Resource/ but the presence of any extraneous directories there confuses +the enumeration machinery. We have a exclusion for the .svn directory +so builds out of svn work, but apparently some people have a CVS mirror? + +Anyway, it isn't difficult to add an additional exclusion for CVS +metadata. This isn't an issue for git, darcs or mercurial because they +keep all their repository data in the top-level directory. +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-12-15T171506.646171Z"></a> +2008-12-15T17:15:06.646171Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement (pdfwrite): Add support for the fillpage method. + +Details: +The new fillpage device method can be used to detect occurences of erasepage more reliably (and probably more cheaply in performance terms) than the previous checks in the fill_rectangle methods. + +Removed the old code which checked the rectangle size against the page size, the colour against white, and the transparency stack depth, from the fill_rectangle methods. Added a new routine gdev_pdf_fillpage to implement the new fillpage device method. + +</pre> +<p>[base/gdevpdfx.h base/gdevpdfd.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2008-12-13T200537.951803Z"></a> +2008-12-13T20:05:37.951803Z Igor Melichev</strong></p> +<blockquote> +<pre> +Enhancement (graphics) : Implement new device virtual method 'fillpage'. + +DETAILS : + +The new method improves the handling of 'erasepage' and 'fillpage' +for high level devices, bbox device. Also it is a preparation for +optimizing 'erasepage' for printer devices as for bug 690131. + +When erasing a page, the old code passes fill_rectangle through +the device interface. However some devises need to recognize it +as a special high level operation and distinguish from an usual +rectangle filling. The old code implemented some trics for that. +This patch replaces the tricks with a strong logic for bbox device. +The pdfwrite device to be improved separately. + +The old function gx_fillpage is now splitted into two parts, +one of which works before the device interface, and another one +after it. The second one looks as a default implementation +for the 'fillpage' device virtual method. Forwarding devices +implement new function gx_forward_fillpage. + + +</pre> +<p>[base/gdevrops.c base/gdevdflt.c base/gdevbbox.c base/gxcldev.h base/gxclipm.c base/gsovrc.c base/gxdevice.h base/gdevnfwd.c base/gspaint.c base/gdevddrw.c base/gxclip2.c base/gdevprn.h base/gdevp14.c base/gxdevcli.h base/gxclrect.c base/gdevxini.c base/gxclist.c base/gxclist.h base/gxclip.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T165417.751950Z"></a> +2008-12-13T16:54:17.751950Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 6). + +DETAILS : + +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". + +The last partch appears syntactically incorrect, now fixing. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T125514.082194Z"></a> +2008-12-13T12:55:14.082194Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 5). + +DETAILS : + +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". + +The last partch wrongly distributed the saved pattern id for all bands +when writing a non-pattern color to all bands. +We believe it never happens the current revision with reasonable banding settings, +but fix fix it for code consistency and for avoiding problems +with further revisions. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T111454.029422Z"></a> +2008-12-13T11:14:54.029422Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 4). + +DETAILS : + +This is a further improvement for the bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". +Also it is a preparation for a partial fix for the bug 690131 "Optimize consecutive setpagedevice". + +This patch passes the coverage rectangle of a graphic element +for a better computation in cmd_put_drawing_color of the size +would be consumed while serializing a color to clist +with copying to all covered bands. +When we need to force writing to all bands, +we pass a NULL instead the coverage rectangle. + +</pre> +<p>[base/gxclpath.c base/gxclimag.c base/gxclrect.c base/gxclpath.h base/gxcldev.h]</p> +</blockquote> + +<p><strong><a name="2008-12-13T101802.260144Z"></a> +2008-12-13T10:18:02.260144Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Fonts with unusual FontMatrix generating incorrect FontBBox. + +Details: +bug #689879 "wrong FontBBox in PDF file" + +Fonts other than type 3 may not have a FontMatrix in PDF, these fonts are assumed to be on a 1000x1000 design grid. Most fonts already are, and embedded TrueType fonts are already catered for, but some unusual fonts have a non-standard (not [0.001 0 0 0.001 0 0]) FontMatrix. The matrix is accounted for when scaling the font, so the Tf operator is correct in the page content stream, but the FontBBox was calculated using the unscaled glyph outline. + +We now scale the font outline into a 1000x1000 design grid before calculating the bounding box, so that the FontBBox entry will be correct. + +</pre> +<p>[base/gdevpdtd.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T101347.692668Z"></a> +2008-12-13T10:13:47.692668Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Tidy up code. + +Details: +Tidy up some code for bug #690118; When writing TrueType hmtx/vmtx, define a new function put_short which is functionally identical to put_ushort but doesn't truncate the sign bit. Use this instead of put_ushort when the value to be written may be negative. Add 0.5 to the floating point calculations and floor() the result so that we get the nearest approximation to the float when writing out the short. + +A small number of files exhibit a number of single pixel differences in position or rendering of glyphs with this change. In all cases comparing the rendered result of the new PDF file with the rendered result of the original file shows no differences, so I consider these to be progressions. + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-10T191043.669416Z"></a> +2008-12-10T19:10:43.669416Z Ralph Giles</strong></p> +<blockquote> +<pre> +Set standard properties on pdf_main.ps. Bug 690198. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-10T072939.713832Z"></a> +2008-12-10T07:29:39.713832Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PDF interpreter) : Avoid extra erasepage, part 1. + +DETAILS : + +This is the first partial fix for the +bug 690131 "Optimize consecutive setpagedevice". + +The PDF interpreter calls extra setpagedevice for initializing the number of spot colors. +First it happens in pdfshowpage_setpage, and we merge that call +with another one that sets other multiple page parameters. +Second in pdfshowpage_finish we replace it with .setpagedevice, +which doesn't call .postinstall that calls erasepage. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-09T173040.898715Z"></a> +2008-12-09T17:30:40.898715Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Fix for weird math issue under AIX that cause problems in glpyh spacing when +writing type42 fonts for ps2write and pdfwrite. + +This fixes bug 690118. + +Details: + +For reasons that I don't undertand under AIX (ushort) (double * double) +produces a 0 if the first double is > -1 and < 0 (and the sum is < -1). +Presumably the cast happens before the multiplication, but this isn't +reasonable and doesn't occur on other operating systems, even running +the same version of gcc. Temporarily assigning the sum to a float and +then casting to a ushort resolves the problem. + +The temporary assignment should be removed by the optimizer, so there +shouldn't be a performance hit (I did check, the optimized code is still +correct under AIX). + + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-09T084520.654566Z"></a> +2008-12-09T08:45:20.654566Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): regression with type 3 fonts using show charpath stroke combinations. + +Details: +bug #690196 "regression: file for bug 689687" + +The recent changes for text rendering modes caused a regression with Quark's type 3 font for special text effects, when optimising a show followed by charpath stroke into a single 'Tj' with a text rendering mode of 2 in the resulting PDF file. + +Fixed by ceasing to treat type 3 fonts specially and applying the same optimisation as for other font types. A couple of other Quark files exhibit very small differences, comparing these to the rendered output of the original files the new result seems closer to the original. (ie a progression) + +Also resolved a compiler warning. + +</pre> +<p>[base/gdevpdtc.c base/gdevpdfd.c]</p> +</blockquote> + +<p><strong><a name="2008-12-09T080143.121661Z"></a> +2008-12-09T08:01:43.121661Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 3). + +DETAILS : + +Bug 690133 "Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi". + +When filling a path with a pattern, the old code +stores the pattern to all bands that are covered with the path. +If the pattern is represented with a long clist, +it consumes too big memory for the page clist. + +If the pattern is big, the new code writes it +to the "all bands" list instead replicating it to bands. +Therefore the overall memory is smaller. + +The decision about storing a pattern to "all bands" +should also depend on the number of bands. +This patch doesn't account that because current data flows +don't pass the number of bands to the point where +the decision must be taken. It may need a further improvement. + +The threshold for "big" pattern is arbitrary set to 1Mb. +It may need an improvement also. It's another threshold +than one for representing a pattern as a raster or a clist. + +</pre> +<p>[base/gxclpath.c base/gxclutil.c base/gxcldev.h]</p> +</blockquote> + +<p><strong><a name="2008-12-09T075855.697280Z"></a> +2008-12-09T07:58:55.697280Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 2). + +DETAILS : + +This patch is important for the bug Bug 690133 +"Regression: Ghostscript takes up all disk space when rendering eog or GIMP PDF output in 1200 dpi", +but it is not restricted with its case. + +When writing a pattern color to a band, +the old code uses the "saved color" structure +for remembering which color has been stored for the band. +In the case of pattern it stores the client's pattern id. +However it doesn't provide enough resolution because +a client's pattern may be instantiated with various CTMs. +The new code uses the pattern tile id to distinguish the pattern instances. + +We're not sure why saved color structure stores the client's pattern id only. +It should be so for pdfwrite, but need to check whether other +cases are possible. Therefore the current change is kind of hackish. +See comment in code. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-08T081755.714566Z"></a> +2008-12-08T08:17:55.714566Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Large type 1 or 2 fonts caused errors with text. + +Details: +bug #690144 "Files render properly with gs, but are misformatted in ps2pdf" + +Revision 8235 added support to pdfwrite for type 0 fonts with type 1 or type 2 (CFF) descendant fonts, emitting these as subsets of the original instead of rendering the glyphs and embedding type 3 fonts with bitmap images. This results in better quality and smaller files. + +However type 1 or 2 fonts which are too large for an arbitrary Ghostscript limit (> 65537 glyphs) can not be copied. This 'should' have fallen back to the old mechanism, but some data had been altered which led to this failing. + +The fix for this comprises 3 parts: + +1) Mmodified scan_cmap_text to save the data we modify for subsetting, and restore it if pdf_obtain_font_resource_unencoded fails, which then falls back to the 'default' type 3 mechanism (in case of future problems in this area). + +2) Increased the limit of glyphs (for type 1 or 2 fonts) in gs_copy_font. Added a new parameter 'max_reserved_glyphs'. If this is -1 then we reserve enough space for the number of glyphs in the original font. Otherwise we reserve space for the specified maximum. This limit only applies to font type 1 or 2, and is used by pdfwrite to avoid making excessively large font copies. + +3) Modified pdf_base_alloc so that if the font is large (and is not one of the standard 13 fonts), we don't allocate a complete copy for our 'subset', we only allocate as many glyphs as will fit in a standard Encoding, 256, plus one for the required .notdef making 257 in total. We also avoid making a second 'complete' copy of the font, because we will never write the complete font. + +</pre> +<p>[base/gdevpdtb.c base/gxfcopy.c base/gdevpdtc.c base/gxfcopy.h]</p> +</blockquote> + +<p><strong><a name="2008-12-05T073906.671710Z"></a> +2008-12-05T07:39:06.671710Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check the whole Decode array to detect special cases of identity and inverse +decoding. Previous test analyzed every channel separately and misidentified +decoding arrays like [0 1 1 0 0 1]. Bug 690178. + +</pre> +<p>[base/gxipixel.c]</p> +</blockquote> + +<p><strong><a name="2008-12-05T044451.989860Z"></a> +2008-12-05T04:44:51.989860Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Adds special, tolerant to singular matrix processing, to the case when +ImageMatrix is differs from the CTM by the translation vector only, which +happens in cached character rendering. The patch clears PostScript errors +during text rendering with singular CTM. Bug 690179, customer 870. + +</pre> +<p>[base/gxipixel.c base/gsimage.c base/gxccache.c]</p> +</blockquote> + +<p><strong><a name="2008-11-29T143326.712726Z"></a> +2008-11-29T14:33:26.712726Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Ignore /ToUnicode attribute when it points to an object other then a stream. +Bug 680138. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-29T122704.428583Z"></a> +2008-11-29T12:27:04.428583Z Till Kamppeter</strong></p> +<blockquote> +<pre> +The pstopxl CUPS filter did not remove its temporary file. +</pre> +<p>[cups/pstopxl.in]</p> +</blockquote> + +<p><strong><a name="2008-11-27T150537.010932Z"></a> +2008-11-27T15:05:37.010932Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): more issues with PDF Text rendering modes. + +Details: +Bug #689692 Colour and linewidth is not set correct for text with rendermode STROKE +and FILLSTROKE +Bug #Bug690025 pxlmono driver prints some glyphs as squares when the input is PostScript generated by Ghostscript + +This follows on from revision 9196 and further addresses problems with PDF text rendering modes. Fundamentally the problem is that the PDF text matrix (Tm) should not affect the stroke width. However PostScript only has one transformation matrix, so when we get a Tm, the PDF interpreter modifies the CTM accordingly. This alters the (effective) stroke width, resulting in incorrect output. + +This patch modifies the CTM before executing a stroke in modes 2 & 6, and for mode 1 modifies the stroke width by calculating what it would have been if the CTM were the identity at the time the text block began. Since pdfwrite emits text in an identity CTM, this corrects the problem. + +The pdfwrite code for combining show/charpath/stroke operations into a single text rendering mode has been modified to expect the CTM to be correct, and to utilise it, when emitting the combined operation. + + +</pre> +<p>[Resource/Init/pdf_ops.ps base/gdevpdts.c base/gdevpdfd.c base/gdevpdts.h base/gdevpdfg.c]</p> +</blockquote> + +<p><strong><a name="2008-11-27T052005.725774Z"></a> +2008-11-27T05:20:05.725774Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use the same name (/PDFType3Untitled) for all Type 3 fonts without /FontName +attribute. PDF interpreter doesn't need unique names and the previous attempt +to generate unique names didn't work. Bug 689358. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-27T015854.354925Z"></a> +2008-11-27T01:58:54.354925Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Restore language level after loading pdfwrite.ps for consistency and +compatibility with PS utilities. Also pick a few nits that may cause errors +if some of start-up files ever loaded in level 1 mode. Thanks to SaGS +for the patch. Bug 688151. + +</pre> +<p>[lib/pdfwrite.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-25T171923.759068Z"></a> +2008-11-25T17:19:23.759068Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed paper tray selection for the PCL 4/5/5e drivers (bug 690182). Works fine now with "-dMediaPosition=..." and for all possible trays. Needs review to see whether it does not break anything else. +</pre> +<p>[base/gdevdjet.c]</p> +</blockquote> + +<p><strong><a name="2008-11-24T230421.969628Z"></a> +2008-11-24T23:04:21.969628Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip everything before 'begincodespacerange' in ToUnicode CMap stream +to avoid PostScript errors in CMap headers. PDF interpreter doesn't +need any data from the header. Bug 689842, customer 870. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-24T191504.507271Z"></a> +2008-11-24T19:15:04.507271Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed input tray selection support in the PCL-XL drivers ("pxlmono"/"pxlcolor"), fixes on CUPS filter and PPDs to make input tray selection actually work. +</pre> +<p>[base/gdevpx.c cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-11-24T110142.358113Z"></a> +2008-11-24T11:01:42.358113Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS filters and PPDs for PCL-XL also work with PDF as input data format +</pre> +<p>[cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-11-23T203612.040586Z"></a> +2008-11-23T20:36:12.040586Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (continued) + +DETAILS : + +This improve3s the second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. + +The revision 9213 appears buggy. +When a SubstCID resource is not available, +the stack balance is broken. + +</pre> +<p>[Resource/Init/gs_cidtt.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-21T142421.693040Z"></a> +2008-11-21T14:24:21.693040Z Till Kamppeter</strong></p> +<blockquote> +<pre> +The "cups" output device was logging way to much in CUPS' debug logging mode. Moved some logging to debug2. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2008-11-21T053110.447898Z"></a> +2008-11-21T05:31:10.447898Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a check for bogus '>>' after 'endstream' to recover files generated +by 'Kroll Background Screening'. Bug 690161. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-20T211109.954526Z"></a> +2008-11-20T21:11:09.954526Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Move validation of the page tree after installation of the decryption handler +because access to encrypted xref streams needs decryption. Fix regression +introduced by the rev. 8933. Bug 690175. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-20T193136.700423Z"></a> +2008-11-20T19:31:36.700423Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add AES support to the pdf interpreter. + +This commit adds convenience wrappers around the aes stream +implementation to pdf_sec.ps, and calls them when appropriate, +based on the crypt filter methods defined in the file Trailer's +Encrypt dictionary. Bug 688958. + +It also includes comment and whitespace cleanup. +</pre> +<p>[Resource/Init/pdf_sec.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-17T194347.727833Z"></a> +2008-11-17T19:43:47.727833Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing initialization of read_id field in reusable streams. + +DETAILS: +This error was detected by Valgrind. I don't have any samples where this fix +affects the output. + + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-11-17T104113.803460Z"></a> +2008-11-17T10:41:13.803460Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Not considering all glyphs in a string when noting first/last character + +Details: +Bug 690166: extra space after apostrophe when distilled +Revision 8235 added support for type 0 fotns with type 1 or 2 descendants, this required using pdf_adjust_first_last_char so that we correctly noted the used glyphs, and stored their widths. + +An oversight in calling the function resulted in only the first glyph in the string being considered. + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2008-11-16T144749.851717Z"></a> +2008-11-16T14:47:49.851717Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : Eliminate unuseful transfer of left side bearing to type42_finish. + +DETAILS : + +This change is algorithmically equivalent. + +type42_finish never uses lsb data that could be passed to it via +operand stack from some clients. This patch removes those data +and related arguments of some C functions. + +</pre> +<p>[psi/zchar42.c psi/zchar42.h psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2008-11-16T121546.619814Z"></a> +2008-11-16T12:15:46.619814Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (TT font handler) : Wrong glyph posiitions with vertical vcriting mode. + +DETAILS : + +Bug 689304 "improper handling of vertical japanese text". + +This is third partial patch for the bug 689304. +The old formulas were obtained impirically and don't +give the right result. The new ones are coded with a better understanding +of the problem. See comments in code for more details. + +Rather the patch closes the bug, we want to do some additional +equivalent changes for cleaning the code. Another patch coming soon. + +</pre> +<p>[psi/zchar42.c]</p> +</blockquote> + +<p><strong><a name="2008-11-15T140727.807825Z"></a> +2008-11-15T14:07:27.807825Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix PS interpreter: issues with ICCBased spaces + +Details: +Bug #690169 Regression: seg fault reading Bug689830.pdf, Bug689831.pdf, and annots.pdf + +The 9218 revision to restore the 'optional' nature of the Alternate in ICCBased colour spaces was unfortunately incomplete. This led to us trying to set a 'null' colour space when a PDF file had a damaged and unusable ICC specification. + +We now use the technique specified in the PDF Reference, take the value of 'N' from the space and use that to select an appropriate alternate, when one is not specified. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-11-13T142305.749468Z"></a> +2008-11-13T14:23:05.749468Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip null entries in /Annots array. Bug 690161. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-13T020249.620374Z"></a> +2008-11-13T02:02:49.620374Z Ray Johnston</strong></p> +<blockquote> +<pre> +Revert 8.63 behavior where the /Alternate key/value pair in ICCBased param dictionaries +is optional. Bug 690165 for customer 850. + +DETAILS: + +This allows: + +[ /ICCBased << /N 3 /DataSource (srgb.icc) (r) file >> ] setcolorspace + +to work, where srgb.icc is the path to an 'input' ICC color profile. + +Until Ghostscript has support for ICC profiles throughout, this is useful to +allow for setting the Resource/ColorSpace/Default*** colorspaces (or +defining the ColorSpace resources) using ICC profiles. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-11-10T190157.531817Z"></a> +2008-11-10T19:01:57.531817Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (clist writer) : A crash when transparent object appears over the page top. + +DETAILS : + +Bug 690149 "PDF-file can not be converted". + +The transparency compositor cropping caused an attempt to +Write to a non-existing band over the page top. +This patch skips writing such compositor commands. + + +</pre> +<p>[base/gxclimag.c]</p> +</blockquote> + +<p><strong><a name="2008-11-09T203808.817663Z"></a> +2008-11-09T20:38:08.817663Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (part 2). + +DETAILS : + +This change fixes the previous change's commitment error. +This log message describes the union of the 2 changes. + +This is a second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. + +When emulating a CID font with an Open Type font, a CID is first +mapped to an OpenType encoding and then to a glyph index. +However OpenType provides same character codes for glyph variants, +which render differently depending on writing mode. +The glyph '(' is an example. + +This patch works for OpenType fonts only, which provide a GSUB for vertical +writing mode. +It is not working for True Type collections with no GSUB. +They need a further improvement. + +The patch assumes that all interpreters initialize a Type 42 font with +zeroing all its fields. +Postscript interpreter does so since a long ago, but we're not sure about +others. +They may need an improvement. + +1. Define a new resource category SubstCID (Resource/Init/gs_ciddc.ps). + +2. Provide a tool for generating resources for that category +(toolbin/GenSubstCID). + +3. Provide resources for various orderings (Resource/SubstCID/CNS1-WMode, +Resource/SubstCID/GB1-WMode, Resource/SubstCID/Japan1-WMode, +Resource/SubstCID/Korea1-WMode). + +4. When loading a TrueType or OpenType font for a CID font emulation, +associate an +appropriate SubstCID resource to it (Resource/Init\gs_cidtt.ps). +(We do associate the resource with TrueType hoping that some +True Type fonts may provide GSUB). + +5. Define a new structure gs_subst_CID_on_WMode_s for storing that +information +for the graphics library (base\gxfcid.h), and its garbager descriptor +(base/gsfcid.c). +Since it may duplicate for several fonts, it is shared and +reference-counted. + +6. The new function get_subst_CID_on_WMode loads the resource data for the +graphics library +in psi\zfcid1.c . Note it is implemented for PS interpreter only. + +7. Generalized gs_type42_substitute_glyph_index_vertical with providing a +CID in base/gstype42.c +and made it be a virtual function of gs_font_type42 (base/gxfont42.c). +We're not sure how other interpreters initialize the font, so +we're checking it for NULL for safety and use +gs_type42_substitute_glyph_index_vertical +as a default implementation. + +8. font11_substitute_glyph_index_vertical is another implementation of that +function, which +accounts gs_subst_CID_on_WMode_s data for providing a right glyph depending +on WMode. +Rather a SubstCID resource provides a substitution, currently +we only use the fact that a CID is substituted, and never use +the substituting CID. Nevertheless we prefer to define and store the +resource +in the complete form for possible improvements in future (zfcid1.c). + +9. release_subst_CID_on_WMode automatically releases the resource data +when all fonts (that use it) are released. + +10. Added SubstCID to the ROM file system in psi/psromfs.mak . + +11. Minor unrelated fix : propagate errors from gs_font_notify_register for +(7) in base/gstype42.c . + +</pre> +<p>[psi/zchar42.c Resource/Init/gs_ciddc.ps Resource/Init/gs_cidtt.ps psi/int.mak psi/zfcid1.c psi/zfont42.c]</p> +</blockquote> + +<p><strong><a name="2008-11-09T190930.285684Z"></a> +2008-11-09T19:09:30.285684Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong +glyph (part 1). +This revision is incomplete due to a commitment error. Please use next +revision. + +DETAILS : + +This is a second partial fix for Bug 689304 +"improper handling of vertical japanese text", related to Comment #30, #31. + +When emulating a CID font with an Open Type font, a CID is first +mapped to an OpenType encoding and then to a glyph index. +However OpenType provides same character codes for glyph variants, +which render differently depending on writing mode. +The glyph '(' is an example. + +This patch works for OpenType fonts only, which provide a GSUB for vertical +writing mode. +It is not working for True Type collections with no GSUB. +They need a further improvement. + +The patch assumes that all interpreters initialize a Type 42 font with +zeroing all its fields. +Postscript interpreter does so since a long ago, but we're not sure about +others. +They may need an improvement. + +1. Define a new resource category SubstCID (Resource/Init/gs_ciddc.ps). + +2. Provide a tool for generating resources for that category +(toolbin/GenSubstCID). + +3. Provide resources for various orderings (Resource/SubstCID/CNS1-WMode, +Resource/SubstCID/GB1-WMode, Resource/SubstCID/Japan1-WMode, +Resource/SubstCID/Korea1-WMode). + +4. When loading a TrueType or OpenType font for a CID font emulation, +associate an +appropriate SubstCID resource to it (Resource/Init\gs_cidtt.ps). +(We do associate the resource with TrueType hoping that some +True Type fonts may provide GSUB). + +5. Define a new structure gs_subst_CID_on_WMode_s for storing that +information +for the graphics library (base\gxfcid.h), and its garbager descriptor +(base/gsfcid.c). +Since it may duplicate for several fonts, it is shared and +reference-counted. + +6. The new function get_subst_CID_on_WMode loads the resource data for the +graphics library +in psi\zfcid1.c . Note it is implemented for PS interpreter only. + +7. Generalized gs_type42_substitute_glyph_index_vertical with providing a +CID in base/gstype42.c +and made it be a virtual function of gs_font_type42 (base/gxfont42.c). +We're not sure how other interpreters initialize the font, so +we're checking it for NULL for safety and use +gs_type42_substitute_glyph_index_vertical +as a default implementation. + +8. font11_substitute_glyph_index_vertical is another implementation of that +function, which +accounts gs_subst_CID_on_WMode_s data for providing a right glyph depending +on WMode. +Rather a SubstCID resource provides a substitution, currently +we only use the fact that a CID is substituted, and never use +the substituting CID. Nevertheless we prefer to define and store the +resource +in the complete form for possible improvements in future (zfcid1.c). + +9. release_subst_CID_on_WMode automatically releases the resource data +when all fonts (that use it) are released. + +10. Added SubstCID to the ROM file system in psi/psromfs.mak . + +11. Minor unrelated fix : propagate errors from gs_font_notify_register for +(7) in base/gstype42.c . + +</pre> +<p>[Resource/SubstCID/CNS1-WMode base/gxfcid.h Resource/SubstCID base/lib.mak Resource/SubstCID/GB1-WMode Resource/SubstCID/Japan1-WMode base/gsfcid.c base/gxfont42.h psi/psromfs.mak base/gstype42.c toolbin/GenSubstCID.ps Resource/SubstCID/Korea1-WMode]</p> +</blockquote> + +<p><strong><a name="2008-11-07T184934.403723Z"></a> +2008-11-07T18:49:34.403723Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a duplicate typedef for stream_arcfour_state. + +Details: + +The duplicate (opaque pointer) typedef in gdevpdfx.h was +redundant and any users that dereferenced members or allocated +the struct on the stack already included sarc4.h. + +I believe the idea here was just to hide the structure details +from some hypothetical user of the pdf_crypt api. However, the +stream state structure should either be opaque, with only the +typedef in sarc4.h or it should be public and using it requires +sarc4.h. The duplication isn't justified in either case. + +Since stream state structures generally are public so they can +be stack-allocated, we decided to remove the duplicate typedef. + +Also adds a missing dependency to the makefile. + +Issue originally reported by the coverity hfa checker. +</pre> +<p>[base/gdevpdfx.h base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-06T235127.600449Z"></a> +2008-11-06T23:51:27.600449Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Updates to nightly regressions to allow them to run under Mac OS X. + +Details: + +Change uname parameters from '-m -o' to '-m -s' +Don't appened ".db" to filename when opening database. +Replace sendmail python function with call to /usr/bin/sendmail. +Archive daily rasters. +Change location of gscdef.c from src to base. +Call time from /usr/local/bin (/usr/bin/time doesn't take -f option). + +Note that some of these changes are not compatible with peeves. +</pre> +<p>[toolbin/tests/make_baselinedb.py toolbin/tests/gscheck_raster.py toolbin/tests/testdiff.py toolbin/tests/compare_checksums.py toolbin/tests/gscheck_pdfwrite.py toolbin/tests/build_revision.py toolbin/tests/check_dirs.py toolbin/tests/compare_checksumdb.py toolbin/tests/gsconf.py toolbin/tests/get_baseline_log.py toolbin/tests/run_nightly.py toolbin/tests/gstestgs.py toolbin/tests/run_regression.py toolbin/tests/update_baseline.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T233055.150402Z"></a> +2008-11-06T23:30:55.150402Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Stopped generating 600 dpi raster files when running make_missing since they were never being tested. +</pre> +<p>[toolbin/tests/gsparamsets.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T232754.191464Z"></a> +2008-11-06T23:27:54.191464Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Made some messages prettier. +</pre> +<p>[toolbin/tests/testdiff.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T232502.686517Z"></a> +2008-11-06T23:25:02.686517Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed typo. +</pre> +<p>[toolbin/tests/update_baseline.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T201319.335714Z"></a> +2008-11-06T20:13:19.335714Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : A missed dependency in makefile. + +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-06T200426.632073Z"></a> +2008-11-06T20:04:26.632073Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (clist interpreter) : A faster procesing without a preliminary clearing of the band buffer. + +DETAILS : + +The preliminary cleaning of the buffer appears unuseful because erasepage +in the clist code performs same function. + +</pre> +<p>[base/gxclread.c]</p> +</blockquote> + +<p><strong><a name="2008-11-06T190939.284217Z"></a> +2008-11-06T19:09:39.284217Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an unused variable. +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-11-06T190937.330669Z"></a> +2008-11-06T19:09:37.330669Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing include for pdf_prepare_stroke(). +</pre> +<p>[base/gdevpdts.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T204122.951927Z"></a> +2008-11-05T20:41:22.951927Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove psromfs.mak from ugcclib.mak. + +This makefile is ostensibly for the graphics library only. +</pre> +<p>[base/ugcclib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T204106.620266Z"></a> +2008-11-05T20:41:06.620266Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add -lpthread to ugcclib.mak. It is now required by sync=posync. +</pre> +<p>[base/ugcclib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T082619.980667Z"></a> +2008-11-05T08:26:19.980667Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): several issues with PaintType 2 (stroked fonts) and PDF Text rendering modes. + +Details: +Bug #690136 Differences in character stroke width +Bug #689970 major artefacts in pdfwriter output +Bug #688267 Ghostscript need native PDF graphic state +Bug #689654 pdfwrite ignores font /PaintType 1 +Bug #689692 Colour and linewidth is not set correct for text with rendermode STROKE +and FILLSTROKE + +The current implementation of text rendering modes has some problems. I've been able to address most of these in this patch by: + +1) Making the charpath detection slightly less picky. This picks up more instances of filled text followed by 'charpath stroke', combining correctly into a PDF text rendering mode. + +2) Relaxing the criteria for detecting a Tr mode involving stroking. + +3) Removing some spurious scaling, and applying a better scale factor when using stroked fonts (Paint Type 2). + +There are still problems with this code, and they are insuperable in the current architecture of pdfwrite/PDF interpreter. Specifically; Text render mode 6 (fill, stroke and clip) doe snot work properly, text which is stroked using a linewidth set outside the text block, and with a non-identity CTM and non-identity text matrix results in incorrect stroke widths. + +This will need to be addressed further under bug #688267, which is an enhancement. In the meantime this patch significantly improves the current implementation. Note; bug #689692 is still slightly incorrect with this patch, though improved. Bug #690025 is unchanged (still incorrect). + +</pre> +<p>[base/gdevpdts.c base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-11-04T050732.360011Z"></a> +2008-11-04T05:07:32.360011Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add support for indirect objects in /W and /W2 entries in the CIDFont +dictionary. Bug 690151. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-04T033352.379523Z"></a> +2008-11-04T03:33:52.379523Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Export (i.e. don't undefine) runpdfpagerange procedure for the benefit +of PDF manipulation utilities. Bug 690153. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-03T062632.640021Z"></a> +2008-11-03T06:26:32.640021Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in object stream handling that sometimes dropped incremental +updates. Bug 690141. + +DETAILS: +An incremental update can replace only some of the objects in the +object stream. Old code didn't check xref tables and resolfed all +unresolved objects from the stream. Once resolved, an object is no +longer accessed through xref. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-03T042851.792909Z"></a> +2008-11-03T04:28:51.792909Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix Floating Point excpetion caused by improper initializer of a private device +structure subclassed (in the klunky C ghostscript fashion) from the gx_device_printers_s +structure. Restructure a macro in base/gdevprn.h to help prevent similar bit rot in the +future. Bug 690122. + +DETAILS: + +The problem was with devices that use the contrib/lips4/gdevlprn.h header +files. The lp_duplex_device_body_rest_ and lp_device_body_rest_ macros that +initialized the prn_device structure 'common' elements were out of date with +respect to the revision in the gx_device_printer_s structure made for the +multi-threaded rendering. The num_render_threads_requested integer was added. + +I restructured the prn_device_body_rest2_ in base/gdevprn.h so that the +contrib/lips4/gdevlprn.h initialization macro could use this to minimize the +likelihood of bit rot in the future. + +I did a search for other devices that might have the same problem and did not +find them (although I may have missed them). +</pre> +<p>[base/gdevprn.h contrib/lips4/gdevlprn.h]</p> +</blockquote> + +<p><strong><a name="2008-10-28T031552.084170Z"></a> +2008-10-28T03:15:52.084170Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't assume that the top of the dictionary stack is writable or can be made +writable by allocating a new PDF graphic state. The latter cannot be done in +pdfinflt.ps and similar clients. This patch replaces my previous fix (r. 9124) +for the bug 690088. Bug 690134. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-28T004349.468966Z"></a> +2008-10-28T00:43:49.468966Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Ignore named encodings for known symbolic fonts. Bug 690135, customer 580. + +DETAILS: +Acrobat reader appears to know that /WinAnsiEncoding is not compatible with +Wingdings2. The patch looks up the font name in a table to determine whether +the font is symbolic because corresponding /Flags attribute is unreliable. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-27T215317.877952Z"></a> +2008-10-27T21:53:17.877952Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the documentation reference to psromfs.mak. + +This file moved from base to psi in r9126. +</pre> +<p>[doc/Develop.htm]</p> +</blockquote> + +<p><strong><a name="2008-10-25T043430.742669Z"></a> +2008-10-25T04:34:30.742669Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 690103. This issue was introduced with r8868 where spatial interpolation in the source color space was introduced. The part that was missing in that commit was to handle the case where we had 8 bit image data that was non CIE based and NOT encoded with [0 1] . + +DETAILS: + +This patch was tested with forced interpolation on a set of files that are known to have issues with interpolation. It performed properly on those and on the customer's bug file. + +The part that was missing in the old code was the case where we have encoded +(not [0 1]) nonindexed 8 bit image data that is not CIE based. For this case, +it was not getting properly decoded prior to interpolation. + +</pre> +<p>[base/lib.mak base/gscspace.h base/gxiscale.c base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2008-10-24T145144.819826Z"></a> +2008-10-24T14:51:44.819826Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (TT font handler) : Properly process a broken TTC header. + +DETAILS : + +Bug 690105 "seg fault reading pcl file" + +1. Check for TTC version header and print error if it is unknown. +2. Fixing the formatting according to C-style.htm . + +</pre> +<p>[base/gstype42.c]</p> +</blockquote> + +<p><strong><a name="2008-10-23T043329.326096Z"></a> +2008-10-23T04:33:29.326096Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Make gx_sort_ht_order() deterministic. + +DETAILS: + +The gx_sort_ht_order() routine sorts the halftone mask values. +These values are often the same and qsort() does not guarantee the +order of equal elements. However, the order appears to be significant +for the output (differences in the nightly regression are seen on +different computers). And it's also possible that this indeterminism +is part of the cluster regression problem. + +This revision sorts equal masks by index value. + +DIFFERENCES EXPECTED: + +Some of the pbmraw or pkmraw nightly regressions may have minor +differences in the dithering pattern. + +</pre> +<p>[base/gsht.c]</p> +</blockquote> + +<p><strong><a name="2008-10-23T042842.566180Z"></a> +2008-10-23T04:28:42.566180Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Changed decleration of det from float to double in gs_matrix_invert(). + +DETAILS: + +On peeves the results of gs_matrix_invert() change depending on +whether or not compiler optimization is enabled if det is declared +as a float. I believe this is due to the optimized code never +storing the det value so it never get shortened to a float; by +declaring it as a double the unoptimized code should act the same. + +</pre> +<p>[base/gsmatrix.c]</p> +</blockquote> + +<p><strong><a name="2008-10-21T180959.854984Z"></a> +2008-10-21T18:09:59.854984Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a makefile dependency which should have been added in r8872. +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-21T162609.248809Z"></a> +2008-10-21T16:26:09.248809Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS intetreter) : Crash in garbager when resetting marks in names table. + +DETAILS : + +Bug 690129 "MSVC8 x64 debug build crashes in names_trace_finish" + +1. The real bug : the old code sometimes removes an element from nt->sub table with name_scan_sub, +and then resets marks in the element that has same table index. +If the removed element is the last one, +it tryes to process an uninitialised element and crashes indeterministically. +The new variable save_count works for that. +The bug persisted since the repository was created. + +2. Minor change : an optimization : The old code checked twice +for the loop exit condition. To fix it we changed the type of +the variable 'i' and changed the loop condition. + +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2008-10-21T103552.809111Z"></a> +2008-10-21T10:35:52.809111Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): Conversion of PaintType 0 fonts to text rendering mode +1 sometimes produced incorrect stroke width. + +Details: +Bug #690116 "StrokeWidth of outline font too small" + +pdfwrite converts fonts with a PaintType of 0 (outline fonts) to a normal +font, but sets the text rendering mode to 1. The calculation of the +required stroke width was insufficient in some cases. + +</pre> +<p>[base/gdevpdts.c base/gdevpdtt.c base/gdevpdts.h]</p> +</blockquote> + +<p><strong><a name="2008-10-19T203203.940940Z"></a> +2008-10-19T20:32:03.940940Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Search for 'startxref' instead of '%%EOF' in PDF recovery code because +'%%EOF' is mangled more ofthen than 'startxref'. Bug 690071, customer 384. + +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-19T012328.662366Z"></a> +2008-10-19T01:23:28.662366Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Extend the size of the array for procedures scheduled for binding in DELAYBIND +mode to 2000. Prevent an overflow when 3rd party code (such as Ubuntu CJKV +patch) binds many new procedures. Bug 690124. + +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-18T105242.057112Z"></a> +2008-10-18T10:52:42.057112Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed bug #690032: bjc600/bjc800 drivers do not work with PDF input +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2008-10-18T031141.445457Z"></a> +2008-10-18T03:11:41.445457Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in a new reusable stream implementation introduced in rev. 8810. +Take into account unread data left in the stream buffer before refilling +the buffer. Bug 690090, customers 384, 581, 661. + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-17T225821.764880Z"></a> +2008-10-17T22:58:21.764880Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update properties for cups driver files. +</pre> +<p>[cups/pstoraster.in cups/pdftoraster.c cups/pstopxl.in cups/pxlmono.ppd cups/cups.mak cups/gdevcups.c cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-10-17T225738.635737Z"></a> +2008-10-17T22:57:38.635737Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Use $(PDFTORASTER_XE) for path to compiled pdftoraster binary +</pre> +<p>[cups/cups.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-17T214627.567328Z"></a> +2008-10-17T21:46:27.567328Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Put new files under MIT license, +</pre> +<p>[cups/pdftoraster.c cups/pdftoraster.convs]</p> +</blockquote> + +<p><strong><a name="2008-10-17T205006.903656Z"></a> +2008-10-17T20:50:06.903656Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out (continued). + +DETAILS : + +Bug 690106 "Regression: /unregistered in --run--" + +The recent patch for the subject is not sufficient because +an empty clipping condition cannot be anticipated in the clist writer. +To fix it we introduce a new flag gx_device_clist_writer_s::cropping_saved +especially for clist_fill_path to know whether it was called recursively +for passing an untrivial clipping path for a shading. The cropping must be restored +in the outer call iff it is set. + +</pre> +<p>[base/gxclpath.c base/gxclist.c base/gxclist.h]</p> +</blockquote> + +<p><strong><a name="2008-10-17T202704.052662Z"></a> +2008-10-17T20:27:04.052662Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added Ghostscript-based pdftoraster filter +</pre> +<p>[cups/pdftoraster.c cups/cups.mak cups/pdftoraster.convs]</p> +</blockquote> + +<p><strong><a name="2008-10-17T164958.474885Z"></a> +2008-10-17T16:49:58.474885Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed several bugs, like crash if input is PDF (bug #690101), duplex not working, ... +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2008-10-17T134434.259593Z"></a> +2008-10-17T13:44:34.259593Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Consider /Identity CMap compatible with any CIDFont /Ordering. Bug 690120. + +</pre> +<p>[Resource/Init/gs_cidcm.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-17T093135.914027Z"></a> +2008-10-17T09:31:35.914027Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite): ICCBased color spaces in input PDF files, /Alternate space converted to +ICCBased in output PDF file. + +Details: +Bug #690038 "Regression: ghostscript cannot read ghostscript produced PDF file." + +The PDF interpreter always runs with (in effect) /UseCIEColor set to true. This converts +process spaces to CIE color spaces, which are emitted in the PDF as ICCBased color +spaces when using pdfwrite/ps2write. + +However, for ICCBased color spaces this caused the /Alternate space of the ICCBased +space to become another ICCBased space, which is legal but silly, and caused the GS PDF +interpreter problems. + +Modified the alternate space extraction routines so that they can use the UseCIE flag in +the color handling code to prevent the base space being substituted with a CIE space, +when the parent space is an ICCBased space. + +Also discovered in passing that zfsample.c and zfunc4.c use zcolor.h but the makefile +did not have dependencies for them. Fixed. + +</pre> +<p>[psi/zcolor.c psi/zfunc4.c psi/zcolor.h psi/int.mak psi/zfsample.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T174700.008618Z"></a> +2008-10-15T17:47:00.008618Z Ray Johnston</strong></p> +<blockquote> +<pre> +Switch file I/O of 'opdfread.ps' to 'strmio' that supports the %rom% file system +as well as the default (%os%) file system. Bug 690074. +</pre> +<p>[base/gdevpdfu.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-15T070640.437422Z"></a> +2008-10-15T07:06:40.437422Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 9154 accidentally left a temporary C++ style comment in place. + +</pre> +<p>[psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T045130.597312Z"></a> +2008-10-15T04:51:30.597312Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 689961. + +There was a problem with the testing to determine if a color space mapping was linear within a triangle and along a line. The old code assumed the number of components was the same in the client and device color space. In general this is not true, especially if we have a DeviceN color space with one color and a CMYK output device, which was the test case given. + +</pre> +<p>[base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013243.847670Z"></a> +2008-10-15T01:32:43.847670Z Ralph Giles</strong></p> +<blockquote> +<pre> +Exclude local repository files from other version control systems +from clusterpush. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013239.731625Z"></a> +2008-10-15T01:32:39.731625Z Ralph Giles</strong></p> +<blockquote> +<pre> +Read git commit names if an svn revision number isn't available. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013233.815878Z"></a> +2008-10-15T01:32:33.815878Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the clusterpush script for the new source locations. + +Previously we copied the baseline from the last ghostpcl run on the +cluster, but since the ghostpdl tree moved to the public repository it +runs in an updating directory like gs. + +Also, compare return codes numerically instead of as a string. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-14T182724.066580Z"></a> +2008-10-14T18:27:24.066580Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (PS interpreter): .seticcspace leaving operand on stack. + +Details: +Bug #690039 "failure to read ICC profiles generated by +Adobe Photoshop Version 7 and 9". + +ICC profiles in PostScript comments are handled by the comment +parsing code in gs_icc.ps, using the .seticcspace operator. After +the recent change to handle colour in 'C' rather than PostScript, +the .seticcspace operator was not removing its argument from the +operand stack. + +This led to the comment processing for other purposes (specifically +pdfwrite in this case) generating errors, as the stack had been disturbed. + +Altered the 'seticc' routine (called by .seticcspace) to remove the +operand from the stack. Also required altering the C colour processing +to increment the operand stack and pass the operand that way, when +calling seticc for PDF interpretation. + +</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2008-10-13T210348.526048Z"></a> +2008-10-13T21:03:48.526048Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Make Duplex with the "pxlcolor" and "pxlmono" drivers work (standard command line options "-dDuplex" and "-dTumble"). +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2008-10-12T063818.212672Z"></a> +2008-10-12T06:38:18.212672Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove spurious un-definition of GlobalSubrs attribute during loading of +OpenType CFF fonts as CIDFont resources. Bug 690113, customer 1110. + +</pre> +<p>[Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-10T085142.858031Z"></a> +2008-10-10T08:51:42.858031Z Ken Sharp</strong></p> +<blockquote> +<pre> +The update for opdfread.ps in revision 8706 missed a required routine 'putu32'. + +Details: +putu32, used to update the offsets of TrueType tables in the TrueType header, uses +putu16, which was accidentally omitted. This (oddly) didn't seem to cause a problem with +testing but did for the customer. Added the missing routine. + +</pre> +<p>[Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-09T194814.487705Z"></a> +2008-10-09T19:48:14.487705Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Scale widget annotations in x and y directions to fit the BBox of the +appearance stream into the annotation rectangle. Old code considered +y direction only. Bug 690109. + +DETAILS: +This implementation is mainly based on the experiments with AR5. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-09T175310.358436Z"></a> +2008-10-09T17:53:10.358436Z Ray Johnston</strong></p> +<blockquote> +<pre> +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. +</pre> +<p>[psi/dw32c.def]</p> +</blockquote> + +<p><strong><a name="2008-10-08T150358.878575Z"></a> +2008-10-08T15:03:58.878575Z Ray Johnston</strong></p> +<blockquote> +<pre> +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. +</pre> +<p>[psi/dwmain32.def]</p> +</blockquote> + +<p><strong><a name="2008-10-08T134055.237034Z"></a> +2008-10-08T13:40:55.237034Z Ken Sharp</strong></p> +<blockquote> +<pre> +Log: +Fix: ps2write. Very large TrueType fonts (>64Kb), when converted to Type 42 +fonts for use in PostScript, must contain an /sfnts entry, which is an +array of strings comprising the TT font. There are restrictions on where +the original data is split to form the strings, which ps2write was not +honouring. + +DETAILS: +Bug #690044 "Printer error (49,4C02) with ps2write output" +Bug #690012 "Error with ps2write output ps file when Unicode font is used" +Bug #690030 "Issue with NeverEmbed flag with ps2write device for some of the fonts" + +There are five changes made to opdfread.ps in order to fix these problems: + +1) The VM allocation mode used by opdfread is now local throughout, where + previously it was global. Judging by the number of local hacks, this + has frequently caused problems in the past. + +2) There was a problem if a Font Descriptor contained neither a FontFile + nor a FontFile2 entry. This was due to not embedding fonts, but caused + the code to enter an infinte loop looking for one or the other. + +3) After encountering the 'xref' in the PDF file, the code simply + flushed the input file. This could potentially cause a problem if the + EOF was not signalled back to the interpreter. This was theorised to + be one of the issues, and fixed in passing, even though it was not + in fact causing a problem. + +4) The sfnts array is now built up from strings which follow the rules + laid out in the Type 42 Font Format specification (tech note 5012) + In particular the glyf table is now split on glyph boundaries. This + only seems to cause problems for Adobe interpreters. + +5) The 'post' table processing was modified to use an array of strings + instead of a single string, if the table was >64Kb. + +</pre> +<p>[Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-08T074352.342922Z"></a> +2008-10-08T07:43:52.342922Z Igor Melichev</strong></p> +<blockquote> +<pre> +TT fonts : An initial implementation of GSUB. + +DETAILS : + +This is a partial fix for bug 689304 +"improper handling of vertical japanese text". +It works for brackets and punctuation signs orientation +when a vertical CJK text is painted with an +Open Type font that defines a GSUB table. + +The curent implementation always chooses a Format 1 +substitution table that substitutes single glyphs to single glyphs. +It doesn't account LangSys and feature tables. +Such logic is owned from the CJK patch attached to the bug 689304. +It may need further improvements. + +Opposite to CJK group we implement it in C to allow +to it to work for other interpreters besides Postscript. + +Interpreters may need to add an explicit call to +the new function gs_type42_substitute_glyph_index_vertical +to involve the new functionality. This happens due to +a compatibility to PS interpreter that needs to call +the new function from the interpreter code rather than from +the graphics library. + +See comments in code for more details. + +</pre> +<p>[psi/zchar42.c base/gxfont42.h base/gstype42.c Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-08T055627.963219Z"></a> +2008-10-08T05:56:27.963219Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix Windows stack overflow when NumRenderingThreads > 0. This was identified +during testing for bug 690108 (see comments, #1 and #2). This is a work around +as it does not address the excessive stack usage, but does work around the +problem by throwing memory at it. Bug 690198. +</pre> +<p>[base/gp_wsync.c]</p> +</blockquote> + +<p><strong><a name="2008-10-07T200558.844384Z"></a> +2008-10-07T20:05:58.844384Z Ray Johnston</strong></p> +<blockquote> +<pre> +Restore function of NumRenderingThreads > 0 that was inadvertently disabled +by previous commit to this module. + +DETAILS: +The segfault was fixed by making sure that the clist structure was initialized +as a 'reader', but this included setting ymin=0, which meant that the following +test for crdev->render_threads == NULL always reverted to single threaded +rendering. + +Note that this also will return the error if "clist_close_writer_and_init_reader" +returns an error value (<0), which is consistent with the behavior of the +clist_get_bite_rectangle function (NumRenderingThreads==0). +</pre> +<p>[base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-05T175125.414873Z"></a> +2008-10-05T17:51:25.414873Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix SEGV when NumRenderingThreads > 0 caused by improper clist reader phase +initialization. Bug #690108. + +DETAILS: +Make sure that the clsit device is initialized to 'reader' mode before checking +the 'render_threads' element of the reader device. Prevents a SEGV when the +corresponding element of the 'writer' device structure was non-zero at the end +of the page since the render_threads table will not have been allocated and +some other (invalid) pointer would be used instead. +</pre> +<p>[base/gxclread.c base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-02T193322.695690Z"></a> +2008-10-02T19:33:22.695690Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move psromfs.mak to the interpreter source tree. + +This file defines variables used by lib.mak, but the resources are all +related to the ps interpreter, so it makes more sense to keep it there. +It is only included by top-level makefiles, so this doesn't violate +the dependency boundary. +</pre> +<p>[psi/os2.mak base/bcwin32.mak base/ugcclib.mak base/psromfs.mak psi/psromfs.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak ijs/unix.mak psi/msvc32.mak base/macos-mcp.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-30T190135.905183Z"></a> +2008-09-30T19:01:35.905183Z Ray Johnston</strong></p> +<blockquote> +<pre> +Clean up a few coverity gripes (nothing important) +</pre> +<p>[base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-09-27T013936.090759Z"></a> +2008-09-27T01:39:36.090759Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Set the temporary value of PDFDEBUG flag using 'gput' procedure instead of +'def' because initial PDF graphic state is represented by a read-only +dictionary. Bug 690088. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-25T234803.662203Z"></a> +2008-09-25T23:48:03.662203Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Process invalid PDF operator QBT as Q BT . +Bug 690089, customer 384. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-25T133655.133901Z"></a> +2008-09-25T13:36:55.133901Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (printer devices) : Allow retries for raster buffer allocation when BufferSpace is default. + +DETAILS : + +Bug 690055 "seg fault at higher resolutions". + +1. The old code implements a branch with increasing the buffer space +when a clist writer initialization fails with limitcheck and +the buffer size is default. +However the clist writer initialization never returns limitcheck, +it does return rangecheck instead. I guess the bug is in the +retry condition so I change it to rangecheck. + +2. When the buffer space size is not default, +the old code crashes while setpagedevice, +if the device was opened. The clist initialization +returns with an inconsistent clist writer state +and the device still has is_open flag set. +The new code resets is_open if the clist writer initialization +fails while setpagedevice. + +Thanks to Ray for participation. + + +</pre> +<p>[base/gxclist.c base/gdevprn.c]</p> +</blockquote> + +<p><strong><a name="2008-09-25T101003.369546Z"></a> +2008-09-25T10:10:03.369546Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out. + +DETAILS : + +Bug 690078 "clist error in fts_41xx.xps and fts_39xx.xps". + +clist_fill_path implements a special processing of a clipping path for shadings. +It falls back to gx_default_fill_path, which accounts both filling path and clipping patch. +Doing so, gx_default_fill_path passes the clipping path to the clist writer +as a high level object with calling clist_fill_path with a NULL color. + +However the 2 calls to clist_fill_path differently processed the +case of the empty clipping : the first call did not return immediately +and restored the compositor cropping interval after returning from gx_default_fill_path, +but the second call does return immediately and did not save the interval before +the clipping path is written. Thus the interval was restored to a wrong state +that occasionally left from a preceeding filling operation. + +This patch moves the check for empty clipping ahead the main +processing in clist_fill_path, so that the 2 calls do same thing +about the skipping of an empty clipping. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-09-24T110746.268855Z"></a> +2008-09-24T11:07:46.268855Z Ralph Giles</strong></p> +<blockquote> +<pre> +Initial support for aes decryption streams. + +Details: + +This adds an AESDecode filter to the interpreter which wraps the +new aes stream implementation. +</pre> +<p>[psi/zfaes.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-24T110743.989804Z"></a> +2008-09-24T11:07:43.989804Z Ralph Giles</strong></p> +<blockquote> +<pre> +Initial support for aes decryption streams. + +Details: + +This adds support for compiling the xyssl aes implementation added +in r8870, and a stream library wrapper which calls it. + +Note that while an s_aes_set_key() procedure is provided to set a +key in an allocated stream state, it merely stores the key, and the +actual allocation of the aes_context structure and initialization +with the key happen the first time the stream's process() method is +called. + +This is because a typical call to filter_read() in the interpreter +binding will end up memcpy()ing this to its own separately allocated +stream state. This preserves any static initialization performed by +the caller, such as passing in the key, but the xyssl aes_context +structure includes an internal pointer, and this is not updated when +the state is copied. + +The internal pointer provides an indirect reference to support optional +storage of the sbox in secure memory. We're not using this feature, so +we could remove it, or update the pointer ourselves when our process() +method is first called. However, working around the issue by delaying +all opaque initialization until the stream is working is more robust. +</pre> +<p>[base/saes.c base/lib.mak base/saes.h]</p> +</blockquote> + +<p><strong><a name="2008-09-23T185730.153977Z"></a> +2008-09-23T18:57:30.153977Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : Incorrect data in garbager descriptor for reusable stream state. + +DETAILS : + +The bug was introduced in rev 8810. +It defines a wrong offset for a relocating pointer. +The reason is an inaccurate copy-and-replace coding. +Fortunately the offset pointed to a static data pointer, +which the garbager filtered out with an error message. + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-09-22T105652.199700Z"></a> +2008-09-22T10:56:52.199700Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a number of no longer required includes from the source, and update the makefile to remove the dependencies. + +Local regression testing shows no differences, local builds correctly generate executable. + +</pre> +<p>[base/gdevpdfm.c base/gdevpsdp.c base/gdevpdt.c base/gdevpdfo.c base/gdevpdf.c base/gdevpsdu.c base/gdevpdfd.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpsdi.c base/gdevpdfg.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T233125.043936Z"></a> +2008-09-19T23:31:25.043936Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a double fclose(). + +fuzzy_diff_images() doesn't open the files it reads from, so it should +not close them when cleaning up. The caller takes care of this on line +764, right after calling fuzzy_diff_images(). +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214510.190751Z"></a> +2008-09-19T21:45:10.190751Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct two typos in error message strings. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214509.139047Z"></a> +2008-09-19T21:45:09.139047Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the freport initizialization out of fuzzy_diff_images() to silence +a gcc uninitialized variable warning. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214508.203062Z"></a> +2008-09-19T21:45:08.203062Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214506.338528Z"></a> +2008-09-19T21:45:06.338528Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a gcc warning. Bug 690054. + +Details: + +The gs_note_error() macro can't be called like a normal function. In +non-debug builds it reduces to its argument, generating an empty +statement. Placing it after a return or on the right hand side of an +assignment prevents this warning. +</pre> +<p>[base/gdev8510.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T162232.262870Z"></a> +2008-09-19T16:22:32.262870Z Ralph Giles</strong></p> +<blockquote> +<pre> +Include our math_.h wrapper instead of math.h. + +Details: + +We have header_.h wrappers for most system headers which include various +platform-specific #ifdef trees to ensure the symbols we use are defined. + +Except for some of the bootstrap code, these wrappers should always be +used instead of the system headers. +</pre> +<p>[psi/zcolor.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T160802.308202Z"></a> +2008-09-19T16:08:02.308202Z Ralph Giles</strong></p> +<blockquote> +<pre> +Also remove gscolor1.h from the zcolor.c dependency list. +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T134455.520555Z"></a> +2008-09-19T13:44:55.520555Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove gscolor1.h. We no longer use gs_setcmykcolor here and so this header is not required. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T000151.675092Z"></a> +2008-09-19T00:01:51.675092Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use a portable path separator in gs.mak. +</pre> +<p>[base/gs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T235526.486186Z"></a> +2008-09-18T23:55:26.486186Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious $(_I) and add use portable $(D_)...$(_D) for defines +as needed by the openvms build. Bug 690084. +</pre> +<p>[base/libpng.mak base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T235007.487730Z"></a> +2008-09-18T23:50:07.487730Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix typos in third-party library paths introduced in r6514. Bug 690084. +</pre> +<p>[base/openvms.mmk]</p> +</blockquote> + +<p><strong><a name="2008-09-18T233116.150062Z"></a> +2008-09-18T23:31:16.150062Z Ralph Giles</strong></p> +<blockquote> +<pre> +Additional leading space characters before colons in makefiles. Bug 690084. +</pre> +<p>[base/lib.mak contrib/contrib.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T203208.326447Z"></a> +2008-09-18T20:32:08.326447Z Ralph Giles</strong></p> +<blockquote> +<pre> +Space makefile colons for the benefit of VMS. Bug 690084. + +OpenVMS supports a basic makefile syntax, but requires a space on both +sides of the dependency colon. We try to maintain this in our +cross-platform makefiles. +</pre> +<p>[contrib/contrib.mak base/contrib.mak base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T182322.617130Z"></a> +2008-09-18T18:23:22.617130Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move time_.h to the top of the include list. +</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003745.093298Z"></a> +2008-09-18T00:37:45.093298Z Ralph Giles</strong></p> +<blockquote> +<pre> +The SunPro compiler doesn't handle variable length arrays in structs. + +Bug 689079. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003743.189925Z"></a> +2008-09-18T00:37:43.189925Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up whitespace in the opvp device source. +</pre> +<p>[contrib/opvp/opvp.h contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003741.259902Z"></a> +2008-09-18T00:37:41.259902Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix: default to MITER line joins in the opvp device. Bug 689079. + +The previous default was BUTT, which is a line cap, not a join. This +looks like it was a cut-and-paste error. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003738.655050Z"></a> +2008-09-18T00:37:38.655050Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix: don't treat char as unsigned in the opvp device. Bug 690079. +</pre> +<p>[contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T001211.086491Z"></a> +2008-09-18T00:12:11.086491Z Ralph Giles</strong></p> +<blockquote> +<pre> +Enable jasper assembly optimizations with _MSC_VER instead of _WIN32 so the MSVC-specific inline code won't be passed to gcc in mingw builds. + +Bug 690070.</pre> +<p>[jasper/src/libjasper/jpc/jpc_qmfb.c]</p> +</blockquote> + +<p><strong><a name="2008-09-16T002906.813229Z"></a> +2008-09-16T00:29:06.813229Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an inadvertent semicolon in gs_throw_code, added in r9037. +</pre> +<p>[base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-09-14T122056.043501Z"></a> +2008-09-14T12:20:56.043501Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Allocate missing FontInfo dictionary in a matching global or local memory and +use .forceput to override read-only status of the font directory. Bug 690063. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-13T202225.237944Z"></a> +2008-09-13T20:22:25.237944Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the dxmain.c and dxmainc.c front ends to the interpreter source +directory. +</pre> +<p>[base/dxmain.c psi/dxmain.c base/unix-dll.mak base/dxmainc.c psi/dxmainc.c]</p> +</blockquote> + +<p><strong><a name="2008-09-12T080554.684727Z"></a> +2008-09-12T08:05:54.684727Z Ken Sharp</strong></p> +<blockquote> +<pre> +The CIEBasedDEF/DEFG colour space validation did not insist that the dictionary contain a +/Table entry, which is a required entry. It also did not limit the numeric values in the +/Table array to integers, reals are not allowed. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-11T160358.760444Z"></a> +2008-09-11T16:03:58.760444Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add support for passing the requested number of copies through to the PXL +output file. Tested on an actual HP printer. +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2008-09-10T213524.802228Z"></a> +2008-09-10T21:35:24.802228Z Ralph Giles</strong></p> +<blockquote> +<pre> +Change two more printf(%x) uses with pointers to use %p. + +Update copyright. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-10T213326.724052Z"></a> +2008-09-10T21:33:26.724052Z Ray Johnston</strong></p> +<blockquote> +<pre> +Replace non-standard %P with %p for pointer printing. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T210054.348833Z"></a> +2008-09-09T21:00:54.348833Z Ralph Giles</strong></p> +<blockquote> +<pre> +Ask gcc to warn about declarations beyond the start of a block. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-09-09T203137.982033Z"></a> +2008-09-09T20:31:37.982033Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move variable declarations to the top of blocks in the fontconfig +support code. + +Also fixes a gcc warning about passing int 0 instead of NULL to +terminate an argument list. +</pre> +<p>[base/gp_unix.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T184527.627887Z"></a> +2008-09-09T18:45:27.627887Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a space to the product name between the family and release names. +</pre> +<p>[base/gscdef.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T174826.542519Z"></a> +2008-09-09T17:48:26.542519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move some interpreter headers from base to psi. + +These were missed in the original merge of the reorganization patch. +Also, add missing makefile dependencies for these new headers. +</pre> +<p>[base/zcolor.h base/zicc.h psi/zcolor.h psi/zicc.h base/zcie.h psi/zcie.h psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-09T143331.847337Z"></a> +2008-09-09T14:33:31.847337Z Ken Sharp</strong></p> +<blockquote> +<pre> +Henry's coverage test revealed that a couple of 'belt and braces' checks in the RGB->HSB +conversion were impossible to trigger. Removed those checks. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-06T095738.114441Z"></a> +2008-09-06T09:57:38.114441Z Ken Sharp</strong></p> +<blockquote> +<pre> +Address some more issues raised by Coverity. Check return values in some places which were +not previously checked, initialise some variables, and remove some dead code. + +Local regression testing of pdfwrite shows no differences. + +</pre> +<p>[base/gdevpdtd.c base/gdevpdtt.c base/gdevpdte.c base/gdevpdtf.c base/gdevpdfe.c base/gdevpdtw.c base/gdevpdti.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T154656.923276Z"></a> +2008-09-04T15:46:56.923276Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix : Divide gdevp14.c into 2 modules. + +DETAILS : + +This change is syntactically equivalent. +The purpose is to minimize dependencies between projects. +The new module gxblend1.c keeps color blending algorithms moved from gdevp14. + +</pre> +<p>[base/gdevp14.c base/lib.mak base/gdevp14.h base/gxblend.c base/gxblend1.c base/gdevdevn.h base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2008-09-04T140617.707413Z"></a> +2008-09-04T14:06:17.707413Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Preovide a right check for incorrect call to pdf14_pop_transparency_group. + +DETAILS : + +This patch doesn't change behavior with regular runs. +In hypothetic cases, when .entransparencygroup is called with no +L +due to unreferencin null pointer. + +</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100554.831940Z"></a> +2008-09-04T10:05:54.831940Z Ken Sharp</strong></p> +<blockquote> +<pre> +More minor issues reported by Coverity. An unchecked return code from cos_dict_find_c_key, +and some dead code. + +</pre> +<p>[base/gdevpdfm.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100410.193139Z"></a> +2008-09-04T10:04:10.193139Z Ken Sharp</strong></p> +<blockquote> +<pre> +A couple of issues detected by Coverity. Firstly an error condition could lead to a file being +left open. Secondly a call to pdf_restore_viewer_state which didn't check the return value. + +</pre> +<p>[base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100204.794387Z"></a> +2008-09-04T10:02:04.794387Z Ken Sharp</strong></p> +<blockquote> +<pre> +More very minor dead code removal, again as noted by Coverity. + +</pre> +<p>[base/gdevpdtb.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100112.562540Z"></a> +2008-09-04T10:01:12.562540Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove some dead code from cmap handling, as noted by Coverity. + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T095911.733313Z"></a> +2008-09-04T09:59:11.733313Z Ken Sharp</strong></p> +<blockquote> +<pre> +Check the return code from pdf_write_resource_objects when closing a page. Fixes Coverity +warning. + +</pre> +<p>[base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T204913.486158Z"></a> +2008-09-03T20:49:13.486158Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add protection for the "finish" exit point for potential (no longer exists +since rev 9062) case when f==NULL when code >= 0. Belt and suspenders couldn't +hurt to improve maintainability (prevent future problems). Original problem +reported by Coverity analysis. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T122027.869178Z"></a> +2008-09-03T12:20:27.869178Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix : gcc compiler warnings (continued). + +DETAILS : + +Repair a file broken due to Far 1.70 editor glitch on Vista. +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T114235.783010Z"></a> +2008-09-03T11:42:35.783010Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix : gcc compiler warnings. + +DETAILS : + +This patch fixes only those ones which either were approved or belong to my ownership. +</pre> +<p>[base/gxclread.c base/gxpcopy.c base/gxclpage.c psi/zfunc4.c base/gxclutil.c base/gxclmem.c base/lib.mak base/gxiscale.c base/gxclmem.h base/gdevpdtd.c psi/int.mak psi/zfsample.c base/gdevpdte.c base/gximage1.c base/gsovrc.c base/gdevprn.c base/gxstroke.c psi/zfunc.c base/gspath1.c base/gxshade6.c psi/zfrsd.c base/gxclpath.c psi/zfunc.h psi/igcstr.c base/mkromfs.c base/gstype42.c base/gdevdsha.c base/gxfill.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T183707.959806Z"></a> +2008-09-02T18:37:07.959806Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed small bug in the patch to add a PJL command for setting the resolution to +the pxlmono/pxlcolor drivers (rev 9060). + +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T090641.787945Z"></a> +2008-09-02T09:06:41.787945Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Let pxlmono/pxlcolor drivers add resolution setting to the PJL header. Printers need the PJL command to set the resolution (see bug 689230). Now the printing resolution can be easily controlled with the "-r" command line option. +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T170320.988497Z"></a> +2008-09-01T17:03:20.988497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix incorrect error code test in the calculator function validation +procedure. + +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T165343.689721Z"></a> +2008-09-01T16:53:43.689721Z Ken Sharp</strong></p> +<blockquote> +<pre> +Resolve another gcc compiler warning. The test was incorrect, now it is correctly taking the +text render mode into account. + +Local regression testing shows no differences. + +</pre> +<p>[base/gdevpdts.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T084944.722693Z"></a> +2008-09-01T08:49:44.722693Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a warning from older versions of gcc. Spotted by Russell Lang when doing OS/2 build. +Oddly, newer versions of gcc don't spot this, even though the code was technically +redundant. + +Also remove some commented out code that should not have been present, and fix a couple +of warnings produced by recent versions of gcc regarding unused local variables and code. + +Local regression testing exhibits no differences. + +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-08-31T002820.047781Z"></a> +2008-08-31T00:28:20.047781Z Russell Lang</strong></p> +<blockquote> +<pre> +Add a makefile target for a Windows source zip file, +used in building a release. +</pre> +<p>[psi/winint.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-30T232304.017387Z"></a> +2008-08-30T23:23:04.017387Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Make PDF interpreter run our /Install procedure after the user's procedure +because: (1) PDF interpreter caches the CTM, (2) the user's procedure may +replace CTM by calling setmatrix. Bug 689914, customer 770. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-30T140729.736170Z"></a> +2008-08-30T14:07:29.736170Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : Wrong dependencies in makefile. + +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-30T133827.563236Z"></a> +2008-08-30T13:38:27.563236Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix gcc warning on OS/2. +</pre> +<p>[base/gdevdsp.c]</p> +</blockquote> + +<p><strong><a name="2008-08-30T133129.235544Z"></a> +2008-08-30T13:31:29.235544Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build after the source reorganization. +Remove the os2pm device and the old DLL interface for OS/2, +to avoid direct links from the graphics library into the +PS interpreter. +</pre> +<p>[base/gp_os2.c base/os2.mak psi/dpmain.c psi/gsos2.def base/gsos2.icx doc/Develop.htm psi/gsos2.rc base/pcwin.mak base/dpmain.c base/gsos2.def psi/os2.mak base/mkromfs.c base/gsos2.rc psi/gsdllos2.h psi/gsos2.icx base/gp_os2fs.c base/gdevpm.c psi/gsdll2.def base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-29T194713.384972Z"></a> +2008-08-29T19:47:13.384972Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the Visual Studio project file generator for +the new source locations. Untested.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2008-08-29T184621.860372Z"></a> +2008-08-29T18:46:21.860372Z Ralph Giles</strong></p> +<blockquote> +<pre> +Split the source tree into two new directories. + +PSSRC files are now in 'gs/psi'. +GLSRC files are now in 'gs/base'. + +This is to facilitate build modularization and merging in the ghostpdl +tree. + +NOTE: msvc32.mak is now in psi, not src. +</pre> +<p>[/trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/main/pcl6_gcc.mak src /trunk/ghostpdl/tools/check_deps.py doc/Develop.htm psi /trunk/ghostpdl/svg/svg_gcc.mak /trunk/ghostpdl/xps/xps_msvc.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/doc/ghostpdl.tex /trunk/ghostpdl/psi/psitop.c doc/API.htm doc/Issues.htm /trunk/ghostpdl/svg/svg_msvc.mak /trunk/ghostpdl/language_switch/pspcl6_gcc.mak doc/Make.htm doc/Drivers.htm base autogen.sh doc/Release.htm doc/C-style.htm /trunk/ghostpdl/doc/ghostpdl.txt /trunk/ghostpdl/xps/xps_gcc.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-28T194700.816950Z"></a> +2008-08-28T19:47:00.816950Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace 3d with 3rd in the documentation and regularize '3(r)d party' as +'third-party'. Bug 690004. +</pre> +<p>[doc/Use.htm doc/Lib.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024007.463083Z"></a> +2008-08-28T02:40:07.463083Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use the new gs_rethrow_code() macro in svgwrite. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024006.379728Z"></a> +2008-08-28T02:40:06.379728Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add gs_throw_code() and gs_rethrow_code() macros for use in situations +where the normal error string does not fit or is redundant. +</pre> +<p>[src/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024004.423296Z"></a> +2008-08-28T02:40:04.423296Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix some code style issues in the svgwrite device. + +We can't use gs_note_error() as we were because it returns the error +code which generates an empty statement warning with gcc. Use gs_throw() +instead for now. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-28T003633.257400Z"></a> +2008-08-28T00:36:33.257400Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update warnings policy; we agreed to fix all warnings. +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-28T000340.520992Z"></a> +2008-08-28T00:03:40.520992Z Ralph Giles</strong></p> +<blockquote> +<pre> +Document the motivation for a source style item. + +Details: + +There has been some controvesy over the rule that single-statement +bodies of control structs must be on their own line. Specifically: + + if (code < 0) + return code; + +instad of: + + if (code < 0) return code; + +despite the latter being less obtrusive for common error checks. + +Several developers have requested this because it allows setting a +breakpoint directly on the return statement instead of a conditional +return on the conditional line, or a breakpoint at the return inside +the single source line. This is therefore a practical issue, not just +one of readability and style. +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T172724.986727Z"></a> +2008-08-27T17:27:24.986727Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix more html conformance problems with the documentation. +</pre> +<p>[doc/Ps2ps2.htm doc/Fonts.htm doc/Use.htm doc/Ps2pdf.htm doc/Develop.htm doc/Deprecated.htm doc/Install.htm doc/API.htm doc/Issues.htm doc/Make.htm doc/Drivers.htm doc/Release.htm doc/C-style.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T025723.718740Z"></a> +2008-08-27T02:57:23.718740Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove Humor.htm. + +The joke has gotten old, and blogs are a better medium for this sort of +thing. +</pre> +<p>[doc/Humor.htm doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T021643.113337Z"></a> +2008-08-27T02:16:43.113337Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the obsolete HTML style guidelines. + +We no longer expect readers to look at the raw html in a text editor. +Documentation should declare its format specification and conform to it, +attempting to match local style where appropriate. +</pre> +<p>[doc/Htmstyle.htm doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T021410.447789Z"></a> +2008-08-27T02:14:10.447789Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace the awkward <b><tt> construction with css-styled <code> elements. +</pre> +<p>[doc/History7.htm doc/Fonts.htm doc/Projects.htm doc/Ps2ps2.htm doc/Use.htm doc/Readme.htm doc/Develop.htm doc/Ps2pdf.htm doc/Deprecated.htm doc/Source.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Install.htm doc/Htmstyle.htm doc/API.htm doc/gs.css doc/DLL.htm doc/Make.htm doc/Drivers.htm doc/Unix-lpr.htm doc/Commprod.htm doc/C-style.htm doc/Ps-style.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2epsi.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-26T215026.926408Z"></a> +2008-08-26T21:50:26.926408Z Ralph Giles</strong></p> +<blockquote> +<pre> +Cast away signed/unsigned char warnings in gdevsvg. + +Patch from Igor Melichev. Also cleaned up some trailing whitespace. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-26T214055.546109Z"></a> +2008-08-26T21:40:55.546109Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove references to bits64 from the source style documentation. It is +superceeded by the stdint types. +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-26T155938.718117Z"></a> +2008-08-26T15:59:38.718117Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PDF interpreter) : Implementing a temporary option for development needs of images with soft mask. + +DETAILS : + +It doesn't chamge the behavior for regular runs. +The new temporary option is for development purpose only. +It will be removed after the complete implementation of images with soft mask is done. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-26T153103.416051Z"></a> +2008-08-26T15:31:03.416051Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PDF interpreter) : A wrong comment about procedure operands for is_big_mask . + +DETAILS : + +It changes a comment only. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-26T070255.610521Z"></a> +2008-08-26T07:02:55.610521Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Scanline algorithm missed pixels at horizontal boundaries. + +DETAILS : + +Bug 689402 "Regression: differences in dina3_watermark.pdf". + +The defect looks as an unimplemented branch. +which persists since Ghostscript 8.00 released on Decebmer 2002 +or longer. We could get a similar problem when runnung Bug687832.pdf +with Ghostscript 7.04 (it can't handle dina3_watermark.pdf), +and our reading of its code shows that the problem presents in it. +So the problem is really antique. + +The bottom of the problem is that fill adjustment was not applied +to some horizontal segments. Due to that some pixel centers are not covered +when they must be. + +</pre> +<p>[src/gxfillsl.h]</p> +</blockquote> + +<p><strong><a name="2008-08-23T163921.950258Z"></a> +2008-08-23T16:39:21.950258Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 6 Coverity warings about local variables hiding function arguments +by renaming local variables. + +</pre> +<p>[src/gsbitops.c]</p> +</blockquote> + +<p><strong><a name="2008-08-23T010547.610764Z"></a> +2008-08-23T01:05:47.610764Z Russell Lang</strong></p> +<blockquote> +<pre> +Remove reference from Windows image window code back to PostScript interpreter, +to allow the image window code to be used with non-interpreter builds. +</pre> +<p>[src/dwimg.h src/winint.mak src/dwmain.c src/dwmain.rc doc/Develop.htm src/dwmainc.c src/dwmain.h src/dwimg.c src/dwres.h]</p> +</blockquote> + +<p><strong><a name="2008-08-22T163436.763761Z"></a> +2008-08-22T16:34:36.763761Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the dw source files from GLSRC to PSSRC. Items in GLSRC shouldn't +depend on items in PSSRC. This is in preparation for the code +reorganization. + +Details: + +A number of these files, dwtext, dwtrace, and with some modifications +dwimg don't actually have PSSRC dependencies, but it's easier to keep +all the files built by winint.mak there for now. They can be moved back +into the base library later when they're useful for other builds. +</pre> +<p>[src/winint.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-22T011328.560292Z"></a> +2008-08-22T01:13:28.560292Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an unnecesary iapi.h include. +</pre> +<p>[src/winint.mak src/dwimg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-22T011124.167807Z"></a> +2008-08-22T01:11:24.167807Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/dwimg.h src/dwimg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T232624.907412Z"></a> +2008-08-21T23:26:24.907412Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing return value check. Coverity issue 1847. +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T225500.562927Z"></a> +2008-08-21T22:55:00.562927Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a double free introduced in r9005. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T215124.194924Z"></a> +2008-08-21T21:51:24.194924Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/ztrans.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T083509.363063Z"></a> +2008-08-21T08:35:09.363063Z Ken Sharp</strong></p> +<blockquote> +<pre> +Submission for revision 9008 initialised the wrong 'pfn' variable. + +Details: +Accidentally changed the use in 'zbuildfunction' instead of 'buildfunction'. Correcting. +</pre> +<p>[src/zfunc.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T083331.319105Z"></a> +2008-08-21T08:33:31.319105Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix some more Coverity warnings + +Details: +Two places where a return value (from names_ref) was not being checked, one inadvertent +piece of dead code (duplicating a previous error check) and one genuine case of a variable +which could potentially be used uninitialsed. +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T082849.451522Z"></a> +2008-08-21T08:28:49.451522Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence an 'uninitialised variable' warning from Coverity. + +Details: +Function initialisation is a bit round about. We pass a function pointer to +make_sampled_function, which assigns it to a local variable. That variable is passed to +gs_function_Sd_init, which immediately zeros it.... + +Since the pointer is never actually used, setting it to NULL should silence the warning.</pre> +<p>[src/zfunc.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T235843.536642Z"></a> +2008-08-20T23:58:43.536642Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace an abs() call with our any_abs() macro. Also remove an +unnecessary math_.h include. + +Details: + +A call to abs() was added in r8942. Technically the prototype for this +is in stdlib.h, but it's a built-in in most compilers so this didn't +raise a warning. We do include stdlib.h elsewhere, usually for qsort() +or malloc(), but abs() is only called from comment pseudo code; in +practice the any_abs() macro or fabs() from math.h are used instead. +Because this isn't in an inner loop, speed isn't important, so we prefer +the macro to a system header include for consistency. + +Sine the beginning of repository history, gdevbit.c has included math.h, +but I don't see any math library calls now, so it as been removed. +</pre> +<p>[src/gdevbit.c src/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-20T232249.144680Z"></a> +2008-08-20T23:22:49.144680Z Ralph Giles</strong></p> +<blockquote> +<pre> +Check for and propagate failures to find matching component indexes in +jpx streams. + +</pre> +<p>[src/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T220949.649774Z"></a> +2008-08-20T22:09:49.649774Z Ralph Giles</strong></p> +<blockquote> +<pre> +Further cleanups to the unix persistent cache error handling. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T213228.795836Z"></a> +2008-08-20T21:32:28.795836Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix memory and file handle leaks in the unix persistent cache error +handling. Also document that it is not re-entrant. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T194620.907096Z"></a> +2008-08-20T19:46:20.907096Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T190944.615235Z"></a> +2008-08-20T19:09:44.615235Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a cast in svgwrite to be explicit that we're only using the lower 24 +bits of the color index. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T182610.369143Z"></a> +2008-08-20T18:26:10.369143Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix __func__ on the default (non-C99) gcc build. + +Details: + +__func__ is a variable in C99. The earlier __FUNCTION__ is a magic +preproccessor define in MSVC 7 and later, so the #if defined() clause +enabled it. However, in GCC it is a magic string literal instead and so +this clause did not enable it. Therefore we add an explicit check for +the appropriate GCC version and define the same substitution for that +compiler. + +</pre> +<p>[src/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-08-20T015436.820847Z"></a> +2008-08-20T01:54:36.820847Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the svgwrite device to the default windows build. +Bug 690028.</pre> +<p>[src/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-19T040740.862102Z"></a> +2008-08-19T04:07:40.862102Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the jasper dependency from jpxtopdf. It's straightforward to +parse the image header ourselves. +</pre> +<p>[toolbin/jpxtopdf.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T123125.491176Z"></a> +2008-08-17T12:31:25.491176Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in error checking code introduced in the rev. 8996 in pamcmyk32 +device. Bug 689583. +</pre> +<p>[src/gdevpbm.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T061935.130662Z"></a> +2008-08-17T06:19:35.130662Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check return values from all stdio functions in all pnm drivers and propagate +error codes upwards. Bug 689583. + +</pre> +<p>[src/gdevpbm.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T011923.099945Z"></a> +2008-08-17T01:19:23.099945Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add one more NMAKE version recognized as MSVC 7. +Bug 689816, customer 351. +</pre> +<p>[src/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-16T041820.474141Z"></a> +2008-08-16T04:18:20.474141Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Work around a bug in a PDF file produced by "Nitro PDF Driver". Assume invalid +operator '-' to be a number 0. Bug 690012, + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-16T020051.387588Z"></a> +2008-08-16T02:00:51.387588Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix parsing of large embedded TrueType fonts by ps2write header: (1) read the +file into multiple strings for sfnts array. (2) use multiple reads to skip +over large parts of the file. Also modify Type42 font reader to allow TrueType +objects to span sfnts string boundaries. Bug 690012. + +</pre> +<p>[src/gxttfb.c Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-14T175406.399403Z"></a> +2008-08-14T17:54:06.399403Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use GNU iconv.h header in compatibility mode unless we link with GNU libiconv. +This is needed for compiling gs with gcc under HP-UX 11.11. + +DETAILS: +gdevopvp.c uses some basic functionality from iconv library but none of GNU +extensions. So the native implementation is searched first. + +GNU header uses different names in the library and defines some macros to map +iconv* names to GNU libiconv* names. + +gcc looks for GNU version of iconv.h first, which requires a compatibility +flag to link with the native libraries. + +So the compatibility flag is set when iconv* functions are not found but +libiconv* functions are found. + +</pre> +<p>[src/configure.ac contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-08-13T015636.856132Z"></a> +2008-08-13T01:56:36.856132Z Ray Johnston</strong></p> +<blockquote> +<pre> +Update the fonts to those that the nightly and cluster regressions have +been using all along. The -Ifonts in the regression script was causing +the contents of Resource/Font to be ignored. These fonts are the std-8.11 +version. + +Note we probably next need to move to the newer version of these fonts +with the metrics fixed, but this is a first step. + +DETAILS: +These are files that were part of the distribution 8.11 files that really +can't live in the Resource/Font directory since some applications or +test files will enumerate (with 'resourceforall') the directory and will +get errors if files are there that are not fonts. +___________________________________________________________________________ + README: +This is release 1.0.7pre22 of Valek Filippov's improved versions of the URW +type 1 font collection, repackaged for distribution with Ghostscript. + +Cyrillized free URW fonts. + +These fonts were made from the free URW fonts distributed with ghostcript. +There are NO changes in the latin part of them (I hope). +Cyrillic glyphs were added by copying suitable latin ones +and painting oulines of unique cyrillic glyphs in same style as the others. +For all modification pfaedit was used. +The license for result is (of course) same as for original fonts, +i.e. GPL with an exception that you can put these fonts in your own non-GPLed +documents. (Looks like LGPL from my point of view =). + +The "sources" of these fonts in the native pfaedit format are available +at ftp://ftp.gnome.ru/fonts/sources + +The great font editor pfaedit is available at http://pfaedit.sf.net. +That page also includes some links to fonts created by +George Williams -- the author of pfaedit. + +Acknowledgements: +I would like to thank George Williams, the pfaedit's author and developer. +He is the most bug-reporter/feature-requester friendly developer +I ever saw in my not so short life. At some moment in the future +I must write a book about him: "George Williams and my best experience +in bug-reporting." George also greatly helped me bug-hunting these fonts, +explained to me some very important things about fonts and font design, +quickly adopted pfaedit to my needs (or pointed me to The Right Place in +documentation where I found better way of doing things). + +I would like to thank Alexey Novodvorsky (aka AEN), who +pointed me to pfaedit and George Williams' fonts, explained +The Task to me. He is also one of the main participators in the +development of Sysiphus -- free repository of free software. +I didn't loose my time for compiling/installing and supporting +my linux box coz I used the result of Sysiphus developers' works. + +I would like to thank Sergey Vlasov, who tested these fonts and reported +about bugs. Also he help me to make some bug-reports to George about +pfaedit bugs. + +I would like Dmitry 40in, who did big QA for some font outlines, drawn some glyphs, +and explain some The Truths for me. + +I would like to thank Vlad Harchev (aka hvv), who +proofread this text for me. + +Also I have to thank RMS for GPL and URW for releasing the fonts +under it. + +Thank you very much! +Valek Filippov frob@df.ru +(C)opyLeft 2001 +______________________________________________________________________________________ + TODO: +- fix all missed glyphs. +- change suitable glyphs with references. +- improve bearings of glyphs (thanks Dmitry 40in who pointed me to this) +- improve outlines of some cyrillic glyphs +______________________________________________________________________________________ + Changelog: +2002-11-22 Valek Filippov <frob@df.ru> + + Fixed bug that broke printing from QT. + +2002-11-16 Valek Filippov <frob@df.ru> + + Fixed some cyrillic (russian) glyphs in NimbusMono. + NimbusMono Ascend/Descend were changed to match the visible + size of the other font if same point-size is used. + +2002-10-12 Valek Filippov <frob@df.ru> + + Regenerated coz I screwed up UIDs. + Partly applied Owen Tailor tweaks. + (Really GWW changed pfaedit autohinter after OT sugggestion, + so other OT tweaks are aoutomade by pfaedit) + +2002-08-17 Valek Filippov <frob@df.ru> + + Regenerated from 9-aug pfaedit version. + Mostly for testing of new cubic->quad bezier conversion. + +2002-07-22 Valek Filippov <frob@df.ru> + + Regenerated from 22-07 pfaedit version. + I still haven't enough time for correct serbian glyphs from Danilo + integration =( + +2002-05-19 Valek Filippov <frob@df.ru> + + Regenerated from 18-05 pfaedit version. + Restored original UIDs. + Made otf versions again =) + +2002-03-06 Valek Filippov <frob@df.ru> + + Added pfms. Forced using of original kerning. + d* and s* files were missed (fixed now). + +2002-03-04 Valek Filippov <frob@df.ru> + + Improved Bookman and Gothic. All fonts were regenerated + (fix 'Delta', improved hinting). pfms are temporary excluded. + +2002-02-03 Valek Filippov <frob@df.ru> + + Improved Bookman Light/DemiBold. At 2002-01-07 I put + non latest version of Chancery -- fixed. + +2002-01-18 Valek Filippov <frob@df.ru> + + All fonts regenerated again, coz AEN found bug in names translation. + NimbusRomNo9-Regu greatly improved. NimbusRomNo9-Bold, NimbusSans{Cond}-{Regu,Bold} + partially improved. + +2002-01-07 Valek Filippov <frob@df.ru> + + Bookman improved. Chancery added. + +2002-01-04 Valek Filippov <frob@df.ru> + + All fonts were regenerated. + TTF-instructions were improved, some non-russian cyrillic + fixed, "fi" and "fl" ligatures ligaturized where were not. + Implemented some changes that Dmitry suggested, + NimbusMono-Regular is partially made by him. + Added COPYING. Generated pfm-files. + Added fonts.dir and fonts.scale from gnu-gs-fonts. + +2001-12-14 Valek Filippov <frob@df.ru> + + Full tarball was made. + + NimbusRomNo9 regenerated. Added 'numero sign', + 'infinity' and 'Omega' (in Regu -- by Dmitry 40in). + OTF versions removed until the best time. + Dmitry supposed that URW'd presented 'beta'-version + of fonts to community, coz bearings for original URW + are not perfect. 1st attempt to fix it. + +2001-12-12 Valek Filippov <frob@df.ru> + + Schoolbook extended to 'val3' and regenerated. + Palladio extended to 'val3' and regenerated. + Bookman extended to 'val3' and regenerated. + Gothic extended to 'val3' and regenerated. + Some glyphs still missed. + + NimbusMono regenerated with modern pfaedit + (bug with xterm fixed). Some 0x4** glyphs fixed. + Added "number sign" and "infinity". Thanks to + Dmitry 40in and Anton Zinoviev who criticized me + about it. + +2001-12-08 Valek Filippov <frob@df.ru> + + Added updated version of NimbusSansCond. + Changes same like for NimbusSans + (except: otf version not added). + +2001-12-07 Valek Filippov <frob@df.ru> + + Added updated version of NimbusMono. + (Lat Ext-A, full 0x400 except 'glagolic', some chars are still + missed; ttf hinting regenerated; otf version added; + 'Cyr De, de, L, l, Ch, ch' fixed). + +2001-12-06 Valek Filippov <frob@df.ru> + + Added updated version of NimbusSans. + (Lat Ext-A, full 0x400 except 'glagolic', some chars are still + missed; ttf hinting regenerated; otf version added; + 'Cyr De, de, L, l, Ch, ch' fixed). + +2001-12-05 Valek Filippov <frob@df.ru> + + Kern pairs from original URW had missed at the 11-nov version. + Added OpenType version of fonts. + +2001-11-11 Valek Filippov <frob@df.ru> + + NimbusRomanNo9 + Regular: added all uni0400 (except ancient cyrillic /glagolic?/). + 04bc-04bf, 04a8-9, 04d8, 04da still missed. + added all glyphs from Lat Ext-A (uni0100-017F) that was missed + in original URW (45 glyphs). + Most of accented chars and part of cyrillics changed + with references. + TTF hinting regenerated with modern PfaEdit. + Bold: same but also missed 0494, 04a6, 04c3 + Italic, BoldItalic: same but missed many non-russian cyrillics. +______________________________________________________________________________________ + README.tweaks +Nimbus Sans L Regular, Nimbus Mono L Regular, Nimbus Mono L Oblique +all come from a more recent version of the cyrillic URW fonts. + +The hints on Nimbus Sans Regular have been modified in the +following ways: + +25 June 2002 + + - Added ghost hint to the top of 4 to keep it from being + taller than the other digits. + - Reduced the width of the left stem hint for H to 83 + (probably no real differences) + - Changed the StemSnapV values from [78 85 94] to [78 83 92] + (and fixed up StdVW accordingly) + This corresponds to the values in the font (which are 83/93 + for lower case and upper case stems) better and makes + the width-88 stems on M and N snap to to upper case + widths not lower-case widths. + +29 June 2002 + + - Removed odd vertical stem hints (width of horizontal + stems) from f, F, t, E, yen sign, fi ligature, + fl ligature, AE ligature, R, Lstroke, OE ligature, + lstroke, E" variants, t, variants, Eth, Dstoke, etc. + - Fixed hints on 1 to be two ghost hints instead of one + hint the height of the font + - fix bottom stem of u to have integer coordinates + - fixed hints on | + - fixed hints on inverted exclamation mark + +The hints on Nimbus Mono L Oblique have been modified in the +following ways: + + - Removed vertical stem hints from horizontal serifs on + roman characters. + +Owen Taylor +</pre> +<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusRomNo9L-MediItal Resource/Font/NimbusSanL-BoldItal Resource/Font/URWGothicL-Demi Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/NimbusSanL-ReguItal Resource/Font/URWGothicL-BookObli Resource/Font/URWPalladioL-Ital]</p> +</blockquote> + +<p><strong><a name="2008-08-12T234453.919723Z"></a> +2008-08-12T23:44:53.919723Z Ray Johnston</strong></p> +<blockquote> +<pre> +Remove 'Actual Fonts' references in the Fontmap that connected the URW FontName +to an 8.3 filename that we no longer use. +</pre> +<p>[Resource/Init/Fontmap.GS]</p> +</blockquote> + +<p><strong><a name="2008-08-12T210438.048281Z"></a> +2008-08-12T21:04:38.048281Z Ray Johnston</strong></p> +<blockquote> +<pre> +Move opdfread.ps to Resource/Init since this is needed by the 'ps2write' device. +</pre> +<p>[lib/opdfread.ps Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-12T144202.961911Z"></a> +2008-08-12T14:42:02.961911Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix: Genoa file renders incorrectly with current color code + +Details: +A typo in the DeviceGray code used an array of doubles instead of floats, causing incorrect +values to be returned by currenthsbcolor. + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T134108.386171Z"></a> +2008-08-12T13:41:08.386171Z Ken Sharp</strong></p> +<blockquote> +<pre> +Yet another minor change in the color work. + +The test file 'foo0-ge-64k.pdf' demonstrated an error with NChannel processing. The old +PostScript based code simply ignored errors when setting the NChannel Colorant spaces, we +now do the same. + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T091756.269901Z"></a> +2008-08-12T09:17:56.269901Z Ken Sharp</strong></p> +<blockquote> +<pre> +Another small change to the color code. The issue Michael has been looking at (#689950) +uses a DeviceN space with an NChannel Colorants dictionary. A mistake in the NChannel +parameter checking meant that the Colorants were never evaluated. + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073745.162884Z"></a> +2008-08-12T07:37:45.162884Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : Wrong glyph positions with CIDFontType 2 WMode 1. + +DETAILS : + +Bug 688058 "Vertical Japanese characters shift upper right direction". +Bug 689559 "centerline of vertical CJK text is wrong when external TrueType CJK font is used.". + +The old code wrongly computes glyph positions when a CIDFontType 2 WMode 1 +font has no metrics and includes vmtx. The patch properly computes +the V vector using top side bearing and font bounding box. +See comments in code. + +This patch fixes the glyph positions and closes the original bugs, +but we still observe other 2 problems with the 688058 test case : + +1. 2 characters are substitutes with hollow boxes. +2. pdfwrite generates a PDF with a wrong glyph positions. + +Opened bugs 690006, 690007 for them. + +</pre> +<p>[src/zchar42.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073533.506225Z"></a> +2008-08-12T07:35:33.506225Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (TT interpreter) : AVector bug workaround was wrong. + +DETAILS : + +Bug 689820 "rendering of embbeded font with very low quality". + +The problem may happens only when a glyph is bigger than [-UnitsPerEm*2, UnitsPerEm*2]. +The old code includes a workaround for an antique AVBector bug. +However for detecting it the old code supplied a glyph bbox +with a wrong coordinate representation (scale). + +The test case supplies a glyph, in which some points have x-coordinate +greater than UnitsPerEm*2, so the workaround +converted all curves into lines. + +The patch provides the right bbox data. + +</pre> +<p>[src/ttfmain.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073119.650883Z"></a> +2008-08-12T07:31:19.650883Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : A clist-based pattern supplied a wrong clipping box. + +DETAILS : + +Bug 689851 "Portions of output missing". + +The test document paints an imagemask with a pattern 1 color, +which contains a Type 1 image, which represents the graphics +that one can view there. + +The pattern appears so big as Ghostscript converts it into a clist. +When rendering the inner image to the clist, +It calls get_clipping_box to know whether the image portion +falls inside the painting area. But the old code +appears to use a wrong implementation of the get_clipping_box method, +which was inherited from the page clist writer and retrieves the page size. +Here we need the pattern cell size instead the page size. +The patch sets up the right implementation for get_clipping_box. + +</pre> +<p>[src/gxpcmap.c src/gximask.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T014902.711432Z"></a> +2008-08-12T01:49:02.711432Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix single '~' expansion in generic POSIX persistent-cache implementation. + +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T013132.498041Z"></a> +2008-08-12T01:31:32.498041Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a potential crash after failed memory allocation in RAM-based command list. + +</pre> +<p>[src/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T005352.298682Z"></a> +2008-08-12T00:53:52.298682Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a typo in get_data() macro used by PDF 1.4 composition devices +because the typo caused dependency on the side effect order. + +</pre> +<p>[src/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T230109.304118Z"></a> +2008-08-11T23:01:09.304118Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a missing break statement after 16-bit Burn blending mode case. + +</pre> +<p>[src/gxblend.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T191145.049525Z"></a> +2008-08-11T19:11:45.049525Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the configure help entries for optional features. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-11T185827.188200Z"></a> +2008-08-11T18:58:27.188200Z Ralph Giles</strong></p> +<blockquote> +<pre> +Don't run configure if autoconf failed to regenerate it. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2008-08-11T183130.295468Z"></a> +2008-08-11T18:31:30.295468Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a --disable-cairo option to block linking to libcairo for packagers. +Bug 689999. + +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-11T151006.472831Z"></a> +2008-08-11T15:10:06.472831Z Ken Sharp</strong></p> +<blockquote> +<pre> +Further to the PostScript color work, clear up a couple of warnings which exhibit using gcc +on Linux, but not MSVC. + +</pre> +<p>[src/zfunc.c src/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T141618.397362Z"></a> +2008-08-11T14:16:18.397362Z Ken Sharp</strong></p> +<blockquote> +<pre> +Move the interpretation of PostScript (and PDF) color spaces from PostScript into C. + +DETAILS: +This has required a large number of changes, there are a few new .c or .h files, a +number of PostScript files have been removed, and a few others simplified. A few +documentation '.htm' files have also been modified to reflect these changes. + +</pre> +<p>[src/int.mak src/zpcolor.c src/zicc.c Resource/Init/gs_devn.ps src/zcssepr.c Resource/Init/gs_cspace.ps src/zcie.c src/zicc.h src/zcie.h src/zcspixel.c Resource/Init/gs_lev2.ps Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps src/zcolor.c src/ifunc.h src/zfunc4.c src/zcsdevn.c src/zcolor.h Resource/Init/gs_patrn.ps src/zfsample.c doc/Develop.htm src/zfunc.c Resource/Init/gs_ll3.ps src/zcsindex.c doc/Psfiles.htm Resource/Init/gs_icc.ps Resource/Init/gs_devpxl.ps src/gscolor2.h Resource/Init/gs_init.ps Resource/Init/gs_devcs.ps Resource/Init/gs_indxd.ps Resource/Init/gs_ciecs2.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-11T121924.825877Z"></a> +2008-08-11T12:19:24.825877Z Ken Sharp</strong></p> +<blockquote> +<pre> +Change the description for the -dNOCIE switch, since it wasn't apparently clear enough +which device spaces were substituted for which CIEBased spaces.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-08T053921.132225Z"></a> +2008-08-08T05:39:21.132225Z Ralph Giles</strong></p> +<blockquote> +<pre> +Re-add pdf_draw.ps which was dropped in r8954, since the CET regression +requires it. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-08T042238.494595Z"></a> +2008-08-08T04:22:38.494595Z Ray Johnston</strong></p> +<blockquote> +<pre> +Massive commit discussed before the freeze to move the PostScript initialization +files to Resource/Init. This obviates the need for geninit when COMPILE_INITS=1. +A followup change will enhance mkromfs to allow it to 'strip' comments and white +space from PostScript input files somewhat reducing the compressed storage needed +for the files in Resource/Init. All files mentioned in int.mak with 'ADDMOD ... +-ps ...' are included as well as those that would have been included via gs_init.ps +%% Replace lines. + +Builds tested on Windows and Cygwin for the various executables (gs, pcl6, pspcl6 +and gxps). + +The default LIBPATH and GenericResourceDir are adjusted accordingly. + +</pre> +<p>[Resource/Init/gs_typ32.ps /trunk/ghostpdl/main/pcl6_gcc.mak Resource/Init src/cfonts.mak lib/gs_dbt_e.ps Resource/Init/gs_dscp.ps lib/gs_statd.ps lib/gs_fapi.ps Resource/Init/gs_devn.ps Resource/Init/gs_agl.ps lib/cidfmap src/iccinit0.c lib/gs_epsf.ps lib/gs_dpnxt.ps lib/pdf_draw.ps lib/gs_icc.ps lib/gs_diskf.ps src/all-arch.mak Resource/Init/gs_fapi.ps lib/gs_init.ps lib/pdf_font.ps lib/gs_ciddc.ps lib/gs_diskn.ps src/ccfont.h lib/pdf_base.ps Resource/Init/gs_dps.ps lib/gs_sym_e.ps lib/gs_btokn.ps Resource/Init/xlatmap Resource/Init/gs_epsf.ps lib/gs_resmp.ps Resource/Init/gs_init.ps src/gs.mak src/wmin.mak lib/gs_wan_e.ps src/Makefile.in Resource/Init/gs_indxd.ps Resource/Init/gs_cidtt.ps src/macos-mcp.mak Resource/Init/gs_img.ps lib/gs_type1.ps lib/pdf_cslayer.ps Resource/Init/gs_setpd.ps lib/gs_dps1.ps Resource/Init/gs_mgl_e.ps src/psromfs.mak lib/gs_lev2.ps lib/gs_pdf_e.ps Resource/Init/gs_fonts.ps src/icfontab.c Resource/Init/gs_mex_e.ps Resource/Init/gs_ttf.ps lib/gs_pdfwr.ps Resource/Init/gs_std_e.ps lib/gs_cidfn.ps /trunk/ghostpdl/common/msvc_top.mak src/geninit.c src/bcwin32.mak src/imain.c Resource/Init/pdf_cslayer.ps lib/gs_ll3.ps lib/Fontmap Resource/Init/gs_dps1.ps src/iccinit1.c Resource/Init/gs_lev2.ps lib/gs_css_e.ps lib/gs_ccfnt.ps Resource/Init/gs_l2img.ps lib/gs_frsd.ps Resource/Init/gs_cet.ps lib/gs_devpxl.ps lib/gs_trap.ps Resource/Init/FCOfontmap-PCLPS2 src/macosx.mak Resource/Init/gs_patrn.ps Resource/Init/pdf_main.ps lib/gs_ciecs2.ps Resource/Init/gs_res.ps Resource/Init/gs_il1_e.ps lib/gs_cidcm.ps lib/gs_cmap.ps src/openvms.mmk lib/gs_typ32.ps Resource/Init/gs_frsd.ps Resource/Init/gs_mro_e.ps Resource/Init/gs_devpxl.ps Resource/Init/gs_devcs.ps Resource/Init/gs_trap.ps Resource/Init/gs_ciecs2.ps Resource/Init/gs_fntem.ps lib/gs_cspace.ps lib/gs_agl.ps Resource/Init/gs_cmap.ps Resource/Init/gs_typ42.ps Resource/Init/gs_cidfm.ps Resource/Init/pdf_rbld.ps src/int.mak lib/pdf_sec.ps src/msvclib.mak src/imainarg.c /trunk/ghostpdl/main/pcl6_msvc.mak Resource/Init/gs_cff.ps Resource/Init/gs_cspace.ps lib/gs_dps.ps src/msvc32.mak src/unix-gcc.mak lib/xlatmap Resource/Init/pdf_sec.ps src/zfile.c lib/pdf_ops.ps Resource/Init/gs_dbt_e.ps Resource/Init/gs_statd.ps lib/gs_indxd.ps lib/gs_cidtt.ps lib/gs_dps2.ps src/unixansi.mak lib/gs_img.ps Resource/Init/cidfmap lib/gs_setpd.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_icc.ps lib/gs_mgl_e.ps Resource/Init/gs_diskf.ps Resource/Init/pdf_ops.ps src/winint.mak lib/gs_fonts.ps Resource/Init/gs_ciddc.ps Resource/Init/pdf_font.ps Resource/Init/gs_dps2.ps Resource/Init/gs_diskn.ps lib/gs_mex_e.ps lib/gs_ttf.ps lib/gs_std_e.ps Resource/Init/pdf_base.ps lib/gs_resst.ps Resource/Init/gs_sym_e.ps Resource/Init/gs_btokn.ps src/wctail.mak lib/Fontmap.GS src/watclib.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak lib/gs_sepr.ps lib/gs_ciecs3.ps lib/gs_l2img.ps Resource/Init/gs_resmp.ps lib/gs_cet.ps Resource/Init/gs_wan_e.ps src/iccfont.c lib/FCOfontmap-PCLPS2 lib/gs_patrn.ps lib/pdf_main.ps Resource/Init/Fontmap.GS Resource/Init/gs_type1.ps lib/gs_res.ps lib/gs_il1_e.ps /trunk/ghostpdl/language_switch/pspcl6_gcc.mak Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps lib/gs_mro_e.ps Resource/Init/gs_pdf_e.ps lib/gs_devcs.ps src/openvms.mak Resource/Init/gs_pdfwr.ps Resource/Init/gs_cidfn.ps src/watcw32.mak lib/gs_fntem.ps Resource/Init/Fontmap Resource/Init/gs_ll3.ps Resource/Init/gs_css_e.ps src/os2.mak lib/gs_cidfm.ps lib/gs_typ42.ps lib/pdf_rbld.ps src/ugcclib.mak lib/gs_dscp.ps lib/gs_devn.ps lib/gs_cff.ps Resource/Init/gs_cidcm.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-08T040354.625369Z"></a> +2008-08-08T04:03:54.625369Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix 'rangecheck in showpage' with NumRenderingThreads>0 if the lines requeested do +not range from 0 forward or height-1 backwards. Bug from customer 531 and 850. +Also fix problems with reversion to non-multithreaded rendering with file and memory +based BAND_LIST_STORAGE. + +DETAILS: + +The 'clist_get_band_from_thread' logic had a known deficiency if the device did not +request lines ranging from the top or bottom of the page. The fix assumes that the +normal direction is from line 0 forward unless the first line requested is the last +line of the page, setting the lookahead_direction. If a request is made for a band +other than the next one in the expected direction, the lookahead_direction is +reversed and threads are started for the requested band and the bands following in +the new direction. This effectively recovers from an incorrect guess, but since +there is no limit on the number of times that the recovery is performed, also allows +for lines/bands to be requested in arbitrary order. + +The customer uses a custom device, but the 'bit' devices were recently enhanced +with -dFirstLine= and -dLastLine= parameters to allow testing. + +The re-opening of the clist files was changed to use 'a+' to avoid erasing the +file if multi-threaded rendering was shut down (clist_teardown_render_threads), +and rendering was reverted to single threaded mode. + +The memory based clist (BAND_LIST_STORAGE=memory) was supplemented to better +track re-opening and allow for 'a' mode and avoid memory leak of the original +'base' named memfile structure. The customers mentioned above also use the +BAND_LIST_STORAGE=memory for performance reasons (realizing a 10% gain in +throughput over file based clist). + +</pre> +<p>[src/gxclmem.c src/gxclthrd.c src/gxclmem.h]</p> +</blockquote> + +<p><strong><a name="2008-08-07T192004.322235Z"></a> +2008-08-07T19:20:04.322235Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued), + +DETAILS : + +Bug 689995 "segfault with 09-34.PS" + +1. (the bug fix) A recent patch doesn't account patterns with no tile, +which represent an empty pattern. +This change inserts checks for empty tiles +and process them with no optimization (redundantly), +because they are small and are not cached. +See comments in code. + +2. pcls->band_complexity.uses_color accummulated a pattern address bits instead +a real data. This bug was introduced when serializing colors to clist. +nevertheless this bug has no visible effect because 'pure' is overlayed with +a tile address, which can't be equal to 0 or 0xffffff. +So formally this part of the change is algorithmically equivalent, +but it is important for redability. + +Note that when serializing a pattern to clist, 'uses_color' is not properly +computed and needs further development. see new bug 689997. + +Minor change : removed the second call to gs_dc_get_pattern_id for a faster code. + +</pre> +<p>[src/gsptype1.c src/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-08-07T052008.759100Z"></a> +2008-08-07T05:20:08.759100Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +A pointer to allocated memory was used before checking it for 0. This bug +was discovered by Klocwork static code analyzer. + +</pre> +<p>[src/scfd.c]</p> +</blockquote> + +<p><strong><a name="2008-08-07T000214.784953Z"></a> +2008-08-07T00:02:14.784953Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the PSSRC dir to the includes of contrib devices that depend on +the ps interpreter so they can be build when that directory is different +from src. +</pre> +<p>[contrib/contrib.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-07T000213.283150Z"></a> +2008-08-07T00:02:13.283150Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter error codes in the gomni +device. +</pre> +<p>[contrib/gomni.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T195707.199634Z"></a> +2008-08-06T19:57:07.199634Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove references to malloc/free memory management not used since r8192. +</pre> +<p>[src/lib.mak src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T195121.189161Z"></a> +2008-08-06T19:51:21.189161Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T194905.961384Z"></a> +2008-08-06T19:49:05.961384Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter-level rangecheck errors. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T182820.524086Z"></a> +2008-08-06T18:28:20.524086Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a capability to select the first and last line to be emitted to the +output file. This was needed to support some customers (531 and 850) that +do something similar in their devices. Adds -dFirstLine=# and -dLastLine=# +to this device. Line numbers are from 0 to height-1, and may be in reverse +order. Probably not much use other than testing, but it doesn't hurt if it +is there. +</pre> +<p>[src/gdevbit.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T072226.679682Z"></a> +2008-08-06T07:22:26.679682Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist. + +DETAILS : + +Bug 689865 "clist stores redundant patterns". + +The change is pretty simple because the clist reader already implememnts +a pattern cache. We just add pattern id to gx_clist_state +and provide a short format (just the id) when writing and reading +a pattern color to/from clist at second time. A new function gs_dc_get_pattern_id +allows to access the pattern id through closures of color elements. + +Note it remembers up to 2 pattern ids for a band +(one for the specific band, and another for "all bands"). +A better way would be to remember all patterns cached for a band, +but it would need to save all cached ids individually for each band while clist writing. +We don't want to enlarge the clist writer storage now. + +Minor change : Some dependencies of gxclpath.c were missed in makefile. + +</pre> +<p>[src/gsptype1.c src/lib.mak src/gsptype1.h src/gxcldev.h src/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T062444.864622Z"></a> +2008-08-06T06:24:44.864622Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Memory leak from Indexed color space. + +DETAILS : + +Bug 689990 "pcl6.exe crash with gs revision 8928". + +This change partially unwinds the revision 8928 change +and reopens the bug 89822 "Memory leaks during rendering clist." +See comment in code. + +</pre> +<p>[src/gscolor2.c]</p> +</blockquote> + +<p><strong><a name="2008-08-05T204434.621109Z"></a> +2008-08-05T20:44:34.621109Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move pointer dereferences to after the NULL check. + +</pre> +<p>[src/ttobjs.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T175446.281366Z"></a> +2008-08-03T17:54:46.281366Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and reject PDF files with circular references in the page tree. +Avoid an infinite loop. Bug 689954. + +</pre> +<p>[lib/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-03T172340.990280Z"></a> +2008-08-03T17:23:40.990280Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update ignore list for the ijs directory. +</pre> +<p>[ijs]</p> +</blockquote> + +<p><strong><a name="2008-08-03T171710.771824Z"></a> +2008-08-03T17:17:10.771824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the cairo minimum version check introduced in r8929. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-03T163042.166329Z"></a> +2008-08-03T16:30:42.166329Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : A slow stroking with big patterns. + +DETAILS : + +Bug 689966 "c329.bin hang with bitcmyk in clist code". + + +1. The stroking algorithm includes a branch for a 'faster' rasterizing +with an idempotential color. That branch paints each stroke independently of others. +However that branch doesn't apply an optimization for big patterns, +which the general filling algorithm implements. It caused the too slow rendering, +because a clist-based pattern is played back for each parallelogram. +This change disables the 'faster' srtoking with big patterns, +so that the faster filling algorithm works fine for stroking. + +2. Revert the revision 8851 change, which was a temporary workaround for the problem, +The default value for MAX_PATTERN_BITMAP_SIZE is now restored back to 1Mb. + +</pre> +<p>[src/lib.mak src/gxpcmap.c src/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T154758.770546Z"></a> +2008-08-03T15:47:58.770546Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Cairo device requires at least v. 1.2.0 of the Cairo library to build. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-03T122641.949878Z"></a> +2008-08-03T12:26:41.949878Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : Memory leak from Indexed color space. + +DETAILS : + +Bug 689822 "Memory leaks during rendering clist." + +The finalize function doesn't release 'table, +which is allocated when use_proc == 1. + +Minor change : improved a debug printing in gsmchunk.c : +A meanful name is better than an unknown address. + + +</pre> +<p>[src/gsmchunk.c src/gscolor2.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T122539.705021Z"></a> +2008-08-03T12:25:39.705021Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Give a name to a continuation operator %ztoken_continue to avoid printing +its address, which varies between builds and causes spurious regression +reports. + +</pre> +<p>[src/ztoken.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T074959.678670Z"></a> +2008-08-03T07:49:59.678670Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build, which was broken because it was trying to use the +Windows synchronisation code. +While OS/2 does support thread synchronsation, there is no ghostscript +implementation for the OS/2 platform, and no interest in writing one. +</pre> +<p>[src/os2.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-02T151041.076927Z"></a> +2008-08-02T15:10:41.076927Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace a conditional expression with an 'if' statement. The former +requires a prototype for mkstemp64() that is not available on AIX. + +</pre> +<p>[src/gp_unifs.c]</p> +</blockquote> + +<p><strong><a name="2008-08-01T214344.587346Z"></a> +2008-08-01T21:43:44.587346Z Ralph Giles</strong></p> +<blockquote> +<pre> +Document needing to remove autom4te.cache from the jasper directory. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-01T214342.361706Z"></a> +2008-08-01T21:43:42.361706Z Ralph Giles</strong></p> +<blockquote> +<pre> +We can no longer run the full build with -dBufferSpace=100000. The +minimum to complete the smoke test seems to be around 120000, but +use 200000 as future insurance. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-01T205740.076512Z"></a> +2008-08-01T20:57:40.076512Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reduce heap size limit (/Zm) on MSVC6 to fix internal compiler error +when COMPILE_INITS=1. +</pre> +<p>[src/msvccmd.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-01T205500.712414Z"></a> +2008-08-01T20:55:00.712414Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a mapping of commit ids to author names. + +This is used by split_changelog.py to do the replacement when building +the History files. The changes to that script to make use of this file +were inadvertently included in r8917. +</pre> +<p>[doc/AUTHORS]</p> +</blockquote> + +<p><strong><a name="2008-08-01T202216.068978Z"></a> +2008-08-01T20:22:16.068978Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump the version and product name post-release. +</pre> +<p>[doc/News.htm toolbin/split_changelog.py lib/gs_init.ps src/gscdef.c src/version.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-01T180818.641815Z"></a> +2008-08-01T18:08:18.641815Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update change logs for the 8.53 release. +</pre> +<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> +</blockquote> + + <h2><a name="Version8.63"></a>Version 8.63 (2008-08-01)</h2> <p> diff --git a/gs/doc/History8.htm b/gs/doc/History8.htm index 19c607197..b43efa6e4 100644 --- a/gs/doc/History8.htm +++ b/gs/doc/History8.htm @@ -29,6 +29,7 @@ <h2>Table of contents</h2> <blockquote><ul> +<li><a href="#Version8.64">Version 8.64 (2009-01-26)</a> <li><a href="#Version8.63">Version 8.63 (2008-08-01)</a> <li><a href="#Version8.62">Version 8.62 (2008-02-29)</a> <li><a href="#Version8.61">Version 8.61 (2007-11-21)</a> @@ -79,6 +80,3964 @@ overview</a>. <!-- [2.0 begin contents] ================================================== --> +<h2><a name="Version8.64"></a>Version 8.64 (2009-01-26)</h2> + +<p> +This is a release candidate for testing. + +<p> +This is the fifth scheduled release in the stable Ghostscript 8.6x +series. + +<p> +Approximately 100 bugs have been fixed since the 8.63 release. + +<p> +Of particular note in this release are improvements to overprint and +spot color support in documents with transparency, improvements to PDF +and PS output, proper handling of PDF-specific text rendering modes and +support for reading AES-encrypted PDF documents. + +<p> +Also improved is handling of CJK text, especially in vertical writing +modes, memory footprint processing some files at high resolution and +support for using the system's default paper size on unix. + +<p> +The interpreter's handling of color spaces has been moved from +PostScript code to C. + +<p> The following <a href="http://bugs.ghostscript.com/">bugs</a> were +open at the time of the last release: <blockquote> +226943, +430175, +465936, +493348, +535932, +578865, +614298, +626295, +686853, +686865, +687011, +687084, +687095, +687146, +687193, +687257, +687271, +687280, +687295, +687297, +687303, +687327, +687375, +687414, +687475, +687492, +687514, +687520, +687536, +687561, +687593, +687608, +687630, +687650, +687666, +687674, +687677, +687695, +687697, +687702, +687715, +687721, +687728, +687731, +687775, +687780, +687782, +687793, +687796, +687805, +687850, +687887, +687903, +687904, +687915, +687931, +687950, +687981, +687983, +688007, +688022, +688024, +688026, +688032, +688036, +688042, +688061, +688064, +688081, +688130, +688166, +688184, +688187, +688204, +688210, +688215, +688227, +688267, +688269, +688280, +688288, +688312, +688318, +688320, +688333, +688342, +688361, +688363, +688372, +688386, +688387, +688389, +688395, +688413, +688436, +688437, +688440, +688448, +688473, +688475, +688483, +688495, +688500, +688515, +688528, +688533, +688539, +688540, +688542, +688557, +688565, +688580, +688581, +688601, +688604, +688605, +688607, +688616, +688617, +688627, +688636, +688638, +688647, +688651, +688655, +688673, +688699, +688708, +688709, +688710, +688714, +688728, +688731, +688736, +688757, +688777, +688797, +688818, +688829, +688843, +688846, +688871, +688872, +688908, +688918, +688919, +688926, +688933, +688942, +688949, +688958, +688969, +688978, +688990, +688994, +688999, +689003, +689011, +689013, +689025, +689028, +689031, +689032, +689040, +689044, +689046, +689048, +689057, +689060, +689070, +689076, +689077, +689078, +689081, +689093, +689094, +689098, +689133, +689137, +689145, +689150, +689153, +689161, +689167, +689174, +689184, +689188, +689195, +689198, +689199, +689209, +689222, +689224, +689236, +689247, +689248, +689252, +689253, +689278, +689279, +689280, +689283, +689289, +689290, +689295, +689308, +689331, +689335, +689340, +689341, +689361, +689370, +689376, +689378, +689392, +689396, +689418, +689419, +689421, +689422, +689423, +689438, +689439, +689450, +689451, +689456, +689460, +689471, +689484, +689487, +689489, +689490, +689498, +689500, +689502, +689506, +689507, +689512, +689518, +689522, +689546, +689547, +689549, +689554, +689557, +689560, +689561, +689563, +689566, +689571, +689573, +689574, +689581, +689584, +689585, +689591, +689592, +689595, +689598, +689601, +689606, +689610, +689616, +689623, +689625, +689627, +689632, +689636, +689641, +689653, +689657, +689658, +689663, +689670, +689674, +689681, +689682, +689684, +689689, +689690, +689691, +689697, +689698, +689704, +689705, +689709, +689710, +689711, +689715, +689721, +689725, +689726, +689727, +689734, +689737, +689741, +689747, +689752, +689756, +689759, +689760, +689761, +689767, +689769, +689772, +689775, +689778, +689781, +689786, +689792, +689793, +689794, +689799, +689801, +689805, +689808, +689817, +689822, +689823, +689826, +689835, +689836, +689840, +689853, +689856, +689858, +689859, +689860, +689861, +689862, +689868, +689869, +689870, +689871, +689878, +689883, +689885, +689910, +689915, +689916, +689917, +689928, +689929, +689930, +689931, +689933, +689937, +689938, +689939, +689940, +689941, +689942, +689943, +689947, +689950, +689951, +689952, +689957, +689968, +689969, +689972, +689974, +689980, +689986, +689991, +689996, +689997, +690003, +690005, +690006, +690007, +690009, +690020, +690022, +690024, +690025, +690026, +690029, +690033, +690036, +690043, +690047, +690051, +690053, +690054, +690056, +690057, +690058, +690061, +690066, +690068, +690069, +690073, +690081, +690083, +690084, +690085, +690093, +690094, +690098, +690100, +690102, +690110, +690115, +690119, +690123, +690125, +690126, +690131, +690132, +690137, +690143, +690146, +690157, +690160, +690162, +690170, +690171, +690174, +690176, +690180, +690183, +690184, +690185, +690189, +690191, +690192, +690199, +690200, +690203, +690207, +690208, +690209, +690212, +690213, +690214, +690216, +690218, +690222, +690224, +690225, +690226, +690229, +690230, +690232, +690233, +690234, +690235, +690237, +690238, +690239, +690240, +690241, +690246, +690247, +690248, +690249, +690250, +690251, +690253. +</blockquote> + +<h3><a name="8.64_Incompatible_changes"></a>Incompatible changes</h3> + +<p> +There are known issues with the x11alpha device in this release. +Multipage documents may do properly clear the page area between pages, +and some images render as white rectangles or fail completely with an +error. This is an outstanding bug, rather than a permanent change. +Pass -sDEVICE=x11 as a work around for these issues. + +<p> +In this release the C source files have been split into two new +directories. Interpreter source files are now in <tt>psi</tt> and the +graphics library and output devices are now in <tt>base</tt>. Previously +everything was in <tt>src</tt>. This may cause problems with existing +references in external build files or when applying patches generated +against an older version. + +<p> +The compiled in font set in Resource/Fonts has been updated to the +version from the 8.11 release. This is the same set which was +recommended prior to the 8.63. + +<h3><a name="8.64_changelog"></a>Changelog</h3> + +<p><strong><a name="2009-01-26T185939.072673Z"></a> +2009-01-26T18:59:39.072673Z Ralph Giles</strong></p> +<blockquote> +<pre> +Release notes for 8.64rc1. +</pre> +<p>[doc/News.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180553.102397Z"></a> +2009-01-26T18:05:53.102397Z Ralph Giles</strong></p> +<blockquote> +<pre> +Propagate release number and date to the documentation. +</pre> +<p>[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/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]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180416.208144Z"></a> +2009-01-26T18:04:16.208144Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump release numbers and copyright dates for 8.64rc1. +</pre> +<p>[base/gscdef.c base/version.mak doc/News.htm psi/dwsetup.rc psi/winint.mak doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180243.525231Z"></a> +2009-01-26T18:02:43.525231Z Ralph Giles</strong></p> +<blockquote> +<pre> +Work around an issue with comment parsing in the pre.tcl release script. + +My tclsh seems to be broken. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180241.107170Z"></a> +2009-01-26T18:02:41.107170Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new source locations. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T180237.633990Z"></a> +2009-01-26T18:02:37.633990Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the pre.tcl release script for the new gs_init.ps location. + +The essential ps library files were moved from lib to Resource/Init for +clarity and simpler behavior with compile-inits. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-26T173336.155851Z"></a> +2009-01-26T17:33:36.155851Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-26T173336.155851Z">details</a>)</p> +<blockquote> +<pre> +Fix (pswrite): Incorrect PageBoundingBox comment location + +</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> + +<p><strong><a name="2009-01-26T171647.546837Z"></a> +2009-01-26T17:16:47.546837Z Ken Sharp</strong></p> +<blockquote> +<pre> +Yet more tidying up in the batch file. Adds release builds to the solution, better directory handling, a usage comment in the batch file and, if invoked without parameters, a usage printout for the user.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2009-01-25T065945.428302Z"></a> +2009-01-25T06:59:45.428302Z Ralph Giles</strong></p> +<blockquote> +<pre> +Make the GS_SPLIT_LIBS configure function only recognize -l at the start +of an argument, to avoid false positives from hyphens inside linker +arguments. Bug 690254. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-24T093146.808669Z"></a> +2009-01-24T09:31:46.808669Z Ken Sharp</strong></p> +<blockquote> +<pre> +This batch file, to generate a MSVC solution for building GS, was invalidated by the source re-organisation, and the inclusion of the resources in a ROM file system. + +Fixed various aspects so that it now works again, basically.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2009-01-24T090550.373013Z"></a> +2009-01-24T09:05:50.373013Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a check when comparing clip paths to see if both are NULL. Silences a Coverity warning and one day might conceivably prevent a crash.</pre> +<p>[base/gdevpdfd.c]</p> +</blockquote> + +<p><strong><a name="2009-01-23T225302.093705Z"></a> +2009-01-23T22:53:02.093705Z Ralph Giles</strong></p> +<blockquote> +<pre> +Convert 24 bit RGB data to grayscale when printing in monochrome with +eplaser device. Previously the RGB data was sent as is, resulting in +a stretched and truncated page image. + +Patch from Olaf Meeuwissen. Bug 690252. +</pre> +<p>[contrib/eplaser/gdevescv.c]</p> +</blockquote> + +<p><strong><a name="2009-01-23T190440.484432Z"></a> +2009-01-23T19:04:40.484432Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Continue the the fix from rev. 9384, plug 2 more ways that caused multiple +inclusion of page objects into the linearized file. Bug 690140, customer 932. + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-23T031005.467096Z"></a> +2009-01-23T03:10:05.467096Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use the page parameters set on the X11 device when called by Ghostview. + +This patch allows gv to control the output page parameters, overriding +document and gs default settings. Since it has been tested in the +Debian distribution and is contingent on being wrapped by the viewer, +I consider it low risk. + +Original patch by William Bader. Bug 688943. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T135318.843673Z"></a> +2009-01-22T13:53:18.843673Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise two uninitialised variables. Not thought to be a real problem, but worth making certain. Flagged by Coverity.</pre> +<p>[base/gdevpsf1.c base/gdevpsfx.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T131507.920292Z"></a> +2009-01-22T13:15:07.920292Z Ken Sharp</strong></p> +<blockquote> +<pre> +Check the return value of gdev_prepare_stroke. Another warning from Coverity. +</pre> +<p>[base/gdevps.c]</p> +</blockquote> + +<p><strong><a name="2009-01-22T025301.653019Z"></a> +2009-01-22T02:53:01.653019Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix multiple inclusion of page objects referenced from beads array. +Bug 690140, customer 932. + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-22T014831.483983Z"></a> +2009-01-22T01:48:31.483983Z Ray Johnston</strong> (<a href="Details8.htm#2009-01-22T014831.483983Z">details</a>)</p> +<blockquote> +<pre> +Fix for Segfault with tiffsep devics when a file has more than 64 spot colors +and uses transparency. Clean up indentations to C-style. Problem seen with +Bug 690157. + +</pre> +<p>[base/gdevp14.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2009-01-22T011735.554315Z"></a> +2009-01-22T01:17:35.554315Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check for and skip null objects (and other junk) in the /Anots array. +Bug 690244. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-21T153455.892148Z"></a> +2009-01-21T15:34:55.892148Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a couple of error return checks which were missing. Picked up by Coverity.</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T111305.930829Z"></a> +2009-01-19T11:13:05.930829Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 8951 missed an important part of the fix for pswrite, emitting a %%PageBoundingBox for each +page of the output.</pre> +<p>[base/gdevpsu.c]</p> +</blockquote> + +<p><strong><a name="2009-01-19T094756.340575Z"></a> +2009-01-19T09:47:56.340575Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-19T094756.340575Z">details</a>)</p> +<blockquote> +<pre> +Fix (pswrite): %%BoundingBox comment geenration + (ps2write): media selection and %%BoundingBox generation + +</pre> +<p>[doc/Ps2ps2.htm base/gdevpdfx.h base/gdevpsu.c base/gdevpdfp.c base/gdevpdfu.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2009-01-18T195758.223740Z"></a> +2009-01-18T19:57:58.223740Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix SEGV in 'inferno' device caused by insufficient memory allocation. Pass +correct device type to prn_device_body() macro. thanks to Wendy for the patch. + +</pre> +<p>[base/gdevifno.c]</p> +</blockquote> + +<p><strong><a name="2009-01-16T183848.474888Z"></a> +2009-01-16T18:38:48.474888Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-16T183848.474888Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Invalid metadata for PDF/A output + +</pre> +<p>[base/gdevpdtd.c base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-16T050344.102465Z"></a> +2009-01-16T05:03:44.102465Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the font api bridge implementations to the psi directory. + +Bug 690231, fixes the language switch build with ufst. + +These are referenced from int.mak and depend on interpreter-level +headers. So while the font api should be part of the graphics library, +these files actually belong in the interpreter. +</pre> +<p>[psi/fapi_ft.c base/fapiufst.c psi/fapiufst.c base/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2009-01-15T152239.193218Z"></a> +2009-01-15T15:22:39.193218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update a comment to say why the minimum file size is 4KB</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-15T152015.993430Z"></a> +2009-01-15T15:20:15.993430Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-15T152015.993430Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfopt): Minimum optimised file size changed in Acrobat 9 + +</pre> +<p>[lib/pdfopt.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-15T091600.166572Z"></a> +2009-01-15T09:16:00.166572Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-15T091600.166572Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite) + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-15T075213.786371Z"></a> +2009-01-15T07:52:13.786371Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix compilation on Windows NT, which doesn't define LOCALE_IPAPERSIZE. + +</pre> +<p>[base/gp_wpapr.c]</p> +</blockquote> + +<p><strong><a name="2009-01-14T225856.327548Z"></a> +2009-01-14T22:58:56.327548Z Ralph Giles</strong></p> +<blockquote> +<pre> +Check for a null target_info in bbox_image_end_image before +trying to free it. Fixes bug 680019. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2009-01-14T111524.692365Z"></a> +2009-01-14T11:15:24.692365Z Igor Melichev</strong> (<a href="Details8.htm#2009-01-14T111524.692365Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 7). + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2009-01-13T221721.104569Z"></a> +2009-01-13T22:17:21.104569Z Alex Cherepanov</strong> (<a href="Details8.htm#2009-01-13T221721.104569Z">details</a>)</p> +<blockquote> +<pre> +Return 0 when accessing Type1C font table out of range or the table is too +short and display a warning if possible. Bug 690050, customer 353. + +</pre> +<p>[Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-13T183837.869412Z"></a> +2009-01-13T18:38:37.869412Z Ray Johnston</strong></p> +<blockquote> +<pre> +Revert .outputattrkeys to the list prior to rev 8026 to fix problems with +Duplex introduced with that change. Bug 690041. + +</pre> +<p>[Resource/Init/gs_setpd.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-12T193358.722824Z"></a> +2009-01-12T19:33:58.722824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a gcc warning in gxshade6.c. + +When VD_TRACE is not defined, vdtrace.h defines most of its operations +as DO_NOTHING, but with was not done for vd_restore and vd_disable, +causing compiler warnings in gxshade6.c, where vd_disable is called +as the sole body of an if() statement. + +Bug 690204. +</pre> +<p>[base/vdtrace.h]</p> +</blockquote> + +<p><strong><a name="2009-01-12T165159.689070Z"></a> +2009-01-12T16:51:59.689070Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-12T165159.689070Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Invalid metadata for PDF/A output + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2009-01-10T221118.954264Z"></a> +2009-01-10T22:11:18.954264Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Add "-sstdout=%stderr" to scripts that call gs so that they don't corrupt their own output when outputing to stdout (Thanks to Dan Sheridan (djs at adelard dot com), Ubuntu bug #314439). + +</pre> +<p>[lib/eps2eps lib/ps2pdfwr lib/ps2ps lib/ps2ps2 lib/dvipdf]</p> +</blockquote> + +<p><strong><a name="2009-01-09T085340.554994Z"></a> +2009-01-09T08:53:40.554994Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added support for GNU Hurd (patch from Debian package). +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-09T002818.396434Z"></a> +2009-01-09T00:28:18.396434Z Ray Johnston</strong></p> +<blockquote> +<pre> +Correct very minor typo. +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-08T212855.852108Z"></a> +2009-01-08T21:28:55.852108Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Small correction on ./configure magic for libpaper. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-08T125135.348058Z"></a> +2009-01-08T12:51:35.348058Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added auto-detection for libpaper to the configure script +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2009-01-08T124328.851914Z"></a> +2009-01-08T12:43:28.851914Z Igor Melichev</strong> (<a href="Details8.htm#2009-01-08T124328.851914Z">details</a>)</p> +<blockquote> +<pre> +Fix (TT font handler) : Wrong glyph posiitions with vertical writing mode (continued). + +</pre> +<p>[base/gstype42.c]</p> +</blockquote> + +<p><strong><a name="2009-01-08T091718.162362Z"></a> +2009-01-08T09:17:18.162362Z Russell Lang</strong> (<a href="Details8.htm#2009-01-08T091718.162362Z">details</a>)</p> +<blockquote> +<pre> +Automatically select the default paper size from the locale +on the Windows platform, and make provision for doing this +on Linux. + +</pre> +<p>[base/openvms.mmk base/lib.mak base/gp_paper.c doc/Use.htm doc/Develop.htm base/unix-aux.mak base/macos-mcp.mak psi/zmisc.c psi/os2.mak base/winlib.mak base/watclib.mak base/gp.h Resource/Init/gs_init.ps base/openvms.mak base/gp_upapr.c base/gp_wpapr.c doc/Language.htm]</p> +</blockquote> + +<p><strong><a name="2009-01-08T080441.159684Z"></a> +2009-01-08T08:04:41.159684Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix stackunderflow when specified PAPERSIZE is unknown. +Ghostscript will now use the device default page size when +PAPERSIZE is unknown. +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-07T173655.528046Z"></a> +2009-01-07T17:36:55.528046Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprinting with transparency. This fixes bugs related to the lack of overprint support when there is transparency present in the file. + +DETAILS: Previously if a sep device is used when processing a file that contains both transparency and overprinting, the overprinted colors would blow away the other sep colors. In this commit, there was one fix to improper geometry in pfd14_cmykspot_put_image. The remaining changes involved 1) passing overprint compositor actions to the pdf14 device, which occurs during the clist reading phase (in pdf14_create_compositor) 2) adding over_print and overprint mode to the pdf14 clist parameters (this follows the same process that is currently done for text knockout, blend mode etc) and 3) adding the actual fill support in pdf14_mark_fill_rectangle. + +EXPECTED DIFFERENCES: In the regression tests Bug688631.pdf and Bug690206.pdf will have slight differences due to the blending of spot colors when the color space is subtractive. This matches what is seen in AR.</pre> +<p>[base/gdevp14.c base/gdevp14.h base/gstrans.h]</p> +</blockquote> + +<p><strong><a name="2009-01-07T083314.825057Z"></a> +2009-01-07T08:33:14.825057Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-07T083314.825057Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF Interpreter): Default Unicode decoding clashing with ToUnicode CMap + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-06T143801.194845Z"></a> +2009-01-06T14:38:01.194845Z Ken Sharp</strong> (<a href="Details8.htm#2009-01-06T143801.194845Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Missing glyphs in CIDFont causing errors. + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2009-01-06T141130.802229Z"></a> +2009-01-06T14:11:30.802229Z Igor Melichev</strong> (<a href="Details8.htm#2009-01-06T141130.802229Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF interpreter) : A more explanatory message when a CID font is missing. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-05T171701.015629Z"></a> +2009-01-05T17:17:01.015629Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Removed old code that failed in 2009. +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2009-01-05T140204.227069Z"></a> +2009-01-05T14:02:04.227069Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added examples of PostScript files with CJK text +</pre> +<p>[examples/cjk examples/cjk/all_ag1.ps examples/cjk/iso2022.ps examples/cjk/all_aj1.ps examples/cjk/all_aj2.ps examples/cjk/all_ak1.ps examples/cjk/gscjk_ac.ps examples/cjk/iso2022v.ps examples/cjk/gscjk_ag.ps examples/cjk/gscjk_aj.ps examples/cjk/all_ac1.ps examples/cjk/article9.ps examples/cjk/gscjk_ak.ps]</p> +</blockquote> + +<p><strong><a name="2009-01-05T103413.766328Z"></a> +2009-01-05T10:34:13.766328Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Accidentally committed an obsolete patch. Reverted. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T202047.824575Z"></a> +2009-01-04T20:20:47.824575Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix sigbus/segfaults on sparc, hppa, etc. Debian bug 453903. + +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453903 for details. + +</pre> +<p>[psi/store.h]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201519.267170Z"></a> +2009-01-04T20:15:19.267170Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Improved man pages of ps2pdf. +</pre> +<p>[man/ps2pdf.1 man/de/ps2pdf.1]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201328.072664Z"></a> +2009-01-04T20:13:28.072664Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed syntax error in gs.css. +</pre> +<p>[doc/gs.css]</p> +</blockquote> + +<p><strong><a name="2009-01-04T201157.725211Z"></a> +2009-01-04T20:11:57.725211Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Assorted script fixes. +</pre> +<p>[lib/ps2epsi lib/dumphint lib/dvipdf]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200704.350954Z"></a> +2009-01-04T20:07:04.350954Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix insecure script in toolbin. +</pre> +<p>[toolbin/pre.tcl]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200541.434499Z"></a> +2009-01-04T20:05:41.434499Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Typo fixes in "gs" man page. +</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200338.607601Z"></a> +2009-01-04T20:03:38.607601Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix segfault in X device when page size changes. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T200110.696570Z"></a> +2009-01-04T20:01:10.696570Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Adjust the margins for Epson dot matrix printer drivers +</pre> +<p>[base/gdevepsn.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T195854.777417Z"></a> +2009-01-04T19:58:54.777417Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix a problem with Brother 7x0 GDI, contributed to Debian by B. Janssen. +</pre> +<p>[base/gdevhl7x.c]</p> +</blockquote> + +<p><strong><a name="2009-01-04T195707.064594Z"></a> +2009-01-04T19:57:07.064594Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix segmentation fault on -sDEVICE=bbox, contributed to Debian by Yaroslav Halchenko. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2009-01-03T224550.335886Z"></a> +2009-01-03T22:45:50.335886Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug raw dumping code that I have found useful in my debug of transparency and overprint issues. + +DETAILS : Open images with Photoshop in the raw format with the dimensions given in the file name. + +EXPECTED DIFFERENCES : None + + + +</pre> +<p>[base/gxblend.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2009-01-03T195108.451624Z"></a> +2009-01-03T19:51:08.451624Z Igor Melichev</strong> (<a href="Details8.htm#2009-01-03T195108.451624Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Incorrect bounds for clipping list. + +</pre> +<p>[base/gxcpath.c]</p> +</blockquote> + +<p><strong><a name="2009-01-01T053409.090806Z"></a> +2009-01-01T05:34:09.090806Z Alex Cherepanov</strong> (<a href="Details8.htm#2009-01-01T053409.090806Z">details</a>)</p> +<blockquote> +<pre> +Continue to access the stream while reading a string (sgets()) until the +string is filled, EOF is reached, or an error occurs. Don't return after +first partial read. Bug 690152. + +</pre> +<p>[base/stream.c]</p> +</blockquote> + +<p><strong><a name="2008-12-30T185817.371540Z"></a> +2008-12-30T18:58:17.371540Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-30T185817.371540Z">details</a>)</p> +<blockquote> +<pre> +Fix (garbager) : Wrong object marks when the object is freed by a garbager callback. + +</pre> +<p>[psi/igc.c base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2008-12-29T182508.338456Z"></a> +2008-12-29T18:25:08.338456Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Script to print out open customer/P1/regression bugs by engineer. + +Usage: bugsByEngineer.pl >report.txt + +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2008-12-29T064342.727931Z"></a> +2008-12-29T06:43:42.727931Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 689895. gx_put_blended_image_cmykspot was improperly inverting the alpha channel. +</pre> +<p>[base/gxblend1.c]</p> +</blockquote> + +<p><strong><a name="2008-12-28T160329.366807Z"></a> +2008-12-28T16:03:29.366807Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use a proper destructor to free a file stream when access to the file is not +permitted in the safe mode, not just close the file and drop the rest of the +file structure. Bug 689975. + +</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T072531.122671Z"></a> +2008-12-26T07:25:31.122671Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 3 last cases of missing prototypes in MS Windows build. +</pre> +<p>[base/lib.mak psi/int.mak psi/zfcid1.c base/gxblend1.c base/gdevddrw.c]</p> +</blockquote> + +<p><strong><a name="2008-12-26T044820.570500Z"></a> +2008-12-26T04:48:20.570500Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove the last 2 unused variables from Ghostscript code base. +</pre> +<p>[psi/dwtrace.c base/gdevdjet.c]</p> +</blockquote> + +<p><strong><a name="2008-12-24T203322.470682Z"></a> +2008-12-24T20:33:22.470682Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a buffer overflow in base font writer module of pdfwrite defice. +Allocate sufficient buffer for the worst case. Bug 690211. + +</pre> +<p>[base/gdevpdtb.c]</p> +</blockquote> + +<p><strong><a name="2008-12-24T153640.083208Z"></a> +2008-12-24T15:36:40.083208Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-24T153640.083208Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Image with SMask fails when inside transparency group. + +</pre> +<p>[base/gdevpdft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-23T090530.676239Z"></a> +2008-12-23T09:05:30.676239Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-23T090530.676239Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): DSC comments interfering with Page Tree Orientation. + +</pre> +<p>[base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2008-12-21T143429.309508Z"></a> +2008-12-21T14:34:29.309508Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-21T143429.309508Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS interpreter) : The operator 'gstate' leaked memory. + +</pre> +<p>[psi/zdps1.c]</p> +</blockquote> + +<p><strong><a name="2008-12-21T074652.896538Z"></a> +2008-12-21T07:46:52.896538Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement Algorithm 8.1 from PDF 1.6 Reference. Map /BBox of the appearance +stream transformed by /Matrix onto the annotation rectangle. +Bug 690195, customer 770. + +</pre> +<p>[psi/zmatrix.c psi/int.mak Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-19T165041.185072Z"></a> +2008-12-19T16:50:41.185072Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-19T165041.185072Z">details</a>)</p> +<blockquote> +<pre> +Fix: Problem with /DeviceN [/All]. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-12-19T015318.887063Z"></a> +2008-12-19T01:53:18.887063Z Ralph Giles</strong> (<a href="Details8.htm#2008-12-19T015318.887063Z">details</a>)</p> +<blockquote> +<pre> +Warn when the JPX ColorSpace key workaround is activated. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-19T015317.038875Z"></a> +2008-12-19T01:53:17.038875Z Ralph Giles</strong> (<a href="Details8.htm#2008-12-19T015317.038875Z">details</a>)</p> +<blockquote> +<pre> +Assume unlabled JPXDecode streams are 8 bit DeviceRGB. + +This is a work-around for bugs 688159, 689058 and 689509. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-18T233732.655756Z"></a> +2008-12-18T23:37:32.655756Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Change accessors to cmap data to support cmap subtables exceeding 64K-1 bytes. +Bug 690206, customer 870. + +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-16T183555.343539Z"></a> +2008-12-16T18:35:55.343539Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a typo in commit r9288 which broke the X11 device build. Bug 690202. + +Patch by Alex Cherepanov. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2008-12-16T175213.417519Z"></a> +2008-12-16T17:52:13.417519Z Ralph Giles</strong> (<a href="Details8.htm#2008-12-16T175213.417519Z">details</a>)</p> +<blockquote> +<pre> +Add the CVS directory to the romfs exclusion list. Bug 690205. + +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-12-15T171506.646171Z"></a> +2008-12-15T17:15:06.646171Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-15T171506.646171Z">details</a>)</p> +<blockquote> +<pre> +Enhancement (pdfwrite): Add support for the fillpage method. + +</pre> +<p>[base/gdevpdfx.h base/gdevpdfd.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2008-12-13T200537.951803Z"></a> +2008-12-13T20:05:37.951803Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-13T200537.951803Z">details</a>)</p> +<blockquote> +<pre> +Enhancement (graphics) : Implement new device virtual method 'fillpage'. + +</pre> +<p>[base/gdevrops.c base/gdevdflt.c base/gdevbbox.c base/gxcldev.h base/gxclipm.c base/gsovrc.c base/gxdevice.h base/gdevnfwd.c base/gspaint.c base/gdevddrw.c base/gxclip2.c base/gdevprn.h base/gdevp14.c base/gxdevcli.h base/gxclrect.c base/gdevxini.c base/gxclist.c base/gxclist.h base/gxclip.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T165417.751950Z"></a> +2008-12-13T16:54:17.751950Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-13T165417.751950Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 6). + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T125514.082194Z"></a> +2008-12-13T12:55:14.082194Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-13T125514.082194Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 5). + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T111454.029422Z"></a> +2008-12-13T11:14:54.029422Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-13T111454.029422Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 4). + +</pre> +<p>[base/gxclpath.c base/gxclimag.c base/gxclrect.c base/gxclpath.h base/gxcldev.h]</p> +</blockquote> + +<p><strong><a name="2008-12-13T101802.260144Z"></a> +2008-12-13T10:18:02.260144Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-13T101802.260144Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Fonts with unusual FontMatrix generating incorrect FontBBox. + +</pre> +<p>[base/gdevpdtd.c]</p> +</blockquote> + +<p><strong><a name="2008-12-13T101347.692668Z"></a> +2008-12-13T10:13:47.692668Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-13T101347.692668Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Tidy up code. + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-10T191043.669416Z"></a> +2008-12-10T19:10:43.669416Z Ralph Giles</strong></p> +<blockquote> +<pre> +Set standard properties on pdf_main.ps. Bug 690198. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-10T072939.713832Z"></a> +2008-12-10T07:29:39.713832Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-10T072939.713832Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF interpreter) : Avoid extra erasepage, part 1. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-12-09T173040.898715Z"></a> +2008-12-09T17:30:40.898715Z Marcos H. Woehrmann</strong> (<a href="Details8.htm#2008-12-09T173040.898715Z">details</a>)</p> +<blockquote> +<pre> + +Fix for weird math issue under AIX that cause problems in glpyh spacing when +writing type42 fonts for ps2write and pdfwrite. + +This fixes bug 690118. + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2008-12-09T084520.654566Z"></a> +2008-12-09T08:45:20.654566Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-09T084520.654566Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): regression with type 3 fonts using show charpath stroke combinations. + +</pre> +<p>[base/gdevpdtc.c base/gdevpdfd.c]</p> +</blockquote> + +<p><strong><a name="2008-12-09T080143.121661Z"></a> +2008-12-09T08:01:43.121661Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-09T080143.121661Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 3). + +</pre> +<p>[base/gxclpath.c base/gxclutil.c base/gxcldev.h]</p> +</blockquote> + +<p><strong><a name="2008-12-09T075855.697280Z"></a> +2008-12-09T07:58:55.697280Z Igor Melichev</strong> (<a href="Details8.htm#2008-12-09T075855.697280Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued 2). + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-12-08T081755.714566Z"></a> +2008-12-08T08:17:55.714566Z Ken Sharp</strong> (<a href="Details8.htm#2008-12-08T081755.714566Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Large type 1 or 2 fonts caused errors with text. + +</pre> +<p>[base/gdevpdtb.c base/gxfcopy.c base/gdevpdtc.c base/gxfcopy.h]</p> +</blockquote> + +<p><strong><a name="2008-12-05T073906.671710Z"></a> +2008-12-05T07:39:06.671710Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check the whole Decode array to detect special cases of identity and inverse +decoding. Previous test analyzed every channel separately and misidentified +decoding arrays like [0 1 1 0 0 1]. Bug 690178. + +</pre> +<p>[base/gxipixel.c]</p> +</blockquote> + +<p><strong><a name="2008-12-05T044451.989860Z"></a> +2008-12-05T04:44:51.989860Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Adds special, tolerant to singular matrix processing, to the case when +ImageMatrix is differs from the CTM by the translation vector only, which +happens in cached character rendering. The patch clears PostScript errors +during text rendering with singular CTM. Bug 690179, customer 870. + +</pre> +<p>[base/gxipixel.c base/gsimage.c base/gxccache.c]</p> +</blockquote> + +<p><strong><a name="2008-11-29T143326.712726Z"></a> +2008-11-29T14:33:26.712726Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Ignore /ToUnicode attribute when it points to an object other then a stream. +Bug 680138. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-29T122704.428583Z"></a> +2008-11-29T12:27:04.428583Z Till Kamppeter</strong></p> +<blockquote> +<pre> +The pstopxl CUPS filter did not remove its temporary file. +</pre> +<p>[cups/pstopxl.in]</p> +</blockquote> + +<p><strong><a name="2008-11-27T150537.010932Z"></a> +2008-11-27T15:05:37.010932Z Ken Sharp</strong> (<a href="Details8.htm#2008-11-27T150537.010932Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): more issues with PDF Text rendering modes. + +</pre> +<p>[Resource/Init/pdf_ops.ps base/gdevpdts.c base/gdevpdfd.c base/gdevpdts.h base/gdevpdfg.c]</p> +</blockquote> + +<p><strong><a name="2008-11-27T052005.725774Z"></a> +2008-11-27T05:20:05.725774Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use the same name (/PDFType3Untitled) for all Type 3 fonts without /FontName +attribute. PDF interpreter doesn't need unique names and the previous attempt +to generate unique names didn't work. Bug 689358. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-27T015854.354925Z"></a> +2008-11-27T01:58:54.354925Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Restore language level after loading pdfwrite.ps for consistency and +compatibility with PS utilities. Also pick a few nits that may cause errors +if some of start-up files ever loaded in level 1 mode. Thanks to SaGS +for the patch. Bug 688151. + +</pre> +<p>[lib/pdfwrite.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-25T171923.759068Z"></a> +2008-11-25T17:19:23.759068Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed paper tray selection for the PCL 4/5/5e drivers (bug 690182). Works fine now with "-dMediaPosition=..." and for all possible trays. Needs review to see whether it does not break anything else. +</pre> +<p>[base/gdevdjet.c]</p> +</blockquote> + +<p><strong><a name="2008-11-24T230421.969628Z"></a> +2008-11-24T23:04:21.969628Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip everything before 'begincodespacerange' in ToUnicode CMap stream +to avoid PostScript errors in CMap headers. PDF interpreter doesn't +need any data from the header. Bug 689842, customer 870. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-24T191504.507271Z"></a> +2008-11-24T19:15:04.507271Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed input tray selection support in the PCL-XL drivers ("pxlmono"/"pxlcolor"), fixes on CUPS filter and PPDs to make input tray selection actually work. +</pre> +<p>[base/gdevpx.c cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-11-24T110142.358113Z"></a> +2008-11-24T11:01:42.358113Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS filters and PPDs for PCL-XL also work with PDF as input data format +</pre> +<p>[cups/pstopxl.in cups/pxlmono.ppd cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-11-23T203612.040586Z"></a> +2008-11-23T20:36:12.040586Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-23T203612.040586Z">details</a>)</p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (continued) + +</pre> +<p>[Resource/Init/gs_cidtt.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-21T142421.693040Z"></a> +2008-11-21T14:24:21.693040Z Till Kamppeter</strong></p> +<blockquote> +<pre> +The "cups" output device was logging way to much in CUPS' debug logging mode. Moved some logging to debug2. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2008-11-21T053110.447898Z"></a> +2008-11-21T05:31:10.447898Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a check for bogus '>>' after 'endstream' to recover files generated +by 'Kroll Background Screening'. Bug 690161. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-20T211109.954526Z"></a> +2008-11-20T21:11:09.954526Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Move validation of the page tree after installation of the decryption handler +because access to encrypted xref streams needs decryption. Fix regression +introduced by the rev. 8933. Bug 690175. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-20T193136.700423Z"></a> +2008-11-20T19:31:36.700423Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add AES support to the pdf interpreter. + +This commit adds convenience wrappers around the aes stream +implementation to pdf_sec.ps, and calls them when appropriate, +based on the crypt filter methods defined in the file Trailer's +Encrypt dictionary. Bug 688958. + +It also includes comment and whitespace cleanup. +</pre> +<p>[Resource/Init/pdf_sec.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-17T194347.727833Z"></a> +2008-11-17T19:43:47.727833Z Alex Cherepanov</strong> (<a href="Details8.htm#2008-11-17T194347.727833Z">details</a>)</p> +<blockquote> +<pre> +Add missing initialization of read_id field in reusable streams. + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-11-17T104113.803460Z"></a> +2008-11-17T10:41:13.803460Z Ken Sharp</strong> (<a href="Details8.htm#2008-11-17T104113.803460Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Not considering all glyphs in a string when noting first/last character + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2008-11-16T144749.851717Z"></a> +2008-11-16T14:47:49.851717Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-16T144749.851717Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS interpreter) : Eliminate unuseful transfer of left side bearing to type42_finish. + +</pre> +<p>[psi/zchar42.c psi/zchar42.h psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2008-11-16T121546.619814Z"></a> +2008-11-16T12:15:46.619814Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-16T121546.619814Z">details</a>)</p> +<blockquote> +<pre> +Fix (TT font handler) : Wrong glyph posiitions with vertical vcriting mode. + +</pre> +<p>[psi/zchar42.c]</p> +</blockquote> + +<p><strong><a name="2008-11-15T140727.807825Z"></a> +2008-11-15T14:07:27.807825Z Ken Sharp</strong> (<a href="Details8.htm#2008-11-15T140727.807825Z">details</a>)</p> +<blockquote> +<pre> +Fix PS interpreter: issues with ICCBased spaces + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-11-13T142305.749468Z"></a> +2008-11-13T14:23:05.749468Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip null entries in /Annots array. Bug 690161. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-13T020249.620374Z"></a> +2008-11-13T02:02:49.620374Z Ray Johnston</strong> (<a href="Details8.htm#2008-11-13T020249.620374Z">details</a>)</p> +<blockquote> +<pre> +Revert 8.63 behavior where the /Alternate key/value pair in ICCBased param dictionaries +is optional. Bug 690165 for customer 850. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-11-10T190157.531817Z"></a> +2008-11-10T19:01:57.531817Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-10T190157.531817Z">details</a>)</p> +<blockquote> +<pre> +Fix (clist writer) : A crash when transparent object appears over the page top. + +</pre> +<p>[base/gxclimag.c]</p> +</blockquote> + +<p><strong><a name="2008-11-09T203808.817663Z"></a> +2008-11-09T20:38:08.817663Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-09T203808.817663Z">details</a>)</p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong glyph (part 2). + +</pre> +<p>[psi/zchar42.c Resource/Init/gs_ciddc.ps Resource/Init/gs_cidtt.ps psi/int.mak psi/zfcid1.c psi/zfont42.c]</p> +</blockquote> + +<p><strong><a name="2008-11-09T190930.285684Z"></a> +2008-11-09T19:09:30.285684Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-09T190930.285684Z">details</a>)</p> +<blockquote> +<pre> +Fix (CID font emulation) : CID from another writing mode rendered a wrong +glyph (part 1). +This revision is incomplete due to a commitment error. Please use next +revision. + +</pre> +<p>[Resource/SubstCID/CNS1-WMode base/gxfcid.h Resource/SubstCID base/lib.mak Resource/SubstCID/GB1-WMode Resource/SubstCID/Japan1-WMode base/gsfcid.c base/gxfont42.h psi/psromfs.mak base/gstype42.c toolbin/GenSubstCID.ps Resource/SubstCID/Korea1-WMode]</p> +</blockquote> + +<p><strong><a name="2008-11-07T184934.403723Z"></a> +2008-11-07T18:49:34.403723Z Ralph Giles</strong> (<a href="Details8.htm#2008-11-07T184934.403723Z">details</a>)</p> +<blockquote> +<pre> +Remove a duplicate typedef for stream_arcfour_state. + +</pre> +<p>[base/gdevpdfx.h base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-06T235127.600449Z"></a> +2008-11-06T23:51:27.600449Z Marcos H. Woehrmann</strong> (<a href="Details8.htm#2008-11-06T235127.600449Z">details</a>)</p> +<blockquote> +<pre> +Updates to nightly regressions to allow them to run under Mac OS X. + +</pre> +<p>[toolbin/tests/make_baselinedb.py toolbin/tests/gscheck_raster.py toolbin/tests/testdiff.py toolbin/tests/compare_checksums.py toolbin/tests/gscheck_pdfwrite.py toolbin/tests/build_revision.py toolbin/tests/check_dirs.py toolbin/tests/compare_checksumdb.py toolbin/tests/gsconf.py toolbin/tests/get_baseline_log.py toolbin/tests/run_nightly.py toolbin/tests/gstestgs.py toolbin/tests/run_regression.py toolbin/tests/update_baseline.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T233055.150402Z"></a> +2008-11-06T23:30:55.150402Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Stopped generating 600 dpi raster files when running make_missing since they were never being tested. +</pre> +<p>[toolbin/tests/gsparamsets.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T232754.191464Z"></a> +2008-11-06T23:27:54.191464Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Made some messages prettier. +</pre> +<p>[toolbin/tests/testdiff.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T232502.686517Z"></a> +2008-11-06T23:25:02.686517Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed typo. +</pre> +<p>[toolbin/tests/update_baseline.py]</p> +</blockquote> + +<p><strong><a name="2008-11-06T201319.335714Z"></a> +2008-11-06T20:13:19.335714Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (graphics) : A missed dependency in makefile. + +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-06T200426.632073Z"></a> +2008-11-06T20:04:26.632073Z Igor Melichev</strong> (<a href="Details8.htm#2008-11-06T200426.632073Z">details</a>)</p> +<blockquote> +<pre> +Fix (clist interpreter) : A faster procesing without a preliminary clearing of the band buffer. + +</pre> +<p>[base/gxclread.c]</p> +</blockquote> + +<p><strong><a name="2008-11-06T190939.284217Z"></a> +2008-11-06T19:09:39.284217Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an unused variable. +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-11-06T190937.330669Z"></a> +2008-11-06T19:09:37.330669Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing include for pdf_prepare_stroke(). +</pre> +<p>[base/gdevpdts.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T204122.951927Z"></a> +2008-11-05T20:41:22.951927Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove psromfs.mak from ugcclib.mak. + +This makefile is ostensibly for the graphics library only. +</pre> +<p>[base/ugcclib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T204106.620266Z"></a> +2008-11-05T20:41:06.620266Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add -lpthread to ugcclib.mak. It is now required by sync=posync. +</pre> +<p>[base/ugcclib.mak]</p> +</blockquote> + +<p><strong><a name="2008-11-05T082619.980667Z"></a> +2008-11-05T08:26:19.980667Z Ken Sharp</strong> (<a href="Details8.htm#2008-11-05T082619.980667Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): several issues with PaintType 2 (stroked fonts) and PDF Text rendering modes. + +</pre> +<p>[base/gdevpdts.c base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-11-04T050732.360011Z"></a> +2008-11-04T05:07:32.360011Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add support for indirect objects in /W and /W2 entries in the CIDFont +dictionary. Bug 690151. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-04T033352.379523Z"></a> +2008-11-04T03:33:52.379523Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Export (i.e. don't undefine) runpdfpagerange procedure for the benefit +of PDF manipulation utilities. Bug 690153. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-03T062632.640021Z"></a> +2008-11-03T06:26:32.640021Z Alex Cherepanov</strong> (<a href="Details8.htm#2008-11-03T062632.640021Z">details</a>)</p> +<blockquote> +<pre> +Fix a bug in object stream handling that sometimes dropped incremental +updates. Bug 690141. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-11-03T042851.792909Z"></a> +2008-11-03T04:28:51.792909Z Ray Johnston</strong> (<a href="Details8.htm#2008-11-03T042851.792909Z">details</a>)</p> +<blockquote> +<pre> +Fix Floating Point excpetion caused by improper initializer of a private device +structure subclassed (in the klunky C ghostscript fashion) from the gx_device_printers_s +structure. Restructure a macro in base/gdevprn.h to help prevent similar bit rot in the +future. Bug 690122. + +</pre> +<p>[base/gdevprn.h contrib/lips4/gdevlprn.h]</p> +</blockquote> + +<p><strong><a name="2008-10-28T031552.084170Z"></a> +2008-10-28T03:15:52.084170Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't assume that the top of the dictionary stack is writable or can be made +writable by allocating a new PDF graphic state. The latter cannot be done in +pdfinflt.ps and similar clients. This patch replaces my previous fix (r. 9124) +for the bug 690088. Bug 690134. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-28T004349.468966Z"></a> +2008-10-28T00:43:49.468966Z Alex Cherepanov</strong> (<a href="Details8.htm#2008-10-28T004349.468966Z">details</a>)</p> +<blockquote> +<pre> +Ignore named encodings for known symbolic fonts. Bug 690135, customer 580. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-27T215317.877952Z"></a> +2008-10-27T21:53:17.877952Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the documentation reference to psromfs.mak. + +This file moved from base to psi in r9126. +</pre> +<p>[doc/Develop.htm]</p> +</blockquote> + +<p><strong><a name="2008-10-25T043430.742669Z"></a> +2008-10-25T04:34:30.742669Z Michael Vrhel</strong> (<a href="Details8.htm#2008-10-25T043430.742669Z">details</a>)</p> +<blockquote> +<pre> +Fix for bug 690103. This issue was introduced with r8868 where spatial interpolation in the source color space was introduced. The part that was missing in that commit was to handle the case where we had 8 bit image data that was non CIE based and NOT encoded with [0 1] . + +</pre> +<p>[base/lib.mak base/gscspace.h base/gxiscale.c base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2008-10-24T145144.819826Z"></a> +2008-10-24T14:51:44.819826Z Igor Melichev</strong> (<a href="Details8.htm#2008-10-24T145144.819826Z">details</a>)</p> +<blockquote> +<pre> +Fix (TT font handler) : Properly process a broken TTC header. + +</pre> +<p>[base/gstype42.c]</p> +</blockquote> + +<p><strong><a name="2008-10-23T043329.326096Z"></a> +2008-10-23T04:33:29.326096Z Marcos H. Woehrmann</strong> (<a href="Details8.htm#2008-10-23T043329.326096Z">details</a>)</p> +<blockquote> +<pre> +Make gx_sort_ht_order() deterministic. + +</pre> +<p>[base/gsht.c]</p> +</blockquote> + +<p><strong><a name="2008-10-23T042842.566180Z"></a> +2008-10-23T04:28:42.566180Z Marcos H. Woehrmann</strong> (<a href="Details8.htm#2008-10-23T042842.566180Z">details</a>)</p> +<blockquote> +<pre> +Changed decleration of det from float to double in gs_matrix_invert(). + +</pre> +<p>[base/gsmatrix.c]</p> +</blockquote> + +<p><strong><a name="2008-10-21T180959.854984Z"></a> +2008-10-21T18:09:59.854984Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a makefile dependency which should have been added in r8872. +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-21T162609.248809Z"></a> +2008-10-21T16:26:09.248809Z Igor Melichev</strong> (<a href="Details8.htm#2008-10-21T162609.248809Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS intetreter) : Crash in garbager when resetting marks in names table. + +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2008-10-21T103552.809111Z"></a> +2008-10-21T10:35:52.809111Z Ken Sharp</strong> (<a href="Details8.htm#2008-10-21T103552.809111Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): Conversion of PaintType 0 fonts to text rendering mode +1 sometimes produced incorrect stroke width. + +</pre> +<p>[base/gdevpdts.c base/gdevpdtt.c base/gdevpdts.h]</p> +</blockquote> + +<p><strong><a name="2008-10-19T203203.940940Z"></a> +2008-10-19T20:32:03.940940Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Search for 'startxref' instead of '%%EOF' in PDF recovery code because +'%%EOF' is mangled more ofthen than 'startxref'. Bug 690071, customer 384. + +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-19T012328.662366Z"></a> +2008-10-19T01:23:28.662366Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Extend the size of the array for procedures scheduled for binding in DELAYBIND +mode to 2000. Prevent an overflow when 3rd party code (such as Ubuntu CJKV +patch) binds many new procedures. Bug 690124. + +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-18T105242.057112Z"></a> +2008-10-18T10:52:42.057112Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed bug #690032: bjc600/bjc800 drivers do not work with PDF input +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2008-10-18T031141.445457Z"></a> +2008-10-18T03:11:41.445457Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in a new reusable stream implementation introduced in rev. 8810. +Take into account unread data left in the stream buffer before refilling +the buffer. Bug 690090, customers 384, 581, 661. + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-17T225821.764880Z"></a> +2008-10-17T22:58:21.764880Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update properties for cups driver files. +</pre> +<p>[cups/pstoraster.in cups/pdftoraster.c cups/pstopxl.in cups/pxlmono.ppd cups/cups.mak cups/gdevcups.c cups/pxlcolor.ppd]</p> +</blockquote> + +<p><strong><a name="2008-10-17T225738.635737Z"></a> +2008-10-17T22:57:38.635737Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Use $(PDFTORASTER_XE) for path to compiled pdftoraster binary +</pre> +<p>[cups/cups.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-17T214627.567328Z"></a> +2008-10-17T21:46:27.567328Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Put new files under MIT license, +</pre> +<p>[cups/pdftoraster.c cups/pdftoraster.convs]</p> +</blockquote> + +<p><strong><a name="2008-10-17T205006.903656Z"></a> +2008-10-17T20:50:06.903656Z Igor Melichev</strong> (<a href="Details8.htm#2008-10-17T205006.903656Z">details</a>)</p> +<blockquote> +<pre> +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out (continued). + +</pre> +<p>[base/gxclpath.c base/gxclist.c base/gxclist.h]</p> +</blockquote> + +<p><strong><a name="2008-10-17T202704.052662Z"></a> +2008-10-17T20:27:04.052662Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added Ghostscript-based pdftoraster filter +</pre> +<p>[cups/pdftoraster.c cups/cups.mak cups/pdftoraster.convs]</p> +</blockquote> + +<p><strong><a name="2008-10-17T164958.474885Z"></a> +2008-10-17T16:49:58.474885Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed several bugs, like crash if input is PDF (bug #690101), duplex not working, ... +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2008-10-17T134434.259593Z"></a> +2008-10-17T13:44:34.259593Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Consider /Identity CMap compatible with any CIDFont /Ordering. Bug 690120. + +</pre> +<p>[Resource/Init/gs_cidcm.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-17T093135.914027Z"></a> +2008-10-17T09:31:35.914027Z Ken Sharp</strong> (<a href="Details8.htm#2008-10-17T093135.914027Z">details</a>)</p> +<blockquote> +<pre> +Fix (pdfwrite): ICCBased color spaces in input PDF files, /Alternate space converted to +ICCBased in output PDF file. + +</pre> +<p>[psi/zcolor.c psi/zfunc4.c psi/zcolor.h psi/int.mak psi/zfsample.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T174700.008618Z"></a> +2008-10-15T17:47:00.008618Z Ray Johnston</strong></p> +<blockquote> +<pre> +Switch file I/O of 'opdfread.ps' to 'strmio' that supports the %rom% file system +as well as the default (%os%) file system. Bug 690074. +</pre> +<p>[base/gdevpdfu.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-10-15T070640.437422Z"></a> +2008-10-15T07:06:40.437422Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 9154 accidentally left a temporary C++ style comment in place. + +</pre> +<p>[psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T045130.597312Z"></a> +2008-10-15T04:51:30.597312Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 689961. + +There was a problem with the testing to determine if a color space mapping was linear within a triangle and along a line. The old code assumed the number of components was the same in the client and device color space. In general this is not true, especially if we have a DeviceN color space with one color and a CMYK output device, which was the test case given. + +</pre> +<p>[base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013243.847670Z"></a> +2008-10-15T01:32:43.847670Z Ralph Giles</strong></p> +<blockquote> +<pre> +Exclude local repository files from other version control systems +from clusterpush. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013239.731625Z"></a> +2008-10-15T01:32:39.731625Z Ralph Giles</strong></p> +<blockquote> +<pre> +Read git commit names if an svn revision number isn't available. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-15T013233.815878Z"></a> +2008-10-15T01:32:33.815878Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the clusterpush script for the new source locations. + +Previously we copied the baseline from the last ghostpcl run on the +cluster, but since the ghostpdl tree moved to the public repository it +runs in an updating directory like gs. + +Also, compare return codes numerically instead of as a string. +</pre> +<p>[toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2008-10-14T182724.066580Z"></a> +2008-10-14T18:27:24.066580Z Ken Sharp</strong> (<a href="Details8.htm#2008-10-14T182724.066580Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS interpreter): .seticcspace leaving operand on stack. + +</pre> +<p>[psi/zcolor.c psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2008-10-13T210348.526048Z"></a> +2008-10-13T21:03:48.526048Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Make Duplex with the "pxlcolor" and "pxlmono" drivers work (standard command line options "-dDuplex" and "-dTumble"). +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2008-10-12T063818.212672Z"></a> +2008-10-12T06:38:18.212672Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove spurious un-definition of GlobalSubrs attribute during loading of +OpenType CFF fonts as CIDFont resources. Bug 690113, customer 1110. + +</pre> +<p>[Resource/Init/gs_cff.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-10T085142.858031Z"></a> +2008-10-10T08:51:42.858031Z Ken Sharp</strong> (<a href="Details8.htm#2008-10-10T085142.858031Z">details</a>)</p> +<blockquote> +<pre> +The update for opdfread.ps in revision 8706 missed a required routine 'putu32'. + +</pre> +<p>[Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-09T194814.487705Z"></a> +2008-10-09T19:48:14.487705Z Alex Cherepanov</strong> (<a href="Details8.htm#2008-10-09T194814.487705Z">details</a>)</p> +<blockquote> +<pre> +Scale widget annotations in x and y directions to fit the BBox of the +appearance stream into the annotation rectangle. Old code considered +y direction only. Bug 690109. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-09T175310.358436Z"></a> +2008-10-09T17:53:10.358436Z Ray Johnston</strong></p> +<blockquote> +<pre> +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. +</pre> +<p>[psi/dw32c.def]</p> +</blockquote> + +<p><strong><a name="2008-10-08T150358.878575Z"></a> +2008-10-08T15:03:58.878575Z Ray Johnston</strong></p> +<blockquote> +<pre> +Increase stack size to allow GS to run on older NT versions. Thanks to Alex +for pointing this out. +</pre> +<p>[psi/dwmain32.def]</p> +</blockquote> + +<p><strong><a name="2008-10-08T134055.237034Z"></a> +2008-10-08T13:40:55.237034Z Ken Sharp</strong> (<a href="Details8.htm#2008-10-08T134055.237034Z">details</a>)</p> +<blockquote> +<pre> +Log: +Fix: ps2write. Very large TrueType fonts (>64Kb), when converted to Type 42 +fonts for use in PostScript, must contain an /sfnts entry, which is an +array of strings comprising the TT font. There are restrictions on where +the original data is split to form the strings, which ps2write was not +honouring. + +</pre> +<p>[Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-08T074352.342922Z"></a> +2008-10-08T07:43:52.342922Z Igor Melichev</strong> (<a href="Details8.htm#2008-10-08T074352.342922Z">details</a>)</p> +<blockquote> +<pre> +TT fonts : An initial implementation of GSUB. + +</pre> +<p>[psi/zchar42.c base/gxfont42.h base/gstype42.c Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2008-10-08T055627.963219Z"></a> +2008-10-08T05:56:27.963219Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix Windows stack overflow when NumRenderingThreads > 0. This was identified +during testing for bug 690108 (see comments, #1 and #2). This is a work around +as it does not address the excessive stack usage, but does work around the +problem by throwing memory at it. Bug 690198. +</pre> +<p>[base/gp_wsync.c]</p> +</blockquote> + +<p><strong><a name="2008-10-07T200558.844384Z"></a> +2008-10-07T20:05:58.844384Z Ray Johnston</strong> (<a href="Details8.htm#2008-10-07T200558.844384Z">details</a>)</p> +<blockquote> +<pre> +Restore function of NumRenderingThreads > 0 that was inadvertently disabled +by previous commit to this module. + +</pre> +<p>[base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-05T175125.414873Z"></a> +2008-10-05T17:51:25.414873Z Ray Johnston</strong> (<a href="Details8.htm#2008-10-05T175125.414873Z">details</a>)</p> +<blockquote> +<pre> +Fix SEGV when NumRenderingThreads > 0 caused by improper clist reader phase +initialization. Bug #690108. + +</pre> +<p>[base/gxclread.c base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-10-02T193322.695690Z"></a> +2008-10-02T19:33:22.695690Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move psromfs.mak to the interpreter source tree. + +This file defines variables used by lib.mak, but the resources are all +related to the ps interpreter, so it makes more sense to keep it there. +It is only included by top-level makefiles, so this doesn't violate +the dependency boundary. +</pre> +<p>[psi/os2.mak base/bcwin32.mak base/ugcclib.mak base/psromfs.mak psi/psromfs.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak ijs/unix.mak psi/msvc32.mak base/macos-mcp.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-30T190135.905183Z"></a> +2008-09-30T19:01:35.905183Z Ray Johnston</strong></p> +<blockquote> +<pre> +Clean up a few coverity gripes (nothing important) +</pre> +<p>[base/gxclthrd.c]</p> +</blockquote> + +<p><strong><a name="2008-09-27T013936.090759Z"></a> +2008-09-27T01:39:36.090759Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Set the temporary value of PDFDEBUG flag using 'gput' procedure instead of +'def' because initial PDF graphic state is represented by a read-only +dictionary. Bug 690088. + +</pre> +<p>[Resource/Init/pdf_base.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-25T234803.662203Z"></a> +2008-09-25T23:48:03.662203Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Process invalid PDF operator QBT as Q BT . +Bug 690089, customer 384. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-25T133655.133901Z"></a> +2008-09-25T13:36:55.133901Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-25T133655.133901Z">details</a>)</p> +<blockquote> +<pre> +Fix (printer devices) : Allow retries for raster buffer allocation when BufferSpace is default. + +</pre> +<p>[base/gxclist.c base/gdevprn.c]</p> +</blockquote> + +<p><strong><a name="2008-09-25T101003.369546Z"></a> +2008-09-25T10:10:03.369546Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-25T101003.369546Z">details</a>)</p> +<blockquote> +<pre> +Fix (clist writer) : Wrong compositor cropping when a shading is entirely clipped out. + +</pre> +<p>[base/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-09-24T110746.268855Z"></a> +2008-09-24T11:07:46.268855Z Ralph Giles</strong> (<a href="Details8.htm#2008-09-24T110746.268855Z">details</a>)</p> +<blockquote> +<pre> +Initial support for aes decryption streams. + +</pre> +<p>[psi/zfaes.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-24T110743.989804Z"></a> +2008-09-24T11:07:43.989804Z Ralph Giles</strong> (<a href="Details8.htm#2008-09-24T110743.989804Z">details</a>)</p> +<blockquote> +<pre> +Initial support for aes decryption streams. + +</pre> +<p>[base/saes.c base/lib.mak base/saes.h]</p> +</blockquote> + +<p><strong><a name="2008-09-23T185730.153977Z"></a> +2008-09-23T18:57:30.153977Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-23T185730.153977Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS interpreter) : Incorrect data in garbager descriptor for reusable stream state. + +</pre> +<p>[psi/zfrsd.c]</p> +</blockquote> + +<p><strong><a name="2008-09-22T105652.199700Z"></a> +2008-09-22T10:56:52.199700Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a number of no longer required includes from the source, and update the makefile to remove the dependencies. + +Local regression testing shows no differences, local builds correctly generate executable. + +</pre> +<p>[base/gdevpdfm.c base/gdevpsdp.c base/gdevpdt.c base/gdevpdfo.c base/gdevpdf.c base/gdevpsdu.c base/gdevpdfd.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpsdi.c base/gdevpdfg.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T233125.043936Z"></a> +2008-09-19T23:31:25.043936Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix a double fclose(). + +fuzzy_diff_images() doesn't open the files it reads from, so it should +not close them when cleaning up. The caller takes care of this on line +764, right after calling fuzzy_diff_images(). +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214510.190751Z"></a> +2008-09-19T21:45:10.190751Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct two typos in error message strings. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214509.139047Z"></a> +2008-09-19T21:45:09.139047Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the freport initizialization out of fuzzy_diff_images() to silence +a gcc uninitialized variable warning. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214508.203062Z"></a> +2008-09-19T21:45:08.203062Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T214506.338528Z"></a> +2008-09-19T21:45:06.338528Z Ralph Giles</strong> (<a href="Details8.htm#2008-09-19T214506.338528Z">details</a>)</p> +<blockquote> +<pre> +Fix a gcc warning. Bug 690054. + +</pre> +<p>[base/gdev8510.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T162232.262870Z"></a> +2008-09-19T16:22:32.262870Z Ralph Giles</strong> (<a href="Details8.htm#2008-09-19T162232.262870Z">details</a>)</p> +<blockquote> +<pre> +Include our math_.h wrapper instead of math.h. + +</pre> +<p>[psi/zcolor.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T160802.308202Z"></a> +2008-09-19T16:08:02.308202Z Ralph Giles</strong></p> +<blockquote> +<pre> +Also remove gscolor1.h from the zcolor.c dependency list. +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-19T134455.520555Z"></a> +2008-09-19T13:44:55.520555Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove gscolor1.h. We no longer use gs_setcmykcolor here and so this header is not required. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-19T000151.675092Z"></a> +2008-09-19T00:01:51.675092Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use a portable path separator in gs.mak. +</pre> +<p>[base/gs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T235526.486186Z"></a> +2008-09-18T23:55:26.486186Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious $(_I) and add use portable $(D_)...$(_D) for defines +as needed by the openvms build. Bug 690084. +</pre> +<p>[base/libpng.mak base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T235007.487730Z"></a> +2008-09-18T23:50:07.487730Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix typos in third-party library paths introduced in r6514. Bug 690084. +</pre> +<p>[base/openvms.mmk]</p> +</blockquote> + +<p><strong><a name="2008-09-18T233116.150062Z"></a> +2008-09-18T23:31:16.150062Z Ralph Giles</strong></p> +<blockquote> +<pre> +Additional leading space characters before colons in makefiles. Bug 690084. +</pre> +<p>[base/lib.mak contrib/contrib.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T203208.326447Z"></a> +2008-09-18T20:32:08.326447Z Ralph Giles</strong></p> +<blockquote> +<pre> +Space makefile colons for the benefit of VMS. Bug 690084. + +OpenVMS supports a basic makefile syntax, but requires a space on both +sides of the dependency colon. We try to maintain this in our +cross-platform makefiles. +</pre> +<p>[contrib/contrib.mak base/contrib.mak base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-18T182322.617130Z"></a> +2008-09-18T18:23:22.617130Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move time_.h to the top of the include list. +</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003745.093298Z"></a> +2008-09-18T00:37:45.093298Z Ralph Giles</strong></p> +<blockquote> +<pre> +The SunPro compiler doesn't handle variable length arrays in structs. + +Bug 689079. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003743.189925Z"></a> +2008-09-18T00:37:43.189925Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up whitespace in the opvp device source. +</pre> +<p>[contrib/opvp/opvp.h contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003741.259902Z"></a> +2008-09-18T00:37:41.259902Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix: default to MITER line joins in the opvp device. Bug 689079. + +The previous default was BUTT, which is a line cap, not a join. This +looks like it was a cut-and-paste error. Patch from Jon Peatfield. +</pre> +<p>[contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T003738.655050Z"></a> +2008-09-18T00:37:38.655050Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix: don't treat char as unsigned in the opvp device. Bug 690079. +</pre> +<p>[contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-09-18T001211.086491Z"></a> +2008-09-18T00:12:11.086491Z Ralph Giles</strong></p> +<blockquote> +<pre> +Enable jasper assembly optimizations with _MSC_VER instead of _WIN32 so the MSVC-specific inline code won't be passed to gcc in mingw builds. + +Bug 690070.</pre> +<p>[jasper/src/libjasper/jpc/jpc_qmfb.c]</p> +</blockquote> + +<p><strong><a name="2008-09-16T002906.813229Z"></a> +2008-09-16T00:29:06.813229Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an inadvertent semicolon in gs_throw_code, added in r9037. +</pre> +<p>[base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-09-14T122056.043501Z"></a> +2008-09-14T12:20:56.043501Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Allocate missing FontInfo dictionary in a matching global or local memory and +use .forceput to override read-only status of the font directory. Bug 690063. + +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2008-09-13T202225.237944Z"></a> +2008-09-13T20:22:25.237944Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the dxmain.c and dxmainc.c front ends to the interpreter source +directory. +</pre> +<p>[base/dxmain.c psi/dxmain.c base/unix-dll.mak base/dxmainc.c psi/dxmainc.c]</p> +</blockquote> + +<p><strong><a name="2008-09-12T080554.684727Z"></a> +2008-09-12T08:05:54.684727Z Ken Sharp</strong></p> +<blockquote> +<pre> +The CIEBasedDEF/DEFG colour space validation did not insist that the dictionary contain a +/Table entry, which is a required entry. It also did not limit the numeric values in the +/Table array to integers, reals are not allowed. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-11T160358.760444Z"></a> +2008-09-11T16:03:58.760444Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add support for passing the requested number of copies through to the PXL +output file. Tested on an actual HP printer. +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2008-09-10T213524.802228Z"></a> +2008-09-10T21:35:24.802228Z Ralph Giles</strong></p> +<blockquote> +<pre> +Change two more printf(%x) uses with pointers to use %p. + +Update copyright. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-10T213326.724052Z"></a> +2008-09-10T21:33:26.724052Z Ray Johnston</strong></p> +<blockquote> +<pre> +Replace non-standard %P with %p for pointer printing. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T210054.348833Z"></a> +2008-09-09T21:00:54.348833Z Ralph Giles</strong></p> +<blockquote> +<pre> +Ask gcc to warn about declarations beyond the start of a block. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-09-09T203137.982033Z"></a> +2008-09-09T20:31:37.982033Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move variable declarations to the top of blocks in the fontconfig +support code. + +Also fixes a gcc warning about passing int 0 instead of NULL to +terminate an argument list. +</pre> +<p>[base/gp_unix.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T184527.627887Z"></a> +2008-09-09T18:45:27.627887Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a space to the product name between the family and release names. +</pre> +<p>[base/gscdef.c]</p> +</blockquote> + +<p><strong><a name="2008-09-09T174826.542519Z"></a> +2008-09-09T17:48:26.542519Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move some interpreter headers from base to psi. + +These were missed in the original merge of the reorganization patch. +Also, add missing makefile dependencies for these new headers. +</pre> +<p>[base/zcolor.h base/zicc.h psi/zcolor.h psi/zicc.h base/zcie.h psi/zcie.h psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-09-09T143331.847337Z"></a> +2008-09-09T14:33:31.847337Z Ken Sharp</strong></p> +<blockquote> +<pre> +Henry's coverage test revealed that a couple of 'belt and braces' checks in the RGB->HSB +conversion were impossible to trigger. Removed those checks. + +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-09-06T095738.114441Z"></a> +2008-09-06T09:57:38.114441Z Ken Sharp</strong></p> +<blockquote> +<pre> +Address some more issues raised by Coverity. Check return values in some places which were +not previously checked, initialise some variables, and remove some dead code. + +Local regression testing of pdfwrite shows no differences. + +</pre> +<p>[base/gdevpdtd.c base/gdevpdtt.c base/gdevpdte.c base/gdevpdtf.c base/gdevpdfe.c base/gdevpdtw.c base/gdevpdti.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T154656.923276Z"></a> +2008-09-04T15:46:56.923276Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-04T154656.923276Z">details</a>)</p> +<blockquote> +<pre> +Fix : Divide gdevp14.c into 2 modules. + +</pre> +<p>[base/gdevp14.c base/lib.mak base/gdevp14.h base/gxblend.c base/gxblend1.c base/gdevdevn.h base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2008-09-04T140617.707413Z"></a> +2008-09-04T14:06:17.707413Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-04T140617.707413Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Preovide a right check for incorrect call to pdf14_pop_transparency_group. + +</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100554.831940Z"></a> +2008-09-04T10:05:54.831940Z Ken Sharp</strong></p> +<blockquote> +<pre> +More minor issues reported by Coverity. An unchecked return code from cos_dict_find_c_key, +and some dead code. + +</pre> +<p>[base/gdevpdfm.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100410.193139Z"></a> +2008-09-04T10:04:10.193139Z Ken Sharp</strong></p> +<blockquote> +<pre> +A couple of issues detected by Coverity. Firstly an error condition could lead to a file being +left open. Secondly a call to pdf_restore_viewer_state which didn't check the return value. + +</pre> +<p>[base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100204.794387Z"></a> +2008-09-04T10:02:04.794387Z Ken Sharp</strong></p> +<blockquote> +<pre> +More very minor dead code removal, again as noted by Coverity. + +</pre> +<p>[base/gdevpdtb.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T100112.562540Z"></a> +2008-09-04T10:01:12.562540Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove some dead code from cmap handling, as noted by Coverity. + +</pre> +<p>[base/gdevpdtc.c]</p> +</blockquote> + +<p><strong><a name="2008-09-04T095911.733313Z"></a> +2008-09-04T09:59:11.733313Z Ken Sharp</strong></p> +<blockquote> +<pre> +Check the return code from pdf_write_resource_objects when closing a page. Fixes Coverity +warning. + +</pre> +<p>[base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T204913.486158Z"></a> +2008-09-03T20:49:13.486158Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add protection for the "finish" exit point for potential (no longer exists +since rev 9062) case when f==NULL when code >= 0. Belt and suspenders couldn't +hurt to improve maintainability (prevent future problems). Original problem +reported by Coverity analysis. +</pre> +<p>[base/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T122027.869178Z"></a> +2008-09-03T12:20:27.869178Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-03T122027.869178Z">details</a>)</p> +<blockquote> +<pre> +Fix : gcc compiler warnings (continued). + +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-09-03T114235.783010Z"></a> +2008-09-03T11:42:35.783010Z Igor Melichev</strong> (<a href="Details8.htm#2008-09-03T114235.783010Z">details</a>)</p> +<blockquote> +<pre> +Fix : gcc compiler warnings. + +</pre> +<p>[base/gxclread.c base/gxpcopy.c base/gxclpage.c psi/zfunc4.c base/gxclutil.c base/gxclmem.c base/lib.mak base/gxiscale.c base/gxclmem.h base/gdevpdtd.c psi/int.mak psi/zfsample.c base/gdevpdte.c base/gximage1.c base/gsovrc.c base/gdevprn.c base/gxstroke.c psi/zfunc.c base/gspath1.c base/gxshade6.c psi/zfrsd.c base/gxclpath.c psi/zfunc.h psi/igcstr.c base/mkromfs.c base/gstype42.c base/gdevdsha.c base/gxfill.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T183707.959806Z"></a> +2008-09-02T18:37:07.959806Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed small bug in the patch to add a PJL command for setting the resolution to +the pxlmono/pxlcolor drivers (rev 9060). + +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-02T090641.787945Z"></a> +2008-09-02T09:06:41.787945Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Let pxlmono/pxlcolor drivers add resolution setting to the PJL header. Printers need the PJL command to set the resolution (see bug 689230). Now the printing resolution can be easily controlled with the "-r" command line option. +</pre> +<p>[base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T170320.988497Z"></a> +2008-09-01T17:03:20.988497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix incorrect error code test in the calculator function validation +procedure. + +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T165343.689721Z"></a> +2008-09-01T16:53:43.689721Z Ken Sharp</strong></p> +<blockquote> +<pre> +Resolve another gcc compiler warning. The test was incorrect, now it is correctly taking the +text render mode into account. + +Local regression testing shows no differences. + +</pre> +<p>[base/gdevpdts.c]</p> +</blockquote> + +<p><strong><a name="2008-09-01T084944.722693Z"></a> +2008-09-01T08:49:44.722693Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a warning from older versions of gcc. Spotted by Russell Lang when doing OS/2 build. +Oddly, newer versions of gcc don't spot this, even though the code was technically +redundant. + +Also remove some commented out code that should not have been present, and fix a couple +of warnings produced by recent versions of gcc regarding unused local variables and code. + +Local regression testing exhibits no differences. + +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2008-08-31T002820.047781Z"></a> +2008-08-31T00:28:20.047781Z Russell Lang</strong></p> +<blockquote> +<pre> +Add a makefile target for a Windows source zip file, +used in building a release. +</pre> +<p>[psi/winint.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-30T232304.017387Z"></a> +2008-08-30T23:23:04.017387Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Make PDF interpreter run our /Install procedure after the user's procedure +because: (1) PDF interpreter caches the CTM, (2) the user's procedure may +replace CTM by calling setmatrix. Bug 689914, customer 770. + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-30T140729.736170Z"></a> +2008-08-30T14:07:29.736170Z Igor Melichev</strong></p> +<blockquote> +<pre> +Fix (PS interpreter) : Wrong dependencies in makefile. + +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-30T133827.563236Z"></a> +2008-08-30T13:38:27.563236Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix gcc warning on OS/2. +</pre> +<p>[base/gdevdsp.c]</p> +</blockquote> + +<p><strong><a name="2008-08-30T133129.235544Z"></a> +2008-08-30T13:31:29.235544Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build after the source reorganization. +Remove the os2pm device and the old DLL interface for OS/2, +to avoid direct links from the graphics library into the +PS interpreter. +</pre> +<p>[base/gp_os2.c base/os2.mak psi/dpmain.c psi/gsos2.def base/gsos2.icx doc/Develop.htm psi/gsos2.rc base/pcwin.mak base/dpmain.c base/gsos2.def psi/os2.mak base/mkromfs.c base/gsos2.rc psi/gsdllos2.h psi/gsos2.icx base/gp_os2fs.c base/gdevpm.c psi/gsdll2.def base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-29T194713.384972Z"></a> +2008-08-29T19:47:13.384972Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update the Visual Studio project file generator for +the new source locations. Untested.</pre> +<p>[toolbin/msvcxml.bat]</p> +</blockquote> + +<p><strong><a name="2008-08-29T184621.860372Z"></a> +2008-08-29T18:46:21.860372Z Ralph Giles</strong></p> +<blockquote> +<pre> +Split the source tree into two new directories. + +PSSRC files are now in 'gs/psi'. +GLSRC files are now in 'gs/base'. + +This is to facilitate build modularization and merging in the ghostpdl +tree. + +NOTE: msvc32.mak is now in psi, not src. +</pre> +<p>[/trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/main/pcl6_gcc.mak src /trunk/ghostpdl/tools/check_deps.py doc/Develop.htm psi /trunk/ghostpdl/svg/svg_gcc.mak /trunk/ghostpdl/xps/xps_msvc.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/doc/ghostpdl.tex /trunk/ghostpdl/psi/psitop.c doc/API.htm doc/Issues.htm /trunk/ghostpdl/svg/svg_msvc.mak /trunk/ghostpdl/language_switch/pspcl6_gcc.mak doc/Make.htm doc/Drivers.htm base autogen.sh doc/Release.htm doc/C-style.htm /trunk/ghostpdl/doc/ghostpdl.txt /trunk/ghostpdl/xps/xps_gcc.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-28T194700.816950Z"></a> +2008-08-28T19:47:00.816950Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace 3d with 3rd in the documentation and regularize '3(r)d party' as +'third-party'. Bug 690004. +</pre> +<p>[doc/Use.htm doc/Lib.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024007.463083Z"></a> +2008-08-28T02:40:07.463083Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use the new gs_rethrow_code() macro in svgwrite. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024006.379728Z"></a> +2008-08-28T02:40:06.379728Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add gs_throw_code() and gs_rethrow_code() macros for use in situations +where the normal error string does not fit or is redundant. +</pre> +<p>[src/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-08-28T024004.423296Z"></a> +2008-08-28T02:40:04.423296Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix some code style issues in the svgwrite device. + +We can't use gs_note_error() as we were because it returns the error +code which generates an empty statement warning with gcc. Use gs_throw() +instead for now. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-28T003633.257400Z"></a> +2008-08-28T00:36:33.257400Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update warnings policy; we agreed to fix all warnings. +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-28T000340.520992Z"></a> +2008-08-28T00:03:40.520992Z Ralph Giles</strong> (<a href="Details8.htm#2008-08-28T000340.520992Z">details</a>)</p> +<blockquote> +<pre> +Document the motivation for a source style item. + +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T172724.986727Z"></a> +2008-08-27T17:27:24.986727Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix more html conformance problems with the documentation. +</pre> +<p>[doc/Ps2ps2.htm doc/Fonts.htm doc/Use.htm doc/Ps2pdf.htm doc/Develop.htm doc/Deprecated.htm doc/Install.htm doc/API.htm doc/Issues.htm doc/Make.htm doc/Drivers.htm doc/Release.htm doc/C-style.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T025723.718740Z"></a> +2008-08-27T02:57:23.718740Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove Humor.htm. + +The joke has gotten old, and blogs are a better medium for this sort of +thing. +</pre> +<p>[doc/Humor.htm doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T021643.113337Z"></a> +2008-08-27T02:16:43.113337Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the obsolete HTML style guidelines. + +We no longer expect readers to look at the raw html in a text editor. +Documentation should declare its format specification and conform to it, +attempting to match local style where appropriate. +</pre> +<p>[doc/Htmstyle.htm doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-27T021410.447789Z"></a> +2008-08-27T02:14:10.447789Z Ralph Giles</strong></p> +<blockquote> +<pre> +Replace the awkward <b><tt> construction with css-styled <code> elements. +</pre> +<p>[doc/History7.htm doc/Fonts.htm doc/Projects.htm doc/Ps2ps2.htm doc/Use.htm doc/Readme.htm doc/Develop.htm doc/Ps2pdf.htm doc/Deprecated.htm doc/Source.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Install.htm doc/Htmstyle.htm doc/API.htm doc/gs.css doc/DLL.htm doc/Make.htm doc/Drivers.htm doc/Unix-lpr.htm doc/Commprod.htm doc/C-style.htm doc/Ps-style.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2epsi.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-26T215026.926408Z"></a> +2008-08-26T21:50:26.926408Z Ralph Giles</strong></p> +<blockquote> +<pre> +Cast away signed/unsigned char warnings in gdevsvg. + +Patch from Igor Melichev. Also cleaned up some trailing whitespace. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-26T214055.546109Z"></a> +2008-08-26T21:40:55.546109Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove references to bits64 from the source style documentation. It is +superceeded by the stdint types. +</pre> +<p>[doc/C-style.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-26T155938.718117Z"></a> +2008-08-26T15:59:38.718117Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-26T155938.718117Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF interpreter) : Implementing a temporary option for development needs of images with soft mask. + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-26T153103.416051Z"></a> +2008-08-26T15:31:03.416051Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-26T153103.416051Z">details</a>)</p> +<blockquote> +<pre> +Fix (PDF interpreter) : A wrong comment about procedure operands for is_big_mask . + +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-26T070255.610521Z"></a> +2008-08-26T07:02:55.610521Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-26T070255.610521Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Scanline algorithm missed pixels at horizontal boundaries. + +</pre> +<p>[src/gxfillsl.h]</p> +</blockquote> + +<p><strong><a name="2008-08-23T163921.950258Z"></a> +2008-08-23T16:39:21.950258Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix 6 Coverity warings about local variables hiding function arguments +by renaming local variables. + +</pre> +<p>[src/gsbitops.c]</p> +</blockquote> + +<p><strong><a name="2008-08-23T010547.610764Z"></a> +2008-08-23T01:05:47.610764Z Russell Lang</strong></p> +<blockquote> +<pre> +Remove reference from Windows image window code back to PostScript interpreter, +to allow the image window code to be used with non-interpreter builds. +</pre> +<p>[src/dwimg.h src/winint.mak src/dwmain.c src/dwmain.rc doc/Develop.htm src/dwmainc.c src/dwmain.h src/dwimg.c src/dwres.h]</p> +</blockquote> + +<p><strong><a name="2008-08-22T163436.763761Z"></a> +2008-08-22T16:34:36.763761Z Ralph Giles</strong> (<a href="Details8.htm#2008-08-22T163436.763761Z">details</a>)</p> +<blockquote> +<pre> +Move the dw source files from GLSRC to PSSRC. Items in GLSRC shouldn't +depend on items in PSSRC. This is in preparation for the code +reorganization. + +</pre> +<p>[src/winint.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-22T011328.560292Z"></a> +2008-08-22T01:13:28.560292Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove an unnecesary iapi.h include. +</pre> +<p>[src/winint.mak src/dwimg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-22T011124.167807Z"></a> +2008-08-22T01:11:24.167807Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/dwimg.h src/dwimg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T232624.907412Z"></a> +2008-08-21T23:26:24.907412Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a missing return value check. Coverity issue 1847. +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T225500.562927Z"></a> +2008-08-21T22:55:00.562927Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a double free introduced in r9005. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T215124.194924Z"></a> +2008-08-21T21:51:24.194924Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/ztrans.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T083509.363063Z"></a> +2008-08-21T08:35:09.363063Z Ken Sharp</strong> (<a href="Details8.htm#2008-08-21T083509.363063Z">details</a>)</p> +<blockquote> +<pre> +Submission for revision 9008 initialised the wrong 'pfn' variable. + +</pre> +<p>[src/zfunc.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T083331.319105Z"></a> +2008-08-21T08:33:31.319105Z Ken Sharp</strong> (<a href="Details8.htm#2008-08-21T083331.319105Z">details</a>)</p> +<blockquote> +<pre> +Fix some more Coverity warnings + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-21T082849.451522Z"></a> +2008-08-21T08:28:49.451522Z Ken Sharp</strong> (<a href="Details8.htm#2008-08-21T082849.451522Z">details</a>)</p> +<blockquote> +<pre> +Silence an 'uninitialised variable' warning from Coverity. + +</pre> +<p>[src/zfunc.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T235843.536642Z"></a> +2008-08-20T23:58:43.536642Z Ralph Giles</strong> (<a href="Details8.htm#2008-08-20T235843.536642Z">details</a>)</p> +<blockquote> +<pre> +Replace an abs() call with our any_abs() macro. Also remove an +unnecessary math_.h include. + +</pre> +<p>[src/gdevbit.c src/devs.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-20T232249.144680Z"></a> +2008-08-20T23:22:49.144680Z Ralph Giles</strong></p> +<blockquote> +<pre> +Check for and propagate failures to find matching component indexes in +jpx streams. + +</pre> +<p>[src/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T220949.649774Z"></a> +2008-08-20T22:09:49.649774Z Ralph Giles</strong></p> +<blockquote> +<pre> +Further cleanups to the unix persistent cache error handling. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T213228.795836Z"></a> +2008-08-20T21:32:28.795836Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fix memory and file handle leaks in the unix persistent cache error +handling. Also document that it is not re-entrant. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T194620.907096Z"></a> +2008-08-20T19:46:20.907096Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T190944.615235Z"></a> +2008-08-20T19:09:44.615235Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a cast in svgwrite to be explicit that we're only using the lower 24 +bits of the color index. +</pre> +<p>[src/gdevsvg.c]</p> +</blockquote> + +<p><strong><a name="2008-08-20T182610.369143Z"></a> +2008-08-20T18:26:10.369143Z Ralph Giles</strong> (<a href="Details8.htm#2008-08-20T182610.369143Z">details</a>)</p> +<blockquote> +<pre> +Fix __func__ on the default (non-C99) gcc build. + +</pre> +<p>[src/gserror.h]</p> +</blockquote> + +<p><strong><a name="2008-08-20T015436.820847Z"></a> +2008-08-20T01:54:36.820847Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the svgwrite device to the default windows build. +Bug 690028.</pre> +<p>[src/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-19T040740.862102Z"></a> +2008-08-19T04:07:40.862102Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the jasper dependency from jpxtopdf. It's straightforward to +parse the image header ourselves. +</pre> +<p>[toolbin/jpxtopdf.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T123125.491176Z"></a> +2008-08-17T12:31:25.491176Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a bug in error checking code introduced in the rev. 8996 in pamcmyk32 +device. Bug 689583. +</pre> +<p>[src/gdevpbm.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T061935.130662Z"></a> +2008-08-17T06:19:35.130662Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check return values from all stdio functions in all pnm drivers and propagate +error codes upwards. Bug 689583. + +</pre> +<p>[src/gdevpbm.c]</p> +</blockquote> + +<p><strong><a name="2008-08-17T011923.099945Z"></a> +2008-08-17T01:19:23.099945Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add one more NMAKE version recognized as MSVC 7. +Bug 689816, customer 351. +</pre> +<p>[src/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-16T041820.474141Z"></a> +2008-08-16T04:18:20.474141Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Work around a bug in a PDF file produced by "Nitro PDF Driver". Assume invalid +operator '-' to be a number 0. Bug 690012, + +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-16T020051.387588Z"></a> +2008-08-16T02:00:51.387588Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix parsing of large embedded TrueType fonts by ps2write header: (1) read the +file into multiple strings for sfnts array. (2) use multiple reads to skip +over large parts of the file. Also modify Type42 font reader to allow TrueType +objects to span sfnts string boundaries. Bug 690012. + +</pre> +<p>[src/gxttfb.c Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-14T175406.399403Z"></a> +2008-08-14T17:54:06.399403Z Alex Cherepanov</strong> (<a href="Details8.htm#2008-08-14T175406.399403Z">details</a>)</p> +<blockquote> +<pre> +Use GNU iconv.h header in compatibility mode unless we link with GNU libiconv. +This is needed for compiling gs with gcc under HP-UX 11.11. + +</pre> +<p>[src/configure.ac contrib/opvp/gdevopvp.c]</p> +</blockquote> + +<p><strong><a name="2008-08-13T015636.856132Z"></a> +2008-08-13T01:56:36.856132Z Ray Johnston</strong> (<a href="Details8.htm#2008-08-13T015636.856132Z">details</a>)</p> +<blockquote> +<pre> +Update the fonts to those that the nightly and cluster regressions have +been using all along. The -Ifonts in the regression script was causing +the contents of Resource/Font to be ignored. These fonts are the std-8.11 +version. + +Note we probably next need to move to the newer version of these fonts +with the metrics fixed, but this is a first step. + +</pre> +<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/Dingbats Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusRomNo9L-MediItal Resource/Font/NimbusSanL-BoldItal Resource/Font/URWGothicL-Demi Resource/Font/StandardSymL Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/CenturySchL-Bold Resource/Font/URWBookmanL-Ligh Resource/Font/NimbusRomNo9L-ReguItal Resource/Font/URWBookmanL-DemiBoldItal Resource/Font/NimbusMonL-ReguObli Resource/Font/NimbusSanL-ReguCondItal Resource/Font/CenturySchL-Ital Resource/Font/URWPalladioL-Roma Resource/Font/CenturySchL-BoldItal Resource/Font/URWBookmanL-LighItal Resource/Font/NimbusSanL-BoldCond Resource/Font/NimbusSanL-BoldCondItal Resource/Font/NimbusMonL-BoldObli Resource/Font/URWGothicL-DemiObli Resource/Font/NimbusSanL-Regu Resource/Font/URWPalladioL-Bold Resource/Font/NimbusMonL-Regu Resource/Font/NimbusSanL-ReguItal Resource/Font/URWGothicL-BookObli Resource/Font/URWPalladioL-Ital]</p> +</blockquote> + +<p><strong><a name="2008-08-12T234453.919723Z"></a> +2008-08-12T23:44:53.919723Z Ray Johnston</strong></p> +<blockquote> +<pre> +Remove 'Actual Fonts' references in the Fontmap that connected the URW FontName +to an 8.3 filename that we no longer use. +</pre> +<p>[Resource/Init/Fontmap.GS]</p> +</blockquote> + +<p><strong><a name="2008-08-12T210438.048281Z"></a> +2008-08-12T21:04:38.048281Z Ray Johnston</strong></p> +<blockquote> +<pre> +Move opdfread.ps to Resource/Init since this is needed by the 'ps2write' device. +</pre> +<p>[lib/opdfread.ps Resource/Init/opdfread.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-12T144202.961911Z"></a> +2008-08-12T14:42:02.961911Z Ken Sharp</strong> (<a href="Details8.htm#2008-08-12T144202.961911Z">details</a>)</p> +<blockquote> +<pre> +Fix: Genoa file renders incorrectly with current color code + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T134108.386171Z"></a> +2008-08-12T13:41:08.386171Z Ken Sharp</strong></p> +<blockquote> +<pre> +Yet another minor change in the color work. + +The test file 'foo0-ge-64k.pdf' demonstrated an error with NChannel processing. The old +PostScript based code simply ignored errors when setting the NChannel Colorant spaces, we +now do the same. + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T091756.269901Z"></a> +2008-08-12T09:17:56.269901Z Ken Sharp</strong></p> +<blockquote> +<pre> +Another small change to the color code. The issue Michael has been looking at (#689950) +uses a DeviceN space with an NChannel Colorants dictionary. A mistake in the NChannel +parameter checking meant that the Colorants were never evaluated. + +</pre> +<p>[src/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073745.162884Z"></a> +2008-08-12T07:37:45.162884Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-12T073745.162884Z">details</a>)</p> +<blockquote> +<pre> +Fix (PS interpreter) : Wrong glyph positions with CIDFontType 2 WMode 1. + +</pre> +<p>[src/zchar42.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073533.506225Z"></a> +2008-08-12T07:35:33.506225Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-12T073533.506225Z">details</a>)</p> +<blockquote> +<pre> +Fix (TT interpreter) : AVector bug workaround was wrong. + +</pre> +<p>[src/ttfmain.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T073119.650883Z"></a> +2008-08-12T07:31:19.650883Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-12T073119.650883Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : A clist-based pattern supplied a wrong clipping box. + +</pre> +<p>[src/gxpcmap.c src/gximask.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T014902.711432Z"></a> +2008-08-12T01:49:02.711432Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix single '~' expansion in generic POSIX persistent-cache implementation. + +</pre> +<p>[src/gp_unix_cache.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T013132.498041Z"></a> +2008-08-12T01:31:32.498041Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a potential crash after failed memory allocation in RAM-based command list. + +</pre> +<p>[src/gxclmem.c]</p> +</blockquote> + +<p><strong><a name="2008-08-12T005352.298682Z"></a> +2008-08-12T00:53:52.298682Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a typo in get_data() macro used by PDF 1.4 composition devices +because the typo caused dependency on the side effect order. + +</pre> +<p>[src/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T230109.304118Z"></a> +2008-08-11T23:01:09.304118Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a missing break statement after 16-bit Burn blending mode case. + +</pre> +<p>[src/gxblend.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T191145.049525Z"></a> +2008-08-11T19:11:45.049525Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the configure help entries for optional features. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-11T185827.188200Z"></a> +2008-08-11T18:58:27.188200Z Ralph Giles</strong></p> +<blockquote> +<pre> +Don't run configure if autoconf failed to regenerate it. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2008-08-11T183130.295468Z"></a> +2008-08-11T18:31:30.295468Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a --disable-cairo option to block linking to libcairo for packagers. +Bug 689999. + +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-11T151006.472831Z"></a> +2008-08-11T15:10:06.472831Z Ken Sharp</strong></p> +<blockquote> +<pre> +Further to the PostScript color work, clear up a couple of warnings which exhibit using gcc +on Linux, but not MSVC. + +</pre> +<p>[src/zfunc.c src/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2008-08-11T141618.397362Z"></a> +2008-08-11T14:16:18.397362Z Ken Sharp</strong> (<a href="Details8.htm#2008-08-11T141618.397362Z">details</a>)</p> +<blockquote> +<pre> +Move the interpretation of PostScript (and PDF) color spaces from PostScript into C. + +</pre> +<p>[src/int.mak src/zpcolor.c src/zicc.c Resource/Init/gs_devn.ps src/zcssepr.c Resource/Init/gs_cspace.ps src/zcie.c src/zicc.h src/zcie.h src/zcspixel.c Resource/Init/gs_lev2.ps Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps src/zcolor.c src/ifunc.h src/zfunc4.c src/zcsdevn.c src/zcolor.h Resource/Init/gs_patrn.ps src/zfsample.c doc/Develop.htm src/zfunc.c Resource/Init/gs_ll3.ps src/zcsindex.c doc/Psfiles.htm Resource/Init/gs_icc.ps Resource/Init/gs_devpxl.ps src/gscolor2.h Resource/Init/gs_init.ps Resource/Init/gs_devcs.ps Resource/Init/gs_indxd.ps Resource/Init/gs_ciecs2.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-11T121924.825877Z"></a> +2008-08-11T12:19:24.825877Z Ken Sharp</strong></p> +<blockquote> +<pre> +Change the description for the -dNOCIE switch, since it wasn't apparently clear enough +which device spaces were substituted for which CIEBased spaces.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-08T053921.132225Z"></a> +2008-08-08T05:39:21.132225Z Ralph Giles</strong></p> +<blockquote> +<pre> +Re-add pdf_draw.ps which was dropped in r8954, since the CET regression +requires it. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-08T042238.494595Z"></a> +2008-08-08T04:22:38.494595Z Ray Johnston</strong></p> +<blockquote> +<pre> +Massive commit discussed before the freeze to move the PostScript initialization +files to Resource/Init. This obviates the need for geninit when COMPILE_INITS=1. +A followup change will enhance mkromfs to allow it to 'strip' comments and white +space from PostScript input files somewhat reducing the compressed storage needed +for the files in Resource/Init. All files mentioned in int.mak with 'ADDMOD ... +-ps ...' are included as well as those that would have been included via gs_init.ps +%% Replace lines. + +Builds tested on Windows and Cygwin for the various executables (gs, pcl6, pspcl6 +and gxps). + +The default LIBPATH and GenericResourceDir are adjusted accordingly. + +</pre> +<p>[Resource/Init/gs_typ32.ps /trunk/ghostpdl/main/pcl6_gcc.mak Resource/Init src/cfonts.mak lib/gs_dbt_e.ps Resource/Init/gs_dscp.ps lib/gs_statd.ps lib/gs_fapi.ps Resource/Init/gs_devn.ps Resource/Init/gs_agl.ps lib/cidfmap src/iccinit0.c lib/gs_epsf.ps lib/gs_dpnxt.ps lib/pdf_draw.ps lib/gs_icc.ps lib/gs_diskf.ps src/all-arch.mak Resource/Init/gs_fapi.ps lib/gs_init.ps lib/pdf_font.ps lib/gs_ciddc.ps lib/gs_diskn.ps src/ccfont.h lib/pdf_base.ps Resource/Init/gs_dps.ps lib/gs_sym_e.ps lib/gs_btokn.ps Resource/Init/xlatmap Resource/Init/gs_epsf.ps lib/gs_resmp.ps Resource/Init/gs_init.ps src/gs.mak src/wmin.mak lib/gs_wan_e.ps src/Makefile.in Resource/Init/gs_indxd.ps Resource/Init/gs_cidtt.ps src/macos-mcp.mak Resource/Init/gs_img.ps lib/gs_type1.ps lib/pdf_cslayer.ps Resource/Init/gs_setpd.ps lib/gs_dps1.ps Resource/Init/gs_mgl_e.ps src/psromfs.mak lib/gs_lev2.ps lib/gs_pdf_e.ps Resource/Init/gs_fonts.ps src/icfontab.c Resource/Init/gs_mex_e.ps Resource/Init/gs_ttf.ps lib/gs_pdfwr.ps Resource/Init/gs_std_e.ps lib/gs_cidfn.ps /trunk/ghostpdl/common/msvc_top.mak src/geninit.c src/bcwin32.mak src/imain.c Resource/Init/pdf_cslayer.ps lib/gs_ll3.ps lib/Fontmap Resource/Init/gs_dps1.ps src/iccinit1.c Resource/Init/gs_lev2.ps lib/gs_css_e.ps lib/gs_ccfnt.ps Resource/Init/gs_l2img.ps lib/gs_frsd.ps Resource/Init/gs_cet.ps lib/gs_devpxl.ps lib/gs_trap.ps Resource/Init/FCOfontmap-PCLPS2 src/macosx.mak Resource/Init/gs_patrn.ps Resource/Init/pdf_main.ps lib/gs_ciecs2.ps Resource/Init/gs_res.ps Resource/Init/gs_il1_e.ps lib/gs_cidcm.ps lib/gs_cmap.ps src/openvms.mmk lib/gs_typ32.ps Resource/Init/gs_frsd.ps Resource/Init/gs_mro_e.ps Resource/Init/gs_devpxl.ps Resource/Init/gs_devcs.ps Resource/Init/gs_trap.ps Resource/Init/gs_ciecs2.ps Resource/Init/gs_fntem.ps lib/gs_cspace.ps lib/gs_agl.ps Resource/Init/gs_cmap.ps Resource/Init/gs_typ42.ps Resource/Init/gs_cidfm.ps Resource/Init/pdf_rbld.ps src/int.mak lib/pdf_sec.ps src/msvclib.mak src/imainarg.c /trunk/ghostpdl/main/pcl6_msvc.mak Resource/Init/gs_cff.ps Resource/Init/gs_cspace.ps lib/gs_dps.ps src/msvc32.mak src/unix-gcc.mak lib/xlatmap Resource/Init/pdf_sec.ps src/zfile.c lib/pdf_ops.ps Resource/Init/gs_dbt_e.ps Resource/Init/gs_statd.ps lib/gs_indxd.ps lib/gs_cidtt.ps lib/gs_dps2.ps src/unixansi.mak lib/gs_img.ps Resource/Init/cidfmap lib/gs_setpd.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_icc.ps lib/gs_mgl_e.ps Resource/Init/gs_diskf.ps Resource/Init/pdf_ops.ps src/winint.mak lib/gs_fonts.ps Resource/Init/gs_ciddc.ps Resource/Init/pdf_font.ps Resource/Init/gs_dps2.ps Resource/Init/gs_diskn.ps lib/gs_mex_e.ps lib/gs_ttf.ps lib/gs_std_e.ps Resource/Init/pdf_base.ps lib/gs_resst.ps Resource/Init/gs_sym_e.ps Resource/Init/gs_btokn.ps src/wctail.mak lib/Fontmap.GS src/watclib.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak lib/gs_sepr.ps lib/gs_ciecs3.ps lib/gs_l2img.ps Resource/Init/gs_resmp.ps lib/gs_cet.ps Resource/Init/gs_wan_e.ps src/iccfont.c lib/FCOfontmap-PCLPS2 lib/gs_patrn.ps lib/pdf_main.ps Resource/Init/Fontmap.GS Resource/Init/gs_type1.ps lib/gs_res.ps lib/gs_il1_e.ps /trunk/ghostpdl/language_switch/pspcl6_gcc.mak Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps lib/gs_mro_e.ps Resource/Init/gs_pdf_e.ps lib/gs_devcs.ps src/openvms.mak Resource/Init/gs_pdfwr.ps Resource/Init/gs_cidfn.ps src/watcw32.mak lib/gs_fntem.ps Resource/Init/Fontmap Resource/Init/gs_ll3.ps Resource/Init/gs_css_e.ps src/os2.mak lib/gs_cidfm.ps lib/gs_typ42.ps lib/pdf_rbld.ps src/ugcclib.mak lib/gs_dscp.ps lib/gs_devn.ps lib/gs_cff.ps Resource/Init/gs_cidcm.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-08T040354.625369Z"></a> +2008-08-08T04:03:54.625369Z Ray Johnston</strong> (<a href="Details8.htm#2008-08-08T040354.625369Z">details</a>)</p> +<blockquote> +<pre> +Fix 'rangecheck in showpage' with NumRenderingThreads>0 if the lines requeested do +not range from 0 forward or height-1 backwards. Bug from customer 531 and 850. +Also fix problems with reversion to non-multithreaded rendering with file and memory +based BAND_LIST_STORAGE. + +</pre> +<p>[src/gxclmem.c src/gxclthrd.c src/gxclmem.h]</p> +</blockquote> + +<p><strong><a name="2008-08-07T192004.322235Z"></a> +2008-08-07T19:20:04.322235Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-07T192004.322235Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist (continued), + +</pre> +<p>[src/gsptype1.c src/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-08-07T052008.759100Z"></a> +2008-08-07T05:20:08.759100Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +A pointer to allocated memory was used before checking it for 0. This bug +was discovered by Klocwork static code analyzer. + +</pre> +<p>[src/scfd.c]</p> +</blockquote> + +<p><strong><a name="2008-08-07T000214.784953Z"></a> +2008-08-07T00:02:14.784953Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add the PSSRC dir to the includes of contrib devices that depend on +the ps interpreter so they can be build when that directory is different +from src. +</pre> +<p>[contrib/contrib.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-07T000213.283150Z"></a> +2008-08-07T00:02:13.283150Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter error codes in the gomni +device. +</pre> +<p>[contrib/gomni.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T195707.199634Z"></a> +2008-08-06T19:57:07.199634Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove references to malloc/free memory management not used since r8192. +</pre> +<p>[src/lib.mak src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T195121.189161Z"></a> +2008-08-06T19:51:21.189161Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove trailing whitespace. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T194905.961384Z"></a> +2008-08-06T19:49:05.961384Z Ralph Giles</strong></p> +<blockquote> +<pre> +Use graphics library instead of interpreter-level rangecheck errors. +</pre> +<p>[src/gsncdummy.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T182820.524086Z"></a> +2008-08-06T18:28:20.524086Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a capability to select the first and last line to be emitted to the +output file. This was needed to support some customers (531 and 850) that +do something similar in their devices. Adds -dFirstLine=# and -dLastLine=# +to this device. Line numbers are from 0 to height-1, and may be in reverse +order. Probably not much use other than testing, but it doesn't hurt if it +is there. +</pre> +<p>[src/gdevbit.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T072226.679682Z"></a> +2008-08-06T07:22:26.679682Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-06T072226.679682Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Redundant patterns in clist. + +</pre> +<p>[src/gsptype1.c src/lib.mak src/gsptype1.h src/gxcldev.h src/gxclpath.c]</p> +</blockquote> + +<p><strong><a name="2008-08-06T062444.864622Z"></a> +2008-08-06T06:24:44.864622Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-06T062444.864622Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Memory leak from Indexed color space. + +</pre> +<p>[src/gscolor2.c]</p> +</blockquote> + +<p><strong><a name="2008-08-05T204434.621109Z"></a> +2008-08-05T20:44:34.621109Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move pointer dereferences to after the NULL check. + +</pre> +<p>[src/ttobjs.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T175446.281366Z"></a> +2008-08-03T17:54:46.281366Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and reject PDF files with circular references in the page tree. +Avoid an infinite loop. Bug 689954. + +</pre> +<p>[lib/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2008-08-03T172340.990280Z"></a> +2008-08-03T17:23:40.990280Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update ignore list for the ijs directory. +</pre> +<p>[ijs]</p> +</blockquote> + +<p><strong><a name="2008-08-03T171710.771824Z"></a> +2008-08-03T17:17:10.771824Z Ralph Giles</strong></p> +<blockquote> +<pre> +Clean up the cairo minimum version check introduced in r8929. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-03T163042.166329Z"></a> +2008-08-03T16:30:42.166329Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-03T163042.166329Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : A slow stroking with big patterns. + +</pre> +<p>[src/lib.mak src/gxpcmap.c src/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T154758.770546Z"></a> +2008-08-03T15:47:58.770546Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Cairo device requires at least v. 1.2.0 of the Cairo library to build. +</pre> +<p>[src/configure.ac]</p> +</blockquote> + +<p><strong><a name="2008-08-03T122641.949878Z"></a> +2008-08-03T12:26:41.949878Z Igor Melichev</strong> (<a href="Details8.htm#2008-08-03T122641.949878Z">details</a>)</p> +<blockquote> +<pre> +Fix (graphics) : Memory leak from Indexed color space. + +</pre> +<p>[src/gsmchunk.c src/gscolor2.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T122539.705021Z"></a> +2008-08-03T12:25:39.705021Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Give a name to a continuation operator %ztoken_continue to avoid printing +its address, which varies between builds and causes spurious regression +reports. + +</pre> +<p>[src/ztoken.c]</p> +</blockquote> + +<p><strong><a name="2008-08-03T074959.678670Z"></a> +2008-08-03T07:49:59.678670Z Russell Lang</strong></p> +<blockquote> +<pre> +Fix the OS/2 build, which was broken because it was trying to use the +Windows synchronisation code. +While OS/2 does support thread synchronsation, there is no ghostscript +implementation for the OS/2 platform, and no interest in writing one. +</pre> +<p>[src/os2.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-02T151041.076927Z"></a> +2008-08-02T15:10:41.076927Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace a conditional expression with an 'if' statement. The former +requires a prototype for mkstemp64() that is not available on AIX. + +</pre> +<p>[src/gp_unifs.c]</p> +</blockquote> + +<p><strong><a name="2008-08-01T214344.587346Z"></a> +2008-08-01T21:43:44.587346Z Ralph Giles</strong></p> +<blockquote> +<pre> +Document needing to remove autom4te.cache from the jasper directory. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-01T214342.361706Z"></a> +2008-08-01T21:43:42.361706Z Ralph Giles</strong></p> +<blockquote> +<pre> +We can no longer run the full build with -dBufferSpace=100000. The +minimum to complete the smoke test seems to be around 120000, but +use 200000 as future insurance. +</pre> +<p>[doc/Release.htm]</p> +</blockquote> + +<p><strong><a name="2008-08-01T205740.076512Z"></a> +2008-08-01T20:57:40.076512Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reduce heap size limit (/Zm) on MSVC6 to fix internal compiler error +when COMPILE_INITS=1. +</pre> +<p>[src/msvccmd.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-01T205500.712414Z"></a> +2008-08-01T20:55:00.712414Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a mapping of commit ids to author names. + +This is used by split_changelog.py to do the replacement when building +the History files. The changes to that script to make use of this file +were inadvertently included in r8917. +</pre> +<p>[doc/AUTHORS]</p> +</blockquote> + +<p><strong><a name="2008-08-01T202216.068978Z"></a> +2008-08-01T20:22:16.068978Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump the version and product name post-release. +</pre> +<p>[doc/News.htm toolbin/split_changelog.py lib/gs_init.ps src/gscdef.c src/version.mak]</p> +</blockquote> + +<p><strong><a name="2008-08-01T180818.641815Z"></a> +2008-08-01T18:08:18.641815Z Ralph Giles</strong></p> +<blockquote> +<pre> +Update change logs for the 8.53 release. +</pre> +<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> +</blockquote> + + + <h2><a name="Version8.63"></a>Version 8.63 (2008-08-01)</h2> <p> diff --git a/gs/doc/News.htm b/gs/doc/News.htm index 69806d6fa..60a9060b9 100644 --- a/gs/doc/News.htm +++ b/gs/doc/News.htm @@ -563,6 +563,11 @@ everything was in <tt>src</tt>. This may cause problems with existing references in external build files or when applying patches generated against an older version. +<p> +The compiled in font set in Resource/Fonts has been updated to the +version from the 8.11 release. This is the same set which was +recommended prior to the 8.63. + <h3><a name="8.64_changelog"></a>Changelog</h3> <p>See the <a href="History8.htm">history file</a> for complete log |