diff options
Diffstat (limited to 'gs')
62 files changed, 25788 insertions, 6334 deletions
diff --git a/gs/Resource/Init/gs_init.ps b/gs/Resource/Init/gs_init.ps index 9a2a5136a..523bfb9bb 100644 --- a/gs/Resource/Init/gs_init.ps +++ b/gs/Resource/Init/gs_init.ps @@ -30,7 +30,7 @@ % Interpreter library version number % NOTE: the interpreter code requires that the first non-comment token % in this file be an integer, and that it match the compiled-in version! -900 +901 % Check the interpreter revision. dup revision ne diff --git a/gs/base/version.mak b/gs/base/version.mak index 23e6a150e..35f0eb914 100644 --- a/gs/base/version.mak +++ b/gs/base/version.mak @@ -16,10 +16,10 @@ # Major and minor version numbers. # MINOR0 is different from MINOR only if MINOR is a single digit. GS_VERSION_MAJOR=9 -GS_VERSION_MINOR=00 -GS_VERSION_MINOR0=00 +GS_VERSION_MINOR=01 +GS_VERSION_MINOR0=01 # Revision date: year x 10000 + month x 100 + day. -GS_REVISIONDATE=20100731 +GS_REVISIONDATE=20100824 # Derived values GS_VERSION=$(GS_VERSION_MAJOR)$(GS_VERSION_MINOR0) GS_DOT_VERSION=$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR0) diff --git a/gs/doc/API.htm b/gs/doc/API.htm index 2f8993f73..fa24cac9f 100644 --- a/gs/doc/API.htm +++ b/gs/doc/API.htm @@ -760,7 +760,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/C-style.htm b/gs/doc/C-style.htm index a747c02cf..35af60ad6 100644 --- a/gs/doc/C-style.htm +++ b/gs/doc/C-style.htm @@ -1578,7 +1578,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Changes.htm b/gs/doc/Changes.htm index 3105558ae..b6fc32c61 100644 --- a/gs/doc/Changes.htm +++ b/gs/doc/Changes.htm @@ -8,5185 +8,7629 @@ </head> <body> -<p><strong><a name="2010-02-09T161339.643382Z"></a> -2010-02-09T16:13:39.643382Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-24T123334.461027Z"></a> +2010-08-24T12:33:34.461027Z Chris Liddell</strong></p> <blockquote> <pre> -Clean up some typos in the release notes, and mention the reduced memory -footprint of the halftone cache from r10006. +merge changes from the trunk doc directory to the 9.00 release tag. </pre> -<p>[doc/News.htm]</p> +<p>[/tags/ghostscript-9.00/doc /tags/ghostscript-9.00/doc/History9.htm /tags/ghostscript-9.00/doc/News.htm /tags/ghostscript-9.00/doc/AUTHORS]</p> </blockquote> -<p><strong><a name="2010-02-08T221030.586772Z"></a> -2010-02-08T22:10:30.586772Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-20T175448.049092Z"></a> +2010-08-20T17:54:48.049092Z Chris Liddell</strong></p> <blockquote> <pre> -Update the change logs for the second 8.71 release candidate. +When we produce a glyph uncached, and it's to be filled with a +pattern colour space *and* there is PDF transparency involved +force FAPI to (try to) produce an outline (for lower level +code to use as a clip) instead of a bitmap (to use as a +mask). + +This does produce some pixel level differences in a few +cluster files, but improves a load of PDF 1.7 FTS jobs. + +Bug 691550 + +Merge from trunk r11645 + </pre> -<p>[doc/Changes.htm doc/History8.htm doc/News.htm doc/Details8.htm doc/Details.htm]</p> +<p>[/tags/ghostscript-9.00/psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-02-08T220322.755385Z"></a> -2010-02-08T22:03:22.755385Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-18T100340.871603Z"></a> +2010-08-18T10:03:40.871603Z Chris Liddell</strong></p> <blockquote> <pre> -Add some notes on what's new in the 8.71 release. +Tag the ghostscript 9.00 release + </pre> -<p>[doc/News.htm]</p> +<p>[/tags/ghostscript-9.00]</p> </blockquote> -<p><strong><a name="2010-02-08T200658.778484Z"></a> -2010-02-08T20:06:58.778484Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-17T143158.354019Z"></a> +2010-08-17T14:31:58.354019Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the the release dates for the second 8.71 release candidate. +Skip opacity and unknown components during reading of JPX image data. This +improves image quality (compared to the previous state that interpreted an +opacity channel as yet another data sample) and serves as a transition to full +support of opacity in JPX images. Bug 691489, customer 532. </pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[base/sjpx.h psi/zfjpx.c base/sjpx.c]</p> </blockquote> -<p><strong><a name="2010-02-08T173532.033134Z"></a> -2010-02-08T17:35:32.033134Z Robin Watts</strong></p> +<p><strong><a name="2010-08-17T012218.729560Z"></a> +2010-08-17T01:22:18.729560Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update Visual Studio solutions to use the DEVSTUDIO= form of makefile -invocation, rather than MSVC_STUDIO=8 version. This should isolate the -solution/projects entirely from the version of visual studio in use. +Don't include opacity channels in the number-of-components count. +Recognize general ICC profile (type 3) and construct a corresponding +ICC-based color space. Bug 691470, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> -Simplify the ReadMe.txt file accordingly. +<p><strong><a name="2010-08-15T094903.044306Z"></a> +2010-08-15T09:49:03.044306Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure we only check the compatibility of the system libtiff +if we're actually going to use it. -Take the opportunity to add the resource files to the list in the -ghostscript.vcproj file. This makes no difference to the project in -terms of building, but enables easy navigation/editing of files -within VS. +No cluster differences expected. +Bug 691548 </pre> -<p>[/trunk/ghostpdl/win32/ReadMe.txt /trunk/ghostpdl/win32/xps.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-02-08T164547.345828Z"></a> -2010-02-08T16:45:47.345828Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-15T094221.565047Z"></a> +2010-08-15T09:42:21.565047Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (pdfwrite) bug #691101 (part 2 of 2) +The "shortcut" for rendering masks use by the FAPI code for uncached +glyph bitmaps (gx_image_fill_masked) is only safe, in the general case +when drawing "plain" colours to the output. For complex colour spaces +(like patterns) we must use the "long hand" version. -The revisions 10474 and 10476 were intended to address an indeterminism but actually -introduced a fairly serious regression. The code was changed to return any error value -from the glyph_info method before testing the members of the 'info' structure passed to -the method. Previously one of the member could be examined when an error had meant that -the member was still uniinitialised. +This causes minor pixel level differences in some cluster tests (due +to rounding differences), and some (very small) progressions: there +are differences in about 20 cluster jobs. -However, these revision missed the fact that the glyph_info method can return a -'rangecheck' error when they require a CDevProc to be executed. Because the error code -was tested before checking for a CDevProc, the pdfwrite code never executed the -CDevproc. +Bug 691549. -This resulted in a (very) few regressions, this is because the PDF interpreter uses -a CDevProc to alter the widths of glyphs if a /W array is present in a PDF file. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-14T211029.198491Z"></a> +2010-08-14T21:10:29.198491Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory corruption problem introduced by the rev. 11588 on some systems. +Free the string returned by systempapername() but don't free the static string +returned by defaultpapername() . Bug 691557. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> -The code now initialises the member of the structure to 0, which we then test before -checking the return code. If we need to run a CDevProc we now do so. +<p><strong><a name="2010-08-13T194628.340691Z"></a> +2010-08-13T19:46:28.340691Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite( : Invalid compression filter emitted. -Part 2 of this commit explains some further issues with CDevProcs. +Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in +gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a +trailing comma if the filter was RunLength. +No differences expected </pre> -<p>[base/gdevpdtt.c]</p> +<p>[base/gdevpdfx.h]</p> </blockquote> -<p><strong><a name="2010-02-08T164518.598274Z"></a> -2010-02-08T16:45:18.598274Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-12T181430.164084Z"></a> +2010-08-12T18:14:30.164084Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (pdfwrite) bug #691101 (part 1 of 2) +pstoraster: Removed unneeded "-dDEBUG" from Ghostscript command line. +</pre> +<p>[cups/pstoraster.in]</p> +</blockquote> -The revision 10603 fixed a number of issues relating to FontMatrix and descendant fonts -of CIDFonts. However part of the fix, in CIDWProc, used 'currentfont' to address the -font dictionary instead of 'currentdict', as is done in the rest of the routine. +<p><strong><a name="2010-08-12T181047.335830Z"></a> +2010-08-12T18:10:47.335830Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Do verbose degug logging only if compiled in debug mode. Bug 690581. -For rendering devices this works well, but for pdfwrite the two dictionaries are not -the same, and this causes PostScript errors. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> -This error was initially hidden by the revisions 10474 and 10476 which inadvertently -caused all CDevProc routines not to execute when using pdfwrite. +<p><strong><a name="2010-08-12T063908.575092Z"></a> +2010-08-12T06:39:08.575092Z regression</strong></p> +<blockquote> +<pre> +Added support for regression testing of the cups device. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> -This patch alters the CIDWProc to use currentdict instead of currentfont, there are no -differences with rendering devices but with pdfwrite this causes the CDevProc to -execute properly, eliminating a number of errors (when the faulty revisiions 10474 -and 10476 are rolled back) +<p><strong><a name="2010-08-12T025540.283339Z"></a> +2010-08-12T02:55:40.283339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix to handle case where the profiledir is NOT set AND there is a change in the process color model for the device AFTER a profile had already been set. </pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> +<p><strong><a name="2010-08-12T014217.270497Z"></a> +2010-08-12T01:42:17.270497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement variable text rendering for widget annotations. +Bug 691536, customer 532. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-11T233148.385487Z"></a> +2010-08-11T23:31:48.385487Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminism issue that was introduced with changes in 16bit image handling. Last subpixel element was not getting unpacked properly. </pre> +<p>[base/gxi16bit.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T230548.288399Z"></a> +2010-08-11T23:05:48.288399Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Another compiler complaint fix. Proper cast of device.</pre> +<p>[base/gdevpsdi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T213103.877037Z"></a> +2010-08-11T21:31:03.877037Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for compiler error due to implicit declaration</pre> +<p>[base/gdevpsdi.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2010-02-04T174757.663462Z"></a> -2010-02-04T17:47:57.663462Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-08-11T185451.837319Z"></a> +2010-08-11T18:54:51.837319Z Michael Vrhel</strong></p> <blockquote> <pre> -Changed MaxStripSize for TIFF devices to default to 8 KB. +Fix so that if the device process color model changes the profile is updated accordingly.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> -This is necessary, because libtiff keeps a whole strip in memory at a time, -which resulted in very large buffers for big files. Support of MaxStripSize for -all TIFF devices which didn't have it before was also added. +<p><strong><a name="2010-08-11T161745.421152Z"></a> +2010-08-11T16:17:45.421152Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix bug # 691532. Do not attempt to clone an image that does not exist, each completed page should have an associated image. We'd like to handle this corrupt file with a better fix, for example the absence of an end page segement is clearly a problem with respect to the specification, but Adobe and Artifex have chosen to support other "off spec" streams so more subtle and less obvious error checking is needed. Thanks to Tim Waugh for analysis on this problem. +</pre> +<p>[jbig2dec/jbig2_page.c]</p> +</blockquote> +<p><strong><a name="2010-08-11T152222.427529Z"></a> +2010-08-11T15:22:22.427529Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add some words about the ps2write device to the devices documentation. </pre> -<p>[base/gdevtifs.c base/gdevtifs.h tiff/libtiff/tif_config.vc.h base/gdevtsep.c doc/Devices.htm base/gdevtfnx.c base/gdevtfax.c]</p> +<p>[doc/Devices.htm]</p> </blockquote> -<p><strong><a name="2010-02-04T033854.455593Z"></a> -2010-02-04T03:38:54.455593Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-10T164420.491267Z"></a> +2010-08-10T16:44:20.491267Z regression</strong></p> <blockquote> <pre> -Update change logs for the 8.71 release candidate. + +Several minor changes to the cluster regression system, the most +signifcant of which are: + +seg. faults are now reported for every case (previously they were only +reported if they were new) + +skip.lst files are now checked for errors + +changes to gs/psi now test the pcl/pxl/xps products since changes to +Ghostscript can affect the pdfwrite path + +the tests_private/pdf/PDF_1.7_FTS repository was added + + </pre> -<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> +<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-08-10T162019.775613Z"></a> +2010-08-10T16:20:19.775613Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf. </pre> +<p>[base/gxi12bit.c base/gsdevice.c base/gdevpdfk.c base/gxpcmap.c base/gxdevice.h /trunk/ghostpdl/xps/xpsgradient.c base/gdevprn.c base/gdevpsdi.c base/gscsepr.c base/gscpixel.c base/gxcmap.c base/gdevbit.c base/gxclip.c base/gxicolor.c base/gximag3x.c base/gscspace.c base/gsicc.c base/gscdevn.c base/gscolor2.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcspace.h base/gscicach.c base/gdevnfwd.c base/gxdevcli.h base/gdevp14.c psi/zdevice.c base/gsicc_create.c base/gsicc_cache.c base/gdevp14.h base/gsicc_cache.h base/gxccman.c base/gscms.h base/gxclist.h psi/zusparam.c base/gxshade.c base/gxblend.c base/gsequivc.c base/gsciemap.c]</p> </blockquote> -<p><strong><a name="2010-02-03T224615.528358Z"></a> -2010-02-03T22:46:15.528358Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-10T091550.312005Z"></a> +2010-08-10T09:15:50.312005Z Ken Sharp</strong></p> <blockquote> <pre> -Remove the list of open bugs. +Enhancement : pdfwrite + +performance enhancement for pdfwrite when handling files with large amounts of text. + +Bug #689859 "Performance comparison versions 7.07 and 8.62 on HP-UX ia64" Alex's +analysis shows that pdfwrite was spending a lot of time trying to to see if two type 1 +fonts were the same before deciding whether a glyph could be added to a font, or was +already present in a font copy. + +Most of the time was spent extracting and comparing /Subrs. The new code creates a hash +(MD5) of both the local and global Subrs (if present) and stores that in the type 1 +'data' field in the font (16 bytes). The hashes are created by pdfwrite only as they +are required, so there is no performance penalty for rendering. The hash comparison is +considerably quicker than the long winded Subrs comparison. + +For many files the performance difference is minimal but for file containing lots of +pages, mostly composed of text, there is a considerable saving. The text files run in +about 60% of the time they did before this change. -It's grown long enough to be unhelpful to track explicitly in each release. </pre> -<p>[doc/News.htm]</p> +<p>[base/gxfont1.h base/gxfcopy.c psi/zfont1.c]</p> </blockquote> -<p><strong><a name="2010-02-03T224250.644387Z"></a> -2010-02-03T22:42:50.644387Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-10T081335.250205Z"></a> +2010-08-10T08:13:35.250205Z Chris Liddell</strong></p> <blockquote> <pre> -Update release date for the 8.71 release candidate. +A small revision to the fix for Bug 691326: the glyphs array must have +at least one entry. + +No cluster differences expected. + +Bug 691343 </pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2010-02-03T223942.033100Z"></a> -2010-02-03T22:39:42.033100Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-09T004131.173587Z"></a> +2010-08-09T00:41:31.173587Z Ray Johnston</strong></p> <blockquote> <pre> -Document the location of the new vcproj file, and exclude it from the -extraneous files test. +Free the pattern-clist devices that are created (and left for the GC to +free) when pattern-clist patterns are used with a device that is using the +clist for the page. Those that were allocated during the print_page clist +playback would be those that leaked. Since the devices were closed, this +could lead to GC referencing objects that were invalid. Related to, but +not the final fix to Bug 691527. </pre> -<p>[doc/Develop.htm toolbin/tests/check_dirs.py]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2010-02-03T222934.129817Z"></a> -2010-02-03T22:29:34.129817Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-09T000727.505245Z"></a> +2010-08-09T00:07:27.505245Z Alex Cherepanov</strong></p> <blockquote> <pre> -Bump the copyright date for the windows metadata. +Remove spurious "cvx" operators after .pushextendedgstate and +.popextendedgstate . Do .popextendedgstate after checking that "Q" +has a correspondingh "q". Bug 691538. </pre> -<p>[psi/dwsetup.rc psi/winint.mak]</p> +<p>[Resource/Init/pdf_ops.ps]</p> </blockquote> -<p><strong><a name="2010-02-02T224855.363996Z"></a> -2010-02-02T22:48:55.363996Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-07T155808.066501Z"></a> +2010-08-07T15:58:08.066501Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update our included copy of the libpng source to 1.2.42. +Implement rendering of Widget annotation border background specified by +/BC and /BG entries of the appearance characteristics dictionary /MK. +Bug 691524, customer 532. </pre> -<p>[libpng]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-02-02T224555.167908Z"></a> -2010-02-02T22:45:55.167908Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-06T202111.891509Z"></a> +2010-08-06T20:21:11.891509Z Ray Johnston</strong></p> <blockquote> <pre> -Remove the in-tree copy of the libpng source to make way for a newer release. +Fix segfault seen with fts_17_1704.pdf when the clist playback of patterns +that had been stored as clists were attempted to be read from the clist +as bitmaps. This happened when -dMaxPatternBitmap=1000000 was used which +is smaller than the default, confusing a HACK that attempted to force +the use of the pattern-clist mode. Also remove some #if 0 idle code. </pre> -<p>[libpng]</p> +<p>[base/gsptype1.c base/gxpcmap.c base/gxcolor2.h]</p> </blockquote> -<p><strong><a name="2010-02-02T193015.986507Z"></a> -2010-02-02T19:30:15.986507Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-06T172216.521958Z"></a> +2010-08-06T17:22:16.521958Z Chris Liddell</strong></p> <blockquote> <pre> -Update jbig2dec with the 0.11 release source. +I missed a couple of now unused variables in the previous commit. </pre> -<p>[jbig2dec/aclocal.m4 jbig2dec/jbig2_metadata.c jbig2dec/install-sh jbig2dec/jbig2.c jbig2dec/mkinstalldirs jbig2dec/jbig2_image.c jbig2dec/configure jbig2dec/Makefile.in jbig2dec/jbig2_text.c jbig2dec/jbig2_metadata.h jbig2dec/jbig2_priv.h jbig2dec/depcomp jbig2dec/compile jbig2dec/jbig2dec.c jbig2dec/config.guess jbig2dec/jbig2_refinement.c jbig2dec/ltmain.sh jbig2dec/config.sub jbig2dec/README jbig2dec/jbig2_halftone.c jbig2dec/config.h.in jbig2dec/jbig2_segment.c jbig2dec/configure.ac jbig2dec/jbig2dec.1 jbig2dec/CHANGES jbig2dec/COPYING jbig2dec/Makefile.am jbig2dec/missing jbig2dec/jbig2_page.c]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2010-02-02T181437.922390Z"></a> -2010-02-02T18:14:37.922390Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-08-06T154921.355481Z"></a> +2010-08-06T15:49:21.355481Z Ray Johnston</strong></p> <blockquote> <pre> -Set rc.exe location according to MSSDK variable - fix build problem with windows 7 SDK - bug 691062.</pre> -<p>[psi/msvc32.mak]</p> +Add documentation on -dMaxPatternBitmap=# parameter in the 'Improving +Performance' section of the Use.htm file. The actual parameter was +added in rev 11605. +</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2010-02-02T072357.821537Z"></a> -2010-02-02T07:23:57.821537Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T150300.994141Z"></a> +2010-08-06T15:03:00.994141Z Chris Liddell</strong></p> <blockquote> <pre> -Re-implement optional content support to avoid dependence on proper nesting -of optional content and q..Q blocks. Check for the visibility flag and skip -most graphic operations when needed. Skip test rendering operations by -installing nullpage device to minimize changes in a rather complicated code. -Bug 691076, customers 531, 850. +Prevent doing a gc "unmark" on memory already (potentially) +freed. + +Relates to Bug 691380. I could not reproduce the seg fault +as reported, but valgrind reported the write to freed memory +in the same place as the reported seg fault. + </pre> -<p>[Resource/Init/pdf_ops.ps Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2010-02-01T194149.001947Z"></a> -2010-02-01T19:41:49.001947Z Ray Johnston</strong></p> +<p><strong><a name="2010-08-06T111522.616992Z"></a> +2010-08-06T11:15:22.616992Z Ken Sharp</strong></p> <blockquote> <pre> -Fix Windows UninstallString registry entry to use " " around the path and -uninistgs.exe so that (the usual) spaces in the path don't cause problems. -Thanks to Stefan Kanthak for pointing this out. +Fix pdfwrite +There is a hack in type 3 font creation in pdfwrite which increases the FontMatrix if +all the elements are very small, apparently Acrobat is unable to cope with very small +FontMatrix entries. + +However, if all the entries are 0, it ends up running round a loop multiplying by 10 +indefinitely. This change simply avoids the loop if all the matrix elements are 0. +Naturally this isn't a useful font, its a Quality Logic test file. + </pre> -<p>[psi/dwinst.cpp]</p> +<p>[base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2010-02-01T000204.763835Z"></a> -2010-02-01T00:02:04.763835Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T111140.511965Z"></a> +2010-08-06T11:11:40.511965Z Ken Sharp</strong></p> <blockquote> <pre> -Patch font resource category for CET testing to always return the font -memory usage as unknown (-1) to avoid differences between hosts. -Bug 691057. +Revision 11600 introduced a sever regression with text in XPS files. This revision +addresses that by only applying the fix to preserve glyph data when the text operation +is TEXT_FROM_SINGLE_GLYPH as this is the only case where the affected union is a glyph +not a pointer to a series of glyphs, and is therefore the only case which is affected. + +Expected Differences: All XPS files with text should again work correctly. </pre> -<p>[Resource/Init/gs_cet.ps]</p> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2010-01-31T203013.616671Z"></a> -2010-01-31T20:30:13.616671Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T082720.529691Z"></a> +2010-08-06T08:27:20.529691Z Chris Liddell</strong></p> <blockquote> <pre> -Use the sum of local and global VM usage for the value reported by -"/Font resourcestatus". This gives better estimation of memory consumption -and makes the result independent of the global state when the font was -loaded. With this patch CET case 23-33.PS shows different values for -"/Font resourcestatus". +Revise some of the FAPI related information. + </pre> -<p>[Resource/Init/gs_res.ps]</p> +<p>[doc/Use.htm doc/Make.htm doc/Develop.htm doc/Psfiles.htm]</p> </blockquote> -<p><strong><a name="2010-01-31T004638.360004Z"></a> -2010-01-31T00:46:38.360004Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T055342.503244Z"></a> +2010-08-06T05:53:42.503244Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add a check whether the current layer is visible to Do operator. -This is a first step to replace implementation that relies on installation -of an non-rendering output device (nullpage) with an implementation -that uses direct checks. Bug 691059. +Implement rendering of standard Stamp and Text annotations. Ghostscript uses +different font than Acrobat in Stamp icons and uses the same icon for the Text +annotation regardless of the /Name attribute. Bug 691525, customer 532. </pre> <p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-01-30T202519.240406Z"></a> -2010-01-30T20:25:19.240406Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T042459.663647Z"></a> +2010-08-06T04:24:59.663647Z Ray Johnston</strong></p> <blockquote> <pre> -Fix 'undefined' error in 29-07C.PS CET test file that was happening because -.selectmedia procedure in gs_setpd.ps was building an error information -dictionary ('<failed>' in its comment) with many keys those doesn't exist in -<request> dictionary, such as /LeadinEdge or /InsertSheet. This draws the -policy 0 procedure (line 544) to 'get' non-existant keys from <merged> -dictionary. Thanks to Masaki Ushizaka for the patch. Bug 691065. +Add a new paramter MaxPatternBitmap with a default value of 8Mb. Formerly +the pattern_clist mode would be used when the bitmap size exceeded 1Mb +and prior to rev 11___ this calculation was flawed and could allow pattern +bitmaps as large as 64Mb to avoid the pattern_clist mode. While the clist +based pattern tiling is slow, setting the threshold to 8Mb should be rare +enough to minimize performance impact. Bug 691512. </pre> -<p>[Resource/Init/gs_setpd.ps]</p> +<p>[base/gsdevice.c base/gdevp14.c base/gxdevcli.h base/gsdparam.c base/gxpcmap.c base/gxdevice.h base/gdevbit.c]</p> </blockquote> -<p><strong><a name="2010-01-30T065014.586165Z"></a> -2010-01-30T06:50:14.586165Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-05T232612.261846Z"></a> +2010-08-05T23:26:12.261846Z Till Kamppeter</strong></p> <blockquote> <pre> -Preserve /F and /BS attributes of /Link annotation during PDF to PDF -conversion. Thanks to Ken for the patch. Bug 691092, customer 1. +CUPS Raster output device: Segmentation fault on mid-job changes of the color depth. + +This patch prevents the crash by forcing a memory reallocation on +color depth changes. The approach principally works but we did not +decide yet whether it is the final solution, as Michael Vrhel is still +doing major changes in the color handling. Bug 690435. + </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2010-01-29T214045.586239Z"></a> -2010-01-29T21:40:45.586239Z regression</strong></p> +<p><strong><a name="2010-08-05T191611.698734Z"></a> +2010-08-05T19:16:11.698734Z Ray Johnston</strong></p> <blockquote> <pre> -Added highres option to clusterpush.pl (opposite of lowres). +Fix comment about no support for BITS=4 </pre> -<p>[toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[lib/viewrgb.ps]</p> </blockquote> -<p><strong><a name="2010-01-28T214337.243405Z"></a> -2010-01-28T21:43:37.243405Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-08-05T191400.403158Z"></a> +2010-08-05T19:14:00.403158Z Ray Johnston</strong></p> <blockquote> <pre> -Fixed typo in clusterpush.pl. +Minor correction to usage string left over from when this was split out +from setupgs. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[psi/mkfilelt.cpp]</p> </blockquote> -<p><strong><a name="2010-01-28T193419.913293Z"></a> -2010-01-28T19:34:19.913293Z regression</strong></p> +<p><strong><a name="2010-08-05T174036.908437Z"></a> +2010-08-05T17:40:36.908437Z Chris Liddell</strong></p> <blockquote> <pre> -Added a new option to clusterpush.pl: lowres. This option can appear -anywhere on the comand line and signals the local cluster regression to -only run lowres (72 and 75 dpi) output, for example: - - clusterpush.pl pcl lowres +The "show" machinery expected that even non-marking text operations +(such as stringwidth) would result in a glyph bitmap which +could be cached (assuming the glyph would be a candidate for the +cache with a normal marking operation, like show). -or +FAPI, however, did not create a glyph bitmap for non-marking +operations, thus the cache would receive a valid, but +"empty" glyph. This caused Postscript that used stringwidth +before a show to sometimes "lose" glyphs, by using the empty +cached glyph. - clusterpush.pl lowres "gs pcl" henrys +FAPI's behaviour now matches the expectations of the show/cache +management code. -Note that this will fail if we ever hire an engineer with the name lowres -or use that as an internal product name. Also, there currently aren't -any 75 dpi baseline md5sums for the pcl product, so until the next pcl -svn commit it doens't make sense to run with this option. +Causes cluster differences in Bug688372.ps, fts_31_3111.pdf, and +14-08.PS, these are all progressions. -Also added partial support for generating bitmaps with changes and running them through bmpcmp. +Bug 691517 </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-28T151836.842224Z"></a> -2010-01-28T15:18:36.842224Z Robin Watts</strong></p> +<p><strong><a name="2010-08-05T154939.430735Z"></a> +2010-08-05T15:49:39.430735Z Ken Sharp</strong></p> <blockquote> <pre> -Squash a warning about %d and size_t spotted by Marcos. Thanks. +Fix (pdfwrite) +A piece of data (pointer to glyph data) was stored and passed into a routine +'process_text_modify_width' which expected the glyph data to remain unchanged but +modified the text enumerator data. This doesn't work if the glyph data is a pointer +to the text enumerator data. NB the text enumerator is saved and restored around the +call. + +Modified so that the calling routine makes a copy of the glyph data before calling +'process_text_modify_width'. +This should prevent 13-10.ps from entering an infinite loop. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2010-01-28T151305.688649Z"></a> -2010-01-28T15:13:05.688649Z Robin Watts</strong></p> +<p><strong><a name="2010-08-04T231524.779084Z"></a> +2010-08-04T23:15:24.779084Z Robin Watts</strong></p> <blockquote> <pre> -Fix free of incorrect pointer in bmpcmp. -Also tweak pnm reading so that no seeks are used, so we can use the +Fix for Bug 691504 (gs taking a long time to render a file). + +Revision 8694 changes code from using a simple cast to an int to using +a call to (int)floor. This fixes problems, but costs a factor of 3 in +processing time for heavily tiled files. + +Here we change to using a macro version of floor instead. This removes +the function call and NaN handling overheads and returns us to the +same kind of performance as we had before. - bmpcmp < (zcat foo.pnm.gz) < (zcat bar.pnm.gz) ... +We apply the same change throughout the file (i.e. all the calls to (int)floor, +not just the two changed in r8694. -trick if required (bmps still seek!). +There is still scope for optimising this code further, but this closes the +regression. + +No differences seen in local cluster testing. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gxp1fill.c]</p> </blockquote> -<p><strong><a name="2010-01-28T144422.110825Z"></a> -2010-01-28T14:44:22.110825Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-04T225904.842835Z"></a> +2010-08-04T22:59:04.842835Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove accidental stupid inclusion of a C++ style comment .... +Implement rendering of Underline and StrikeOut annotations without +appearance streams. Bug 691526, customer 532. </pre> -<p>[psi/zfapi.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-01-28T143252.354649Z"></a> -2010-01-28T14:32:52.354649Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-03T120247.197684Z"></a> +2010-08-03T12:02:47.197684Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI) +Fix : FAPI (no bug number, discovered working on a different problem) + +Another place where the FAPI code assumes that a text enumerator is a show_enum and +casts it as such. While this is true for rendering, it is not the case when capturing +glyphs for pdfwrite. -Bit complex here. The FAPI code needs to tell the font rendering engine how much to -scale the font in order to get properly sized bitmaps. It does this by looking at the -FontMatrix, comparing it with the 'original' FontMatrix and determining the scale from -there. - -The problem is that the 'original' FontMatrix was being retrieved from a copy of the -font stored when it is defined, intended for use by pdfwrite. When we define a font we -check to see if it has an /OrigFont entry, and simply use the one which is present if -we do. - -This causes us problems if we make a new scaled font by taking an existing font and -changing its FontMatrix. We don't write the new FontMatrix into the OrigFont dict, and -so when we come to determine the font scale we divide the FontMatrix by the 'original' -stored matrix. This effectively results in any scale factor built into the FotnMatrix -being applied twice, once by FreeType because the FontMatrix isn't the default, and -once by the FAPI when it divides the FotnMatrix by the original. - -I didn't want to modify the OrigFont entry, as that would probably break pdfwrite, so -I've modified the FAPI code to take a copy of the FontMatrix at the time the font is -defined and store it in its own structure. We then use this to determine how much to -scale the font by dividing the current FontMatrix by the matrix at the time the font -was defined. - -This fixes my hand-crafter test file and improves the output of Bug687615.ps and -two_encodings.ps. The output is now the correct size, but the spacing is wrong in -bug687615.ps and many glyphs are missing from two_encodings.ps. +Altered the code to test if the enumerator is a show_enum and if not, to get the +graphics state from the enumerator 'pis' pointer instead if possible. Signal an error +if this is not possible. + +No differences expected. </pre> -<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-27T190807.958712Z"></a> -2010-01-27T19:08:07.958712Z Robin Watts</strong></p> +<p><strong><a name="2010-08-03T080213.862491Z"></a> +2010-08-03T08:02:13.862491Z Ken Sharp</strong></p> <blockquote> <pre> -Updated version of bmpcmp.c to support maxdiffs parameter. Also, bitmaps -are output numbered 00000, 00001, etc rather than 0, 1, etc to tidy -directory listings. +Enhancement : PDF interpreter. Bug #691503 -Updated htmldiff.pl file to cope with the rejigged number formats. +When creating an outline (/OUT pdfmark), especially for the pdfwrite device, check the +destination page to see that it lies between FirstPage and LastPage; if it does not, then +don't emit it. This is an extension to the existing control which checked that the +destination page wasn't greater than the number of pages in the PDF file.</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> +<p><strong><a name="2010-08-03T075650.987568Z"></a> +2010-08-03T07:56:50.987568Z Ken Sharp</strong></p> +<blockquote> +<pre> +In the section 'Using Unicode True Type fonts', replace the example CSI array with one +whose values are strings, not names. These must be string values. </pre> -<p>[toolbin/bmpcmp.c toolbin/htmldiff.pl]</p> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2010-01-27T145555.064385Z"></a> -2010-01-27T14:55:55.064385Z Robin Watts</strong></p> +<p><strong><a name="2010-08-02T213029.939498Z"></a> +2010-08-02T21:30:29.939498Z Alex Cherepanov</strong></p> <blockquote> <pre> -Introduce new gs_currentdevicecolor function (and inline macro version) to -retrieve the current device color from the graphics state. Use this in the -2 places in pl that require it. This restricts all the knowledge of the -way colors are stored in the graphics state to being within the gs code. - -This is done as a precursor to the work to support 2 color's in the graphics -state to enable a branch to be taken on gs only. +Partly revert rev. 11392 that over-simplified the check for a valid obj line +in the PDF file. Use --search-- to reject impossible cases but revert to the +old logic to verify the results. Bug 691502. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> -Regression tests predict 128 changes, but local testing with htmldiff.pl shows -none. +<p><strong><a name="2010-08-02T164500.756282Z"></a> +2010-08-02T16:45:00.756282Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a compiler warning about a missing prototype for free() +caused by my previous commit. +</pre> +<p>[base/lib.mak base/gp_upapr.c]</p> +</blockquote> +<p><strong><a name="2010-08-02T134903.975996Z"></a> +2010-08-02T13:49:03.975996Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory leak. Free the paper name string allocated amd +returned by libpaper. </pre> -<p>[base/gscolor2.c base/gscolor2.h /trunk/ghostpdl/pl/plchar.c /trunk/ghostpdl/pl/pldraw.c base/gzstate.h]</p> +<p>[base/gp_upapr.c]</p> </blockquote> -<p><strong><a name="2010-01-26T011546.612807Z"></a> -2010-01-26T01:15:46.612807Z Michael Vrhel</strong></p> +<p><strong><a name="2010-08-02T092004.666066Z"></a> +2010-08-02T09:20:04.666066Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for memory leak reported in bug 690754. The memory leak occurred when processing xps transparency files. The softmask group buffer was not being deallocated properly. We now properly deallocate an old soft mask buffer that will no longer be used when new one is coming in to replace it. There should not be any rendering differences with this commit.</pre> -<p>[base/gdevp14.c]</p> +Missing ';' in r11586 replaced. Should build now.</pre> +<p>[base/gdevpdfx.h]</p> </blockquote> -<p><strong><a name="2010-01-24T172738.965229Z"></a> -2010-01-24T17:27:38.965229Z Robin Watts</strong></p> +<p><strong><a name="2010-08-02T090647.523074Z"></a> +2010-08-02T09:06:47.523074Z Ken Sharp</strong></p> <blockquote> <pre> -Fix problems with htmldiff.pl introduced when introducing iframes mode. -(Javascript wasn't working, image source was incorrect). +Fix a few minor compiler warnings from gcc. No differences expected. +</pre> +<p>[base/gdevpdfx.h base/gdevpdf.c]</p> +</blockquote> +<p><strong><a name="2010-08-02T063925.229115Z"></a> +2010-08-02T06:39:25.229115Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Applied patch to fix "imagen" output device (bug 690561). </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/gdevimgn.c]</p> </blockquote> -<p><strong><a name="2010-01-24T162043.098277Z"></a> -2010-01-24T16:20:43.098277Z Robin Watts</strong></p> +<p><strong><a name="2010-08-01T085915.942136Z"></a> +2010-08-01T08:59:15.942136Z Chris Liddell</strong></p> <blockquote> <pre> -Correct some errors in htmldiff.pl. Firstly, perl doesn't have true/false, -so use 0/1. Secondly, move framenum increment out of if where I'd incorrectly -put it before, resulting in everything going into the same dir unless iframes -were used. +Remove the now redundant --disable-cairo directives. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[toolbin/localcluster/readme toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2010-01-23T174247.176361Z"></a> -2010-01-23T17:42:47.176361Z Robin Watts</strong></p> +<p><strong><a name="2010-07-31T160737.431496Z"></a> +2010-07-31T16:07:37.431496Z Chris Liddell</strong></p> <blockquote> <pre> -Updated htmldiff; neater output structure - each files diffs go into their -own subdirectory. Option to use iframes to avoid regenerating the html -twice. Config file include now uses ENV{"HOME"} rather than ~ to work on -Mac OS. +Remove the "dead" devcairo device. + +No cluster differences expected. +Bug 690009 </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[ghostscript.vcproj base/configure.ac base/gdevcairo.c base/devs.mak]</p> </blockquote> -<p><strong><a name="2010-01-22T174602.036283Z"></a> -2010-01-22T17:46:02.036283Z Till Kamppeter</strong></p> +<p><strong><a name="2010-07-31T154539.194094Z"></a> +2010-07-31T15:45:39.194094Z Chris Liddell</strong></p> <blockquote> <pre> -"cups" output device: Reallocate memory for raster data only if the size of the bitmap has changed, to avoid data getting messed up by unneeded reallocation. This should finally fix bug #691029. +Reapply r11570 + +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + </pre> -<p>[cups/gdevcups.c]</p> +<p>[base/gdevdbit.c]</p> </blockquote> -<p><strong><a name="2010-01-22T090128.663933Z"></a> -2010-01-22T09:01:28.663933Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-31T150424.124204Z"></a> +2010-07-31T15:04:24.124204Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (pswrite) +No need to install Resources and iccprofiles if COMPILE_INITS=1 -The pswrite device only partially implemented the 'file per page' output model. It -closed the output file and the bbox device, but did not open a new output file or -reopen the bbox device, leading to potential crashes later when the pswrite device -tried to access the bbox device. +When COMPILE_INITS=1, the mentioned directories are not used and just waste +disk space and also confusing. Bug 689253. -This patch reopens the bbox device, and opens a new output file, at the end of every -page when we are outputting one file per page. The problem is that this will emit an -empty EPS after the last page is completed. Fixing this would mean delaying opening the -output file until we had received a marking operation. That's more work than we want -to do on this device, so this is being left as an issue. </pre> -<p>[base/gdevps.c]</p> +<p>[base/unixinst.mak]</p> </blockquote> -<p><strong><a name="2010-01-21T030421.383005Z"></a> -2010-01-21T03:04:21.383005Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-07-31T003707.940018Z"></a> +2010-07-31T00:37:07.940018Z Ray Johnston</strong></p> <blockquote> <pre> -adding the tiff directory to the list of files to zip up during a windows build. Thanks Gennadiy Tsarenkov or the report and patch. Fixes bug 691069</pre> -<p>[psi/winint.mak]</p> +Fix the calculation of the size of the pattern bitmap by correcting the +calculation of the effective depth (bits per pixel). PaintType 2 is the +uncolored (mask == 1 bit per pixel) mode, PaintType 1 is colored, thus +needs the full target device color_info.depth bits per pixel. Bug 691514 +detected running the PDF 1.7 FTS for customer 532. +</pre> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2010-01-20T190701.585691Z"></a> -2010-01-20T19:07:01.585691Z Till Kamppeter</strong></p> +<p><strong><a name="2010-07-30T231352.534878Z"></a> +2010-07-30T23:13:52.534878Z Till Kamppeter</strong></p> <blockquote> <pre> -Fixed handling of back sides when duplex printing via the CUPS Raster output device. With PostScript as input format the y-axis of the back sides was often flipped (bug #691029). +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. + </pre> -<p>[cups/gdevcups.c]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2010-01-20T181139.888031Z"></a> -2010-01-20T18:11:39.888031Z Michael Vrhel</strong></p> +<p><strong><a name="2010-07-30T213419.596701Z"></a> +2010-07-30T21:34:19.596701Z Till Kamppeter</strong></p> <blockquote> <pre> -This commit is a fix for bug 691021 which had quantized (unsmooth) shading artifacts when transparency was present. +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) -The primary changes to the code are: +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> -The adaptive (non-fixed) smoothness method is now used in the shading code when transparency is present. Previously there was a check put in place and if there was transparency a fixed amount of smoothing was enforced. +<p><strong><a name="2010-07-30T203848.303275Z"></a> +2010-07-30T20:38:48.303275Z Till Kamppeter</strong></p> +<blockquote> +<pre> +configure script: Hide error message when "sed" does not have a "--version" option. +</pre> +<p>[base/configure.ac]</p> +</blockquote> -The color cache used in the shading code was updated to use the color information in the transparency device that is contained in the imager state. This object is initialized with either the target device when there is no transparency or with the PDF14 device when there is transparency. In this way, the proper color information is used by the cache. +<p><strong><a name="2010-07-30T200921.607711Z"></a> +2010-07-30T20:09:21.607711Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Tips about cross-compiling 64-bit ghostscript on 32-bit windows -The shading code makes use of the member variables comp_shift and comp_bits in the color_info member variable of the target device. This information is now properly updated in the PDF14 device as the transparency group color space changes. +This procedure is slightly simplier(?) than the cross-compiling instruction +which Russell removed with r9807 about a year ago. Note that +ARCH_STRUCT_ALIGN_MOD mentioned in Russell's instruction was removed +r6773 (in 2006) and note also that all the "genconf" references in r9807 +should be "genarch" instead. -A clist change was also required for proper XPS rendering of gradients. When it has a gradient with a transparency component, the XPS code first creates a soft mask group and draws the alpha shading. It then creates a transparency group to draw the color components portion of the shading. When the transparency group is popped, is is composed using the soft mask buffer which is the XPS opacity shading. When we are going through the clist writer, the writer will end up drawing the shadings for both the opacity component and the color component with trapezoid fills. Later, during the clist reading and execution of the trapezoid filling, a clipping device is created. This device is created with the color info properties of the target device, which in our case is a PDF14 device. The clipping device is first created during the soft mask group. This group has color information associated with a grey device since it is just a single channel (the XPS alpha channel). Later, the same clipping device is used when we are doing the trapezoid filling during the transparency group fills. The problem is that the color information of the target device may have changed, for example if the transparency color group is RGB or CMYK. We need to test for that and update the color info for the clipping device. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> -There are several regression test files that are affected by this commit. I looked at all of them. Changes appear to be progressions or visually unnoticeable. Files are +<p><strong><a name="2010-07-30T171523.787490Z"></a> +2010-07-30T17:15:23.787490Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. -Bug688807.pdf -Bug689918.pdf -Bug690115.pdf -Bug690206.pdf -Bug690535.pdf -Bug690709.pdf -CATX1101.pdf -CATX4135.pdf -CATX5233.pdf -CATX6508.pdf -CATX9004.pdf -IA3Z0302.pdf -IA3Z0303.pdf -as well as most of the fts_##xx.xps tests. +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. </pre> -<p>[base/gscicach.h base/gxshade6.c base/gdevp14.c base/gdevp14.h base/gxshade.c base/gscicach.c base/gxclrast.c base/gxshade.h]</p> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> </blockquote> -<p><strong><a name="2010-01-19T213816.998845Z"></a> -2010-01-19T21:38:16.998845Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-07-30T171346.325084Z"></a> +2010-07-30T17:13:46.325084Z Michael Vrhel</strong></p> <blockquote> <pre> -adding comment about possible future rewrite with XGetPixel() ; no code change</pre> -<p>[base/gdevx.c]</p> +Fix for double to float conversion warnings. Bug 691498. </pre> +<p>[base/gsicc_create.c]</p> </blockquote> -<p><strong><a name="2010-01-19T154857.559895Z"></a> -2010-01-19T15:48:57.559895Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T170659.251898Z"></a> +2010-07-30T17:06:59.251898Z Henry Stiles</strong></p> <blockquote> <pre> -Attempt to fix bug 691030, regression with thin lines. This regression was -caused by revision 10391, where I pulled the rectangle special cases into -line with the more general case. Sadly, the more general case appears to be -wrong in the way it rounds lines lying on integer values. +rollback to revision 11564, 11565 broke the build</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c contrib/gdevbjc_.h base/gdevbbox.c base/gxpcolor.h Resource/Init/gs_res.ps Resource/Init/pdf_draw.ps base/gsovrc.h base/gdevpdtf.h base/gsicc_create.c autogen.sh Resource/Init/gs_lev2.ps base/strmio.h base/configure.ac base/gdevrinkj.c base/sjpx.c base/gdevbit.c base/gximage.h base/gdevdbit.c]</p> +</blockquote> -The fix is to correct the rounding in the general case, and to keep the -rectangle special cases in line with this. Unfortunately this produces -unacceptable results with the PCL interpreter. +<p><strong><a name="2010-07-30T142707.462183Z"></a> +2010-07-30T14:27:07.462183Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. -We therefore commit a compromise solution, whereby we make the code do the -'correct' thing (or what we believe the correct thing is) for postscript, -and leave operation alone for the other languages. We spot this by examining -the fill_adjust values. This seems to works, with the minor problem that we -still see some changes in PCL due to it sometimes using non-zero fill_adjust -to thicken lines. A visual check shows the diffs to be reasonable. +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. -Expected Differences: MANY. But extensively checked with htmldiff and they -seem OK. +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. </pre> -<p>[base/gxdevcli.h base/gdevtxtw.c base/gdevtrac.c base/gdevbbox.c base/gdevmem.c base/gdevnfwd.c base/gdevddrw.c base/gxstroke.c]</p> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> </blockquote> -<p><strong><a name="2010-01-19T111824.072283Z"></a> -2010-01-19T11:18:24.072283Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T140814.058178Z"></a> +2010-07-30T14:08:14.058178Z Chris Liddell</strong></p> <blockquote> <pre> -Move ghostscript.vcproj from win32 to gs directory, and adjust solution file -accordingly. This serves 2 purposes; firstly, the solution now correctly -supports tag jumping (that is, the ability to click on a warning or error -and jump to that line in the file). The second is that the ghostscript -project now lives in the ghostscript directory, and hence may be usable by -people wanting to build *just* ghostscript, rather than ghostscript as a -component of GhostPDL. +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. -Update ReadMe.txt to reflect this change, and document a known problem. +Bug 691494 - credit to SaGS for the patch. -No expected differences. +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T135952.334818Z"></a> +2010-07-30T13:59:52.334818Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for double to float conversion warnings. Bug 691498</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T113715.489627Z"></a> +2010-07-30T11:37:15.489627Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. </pre> -<p>[/trunk/ghostpdl/win32/ghostscript.vcproj /trunk/ghostpdl/win32/ReadMe.txt ghostscript.vcproj /trunk/ghostpdl/win32/GhostPDL.sln]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2010-01-18T112829.454584Z"></a> -2010-01-18T11:28:29.454584Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T112007.130600Z"></a> +2010-07-30T11:20:07.130600Z Till Kamppeter</strong></p> <blockquote> <pre> -Addendum to revision 10615. Use the *y* scale factor for computing the vertical character -advance, not the x scale which the previous commit used. Also note that the text of the -previous log said: +Suppressed error message during ./configure if "sed" does not support "--version" (bug 691463) +</pre> +<p>[base/configure.ac]</p> +</blockquote> -"as a parameter to zchar_set_cache to set the horizontal advance" +<p><strong><a name="2010-07-30T111617.321612Z"></a> +2010-07-30T11:16:17.321612Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> -That should, of course, read vertical advance. +<p><strong><a name="2010-07-30T111247.691429Z"></a> +2010-07-30T11:12:47.691429Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded quotes in autogen.sh. </pre> -<p>[psi/zfapi.c]</p> +<p>[autogen.sh]</p> </blockquote> -<p><strong><a name="2010-01-18T111655.954810Z"></a> -2010-01-18T11:16:55.954810Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T111035.977735Z"></a> +2010-07-30T11:10:35.977735Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (FAPI - FreeType). The current FAPI implementation for FreeType ignores any vertical -advance defined in a glyph. This causes type 1 glyphs defined with an sbw (not hsbw) -which have a vertical advance as well as, or instead of, a horizontal advance to not -advance the current point correctly. +On Tru64 stdint.h does not exist but the types required by jbig2 are in inttypes.h there (bug 691463). + +</pre> +<p>[base/configure.ac]</p> +</blockquote> -There is a separate issue with FreeType which does not return the correct vertical -advance which will be addressed in a separate patch. +<p><strong><a name="2010-07-30T110327.732163Z"></a> +2010-07-30T11:03:27.732163Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 the integer types are in inttypes.h and not in stdint.h as in VMS + +Bug 691463, required for jbig2dec. -This patch adds the vertical advance to the metrics structure and uses it as a -parameter to zchar_set_cache to set the horizontal advance in GS for the glyph. </pre> -<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> +<p>[base/stdint_.h jbig2dec/os_types.h]</p> </blockquote> -<p><strong><a name="2010-01-18T084120.191771Z"></a> -2010-01-18T08:41:20.191771Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T110025.895059Z"></a> +2010-07-30T11:00:25.895059Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (FAPI). The code to 'serialise' a CFF font (that is to convert the internal GS -representation back to a stream resembling a disk font) was seriously broken when writing -a local Subrs DICT. +Replace "==" bashism by "=" in configure.ac -The offset to the Subrs DICT is stored in the Private DICT as an offset from the -start of the Private DICT. This means it depends on the length of the Private DICT, -but the Private DICT includes that offset, so the length of the Private DICT is -dependent on the size of the offset (CFF integers use between 1 & 5 bytes depending -on their value). +"==" is a bash extension. See bash's manpage recommending "=" for posix +compliance (bug 691463). This causes various tests to fail and resulted +in the link failure from mis-detecting omni. -The normal method for dealing with this is a process of refinement; assume that a 1 byte -representation will suffice, calculate the size of the DICT, see if that size can be -represented in 1 byte. If not assume a 2 byte representation, recalculate the size -of the DICT, see if it can be represented in 2 bytes and so on. +</pre> +<p>[base/configure.ac]</p> +</blockquote> -It looks like the code was intended to do this, but it was in fact seriously broken -and ended up incrementing an integer for size of DICT until it became negative, and -then stored a negative (and incorrect) offset to the Subrs. +<p><strong><a name="2010-07-30T105644.338677Z"></a> +2010-07-30T10:56:44.338677Z Till Kamppeter</strong></p> +<blockquote> +<pre> +'%' in printf() needs to be '%%' -Replaced the code with a simple for loop surrounding a switch. +Tru64 C issues a warning (bug 691463). </pre> -<p>[psi/write_t2.c]</p> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2010-01-14T163845.881264Z"></a> -2010-01-14T16:38:45.881264Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T105330.576036Z"></a> +2010-07-30T10:53:30.576036Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix the syntax error accidentally committed in revision 10608 which prevented -Ghostscript from building. +Removed duplicate AC_PATH_PROG(pkg-config) check in ./configure. + +The extra check caused + +./configure: !: not found + +messages on some platforms. Bug 691463. + </pre> -<p>[base/gdevpdtw.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-01-14T162503.707208Z"></a> -2010-01-14T16:25:03.707208Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T101447.310782Z"></a> +2010-07-30T10:14:47.310782Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix (pdfwrite) Bug #691058 "Incorrect embedding of CIDToGIDMap for CIDFontType 2". +Update documentation as --enable-dynamics is no longer required for "make so" to work. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> -Previously we would embed a CIDToGIDMap for a CIDFontType 2 font (TrueType outlines) if -the font had a non-identity CIDToGIDMap, or if we were producing PDF/A output. +<p><strong><a name="2010-07-30T101041.906626Z"></a> +2010-07-30T10:10:41.906626Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added some missing initializations in DeviceN -However the spec (PDF 1.7, Section 5.6, "Glyph Selection in CIDFonts') says that we -should *always* embed a CIDToGIDMap if the font is embedded, and never if the font is -not. +This should have been part of the DeviceN change. If left unset, +the code path assumes color display and goes down the color display +path and eventually segfaults. Bug 690428. +</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T095623.737093Z"></a> +2010-07-30T09:56:23.737093Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix time-struct related build failure with SunStudio (bug 691453). + +Apparently many platforms and compilers, including gcc and intel C, +require both <sys/time.h> and <time.h>. This patch just adds Sun Pro C +to the list of such platforms and compilers. -This patch modified the CIDToGIDMap production so that we ignore the production of PDF/A -files, and instead check whether the font is being embedded. If it is being embedded -then we create a CIDToGIDMap, if it is not, then we don't. </pre> -<p>[base/gdevpdtw.c]</p> +<p>[base/time_.h]</p> </blockquote> -<p><strong><a name="2010-01-14T022419.739891Z"></a> -2010-01-14T02:24:19.739891Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-07-30T094551.500432Z"></a> +2010-07-30T09:45:51.500432Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix two warnings introduced in rev. 10603. Signed/unsigned incompatibility. +Avoid that the x11 output device can create huge windows which crash the X server. Bug 690444. </pre> -<p>[base/gschar0.c]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2010-01-13T210409.482842Z"></a> -2010-01-13T21:04:09.482842Z regression</strong></p> +<p><strong><a name="2010-07-30T085817.493418Z"></a> +2010-07-30T08:58:17.493418Z Till Kamppeter</strong></p> <blockquote> <pre> +Assorted fixes for the modularized X11 output device + +All object files destined for shared libraries needed to be compiled +with -fPIC but this is not the case for gsparamx.c, gdevemap.c, and +gdevxcmp.c which are required by other parts to be built as standard. + +This change makes x11 not depend on gsparamx.c and gdevemap.c (and not +geeting them included in the shared library X11.so). gsparamx.c is +part of psdf and is usually included and available, and gdevemap.c is +small enough to be inserted completely where it is used. + +gdevxcmp.c is addressed by building it with $(GLCCSHARED) and not with +$(GLCC). -General cleanup and minor improvements of the local cluster code: - changed timeout values - keep logs of machine status messages - change previous md5sum cache size - better differentiate pdfwrite vs bitmap output errors +In addition, $(CC_SHARED) is only used for object files, rather than +for linking, so DYNAMIC_CFLAGS is more appropiate here than +DYNAMIC_LDLAGS. +Bug 691510 </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gdevxxf.c base/Makefile.in base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-29T182806.621749Z"></a> +2010-07-29T18:28:06.621749Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a comment recommending -sstdout=%stderr with -sOutputFile=- to prevent +PostScript files that print from messing up the output. Bug 691507. +</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2010-01-12T214228.034208Z"></a> -2010-01-12T21:42:28.034208Z Robin Watts</strong></p> +<p><strong><a name="2010-07-29T142919.627579Z"></a> +2010-07-29T14:29:19.627579Z Robin Watts</strong></p> <blockquote> <pre> -Fix overallocation in bmpcmp.c that was causing out of memory errors. +Remove unused variable left over from removal of pattern_cache_alt. +No expected changes. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2010-01-12T202232.464302Z"></a> -2010-01-12T20:22:32.464302Z Robin Watts</strong></p> +<p><strong><a name="2010-07-29T140539.594612Z"></a> +2010-07-29T14:05:39.594612Z Ken Sharp</strong></p> <blockquote> <pre> -Updated bmpcmp.c and htmldiff.pl. bmpcmp.c now outputs metadata about each set -of difference bitmaps (which page, bbox etc). htmldiff.pl now reads that -metadata and outputs that into the file. Some javascript hackery is used to -display the device coords of the point under the mouse pointer. +Fix (pdfwrite) : try not to write out invalid xref + +Exposed by bug #691503. There are circumstances under which we create a reference to a +/Page object which does not yet exist (creating an outline tree for example). In this +case we create a reference to the page, and set its initial offset to the current +position in the PDF file. When we later write the real object we update the position +to reflect the point in the file where it is actually stored. + +However, if we don't actually ever write the object (in the case above, because +LastPage is set before the destination page), then the object remains pointing to the +wrong location in the file. This is then written into the xref table, and this confuses +the current version of Ghostscript. -Finally, if the $parallel option is set, htmldiff will fork jobs in parallel -to try to make better use of multicore machines. +The patch creates new pages with an offset of 0 (which is always invalid because the +PDF header means the minimum offset for any object is 15). If the page is later +created then the offset gets updated. If it is not written, however, we now check in +the xref writing code to see if an object has an offset of 0. If it does, then we +break the xref table up and do not write an xref entry for the missing object. +Ghostscript is happy with this and processes the file. +NB the proper fix is to not emit the Outline entry for the page which will not be +present in the output, and a patch has been suggested to achieve this. This code has +some uses, however, as it may prevent this kind of problem in the future. It also +permits objects to be created and never referenced (presumably because they are never +used) without leaving invalid entries in the xref, which might be useful. + +No expected differences. </pre> -<p>[toolbin/bmpcmp.c toolbin/htmldiff.pl]</p> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> </blockquote> -<p><strong><a name="2010-01-12T094958.118243Z"></a> -2010-01-12T09:49:58.118243Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-07-29T135953.090810Z"></a> +2010-07-29T13:59:53.090810Z Chris Liddell</strong></p> <blockquote> <pre> -Fix for bug #690834 & #687832 +Two changes for two primarily pdfwrite problems with FAPI/FT. + +The first is to only replace whichever of BuildGlyph or BuildChar +procedures the original font actually contained, replacing both +regardless confused some of "decoding" code elsewhere in GS +(op_show_continue_dispatch()) and we ended up receiving a valid +glyph to render instead of notdef. In this case we ended up incorrectly +stroking a charpath (this was seen with Quark's Type 3 "special effects" +font). With rendering output this resulted in a boldening effect on the glyph, +in pdfwrite, the result was strange extra lines through the glyph. -Bug #690834: text garbled in PS viewer; PDF works - - Fixed to concatenate CIDFont FDArray font's FontMatrix when running under 'cshow' or 'glyphshow'. - - Fixed to use correct FDArray font when concatenate its FontMatrix. - - Changed the meaning of 'fstack.items[n].index' to keep track of FDArray font and FontMatrix. - - Reverted the rev. 5613 which was a fix for bug #687832. -Bug #687832: (PDF interpreter) : CID Font in PDF - - Fixed the interpretaion of W/W2/DW/DW2 value from glyph space (wrong) to 1000th of text space (correct). +The second change is to due pdfwrite's use of a unit matrix for some of +its work. This resulted in small glyph metrics rounding to zero within +Freetype, and pdfwrite thinking a glyph had a width of zero. So make +the scale value at which we consider a glyph to be "small" an order of magnitude +larger, which gets compensated for in the calculation of Freetype's final +matrix. -Applying this patch makes some one dot differences on text in 19 files of LocalCluster test. (List is in Bugzilla #687832 comment #9).</pre> -<p>[base/gxchar.c Resource/Init/pdf_font.ps base/gdevpdtc.c base/gschar0.c base/gxtext.h]</p> +Unfortunately this does cause ~2600 differences in the cluster tests: some +are progressions, most are pixel differences due to rounding differences +because the scaling numbers have changed in Freetype. + +Fixes Bug 691383 + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-11T120826.301794Z"></a> -2010-01-11T12:08:26.301794Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-28T184446.282683Z"></a> +2010-07-28T18:44:46.282683Z Robin Watts</strong></p> <blockquote> <pre> -Bug #691044 "" +Fix bug #691493. Revert some of the work done for gs_2_colors. -Another problem caused by a corrupt compressed data stream, resulting in garbage data -being sent to the TrueType interpreter. +I had needlessly attempted to have 2 pattern_cache's, one for stroking +colors and one for non-stroking colors. Given that the pattern_cache is +indexed by color id number, this is not necessary as all the data can +live happily in just one instance. + +This removes the problem seen in the bug (where it was getting into an +infinite loop trying to populate the cache). + +Local cluster testing shows this produces 57 differences, all (I think) +non-determinisms. -Caused when the TT interpreter is given an argument of 0 to the MINDEX operator. Rather -than flag this as an error I've chosen to simply return. This is because it seems that -a value of 0 is actually legal (stupid, but legal), and simply leaves the stack -unchanged. </pre> -<p>[base/ttinterp.c]</p> +<p>[base/gsstate.c base/gxistate.h base/gsistate.c]</p> </blockquote> -<p><strong><a name="2010-01-10T155148.168326Z"></a> -2010-01-10T15:51:48.168326Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-28T123751.588339Z"></a> +2010-07-28T12:37:51.588339Z Till Kamppeter</strong></p> <blockquote> <pre> -Don't use operator 'execute' because it resets the /command attribute -in $error dictionary. Use '.execute pop' instead. Keep 'execute' as an -operator for backward compatibility. Thanks to dakka.akka@gmail.com -for analysis of the bug. Bug 691050. +CUPS Raster output device "cups": Improved support for rendering jobs with high memory demands. + +Let Ghostscript determine the memory buffer sizes automatically (as it +does with all the other output devices) if the environment variable +RIP_MAX_CACHE is not set, zero, or does not begin with a number (like +"auto"). If RIP_MAX_CACHE defines a valid value, use the actual value +for BufferSpace and not 1/10 of it. MaxBitmap is the maximum buffer +size to be used when rendering in full page mode, BufferSpace is the +buffer size used in banding mode. Banding mode is used if MaxBitmap is +too small to hold one page. Bug 691499. + </pre> -<p>[toolbin/smoke.ps Resource/Init/gs_init.ps]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2010-01-09T235933.690907Z"></a> -2010-01-09T23:59:33.690907Z Robin Watts</strong></p> +<p><strong><a name="2010-07-28T092249.016213Z"></a> +2010-07-28T09:22:49.016213Z Robin Watts</strong></p> <blockquote> <pre> -Updated version of bmpcmp. Now loads bmp, pgm, pbm, ppm files. Diffs are -always written as bmps though. +Add new gp_thread_start, gp_thread_finish abstraction, and deprecate old +gs_create_thread function. Adapt multiple rendering thread code to use +this new style instead. Hopefully this should solve the problems seen +in rare cases when a test thread doesn't get scheduled until after the +DLL has exited and the code isn't around any more. No expected differences. +This code has been tested with MSVC and on linux with pthreads. While it +should work with Borland and Watcom (as all the headers appear consistent) +I have not been able to properly test it. Therefore the code is currently +configured to fall back to the old code, thus hopefully guaranteeing that +this commit won't make the operation under Borland/Watcom any worse than +it is now. This fallback is controlled by a single define for each of +these systems in gp_wsync.c, so it's easy to test. If users can report +success with the new code we can remove the fallback trivially. + + </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gp_wsync.c base/gxclthrd.c base/gp_nsync.c base/gp_psync.c base/gxclthrd.h base/gpsync.h]</p> </blockquote> -<p><strong><a name="2010-01-09T160124.458674Z"></a> -2010-01-09T16:01:24.458674Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-28T073652.403693Z"></a> +2010-07-28T07:36:52.403693Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a Coverity warning. We were potentially passing a NULL pointer to a routine which -would unconditionally dereference it. Fixed by taking no action if the pointer is NULL. +As pointed out by SaGS in Bug #691440, comment 5(C) there was a typo in revision 11498, +a '>>' was accidentally dropped form the batch file. </pre> -<p>[base/gsgdata.c]</p> +<p>[lib/ps2pdf.bat]</p> </blockquote> -<p><strong><a name="2010-01-08T011724.694675Z"></a> -2010-01-08T01:17:24.694675Z Ray Johnston</strong></p> +<p><strong><a name="2010-07-27T071003.221027Z"></a> +2010-07-27T07:10:03.221027Z Chris Liddell</strong></p> <blockquote> <pre> -Add documentation on the limitations of -sstdout=_____ where users expected -_all_ stdout I/O to be redirected, not just PS writing to stdout. Bug 691037. +Add missing free of the new bitmap data. </pre> -<p>[doc/Use.htm]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-07T105336.539549Z"></a> -2010-01-07T10:53:36.539549Z Robin Watts</strong></p> +<p><strong><a name="2010-07-27T070247.392994Z"></a> +2010-07-27T07:02:47.392994Z Chris Liddell</strong></p> <blockquote> <pre> -Changes to the MSVC makefiles to prepare for the prototype vs2005 solution -file. Firstly, we introduce an SBR symbol; if this is set when invoking the -makefile, we add a new flag to the C compiler (held in SBRFLAGS) to cause -the generation of the browse data for each source file. Next, we introduce a -new bsc build target to combine those .sbr files into appropriate .bsc ones. -The final change is enable debug builds to put their builds into debugobj -rather than obj directories. +Slightly revise comment for why we might need to create a new bitmap +in fapi_finish_render_aux() -With luck, this should cause no differences for anyone other than me. +No cluster differences expected. </pre> -<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/svg/svg_msvc.mak base/msvccmd.mak /trunk/ghostpdl/xps/xps_msvc.mak psi/msvc32.mak base/msvclib.mak /trunk/ghostpdl/main/pcl6_msvc.mak]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-07T103153.862753Z"></a> -2010-01-07T10:31:53.862753Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-26T084833.786696Z"></a> +2010-07-26T08:48:33.786696Z Chris Liddell</strong></p> <blockquote> <pre> -Update the example file. The old file used a single 'charpath pathbbox' to determine the -height of the text. It then used the 'scale' operator to draw larger text. +A much better solution for Bug 691328. -If the path was fixed to pixel boundaries, and the point size was low (default 15 -points) this could lead to a small error which was magnified by the cumulative scale -operations. +The bitmap data coming from a font scaler/renderer may not have its raster +alignment as Ghostscript expects, so in the event that is the case, create +a bitmap which is GS compatible in the FAPI layer, before calling any +further operations on it. -This led to significant differences when using the FreeType font code, as it seems to -return a hinted path which is bounded by pixel co-ordinates, unlike the regular GS -code. +This reverts the previous "hack" from r11362. + +No cluster differences expected. -The altered code scales the font and recalculates the height of the text each time -giving more accurate results. In addition a minimum size has been introduced (50 points) -for the calculation of the text height. Together these result in much closer output. </pre> -<p>[examples/alphabet.ps]</p> +<p>[base/gsbitops.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-06T111901.103028Z"></a> -2010-01-06T11:19:01.103028Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-24T225746.607791Z"></a> +2010-07-24T22:57:46.607791Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix bug #691043 "Vulnerability report : Ghostscript gs_type2_interpret null ptr -dereference (Segmentation Fault)". The problem appears to be caused by a corrupt -compressed data stream which results in garbage font data being sent to the type 2 and -under some conditions the type 1, font interpreters. - -As noted these font interpreters are normally coded to be intolerant of faults, and -do not normally perform much error checking. As a result badly formed (or as in this -case, garbage) fonts can cause serious problems. - -Although the null dereference is the cause of the error, this is actually caused by -interpreting the data as a font, and decrementing the font instruction pointer below -the bottom of the instruction stack. +Render 3D annotations (using appearance stream) on the printer device even +if Print flag (0x4) is not set. This is done following AR8 and AR9 example +but contrary to PDF 1.7 spec. Bug 691486, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> -The patch here adopts the suggestion from the original bug reporter of checking the -pointer before the dereference, but in addition adds some checking when the -instruction pointer is decremented to see that it does not descend past the bottom of -the stack. This is because tests showed that it was possible to reach this point with -a non-NULL pointer, which was still invalid and caused a segmentation violation. +<p><strong><a name="2010-07-23T200128.232264Z"></a> +2010-07-23T20:01:28.232264Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Make *clean targets remove generated tif*.h files. Bug 691485. +</pre> +<p>[base/gs.mak]</p> +</blockquote> -In addition the free_glyph routine has been modified to check the pgd (pointer to -glyph data) parameter is non-NULL, and that its 'procs' member is non-NULL, before -attempting to call the free procedure. This fault was exposed by selecting the pdfwrite -device. +<p><strong><a name="2010-07-23T190145.196186Z"></a> +2010-07-23T19:01:45.196186Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove .dividesfnts procedure, which is not needed by PS interpreter after +the introduction and use of string_array_access_proc() way back in +revision 176. FreeType doesn't require a particular way to split sfnts +either. ps2write includes procedures to create a well formed Type 42 from +a TrueType font. -Although improved this is not a comprehensive fix, there are other locations where the -font instruction pointer may be incremented past the top, or decremented past the -bottom, of the instruction stack. However the FreeType font interpreter correctly -detects the problems without causing a crash, so I don't think we should expend too -much effort on rewriting our current font code to cope. +The error is caused by .dividesfnts only spliting strings when the split +offset is even. The sample file has a *long* run of cases where the split +offsets are odd. When an even offset is finally found, the number of buffered +bytes exceeds the maximum length of the string causing /rangecheck error. +Thanks to Chris Liddell for the analysis of the problem. +Bug 691473, customer 532. </pre> -<p>[base/gsgdata.c base/gstype1.c base/gstype2.c base/gxtype1.c]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2010-01-05T155758.786575Z"></a> -2010-01-05T15:57:58.786575Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-23T092028.484085Z"></a> +2010-07-23T09:20:28.484085Z Chris Liddell</strong></p> <blockquote> <pre> -Revert code introduced in revision 10578. This code is no longer required since the -test in the FreeType code, which this code evaded, is no longer present when built -using the incremental interface. +Commit the correct change for Bug 691427 + + </pre> -<p>[psi/fapi_ft.c]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2010-01-05T005207.186738Z"></a> -2010-01-05T00:52:07.186738Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T082243.299979Z"></a> +2010-07-23T08:22:43.299979Z Chris Liddell</strong></p> <blockquote> <pre> -Remove duplicate call to errwrite() introduced by the rev. 10568. -Thanks to Henry for spotting this. +Change the gsicc* targets from using GCFLAGS to CFLAGS. This ensure that the +options for building .so objects are correct. + +Additionally, add the extra dependencies to the sodebug target so it works +correctly. + +No cluster differences expected. + +Bug 691427 + </pre> -<p>[base/gsmisc.c]</p> +<p>[base/lib.mak base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2010-01-04T150922.066340Z"></a> -2010-01-04T15:09:22.066340Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-23T025737.996803Z"></a> +2010-07-23T02:57:37.996803Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add a comment to explain the arbitrary choice of value for num_glyphs in revision 10578. +Handle the case when, contrary to the spec, default viewing optional content +configuration dictionary has /BaseState attribute equal /OFF. Mark all OCGs +/OFF and unmark ON UCGs. Bug 691491, customer 532. </pre> -<p>[psi/fapi_ft.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2010-01-04T092721.029560Z"></a> -2010-01-04T09:27:21.029560Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-21T192614.458296Z"></a> +2010-07-21T19:26:14.458296Z Michael Vrhel</strong></p> <blockquote> <pre> -FreeType interface fix. When using the incremental interface to FreeType (which in fact -we always use), Ghostscript is responsible for locating and passing the glyph -description data to FreeType, and so we don't bother to track certain kinds of data -in the FreeType structure. +Fix for bug 691478 -However, even when using the incremental interface, FT still tests some of this data, in -particular it tests the requested glyph index against the reported number of glyphs -in the font, and aborts if the index is too large. - -This patch simply sets the num_glyphs member of the FT_face structure to a large number -(65534) so that the internal FreeType test is successful, and we don't have to bother -with the record-keeping that would be required to keep this member updated when fonts -change. -</pre> -<p>[psi/fapi_ft.c]</p> +Note that string objects that are maintained as user params must be either allocated in non-gc memory or be a constant in the executable. The problem stems from the way userparams are retained during garbage collection in a param_list (collected by currentuserparams). For some reason this param_list does not get the pointers to strings relocated during the GC. Note that the param_dict itself is correctly updated by reloc, it is just the pointers to the strings in the param_list that are not traced and updated. In this particular case, ICCProfilesDir sets a string in the icc_manager. When a reclaim occurs, the string is relocated (when in non-gc memory and when it is noted to the gc with the proper object descriptor). Then if a set_icc_directory occurs, the user params pointer has NOT been updated and validation problems will occur. Fix for this was to make the string not known to the GC and to allocate in non-gc memory. When icc manager is deallocated, the string is also deallocated.</pre> +<p>[base/gsicc_manage.c psi/zusparam.c]</p> </blockquote> -<p><strong><a name="2010-01-03T010712.832443Z"></a> -2010-01-03T01:07:12.832443Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-21T000316.900862Z"></a> +2010-07-21T00:03:16.900862Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix error recovery code that messed up operand stack trying to break out -of post table processing when the offset to the glyph name is beyond the -table length. Bug 690837. -</pre> -<p>[Resource/Init/gs_ttf.ps]</p> +Fix so that non-isolated transparency groups are rendered correctly. This fixes a rendering issue with fts_25_2524 and with a few in the test suite. A future optimization will be to avoid the extra buffer push if the blend mode is normal, since in that case we can draw directly into the parent buffer.</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2010-01-02T184840.508429Z"></a> -2010-01-02T18:48:40.508429Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T094634.095118Z"></a> +2010-07-20T09:46:34.095118Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Remove description of -dIgnoreTTEncoding flag from the documentation. +Add support for user defined huffman table. + +This code adds support for segment type 53 segments, which supplies +inline huffman code table. Bug 689853. + +Many thanks to Justin Greer. + + </pre> -<p>[doc/Use.htm]</p> +<p>[jbig2dec/jbig2_segment.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_huffman.h]</p> </blockquote> -<p><strong><a name="2010-01-02T184515.635704Z"></a> -2010-01-02T18:45:15.635704Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T082305.218485Z"></a> +2010-07-20T08:23:05.218485Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Implement symbolic glyph mapping as described in PDF 1.7. Use it for TrueType -fonts with symbolic flag set or having no encoding entry. -The flag -dIgnoreTTEncoding is removed because symbolic fonts always do this -now and non-symbolic fonts should never ignore encoding. -Bug 691035, customer 220. +Catching up to the latest jbig2dec source. + +This includes following jbig2dec git commits: + +commit d26c7e4f39f76fe70cc61d6dc14d05a042a9be48 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Tue Jul 20 08:01:29 2010 +0000 + + Fix jbig2_image_set_pixel function prototype + + The declaration of jbig2_image_set_pixel was differenct between + jbig2_image.h and jbig2_image.c (int value vs bool value). And + prevented compiling it by MSVC comiler in C++ mode. + This patch fixes it. Bug #691461. + +commit c5d61c78c0de785b74b86d4e5298e3cc7b9e2b68 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Fri Jul 16 09:13:41 2010 +0000 + + A little fix to allocating memory size + +commit e12fa07da845515911db8be2f7cfa8ef551061ba +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:49:09 2010 +0200 + + Use the jbig2_new and jbig2_renew macros instead of calling + jbig2_alloc and jbig2_realloc directly. Also adds a few typecasts + and #defines required to compile the source as C++. + +commit 31dd7ef66dbd1c34df08365aa3c36e6391617f37 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:42:38 2010 +0200 + + Update VERSION define in config_win32.h + +commit 941b73315a166fe07e0f1a1b81171477285280f7 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:41:46 2010 +0200 + + Add Makefile.unix -- a simple makefile for unix-like systems. + +commit f6066822041bbffd7169fd4bfc19c48daae8f155 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:35:58 2010 +0200 + + Fix memory leak of the word stream struct. + + +No visible difference expected. + + -The new spec includes cmap 3,0 in the supported list. We discovered this -before but didn't use cmap 3,0 as a first choice. PDF 1.7 is not clear about -the choice between symbolic and non-symbolic branches. Current algorithm -is based on a few experiments with AR 8. -The patch causes rendering differences in comparefiles/keyboard.pdf -A few undefined characters change from boxes to empty space. -Current rendering of undefined characters in Ghostscript doesn't match -Adobe Acrobat and should be revised. </pre> -<p>[Resource/Init/pdf_font.ps Resource/Init/gs_ttf.ps]</p> +<p>[jbig2dec/config_win32.h jbig2dec/jbig2.c jbig2dec/jbig2_image_pbm.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_priv.h jbig2dec/jbig2_image.h jbig2dec/jbig2_refinement.c jbig2dec/jbig2dec.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_halftone.c jbig2dec/Makefile.unix jbig2dec/jbig2_segment.c jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_generic.c jbig2dec/jbig2_page.c]</p> </blockquote> -<p><strong><a name="2009-12-30T173030.315764Z"></a> -2009-12-30T17:30:30.315764Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T055604.938511Z"></a> +2010-07-20T05:56:04.938511Z Michael Vrhel</strong></p> <blockquote> <pre> -Remove C++ comments (//) and commented out code because this is not compatible -with old compilers and breaks our coding standard. Comments were introduced -by rev. 9664 and 9778. Bug 691032. -</pre> -<p>[contrib/gdevcd8.c psi/iscannum.c]</p> +Remove noisy warnings if embedded icc profile is not valid. In those cases, we use the default and move on. </pre> +<p>[psi/zicc.c]</p> </blockquote> -<p><strong><a name="2009-12-30T150640.609490Z"></a> -2009-12-30T15:06:40.609490Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-19T212235.957060Z"></a> +2010-07-19T21:22:35.957060Z Michael Vrhel</strong></p> <blockquote> <pre> -Add a check whether the entry in post table of TrueType font crosses -the end of the table. Fill the rest of the table with /.notdef and -continue. Bug 691031. -</pre> -<p>[Resource/Init/gs_ttf.ps]</p> +Fix for Bug691474. Source of error was due to icc hash code being read from clist after the transfer function. It should have been read prior to the transfer function. This was the first file we have seen that had a soft mask with a transfer function. Also fix for rendering of this file. The softmasks only uses the alpha channel as opposed to the luminosity of the object. Progression with CityMap-evnice.pdf in test suite. That file must have a alpha style softmask.</pre> +<p>[base/gdevp14.c base/gstparam.h]</p> </blockquote> -<p><strong><a name="2009-12-29T221801.420560Z"></a> -2009-12-29T22:18:01.420560Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-19T154536.535276Z"></a> +2010-07-19T15:45:36.535276Z Chris Liddell</strong></p> <blockquote> <pre> -Use safer function vsnprintf() instead of vsprintf() for error reporting. -Truncate long messages, issue a warning, and continue. Bug 690829. + +Update trunk to FreeType 2.4.1 + +The important change (from Ghostscript's point of view) is that the previously +patented TrueType hinting operations have been enabled by default after the +expiration of the patents in question. + +This change (the hinting being enabled) causes 3060 non-pdfwrite cluster +changes, and 655 pdfwrite changes - these are expected, and are +progressions. + </pre> -<p>[base/lib.mak base/gsmisc.c base/stdio_.h]</p> +<p>[freetype/builds/unix/config.sub freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/builds/win32/w32-dev.mk freetype/src/type1/t1objs.h freetype/docs/reference/ft2-gasp_table.html freetype/src/pshinter freetype/docs/INSTALL.CROSS freetype/src freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/builds/win32/win32-def.mk freetype/src/type1 freetype/builds/wince/vc2005-ce freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/docs/reference/ft2-glyph_stroker.html freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/raster/ftrend1.h freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/builds/mac/ftmac.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/builds/amiga/include/freetype freetype/builds/mac/FreeType.m68k_cfm.make.txt freetype/src/psaux/psaux.c freetype/builds/ansi freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/docs/reference/ft2-list_processing.html freetype/include/freetype/ftcache.h freetype/src/pcf/pcfread.h freetype/builds/unix/ft2unix.h freetype/src/raster/Jamfile freetype/builds/atari/FREETYPE.PRJ freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/internal/services/svcid.h freetype/include/freetype/ftincrem.h freetype/src/lzw freetype/builds/compiler/bcc-dev.mk freetype/src/pshinter/pshalgo.h freetype/src/tools/test_afm.c freetype/src/psnames/psnamerr.h freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/vms_make.com freetype/include/freetype/freetype.h freetype/docs/INSTALL.UNIX freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfrload.c freetype/src/pfr/pfr.c freetype/builds/amiga/src freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/builds/detect.mk freetype/src/tools/ftrandom freetype/docs/reference/ft2-cache_subsystem.html freetype/builds/win32/vc2005 freetype/src/type1/t1gload.c freetype/builds/win32/vc2008 freetype/src/base/ftbbox.c freetype/builds/dos freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/docs/reference/ft2-glyph_variants.html freetype/src/bdf/bdferror.h freetype/builds/unix/aclocal.m4 freetype/src/gxvalid/rules.mk freetype/docs/reference/ft2-bdf_fonts.html freetype/src/pcf/pcf.c freetype/src/otvalid/rules.mk freetype/include/freetype/internal/services/svotval.h freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/builds/compiler/win-lcc.mk freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/builds/mac/FreeType.ppc_classic.make.txt freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/docs freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/.gitignore freetype/src/base/ftbase.h freetype/builds/compiler freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/builds/amiga/src/base/ftsystem.c freetype/src/bdf/bdf.h freetype/src/cff/cff.c freetype/src/gxvalid/gxvalid.c freetype/builds/win32/w32-lcc.mk freetype/include/freetype/internal/services freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/docs/reference/ft2-type1_tables.html freetype/src/autofit/afmodule.c freetype/builds/unix/detect.mk freetype/include freetype/src/autofit/afmodule.h freetype/builds/vms freetype/src/pfr/pfrcmap.c freetype/objs/README freetype/builds/dos/dos-wat.mk freetype/builds/exports.mk freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/builds/amiga/smakefile freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/builds/win32/vc2005/freetype.sln freetype/builds/mac freetype/builds/atari freetype/builds/compiler/visualage.mk freetype/builds/newline freetype/builds/vms/ftsystem.c freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/builds/mac/ascii2mpw.py freetype/builds/unix/.gitignore freetype/src/raster/module.mk freetype/src/type1/t1afm.c freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/builds/win32/ftdebug.c freetype/src/tools freetype/src/type1/t1afm.h freetype/src/type1/t1tokens.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/builds/dos/dos-emx.mk freetype/src/pshinter/pshrec.h freetype/src/autofit/autofit.c freetype/builds/win32/w32-wat.mk freetype/builds/wince/vc2008-ce freetype/src/truetype/ttobjs.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/otvalid/otvgsub.c freetype/src/truetype/ttobjs.h freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/builds/win32/visualc/freetype.sln freetype/include/freetype/ftglyph.h freetype/docs/reference/ft2-gx_validation.html freetype/builds/vms/ftconfig.h freetype/builds/win32/vc2005/index.html freetype/builds/unix/unixddef.mk freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/builds/dos/detect.mk freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/builds/wince freetype/src/autofit/aflatin2.h freetype/builds/win32/w32-mingw32.mk freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/builds/link_std.mk freetype/src/cache/ftcglyph.h freetype/src/pshinter/pshinter.c freetype/src/cache/Jamfile freetype/src/tools/test_bbox.c freetype/include/freetype/internal/services/svpsinfo.h freetype/src/type42/t42types.h freetype/builds/os2/os2-dev.mk freetype/builds/mac/ftlib.prj.xml freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/raster/rastpic.h freetype/src/tools/docmaker/docbeauty.py freetype/builds/amiga/include freetype/docs/reference/ft2-incremental.html freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/builds/compiler/watcom.mk freetype/builds/dos/dos-gcc.mk freetype/src/sfnt/module.mk freetype/src/psnames freetype/docs/INSTALL freetype/src/type1/t1load.c freetype/src/gzip/inftrees.c freetype/src/gzip freetype/builds/amiga/src/base/ftdebug.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/gxvalid/gxvfeat.c freetype/src/cff/cfftoken.h freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/builds/wince/vc2008-ce/freetype.sln freetype/src/pfr/pfrsbit.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvfeat.h freetype/builds/unix/configure freetype/docs/reference/ft2-basic_types.html freetype/src/otvalid freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/include/freetype/ftmm.h freetype/builds/symbian/freetype.mmp freetype/src/base/ftglyph.c freetype/src/sfnt freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/sfnt/sfdriver.c freetype/src/psaux/afmparse.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/sfnt/sfdriver.h freetype/src/psaux/afmparse.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/docs/reference/ft2-sfnt_names.html freetype/builds/win32/visualc/freetype.vcproj freetype/builds/atari/deflinejoiner.awk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/winfonts freetype/builds/dos/dos-def.mk freetype/src/pshinter/pshpic.h freetype/builds/win32/w32-gcc.mk freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/raster.txt freetype/builds/atari/FNames.SIC freetype/builds/atari/ATARI.H freetype/src/autofit/afpic.h freetype/src/otvalid/otvgpos.c freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffdrivr.c freetype/docs/reference/ft2-base_interface.html freetype/src/cid/cidriver.c freetype/builds/mac/README freetype/src/otvalid/otvgpos.h freetype/include/freetype/ftgasp.h freetype/builds/unix/unix-cc.in freetype/src/autofit/afindic.c freetype/src/cff/cffdrivr.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/raster freetype/builds/unix/ft-munmap.m4 freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/docs/reference/ft2-index.html freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/builds/os2/detect.mk freetype/src/gzip/zconf.h freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/truetype freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/builds/unix/unix-dev.mk freetype/src/otvalid/otvcommn.c freetype/src/otvalid/otvalid.c freetype/include/freetype/config/ftmodule.h freetype/src/otvalid/otvcommn.h freetype/src/otvalid/otvalid.h freetype/include/freetype/ftxf86.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/builds/win32/vc2008/freetype.sln freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/docs/reference/ft2-gzip.html freetype/builds/compiler/emx.mk freetype/include/freetype/ftstroke.h freetype/builds/unix/unix.mk freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/objs/.gitignore freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/win32/visualce/freetype.dsp freetype/ChangeLog.20 freetype/src/cid/ciderrs.h freetype/src/type42/t42parse.h freetype/ChangeLog.21 freetype/builds/unix/configure.ac freetype/ChangeLog.22 freetype/builds/unix/ftconfig.in freetype/builds/beos freetype/ChangeLog.23 freetype/src/bdf/bdfdrivr.h freetype/builds/win32/visualce/freetype.dsw freetype/include/freetype/tttables.h freetype/docs/reference/ft2-quick_advance.html freetype/builds/unix/freetype2.in freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/gxvalid freetype/docs/reference/ft2-mac_specific.html freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/src/pcf/pcfdrivr.c freetype/include/freetype/internal/ftobjs.h freetype/builds/symbian/bld.inf freetype/src/gxvalid/gxvmort5.c freetype/src/psnames/Jamfile freetype/src/pcf/pcfdrivr.h freetype/builds/unix/ftsystem.c freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/builds/compiler/gcc-dev.mk freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/builds freetype/include/freetype/internal/services/svpostnm.h freetype/builds/unix/mkinstalldirs freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/docs/reference/ft2-truetype_tables.html freetype/builds/compiler/gcc.mk freetype/builds/unix/config.guess freetype/src/otvalid/Jamfile freetype/src/autofit/afloader.c freetype/include/freetype/internal/services/svkern.h freetype/builds/beos/beos-def.mk freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/sfnt/Jamfile freetype/src/psaux/psobjs.c freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/docs/reference/ft2-header_file_macros.html freetype/src/pshinter/pshnterr.h freetype/docs/reference/ft2-ot_validation.html freetype/src/base/ftcalc.c freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/psaux freetype/builds/unix/freetype2.m4 freetype/docs/reference/ft2-outline_processing.html freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/builds/win32/visualc/freetype.dsw freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/type42/rules.mk freetype/src/tools/ftrandom/Makefile freetype/src/pshinter/module.mk freetype/builds/amiga/include/freetype/config/ftmodule.h freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/builds/amiga/makefile.os4 freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/include/freetype/ftoutln.h freetype/src/cff/cffobjs.h freetype/docs/reference/ft2-truetype_engine.html freetype/builds/beos/detect.mk freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/winfonts/rules.mk freetype/src/tools/ftrandom/README freetype/src/pcf freetype/docs/CHANGES freetype freetype/src/base freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/autofit freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/builds/atari/gen-purec-patch.sh freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/docs/reference/ft2-system_interface.html freetype/builds/win32/w32-bcc.mk freetype/src/pcf/README freetype/src/gxvalid/gxvtrak.c freetype/include/freetype/internal/ftdriver.h freetype/objs freetype/include/freetype/ftgzip.h freetype/include/freetype/internal/services/svbdf.h freetype/src/base/ftrfork.c freetype/src/smooth/rules.mk freetype/src/base/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/builds/win32/w32-intl.mk freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/src/type42/type42.c freetype/src/tools/docmaker/sources.py freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/builds/unix/unix-lcc.mk freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/autofit/aflatin.c freetype/src/truetype/ttdriver.h freetype/src/base/ftsnames.c freetype/src/pfr/pfrgload.h freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/builds/unix freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/builds/compiler/intelc.mk freetype/src/base/ftwinfnt.c freetype/src/base/ftsynth.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/lzw/ftlzw.c freetype/src/sfnt/ttbdf.h freetype/builds/win32/vc2008/freetype.vcproj freetype/builds/win32/w32-bccd.mk freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/src/sfnt/ttcmap.c freetype/builds/ansi/ansi.mk freetype/include/freetype/internal/services/svmm.h freetype/src/pfr freetype/builds/compiler/ansi-cc.mk freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/builds/toplevel.mk freetype/src/truetype/tterrors.h freetype/builds/win32 freetype/builds/symbian freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/builds/win32/visualce freetype/include/freetype/internal/pshints.h freetype/builds/amiga freetype/builds/amiga/src/base freetype/builds/win32/w32-icc.mk freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/builds/wince/vc2008-ce/index.html freetype/src/psaux/psauxmod.c freetype/src/pfr/module.mk freetype/src/base/ftcid.c freetype/src/psnames/psmodule.h freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/gzip/inffixed.h freetype/src/bdf freetype/docs/reference/ft2-pfr_fonts.html freetype/src/sfnt/ttcmapc.h freetype/docs/reference freetype/builds/os2/os2-gcc.mk freetype/builds/compiler/bcc.mk freetype/builds/link_dos.mk freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/ftwinfnt.h freetype/builds/unix/freetype-config.in freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/docs/release freetype/include/freetype/ftimage.h freetype/src/lzw/ftzopen.c freetype/src/pfr/pfrobjs.h freetype/src/lzw/Jamfile freetype/src/truetype/truetype.c freetype/Makefile freetype/src/base/fttrigon.c freetype/builds/win32/w32-vcc.mk freetype/src/lzw/ftzopen.h freetype/src/autofit/afhints.c freetype/builds/unix/install.mk freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/builds/atari/README.TXT freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/docs/reference/ft2-version.html freetype/src/smooth/Jamfile freetype/src/tools/docmaker freetype/src/gzip/adler32.c freetype/src/tools/docmaker/.gitignore freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/builds/compiler/unix-lcc.mk freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/wince/ftdebug.c freetype/src/gzip/zutil.c freetype/src/sfnt/sfntpic.c freetype/builds/unix/unix-def.in freetype/src/winfonts/winfnt.h freetype/builds/os2/os2-def.mk freetype/src/smooth/smooth.c freetype/src/gzip/zutil.h freetype/src/sfnt/sfntpic.h freetype/devel freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/docs/reference/ft2-module_management.html freetype/src/gxvalid/gxvmorx4.c freetype/include/freetype/internal/pcftypes.h freetype/src/pfr/pfrerror.h freetype/src/smooth/ftgrays.h freetype/src/winfonts/Jamfile freetype/builds/beos/beos.mk freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/include/freetype/config freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-font_formats.html freetype/src/otvalid/module.mk freetype/include/freetype/internal/services/svpscmap.h freetype/ChangeLog freetype/include/freetype/fttrigon.h freetype/builds/win32/visualc freetype/src/cache/ftcmanag.c freetype/docs/FTL.TXT freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/builds/mac/FreeType.ppc_carbon.make.txt freetype/builds/wince/vc2005-ce/freetype.sln freetype/docs/reference/ft2-sizes_management.html freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/cff freetype/include/freetype/internal/services/svtteng.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/builds/modules.mk freetype/src/smooth freetype/docs/reference/ft2-bitmap_handling.html freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/builds/freetype.mk freetype/include/freetype/internal/ftpic.h freetype/src/type42 freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/builds/unix/install-sh freetype/src/psnames/psnames.c freetype/builds/os2 freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/cache freetype/src/smooth/ftsmerrs.h freetype/src/type42/t42objs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/builds/amiga/include/freetype/config/ftconfig.h freetype/src/psaux/t1decode.c freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/builds/ansi/ansi-def.mk freetype/src/otvalid/otvjstf.c freetype/src/type42/module.mk freetype/src/cff/cffgload.c freetype/src/autofit/aferrors.h freetype/src/gxvalid/gxvlcar.c freetype/builds/amiga/makefile freetype/include/freetype/internal/services/svsfnt.h freetype/src/bdf/README freetype/src/base/ftinit.c freetype/src/cff/cffgload.h freetype/src/cache/ftccback.h freetype/include/freetype/internal freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/docs/reference/ft2-lzw.html freetype/src/tools/Jamfile freetype/builds/win32/detect.mk freetype/builds/unix/ltmain.sh freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/gxvalid/gxvcommn.c freetype/src/cff/cffload.c freetype/include/freetype freetype/src/autofit/afangles.h freetype/builds/compiler/visualc.mk freetype/src/gxvalid/gxvcommn.h freetype/src/cff/cffload.h freetype/builds/mac/FreeType.m68k_far.make.txt freetype/builds/amiga/include/freetype/config freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cid freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/builds/amiga/README freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> </blockquote> -<p><strong><a name="2009-12-29T011748.171480Z"></a> -2009-12-29T01:17:48.171480Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-18T053008.091459Z"></a> +2010-07-18T05:30:08.091459Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove stage 2 from seticcspace() and a corresponding PS procedure because -it's no longer needed. Since rev. 10563 the string data source is converted -to reusable stream without a call-out. Bug 690828. +Implement halftones type 6, 10, 16 in PDF interpreter. +Use default halftone when the halftone type is incorrect. </pre> -<p>[psi/zcolor.c Resource/Init/gs_cspace.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-12-28T070359.416178Z"></a> -2009-12-28T07:03:59.416178Z Alex Cherepanov</strong> (<a href="Details.htm#2009-12-28T070359.416178Z">details</a>)</p> +<p><strong><a name="2010-07-18T000337.786299Z"></a> +2010-07-18T00:03:37.786299Z Alex Cherepanov</strong></p> <blockquote> <pre> -Don't use long and buggy call-out process to convert a string to a -reusable stream. Do it in 3 lines of C code. Bug 690828. - +Recognize enumerated color space #12 as CMYK following JPX baseline spec. </pre> -<p>[psi/zcolor.c psi/zfrsd.c psi/zfrsd.h psi/int.mak]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-12-27T155842.012990Z"></a> -2009-12-27T15:58:42.012990Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-17T212339.853613Z"></a> +2010-07-17T21:23:39.853613Z Alex Cherepanov</strong></p> <blockquote> <pre> -Assume /FirstChar is 0 and /LastChar is 255 when they are not defined, and -issue a warning. Bug 691022. +Re-implement handling of named page sizes to avoid dependence on +the definitions of compatibility operators (a4, letter, etc.) +in userdict. Bug 691458. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[Resource/Init/gs_init.ps Resource/Init/gs_setpd.ps Resource/Init/gs_statd.ps]</p> </blockquote> -<p><strong><a name="2009-12-27T153532.126971Z"></a> -2009-12-27T15:35:32.126971Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-17T000709.985181Z"></a> +2010-07-17T00:07:09.985181Z Alex Cherepanov</strong></p> <blockquote> <pre> -Consider fonts without font stream and with wrong or missing /Subtype -attribute as Type 1 fonts. Bug 691023. +Remove unused variables CC_D and CC_INT from all makefiles. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[psi/os2.mak base/unixhead.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/msvccmd.mak base/wccommon.mak]</p> </blockquote> -<p><strong><a name="2009-12-26T222145.513158Z"></a> -2009-12-26T22:21:45.513158Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-16T204049.337914Z"></a> +2010-07-16T20:40:49.337914Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a compile error on UN*X platforms introduced by the previous commit -(rev. 10558). +Fix the bug that prevented recognition of GenericResourceDir/Category/Name +as a valid resource path and required inclusion of GenericResourceDir in +the search path to find the same resource by searching. + +New procedure does the following: +1. Returns GenericResourceDir/Category/Name if it exists. +2. Searches for Category/Name in LIBPATH. Returns actual path if found. +3. For non-existing resources return the same path as (1). + +Old implementation added GenericResourceDir twice, didn't close files, +used system memory, called expensive procedures twice, etc. + +Regression testing shows trivial differences in 23-07.ps, which prints +the length of ResourceFileName procedure. +This is a partial fix for bug 691408. </pre> -<p>[base/gp_psync.c]</p> +<p>[Resource/Init/gs_res.ps]</p> </blockquote> -<p><strong><a name="2009-12-26T200544.539107Z"></a> -2009-12-26T20:05:44.539107Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-16T195803.971410Z"></a> +2010-07-16T19:58:03.971410Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning about checking after dereferencing. -In this case dereferencing means &((foo *)0)->bar, which is harmless. -</pre> -<p>[base/gp_psync.c]</p> +Prepend icc directory to device profile name if the default name is used so that we have it during clist reading. This is a fix for the iccprofiles/ problem in 691408 when compile inits is not used. Also, fix so that the profile name is allocated in non-gc memory. This was a source of issues with the userparams dict not seeming to be traced or at least not getting its members relocated if a profile in the icc manager was relocated. This fixes the breaking of the psdcmyk device in rev 11499. Also removal of spurious warning messages.</pre> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-26T183235.542626Z"></a> -2009-12-26T18:32:35.542626Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T204206.487509Z"></a> +2010-07-15T20:42:06.487509Z Ray Johnston</strong></p> <blockquote> <pre> -Move checking gstate for 0 immediately after allocation. Fix a Coverity -warning about checking after dereferencing. +Change pdf14_put_image so that the gx_default_begin_typed_image will +be able to call the device's 'begin_image' which is often hooked for +device specific (hardware accelerated) image rendering. This avoids +the default image rendering which results in LOTS of fill_rectangle +calls. Found with customer 532. </pre> -<p>[base/gsstate.c]</p> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-12-26T182204.265168Z"></a> -2009-12-26T18:22:04.265168Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T192838.670595Z"></a> +2010-07-15T19:28:38.670595Z Ray Johnston</strong></p> <blockquote> <pre> -Don't dereference a pointer before checking it for NULL. Fix a Coverity -warning about checking after dereferencing. +The other half of the version.mak change. </pre> -<p>[base/gxdhtserial.c]</p> +<p>[Resource/Init/gs_init.ps]</p> </blockquote> -<p><strong><a name="2009-12-26T013511.234623Z"></a> -2009-12-26T01:35:11.234623Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T181417.190964Z"></a> +2010-07-15T18:14:17.190964Z Ray Johnston</strong></p> <blockquote> <pre> -Include stdlib.h for a prototype for abs(). +Update version to 9.00 PRE-RELEASE (with a bogus date, but before Aug 1) +This will serve to notify folks what the next release will be (not 8.72) </pre> -<p>[base/gdevpdtt.c]</p> +<p>[base/version.mak]</p> </blockquote> -<p><strong><a name="2009-12-26T011312.801372Z"></a> -2009-12-26T01:13:12.801372Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T144939.770856Z"></a> +2010-07-15T14:49:39.770856Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a case where a pointer is first dereferenced and then checked for 0. +Improve Ghostscript operation when current directory is not included in the +search path. +1. Make file path separators at the end of LIBPATH entries optional to reduce + the number of trivial configuration errors. +2. Search LIBPATH list for valid iccprofiles/ directory as a sibling to + (Resource) and set it as a default to ensure a valid default. + This code follows /GenericResourceDir example. +3. Make sure that the path name derived from /GenericFontDir is is not + searched but other font file names are searched. Earlier code relied on + a feature of .libfile not searching for an absolute path and failed + when the path was relative. +Partial fix for bugs 691350, 691408. </pre> -<p>[base/ttobjs.c]</p> +<p>[Resource/Init/gs_lev2.ps Resource/Init/gs_fonts.ps Resource/Init/gs_res.ps]</p> </blockquote> -<p><strong><a name="2009-12-26T004830.642019Z"></a> -2009-12-26T00:48:30.642019Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T054255.376283Z"></a> +2010-07-15T05:42:55.376283Z Alex Cherepanov</strong></p> <blockquote> <pre> -Clear Coverity warnings about unreachable code. Fix incorrect error -processing in some contributed drivers. Also remove a spurious *.orig file. +Add copying default ICC profiles to disk-install location. This is necessary +for the builds with COMPILE_INITS=0, which looks for ICC profiles on disk. +Thanks to Hin-Tak for the patch. Bug 691449. </pre> -<p>[contrib/lips4/gdevl4v.c.orig contrib/lips4/gdevl4v.c contrib/eplaser/gdevescv.c contrib/lips4/gdevl4r.c]</p> +<p>[base/unixinst.mak]</p> </blockquote> -<p><strong><a name="2009-12-24T003305.486056Z"></a> -2009-12-24T00:33:05.486056Z Ray Johnston</strong></p> +<p><strong><a name="2010-07-14T212533.726848Z"></a> +2010-07-14T21:25:33.726848Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix detection for nearing/passing command list buffer limit to allow for -the condition when the pointer is past the limit (which is NOT the end -of the buffer, but is only a warning). Change this variable name to -'warn_limit' to avoid confusion with the 'limit' used in most other -buffer management areas, such as streams. Bug 691016. +Allow the CUPS Raster backend alternatively output compressed (version 2) CUPS Raster data (bug #689885). </pre> -<p>[base/gxclrast.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-12-23T211234.206998Z"></a> -2009-12-23T21:12:34.206998Z Robin Watts</strong></p> +<p><strong><a name="2010-07-13T183029.088597Z"></a> +2010-07-13T18:30:29.088597Z Chris Liddell</strong></p> <blockquote> <pre> -Add new assert_.h header file. Convert existing code to use it. +Ensure the local variable into which we read Truetype cmap table data (platform ID, encoding ID etc) is actually large enough to hold all the data we read into it. -</pre> -<p>[contrib/gdevcd8.c /trunk/ghostpdl/pl/pldebug.h base/assert_.h contrib/pcl3/eprn/mediasize.c contrib/lips4/gdevlprn.h contrib/pcl3/eprn/eprnrend.c]</p> +Bug 691452 (part 1) + +No cluster differences expected.</pre> +<p>[base/gsfcid2.c]</p> </blockquote> -<p><strong><a name="2009-12-22T233230.888745Z"></a> -2009-12-22T23:32:30.888745Z regression</strong></p> +<p><strong><a name="2010-07-13T082456.010563Z"></a> +2010-07-13T08:24:56.010563Z Ken Sharp</strong></p> <blockquote> <pre> -Remove -dNOOUTERSAVE and related commands from command line and optionally -read in list of fast to process files (so that long commands can be -processed first). +Update the documentation on producing PDF/X to make it clear that -sProcessColorModel +is an absolute requirement, even when using -dUseCIEColor, and that the PDFA_def.ps +file must be edited, at the very least to alter the ICCProfile entry. +Also made some minor syntax changes in PDF/A and PDF/X documentation for greater clarity. </pre> -<p>[toolbin/localcluster/build.pl]</p> +<p>[doc/Ps2pdf.htm]</p> </blockquote> -<p><strong><a name="2009-12-21T160338.968428Z"></a> -2009-12-21T16:03:38.968428Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-13T070459.625768Z"></a> +2010-07-13T07:04:59.625768Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (pdfwrite) Bug #691009 "Regression: 14-01.PS fails with pdfwrite". revision 10297, -a fix for pdfwrite involving composite fonts with type 3 descendants, did not check a -return value. This could cause a segment fault later, if a type 0 font was invalid. +Fix for Bug 691444. Issue was introduced when interpolation max output range was set to be 65535 so that the output could be fed directly into CMM. Problem was for HT output devices like pbmraw the interpolation filter ignored the max range setting and used a max value of the frac range as output. This fixes a number of files that had regressions. Files checked with bmpcmp.</pre> +<p>[base/sidscale.c]</p> +</blockquote> -The Genoa file 14-01.ps specifically runs tests with invalid type 0 fonts to check the -behaviour under error conditions and appears to be the only test file we have which -does this. -</pre> -<p>[base/gdevpdtt.c]</p> +<p><strong><a name="2010-07-13T012010.578834Z"></a> +2010-07-13T01:20:10.578834Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691445. pdf14 mapping procs were not paying attention to the trans device in the imager state. bmpcmp showed that this fixed several files.</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-12-21T072023.809940Z"></a> -2009-12-21T07:20:23.809940Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-12T150357.186505Z"></a> +2010-07-12T15:03:57.186505Z Chris Liddell</strong></p> <blockquote> <pre> -Revert c10520 which causes problems with the MSVC build. +In the event the FAPI code has to replace the FontBBox array, make sure the new array is marked executable. -$(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft -extensions. This often causes problems with 3rd party libraries -which try to take advantage of those extensions. +No cluster differences expected.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -This means that the -fPIC flag is again not propagated in the GCC -build; this is just to unbreak the build until I can test a different -solution which works on both platforms. +<p><strong><a name="2010-07-11T152614.804339Z"></a> +2010-07-11T15:26:14.804339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprint regressions introduced with icc branch merge. Review of bmp compares reveals that this fixes a number of issues hence the large number of differences with the commit. There is one regression introduced with this commit, which is IA3Z0302.pdf.pdf.pkmraw.300 page 2 a bug will be opened for this. Also, review of Atona_Technical_1v1_x3.pdf.pam.72 reveals there some overprint issues may still exist with bitmap and halftone image overprinting on top of spotcolors when Overprint is true and and Overprint mode is set to On. This issue may have existed prior to the icc commit. Will open a bug to investigate.</pre> +<p>[base/gsicc_create.c base/gxcspace.h base/gscspace.c base/gsicc.c]</p> +</blockquote> + +<p><strong><a name="2010-07-10T012854.795367Z"></a> +2010-07-10T01:28:54.795367Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix 'status' operator to return false when the IODevice prefix is +not found instead of undefinedfilename. Found while working on 691408. </pre> -<p>[base/libtiff.mak]</p> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2009-12-20T195400.274659Z"></a> -2009-12-20T19:54:00.274659Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-09T183119.790276Z"></a> +2010-07-09T18:31:19.790276Z Ray Johnston</strong></p> <blockquote> <pre> -Fix a Coverity warning: comparing array against NULL is not useful. +Fix to use stable memory for profiledir in icc_manager structure and change +all 'current_' functions to return the actual value set, the default, or +an empty string if no default. Also set the default ICCProfilesDir to +%rom%iccprofiles which will work if COMPILE_INITS=1. This should also be +set by the PS init code (see bug 691408). </pre> -<p>[base/gxclthrd.c]</p> +<p>[psi/zusparam.c]</p> </blockquote> -<p><strong><a name="2009-12-20T194310.432199Z"></a> -2009-12-20T19:43:10.432199Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-09T094017.170342Z"></a> +2010-07-09T09:40:17.170342Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a Coverity warning about an expression with undefined order of evaluation. +Improve Windows batch files. +Bug #691440 "Windows bat files use relative paths and write to non-temp dir" + +As suggested by Bjorn Martensson in bug #691440. Altered all batch files which call +other batch files so that they prepend the call with the location the original +batch file was executed from. This allows batch files such as ps2pdf.bat to be called +from locations other than the Ghostscript 'lib' directory. + +Also altered the location of temporary files created by the batch files to the Windows +temporary folder by using the %TEMP% environment variable. If this variable is not set +for some reason then this will still default to the current directory, as it does now. +This allows batch files to be run from directories which are read only. + +Since these files are not used by our (Linux) cluster there will be no differences. I +have tested a number of the scripts, but not all of them. The ones I have tested seem +to work well. + +I finally found a reference which states that the %~d batch parameter was introduced +to Windows in NT4, this means that these batch files will likely fail on older versions +of Windows (ie Windows 3.x/95/98). I don't believe we need to support such antiquated +Operating Systems any further.</pre> +<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat toolbin/msvcxml.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/gslp.bat lib/lpgs.bat lib/ps2ps.bat lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-07-08T200159.912724Z"></a> +2010-07-08T20:01:59.912724Z Robin Watts</strong></p> +<blockquote> +<pre> +Extend the experimental ENABLE_TRAP_AMALGAMATION code to the +TEMPLATE_slant_into_trapezoids cases too. The current code generates 3 +trapezoids; the new code will (if the option is enabled) attempt to +amalgamate the top/bottom traps into the middle one. + +Enabling this code (but disabling the existing code for trap amalgamation) +shows no differences. Enabling all the trap amalgamation code shows 888 +differences, all fairly innocuous. + +As this code is going in disabled, no cluster differences are expected. + </pre> -<p>[contrib/gdevbjca.c]</p> +<p>[base/gxfillts.h base/gxfill.c]</p> </blockquote> -<p><strong><a name="2009-12-20T185408.195262Z"></a> -2009-12-20T18:54:08.195262Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-08T162020.892723Z"></a> +2010-07-08T16:20:20.892723Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a Coverity warning about an expression with undefined order of evaluation. +Update the Ghostscript man page to reflect the new default for -P option +made by the rev. 11494. </pre> -<p>[contrib/pcl3/eprn/eprnrend.c]</p> +<p>[man/gs.1]</p> </blockquote> -<p><strong><a name="2009-12-20T142439.934442Z"></a> -2009-12-20T14:24:39.934442Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-07T212755.422122Z"></a> +2010-07-07T21:27:55.422122Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix Coverity warnings about unchecked return code. +clusterpush.pl with no options now tests language_switch build as well as gs, pcl, and xps. + +Also some minor documentation improvements. </pre> -<p>[base/gxchar.c]</p> +<p>[toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme]</p> </blockquote> -<p><strong><a name="2009-12-20T065250.539169Z"></a> -2009-12-20T06:52:50.539169Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-07T174709.812924Z"></a> +2010-07-07T17:47:09.812924Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix Coverity warnings about unchecked return code. +Dont't search for initialization files in the current directory first +by default because this leads to well-known security and confusion problems. +Do this only on the user's request by -P switch. Also revert rev. 11468, +which is no longer needed. Bug 691350. </pre> -<p>[base/gsptype1.c]</p> +<p>[base/openvms.mmk psi/zfile.c doc/Use.htm base/bcwin32.mak base/ugcclib.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak toolbin/msvcxml.bat psi/os2.mak base/watclib.mak base/openvms.mak base/macosx.mak base/watcw32.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak]</p> </blockquote> -<p><strong><a name="2009-12-19T171409.025653Z"></a> -2009-12-19T17:14:09.025653Z regression</strong></p> +<p><strong><a name="2010-07-07T134957.894248Z"></a> +2010-07-07T13:49:57.894248Z Ken Sharp</strong></p> <blockquote> <pre> -Minor improvements: +Fix : temporary memory device not finalized. + +clist_init_data creates a temporary memory device in order to "get the memory planarity +set up", using a local variable to hold the device. When the function exits the +variable goes out of scope and disappears. -skip.lst is now processed by compare.pl instead of build.pl, so tests -to be skipped will be run, just not reported. +Because the memory device is a forwarding device it increments the reference count of +its target, but because it is never finalized it does not decrement the reference count +when it is destroyed, leading to an incorrect target reference count. -Store the archive count in the md5sum.archive so the report email will -be accurate. +This only affects pdfwrite at present, but it prevents valid PDF files being written +because the file is only terminated when the pdfwrite device reference count reaches +0 and the pdfwrite device is closed. -Treat indeterminate errors (mostly timeouts) the same as indeterminate -md5sums (i.e. report them below the fold). +Added calls to finalize the device before discarding it. +No expected differences. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gxclist.c]</p> </blockquote> -<p><strong><a name="2009-12-19T011649.970378Z"></a> -2009-12-19T01:16:49.970378Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-06T222732.077335Z"></a> +2010-07-06T22:27:32.077335Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix an array overrun in zsethalftone5() caused by an unchecked error code -when the number of colorants exceeds the current implementation limit; -throw a /limitcheck error instead. Also fix an unrelated Coverity warning -about unchecked return value from dict_int_param(). Bug 691001. +Increase the max number of color components to 14 to accomodate a new +record (13) found in the wild. Bug 691425. </pre> -<p>[psi/zht2.c]</p> +<p>[base/gsccolor.h]</p> </blockquote> -<p><strong><a name="2009-12-18T222419.154314Z"></a> -2009-12-18T22:24:19.154314Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-06T092540.558632Z"></a> +2010-07-06T09:25:40.558632Z Ken Sharp</strong></p> <blockquote> <pre> -Update some obsolete gs_throw() calls. Bug 691010. +Fix (pdfwrite) : Named destinations with no /Page not working properly -This code seemed to be using an early version of the gs_throw() error -reporting macros, passing an undefined -997 error code, a redundant -__func__ error message, and expecting the macro to break flow control. +Bug #691344 "REGRESSION: ps2pdf of 8.70 generates correct hyperlinks but not ps2pdf of +8.71" -This commit updates it to the modern version's behaviour.</pre> -<p>[base/gdevdbit.c]</p> +The revisions 9779 and 9788 fixed a problem where DOCVIEW pdfmarks without a /Page or +/View entry were producing invalid PDF files, and a problem with DEST pdfmarks arising +from it. + +Because DOCVIEW and DEST pdfmarks share some common code in pdfwrite to create a +Destination annotation in the outptu PDF, this still left some confusion in the code. +The problem was that DOCVIEW pdfmarks need not contain Page or View data, but named +destinations *must*, but pdfmarks need not specify, in which case the current page is +used. + +Added a parameter to pdf_make_dest which allows us to differentiate the two cases and +use the current page number for a named destination if no page is supplied. + +The regression suite can't test this non-printing feature, so no differences are +expected. +</pre> +<p>[base/gdevpdfm.c]</p> </blockquote> -<p><strong><a name="2009-12-18T211417.100541Z"></a> -2009-12-18T21:14:17.100541Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-06T070453.806003Z"></a> +2010-07-06T07:04:53.806003Z Ken Sharp</strong></p> <blockquote> <pre> -Add a missing header to ensure delaration and definition match -for mem_mono_strip_copy_rop(). Fixes a warning in the gcc build.</pre> -<p>[base/lib.mak base/gdevmr1.c]</p> +Improve handling an error condition as suggested by Alex Cherepanov in Bug #691435, +comment 9. </pre> +<p>[base/gdevpdfj.c]</p> </blockquote> -<p><strong><a name="2009-12-18T183246.014514Z"></a> -2009-12-18T18:32:46.014514Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-06T001144.270183Z"></a> +2010-07-06T00:11:44.270183Z Ray Johnston</strong></p> <blockquote> <pre> -Add .libs and autom4te.cache to the exclude list for clusterpush. +Fix BAND_LIST_STORAGE=memory to handle files that create compressed memory +files > 2Gb. Also add code to make the reporting of these file sizes a bit +better, but portability may still be an issue. Reference Bug 690199 for +customers 850 and 531. -Builds which generate .deps directories also generally create the -other two. The autom4te.cache files aren't necessarily large but -aren't appropriate to copy to another system since they represent -details of the local build environment. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[base/gxclmem.c base/gxclist.c]</p> </blockquote> -<p><strong><a name="2009-12-18T162412.002354Z"></a> -2009-12-18T16:24:12.002354Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-07-05T235146.696108Z"></a> +2010-07-05T23:51:46.696108Z Alex Cherepanov</strong></p> <blockquote> <pre> -Added .deps to the exclude list for clusterpush.pl. +Replace all '==' executable names with '//== exec' in Ghostscript start-up +code because MS driver redefines '==' in a way that requires write access to +the top dictionary, and this is not always the case. Bug 689957. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[Resource/Init/gs_cmap.ps Resource/Init/gs_pdfwr.ps Resource/Init/pdf_main.ps Resource/Init/gs_resmp.ps Resource/Init/pdf_font.ps Resource/Init/gs_fonts.ps Resource/Init/pdf_base.ps Resource/Init/pdf_sec.ps Resource/Init/gs_ttf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_cff.ps Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-12-18T070410.684226Z"></a> -2009-12-18T07:04:10.684226Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-05T161838.343520Z"></a> +2010-07-05T16:18:38.343520Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add graphics library support for raster operations and extended halftone -methods to the default gcc build. - -This allows ghostpcl to build linked against the default 'so' build of -the gs library. On my Linux x86_64 this increases the size of the library -by 29K. While significant, I prefer this to the maintenance burden of -the two different configurations. +Set svn:ignore property for all remaining generated files in jasper, +jbig2dec, and tiff directories. </pre> -<p>[base/Makefile.in]</p> +<p>[tiff/contrib/iptcutil tiff/contrib/tags tiff/build tiff/tools tiff tiff/contrib tiff/contrib/mac-mpw tiff/contrib/acorn tiff/html jasper/src/libjasper/include/jasper tiff/contrib/mac-cw tiff/contrib/dbs tiff/html/images tiff/man tiff/contrib/win_dib tiff/html/man tiff/libtiff tiff/test tiff/contrib/addtiffo jbig2dec tiff/port tiff/contrib/ras tiff/contrib/mfs tiff/contrib/pds tiff/contrib/dbs/xtiff tiff/contrib/stream]</p> </blockquote> -<p><strong><a name="2009-12-18T063702.606724Z"></a> -2009-12-18T06:37:02.606724Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-05T151009.278642Z"></a> +2010-07-05T15:10:09.278642Z Ken Sharp</strong></p> <blockquote> <pre> -Derive the libtiff compiler line from $(CC_) instead of $(CC) so -the common flag set is propagated. +Add a pair of parentheses to silence a gcc compiler warning. Also extend the comment +slightly to be a little more informative. -Without this, additional options, like XCFLAGS=-fPIC aren't used when -compiling the libtiff source files. +No differences expected. </pre> -<p>[base/libtiff.mak]</p> +<p>[base/gdevpdfj.c]</p> </blockquote> -<p><strong><a name="2009-12-18T052314.353404Z"></a> -2009-12-18T05:23:14.353404Z Henry Stiles</strong></p> +<p><strong><a name="2010-07-05T051316.304757Z"></a> +2010-07-05T05:13:16.304757Z Alex Cherepanov</strong></p> <blockquote> <pre> -Export the the type 42 component parser procedure for pcl, no expected -differences. +Use the presence of /CIDSystemInfo instead of /Subtype value to decide +whether the object is a CID font. The former is required by Acrobat, the +latter appears to be ignored by Acrobat, and so may be wrong. Bug 691426. </pre> -<p>[base/gxfont42.h base/gstype42.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-12-18T013829.130442Z"></a> -2009-12-18T01:38:29.130442Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-05T012343.139942Z"></a> +2010-07-05T01:23:43.139942Z Hin-Tak Leung</strong></p> <blockquote> <pre> -And the 'nogc' allocator to the default gcc build. - -This allows ghostxps to build linked against the default 'so' build of -the gs library, simplifying some build options. The code size increase -is negligible. -</pre> -<p>[base/Makefile.in]</p> +test for emptiness of HAVE_FONTCONFIG is better than non-yes-ness of enable_fontconfig; fine-tuning of r11448 to --disable-cairo when fontconfig is not available or user-disabled</pre> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-12-17T201408.344945Z"></a> -2009-12-17T20:14:08.344945Z Robin Watts</strong> (<a href="Details.htm#2009-12-17T201408.344945Z">details</a>)</p> +<p><strong><a name="2010-07-05T011830.861454Z"></a> +2010-07-05T01:18:30.861454Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for bug 690620. Original patch from HenryS. This adjusts rectangular -fills to more closely match that used by Acrobat v8. +new/renamed documentation file libpng-1.2.44.txt missed in r11482 for libpng 1.2.42->1.2.44 upgrade</pre> +<p>[libpng/libpng-1.2.44.txt]</p> +</blockquote> +<p><strong><a name="2010-07-04T190417.740307Z"></a> +2010-07-04T19:04:17.740307Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reaplly Hin-Tak's patch, rev. 11453, which was rolled back by the rev. 11462. +Apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug +fixes - CVE-2010-1205. Bug 691438. </pre> -<p>[base/gsdps1.c]</p> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/projects/wince.txt libpng/libpng.3 libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-17T181348.602966Z"></a> -2009-12-17T18:13:48.602966Z regression</strong></p> +<p><strong><a name="2010-07-03T002940.754683Z"></a> +2010-07-03T00:29:40.754683Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Cache the previous revisions crc values to improve compare.pl performance. +missed linker defines needed to build under 64-bit windows in a previous commit r11388 for bug 691302</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> -Also remove the no longer needed splitjobs.pl from the repository. +<p><strong><a name="2010-07-01T215829.492747Z"></a> +2010-07-01T21:58:29.492747Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Bubble up of error when allocation of default profile cmm handle fails. Fix for bug 691429</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +<p><strong><a name="2010-07-01T211355.381754Z"></a> +2010-07-01T21:13:55.381754Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert r11469(r11455) - wrong fix to bug 690428</pre> +<p>[base/gdevxcmp.c]</p> </blockquote> -<p><strong><a name="2009-12-17T175714.753910Z"></a> -2009-12-17T17:57:14.753910Z Robin Watts</strong> (<a href="Details.htm#2009-12-17T175714.753910Z">details</a>)</p> +<p><strong><a name="2010-07-01T190829.177579Z"></a> +2010-07-01T19:08:29.177579Z Ken Sharp</strong></p> <blockquote> <pre> -Update the arguments passed to ghostscript by htmldiff.pl so that they -more closely match those used by the localcluster. +Enhancement (pdfwrite) : Fall back to Flate instead of JPEG when an image turns out +short. + +Bug #691435 "any PDFSETTINGS besides /default gives dictfull error" +There are two problems; firstly when an error is encountered closing a filter the +error code (-1 or -2 usually) is returned and interpreted as a regular GS error, +resulting in ridiculous error messages. Modified to return ioerror instead. + +Secondly, when an image terminates with insufficient data and pdfwrite is creating a +DCT encoded image, we can't complete the image. In this case try to fall back to the +simple Flate compressed stream instead. + +No differences expected. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T171423.564053Z"></a> +2010-07-01T17:14:23.564053Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691431. This was caused by a PS CIE color space being used for a transparency group color space. That really should not be allowed since those color spaces are unidirectional. They are installed though when -dUseCIEColor is used with a PDF file that has transparency. Solution is to use the default ICC profiles for the group color space when this occurs.</pre> +<p>[base/gstrans.c]</p> </blockquote> -<p><strong><a name="2009-12-17T152407.353413Z"></a> -2009-12-17T15:24:07.353413Z regression</strong> (<a href="Details.htm#2009-12-17T152407.353413Z">details</a>)</p> +<p><strong><a name="2010-07-01T121920.914734Z"></a> +2010-07-01T12:19:20.914734Z Robin Watts</strong></p> <blockquote> <pre> -Minor cleanup/improvement of local cluster code. +Revert revision 11472 as it breaks almost every file in the cluster tests, +and it's preventing other meaningful work being done. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T004157.037474Z"></a> +2010-07-01T00:41:57.037474Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11457</pre> +<p>[base/gs_dll_call.h]</p> </blockquote> -<p><strong><a name="2009-12-16T184620.783419Z"></a> -2009-12-16T18:46:20.783419Z Robin Watts</strong> (<a href="Details.htm#2009-12-16T184620.783419Z">details</a>)</p> +<p><strong><a name="2010-07-01T004043.889090Z"></a> +2010-07-01T00:40:43.889090Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for incorrect bbox test in bmpcmp. +reapply 11456</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> -bmpcmp would correctly assess the changed region, but then incorrectly accept -changes restricted to a single row or column as not being changes at all. +<p><strong><a name="2010-07-01T003616.428446Z"></a> +2010-07-01T00:36:16.428446Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11454 for outdated config.guess config.sub. see original commit log</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> -</pre> -<p>[toolbin/bmpcmp.c]</p> +<p><strong><a name="2010-07-01T003305.624689Z"></a> +2010-07-01T00:33:05.624689Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo that causes linker error if one does not do make clean between builds</pre> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-12-16T183340.102435Z"></a> -2009-12-16T18:33:40.102435Z Robin Watts</strong></p> +<p><strong><a name="2010-07-01T000022.982087Z"></a> +2010-07-01T00:00:22.982087Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Broken fix for incorrect bbox test in bmpcmp; please ignore this revision -and use 10507 instead. +reapply r11455 - see original commit log for details</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> -bmpcmp would correctly assess the changed region, but then incorrectly accept -changes restricted to a single row or column as not being changes at all. -</pre> -<p>[toolbin/bmpcmp.c]</p> +<p><strong><a name="2010-06-30T233411.835858Z"></a> +2010-06-30T23:34:11.835858Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +security patch from Werner Fink, to disable loading init files from group/world-writable directories - bug 691350</pre> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2009-12-16T174049.399642Z"></a> -2009-12-16T17:40:49.399642Z Robin Watts</strong></p> +<p><strong><a name="2010-06-30T221202.295636Z"></a> +2010-06-30T22:12:02.295636Z Michael Vrhel</strong></p> <blockquote> <pre> -Improved version of htmldiff.pl: New HTML file started every 100 or so sets -of image differences (configurable). This should stop browsers grinding to a -halt. Improved reporting of conversion errors. +Initialize profile member variables that are part of serialization. Fix for Bug 691433 + </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-15T221458.866880Z"></a> -2009-12-15T22:14:58.866880Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-29T180629.735123Z"></a> +2010-06-29T18:06:29.735123Z Henry Stiles</strong></p> <blockquote> <pre> -Increase the limit on the number of color components to 12. A file with -9 components has been found in the wild, add 3 more for a small reserve. -Bug 691002. +remove obsolete clusterpush scripts. </pre> -<p>[base/gsccolor.h]</p> +<p>[/trunk/ghostpdl/tools/clusterpush.sh toolbin/clusterpush.sh]</p> </blockquote> -<p><strong><a name="2009-12-15T143456.554574Z"></a> -2009-12-15T14:34:56.554574Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-29T171745.269232Z"></a> +2010-06-29T17:17:45.269232Z Henry Stiles</strong></p> <blockquote> <pre> -Fix a botched use of references where a pointer to a reference in a -PostScript VM was used as a temporary variable. Bug 690828. +revert back to 11450. </pre> -<p>[psi/zcolor.c]</p> +<p>[/trunk/ghostpdl/main/pcl6_gcc.mak libpng/pngrtran.c libpng/scripts/makefile.gcmmx base/ugcclib.mak libpng/contrib/pngminim/encoder/gather.sh /trunk/ghostpdl/xps/xpspath.c base/unix-gcc.mak libpng/scripts/makefile.sgi base/gp_unifn.c base/macos-mcp.mak libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc /trunk/ghostpdl/main/pcl6_msvc.mak libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def base/macosx.mak libpng/scripts/makefile.nommx libpng/scripts/makefile.linux jpeg/config.guess base/unixansi.mak libpng/pngmem.c base/msvclib.mak libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu jpeg/config.sub libpng/scripts/libpng-config-head.in libpng/scripts/makefile.elf libpng/png.h base/lib.mak libpng/CMakeLists.txt libpng/pngrio.c libpng/Y2KINFO libpng/pngpread.c libpng/scripts/makefile.netbsd /trunk/ghostpdl/xps/xps_msvc.mak libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc /trunk/ghostpdl/xps/xpsglyphs.c libpng/README doc/Make.htm libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 /trunk/ghostpdl/language_switch/pspcl6_msvc.mak libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/libpng-1.2.44.txt libpng/scripts/makefile.solaris base/Makefile.in libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh /trunk/ghostpdl/xps/xpstile.c /trunk/ghostpdl/xps/xpsgradient.c libpng/scripts/makefile.hp64 base/gs_dll_call.h libpng/scripts/makefile.aix libpng/scripts/makefile.mingw libpng/scripts/png32ce.def /trunk/ghostpdl/common/msvc_top.mak libpng/scripts/makefile.beos base/watclib.mak /trunk/ghostpdl/xps/xpsopacity.c libpng/scripts/makefile.ne12bsd libpng/pngread.c /trunk/ghostpdl/xps/xpspage.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/example.c libpng/projects/wince.txt base/bcwin32.mak libpng/scripts/makefile.so9 libpng/pngconf.h libpng/pngwrite.c libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c base/openvms.mak base/gdevxcmp.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec base/watcw32.mak base/unix-dll.mak libpng/scripts/README.txt libpng/scripts/makefile.cygwin psi/msvc32.mak libpng/pngtest.c libpng/ANNOUNCE /trunk/ghostpdl/xps/xpsimage.c libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-15T095523.729025Z"></a> -2009-12-15T09:55:23.729025Z Ken Sharp</strong> (<a href="Details.htm#2009-12-15T095523.729025Z">details</a>)</p> +<p><strong><a name="2010-06-29T070829.009258Z"></a> +2010-06-29T07:08:29.009258Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Silence a compiler warning +more cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub) ; this one depends on features of GNU make, so it is added as comments to avoid breaking build with non-GNU make</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> -</pre> -<p>[psi/zfapi.c]</p> +<p><strong><a name="2010-06-29T070545.877229Z"></a> +2010-06-29T07:05:45.877229Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +avoid re-define _Windows if it is already defined; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070425.796552Z"></a> +2010-06-29T07:04:25.796552Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +cygwin is one platform which uses the unix file name interface but is sensitive to binary/text mode; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gp_unifn.c]</p> </blockquote> -<p><strong><a name="2009-12-13T013159.081596Z"></a> -2009-12-13T01:31:59.081596Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-29T064759.438186Z"></a> +2010-06-29T06:47:59.438186Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Accept ASCII85 stream that ends with bare '~' in PDF files for compatibility -with Acrobat Reader. Add /PDFRules ASCII85Decode filter parameter to select -between PS and PDF logic. Bug 690976, customer 870. +gx_device_has_color() was changed 8 years ago in the deviceN commit (r2925), +from just color_info.numcomponents > 1 to +|| (dev)->color_info.gray_index == GX_CINFO_COMP_NO_INDEX . + +This has some unfortunate side-effect for continuous tone gray devices which +doesn't support transparency, such as a 8-bit gray X11 display, which goes +down the wrong code path. These are quite rare so it took 7 years for the bug +(bug 690428) to be seen. </pre> -<p>[base/sa85d.h Resource/Init/pdf_base.ps base/sa85d.c psi/zfdecode.c]</p> +<p>[base/gdevxcmp.c]</p> </blockquote> -<p><strong><a name="2009-12-12T230518.157328Z"></a> -2009-12-12T23:05:18.157328Z Ray Johnston</strong> (<a href="Details.htm#2009-12-12T230518.157328Z">details</a>)</p> +<p><strong><a name="2010-06-29T060526.121392Z"></a> +2010-06-29T06:05:26.121392Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix RasterOp texture rendering from uninitialized memory (past end of buffer) -when the texture was 'expanded' and the unexpanded texture had repitions in y. -Bug 690299. +updating jpeg config.sub config.guess to that from libpng 1.2.44; bug 690486</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> -</pre> -<p>[base/gdevdrop.c]</p> +<p><strong><a name="2010-06-29T053019.407679Z"></a> +2010-06-29T05:30:19.407679Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug fixes - CVE-2010-1205</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/libpng-1.2.44.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/projects/wince.txt libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-12T223917.759602Z"></a> -2009-12-12T22:39:17.759602Z regression</strong></p> +<p><strong><a name="2010-06-29T052507.282125Z"></a> +2010-06-29T05:25:07.282125Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added abort option to clusterpush.pl (i.e. 'clusterpush.pl abort') to -abort current job and remove any jobs queued for a user (it is possible -to abort/remove jobs for other users, but I'll leave that undocumented). +change documentation as --enable-dynamics is no longer required for "make so" to work</pre> +<p>[doc/Make.htm]</p> +</blockquote> -Also partially added support for mupdf regression testing. +<p><strong><a name="2010-06-29T052009.043972Z"></a> +2010-06-29T05:20:09.043972Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split lcms code build into arch-specific targets; try to make both windows inline assembly and unix "make so" work simultaneously; bug 691427</pre> +<p>[base/watclib.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/ugcclib.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/msvclib.mak]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p><strong><a name="2010-06-29T051638.524502Z"></a> +2010-06-29T05:16:38.524502Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +move the DYNAMIC_* defines out of the --enable-dynamic condition so that it applies generally; try to "make so" work with just ./configure ; many bugs ask for make so to work</pre> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-12-12T182525.212987Z"></a> -2009-12-12T18:25:25.212987Z regression</strong></p> +<p><strong><a name="2010-06-29T043410.440639Z"></a> +2010-06-29T04:34:10.440639Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added --max-size=2500000 to avoid sending very large files. +switch autoconf png test away from testing for a soon-to-be-obsolete routine to one we actually use, to smooth over the libpng 1.2.x to 1.4.x transition; bug 691111</pre> +<p>[jbig2dec/configure.ac base/configure.ac]</p> +</blockquote> -Divide queueing and syncing into two steps, so that it's possible -to ^C if you decide the files being transmistted are incorrect. +<p><strong><a name="2010-06-29T041547.742872Z"></a> +2010-06-29T04:15:47.742872Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make --disable-fontconfig imples --disable-cairo; bug 690690</pre> +<p>[base/configure.ac]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p><strong><a name="2010-06-29T040453.158322Z"></a> +2010-06-29T04:04:53.158322Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +tries to remove empty *obj/*bin directories when invoking "make distclean"; bug 690871</pre> +<p>[base/unix-end.mak base/Makefile.in base/unix-dll.mak base/unix-gcc.mak base/unixansi.mak]</p> </blockquote> -<p><strong><a name="2009-12-12T034655.487466Z"></a> -2009-12-12T03:46:55.487466Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-29T034817.519902Z"></a> +2010-06-29T03:48:17.519902Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverity warning #4475, uninitialized value</pre> -<p>[base/gdevpxut.c]</p> +check for GNU sed and switch to alternative sed options if sed is non-GNU; bug 691292</pre> +<p>[cups/pstopxl.in base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-12-12T034555.759446Z"></a> -2009-12-12T03:45:55.759446Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-29T034430.895095Z"></a> +2010-06-29T03:44:30.895095Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverty warning #1158, unchecked return values</pre> -<p>[base/gdevpx.c]</p> +Part 2 of update (new files) posted to 687983, corrected for current svn HEAD.</pre> +<p>[contrib/pscolor/black.pdf contrib/pscolor/color.pdf contrib/pscolor/colorsplit.vcproj contrib/pscolor/black.ps contrib/pscolor/color.ps contrib/pscolor/common.mak contrib/pscolor/input.ps contrib/pscolor/windows.mak]</p> </blockquote> -<p><strong><a name="2009-12-12T034513.363455Z"></a> -2009-12-12T03:45:13.363455Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-29T034118.718227Z"></a> +2010-06-29T03:41:18.718227Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverity warning #2555, removing unused header</pre> -<p>[base/gdevpx.c]</p> +Part 1 of the update (modifications to checked-in files) +to the pscolor code posted in 687983, corrected for current svn head. + +</pre> +<p>[contrib/pscolor/Makefile contrib/pscolor/test.c contrib/pscolor/instream.yy]</p> +</blockquote> + +<p><strong><a name="2010-06-29T033846.508455Z"></a> +2010-06-29T03:38:46.508455Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +ijs communication should be all binary; left-over uncommitted patch from past ijs-related work</pre> +<p>[ijs/ijs_server_example.c]</p> </blockquote> -<p><strong><a name="2009-12-12T034349.383201Z"></a> -2009-12-12T03:43:49.383201Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-29T033445.878285Z"></a> +2010-06-29T03:34:45.878285Z Hin-Tak Leung</strong></p> <blockquote> <pre> -treat depth 15 the same as depth 16 in get_bits_rectangle() +implements ./configure --with-ufst=UFST_ROOT_DIR ; bug 691293</pre> +<p>[doc/Make.htm base/Makefile.in base/configure.ac]</p> +</blockquote> -It looks to be 'just work' (or no worse than depth 16) by treating depth -15 the same as depth 16 in get_bits_rectangle. The pcl files in the original report -works now; but a pxl file shows some visual artifects (and different one) at depth -15, 16 and will be filed separately. +<p><strong><a name="2010-06-29T023238.254860Z"></a> +2010-06-29T02:32:38.254860Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of static prototype that has no function.</pre> +<p>[base/gsicc_cache.c]</p> +</blockquote> -This fix fix bug 690328 (make X11 device continue for those pcl files; caveate -visual artefacts for at least one pxl file) +<p><strong><a name="2010-06-29T005032.521441Z"></a> +2010-06-29T00:50:32.521441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix lack of end-of-line in file.</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> +<p><strong><a name="2010-06-28T150431.998704Z"></a> +2010-06-28T15:04:31.998704Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix a typo, thanks to Ken for spotting this in review. </pre> -<p>[base/gdevx.c doc/Devices.htm]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-12-12T002826.868635Z"></a> -2009-12-12T00:28:26.868635Z Ray Johnston</strong> (<a href="Details.htm#2009-12-12T002826.868635Z">details</a>)</p> +<p><strong><a name="2010-06-28T105053.201708Z"></a> +2010-06-28T10:50:53.201708Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix hang condition due to pointer comparison, bug 690638. +Warnings of problems within lcms only occur now in debug mode. Fix for Bug 691401</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> -</pre> -<p>[base/gxclrast.c]</p> +<p><strong><a name="2010-06-28T051659.820980Z"></a> +2010-06-28T05:16:59.820980Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Interface with lcms so that the memory allocators make use of ghostscript's allocator. This required fixing a few bugs in littlecms where he was using free instead of _cmsFree and also having lcms.h provide the prototypes if the external mem alloc is defined. Performed cluster push with no problem. Thanks to Henry for helping me track down a 64 bit issue.</pre> +<p>[lcms/include/lcms.h base/lib.mak lcms/src/cmslut.c base/lcms.mak lcms/src/cmsio1.c base/gsicc_littlecms.c]</p> </blockquote> -<p><strong><a name="2009-12-11T191857.300388Z"></a> -2009-12-11T19:18:57.300388Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-26T200613.718954Z"></a> +2010-06-26T20:06:13.718954Z Henry Stiles</strong></p> <blockquote> <pre> -Fix incorrect calculation of the operand stack base (pdfemptycount) in PDF -interpreter, which caused incorrect processing of scn operator. Bug 690977. +The ad hoc gstate setup for patterns should not call grestore after +gsave when erasing colored patterns because it results in +"wraparound", creating another gstate (no saved gstate exists when the +pattern is painted), see gsstate.c:gs_grestore() vs +gsstate.c:gs_grestore_only(). Thanks to Ken Sharp for noticing the the +extra gstate. No expected differences. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> +<p><strong><a name="2010-06-26T175906.494303Z"></a> +2010-06-26T17:59:06.494303Z Henry Stiles</strong></p> +<blockquote> +<pre> +This file should have been checked in with revision 11433 which will +not compile without this change. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[base/gdevpxat.h]</p> </blockquote> -<p><strong><a name="2009-12-10T032932.317033Z"></a> -2009-12-10T03:29:32.317033Z regression</strong></p> +<p><strong><a name="2010-06-25T120050.643763Z"></a> +2010-06-25T12:00:50.643763Z Chris Liddell</strong></p> <blockquote> <pre> -Removed bitrgb and pgmraw from pcl regression tests. +Provide more robust behaviour when FT fails to render a glyph. Inistead of silently continuing when FT errors on a glyph, we'll now attempt to use the notdef, if the notdef triggers an error, we signal the error to the GS world. This ensures that any time we expect processing to continue there is valid glyph information available to the cache and other downstream devices. -Fixed a bug where failed compiles would cause a job restart loop. +This causes one regression difference with 34_all.PS, where an extra TTF notdef is rendered. -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +Bug 691416</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-12-09T172434.115310Z"></a> -2009-12-09T17:24:34.115310Z Ken Sharp</strong> (<a href="Details.htm#2009-12-09T172434.115310Z">details</a>)</p> +<p><strong><a name="2010-06-24T071111.011423Z"></a> +2010-06-24T07:11:11.011423Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : regressions with revision 10474 +Remove a couple of currently unused variables to silence a harmless compiler warning. +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> +<p><strong><a name="2010-06-23T171440.891928Z"></a> +2010-06-23T17:14:40.891928Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify and fix the implementation of operator --mul--, which mishandled +some cases like "16#80000000 -1 mul". Bug 691412. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[psi/zarith.c]</p> </blockquote> -<p><strong><a name="2009-12-09T153227.320916Z"></a> -2009-12-09T15:32:27.320916Z Ken Sharp</strong> (<a href="Details.htm#2009-12-09T153227.320916Z">details</a>)</p> +<p><strong><a name="2010-06-23T155639.786311Z"></a> +2010-06-23T15:56:39.786311Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Unchecked return value causing indeterminisms +This patch adds limited support for TrueType collection fonts to pdfwrite and ps2write. + +In the PostScript world TTC fonts are never passed down to pdfwrite, we only ever see +TrueType fonts. XPS, however, can pass back TrueType collection SNFTS data. This patch +uses the first font from the TrueType collection and writes that to the output file. +This may be too limited and may require further work in future. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[base/gdevpsft.c]</p> </blockquote> -<p><strong><a name="2009-12-08T160901.319365Z"></a> -2009-12-08T16:09:01.319365Z Ken Sharp</strong> (<a href="Details.htm#2009-12-08T160901.319365Z">details</a>)</p> +<p><strong><a name="2010-06-23T143308.852324Z"></a> +2010-06-23T14:33:08.852324Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI) : Handle Type 42 fonts with CharStrings dictionaries with real PS glyphs +Fix for bug691415. When equivalent ICC profile is already created we should just use it. Thanks to Ken for getting the details together.</pre> +<p>[base/gscsepr.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T050213.734047Z"></a> +2010-06-23T05:02:13.734047Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for 691359. Problem tracked down by Alex. + +What lcms is trying to do is to figure out the best prelinearization for the incoming data prior to doing the CLUT interpolation. In the case when the input is RGB based and the output Gray, lcms was using uninitialized data in constructing is prelinearization. + +Tangentially related, there could still be problems with what lcms is doing here if the number of Input channels is 1 and the number of Output channels is 3. In that case, it is possible (but not likely) that I could have radically different gamma behavior in each of the RGB channels. Trans in such a case would be constructed based upon only one curve based on the red channel. In the real world, this is probably not a problem but ideally it would be optimal to use something that provides the best prelinearization in all three channels. That is an optimization for Marti to do and perhaps is already in lcms2.</pre> +<p>[lcms/src/cmsgmt.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T145459.999510Z"></a> +2010-06-22T14:54:59.999510Z Henry Stiles</strong></p> +<blockquote> +<pre> +Erase patterns with the color white instead of filling the pattern +bitmap with 0 or 255. + +Previously the initialization was only used when anti aliasing was +enabled, now initial erasing is done for all colored patterns, +eliminating a long standing UMR in the pcl code where the pattern was +combined with the destination/source with indeterminate results. The +UMR manifested in frequent regression reports in the pcl tests +(c321.bin for example), these reports should go away with this change, +though (NB) the change only masks the underlying issue. </pre> -<p>[psi/zfapi.c]</p> +<p>[psi/zpcolor.c base/gxpcmap.c base/gxpcolor.h]</p> </blockquote> -<p><strong><a name="2009-12-08T075226.208006Z"></a> -2009-12-08T07:52:26.208006Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-22T061254.377174Z"></a> +2010-06-22T06:12:54.377174Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Revert remaining changes to the clusterpush script inadvertently -included in r10461. This version is now identical with the version -in r10435. In particular, the more sophisticated gs/ghostpdl detection -which works for branches and custom-named directories is restored. +Fix for bug 689836 and 691248. + +Bug 689836 - Huffman tables with only positive values are decoded incorrectly +Bug 691248 - jbig2dec doesn't handle 042_11 (Huffman Symbol Region) + +This patch fixes mulfunctions seen on standard huffman table K, L, M and N. +A difference will be seen on tests_private/comparefiles/Bug690360.pdf. +This file was affected by table K mulfunction and this is a improvement. + </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[jbig2dec/jbig2_hufftab.h]</p> </blockquote> -<p><strong><a name="2009-12-08T074112.811962Z"></a> -2009-12-08T07:41:12.811962Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-22T060012.605983Z"></a> +2010-06-22T06:00:12.605983Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update local cluster documentation to reference the 'regression' account -instead of 'marcos' and other minor cleanup. +Revert rev. 7964 and use a different approach: allocate all structures +and proceed with their initialization only if all allocations were +successful. Fix memory corruption that happens at the PostScript +stack overflow. Bug 691295. </pre> -<p>[toolbin/localcluster/setupcluster toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme toolbin/localcluster/clusterpush.txt]</p> +<p>[psi/idosave.h psi/ialloc.c psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-12-08T072503.670058Z"></a> -2009-12-08T07:25:03.670058Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-22T055923.952778Z"></a> +2010-06-22T05:59:23.952778Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Use the new 'regression' username in the clusterpush script. +Added test code for every line of each standard huffman tables. -This corrects what looks like an inadvertent commit of an older version -in r10461. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[jbig2dec/jbig2_huffman.c]</p> </blockquote> -<p><strong><a name="2009-12-08T063151.930815Z"></a> -2009-12-08T06:31:51.930815Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-22T051553.089456Z"></a> +2010-06-22T05:15:53.089456Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a Coverity warning. Don't assign a value to a variable if it isn't used. +Add a /.notdef entry to /CharStrings dictionary if it's missing from an +embedded Type1 font. Bug 691406, customer 130. </pre> -<p>[psi/imainarg.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-12-08T033305.781180Z"></a> -2009-12-08T03:33:05.781180Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-21T164155.147464Z"></a> +2010-06-21T16:41:55.147464Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix Coverity warnings caused by a recurring error in opvp driver where -'if (i > sizeof(foo)/sizeof(*foo)) ...' was used to prevent out-of-bounds -access to foo[i] . +Removal of improper error message. Source of a potential access violation.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-21T150703.992218Z"></a> +2010-06-21T15:07:03.992218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add the 'gs_error_Remap_Color' pseudo-error, a duplicate -f e_Remap_Color in the +PostScript interpreter, to the 'base' error list so that PDL clients other than +PostScript can make use of it for high-level pattern support. </pre> -<p>[contrib/opvp/gdevopvp.c]</p> +<p>[base/gserrors.h]</p> </blockquote> -<p><strong><a name="2009-12-08T033218.888688Z"></a> -2009-12-08T03:32:18.888688Z regression</strong> (<a href="Details.htm#2009-12-08T033218.888688Z">details</a>)</p> +<p><strong><a name="2010-06-21T011418.832712Z"></a> +2010-06-21T01:14:18.832712Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Improve the node failure job reallocation logic. +auto-detect host as *BSD and use a differently named obj directory; no effect on non-*BSDs. fixes bug 687214</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p><strong><a name="2010-06-21T003243.898825Z"></a> +2010-06-21T00:32:43.898825Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding more borland-related build tips; part of borland build fixes (bug 691400)</pre> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-12-08T004259.473070Z"></a> -2009-12-08T00:42:59.473070Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-21T001242.541103Z"></a> +2010-06-21T00:12:42.541103Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning. Avoid a FILE pointer leak in an unlikely -case when gs_main_init2() fails. +got some garbage in the beginning of the file introduced in an earlier commit</pre> +<p>[doc/Install.htm]</p> +</blockquote> -</pre> -<p>[psi/imainarg.c]</p> +<p><strong><a name="2010-06-21T000112.712437Z"></a> +2010-06-21T00:01:12.712437Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +nsis-based installer script, makefile adaptation, documentation update; bug 691363</pre> +<p>[psi/winint.mak doc/Release.htm psi/nsisinst.nsi doc/Install.htm]</p> </blockquote> -<p><strong><a name="2009-12-07T154953.218004Z"></a> -2009-12-07T15:49:53.218004Z Ken Sharp</strong> (<a href="Details.htm#2009-12-07T154953.218004Z">details</a>)</p> +<p><strong><a name="2010-06-20T233847.757390Z"></a> +2010-06-20T23:38:47.757390Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Ignore some TrueType faults +borland build fix (bug 691400): borland defines P_tmpdir but not _P_tmpdir; similiar difference between borlandc and msvc has been seen with setmode/_setmode in the ijs code in ijs/ijs_server.c</pre> +<p>[jasper/src/libjasper/base/jas_stream.c]</p> +</blockquote> -</pre> -<p>[psi/fapi_ft.c]</p> +<p><strong><a name="2010-06-20T233224.162240Z"></a> +2010-06-20T23:32:24.162240Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): update and complete documentation on working around for too-many-warnings-equal-error problem of borland c++</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-20T232934.775566Z"></a> +2010-06-20T23:29:34.775566Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland fix (bug 691400): Borland c++ does not support c99 LL nor ULL, but use i64/ui64 like MSVC for 64-bit integer literals</pre> +<p>[base/sha2.c]</p> </blockquote> -<p><strong><a name="2009-12-07T054636.982240Z"></a> -2009-12-07T05:46:36.982240Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-20T231137.618908Z"></a> +2010-06-20T23:11:37.618908Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning. Add missing assignment to 'code' variable. The later -use of 'code' in the conditional expression indicates that this was the -author's intention. + 4 borland build fixes (bug 691400): + +- hook up libtiff +- build mkromfs +- build import library *.lib corresponding to the dll +- build the split-out make_filelist (see also r11388 for Bug 691302, +which does it for msvc) </pre> -<p>[base/gsfont.c]</p> +<p>[base/bcwin32.mak]</p> </blockquote> -<p><strong><a name="2009-12-06T191208.897785Z"></a> -2009-12-06T19:12:08.897785Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-20T230349.551572Z"></a> +2010-06-20T23:03:49.551572Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning. Add missing assignment to 'code' variable. The later -use of 'code' in the conditional expression indicates that this was the -author's intention. +borland build does not create the obj and bin directories. part of borland build fix (691400)</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> -</pre> -<p>[base/gxttfb.c]</p> +<p><strong><a name="2010-06-20T225732.647408Z"></a> +2010-06-20T22:57:32.647408Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +defines a unix target, since win32 requires specific compiler flags; HP-UX make/MS nmake both issues a warning and borland make issues an error for duplicate targets; fixes bug 691337, and also part of the problems with borland build (bug 691400)</pre> +<p>[base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-12-06T145558.088044Z"></a> -2009-12-06T14:55:58.088044Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-20T034503.823204Z"></a> +2010-06-20T03:45:03.823204Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a Coverity warning. Check the return code from sget_variable_uint() -in image4 serialization. +Fix malformed ICC profile generation on big endian systems, which was caused +by confusion between internal and external representation of an integer. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> +<p><strong><a name="2010-06-20T030150.289956Z"></a> +2010-06-20T03:01:50.289956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't leave wild bytes at the end of a generated ICC profile. Fix Valgrind +warnings and spurious hash value differences. </pre> -<p>[base/gximage4.c]</p> +<p>[base/gsicc_create.c]</p> </blockquote> -<p><strong><a name="2009-12-06T022136.356914Z"></a> -2009-12-06T02:21:36.356914Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-18T235923.662717Z"></a> +2010-06-18T23:59:23.662717Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning and improve readability. Don't define a local variable -with the same name as a function argument. +Fix so that when the CIE color spaces are released, the icc equivalent space is also rc decremented as is the profile.</pre> +<p>[base/gscscie.c]</p> +</blockquote> +<p><strong><a name="2010-06-18T180659.517404Z"></a> +2010-06-18T18:06:59.517404Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for memory leak in creation of icc profile from def(g) objects.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T020013.716745Z"></a> +2010-06-18T02:00:13.716745Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use operator --search-- instead of --token-- during PDF rebuilding +to reduce the load on the name table, slightly improve the speed, and +work around the bug 691005 in a few cases. </pre> -<p>[psi/ziodevsc.c]</p> +<p>[Resource/Init/pdf_rbld.ps]</p> </blockquote> -<p><strong><a name="2009-12-06T005638.018707Z"></a> -2009-12-06T00:56:38.018707Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-17T202333.279930Z"></a> +2010-06-17T20:23:33.279930Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning and improve portability. Don't access sequential -members of a structure as an array. +adjust self-reference of bswin32.mak to correct location. Part 1 of fix to bug 691400</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> -</pre> -<p>[psi/zht1.c]</p> +<p><strong><a name="2010-06-17T200330.325885Z"></a> +2010-06-17T20:03:30.325885Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +mentioning -P-/-P and further reference to the INITIALIZATION FILES and Use.htm in the man page. bug 691350</pre> +<p>[man/gs.1]</p> </blockquote> -<p><strong><a name="2009-12-05T231032.160743Z"></a> -2009-12-05T23:10:32.160743Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-17T194605.887718Z"></a> +2010-06-17T19:46:05.887718Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning. Change the logic in obj_cvs() to handle all possible -combinations and avoid a potential SEGV. +add missing type def for gsicc_create_mashed_clut</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> -</pre> -<p>[psi/iutil.c]</p> +<p><strong><a name="2010-06-17T193839.362075Z"></a> +2010-06-17T19:38:39.362075Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split make_filelist functionality out of setupgs, to allow UAC restriction during packaging of the installer. Bug 691302</pre> +<p>[psi/dwsetup.cpp psi/winint.mak psi/msvc32.mak psi/mkfilelt.cpp]</p> </blockquote> -<p><strong><a name="2009-12-05T192142.203093Z"></a> -2009-12-05T19:21:42.203093Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-17T193128.160475Z"></a> +2010-06-17T19:31:28.160475Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning and a potential SEGV caused by a wrong pointer -checked for NULL after memory allocation. +add info about silent batch installation; bug 691268</pre> +<p>[doc/Install.htm]</p> +</blockquote> -</pre> -<p>[psi/zfcid1.c]</p> +<p><strong><a name="2010-06-17T192820.229863Z"></a> +2010-06-17T19:28:20.229863Z Michael Vrhel</strong></p> +<blockquote> +<pre> +rc_decrement any icc objects that may exist in the imager state that was created for handling the conversion from PS CIE objects to ICC profiles.</pre> +<p>[base/gscie.c]</p> </blockquote> -<p><strong><a name="2009-12-05T172701.175245Z"></a> -2009-12-05T17:27:01.175245Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-17T180435.295987Z"></a> +2010-06-17T18:04:35.295987Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning. Remove dead and commented out code that didn't -change since April 2000, rev 324. +Free up tag list when done creating icc profile from PDF cal type.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> -</pre> -<p>[psi/zfcmap.c]</p> +<p><strong><a name="2010-06-17T171334.616951Z"></a> +2010-06-17T17:13:34.616951Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Change to help track down any memory leaks related to the new icc code. Also fix so that gs_init_iccmanager copies the null character from the default profile string names. There was a mismatch between what happened here and what happens when the default user params are set. This was causing the profiles to reset in the manager when they did not need to be.</pre> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-04T155208.152428Z"></a> -2009-12-04T15:52:08.152428Z Ken Sharp</strong> (<a href="Details.htm#2009-12-04T155208.152428Z">details</a>)</p> +<p><strong><a name="2010-06-17T092018.689467Z"></a> +2010-06-17T09:20:18.689467Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI) : empty glyphs causing problems after revision 10434 +Fix (FAPI) move two FAPI related members from the show enumerator structure to the text +enumerator structure. This ensures that these members are always available for rendering +and eliminates a GPF caused when a device's text_begin method returns a text enumerator +rather than the show enumerator returned by gx_default_text_begin. +No differences expected. </pre> -<p>[psi/zfapi.c]</p> +<p>[base/gxchar.h base/gxtext.h]</p> </blockquote> -<p><strong><a name="2009-12-04T153803.727531Z"></a> -2009-12-04T15:38:03.727531Z Ken Sharp</strong> (<a href="Details.htm#2009-12-04T153803.727531Z">details</a>)</p> +<p><strong><a name="2010-06-16T061125.298134Z"></a> +2010-06-16T06:11:25.298134Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : TT tables > 64Kb not read properly. +a few more CRLF eol and svn property corrections</pre> +<p>[zlib/contrib/dotzlib/LICENSE_1_0.txt zlib/contrib/vstudio/readme.txt zlib/contrib/masmx64/readme.txt base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h zlib/projects/visualc6/README.txt zlib/contrib/dotzlib/readme.txt]</p> +</blockquote> -</pre> -<p>[psi/zfapi.c]</p> +<p><strong><a name="2010-06-15T171715.944441Z"></a> +2010-06-15T17:17:15.944441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Rename of a few functions to match documentation, update of gdevwts.c to use new color architecture, addition of minor utility functions for use in gxps. This should not generate regressions.</pre> +<p>[base/lib.mak base/gsicc_littlecms.h base/gsicc_cache.h base/gsicc_manage.c base/gscms.h base/gdevwts.c base/gsicc_manage.h base/gsicc_littlecms.c]</p> </blockquote> -<p><strong><a name="2009-12-04T035110.377640Z"></a> -2009-12-04T03:51:10.377640Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-15T165440.171304Z"></a> +2010-06-15T16:54:40.171304Z Michael Vrhel</strong></p> <blockquote> <pre> -Rearrange JP2 color space processing code to facilitate experiments with -enumerated color spaces. +Update of Color Architecture document in preparation for release of GS 9.0</pre> +<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/GS9_Color_Management.pdf doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/GS9_Color_Management.tex doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps]</p> +</blockquote> +<p><strong><a name="2010-06-14T231027.633844Z"></a> +2010-06-14T23:10:27.633844Z Henry Stiles</strong></p> +<blockquote> +<pre> +Modified line endings from CRLF -> LF and propset to native. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[base/gsicc_cache.c base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h]</p> +</blockquote> + +<p><strong><a name="2010-06-14T184247.881614Z"></a> +2010-06-14T18:42:47.881614Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix yet another case where memcpy() copies a memory block on itself. +This doesn't cause any problems on Linux or Windows but violates the +spec and irks Valgrind. Bug 691394. +</pre> +<p>[base/gsline.c]</p> </blockquote> -<p><strong><a name="2009-12-04T003304.330450Z"></a> -2009-12-04T00:33:04.330450Z Robin Watts</strong></p> +<p><strong><a name="2010-06-14T180749.834071Z"></a> +2010-06-14T18:07:49.834071Z Chris Liddell</strong></p> <blockquote> <pre> -Extend ghostscript graphics library with the capability to handle different -start, end and dash caps. +Remove the "<font> is being rendered with FAPI=<renderer>" messages. But leave a warning if we fall back to the old GS renderer.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111907.131026Z"></a> +2010-06-14T11:19:07.131026Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : limit composite object sizes when producing PDF/A + +Bug #691370 "Dictionary size not limited for PDF/A-1" -The existing gs_setlinecap function sets all 3 caps in lockstep, so no change -with current code. New functions gs_setlinestartcap, gs_setlineendcap, -gs_setlinedashcap set the different cap styles. +The PDF/A specification insists that the implementation limitations of Acrobat as +defined in PDF 1.4 should be followed when producing PDF/A files. Accordingly this +limits the size of dictionaries to 4095 and arrays to 8191 when producing PDF/A output. -The dashing code now leaves segment notes in the output path to inform the -choice of which caps to use. The stroking code is updated to honours these -notes. +Since there is no way to ignore the problem, setting the PDFACompatibiltyPolicy to 1 +'don't emit the object, carry on producing PDF/A' can't be made to work. Since the +user has expressed a desire for an output file, we fall back to Policy 0 'Produce a +regular PDF file' instead. -gxclpath.c and gdevvec.c assume that all caps are the same as start_cap. -Check that this is valid. +Also extend PDFACompatibilityPolicy to include policy 2 'abort'. +No test file for this case, no differences expected. </pre> -<p>[base/gsstate.c base/gxclpath.c base/gxline.h base/gxpdash.c base/gxpath.h base/gdevpdtt.c base/gsline.c base/gdevvec.c base/gdevpdfg.c base/gsline.h base/gxstroke.c base/gxclrast.c]</p> +<p>[base/gdevpdfo.c]</p> </blockquote> -<p><strong><a name="2009-12-03T192112.315688Z"></a> -2009-12-03T19:21:12.315688Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-14T111418.794921Z"></a> +2010-06-14T11:14:18.794921Z Ken Sharp</strong></p> <blockquote> <pre> -I missed a file that should have been part of the r10440 commit. +Extend to PDF/X emission the enhancement in revision 11369 which prevents emitting +invalid PDF/A files when glyphs are missing from fonts. </pre> -<p>[toolbin/localcluster/clusterpull.sh]</p> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-12-03T191412.694527Z"></a> -2009-12-03T19:14:12.694527Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-14T111240.380849Z"></a> +2010-06-14T11:12:40.380849Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a Coverity warning by removing redindant checks. The 'pie' pointer cannot -be null here because it is dereferenced earlier. +Update the ps2pdf documenataion to reflect the fact that PDF/X-3 conversion now also +uses the PDFACompatibilityPolicy to control behaviour when a conforming file cannot be +produced. +Also applied some general grammatical correction to the text. </pre> -<p>[psi/zimage.c]</p> +<p>[doc/Ps2pdf.htm]</p> </blockquote> -<p><strong><a name="2009-12-03T173038.929684Z"></a> -2009-12-03T17:30:38.929684Z Robin Watts</strong></p> +<p><strong><a name="2010-06-14T093417.990404Z"></a> +2010-06-14T09:34:17.990404Z Ken Sharp</strong></p> <blockquote> <pre> -Remove stray (incorrect) initialisation. This removes a "removing const" -warning. +Fix (pdfwrite) : Don't emit invalid PDF/A files + +Bug #691383 "pdfwrite emits invalid PDF/A when glyphs are missing in the input font." + +If the input file references glyphs which are not in the font, then we could emit a +PDF/A file which also referenced glyph which were not present in the fonts embedded +in the PDF file. +This patch uses the PDFACompatibilityPolicy to control the action in this case, and +avoid emitting invalid PDF/A files. +Also extended the functionality of the PDFACompatibilityPolicy to allow the user to +abort PDF file production when a valid PDF/A file cannot be produced. + +No expected differences as PDF/A production is not tested by regression code. </pre> -<p>[base/gdevpdfe.c]</p> +<p>[base/gdevpdfm.c base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-12-03T161800.535689Z"></a> -2009-12-03T16:18:00.535689Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-12T151956.267658Z"></a> +2010-06-12T15:19:56.267658Z Henry Stiles</strong></p> <blockquote> <pre> -Improved cluster reliability (automatically reset stale nodes, move -watchdog from cron to run.pl, check for periodic transfer, etc.). - +The ICC profile file name buffer was too small to accommodate the +trailing null appended by strcat resulting in an invalid write to +memory. </pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-03T060839.915454Z"></a> -2009-12-03T06:08:39.915454Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-11T172406.899434Z"></a> +2010-06-11T17:24:06.899434Z Chris Liddell</strong></p> <blockquote> <pre> -Add argument list and 'minst' address to -Z: debugging report to assist in tracking -cluster test logs (to see which, if any, jobs start but don't finish). +In the event of a FreeType error when scaling a font face, don't clean up the FT data, but leave it to the garbage collector +to call the font object's "finalize" function, which will then clean up the FT data. + +Secondly, add code to deal with very low resolutions underflowing some of FT's fixed point code (similar to code for small +scale factors). + +Bug 691381 </pre> -<p>[psi/imain.c psi/imainarg.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-12-03T000230.276576Z"></a> -2009-12-03T00:02:30.276576Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-11T075337.156852Z"></a> +2010-06-11T07:53:37.156852Z Ken Sharp</strong></p> <blockquote> <pre> -send images with Interpolate=true back to gx_default. +Fix pdfwrite - device reference counting problem with patterns and XPS -comparefiles/148-01.ps have a few Type 1 images with -<<Interpolate true>> are not rendered with Interpolate. +When using XPS as the input PDL, and pdfwrite as the output device, the pdfwrite device +was counted up by pattern accumulator allocation, but the clist accumulator never +counted the device down, leading to a reference count > 1 at EOJ. This meant that +the pdfwrite device wasn't closed, since pdfwrite only emits the PDF file when it is +closed this led to invalid unfinished PDF files. -Since pxlcolor/pxlmono cannot do Interpolate within, -and has no code to do such thing, the correct solution -is simply detect such images and use gx_default_*. Fixes bug 690970. +The code here modifies the behaviour of the pattern management so that we don't use the +'clist' path for accumulating patterns *if* the device can accumulate patterns itself +*and* the PDL doesn't have_pattern_streams (to avoid pathological PDF file problems) +This resolves the issue with device reference counts and all the FTS XPS files now +produce complete PDF files. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-12-02T195705.281734Z"></a> -2009-12-02T19:57:05.281734Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-10T161108.241878Z"></a> +2010-06-10T16:11:08.241878Z Chris Liddell</strong></p> <blockquote> <pre> -Improved logic in clusterpush.pl to detect if running from a gs or ghostpdl director. +When extracting a path from the FAPI world (for a charpath, for example), only close the path if it has been "opened". + +This prevents empty paths from non-marking glyphs resulting in a point being rendered on the page. + +Another part of Bug 691252. + +This change causes ~195 differences to be reported on the cluster, but they are all progressions. + </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-02T142041.078998Z"></a> -2009-12-02T14:20:41.078998Z Ken Sharp</strong> (<a href="Details.htm#2009-12-02T142041.078998Z">details</a>)</p> +<p><strong><a name="2010-06-10T140640.549557Z"></a> +2010-06-10T14:06:40.549557Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (FAPI): error in revision 10433 +Make the rendering of the Truetype notdef glyph optional with the FAPI interface (as per the previous behaviour). + +A few cluster differences are expected as we have test files which use the TTF notdef, I have checked all the differences, and they are correct. + +This is part of Bug 691252 </pre> <p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-02T141344.401916Z"></a> -2009-12-02T14:13:44.401916Z Ken Sharp</strong> (<a href="Details.htm#2009-12-02T141344.401916Z">details</a>)</p> +<p><strong><a name="2010-06-09T185909.419344Z"></a> +2010-06-09T18:59:09.419344Z Robin Watts</strong></p> <blockquote> <pre> -Fix (FAPI) : FAPI code not expecting unsorted LOCA/GLYF tables +Update comparerevs.pl script so that it no longer ignores hash values +on files taht have a non-zero error return. It now only ignores hash +values on timeouts (because runs can easily produce different numbers of +pages on each run). + +Also, the output is updated to show error values together with hash results. +Error values are now always in brackets, on a red background. </pre> -<p>[psi/zfapi.c]</p> +<p>[toolbin/localcluster/comparerevs.pl]</p> </blockquote> -<p><strong><a name="2009-12-02T070016.393155Z"></a> -2009-12-02T07:00:16.393155Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-08T162039.058317Z"></a> +2010-06-08T16:20:39.058317Z Chris Liddell</strong></p> <blockquote> <pre> -Fix vertical positioning of interpolated images that caused images to be moved -down, possibly past the end of the band. An extra multiplication by -1 was the -culprit. Bug 690885, customers 531 and 850. +In bytes_copy_rectangle() clamp the length of each row to be copied to the stride of the raster. This takes care of problems copying bitmaps from FT (or potentially other font libraries) which use different alignment to the "internal" rasters. Bug 691328.</pre> +<p>[base/gsbitops.c]</p> +</blockquote> +<p><strong><a name="2010-06-08T010410.677952Z"></a> +2010-06-08T01:04:10.677952Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check whether the font has /Encoding before trying to use it. Recent FAPI +changes give /BuildChar procedure to all fonts including CIDFont resources. +So the check for non-null pfdata->BuildChar no longer guaranteed that the +font has /Encoding. Bug 691311. </pre> -<p>[base/gxiscale.c]</p> +<p>[psi/zchar.c]</p> </blockquote> -<p><strong><a name="2009-12-01T193906.587717Z"></a> -2009-12-01T19:39:06.587717Z Robin Watts</strong></p> +<p><strong><a name="2010-06-07T171420.171809Z"></a> +2010-06-07T17:14:20.171809Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix dropouts seen with thin lines by using the method described in bug 687721, -namely, that of extending the trapezoids filled by a small triangular region -at each end. +Fix for Bug 691368. -Local cluster testing shows 66 changes, of which only 20 or so are real. -Of these, most are clearly improvements, and the rest are neutral. +lcms appears not to check its handles of link transforms when a profile is released, to clear out xform->InputProfile. Probably due to the fact that lcms may not expect a change of the formatters after the link is created. That would imply that we would need to create links based upon data types, which is not so efficient. Disable this check in lcms since it is only related to named color profiles, which we will not run into. Will kick this up to Marti.</pre> +<p>[lcms/src/cmspack.c]</p> +</blockquote> -</pre> -<p>[base/gdevddrw.c]</p> +<p><strong><a name="2010-06-06T180036.332831Z"></a> +2010-06-06T18:00:36.332831Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691367. Seg fault should no longer occur. If an attempt is made to set a color space in the graphic state and the ICC manager's profiles have not yet been initialized, it will be taken care of. </pre> +<p>[base/gsicc_manage.c base/gscspace.c]</p> </blockquote> -<p><strong><a name="2009-12-01T191035.168567Z"></a> -2009-12-01T19:10:35.168567Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-05T200355.912155Z"></a> +2010-06-05T20:03:55.912155Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the clustermonitor cgi script to read the new combined queue -file for pending jobs. +Don't copy memory block into itself; clear a Valgrind warning. </pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +<p>[base/gsdparam.c]</p> </blockquote> -<p><strong><a name="2009-12-01T190827.833775Z"></a> -2009-12-01T19:08:27.833775Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-05T192040.615579Z"></a> +2010-06-05T19:20:40.615579Z Michael Vrhel</strong></p> <blockquote> <pre> -Update the clustermonitor cgi script to return regression results. +Fix for indeterminisms in some PS files where the alternate tint transform color space for a DeviceN or Separation color space is CIE based. Previously we were returning either CMYK, or RGB based based upon the channel count for the CIE space. Now we are returning an equivalent ICC based color space. Also minor fix for uninitialized memory in generated profile.</pre> +<p>[base/gscdevn.c base/gsicc_create.c base/gscsepr.c]</p> +</blockquote> -This makes use of the CGI module to parse an optional 'report' query -parameter, which if present, returns a specific regression result -instead of the default json dashboard status. Current it only supports -svn jobs, not custom runs submitted through the clusterpush script. +<p><strong><a name="2010-06-03T165717.441589Z"></a> +2010-06-03T16:57:17.441589Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +observe minst->search_here_first condition in file search; bug 691350</pre> +<p>[psi/zfile.c]</p> +</blockquote> -Also cleans up the the paths to use a $clusteroot variable for the -prefix. -</pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +<p><strong><a name="2010-06-03T003207.629281Z"></a> +2010-06-03T00:32:07.629281Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Adding -P- and -dSAFER to many POSIX shell scripts, win32 and OS/2 batch scripts; bug 691355</pre> +<p>[lib/bjc610b4.upp lib/bjc610b6.upp lib/lp386.bat lib/bjc610b7.upp lib/bjc610b8.upp lib/gsndt.bat lib/pdf2dsc lib/eps2eps.bat lib/st640plg.upp lib/ras8m.upp lib/ras24.upp lib/pv.sh lib/bj8oh06n.upp lib/necp2x.upp lib/stc600p.upp lib/pfbtopfa.bat lib/stc640p.upp lib/wftopfa lib/ps2ps lib/stc2s_h.upp lib/stc500ph.upp lib/ps2ps.cmd lib/pphs lib/stcany_h.upp lib/pf2afm lib/gsdj500 lib/dnj750c.upp lib/pf2afm.cmd lib/stc600pl.upp lib/stc800pl.upp lib/gsbj lib/ps2epsi lib/ps2epsi.cmd lib/dnj750m.upp lib/dumphint lib/gsnd lib/font2c lib/gsdj.bat lib/pdfopt lib/ras32.upp lib/ps2ps2.bat lib/pdf2ps lib/ps2pdf.cmd lib/pdf2ps.cmd lib/stc500p.upp lib/cdj690.upp lib/stc600ih.upp lib/st640p.upp lib/stc_h.upp lib/gslj.bat lib/stcany.upp lib/stc800ih.upp lib/bdftops.bat lib/stc_l.upp lib/ras1.upp lib/gslp.bat lib/lpgs.bat lib/st640ihg.upp lib/ras3.upp lib/stc1520h.upp lib/ras4.upp lib/stc300.upp lib/bj8ts06n.upp lib/eps2eps lib/ps2ascii.bat lib/eps2eps.cmd lib/stc2_h.upp lib/pdf2dsc.bat lib/stc.upp lib/stc300bl.upp lib/stc300bm.upp lib/bj8pp12f.upp lib/pfbtopfa lib/stc800p.upp lib/bjc610a0.upp lib/bj8gc12f.upp lib/st640pg.upp lib/bjc610a1.upp lib/cdj690ec.upp lib/bjc610a2.upp lib/ps2ps.bat lib/bjc610a3.upp lib/bjc610a4.upp lib/bjc610a5.upp lib/bj8hg12f.upp lib/stc2.upp lib/st640pl.upp lib/bjc610a6.upp lib/printafm lib/bjc610a7.upp lib/pf2afm.bat lib/gsdj500.bat lib/bjc610a8.upp lib/ps2pdfxx.bat lib/lpr2.bat lib/lp386r2.bat lib/stc200_h.upp lib/unix-lpr.sh lib/gsdj lib/necp2x6.upp lib/ps2ps2 lib/ps2epsi.bat lib/gsbj.bat lib/bj8pa06n.upp lib/ps2ps2.cmd lib/dumphint.bat lib/cdj550.upp lib/gslj lib/gsnd.bat lib/font2c.bat lib/bdftops lib/pdfopt.bat lib/pdf2ps.bat lib/st640ih.upp lib/gslp lib/ps2pdfwr lib/bjc610b1.upp lib/bjc610b2.upp lib/dvipdf lib/ps2ascii lib/bjc610b3.upp lib/pftogsf.bat]</p> </blockquote> -<p><strong><a name="2009-12-01T183608.279176Z"></a> -2009-12-01T18:36:08.279176Z Robin Watts</strong></p> +<p><strong><a name="2010-06-02T174539.111970Z"></a> +2010-06-02T17:45:39.111970Z Robin Watts</strong></p> <blockquote> <pre> -Factor out the miter checking code into a single function rather than having it -repeated 3 times. +Introduce new ENABLE_TRAP_AMALGAMATION build define. If set at build time +then code is introduced to gxfillts.h to try to amalgamate some of the +rectangles produced into the surrounding trapezoids. + +This can cause small rendering differences due to the difference in rounding +within scan conversion and trap extraction. -Add a test to the extracted code to spot the case where the cdelta's are too -small to be reliably used to calculate the correct miter point. In such cases -revert to using the raw vectors suitably scaled. +The option is disabled by default. -Testing reports 69 changes in the regression files, none of which can be -reproduced locally. This fixes bug 690098. +No expected differences with it disabled. 439 non pdfwrite differences, 99 +differences with it enabled. </pre> -<p>[base/gxstroke.c]</p> +<p>[base/gxfillts.h]</p> </blockquote> -<p><strong><a name="2009-12-01T180858.973794Z"></a> -2009-12-01T18:08:58.973794Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-02T083707.985901Z"></a> +2010-06-02T08:37:07.985901Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a Coverity warning and a potential array overrun in obj_cvp(). - +Revision 11348 accidentally included a number of font definitions in an updated cidfmap, +This removes those definitions, which should not be present. </pre> -<p>[psi/iutil.c]</p> +<p>[Resource/Init/cidfmap]</p> </blockquote> -<p><strong><a name="2009-12-01T160436.569081Z"></a> -2009-12-01T16:04:36.569081Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-02T082923.801870Z"></a> +2010-06-02T08:29:23.801870Z Ken Sharp</strong></p> <blockquote> <pre> -Another clusterpush.pl change that was lost, should have been part of r10421. +Documentation change +Updated the comments at the head of the file to make it plain that the entries in the +CSI array must be strings, not names. Although this is clearly documented in use.htm +we have recently had several reports in which users have been trying to set name values +in the array. + +Also added a pointer to the documentation as a further hint. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[Resource/Init/cidfmap]</p> </blockquote> -<p><strong><a name="2009-12-01T153715.738865Z"></a> -2009-12-01T15:37:15.738865Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-02T074657.542525Z"></a> +2010-06-02T07:46:57.542525Z Ken Sharp</strong></p> <blockquote> <pre> -Fixed localcluster/clusterpush.pl to work with casper3. +Fix pdfwrite, faulty matrix transformations for Shading dictionaries + +Bug #691352 "cairo pdf mis-distilled" + +Patterns in PDF are unpleasantly complicated by the need to transform the pattern to +the 'default co-ordinate space'. Normally this means that we undo the resolution scaling +which is normally applied to the CTM. + +For page streams this works well, but for forms the 'default co-ordinate space' is +the space of the parent. For one level of form there is therefore no difference between +the page and the form. When forms are nested however, the lower form's space becomes +that of the parent. This means that patterns inside forms, which are nested inside +another form, need to be transformed to the parent form co-ordinate space, not the +page space. + +Since we don't currently emit forms from pdfwrite for anything except transparency +groups what this means in practice is that we don't undo the CTM transformation if +we are rendering a pattern inside a form, nested inside at least one other form. + </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[base/gdevpdfx.h base/gdevpdft.c base/gdevpdfv.c base/gdevpdfb.h]</p> </blockquote> -<p><strong><a name="2009-12-01T090210.394257Z"></a> -2009-12-01T09:02:10.394257Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-01T174120.224359Z"></a> +2010-06-01T17:41:20.224359Z Michael Vrhel</strong></p> <blockquote> <pre> -All local cluster jobs are now queued (instead of just user jobs). -This eliminates a race condition that could have occured if the -ghostpdl/ghostscript repository is updated after the cluster master -initiates a cluster run but before the nodes perform the svn update. -As a side-effect of this change svn commit jobs are not longer given -priority over user jobs. +Rename of gsicccache.c/h to gsicc_cache.c/h and gsiccmanage.c/h to gsicc_manage.c/h to fall in line with the name space of the other files that came from the icc branch. Currently working on the documentation and it is clear that this is needed (and I wish I had done it earlier).</pre> +<p>[/trunk/ghostpdl/pxl/pxpthr.c /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/xps/ghostxps.h base/gsiccmanage.c base/gxshade1.c base/gsiccmanage.h base/gscsepr.c base/gxshade4.c base/gxshade6.c /trunk/ghostpdl/pxl/pxtop.c base/gxcmap.c ghostscript.vcproj base/gsistate.c /trunk/ghostpdl/pcl/pcl.mak base/gdevrinkj.c base/gdevwts.c base/gdevxcf.c base/gxicolor.c base/devs.mak base/gsicc.c base/gdevimdi.c base/gscdevn.c base/gxclread.c base/gdevpsd.c base/lib.mak base/gxiscale.c base/gsicc_manage.c psi/int.mak /trunk/ghostpdl/pxl/pxgstate.c /trunk/ghostpdl/pcl/pctop.c base/gsicc_manage.h psi/zicc.c psi/zdevice.c base/gdevp14.c base/gsstate.c base/gsicc_cache.c base/gsicc_create.c psi/zcie.c base/gsicccache.c base/gxclist.c base/gsicc_cache.h base/gsicccache.h base/gstrans.c base/gscms.h base/gxidata.c base/gdevpdfc.c base/gxblend.c base/gxshade.c psi/zusparam.c base/gdevpdfg.c base/gxp1fill.c base/gxclrast.c base/gsciemap.c]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p><strong><a name="2010-05-31T144914.514014Z"></a> +2010-05-31T14:49:14.514014Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +for "ln -s base/unix-gcc.mak Makefile; make" builds, do not modularize X, nor build most of the modularzed linux modules, since they depend on the linux GNU linker</pre> +<p>[base/unix-gcc.mak]</p> </blockquote> -<p><strong><a name="2009-12-01T034054.743929Z"></a> -2009-12-01T03:40:54.743929Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-31T144108.956692Z"></a> +2010-05-31T14:41:08.956692Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning about unchecked negative return and a possible -access to an array at a negative position. +another attempt to make "ln -s base/unix-gcc.mak Makefile; make" to work; libtiff really want configure so we hook it in</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-31T095814.532526Z"></a> +2010-05-31T09:58:14.532526Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +more icc branch merge related change to make "make -f base/unix-gcc.mak" and other targets work"</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-28T180708.826907Z"></a> +2010-05-28T18:07:08.826907Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #690793. PJL Formlines was not set correctly if the paper +size changed. Also, refactors such that PXL and PJL get paper sizes +from the same source table. </pre> -<p>[psi/zupath.c]</p> +<p>[/trunk/ghostpdl/pl/pl.mak /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/pl/pjparse.c /trunk/ghostpdl/pxl/pxsessio.c /trunk/ghostpdl/pxl/pxstate.h base/gdevpxen.h base/gdevpxut.c]</p> </blockquote> -<p><strong><a name="2009-11-30T233723.019948Z"></a> -2009-11-30T23:37:23.019948Z Michael Vrhel</strong></p> +<p><strong><a name="2010-05-27T210221.460781Z"></a> +2010-05-27T21:02:21.460781Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for bug 690218. If the SeparationOrder was specified, then we should only allocate buffer space for those colorants. See devn_put_params for details on this. Right now, the PDF14 device will always include CMYK. A future optimization is to be able to NOT have those included in the bufferallocations if we don't specify them. In that case it would then be possible to output 8 separations at a time without using compressed color. Note that if SeparationOrder is not specified, the number of colorants used in the pdf14 device buffer allocations is equal to the number of colorants in the document up to a maximum of 64.</pre> -<p>[base/gstrans.c]</p> +Fix so that shading strokes that go through the clist transparency code communicate the transparency device so that the proper color information is used as opposed to the color information related to the final target device. This should fix the indeterminism with bug688807.pdf when going out to a monochrome device.</pre> +<p>[base/gdevp14.c base/gxshade.c]</p> </blockquote> -<p><strong><a name="2009-11-30T231219.025235Z"></a> -2009-11-30T23:12:19.025235Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-27T153001.093150Z"></a> +2010-05-27T15:30:01.093150Z Henry Stiles</strong></p> <blockquote> <pre> -Change from batch job distribution system to polled system. +Forward declarations for statics functions were accidentally placed in +the header file instead of the c file. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[base/gdevp14.c base/gdevp14.h]</p> </blockquote> -<p><strong><a name="2009-11-30T225724.661785Z"></a> -2009-11-30T22:57:24.661785Z Ray Johnston</strong> (<a href="Details.htm#2009-11-30T225724.661785Z">details</a>)</p> +<p><strong><a name="2010-05-27T004457.701730Z"></a> +2010-05-27T00:44:57.701730Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for segfault when image 'clues' are accessed during a GC after a -restore has erased (set to zero) the contents. Bug 690915. +Fix for indeterminism when using psdcmyk device and interpolated images. For cases where the device profile has fewer components than the actual number of device colorants we need to use the slower interpolation code. Otherwise we end up encoding uninitialized memory. </pre> +<p>[base/gxiscale.c]</p> +</blockquote> -</pre> -<p>[base/gxipixel.c]</p> +<p><strong><a name="2010-05-26T220150.106123Z"></a> +2010-05-26T22:01:50.106123Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug690218. For clist reader the pdf14 device was getting its color information set based upon the number of spot colorants in the page. The real number should be based upon the number of actual components the device is capable of handling. This occurs when using separation device with a limited set of colorants invoked via a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ] +/SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice"</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-11-30T203448.913220Z"></a> -2009-11-30T20:34:48.913220Z Henry Stiles</strong></p> +<p><strong><a name="2010-05-26T181652.113331Z"></a> +2010-05-26T18:16:52.113331Z Michael Vrhel</strong></p> <blockquote> <pre> -Remove an unnecessary diagnostic debug printf which should not have -been checked in. No expected differences. -</pre> -<p>[base/gsalloc.c]</p> +Improvements and fixes in icc search path description and bolder alert with respect to Windows delimiter \" interpretation . Thanks to Ray.</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2009-11-30T164008.309112Z"></a> -2009-11-30T16:40:08.309112Z Henry Stiles</strong></p> +<p><strong><a name="2010-05-26T160836.881438Z"></a> +2010-05-26T16:08:36.881438Z Henry Stiles</strong></p> <blockquote> <pre> -New procedure to dump memory chunks with less detail. This will be -used by the non garbage collecting client languages to print memory -leak information at the end of jobs. No expected differences. +The languages (pcl, xps, pclxl) debug builds were broken with the icc +branch merge, gs_abort() is not supported. The code has been changed +similarly to the old exit upon failed assertion code in gsalloc.c +where gs_abort() is replaced with return, fixes bug #691340. </pre> -<p>[base/gsalloc.c]</p> +<p>[base/gsicc_profilecache.c]</p> </blockquote> -<p><strong><a name="2009-11-30T090526.245478Z"></a> -2009-11-30T09:05:26.245478Z Ken Sharp</strong> (<a href="Details.htm#2009-11-30T090526.245478Z">details</a>)</p> +<p><strong><a name="2010-05-26T030702.463936Z"></a> +2010-05-26T03:07:02.463936Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI): Can't handle FontBBox as 't_mixedarray' +Addition of lcms and new icc files to Visual studio solution. Also did a little organizing of the files in the explorer window base folder.</pre> +<p>[ghostscript.vcproj]</p> +</blockquote> -</pre> -<p>[psi/zfapi.c]</p> +<p><strong><a name="2010-05-25T204302.039929Z"></a> +2010-05-25T20:43:02.039929Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of documentation, clarifying the search methods used for finding the icc profiles.</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2009-11-30T024711.189285Z"></a> -2009-11-30T02:47:11.189285Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-25T193823.177347Z"></a> +2010-05-25T19:38:23.177347Z Michael Vrhel</strong></p> <blockquote> <pre> -updating begin_image and fill_mask to cope with white/black+transparent +Removal of iccprofiles/ from default icc profile names and post-pend %rom% with iccprofiles/ . This is in preparation for having the ps init code initialize a default value for ICCProfilesDir (which will be ./iccprofiles/ ) so that code works with COMPILE_INITS=0 when not in the base directory and when -sICCProfilesDir is not specified on the command line.</pre> +<p>[base/gsiccmanage.c base/gsiccmanage.h]</p> +</blockquote> -Apparently not all black/white+transparent uses the copy_mono code path, which -has been recently updated to do white-on-mask. There are two other ways -black/white+transparent can pass through pxl - in begin_image() (as part of an -RGB/Gray image with an alpha channel) which is most of the files in bug -690947, and fill_mask() which has no known cases yet. +<p><strong><a name="2010-05-25T171559.119523Z"></a> +2010-05-25T17:15:59.119523Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make static some private functions to remove compiler warnings</pre> +<p>[contrib/gdevgdi.c base/gdevcairo.c contrib/gdevlx50.c]</p> +</blockquote> -Note the new addition to fill_mask() and begin_image() is not identical to that -in copy_mono() in the case of the drawing color being white - fill_mask() and -begin_image() both try to draw white on the blacks of a black/white mask and -transparent on the white, whereas copy_mono() draws white on the white and draw -transparent on the opposite (set to black but really transparent), so the -source is inverted in fill_mask() and begin_image() compared to copy_mono(). +<p><strong><a name="2010-05-25T171427.480893Z"></a> +2010-05-25T17:14:27.480893Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make private functions static to silence some missing prototype warning</pre> +<p>[imdi/cgen.c imdi/imdi_k.c]</p> +</blockquote> -</pre> -<p>[base/gdevpx.c]</p> +<p><strong><a name="2010-05-25T171318.238667Z"></a> +2010-05-25T17:13:18.238667Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +silent one compiler warning</pre> +<p>[base/gxstroke.c]</p> </blockquote> -<p><strong><a name="2009-11-30T024119.062276Z"></a> -2009-11-30T02:41:19.062276Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-25T135021.339560Z"></a> +2010-05-25T13:50:21.339560Z Ken Sharp</strong></p> <blockquote> <pre> -set ROP to paint through character glyphs (pattern tiles). +Fix copy CIDFontType 2 properly +Bug #690930 "Unicode Output: DEVICE=pdfwrite" + +When making a copy of a CIDFont with TrueType outlines (CIDFontType 2) for the +benefit of pdfwrite, do not simply copy the subst_CID_on_WMode structure member as +this will be restored away along with the font at end of page. Instead make a new +structure and store that in the copied font. + -Apparently complete pattern tiles are sent as a character in a custom symbol -font (rather than small rectangles for incomplete tiles), thus allowing re-use. -The code set the fill color but never set ROP to "paint with brush color" thus -glyphs appears as black. This patch set the ROP3 operation to paint through -complete pattern tiles. Fixes bug 690949, also some of the problems in bug -690585 (for ghostpdl). +No differences expected, local cluster test shows a few but I think (hope) these are +related to the ICC branch merge.</pre> +<p>[base/gxfcopy.c]</p> +</blockquote> +<p><strong><a name="2010-05-25T102209.642632Z"></a> +2010-05-25T10:22:09.642632Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691336: Resolve some confusion between the original global variable removal changes, and subsequent changes, that could result in warning emprintf calls using a memory pointer that could not exist at that stage. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T083157.775100Z"></a> +2010-05-25T08:31:57.775100Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a couple of gcc compiler warnings introduced with the ICC merge. +</pre> +<p>[base/gdevpdfk.c base/gdevpdfc.c]</p> </blockquote> -<p><strong><a name="2009-11-30T023644.876347Z"></a> -2009-11-30T02:36:44.876347Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-24T230659.017275Z"></a> +2010-05-24T23:06:59.017275Z Hin-Tak Leung</strong></p> <blockquote> <pre> -fix typo introduced in r5556 +Another bunch of CRLF to LF's. -It appears that 'r5556: Added macros for assertions' introduced a typo. -There is no known effect from this typo, except possibly stroke color -not being set where it should. +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs -n 1 svn propset svn:eol-style native +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs dos2unix </pre> -<p>[base/gdevpx.c]</p> +<p>[tiff/nmake.opt psi/zcolor.h toolbin/color/icc_creator/ICC_Creator/stdafx.h lib/cat.ps toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp toolbin/color/icc_creator/example/cielab_values.txt toolbin/color/icc_creator/ICC_Creator/icc34.h contrib/lxm3200-tweaked/LICENSE toolbin/color/icc_creator/README.txt toolbin/color/icc_creator/ICC_Creator/ICC_Creator.cpp toolbin/color/named_color/named_color_table.txt zlib/contrib/testzlib/testzlib.txt lib/Fontmap.URW-136.T1 toolbin/color/icc_creator/example/tritone_names.txt zlib/contrib/testzlib/testzlib.c toolbin/color/icc_creator/ICC_Creator/CIELAB.h toolbin/color/icc_creator/ICC_Creator/icc_create.h base/gsicc_profilecache.c toolbin/color/icc_creator/ICC_Creator/stdafx.cpp toolbin/color/icc_creator/ICC_Creator/resource.h base/gsicc_profilecache.h toolbin/color/icc_creator/example/tritone_cielab.txt base/gsicc_create.c toolbin/color/icc_creator/ICC_Creator/targetver.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/res/ICC_Creator.rc2 psi/zcie.h psi/write_t2.c base/gsicc_create.h toolbin/color/icc_creator/example/color_names.txt base/gscms.h toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h psi/fapibstm.c lib/Fontmap.URW-136.TT]</p> </blockquote> -<p><strong><a name="2009-11-30T023052.552359Z"></a> -2009-11-30T02:30:52.552359Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-24T223400.748368Z"></a> +2010-05-24T22:34:00.748368Z Hin-Tak Leung</strong></p> <blockquote> <pre> -another ID to name update</pre> -<p>[doc/AUTHORS]</p> +remove some more CR's and more eol-style native. + +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 svn propset svn:eol-style native +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 dos2unix + +</pre> +<p>[lcms/Delphi/delphidemo.dof lcms/src/makefile.simple lcms/Delphi/demo1.pas lcms/python/testbed/srgb2xyz.py lcms/Delphi/Samples/create.pas lcms/python/testbed/srgb2lab.py lcms/Delphi/delphidemo.dpr lcms/python/testbed/cam02.py lcms/makefile.simple lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/Delphi/delphidemo.cfg lcms/python/testbed/createmsh.py lcms/python/testbed/lab2adobe.py lcms/Delphi/Samples/testfrm.pas lcms/Delphi/Samples/testwp.pas lcms/src/lcms.def lcms/Delphi/Samples/getxyz.pas]</p> </blockquote> -<p><strong><a name="2009-11-30T022945.556262Z"></a> -2009-11-30T02:29:45.556262Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-24T222637.131050Z"></a> +2010-05-24T22:26:37.131050Z Hin-Tak Leung</strong></p> <blockquote> <pre> -avoid setting join to invalid value; issue found in bug 690585</pre> -<p>[base/gdevpx.c]</p> +manually fixing the last few files which escaped fileutils' identification. + +</pre> +<p>[lcms/python/lcms.py lcms/COPYING lcms/src/cmscam97.c lcms/aclocal.m4 lcms/ltmain.sh lcms/README.1ST lcms/configure.ac]</p> </blockquote> -<p><strong><a name="2009-11-29T024331.722821Z"></a> -2009-11-29T02:43:31.722821Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-24T222052.689626Z"></a> +2010-05-24T22:20:52.689626Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix to correct mask offsets (bit order) for big_endian as well as sharing this -array for the various devices. Bug 690954. +Changes c/c++/shell script/english text to native text and strip off CR. + +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs dos2unix +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs svn propset svn:eol-style native + </pre> -<p>[base/gdevtsep.c]</p> +<p>[lcms/doc/TUTORIAL.TXT lcms/matlab/icctrans.c lcms/src/cmswtpnt.c lcms/tifficc/getopt.c lcms/src/cmsgamma.c lcms/src/cmsnamed.c lcms/samples/vprf.c lcms/src/cmserr.c lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/src/cmsxform.c.orig lcms/samples/icc2ps.c lcms/python/lcms_wrap.cxx lcms/tifficc/tiffdiff.c lcms/src/cmssamp.c lcms/samples/xgetopt.c lcms/Delphi/lcmsdll.pas lcms/include/icc34.h.in lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/jpegicc/jpegicc.c lcms/jpegicc/iccjpeg.c lcms/samples/icctrans.c lcms/testbed/testcms.c lcms/samples/mktiff8.c lcms/jpegicc/iccjpeg.h lcms/tifficc/tifficc.c lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/src/cmsio0.c lcms/src/cmsio1.c lcms/samples/mkgrayer.c lcms/filter.c lcms/python/lcms.i lcms/src/cmsxform.c lcms/src/cmsintrp.c lcms/src/cmscnvrt.c lcms/include/lcms.h lcms/doc/LCMSAPI.TXT lcms/src/cmscgats.c lcms/src/cmscam02.c lcms/include/icc34.h lcms/src/cmslut.c lcms/src/cmsps2.c lcms/samples/wtpt.c lcms/samples/itufax.c]</p> </blockquote> -<p><strong><a name="2009-11-28T105910.646748Z"></a> -2009-11-28T10:59:10.646748Z Ken Sharp</strong> (<a href="Details.htm#2009-11-28T105910.646748Z">details</a>)</p> +<p><strong><a name="2010-05-24T220741.207483Z"></a> +2010-05-24T22:07:41.207483Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : segmentation violation with Multiple Master fonts +remove executable bits from files which don't need them. + +find . -type f -executable -exec file {} \; \ +| grep -v 'shell script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propdel svn:executable + +The last commit was created by: + + +find . -type f -executable -exec file {} \; \ +| grep 'script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native </pre> -<p>[psi/zfapi.c]</p> +<p>[lcms/Projects/VC6/lcms.rc lcms/Projects/VC7/lcms.rc lcms/bin/Bin.txt lcms/Delphi/Samples/create.pas lcms/samples/vprf.c lcms/configure.ac lcms/README.1ST lcms/lcms.pc.in lcms/Projects/VC2008/lcms.sln lcms/testbed/sRGBSpac.icm lcms/Projects/VC2008/lcms.vcproj lcms/python/testbed/lab2adobe.py lcms/Delphi/demo1.dfm lcms/samples/xgetopt.c lcms/Projects/VC2005/icclink.vcproj lcms/Projects/VC6/icclink.dsp lcms/Projects/VC7/lcms.vcproj lcms/src/cmscam97.c lcms/testbed/testcms.c lcms/Projects/VC6/icc2ps.dsp lcms/Projects/VC7/icctrans.vcproj lcms/python/testbed/srgb2lab.py lcms/Projects/VC7/tifficc.vcproj lcms/filter.c lcms/Projects/VC6/lcms.dsp lcms/Delphi/delphidemo.cfg lcms/Projects/VC7/icc2ps.vcproj lcms/Projects/VC6/lcms.dsw lcms/Delphi/Samples/testwp.pas lcms/Projects/VC7/lcms.sln lcms/Projects/VC2008/tifficc.vcproj lcms/Projects/VC2005/resource.h lcms/python/testbed/whtpnt.py lcms/doc/TUTORIAL.TXT lcms/src/cmswtpnt.c lcms/Projects/VC2005/Python.vcproj lcms/Projects/BorlandC_5.5/mklcmsdll.bat lcms/include/Makefile.am lcms/Projects/VC7/jpegicc.vcproj lcms/install.gcc lcms/samples/wtpt.1 lcms/Projects/BorlandC_5.5/lcmsdll.lk lcms/src/cmserr.c lcms/makefile.simple lcms/Projects/BorlandC_5.5/lcms.rc lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/Makefile.am lcms/python/testbed/sRGB Color Space Profile.icm lcms/Projects/VC2008/jpegicc.vcproj lcms/Projects/VC7/lcmsdll.vcproj lcms/AUTHORS lcms/samples/icc2ps.1 lcms/Projects/VC2008/resource.h lcms/src/makefile.simple lcms/samples/mktiff8.c lcms/python/testbed/virtprf.py lcms/python/testbed/clamp.py lcms/Projects/BorlandC_5.5/lcmsdll.lst lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/src/cmsio0.c lcms/python/testbed/cam02.py lcms/Projects/VC6/resource.h lcms/src/cmsxform.c lcms/python/lcms.i lcms/src/cmsintrp.c lcms/Projects/VC2008/lcmsdll.vcproj lcms/jpegicc/jpegicc.1 lcms/COPYING lcms/Projects/VC2005/lcms.rc lcms/samples/icctrans.1 lcms/Projects/VC7/tiffdiff.vcproj lcms/src/cmscgats.c lcms/Projects/VC2008/lcms.rc lcms/tifficc/tifficc.1 lcms/src/cmscam02.c lcms/matlab/icctrans.matlab.pdf lcms/python/testbed/createmsh.py lcms/src/cmslut.c lcms/tifficc/Makefile.am lcms/Lib/MS/MS.TXT lcms/samples/wtpt.c lcms/Projects/VC6/tifficc.dsp lcms/Projects/VC7/Testbed.vcproj lcms/python/testbed/gamma.py lcms/samples/itufax.c lcms/python/Makefile.am lcms/Delphi/demo1.pas lcms/src/cmsgamma.c lcms/Projects/VC6/Python.dsp lcms/Projects/VC2008/Python.vcproj lcms/src/cmsnamed.c lcms/src/cmsxform.c.orig lcms/Projects/VC6/lcmsdll.dsp lcms/Projects/VC2008/Testbed.vcproj lcms/Projects/VC2005/lcms.vcproj lcms/python/testbed/AdobeRGB1998.icc lcms/samples/icc2ps.c lcms/tifficc/tiffdiff.c lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/src/cmssamp.c lcms/NEWS lcms/samples/Makefile.am lcms/Projects/VC2005/icctrans.vcproj lcms/Projects/VC2005/tifficc.vcproj lcms/Delphi/lcmsdll.pas lcms/Projects/VC2008/icctrans.vcproj lcms/include/icc34.h.in lcms/Delphi/delphidemo.dof lcms/Projects/VC6/lcms.opt lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/Projects/VC6/Python.plg lcms/jpegicc/jpegicc.c lcms/samples/icctrans.c lcms/Delphi/Samples/MAKETEST.BAT lcms/Projects/VC2005/icc2ps.vcproj lcms/ltmain.sh lcms/Delphi/Samples/gamutchk.pas lcms/tifficc/tifficc.c lcms/Projects/VC2005/lcms.sln lcms/src/cmsio1.c lcms/Projects/VC6/Testbed.dsp lcms/INSTALL lcms/Projects/VC7/icclink.vcproj lcms/jpegicc/makefile.simple lcms/jpegicc/Makefile.am lcms/Projects/VC2005/jpegicc.vcproj lcms/samples/icclink.1 lcms/Delphi/Samples/testfrm.pas lcms/Projects/VC6/jpegicc.dsp lcms/Projects/VC6/icctrans.dsp lcms/src/lcms.def lcms/Delphi/demo1.dcu lcms/Delphi/Samples/getxyz.pas lcms/matlab/icctrans.c lcms/ChangeLog lcms/Projects/VC2008/icclink.vcproj lcms/tifficc/getopt.c lcms/Lib/BC/BC.txt lcms/testbed/makefile.simple lcms/Projects/VC6/Testbed.plg lcms/Delphi/delphidemo.dpr lcms/testbed/Makefile.am lcms/Projects/VC2005/lcmsdll.vcproj lcms/Projects/VC7/resource.h lcms/Projects/VC7/Python.vcproj lcms/Delphi/demo1.ddp lcms/python/testbed/cam97.py lcms/jpegicc/iccjpeg.c lcms/python/testbed/constant.py lcms/Projects/VC2005/tiffdiff.vcproj lcms/python/testbed/srgb2xyz.py lcms/python/testbed/info.py lcms/jpegicc/iccjpeg.h lcms/Projects/VC2008/tiffdiff.vcproj lcms/Projects/VC2008/icc2ps.vcproj lcms/src/Makefile.am lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/Projects/VC2005/Testbed.vcproj lcms/samples/mkgrayer.c lcms/include/lcms.h lcms/Delphi/delphidemo.res lcms/src/cmscnvrt.c lcms/python/swig_lcms lcms/doc/LCMSAPI.TXT lcms/python/testbed/sRGB2adobe.py lcms/tifficc/makefile.simple lcms/include/icc34.h lcms/src/cmsps2.c]</p> </blockquote> -<p><strong><a name="2009-11-28T043943.983110Z"></a> -2009-11-28T04:39:43.983110Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-24T220213.500457Z"></a> +2010-05-24T22:02:13.500457Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Changes to accomodate the transition from casper2 to casper3. +make all shell scripts in the lcms directory eol-style native. </pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[lcms/depcomp lcms/compile lcms/missing lcms/config.guess lcms/config.sub lcms/install-sh lcms/mkinstalldirs lcms/configure]</p> </blockquote> -<p><strong><a name="2009-11-27T191508.980517Z"></a> -2009-11-27T19:15:08.980517Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-24T183616.496917Z"></a> +2010-05-24T18:36:16.496917Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix dereference of NULL when target device passed to gx_forward_put_params -was NULL. This occurred with the standalone 'bbox' device. +Add missing EOL to the last line in one of the new ICC files +because MSVC 6 requires this. </pre> -<p>[base/gdevnfwd.c]</p> +<p>[base/gsiccmanage.c]</p> </blockquote> -<p><strong><a name="2009-11-27T190702.726122Z"></a> -2009-11-27T19:07:02.726122Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-24T163158.315172Z"></a> +2010-05-24T16:31:58.315172Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for Device N capable device segfaults (psdcmyk, tiffsep, tiffsep1, ...) that use -the gdevdevn.c parameter handling. A 'restore' could free up separation names but -the pointers in the device were unchanged. Bug 690956. +Merge of icc_work branch into trunk. + +These changes make the color architecture of the graphics library ICC-based. All colors are now managed in terms of ICC profiles including PS CIE color spaces, for which equivalent ICC profiles are created. A big feature of this change is that it makes it very easy to interface a color management module (CMM) to ghostscript. The default CMM is now littleCMS and the interface to littleCMS is contained in gsicc_littlecms.c . +New member variables were added to the imager state including an ICC manager, which stores the default ICC profiles; a link cache, which reduces the cost of creating links between ICC profiles, and a profile cache which stores color spaces created from PS CIE, PDF CalRGB and PDF CalGray colors spaces. + +A new directory named iccprofiles has been added. It contains the default ICC profiles used if none are specified in the command line. If COMPILE_INITS=1, these will be included in the ROM file system. The new command line options related to ICC profiles are described in the Use.htm documentation. + +For c-list based rendering, all ICC profiles used in the rendering are stored in the c-list. During multi-threaded c-list reading, a link cache is associated with the primary reader device and is shared amongst the various threads. + +Efficiency improvements were made in the handling of soft mask groups, shading smoothness calculations, and color image rendering. + +For details on the branch, please see the commits that were made within the branch. There remain indeterminisms to fix. The files affected include Bug688807.pdf, Bug688845.eps, Bug690208.pdf, 09-34.PS, CATX0988.pdf, CATX1028.pdf, CATX1101.pdf, CATX5529.pdf. + +Rendering issues to investigate include Bug689830.pdf, fts43xx.xps (page 3) (shopping cart image), Bug689880.pdf, Bug691002.pdf, Bug689968.pdf, Bug688584.ps (page 4), catx4949.pdf. + +Note that the number of differences generated with the merge amounts to pretty much every file. + +Thanks to everyone who helped and provided input in this work, especially Ray Johnston. </pre> -<p>[base/gdevdevn.c]</p> +<p>[base/gdevpdfk.c base/gxclimag.c doc/Use.htm base/gdevdflt.c psi/icie.h base/gxpcmap.c base/gxpcolor.h lcms base/gscsepr.c base/gxshade4.c base/gxclthrd.c base/gxcmap.c base/gscscie.c base/gdevwts.c base/gsistate.c base/msvclib.mak base/gxclpage.c base/gscolor2.c base/gsicc_profilecache.c base/gxistate.h base/gscolor2.h base/gsicc_profilecache.h iccprofiles base/gdevp14.c base/gsicc_create.c base/gdevp14.h base/gsicc_create.h psi/write_t2.c psi/zusparam.c base/gdevpbm.c psi/zcolor.c psi/ztrans.c base/gdevpdft.c base/gxshade1.c /trunk/gs base/gdevpsdi.c psi/ireclaim.c psi/os2.mak base/watclib.mak Resource/Init/gs_lev2.ps base/gdevpsdu.c base/gscie.c base/gxclutil.c base/gscolor3.c base/gdevpsd.c base/gscie.h base/gxiscale.c base/gxcldev.h Resource/Init/gs_res.ps base/gxifast.c base/gxdevcli.h base/openvms.mak base/watcw32.mak base/gscms.h psi/msvc32.mak base/gsalloc.c base/lcms.mak base/gxp1fill.c base/gximage.h base/gsciemap.c base/gdevpx.c psi/zcsdevn.c base/ugcclib.mak base/unix-gcc.mak base/gsovrc.c base/gxcie.h base/macos-mcp.mak base/gxshade6.c base/macosx.mak base/gsccolor.h base/gdevrinkj.c base/unixansi.mak base/devs.mak base/gsicc.c base/gxipixel.c base/lib.mak psi/zimage.c base/gsicc.h psi/dxmain.c psi/dxmainc.c Resource/Init/pdf_draw.ps base/gscolor.c Resource/Init/pdf_ops.ps psi/zdevice.c psi/zcie.c psi/zdpnext.c base/gxclist.c psi/zcie.h base/gximono.c base/gxidata.c base/gstrans.c psi/iimage.h base/gdevpdfb.c base/gxclist.h base/gxshade.c base/gstrans.h base/gxclrast.c psi/zncdummy.c base/gxshade.h toolbin/color base/gsiccmanage.c base/Makefile.in base/gdevpdfv.c base/gsiccmanage.h base/gsicc_littlecms.c base/gxclpath.c base/gsicc_littlecms.h psi/icontext.c base/gxclpath.h base/gsstruct.h base/gdevxcf.c base/gxicolor.c base/gscspace.c base/gdevimdi.c base/gscdevn.c base/gscolor1.c base/gxclread.c base/gscspace.h base/bcwin32.mak base/gsdparam.c base/gs.mak psi/zshade.c base/gdevbbox.c psi/int.mak base/gxcspace.h psi/zicc.c base/gsstate.c base/winlib.mak base/gsicccache.c psi/zicc.h psi/zimage3.c base/gsicccache.h base/gdevpdfc.c base/gstparam.h base/gxblend.c base/gdevpdfg.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2009-11-27T141919.911778Z"></a> -2009-11-27T14:19:19.911778Z Ken Sharp</strong> (<a href="Details.htm#2009-11-27T141919.911778Z">details</a>)</p> +<p><strong><a name="2010-05-24T020113.653152Z"></a> +2010-05-24T02:01:13.653152Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (FAPI) : invalid fonts resulting in errors - +Recognize Corel tint transform function and replace it with an equivalent +calculator function. Bug 690986. </pre> -<p>[psi/fapi_ft.c]</p> +<p>[psi/zfunc4.c]</p> </blockquote> -<p><strong><a name="2009-11-27T005509.262519Z"></a> -2009-11-27T00:55:09.262519Z Robin Watts</strong></p> +<p><strong><a name="2010-05-23T001525.592930Z"></a> +2010-05-23T00:15:25.592930Z Alex Cherepanov</strong></p> <blockquote> <pre> -Part 2 of commit 10391. Reinitroduce special cases in a way that doesn't change -the output. A clustertest shows 33 differences overall, but testing of those -files on my local machine shows them all to be identical. +Decide whether load a CFF font as a simple font or a CIDFont based on the +/Subtype of the font object instead of the /Subtype of the font stream. +Acrobat appears to ignore the latter. Bug 691334. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> -This fixes bug 687666. +<p><strong><a name="2010-05-22T091730.088324Z"></a> +2010-05-22T09:17:30.088324Z Ken Sharp</strong></p> +<blockquote> +<pre> +Explicit pointer cast to silence a gcc compiler warning. +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> +<p><strong><a name="2010-05-21T151607.910956Z"></a> +2010-05-21T15:16:07.910956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following Acrobat implementation but contrary to TTF spec, consider cmap entry +that has endCode < startCode as an entry with endCode == startCode. +According to the spec, "to use these arrays, it is necessary to search for the +first endCode that is greater than or equal to the character code to be +mapped. If the corresponding startCode is less than or equal to the character +code ...". I.e. an entry with endCode < startCode should have no effect. +Thanks to Ken for the patch. Bug 691326. </pre> -<p>[base/gdevddrw.c]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2009-11-26T204831.400887Z"></a> -2009-11-26T20:48:31.400887Z Robin Watts</strong></p> +<p><strong><a name="2010-05-21T081456.354805Z"></a> +2010-05-21T08:14:56.354805Z Ken Sharp</strong></p> <blockquote> <pre> -First of a 2 part commit, fixing the special case horizontal/vertical -rectangle code in the thin line code in gdevddrw.c, as it doesn't match -the general case. This will cause many differences in the regression tests. +Fix: device reference counting problem with patterns and clipping + +Bug #690572 more details here. The problem was caused by installing a clip device while +drawing a pattern tile. This patch initialises the finalize member of the structure +where the clip device will be created to NULL. If a clip device is required, the member +will be initialised to a real routine. After drawing the pattern cell, if the finalize +routine is non-NULL we execute it. -Part 2 will commit a fixed version that will hopefully show none. +This correctly dereferences the forwarded device if we create a clipping device. </pre> -<p>[base/gdevddrw.c]</p> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-05-21T063511.431787Z"></a> +2010-05-21T06:35:11.431787Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding missing dependencies so that setupgs and uninstgs can be built ahead or independent of the main targets</pre> +<p>[psi/winint.mak psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-11-26T165325.042900Z"></a> -2009-11-26T16:53:25.042900Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-20T073106.101672Z"></a> +2010-05-20T07:31:06.101672Z regression</strong></p> <blockquote> <pre> -Removed commented out code that should not have been left behind in revision 10389 +The clustermaster.pl code now checks the pid in the lock file to see if the +task is running. Also no longer test pdfwrite with the language switch build. </pre> -<p>[psi/zfapi.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> </blockquote> -<p><strong><a name="2009-11-26T164403.688193Z"></a> -2009-11-26T16:44:03.688193Z Ken Sharp</strong> (<a href="Details.htm#2009-11-26T164403.688193Z">details</a>)</p> +<p><strong><a name="2010-05-20T062443.585523Z"></a> +2010-05-20T06:24:43.585523Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : intermittent crashes with TrueType fonts +Fix up the eol-style of the rest of the executable files by hand. +Remove executable bit from toolbin/bmpcmp.c </pre> -<p>[psi/zfapi.c]</p> +<p>[toolbin/bmpcmp.c jbig2dec/ltmain.sh tiff/config/ltmain.sh libpng/contrib/pngminim/encoder/gather.sh libpng/contrib/pngminim/preader/gather.sh libpng/scripts/libpng-config-body.in libpng/contrib/pngminim/decoder/gather.sh toolbin/tests/gsvalidate.py]</p> </blockquote> -<p><strong><a name="2009-11-26T101815.394246Z"></a> -2009-11-26T10:18:15.394246Z Ken Sharp</strong> (<a href="Details.htm#2009-11-26T101815.394246Z">details</a>)</p> +<p><strong><a name="2010-05-20T061020.265063Z"></a> +2010-05-20T06:10:20.265063Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Incorrect GID supplied to font interpreter for CIDFonts with TT outlines +Set other type of shell script as native text. + +find . -type f -executable -exec file {} \; | \ + grep 'script text executable' | grep -v 'POSIX' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native </pre> -<p>[psi/zfapi.c]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/tests/dump_checksum.py toolbin/tests/gscheck_testfiles.py toolbin/tests/dump_checksum_plus.py toolbin/localcluster/readlog.pl toolbin/search-svn-revs toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/clusterpush.pl toolbin/tests/dump_checksum_raw.py toolbin/localcluster/compare.pl toolbin/localcluster/comparerevs.pl toolbin/tests/find_unique_file.py toolbin/localcluster/clustermaster.pl toolbin/localcluster/weekly.sh toolbin/localcluster/build.pl toolbin/tests/build_revision.py toolbin/htmldiff.pl toolbin/tests/compare_checksumdb.py toolbin/tests/update_baseline.py toolbin/tests/make_baselinedb.py toolbin/tests/validate.py toolbin/bugsByEngineer.pl toolbin/localcluster/clusterpull.sh toolbin/tests/regen_filelist.py toolbin/localcluster/pngs2html.pl toolbin/localcluster/nightly.pl freetype/builds/mac/ascii2mpw.py toolbin/tests/compare_checksums.py toolbin/tests/run_nightly.py toolbin/tests/regen_baseline.py toolbin/tests/myoptparse.py toolbin/tests/get_baselines.py toolbin/tests/run_regression.py toolbin/localcluster/setupcluster toolbin/localcluster/clustermonitor.pl toolbin/tests/testdiff.py toolbin/tests/updatelistpdf.py toolbin/tests/run_series.py toolbin/tests/updatelist.py toolbin/localcluster/run.pl toolbin/tests/get_baseline_log.py toolbin/performance.pl toolbin/localcluster/cachearchive.pl toolbin/tests/make_testdb.py toolbin/tests/collate.py]</p> </blockquote> -<p><strong><a name="2009-11-26T101300.448002Z"></a> -2009-11-26T10:13:00.448002Z Ken Sharp</strong> (<a href="Details.htm#2009-11-26T101300.448002Z">details</a>)</p> +<p><strong><a name="2010-05-20T060141.643170Z"></a> +2010-05-20T06:01:41.643170Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : CIDFonts not working with fonts containing a CDevProc +Set all identifiable shell script as native text + +find . -type f -executable -exec file {} \; | \ +grep 'POSIX shell script text executable' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native </pre> -<p>[psi/zfapi.c]</p> +<p>[libpng/missing cups/pstoraster.in libpng/test-pngtest.sh cups/pstopxl.in libpng/install-sh jbig2dec/configure libpng/configure contrib/pcl3/ppd/catppd toolbin/clusterpush.sh libpng/depcomp jpeg/install-sh jbig2dec/config.guess contrib/pcl3/lib/if-pcl3 freetype/configure libpng/config.guess jasper/configure tiff/config/missing jbig2dec/config.sub jpeg/configure libpng/config.sub tiff/config/install-sh jpeg/config.guess zlib/configure jpeg/config.sub tiff/config/depcomp libpng/scripts/libpng-config-head.in tiff/config/compile libpng/scripts/libpng-config.in libpng/autogen.sh tiff/config/config.guess jbig2dec/mkinstalldirs jpeg/ltconfig tiff/config/config.sub libpng/mkinstalldirs contrib/epson740/ps-to-printer.fpi_rh5.2 jasper/acaux/missing jasper/acaux/install-sh tiff/autogen.sh freetype/builds/unix/install-sh freetype/builds/unix/mkinstalldirs tiff/configure jasper/acaux/depcomp jasper/acaux/compile tiff/config/mkinstalldirs jasper/acaux/config.guess contrib/pcl3/lib/cups-pcl3 jasper/acaux/config.sub]</p> </blockquote> -<p><strong><a name="2009-11-26T071302.012525Z"></a> -2009-11-26T07:13:02.012525Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-20T055235.456761Z"></a> +2010-05-20T05:52:35.456761Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Report enhancments as a separate category in the the weekly bug aging report. Closes bug 690524. +Avoid raw carriage returns in configure which confuses svn + +This is a known bug apparently of autoconf 2.63 which was fixed. Here is the upstream log entry: +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb34ecf + + 2008-10-27 Eric Blake <ebb9@byu.net> + + Avoid raw carriage return in scripts. + * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR + via tr, rather than with literal byte. + * THANKS: Update. + Reported by Steven R. Loomis; patch suggested by Thomas Dickey. + + </pre> -<p>[toolbin/bugsByEngineer.pl]</p> +<p>[jbig2dec/configure]</p> </blockquote> -<p><strong><a name="2009-11-26T004735.579155Z"></a> -2009-11-26T00:47:35.579155Z Robin Watts</strong></p> +<p><strong><a name="2010-05-19T145138.835112Z"></a> +2010-05-19T14:51:38.835112Z Robin Watts</strong></p> <blockquote> <pre> -Fix for bug 688655: stroking of wide curves with high curvature would -previously have left strange effects under the curve, and had nasty -flattening artifacts on the outside of joins. +Some work towards (but not a complete cure for) bug 691030. + +Previously XXX_slant_into_trapezoids would check for 2 'simple' cases, +and bale into the fully general fill_slant_adjust function otherwise. +The simple cases were where the top span was a subset of the bottom one, or +vice versa. -Here we alter the stroking logic to spot that line segments come from curves -and we render using round joins both above and below the curve. +Unfortunately the way the code to test for these cases was originally written, +one of these special cases could be used for shaped with vertical sides, and +the other couldn't. + +By rewriting the test slightly, both cases can be used with trapezoids that +have one vertical side. + +For good measure we also extract the 'rectangle' case out separately. + +Cluster testing shows no differences (barring a couple of indeterminisms). + +This reduces the output from 5 shapes (2 rectangles, 3 traps) to 3 (2 +rectangles, 1 trap). One of the rectangles is still a repeat, but it's +a step in the right direction. -This gives us correct rendering of tests/ps/jointest.ps for the first time. -This causes about 4000 diffs. I've generated a huge number of them locally -and they all seem to be the odd pixel changed do to rounding. Where differences -are larger I've convinced myself that the difference is correct. </pre> -<p>[base/gxstroke.c]</p> +<p>[base/gxfillts.h]</p> </blockquote> -<p><strong><a name="2009-11-25T195911.063393Z"></a> -2009-11-25T19:59:11.063393Z Henry Stiles</strong></p> +<p><strong><a name="2010-05-19T100905.486708Z"></a> +2010-05-19T10:09:05.486708Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Remove the string list implementation from the "nogc" allocator. This -makes the implementation much simpler and there was little or no -performance improvement with the string lists. Also this file has -been cleaned up of archaic comments about VMS, compiler support -comments, pragmas, etc. No expected differences. -</pre> -<p>[base/gsnogc.c]</p> +Bug 691291. Fix reading uninitialized memory. + +The change I made in r10603 had a problem comparing with +uninitialized data when using Roman fonts. +The side effect was slowing down font rendering a little. +In this change I added extra initializer and made +intention of the 'if' condition more clear. +No difference on outputs expected nor observed by localcluster +tests.</pre> +<p>[base/gschar0.c]</p> </blockquote> -<p><strong><a name="2009-11-24T165112.328850Z"></a> -2009-11-24T16:51:12.328850Z Robin Watts</strong></p> +<p><strong><a name="2010-05-19T074220.717044Z"></a> +2010-05-19T07:42:20.717044Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix for bug 690938. Revert revision 10294, an attempt to fix a valgrind bug, -and instead initialise the bbox of paths to the maximally invalid bbox. +Follow-up to r11278. Removing jbig2dec/config.h. -As soon as any point is added to the bbox, we'll get a valid bbox. Note that -the "bbox_set" flag does NOT mean "the bbox is valid", it instead means "the -bbox has been set, as per the setbbox postscript operator". +r11278 enabled jbig2dec/configure to be run. +I agree with the change but jbig2dec/config.h was also under +subversion control. With r11278, after someone runs +'configure' or 'autogen.sh', jbig2dec/config.h become +modified status. +jbig2dec/config.h doesn't need to be here. Deleting. +Related bug: 691304 & 691312.</pre> +<p>[jbig2dec/config.h]</p> +</blockquote> -</pre> -<p>[base/gxpath.c base/gxpath2.c base/gxpath.h]</p> +<p><strong><a name="2010-05-18T224039.023883Z"></a> +2010-05-18T22:40:39.023883Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +define -DHAVE_CONFIG_H and run jbig2dec/configure from top-level configure. The fixes some portability issues seen on opensolaris; further follow-up to bug 691304</pre> +<p>[base/Makefile.in base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-11-24T123117.678731Z"></a> -2009-11-24T12:31:17.678731Z Robin Watts</strong></p> +<p><strong><a name="2010-05-18T222947.346946Z"></a> +2010-05-18T22:29:47.346946Z Hin-Tak Leung</strong></p> <blockquote> <pre> -In revision 10351 I commited a partial fix for Bug 690531 that added a new -method for stroking a path. Due to a silly mistake on my part when stroking -paths with round caps, we could occasionally fail due to a confusion over -which caps to use. +typo in one word. bug 691323</pre> +<p>[doc/Readme.htm]</p> +</blockquote> -Ralph reported this issue as bug 690639. The error is fixed here, but this -doesn't solve all the rendering problems. Investigations continuing. +<p><strong><a name="2010-05-18T222313.250745Z"></a> +2010-05-18T22:23:13.250745Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster code: + support language switch build testing + recover from disk full errors + automatically create directories needed for new nodes in run.pl </pre> -<p>[base/gxstroke.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-24T083627.174072Z"></a> -2009-11-24T08:36:27.174072Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-18T122248.908526Z"></a> +2010-05-18T12:22:48.908526Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Don't use sed's extended regular expression syntax in configure.ac. - -GNU and Mac OS X have different command line options to enable them and since -it was only used once, it's easier to simply use the standard regexp format. +Disabling compiler warnings for discarding 'const'. </pre> -<p>[base/configure.ac]</p> +<p>[jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-11-24T013119.408746Z"></a> -2009-11-24T01:31:19.408746Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-18T085518.202611Z"></a> +2010-05-18T08:55:18.202611Z Chris Liddell</strong></p> <blockquote> <pre> -Implement JBIG2Decode generic regions using TPGDON. +Bug 691313: remove the IBM Omni driver from the default build on Linux. Previously it could be excluded by giving configure "--without-omni", this revision reverses the logic, so Omni can be include by giving configure "--with-omni".</pre> +<p>[base/configure.ac]</p> +</blockquote> -Closes bug 690791. +<p><strong><a name="2010-05-18T043225.607601Z"></a> +2010-05-18T04:32:25.607601Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Change the order in which jobs that take too long are killed on the cluster nodes to prevent leftover jobs when running bmpcmp. </pre> -<p>[jbig2dec/jbig2_generic.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-23T173516.098214Z"></a> -2009-11-23T17:35:16.098214Z Ray Johnston</strong> (<a href="Details.htm#2009-11-23T173516.098214Z">details</a>)</p> +<p><strong><a name="2010-05-17T154838.534341Z"></a> +2010-05-17T15:48:38.534341Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for segfault reported in 690880 with separation devices. The is_open flag -was not being properly maintained when put_params resulted in a target device -closing due to DeviceN color state changing. +Fix - type 1/CFF font interpreter. +The gs_type1_piece_codes routine interprets a type 1 or CFF glyph program to determine +whether the glyph is composed of two subglyphs (a SEAC). + +There was a problem with the CFF opcode cntrmask which did not cater for the case where +it is called with a number of operands on the stack. In this case the operands are to +be interpreted as vstem hints. Because this was not done, the interpreter had the wrong +number of hints, and so did not interpret enough of the following bytes as mask data for +the cntrmask operation. This led to attempting to interpret data as operands, which +caused corrupted glyphs as well as potential crashes. +This does not appear to be tested by any of our current test files (according to a +cluster test), so no differences are expected. </pre> -<p>[base/gdevp14.c base/gdevnfwd.c]</p> +<p>[base/gxtype1.c]</p> </blockquote> -<p><strong><a name="2009-11-23T024456.504420Z"></a> -2009-11-23T02:44:56.504420Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-17T082506.874101Z"></a> +2010-05-17T08:25:06.874101Z Ken Sharp</strong></p> <blockquote> <pre> -Report pdfwrite differences separately from other differences. +white space change only, committed to make a regression run as the test for the +previous revision was interrupted.</pre> +<p>[psi/write_t1.c]</p> +</blockquote> +<p><strong><a name="2010-05-17T075543.268496Z"></a> +2010-05-17T07:55:43.268496Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler and make warnings. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[psi/write_t1.c psi/int.mak psi/write_t1.h]</p> </blockquote> -<p><strong><a name="2009-11-22T234621.529560Z"></a> -2009-11-22T23:46:21.529560Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-17T043957.140765Z"></a> +2010-05-17T04:39:57.140765Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Add description of the tiffsep1 device. It was mentioned in the previous update, -but the basic device characteristics were missing. +adding check for header stringprep.h; fix bug 691312</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-17T035931.965365Z"></a> +2010-05-17T03:59:31.965365Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fixes portability issue properly with r11256 (which is identical with r11520), +first discovered by Ralph 6 months ago with r10520 +which results in its being reverted in r10540 . + +****************************** + Revert c10520 which causes problems with the MSVC build. + + $(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft + extensions. This often causes problems with 3rd party libraries + which try to take advantage of those extensions. + + This means that the -fPIC flag is again not propagated in the GCC + build; this is just to unbreak the build until I can test a different + solution which works on both platforms. +****************************** +As Ralph explained then, some of libtiff requires non-ansi extensions to work. + +The main culpit is tif_win32.c (which includes <windows.h>) and some of the +file IO flags not being defined. So this commit fix the ansi issue properly. + </pre> -<p>[doc/Devices.htm]</p> +<p>[tiff/libtiff/tiffiop.h base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-22T200944.171077Z"></a> -2009-11-22T20:09:44.171077Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-17T034702.654413Z"></a> +2010-05-17T03:47:02.654413Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added a -sCompression parameter to all TIFF devices. +fix windows build breakage in r11249 -This parameter sets the compression scheme of the resulting file and can take -the values 'none', 'crle', 'g3', 'g4', 'lzw', and 'pack'. crle, g3, and g4 -only work for 1-bit devices. For tiffsep, it sets the compression scheme of -the separation files, the composite cmyk file is always saved uncompressed. +This change (defining TIFFCONFIG_SUFFIX) should have been part of + r11249 (create tif_config.h for non-autoconf build) +which in turn should have been part of + r11241 (hook up libtiff with non-autoconf build via + "make -f base/unix-gcc.mak" and "make -f base/unixansi.mak") -Libtiff supports many more compression formats (e.g. jpeg, deflate). Adding -them to this implementation is trivial. +The explanation is that in r10317 where Lars originally hooked up libtiff, +tif_config.h is generated by libtiff/configure (which is driven by the +top-level configure), but special provision is provided for non-autoconf build +(win32 and VMS) by copying from a canned header file. +If one chooses to bypass the top-level configure, *on every platform* +(win32, VMS, and non-autoconf unix build), one must provide similiar special +provision as well. -doc/Devices.htm documents the parameter further. +Personally I'll prefer not to support non-autoconf unix build. </pre> -<p>[base/gdevtifs.c base/gdevtifs.h base/gdevtsep.c doc/Devices.htm base/gdevtfnx.c base/gdevtfax.c]</p> +<p>[base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-21T094454.242928Z"></a> -2009-11-21T09:44:54.242928Z Ken Sharp</strong> (<a href="Details.htm#2009-11-21T094454.242928Z">details</a>)</p> +<p><strong><a name="2010-05-16T183240.253209Z"></a> +2010-05-16T18:32:40.253209Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix (pdfwrite) : problems with type 3 fonts and glyphshow +Changes to the nightly regression testing system to support weekly testing. +</pre> +<p>[toolbin/localcluster/nightly.pl toolbin/localcluster/weekly.sh toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl]</p> +</blockquote> +<p><strong><a name="2010-05-15T105714.279373Z"></a> +2010-05-15T10:57:14.279373Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +rename PDEP to TIFFDEP to avoid clashing with PDEP from libpng.mak; bug 691299</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T105547.722308Z"></a> +2010-05-15T10:55:47.722308Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +comment out a later duplcate definition; bug 691299</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T095005.378608Z"></a> +2010-05-15T09:50:05.378608Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +latest version of these files from Adobe's web site: http://download.macromedia.com/pub/opensource/cmap/</pre> +<p>[Resource/CMap/UniGB-UTF8-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniCNS-UTF8-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/UniGB-UTF16-H]</p> +</blockquote> + +<p><strong><a name="2010-05-15T094615.270585Z"></a> +2010-05-15T09:46:15.270585Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add skeleton support for the Bitstream font engine. In its current form this only allows +for type 1 PostScritp fonts, CFF is trivial to add, as should be support for Bitstream's +own compressed format. Addition of type 42/TrueType fonts should be patterned after +FreeType, as there is support in Bitstream for a callback to provide TrueType +outlines. There is no such provision for PostScript fonts. + +To build; define BITSTREAM_BRIDGE=1 and BITSTREAM_ROOT="", the root should point one +level above the 'core' directory. In the current code this would be : +"/bitstream/FontFusion 4.5a SDK" </pre> -<p>[base/gdevpdts.c]</p> +<p>[psi/zfapi.c psi/ifapi.h psi/write_t1.c psi/int.mak psi/msvc32.mak psi/fapibstm.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T081759.395641Z"></a> +2010-05-15T08:17:59.395641Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +better way of defining SOC_LOADER when try ing to do "make -f base/unix-gcc.mak so"</pre> +<p>[base/unix-dll.mak base/unix-gcc.mak]</p> </blockquote> -<p><strong><a name="2009-11-20T200926.637666Z"></a> -2009-11-20T20:09:26.637666Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-15T080646.613460Z"></a> +2010-05-15T08:06:46.613460Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix segfaults in tiffsep and tiffsep1 -- After TIFFCleanup, need to set the tiff -structure pointer to NULL to prevent later use. Fix separation file name logic -to substitute a harmless '_' character for characters that cause file system -action ('/'. '\' and ':'). +The final part of trying to "ln -s base/unix-gcc.mak Makefile ; make so" work. + +There were some fundamental problems with the older version: The so target really +should be built in three distinct stages with three different FLAGS - the +utils (genarch, gechogs) executable part, the shared library part, and the two final +executable part. The library should be built with the shared-object flags, but neither +of the utils nor the final executables should be built with "-shared", since they are +executables and not libraries. Hope this is clear. -Set default compression for tiffsep output 'gray' pages to LZW and default for -tiffsep1 to G4. While not strictly backwards compatible, any competent tiff -reader will be able to handle this. +There is also a little problem from SOC_LOADER not being defined if this file +is not used from ./configure's Makefile. </pre> -<p>[base/gdevtsep.c]</p> +<p>[base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2009-11-20T181012.230365Z"></a> -2009-11-20T18:10:12.230365Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-15T075816.778296Z"></a> +2010-05-15T07:58:16.778296Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Skip JBIG2Decode generic regions using TPGDON. +use CC_ instead of CC like everywhere else, to make the "so" target work</pre> +<p>[base/libtiff.mak]</p> +</blockquote> -We don't yet implement this, and discarding the data is better than -proceeding with the incorrect decoding proceedures, which generally -just produce noise. Work-around for bug 690791.</pre> -<p>[jbig2dec/jbig2_generic.c]</p> +<p><strong><a name="2010-05-15T063020.380857Z"></a> +2010-05-15T06:30:20.380857Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +"-shared" is a linker flag and not a compiler (object code generation) flag; another piece of trying to make "make -f base/unix-gcc.mak" work</pre> +<p>[base/unix-gcc.mak]</p> </blockquote> -<p><strong><a name="2009-11-19T201702.559183Z"></a> -2009-11-19T20:17:02.559183Z Ray Johnston</strong> (<a href="Details.htm#2009-11-19T201702.559183Z">details</a>)</p> +<p><strong><a name="2010-05-15T062741.486639Z"></a> +2010-05-15T06:27:41.486639Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for segfault reported in bug 690927 and two of the segfaults of bug 690880. +try to make 'make -f base/unix-gcc.mak so' work +When not run through ./configure, HAVE_CONFIG_H isn't defined and +the jbig2 codes drop through to generic unknown unix platform - so we put some +generic unix values here. </pre> -<p>[base/gdevp14.c base/gxblend1.c]</p> +<p>[jbig2dec/os_types.h]</p> </blockquote> -<p><strong><a name="2009-11-19T164811.876622Z"></a> -2009-11-19T16:48:11.876622Z Robin Watts</strong></p> +<p><strong><a name="2010-05-15T062335.840946Z"></a> +2010-05-15T06:23:35.840946Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix stupid typo: ; for , - pointed out by tor. Sorry everyone. +correct documentation on how make so should work - ./configure --enable-dynamic is required</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T033629.389869Z"></a> +2010-05-15T03:36:29.389869Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding new header dependencies from the recent remove-globals effort</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031349.664716Z"></a> +2010-05-15T03:13:49.664716Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding a needed include to silent a compiler warning introduced by the recent remove-globals effort</pre> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031231.280935Z"></a> +2010-05-15T03:12:31.280935Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another fix to bug 691306 +This was broken in r2746 (June 2002) which nobody has noticed for 8 years. +This code path is only used for 'make -f unixansi.mak' (very generic unix cc compiler). </pre> -<p>[base/gspath.h]</p> +<p>[base/gp_unifs.c]</p> </blockquote> -<p><strong><a name="2009-11-19T135618.594001Z"></a> -2009-11-19T13:56:18.594001Z Robin Watts</strong></p> +<p><strong><a name="2010-05-15T030909.671905Z"></a> +2010-05-15T03:09:09.671905Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for Bug 690531, excessive slowdown while rendering a complex stroked -path with anti-aliasing. +generate tif_config.h if it is not there. part of fixes to bug 691306</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030653.120732Z"></a> +2010-05-15T03:06:53.120732Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about the vga devices being Linux specific</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -The problem is caused by the gs filling code grinding to a halt under the -weight of an extremely complex path produced by stroking an already complex -path and then filling it all at once. +<p><strong><a name="2010-05-15T030554.250134Z"></a> +2010-05-15T03:05:54.250134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +part of fix to bug 691306. -This change can be seen as a workaround in that it does not change the -filling code at all (this may be considered in future after the freetype -changes have gone in), but instead adds a new mechanism for stroking that -produces (broadly) equivalent strokes which happen to fill more easily. +These two devices has been broken since r2925 (DeviceN, August 2002), +but not built by default at all. They were blindly enabled in +unix-gcc.mak amongst the ESP merge from Till, and it would appear that +nobody has noticed since the merge (8.57-8.60) until now. </pre> -<p>[base/gxpath2.c base/gxpath.h base/gxstroke.c]</p> +<p>[base/gdevl256.c base/gdevvglb.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025814.802157Z"></a> +2010-05-15T02:58:14.802157Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unixansi.mak to make "make -f base/unixansi.mak" work; another part for bug 691306</pre> +<p>[base/unixansi.mak]</p> </blockquote> -<p><strong><a name="2009-11-19T000915.456317Z"></a> -2009-11-19T00:09:15.456317Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-15T025722.770443Z"></a> +2010-05-15T02:57:22.770443Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Replace only the initial definition of the gs executable -in the script wrappers. +freetype2 dependency in base/unix-gcc.mak to make "make -f base/unix-gcc.mak" work; bug 691306</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -It is possible to change the name of the compiled gs executable; this is -generally used to distinguish multiple installed versions. In r5212 a -sed command was added to the unix build scripts to rewrite the name of -the gs executable embedded in the various wrapper scripts so that they -would call the corresponding version. +<p><strong><a name="2010-05-15T025530.474135Z"></a> +2010-05-15T02:55:30.474135Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about the default internal resolution for pdfwrite is 720dpi</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> -This was broken in r8107 where an extra clause was added to have the -wrapper scripts prefer the gs executable in their local directory -over any in the path. Unfortunately the sed command rewrites both -attempts to set GS_EXECUTABLE. +<p><strong><a name="2010-05-15T025408.145913Z"></a> +2010-05-15T02:54:08.145913Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about how to force-embedding the basic 14 fonts</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> -This commit only rewrites the specific assignment of the default name. -Thanks to Vince Dean for suggesting the fix. Bug 686863.</pre> -<p>[base/unixinst.mak]</p> +<p><strong><a name="2010-05-15T025247.037525Z"></a> +2010-05-15T02:52:47.037525Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix an obvious typo in the makefile</pre> +<p>[base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-18T044621.000840Z"></a> -2009-11-18T04:46:21.000840Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-14T164605.198340Z"></a> +2010-05-14T16:46:05.198340Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Handle optional content following the default viewing optional content -configuration dictionary. Skip invisible XObjects and render invisible -parts of content streams to nulldevice. Bug 690633, customer 1110. +Added support to unix-gcc.mak and unixansi.mak to build/use libtiff +(also fixed some typos and made the device lists more similar). + +Note because of the FreeType code these files do not work with +the current head (they work with ghostscript-8.71). + +Fixes Bug 691301. </pre> -<p>[Resource/Init/pdf_ops.ps Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> </blockquote> -<p><strong><a name="2009-11-17T222638.187446Z"></a> -2009-11-17T22:26:38.187446Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-14T042314.678757Z"></a> +2010-05-14T04:23:14.678757Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Call libtiff's configure script when configuring ghostscript. +remove one extra tab introduced in r10994; non-GNU Make on Tru64 and HP-UX is picky. Bug 688184 and bug 691299</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> -This also removes the (now) unnecessary tiff config files from the repository, -which fixes build problems on compilers where headers are always first searched -in the current directory. +<p><strong><a name="2010-05-14T042029.682174Z"></a> +2010-05-14T04:20:29.682174Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +HP compiler quirk - apparently the same workaround is needed for SUN Pro C and GCC 1.x (see a few lines before this change) ; bug 688184</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> -</pre> -<p>[tiff/libtiff/tif_config.h tiff/libtiff/tiffconf.h base/configure.ac]</p> +<p><strong><a name="2010-05-14T041842.997881Z"></a> +2010-05-14T04:18:42.997881Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +uint8_t type located in usual header on HP-UX needed for jbig2dec ; bug 688184</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-14T041654.357328Z"></a> +2010-05-14T04:16:54.357328Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix conflicting types against HP-UX system header in jasper; bug 688184</pre> +<p>[jasper/src/libjasper/include/jasper/jas_types.h]</p> </blockquote> -<p><strong><a name="2009-11-17T201020.126305Z"></a> -2009-11-17T20:10:20.126305Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-13T200808.900471Z"></a> +2010-05-13T20:08:08.900471Z Robin Watts</strong></p> <blockquote> <pre> -Use TIFFCleanup instead of TIFFClose in all tiff devices, as the fd is already -closed in gp_prn_close. +Nudge the windows solution/makefiles closer to supporting 64 bit builds +by defining WIN64 and amending makefiles to pass the define on through +recursive calls. </pre> -<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfax.c]</p> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p> </blockquote> -<p><strong><a name="2009-11-17T180122.576735Z"></a> -2009-11-17T18:01:22.576735Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-13T164947.848287Z"></a> +2010-05-13T16:49:47.848287Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Several small changes to the local cluster code: +adding NULL check before closedevice - bug report 691296 and patch from Tim Waugh. Thanks.</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> -clusterpush.pl - you can now specify what products to test via the command line. +<p><strong><a name="2010-05-13T085542.013750Z"></a> +2010-05-13T08:55:42.013750Z Ken Sharp</strong></p> +<blockquote> +<pre> +Changes only in white space, to provoke another regression test. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -e.g. clusterpush.pl gs - clusterpush.pl 'svg pcl' +<p><strong><a name="2010-05-13T083002.236776Z"></a> +2010-05-13T08:30:02.236776Z Ken Sharp</strong></p> +<blockquote> +<pre> +No changes, just an attempt to provoke some regression runs.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -By default all products ('gs','pcl','xps','svg') are tested. +<p><strong><a name="2010-05-13T080516.555333Z"></a> +2010-05-13T08:05:16.555333Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI interface +There is code in the FAPI interface for replacing a font's /FontBBox entry, this +sometimes has to create a new array to insert into the dictionary, if the old array is +not suitable for storing real values. -compare.pl - no longer report not changed non-value return codes. +The code to do this continued using ref_assign_old, as it had done for replacing the +values in an existing array. This appears to be incorrect, when created the refs in a +new array are uninitialised so attempting to use ref_assign_old tries to use +uninitialised data. -build.pl - remove all pcl tests except for 600 dpi/banded and most svg tests. -no longer randomize jobs (helps with the indeterminisms and improves load balancing). +Modified to use ref_assign_new instead, as indicated by the comments in store.h -clustermaster.pl - changes to support new clusterpush.pl options and improvement in the -load balancing algorithm. +This *may* reduce some of the non-deterministic behaviour, possibly with files such +as ShadowText.eps +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -run.pl - add support for semaphore to insure only on copy is run at a time -(currently disabled pending additional testing). +<p><strong><a name="2010-05-12T084416.052741Z"></a> +2010-05-12T08:44:16.052741Z Chris Liddell</strong></p> +<blockquote> +<pre> +Elimate an irksome compiler warning introduced in r11221</pre> +<p>[psi/zcolor.c]</p> +</blockquote> +<p><strong><a name="2010-05-12T014318.946640Z"></a> +2010-05-12T01:43:18.946640Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding documentation about the -dDisableFAPI=true switch in various places</pre> +<p>[doc/Use.htm doc/Make.htm]</p> +</blockquote> +<p><strong><a name="2010-05-11T220522.389565Z"></a> +2010-05-11T22:05:22.389565Z regression</strong></p> +<blockquote> +<pre> +The local cluster now tests the language switch build (ls). </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> </blockquote> -<p><strong><a name="2009-11-17T154542.467605Z"></a> -2009-11-17T15:45:42.467605Z Ken Sharp</strong> (<a href="Details.htm#2009-11-17T154542.467605Z">details</a>)</p> +<p><strong><a name="2010-05-11T212119.118628Z"></a> +2010-05-11T21:21:19.118628Z Robin Watts</strong></p> <blockquote> <pre> -Fix (TT font substitution) : Incorrect Widths applied to CIDFont glyphs from PDF file +Add x64 platform target to Visual Studio projects. I can't +test it myself due to not having a 64bit Windows setup, +but it at least starts building and then falls over when +it tries to run a 64bit exe as part of the build process. + + </pre> -<p>[psi/zcharout.c]</p> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> </blockquote> -<p><strong><a name="2009-11-16T170159.813716Z"></a> -2009-11-16T17:01:59.813716Z Ken Sharp</strong> (<a href="Details.htm#2009-11-16T170159.813716Z">details</a>)</p> +<p><strong><a name="2010-05-11T210209.407086Z"></a> +2010-05-11T21:02:09.407086Z regression</strong></p> <blockquote> <pre> +Minor improvement to cluster node log collection code. </pre> -<p>[base/gxchar.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-16T164821.437679Z"></a> -2009-11-16T16:48:21.437679Z Ken Sharp</strong> (<a href="Details.htm#2009-11-16T164821.437679Z">details</a>)</p> +<p><strong><a name="2010-05-11T204110.123188Z"></a> +2010-05-11T20:41:10.123188Z Robin Watts</strong></p> <blockquote> <pre> -Fix (TT fonts) : regression with TrueType fonts +bmpcmp was reporting the wrong page number for images, due to me forgetting +to increment the imagecount when images were loaded. Fixed here. </pre> -<p>[Resource/Init/pdf_font.ps Resource/Init/gs_ttf.ps]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-11-14T182052.369823Z"></a> -2009-11-14T18:20:52.369823Z Robin Watts</strong></p> +<p><strong><a name="2010-05-11T172501.376580Z"></a> +2010-05-11T17:25:01.376580Z Chris Liddell</strong></p> <blockquote> <pre> -Bug fix for Bug 688604, "incorrect rendering of a returning curve". +Bugs 690356 and 690832: have the colour space object take a copy of string data associated with an indexed colour space lookup table. This prevents the colour space finalising code (gx_final_Indexed) freeing the contents of a Postscript object which may still be in use.</pre> +<p>[psi/zcolor.c]</p> +</blockquote> -The code currently in ghostscript checks for the bbox of a beziers control -points being of zero width/height and to avoid a division by zero just chooses -not to subdivide this curve. This is wrong in some cases. +<p><strong><a name="2010-05-11T154421.967848Z"></a> +2010-05-11T15:44:21.967848Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) +The PDF interpreter, when a font is missing, and it has the 'small caps' flag set, +creates a substitute by altering the CharStrings of the substitute font, replacing +the lower case glyph CharStrings with procedures which 'show' the upper case glyph at a +reduced size. + +This ends up in the FAPI code as a t_mixedarray type which was being missed by the check +for a t_array, added previously to handle arbitrary procedures in a type 1 font. After +extending the check to include t_mixedarray it was clear that the SEAC processing was +also messing up the dictionary lookup, so it was necessary to restore a value which +had been overwritten in case a SEAC turned up. + +zero-length-font.pdf should now work as it does without FAPI, no other differences +expected. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> -The fix here is a cheap and cheerful one; in the case where one dimension is -zero and the other isn't, we basically do the same calculation as would be -done in the two dimensional case, but just with a one dimensional distance -as input. +<p><strong><a name="2010-05-11T143432.672494Z"></a> +2010-05-11T14:34:32.672494Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise the UFST interface code for PCL/PXL and GS to work with the changes to eliminate global variables in the Artifex code base. + +NOTE: the UFST_REENTRANT configuration was broken, and still is (it has been since the creation of gxfapiu.[ch] files. To be resolved in the future. At this time, therefore, no build integrating UFST can be thread safe. -This causes various diff; all look good in my tests. </pre> -<p>[base/gxpcopy.c]</p> +<p>[/trunk/ghostpdl/pl/plulfont.c psi/fapiufst.c base/gxfapiu.c base/gxfapiu.h]</p> </blockquote> -<p><strong><a name="2009-11-13T001647.523271Z"></a> -2009-11-13T00:16:47.523271Z Robin Watts</strong></p> +<p><strong><a name="2010-05-11T132443.420456Z"></a> +2010-05-11T13:24:43.420456Z Robin Watts</strong></p> <blockquote> <pre> -This patch fixes Bug 688269, by making ghostscript use pie joins rather than -round ones when stroking in non CPSI_mode. - -This produces 3000 or so bitmap diffs, but after leaving my machine running -all night generating lots of diffs for me to examine this morning, they all -look like stray pixel changes (i.e. differences caused by rounding). +Fix for bug 691249 - error caused by failing to initialise new member of +libctx that was previously a global. +We now memset the contents of libctx to 0 after mallocing it, and then +explicitly set the non-zero/NULL/false values. This is safer long term as +it protects us from making the same mistake in future. </pre> -<p>[base/gxstroke.c]</p> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T124144.704781Z"></a> +2010-05-11T12:41:44.704781Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +replace "/*" by "<slash><star>" to avoid compiler warning about comments inside comment </pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T115510.416074Z"></a> +2010-05-11T11:55:10.416074Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug code for helping in debug of 689737. The pattern that is created is 1 bpp. With this code the pattern bit map is dumped for opening with photoshop as a raw 8bit image. The source of the problem appears to be incorrect creation of the pattern bit map when GraphicAlphaBits is set to greater than 1.</pre> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-11-11T174222.705154Z"></a> -2009-11-11T17:42:22.705154Z Robin Watts</strong></p> +<p><strong><a name="2010-05-11T093516.657505Z"></a> +2010-05-11T09:35:16.657505Z Ken Sharp</strong></p> <blockquote> <pre> -Final msvc makefile changes to make ghostPDL targets build with the new -libtiff stuff. +Fix (fonts) +Bug #691290 "new freetype code gives error /typecheck in definefont" + +When creating a Decoding from an Encoding array, treat null objects the same as /.notdef +(ie not encoded). +No differences expected. </pre> -<p>[/trunk/ghostpdl/svg/svg_msvc.mak base/gs.mak]</p> +<p>[Resource/Init/gs_fntem.ps]</p> </blockquote> -<p><strong><a name="2009-11-11T155028.792827Z"></a> -2009-11-11T15:50:28.792827Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-10T151725.103327Z"></a> +2010-05-10T15:17:25.103327Z Ken Sharp</strong></p> <blockquote> <pre> -Changed all tiff devices to use libtiff. +Fix (FreeType) : illegal use of setcurrentpoint not handled as per Adobe. +Bug #691172, file type1-ce1_setcurrentpoint.ps -Affected Devices are tiffgray, tiff12nc, tiff24nc, tiff32nc, tiffsep, tiffsep1, -tiffcrle, tiffg3, tiffg32d, tiffg4, tifflzw, and tiffpack. Also, two new -devices: tiff48nc and tiff64nc (16 bits per component rgb and cmyk respectively) -have been added. +The PostScript file includes a font which illegally uses setcurrentpoint to establish an +absolute x/y position. The spec is quite clear that this operator is *only* meaningful +when processing the results of an OtherSubr, so this usage is definitely illegal. -Libtiff 3.9.2 is included in the source tree as tiff/. It is possible to link -to the system's libtiff by passing --with-system-libtiff to configure. Passing ---without-system-libtiff will force the build to use the in-source version. By -default, the newer library (based on TIFFLIB_VERSION in tiffvers.h) is used. +Not only does it use setcurrentpoint but, unlike previous uses we have seen, it does not +simply establish 0,0 as the initial point, which can be safely ignored, it actually +uses it to displace the outline vertically. + +FreeType normally just puts two uninitialised variables on the stack, ignores the +setcurrentpoint and pops the two dummy values. Instead, we now push the current x and +y co-ordinates when we get a '0 callothersubr'. In setcurrentpoint we then use the +top two values on the stack to set the current point. This now works for the illegal +usage seen here, the previous illegal usage, and does not break well-formed fonts +which actually use the OtherSubrs to set the point. </pre> -<p>[tiff/libtiff/tif_predict.c tiff/contrib/addtiffo/tif_ovrcache.c tiff/html/images/bali.jpg tiff/libtiff/tif_predict.h tiff/man/tiffdither.1 tiff/contrib/addtiffo/tif_ovrcache.h tiff/libtiff/tiffconf.h tiff/libtiff/tif_apple.c tiff/html/v3.7.1.html tiff/html/v3.5.7.html tiff/test/check_tag.c tiff/man tiff/contrib/iptcutil/iptcutil.c tiff/html/addingtags.html tiff/contrib/dbs/tiff-palette.c tiff/html/man/TIFFbuffer.3tiff.html tiff/html/index.html tiff/contrib/win_dib/Tiffile.cpp base/gdevtifs.c base/gxcmap.c tiff/config/install-sh tiff/man/TIFFReadRGBATile.3tiff base/gdevtifs.h tiff/html/man/tiffsplit.1.html tiff/html/man/TIFFPrintDirectory.3tiff.html tiff/contrib/tags/xtif_dir.c tiff/contrib/stream/README tiff/contrib/acorn/SetVars tiff/contrib/mac-mpw/mactrans.c tiff/contrib/mfs/mfs_file.c tiff/test/short_tag.c tiff/tools/fax2tiff.c tiff/config/depcomp tiff/html/man/TIFFReadScanline.3tiff.html tiff/contrib/tags tiff/contrib/ras/Makefile.am tiff/libtiff/tif_aux.c tiff/libtiff/tif_packbits.c tiff/libtiff/tif_zip.c tiff/html/v3.5.4.html tiff/man/TIFFbuffer.3tiff tiff/contrib/mac-cw tiff/contrib/acorn/Makefile.am tiff/html/man/TIFFmemory.3tiff.html tiff/html/v3.5.6-beta.html tiff/m4/ltsugar.m4 tiff/tools/ycbcr.c tiff/html/man/TIFFRGBAImage.3tiff.html tiff/man/TIFFWriteRawStrip.3tiff tiff/html/v3.4beta007.html tiff/libtiff/tif_unix.c tiff/html/man/tiffinfo.1.html tiff/html/man/tiffset.1.html tiff/tools/rasterfile.h tiff/html/man/TIFFFlush.3tiff.html tiff/man/tiffdump.1 tiff/contrib/dbs/tiff-rgb.c tiff/contrib/dbs/Makefile.in tiff/html/man/fax2tiff.1.html tiff/contrib/mac-cw/mkg3_main.c tiff/contrib/win_dib/Makefile.in tiff/configure.com tiff/html/man/TIFFReadRGBAStrip.3tiff.html tiff/html/man/sgi2tiff.1.html tiff/tools/tiff2ps.c tiff/html/v3.5.1.html tiff/html/intro.html tiff/libtiff/tif_atari.c tiff/html/v3.8.0.html tiff/contrib/dbs/README tiff/config tiff/libtiff/tiffiop.h tiff/html/internals.html tiff/html/images/cover.jpg tiff/html/build.html tiff/libtiff/tiffconf.h.in tiff/html/man/TIFFWarning.3tiff.html tiff/contrib/mac-cw/metrowerks.note tiff/man/TIFFReadEncodedStrip.3tiff tiff/man/tiff2bw.1 tiff/HOWTO-RELEASE tiff/man/tiff2pdf.1 tiff/man/tiffsplit.1 tiff/html/man/TIFFcodec.3tiff.html tiff/man/bmp2tiff.1 tiff/html/v3.4beta016.html tiff/tools/fax2ps.c tiff/html/libtiff.html tiff/html/v3.4beta028.html tiff/html/man/tiffmedian.1.html tiff/html/man/TIFFWriteRawTile.3tiff.html tiff/man/TIFFError.3tiff tiff/tools/tiffmedian.c tiff/man/rgb2ycbcr.1 tiff/libtiff/uvcode.h tiff/html/images/dave.gif tiff/man/TIFFWriteEncodedStrip.3tiff tiff/html/man/Makefile.in tiff/contrib/dbs/xtiff/Makefile.am tiff/config/config.sub tiff/libtiff/Makefile.vc tiff/libtiff/tif_fax3.c tiff/man/TIFFWarning.3tiff tiff/tools/tiffgt.c tiff/man/TIFFWriteScanline.3tiff tiff/html/v3.9.2.html tiff/SConstruct tiff/contrib/tags/Makefile.am tiff/contrib/acorn/install tiff/libtiff/tif_fax3.h tiff/contrib/pds/tif_pdsdirwrite.c tiff/contrib/mac-mpw/Makefile.am tiff/man/TIFFcodec.3tiff tiff/man/tiffsv.1 tiff/html/Makefile.am tiff/contrib/mac-mpw/tools.make tiff/html/images/oxford.gif tiff/html/man/TIFFsize.3tiff.html tiff/contrib/iptcutil/Makefile.in tiff/html/man/TIFFReadEncodedTile.3tiff.html tiff/contrib/ras/tif2ras.c tiff/configure tiff/html/images/note.gif tiff/contrib/mfs/README tiff/html/man/tiff2bw.1.html tiff/config/mkinstalldirs tiff/libtiff/tif_jpeg.c psi/msvc32.mak tiff/test/Makefile.am tiff/html/man/TIFFGetField.3tiff.html tiff/m4/ltoptions.m4 tiff/html/man/TIFFReadRGBATile.3tiff.html tiff/libtiff/libtiff.def tiff/contrib/tags/listtif.c tiff/man/raw2tiff.1 tiff/html/v3.7.0beta.html tiff/tools/tiffdump.c tiff/html/man/TIFFWriteEncodedTile.3tiff.html tiff/man/ppm2tiff.1 tiff/html/v3.6.0.html tiff/contrib/addtiffo/Makefile.vc base/unix-gcc.mak tiff/man/TIFFDataWidth.3tiff tiff/contrib/mfs/Makefile.in tiff/contrib/pds/Makefile.in tiff/tools/Makefile.am tiff/contrib/dbs/tiff-bi.c tiff/contrib/iptcutil/test.iptc tiff/man/TIFFcolor.3tiff tiff/html/man/TIFFWriteScanline.3tiff.html tiff/man/tiff2rgba.1 tiff/contrib/addtiffo tiff/contrib/acorn/convert tiff/html/v3.4beta034.html tiff/tools/tiff2pdf.c tiff/port/libport.h tiff/html/man/TIFFSetDirectory.3tiff.html tiff/man/tiff2ps.1 base/devs.mak tiff/tools/bmp2tiff.c tiff/contrib/iptcutil/test.txt tiff/RELEASE-DATE tiff/contrib/iptcutil tiff/html/man/TIFFReadTile.3tiff.html tiff/test/strip.c tiff/man/libtiff.3tiff tiff/libtiff/tif_win32.c tiff/html/v3.7.2.html tiff/libtiff/tif_ojpeg.c tiff/html/contrib.html tiff/build/Makefile.am tiff/html/man/tiffcmp.1.html tiff/html/man/TIFFClose.3tiff.html tiff/html/man/TIFFquery.3tiff.html tiff/html/TIFFTechNote2.html tiff/html/images/ring.gif tiff/test tiff/libtiff/tif_config.h-vms tiff/html/v3.4beta031.html tiff/contrib/mfs tiff/contrib/win_dib/tiff2dib.c tiff/man/TIFFswab.3tiff tiff/html/images/Makefile.in tiff/contrib/mac-mpw/libtiff.make tiff/contrib/mac-cw/mac_main.c tiff/man/thumbnail.1 tiff/libtiff/tiff.h tiff/port/lfind.c tiff/libtiff/Makefile.in tiff/contrib/mac-cw/mac_main.h tiff/libtiff/tif_strip.c tiff/tools/raw2tiff.c tiff/html/v3.5.5.html tiff/TODO tiff/man/TIFFWriteTile.3tiff tiff/tools/ppm2tiff.c tiff/port/strcasecmp.c tiff/man/TIFFReadEncodedTile.3tiff tiff/html/man/tiffdither.1.html tiff/tools/sgisv.c tiff/contrib/tags/xtiffiop.h tiff/man/tiffmedian.1 tiff/libtiff/tif_config.h.in tiff/contrib/addtiffo/addtiffo.c tiff/html/images/quad.jpg tiff/html/images/warning.gif tiff/html/man/tiffsv.1.html tiff/html/images/cat.gif tiff/man/tiffcp.1 tiff/man/tiffcrop.1 tiff/man/TIFFReadRGBAStrip.3tiff tiff/libtiff/tif_version.c tiff/ChangeLog base/gdevtfnx.c tiff/test/long_tag.c tiff/port/Makefile.am tiff/man/TIFFSetField.3tiff tiff/man/Makefile.in tiff/libtiff/tif_swab.c tiff/build tiff/contrib/addtiffo/Makefile.in tiff/html/v3.5.2.html tiff/configure.ac tiff/html/man/TIFFWriteEncodedStrip.3tiff.html tiff/html/v3.8.1.html tiff/contrib/stream/Makefile.am tiff/man/TIFFmemory.3tiff tiff/man/TIFFsize.3tiff tiff/Makefile.am tiff/contrib/Makefile.am tiff/html/images tiff/autogen.sh base/winlib.mak tiff/libtiff/tif_jbig.c tiff/man/tiffinfo.1 tiff/libtiff/tif_extension.c tiff/html/images/smallliz.jpg tiff/port/strtoul.c tiff/html/man/TIFFReadEncodedStrip.3tiff.html tiff/html/man/fax2ps.1.html base/configure.ac tiff/VERSION tiff/contrib/mac-cw/Makefile.script tiff/man/TIFFWriteEncodedTile.3tiff tiff/html/v3.4beta029.html tiff/contrib/mac-cw/Makefile.in tiff/man/ras2tiff.1 tiff/libtiff/t4.h tiff/README tiff/contrib/README tiff/html/man/tiff2ps.1.html tiff/contrib/tags/maketif.c tiff/contrib/win_dib/README.tiff2dib tiff/html/man/rgb2ycbcr.1.html tiff/contrib/mac-mpw/BUILD.mpw tiff/html/man/tiffgt.1.html tiff/html/man/TIFFReadDirectory.3tiff.html base/gxdevice.h tiff/libtiff/tif_warning.c tiff/html/v3.7.0alpha.html tiff/tools/tiffcmp.c tiff/html/images/strike.gif tiff/contrib/stream/tiffstream.cpp tiff/contrib/ras/README tiff/html/man/TIFFcolor.3tiff.html tiff/tools/tiffset.c tiff/contrib/dbs/xtiff tiff/contrib/pds/tif_pdsdirread.c tiff/contrib/stream tiff/contrib/tags/xtiffio.h tiff/html/man/tiffcrop.1.html tiff/tools/tiffcrop.c tiff/port/dummy.c tiff/contrib/mac-mpw/port.make tiff/man/TIFFReadRawTile.3tiff tiff/html/man/TIFFtile.3tiff.html tiff/html/v3.6.1.html tiff/libtiff/tif_fax3sm.c tiff/html tiff/contrib/ras/Makefile.in tiff/libtiff/tif_close.c tiff/libtiff/tif_luv.c tiff/man/gif2tiff.1 tiff/html/man/libtiff.3tiff.html tiff/libtiff/tif_config.h tiff/contrib/pds/tif_imageiter.c tiff/man/TIFFPrintDirectory.3tiff tiff/contrib/dbs/Makefile.am tiff/libtiff/tif_flush.c tiff/contrib/win_dib/Makefile.am tiff/contrib/acorn/Makefile.in tiff/contrib/pds/tif_imageiter.h tiff/tools/Makefile.vc tiff/html/v3.4beta035.html tiff/contrib/stream/tiffstream.h tiff/libtiff/mkg3states.c tiff/tools/tiffinfo.c tiff/tools/tiffsplit.c tiff/contrib/pds tiff/contrib/win_dib/README.Tiffile tiff/man/TIFFReadDirectory.3tiff tiff/html/v3.9.0beta.html tiff/tools tiff/tools/rgb2ycbcr.c tiff/tools/ras2tiff.c tiff/html/images/cramps.gif tiff/m4/libtool.m4 tiff/html/v3.7.3.html tiff/html/tools.html tiff/COPYRIGHT base/libtiff.mak tiff/man/TIFFReadRGBAImage.3tiff tiff/contrib/win_dib/Makefile.w95 tiff/libtiff/tif_thunder.c tiff/html/man/TIFFReadRawStrip.3tiff.html tiff/man/fax2ps.1 tiff/libtiff/tif_lzw.c tiff/man/TIFFSetDirectory.3tiff tiff/html/man/TIFFReadRGBAImage.3tiff.html tiff/contrib/acorn/Makefile.acorn tiff/libtiff/tif_color.c tiff/m4 tiff/man/TIFFGetField.3tiff tiff/html/v3.4beta032.html tiff/libtiff/tif_win3.c tiff/html/man/TIFFWriteDirectory.3tiff.html tiff/contrib/ras tiff/libtiff/SConstruct tiff/man/sgi2tiff.1 tiff/html/man/Makefile.am tiff/contrib/iptcutil/README tiff/libtiff/tif_dirwrite.c tiff/build/README tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_write.c tiff/config/compile tiff/man/tiffgt.1 tiff/libtiff/tif_tile.c tiff/README.vms tiff/html/misc.html tiff/html/v3.7.0.html tiff/man/tiffcmp.1 tiff/libtiff/tif_open.c tiff/contrib/iptcutil/Makefile.am tiff/test/strip_rw.c tiff/contrib/dbs/xtiff/Makefile.in tiff/libtiff/tiffconf.vc.h tiff/contrib/win_dib tiff/man/tiffset.1 tiff/contrib/tags/Makefile.in tiff/libtiff/tif_config.wince.h tiff/tools/gif2tiff.c tiff/contrib/mac-mpw/Makefile.in tiff/contrib/dbs/xtiff/README tiff/libtiff/tiffio.h tiff/html/Makefile.in tiff/tools/tiff2rgba.c tiff/html/man/tiffcp.1.html tiff/contrib/mfs/Makefile.am tiff/contrib/acorn/ReadMe tiff/contrib/pds/Makefile.am tiff/man/TIFFstrip.3tiff tiff/html/man/TIFFswab.3tiff.html tiff/test/Makefile.in tiff/html/v3.5.3.html tiff/html/man/TIFFSetField.3tiff.html tiff/contrib/dbs/xtiff/patchlevel.h tiff/html/v3.8.2.html tiff/html/man/TIFFOpen.3tiff.html tiff/contrib/dbs/xtiff/xtifficon.h tiff/libtiff/tiffconf.wince.h tiff/port/getopt.c tiff/html/images/info.gif tiff/port/Makefile.vc tiff/contrib/addtiffo/tif_overview.c tiff/tools/tiffdither.c tiff/tools/pal2rgb.c tiff/html/images.html tiff/libtiff/tif_dumpmode.c tiff/html/man/TIFFWriteTile.3tiff.html tiff/aclocal.m4 tiff/config/missing tiff/html/man tiff/libtiff/tif_dir.c tiff/tools/Makefile.in tiff/Makefile.vc tiff/port tiff/html/man/tiff2pdf.1.html tiff/libtiff/tif_dir.h tiff/html/v3.4beta018.html tiff/html/man/tiff2rgba.1.html tiff/libtiff/tif_msdos.c base/gdevfax.c tiff/html/man/index.html tiff/contrib/dbs/tiff-grayscale.c tiff/contrib/dbs/xtiff/xtiff.c tiff/html/images/jim.gif base/gdevfax.h tiff/libtiff/tif_print.c tiff/tools/sgi2tiff.c tiff/man/TIFFOpen.3tiff tiff/contrib tiff tiff/contrib/mac-mpw tiff/config/ltmain.sh tiff/contrib/mac-cw/README tiff/tools/thumbnail.c tiff/libtiff/tiffio.hxx tiff/man/TIFFReadRawStrip.3tiff tiff/html/man/ppm2tiff.1.html tiff/contrib/acorn/cleanlib tiff/man/TIFFRGBAImage.3tiff tiff/html/images/back.gif tiff/libtiff/tif_read.c tiff/libtiff/tif_stream.cxx tiff/man/TIFFWriteDirectory.3tiff tiff/libtiff/tif_codec.c tiff/build/Makefile.in tiff/html/images/Makefile.am tiff/contrib/mac-cw/version.h tiff/test/ascii_tag.c tiff/libtiff/tif_pixarlog.c tiff/man/TIFFReadTile.3tiff tiff/libtiff/Makefile.am tiff/html/man/TIFFWriteRawStrip.3tiff.html tiff/contrib/tags/README tiff/libtiff/tif_error.c tiff/man/TIFFtile.3tiff tiff/nmake.opt tiff/libtiff/tif_compress.c tiff/libtiff/tiffvers.h tiff/html/man/TIFFError.3tiff.html tiff/html/man/tiffdump.1.html tiff/html/man/ras2tiff.1.html tiff/man/TIFFClose.3tiff tiff/man/TIFFquery.3tiff base/Makefile.in tiff/html/man/raw2tiff.1.html tiff/html/v3.9.1.html tiff/html/man/TIFFReadRawTile.3tiff.html tiff/m4/lt~obsolete.m4 tiff/html/man/pal2rgb.1.html tiff/libtiff/tif_dirread.c tiff/contrib/mac-mpw/top.make tiff/man/TIFFFlush.3tiff tiff/html/v3.7.0beta2.html tiff/man/TIFFWriteRawTile.3tiff tiff/html/v3.4beta024.html tiff/contrib/pds/README tiff/man/fax2tiff.1 tiff/libtiff/tif_getimage.c tiff/man/Makefile.am tiff/html/v3.4beta036.html tiff/man/TIFFReadScanline.3tiff doc/Devices.htm tiff/contrib/addtiffo/Makefile.am tiff/tools/tiffcp.c tiff/html/images/jello.jpg tiff/contrib/mac-mpw/README tiff/config/config.guess tiff/test/test_arrays.c tiff/contrib/acorn base/gs.mak tiff/man/pal2rgb.1 tiff/html/man/thumbnail.1.html tiff/libtiff/tif_acorn.c tiff/test/test_arrays.h tiff/html/man/TIFFstrip.3tiff.html tiff/html/v3.7.4.html tiff/port/Makefile.in tiff/html/bugs.html tiff/contrib/dbs base/gdevtfax.c tiff/contrib/addtiffo/README tiff/contrib/stream/Makefile.in tiff/html/man/TIFFDataWidth.3tiff.html tiff/libtiff tiff/contrib/mac-cw/Makefile.am tiff/contrib/ras/ras2tif.c tiff/libtiff/tif_next.c tiff/html/man/gif2tiff.1.html tiff/contrib/Makefile.in tiff/Makefile.in tiff/html/v3.4beta033.html tiff/html/support.html tiff/libtiff/tif_config.vc.h tiff/m4/ltversion.m4 tiff/tools/tiff2bw.c base/gdevtsep.c tiff/html/document.html tiff/m4/acinclude.m4]</p> +<p>[freetype/src/psaux/t1decode.c]</p> </blockquote> -<p><strong><a name="2009-11-11T150120.119636Z"></a> -2009-11-11T15:01:20.119636Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-10T122909.676516Z"></a> +2010-05-10T12:29:09.676516Z Michael Vrhel</strong></p> <blockquote> <pre> -silent two compiler warnings for casting from const to non-const introduced by r10313</pre> -<p>[base/gdevpx.c]</p> +Retry of fix for Bug 69048 (this one actually builds...) Again this should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/lib.mak base/gxpcmap.c base/gxdevmem.h base/gdevabuf.c base/gspaint.c]</p> </blockquote> -<p><strong><a name="2009-11-11T145305.840060Z"></a> -2009-11-11T14:53:05.840060Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-10T015742.574530Z"></a> +2010-05-10T01:57:42.574530Z Michael Vrhel</strong></p> <blockquote> <pre> -partly reverting r8576, and other file-size improvements. - -After r10313, it becomes possible to revert r8576 (which was -a work-around to bug 688992, but increases file-sizes in some cases). -It is also found that r8576 is in fact more efficient for -small rasters; so it is only partly reverted. In two other places where -write_image_data() is called, switching to gx_default_copy_* for single-line -images/masks is likely to work well also. +Reversion to 11210 until I figure out what went wrong...</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> -This fixes bug 690857, where 12-07C.PS uses a lot of 1-bit images, -and shrinks the file size by a factor of 4. +<p><strong><a name="2010-05-09T231059.799862Z"></a> +2010-05-09T23:10:59.799862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 690487. This should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> -There are a total of 4 places where write_image_data() is called -(copy_mono/copy_color/fill_masks/image_write_rows) - the 4th does -not use the data_bit field, nor is it likely to be called -with small rasters; so it is left unmodified. +<p><strong><a name="2010-05-08T223046.926748Z"></a> +2010-05-08T22:30:46.926748Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update license headers of a few retaining files with AFPL header. +Bug 691285. +</pre> +<p>[Resource/Decoding/StandardEncoding Resource/Decoding/Latin1]</p> +</blockquote> +<p><strong><a name="2010-05-08T212213.614092Z"></a> +2010-05-08T21:22:13.614092Z regression</strong></p> +<blockquote> +<pre> +Whitespace changes only. </pre> -<p>[base/gdevpx.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-11T142617.282201Z"></a> -2009-11-11T14:26:17.282201Z Till Kamppeter</strong></p> +<p><strong><a name="2010-05-08T211223.981766Z"></a> +2010-05-08T21:12:23.981766Z regression</strong></p> <blockquote> <pre> -The cups_map_cmyk() function applied density corrections to RGB values. They can only get applied to CMYK values. Fixed by applying the cupsDensity correction before converting CMYK to RGB. +Minor changes to cluster software: + + Check svn commands for errors and retry. + + Gather individual logs and md5sums after each job is completed + rather than at the end of all jobs. </pre> -<p>[cups/gdevcups.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-11T135323.399755Z"></a> -2009-11-11T13:53:23.399755Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-08T204725.658412Z"></a> +2010-05-08T20:47:25.658412Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -handles the case of data_bit being multiple of 8. +Minor changes to the cluster software: -Try to handle the case of data_bit being multiple of 8 This fixes 690862, -and also make it possible to revert r8576 (which was a work-around to -bug 688992, but increases file-size) to fix bug 690857 (file-size issue). + Added a lock file to the clusterpull.sh task + Updated the documentation to explain how to temporarily disable a node. -Non-multiple of 8 are not handled, but by-passed at the callers'. +</pre> +<p>[toolbin/localcluster/clusterpull.sh toolbin/localcluster/readme]</p> +</blockquote> +<p><strong><a name="2010-05-08T155646.469253Z"></a> +2010-05-08T15:56:46.469253Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and break an infinite loop when some of the image data source are +at EOF, some are not, and the image code doesn't take more data. +Bug 691285. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/zimage.c]</p> </blockquote> -<p><strong><a name="2009-11-11T135223.912583Z"></a> -2009-11-11T13:52:23.912583Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-08T095955.023824Z"></a> +2010-05-08T09:59:55.023824Z Ken Sharp</strong></p> <blockquote> <pre> -Increase the size of the initial buffer in the scanner dynamic area to accept -the string of maximum valid size. Protect the buffer from overflow when the -scanner state is saved during reading of a name that exceed max name length. -Bug 690902. +Initialise a structure to silence a Coverity warning.</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> -</pre> -<p>[psi/iscan.c psi/int.mak psi/iscan.h]</p> +<p><strong><a name="2010-05-08T085757.923764Z"></a> +2010-05-08T08:57:57.923764Z Ken Sharp</strong></p> +<blockquote> +<pre> +Really, properly, silence the gcc compiler this time....</pre> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-11-11T133703.631859Z"></a> -2009-11-11T13:37:03.631859Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-07T143008.276765Z"></a> +2010-05-07T14:30:08.276765Z Ray Johnston</strong></p> <blockquote> <pre> -caching SetPen/SetBrush Null calls +Fix clist_band_height to use the macro defined in gxband.h as other code does to prevent future bitrot. Also use macros for the clist_ cfname, cfile, bfname, bfile.</pre> +<p>[base/gxclist.h]</p> +</blockquote> -For some test files (the PS3 CET set), the pxlcolor/pxlmono code -emits a lot of setpen/setbrush nulls. There is no need to set it again -if the printer already got a previous setpen/brush null. So this patch -caches the null/non-null state of both pen and brush in the -driver and not re-issue set nulls if the last set was a null. +<p><strong><a name="2010-05-07T142318.978837Z"></a> +2010-05-07T14:23:18.978837Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix number of elements in the BAND_PARAMS_INITIAL initializer macro to correspond to the size of gx_band_params_t (needed since rev 5751).</pre> +<p>[base/gxband.h]</p> +</blockquote> -This only gives about 5% file size saving for the test file I wrote it -for. Part of the fix to bug 690857. +<p><strong><a name="2010-05-07T121650.113521Z"></a> +2010-05-07T12:16:50.113521Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler warnings about not checking the return value from fread.</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> -</pre> -<p>[base/gdevpx.c]</p> +<p><strong><a name="2010-05-07T121247.989467Z"></a> +2010-05-07T12:12:47.989467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise the members of a local structure to silence a (spurious) compiler and +Coverity warning.</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T081729.050795Z"></a> +2010-05-07T08:17:29.050795Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a GCC compiler warning, no differences expected.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-11-11T095126.353930Z"></a> -2009-11-11T09:51:26.353930Z Ken Sharp</strong> (<a href="Details.htm#2009-11-11T095126.353930Z">details</a>)</p> +<p><strong><a name="2010-05-06T160427.459137Z"></a> +2010-05-06T16:04:27.459137Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : correct introduced regression +Remove gs_debug_out global variable as it is never used. + +No differences expected or seen with local cluster testing. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[base/bench.c base/gsmisc.c]</p> </blockquote> -<p><strong><a name="2009-11-10T204418.431838Z"></a> -2009-11-10T20:44:18.431838Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-06T160343.016324Z"></a> +2010-05-06T16:03:43.016324Z Robin Watts</strong></p> <blockquote> <pre> -fix (signed 16-bit)0 problem with r10267, and separate signed/unsigned numbers. +Update overprint device to avoid writing back to 3 global variables +({generic,no,sep}_overptint_procs). We still have those global variables +but each instantiated device takes copies of them and does any writing back +into the copies. This is part of the work for bug 691207. -r10267 'write signed 16-bit integers properly' contains a mistake with ">" -(should be ">=") - it puts (signed 16-bit)0 as 32768. Historically, -the old code does 16-bit integers unsigned eventually. This current change -also separate signed and unsigned numbers. Apologies. +No differences expected or shown by local cluster testing. </pre> -<p>[base/gdevpxut.h]</p> +<p>[base/gsovrc.c]</p> </blockquote> -<p><strong><a name="2009-11-09T234111.015200Z"></a> -2009-11-09T23:41:11.015200Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-06T160028.103268Z"></a> +2010-05-06T16:00:28.103268Z Robin Watts</strong></p> <blockquote> <pre> -implements white on mask (and added black on mask) in copy_mono. +Move gs_interp_reschedule_proc, gs_interp_time_slice_proc, and +gs_interp_time_slice_ticks into context to avoid global variables as +part of the work for bug 691207. -This adds white on mask as mask=black and (D & ~S) | S . -Black on mask is treated specially as (S & D). Fixes bug 688372 -(which uses white on mask) and 690830 (which uses black on mask) -and 690025 (which uses both white on mask and black on mask). +No differences expected or seen with local cluster testing. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/icontext.c psi/zcontext.c psi/icstate.h psi/interp.c]</p> </blockquote> -<p><strong><a name="2009-11-09T205530.861525Z"></a> -2009-11-09T20:55:30.861525Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-06T152510.815510Z"></a> +2010-05-06T15:25:10.815510Z Ken Sharp</strong></p> <blockquote> <pre> -reverting r8733, which was a faulty fix to bug 688372. +Fix (FAPI & FreeType) + +Bug #691284 "Error: /unknownerror in --.FAPIBuildChar" +The issue is caused because the PostScript file adds to an existing type 1 font a +CharString entry which is not in type 1 CharString format. I would have thought this +to be illegal but other PostScript interpreters (specifically Distiller) are happy +with it. + +Modifed the FAPI interface so that after retrieving a type 1, non-CID, CharString we +test to see if it is a procedure, if it is, then we return an error from the FAPI +code to the caller (in this case the FreeType interface). + +Modified the FreeType interface so that if the CharString retrieval returns an error +we return a specific (otherwise unused) error to the caller, in this case the +FreeType engine. On return from FreeType to the interface we test for the specific +FreeType error (FT_ERR_Invalid_File_Format) and if this is detected then instead of +returning an error to FAPI, we add one to the character index (to ensure it isn't 0) +and return that to FAPI. + +Finally, in the FAPI code, after 'rendering' the glyph, if we were returned a value +> 0 then we assume that 'something went wrong' with the CharString. As a last-ditch +effort we use the return value -1 to retrieve the CharString, and then 'exec' it. + +NB if we fail to retrieve the CharString at this level, we return an invalidfont error. -reverting most of r8733 (except the two debug statements), which was -a faulty fix to bug 688372. The faulty fix seems to be the source of -bug 690861 and 690868. The correct fix to 688372 to follow. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> </blockquote> -<p><strong><a name="2009-11-09T202051.490553Z"></a> -2009-11-09T20:20:51.490553Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-06T030441.737028Z"></a> +2010-05-06T03:04:41.737028Z Alex Cherepanov</strong></p> <blockquote> <pre> -purge cached palette whenever color space changes. +Fix compilation errors on Visual C that wants "ui64" suffix instead of "ULL" +for "unsigned long long" numerals. +</pre> +<p>[base/sha2.c]</p> +</blockquote> -The current pxlmono/pxlcolor code caches colorspace and palette calls -and not re-transmitting them if it hasn't changed since the last time -they were set. Whenever the color space changes, the current palette -should be purged, and a new palette should be (re-)transmitted to -the printer the next time an indexed colored image is sent. -This fixes bug 690859. +<p><strong><a name="2010-05-05T203019.371369Z"></a> +2010-05-05T20:30:19.371369Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove 2 unused globals. These should have been removed as part of 11146. + +No differences expected. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/iinit.c]</p> </blockquote> -<p><strong><a name="2009-11-09T184204.818284Z"></a> -2009-11-09T18:42:04.818284Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-05T195805.790577Z"></a> +2010-05-05T19:58:05.790577Z regression</strong></p> <blockquote> <pre> -Buffer mask data source in a reusable stream when needed for type 3 image with -separate data sources. Check all possible combinations of data source types and -fix a bunch of bugs in the code that handles cases untested before. Bug 688389. +Minor changes to the local cluster: +Report md5sum differences even in files that generate an error during processing. +Archive the email and log files for all revisions, including those which had compile errors. </pre> -<p>[Resource/Init/gs_ll3.ps]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-11-09T160458.791370Z"></a> -2009-11-09T16:04:58.791370Z Ken Sharp</strong> (<a href="Details.htm#2009-11-09T160458.791370Z">details</a>)</p> +<p><strong><a name="2010-05-05T181421.583279Z"></a> +2010-05-05T18:14:21.583279Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : type 0 fonts with type 3 descendants could confuse pdfwrite by using -stringwidth +More work towards bug 691207 (global variable removal). + +There are 4 places is xps where we do eprintfs that access mem_err_print. +This resolves 1, the other 3 should never be called in files we support. + +Resolve 4 const warnings from jasper. + +Remove 2 calls to gs_lib_ctx_get_non_gc_memory_t from the cups driver. This +means the only places left calling this are devices in gs\contrib. + +Convert calls to errprint_nomem to calls to errprint (in gdevx.c, gxttb.c, +gdevupd.c) + +The only places using mem_err_print are therefore: + + * calls to debug printing functions + * devices in gs/contrib calling gs_lib_gtx_get_non_gc_memory, errprint_nomem, + and eprintf. + * jasper calling eprintf. + * gdevsco.c (but that seems intrinsically single threaded to me as only one + thing can be using the console at a time, presumably) + * signal handlers in os2 and iwatc for catching numeric exceptions. + * Various devices in gs/base still call errprintf_nomem - some in DEBUG only + code, but some not. + * The gs_throw_imp function. + +I think this may be as good as we can get at this point. + +No differences expected, or shown by local cluster testing. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[/trunk/ghostpdl/xps/xpsfont.c base/gdevx.c base/gdevupd.c base/gxttfb.c cups/gdevcups.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-11-09T141954.384020Z"></a> -2009-11-09T14:19:54.384020Z Robin Watts</strong></p> +<p><strong><a name="2010-05-05T162549.238174Z"></a> +2010-05-05T16:25:49.238174Z Robin Watts</strong></p> <blockquote> <pre> -Adding comment as suggested by Hin-Tak to document why we need a particular -header file. +More work for bug 691207 (remove global vars). Change the gp_ interface and +all its implementations to pass a gs_memory_t in some cases to allow eprintf +calls to be made safely. + +Also fix a 'const' warning in pxl/pxfont.c and pcl/pcsymbol.c + +No differences expected, or shown by local cluster testing. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gp_os2.c base/gdevos2p.c base/gsdevice.c psi/zfile.c base/gp_os2pr.c base/gp_vms.c base/gdevwprn.c base/gxclfile.c base/gp_iwatc.c base/gp_os2.h base/gp_os9.c base/gdevwpr2.c /trunk/ghostpdl/pcl/pcsymbol.c /trunk/ghostpdl/xps/xpstop.c base/gp_unix.c /trunk/ghostpdl/psi/psitop.c base/gp_unifs.c base/gp.h base/gp_macio.c base/bench.c base/gdevpdf.c base/gp_os2fs.c /trunk/ghostpdl/pxl/pxfont.c base/gp_mswin.c base/gp_dvx.c]</p> </blockquote> -<p><strong><a name="2009-11-09T141532.309537Z"></a> -2009-11-09T14:15:32.309537Z Robin Watts</strong></p> +<p><strong><a name="2010-05-05T064720.379288Z"></a> +2010-05-05T06:47:20.379288Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix to devs.mak: PXL requires a runlength compression function from PCL, so -correctly add the dependency to the makefile. +A fix for 691164 "PDF loads blank when not Administrator on Vista using GS 8.7". + +The problem was in JasPer library. It tried to create temporary file in +current directory (HAVE_MKSTEMP), or root directory (Windows and others). +When those directories are read only, it failed to decode images. -This issue was seen when building using macosx.mak on a Snow Leopard Macbook. +This patch introduces searching of TMPDIR, TEMP and TMP environment varibales +and use them for temporary files. -Maybe in future if codesize is an issue we should pull this function out to a -separate file. +Localcluster test reported no differences. </pre> -<p>[base/devs.mak]</p> +<p>[jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/include/jasper/jas_stream.h]</p> </blockquote> -<p><strong><a name="2009-11-08T004019.198456Z"></a> -2009-11-08T00:40:19.198456Z Robin Watts</strong></p> +<p><strong><a name="2010-05-05T030800.170436Z"></a> +2010-05-05T03:08:00.170436Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for valgrind problem in bug 690864. +adding --ldflags to cups.mak ; bug 690268</pre> +<p>[cups/cups.mak]</p> +</blockquote> -We were scaling the bbox of a path even when the bbox had never been set. -The fix is to respect the bbox_set flag. +<p><strong><a name="2010-05-04T231146.700325Z"></a> +2010-05-04T23:11:46.700325Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Incoporate the reporter's suggested change to config.guess , bug 69020 +It appears that the same change is already in automake-1.11 (and after 1.7), +so the change is correct. If we merge with upstream again, it is possible that +this might be overwritten. Hopefully when that happens, the config.guess from +newer upstream will have this change. </pre> -<p>[base/gxpath2.c]</p> +<p>[jasper/acaux/config.guess]</p> +</blockquote> + +<p><strong><a name="2010-05-04T225233.245666Z"></a> +2010-05-04T22:52:33.245666Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +minor wording and grammar corrections. Bug 690005</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2009-11-07T173112.980350Z"></a> -2009-11-07T17:31:12.980350Z Alex Cherepanov</strong> (<a href="Details.htm#2009-11-07T173112.980350Z">details</a>)</p> +<p><strong><a name="2010-05-04T190537.567635Z"></a> +2010-05-04T19:05:37.567635Z Robin Watts</strong></p> <blockquote> <pre> -Adobe Acrobat considers the use of clip operation on new path a no-op. -Check this and don't clip when there's no path. Bug 690891. +A couple of calls to eprintf missed from the previous commit. + +No expected changes. </pre> -<p>[Resource/Init/pdf_ops.ps]</p> +<p>[base/gsfcid.c]</p> </blockquote> -<p><strong><a name="2009-11-07T023137.642669Z"></a> -2009-11-07T02:31:37.642669Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-04T190451.514942Z"></a> +2010-05-04T19:04:51.514942Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Save and restore the graphics state around the dummy fill that was added in -rev 10284 in order to make sure that pages have at least one fill_path call. -The 'copypage' operator does not perform initgraphics so the FTS test that -expected the graphics state to be unperturbed by copypage would fail. -Bug 690894. Thanks to Alex for spotting the cause of the regression. +Improved the localcluster readme instructions. </pre> -<p>[base/gsdevice.c]</p> +<p>[toolbin/localcluster/readme]</p> </blockquote> -<p><strong><a name="2009-11-06T204048.453064Z"></a> -2009-11-06T20:40:48.453064Z Robin Watts</strong></p> +<p><strong><a name="2010-05-04T184712.330141Z"></a> +2010-05-04T18:47:12.330141Z Robin Watts</strong></p> <blockquote> <pre> -Fix for bug 690890. We always use the CPSI_mode version of the gs_strokepath -code (when executing strokepath or ustrokepath postscript operators). This -means we better match acrobat. +As part of the work for bug 691207 (remove global variables) we introduce +a new set of macros, "emprintfX". These do the same as the "eprintfX" +macros, except they take an explicit memory reference rather than using +the mem_err_print global. + +The plan is to move everything possible over to using emprintf, leaving +callers of eprintf as 'unsafe' in multithreaded builds. + +This review changes all callers of eprintf in ghostscript except: +gdevsco.c, gp_iwatc.c, gp_macio.c, gp_mswin.c, gp_os2.c, gp_os2pr.c, +gp_unifs.c, gp_vms.c, gsfid.c, contrib\*, jasper\*. -This frees us to optimise the non CPSI_mode version so as to produce simpler -stroked paths with the same outlines. This should allow us to be faster in -the non strokepath cases. +1 instance in gzspotan.c remains unchanged, but it should never be used. + +Local cluster testing shows no build problems. </pre> -<p>[base/gxpaint.c base/gspath.h base/gxpaint.h /trunk/ghostpdl/xps/xpspath.c base/gspaint.c base/gxstroke.c base/gxclrast.c]</p> +<p>[psi/fapi_ft.c base/gdevpdfj.c base/gsdevice.c base/gdevos2p.c psi/zfapi.c base/gdevijs.c base/gdevpdfm.c base/gdevpx.c base/gxclfile.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c psi/fapiufst.c base/gdevpdtf.c base/gdevpdfu.c base/gxblend1.c base/gspaint.c base/gdevxini.c base/gxcmap.c base/gxclthrd.c base/gdevpsdu.c base/gdevpdtt.c base/gstype42.c base/gdevpsft.c base/gsmisc.c base/gdevsgi.c base/gxclmem.c base/gxttfb.c base/std.h base/gslib.c base/gxtype1.c base/gzspotan.c psi/imainarg.c base/gdevpe.c base/gdevsun.c base/gdevxcmp.c psi/imain.c base/gsiorom.c base/gdevpdf.c base/gdevtsep.c contrib/japanese/gdevdmpr.c base/gxclrast.c base/gdevpdfi.c]</p> </blockquote> -<p><strong><a name="2009-11-06T142340.138345Z"></a> -2009-11-06T14:23:40.138345Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-04T160329.077971Z"></a> +2010-05-04T16:03:29.077971Z regression</strong></p> <blockquote> <pre> -Clamp coordinates when the path is scaled up for anti-alias rendering. -Leave 1000pt slack at the edge because the path drawing routines can't -handle values close to the edge of the representable space. Bug 690864. +Changed casper3.ghostscript.com to casper.ghostscript.com (no reason to test this, how can it possibly fail?). </pre> -<p>[base/gxpath2.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-05T233559.860092Z"></a> -2009-11-05T23:35:59.860092Z Robin Watts</strong></p> +<p><strong><a name="2010-05-04T123427.748154Z"></a> +2010-05-04T12:34:27.748154Z Robin Watts</strong></p> <blockquote> <pre> -Update htmldiff.pl to cope with svg files (and pdfwrite svg files). -Also update the invocation of .PS files to use gs_cet.ps +As part of the efforts towards bug 691207 (global variables must be removed) +this commit reduces the reliance on mem_err_print. + +Currently all calls to errwrite and errflush get the stdin/out/err details +from a global mem_err_print. For multithreaded gs this will result in output +going to the wrong place if any of them are redirected. This review splits +errwrite into 2 variants, errwrite and errwrite_nomem. The first takes an +explicit mem pointer. The second continues to assume a global one. + +The plan is to make everything possible use the first. Currently debugging +calls and some 'stubborn' devices continue to call errwrite_nomem. + +Local cluster testing shows no differences. + +</pre> +<p>[base/gdevos2p.c base/gdevsppr.c base/gdevpdfm.c base/gdevsunr.c base/gdevpx.c base/gdevupd.c base/gdevimgn.c base/gdevwpr2.c base/ttfmain.c base/ttfoutl.h base/gp_unifs.c /trunk/ghostpdl/psi/psitop.c base/gdev4693.c /trunk/ghostpdl/xps/xpsfont.c base/strmio.c /trunk/ghostpdl/pxl/pxtop.c contrib/pcl3/src/gdevpcl3.c base/gsmisc.c base/gdevwddb.c base/gsargs.c base/szlibd.c /trunk/ghostpdl/pl/plmain.c base/gxttfb.c base/std.h base/gdevifno.c /trunk/ghostpdl/xps/xpscff.c /trunk/ghostpdl/pcl/pctop.c contrib/pcl3/eprn/gdeveprn.c base/gdevcdj.c psi/ziodevsc.c base/gdevx.c base/gslibctx.c contrib/pcl3/eprn/eprnparm.c toolbin/localcluster/run.pl base/gdevhl7x.c]</p> +</blockquote> +<p><strong><a name="2010-05-03T165735.641421Z"></a> +2010-05-03T16:57:35.641421Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix compiler warning (return from incompatible pointer type) +introduced with making the font cache part of the library context, +revision 11165. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-11-05T222430.858232Z"></a> -2009-11-05T22:24:30.858232Z Ray Johnston</strong> (<a href="Details.htm#2009-11-05T222430.858232Z">details</a>)</p> +<p><strong><a name="2010-05-03T164816.934577Z"></a> +2010-05-03T16:48:16.934577Z Lars Uebernickel</strong></p> <blockquote> <pre> -This is the initial commit of the 'tiffsep1' device code that emits -separation files as 1-bit per pixel TIFF files, a separate file for -each separation. This is a CMYK plus Spot color device, and the -number of separations (spot colors) supported depends on the gdevdevn.h -setting of USE_COMPRESSED_ENCODING. By default this is true as long as -the sizeof(gx_color_index) is >= 8, so up to GX_DEVICE_COLOR_MAX_COMPONENTS -layers can be generated (current default 64). Without compressed color -encoding, then only 8 total (C, M, Y, K and 4 spot colors) can be -supported. +Applied Michael Constant's patch to support reading 256-bit AES encrypted PDFs +(bug #690702). + +Minor modifications were made to the original patch to make it work with the +current trunk. + +Aaron Gifford's SHA-2 implementation is included (BSD licensed). + +Libidn is added as an optional dependency to support unicode passwords. If it +is not installed, only ASCII passwords are supported. -Files are named with the separation layer in ( ), e.g. x(Black).tif if -the OutputFile is 'x.tif'. Since no composite CMYK is generated, the -base file is deleted ('x.tif' in the example). </pre> -<p>[base/gsdevice.c psi/os2.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/Makefile.in base/gdevtsep.c base/configure.ac base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/devs.mak]</p> +<p>[base/errno_.h psi/zfaes.c psi/gs.c base/saes.c base/lib.mak base/sha2.c doc/Use.htm base/saes.h base/Makefile.in psi/int.mak psi/zutf8.c base/sha2.h base/locale_.h psi/zpdfops.c psi/zfsha2.c psi/zwinutf8.c psi/winint.mak base/ssha2.c base/configure.ac Resource/Init/pdf_sec.ps psi/msvc32.mak base/ssha2.h]</p> </blockquote> -<p><strong><a name="2009-11-05T170101.144368Z"></a> -2009-11-05T17:01:01.144368Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-03T132552.802113Z"></a> +2010-05-03T13:25:52.802113Z Ken Sharp</strong></p> <blockquote> <pre> -Add support for only testing only langauges which were affected by a commit. +Fix (pdfwrite) incorrect ToUnicode CMap. +Bug #691274 "Missing or incorrect ToUnicode when using Identity ordering" + +pdfwrite emits ToUnicode CMaps in PDF files which always use 2 bytes for the key +length. That is 0x21 is represented as <0021>, since these are hex strings there should +in fact be no difference between <21> and <0021>. It is clear from the ToUnicode +Mapping file tutorial that this is correct for mapping files. + +However, a PDF file is not a CMap file. It appears that Acrobat does not like +beginbfrange data which is padded with zeros (it seems happy with codespacerange and +destination codes which are 0 padded though). + +This patch outputs ToUnicode CMaps which are not padded with 0, ie 0x21 is emitted as +<0021>, for the srcCodeLo and SrcCodeHi parameters in a beginbfrange operation. The +destination codes remain zero-padded. +Technically this would be incorrect for a real CMap file, but we don't write those +out so this should not be an issue. The change is limited to ToUnicode CMaps and does +not affect any other kind of CMap. + +I believe the change will affect the data emitted for the beginbfrange, +beginbfchar, begincidchar, beginnotdefchar, beginnotdefrange and begincidrange +operators. It does *not* affect the begincodespacerange operator; although Acrobat +Distiller writes this without zero padding tests show that Acrobat is happy reading +zero-padded code space ranges. + +ToUnicode information is not used in rendering PDF files, so regression testing should +show no differences. Local testing of a limited number of files doesn't reveal any +problems, but this change has not been well tested. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gsfcmap.c]</p> </blockquote> -<p><strong><a name="2009-11-05T081447.560103Z"></a> -2009-11-05T08:14:47.560103Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-03T041330.766321Z"></a> +2010-05-03T04:13:30.766321Z Hin-Tak Leung</strong></p> <blockquote> <pre> -updating the internal graphic state as in the else part; 2nd half of fix to bug 690853</pre> -<p>[base/gdevpx.c]</p> +Fix unix so build regression; fixes regression from r9948 which was committed for bug 690695</pre> +<p>[base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2009-11-03T234348.930105Z"></a> -2009-11-03T23:43:48.930105Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-03T035903.969165Z"></a> +2010-05-03T03:59:03.969165Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a const propagation warning. - -Also remove some trailing whitespace.</pre> -<p>[base/gdevp14.c]</p> +fixes multiple jpeg devices listed in gs -h (bug 691176)</pre> +<p>[base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-03T234347.356550Z"></a> -2009-11-03T23:43:47.356550Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-03T031434.052929Z"></a> +2010-05-03T03:14:34.052929Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Remove some unused variables from the PDF 1.4 compositor device, -fixing several warnings. Also cleans up some formatting.</pre> -<p>[base/gdevp14.c]</p> +Rewording build instructions for unix systems, and adding more warnings about +instructions for legacy old systems being deprecated; bug 691264. +</pre> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-11-03T234345.299604Z"></a> -2009-11-03T23:43:45.299604Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-02T001952.718987Z"></a> +2010-05-02T00:19:52.718987Z Robin Watts</strong></p> <blockquote> <pre> -Move some static prototypes from gdevp14.h to gdevp14.c. +Script to generate an html page that graphically show the differences +between local cluster regression run results between arbitrary revisions. -These two functions, internal to gdevp14.c, need forward prototypes -but where declared in the public header, causing gcc warnings when -the declarations where included in other source files.</pre> -<p>[base/gdevp14.c base/gdevp14.h]</p> +Usage information given in file. Must be run on the cluster master machine +(i.e. casper). + + +</pre> +<p>[toolbin/localcluster/comparerevs.pl]</p> </blockquote> -<p><strong><a name="2009-11-03T175436.738828Z"></a> -2009-11-03T17:54:36.738828Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-01T232233.008186Z"></a> +2010-05-01T23:22:33.008186Z Henry Stiles</strong></p> <blockquote> <pre> -revert to PXL 1.1 - it is possible some old printers dislike PXL 2.1 header</pre> -<p>[base/gdevpxut.c]</p> +Continue work to remove globals (691207). The font cache is no longer +global but part of the library context. +</pre> +<p>[psi/isave.h psi/bfont.h base/gslibctx.c psi/zfcid0.c psi/zfcid1.c psi/zfont.c psi/zfont0.c psi/zfont1.c psi/zbfont.c psi/zusparam.c base/gslibctx.h psi/zfont32.c psi/zfont42.c psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-11-03T165925.556772Z"></a> -2009-11-03T16:59:25.556772Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-01T092324.281883Z"></a> +2010-05-01T09:23:24.281883Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a line split without the '\' at the end of the line. By some reason gmake -tolerates this but MSVC nmake doesn't. Bug 690886, customer 661. +Modify the 'C' defaults of the pdfwrite device + +Bug #691259 "HPGL graphic followed by raster graphic results in incorrect pdf" +The pdfwrite device is initialised in 'C', and then partly overridden by PostScript +initialisation. The problem is that non-PostScript input does not (cannot) execute the +PostScript initialisation, and so the defaults are left as those done in 'C'. + +Not only do these defaults not match the documented defaults in ps2pdf.htm, they are +not particularly well selected. In this case the problem was caused by sending image +data at 150 dpi, but only a single scan line at a time. The default setting for +pdfwrite was to downsample image data to 72 dpi, this caused us to subsample (the +default downsampling) by a factor of more than 2, which led to our single scan line +becoming less than half a scan line, and so disappearing altogether. + +This patch addresses this issue by altering a number of the defaults to more sensible +values. In particular we disable downsampling and enable image compression for gray +and colour images. This has the fortunate result of making most PDF output files +smaller than before, even though we are now storing more image data. </pre> -<p>[base/lib.mak]</p> +<p>[base/gdevpsdf.h]</p> </blockquote> -<p><strong><a name="2009-11-03T143904.429643Z"></a> -2009-11-03T14:39:04.429643Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-01T015946.738263Z"></a> +2010-05-01T01:59:46.738263Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use SetPageScale and SetPageOrigin to work around 16-bit limit in paths. +Check all PDF files for transparency features because some files have +incorrect version number but Acrobat renders them just fine. Bug 691273. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> -This is a similar but more extensive change to the last (16-bit limit in -SetCursor), which use SetpageScale to make path co-ordinates fit within -16-bit. In so doing some paths can become inaccurate if one of the -points are not large; so SetPageOrigin is used to shift to one such point -before the scaling. This is the last part to fix bug 690858 and bug 690860 . +<p><strong><a name="2010-04-30T155408.117709Z"></a> +2010-04-30T15:54:08.117709Z Ken Sharp</strong></p> +<blockquote> +<pre> +Testing a white space change for cluster regression tests, this will be overwritten later.</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> +<p><strong><a name="2010-04-29T215134.733741Z"></a> +2010-04-29T21:51:34.733741Z Till Kamppeter</strong></p> +<blockquote> +<pre> +rev 11149 for fixing bug 691014 had still some compiler warnings. This rev fixes them. </pre> -<p>[base/gdevpx.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-11-03T140653.986640Z"></a> -2009-11-03T14:06:53.986640Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-29T183244.398974Z"></a> +2010-04-29T18:32:44.398974Z Robin Watts</strong></p> <blockquote> <pre> -Use SetPageScale to work around 16-bit limit in SetCursor. +Remove the 'parent' parameter from gs_malloc_init calls. It only serves to +allow libctx's to be shared between instances, and we'll never want to do +that. It's unused at the moment anyway, so this doesn't impact anything. -Here SetPageScale is used so that large cursor co-ordinates can fit -within 16-bit signed integer limit. This fixes bigpath.ps in -bug 690855, and also fixes some of the problems seen in bug 690858 and -bug 690860. +No expected differences. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/gs.c base/gsinit.c base/gslib.c base/gsmalloc.c /trunk/ghostpdl/pl/plalloc.c psi/iapi.c base/gsmalloc.h]</p> </blockquote> -<p><strong><a name="2009-11-03T135422.932026Z"></a> -2009-11-03T13:54:22.932026Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-29T041915.713592Z"></a> +2010-04-29T04:19:15.713592Z Hin-Tak Leung</strong></p> <blockquote> <pre> -new SetPageScale/Unset utility routine before the fix to bug 690858</pre> -<p>[base/gdevpx.c]</p> +Doubling the arbitrary 0x100000 alloc size limit; the alloc_size_is_ok() check is +complied out and replaced with DO_NOTHING in release build so this has effect only +on debug builds. Fixes Bug 691271 . + +</pre> +<p>[base/gsalloc.c]</p> </blockquote> -<p><strong><a name="2009-11-03T135017.551314Z"></a> -2009-11-03T13:50:17.551314Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T231901.308642Z"></a> +2010-04-28T23:19:01.308642Z Robin Watts</strong></p> <blockquote> <pre> -new SetPageOrigin utility routine before the fix to bug 690858</pre> -<p>[base/gdevpx.c]</p> +Eliminate some warnings in gxcht.c (keep shifts < size of uint). + +No local cluster differences reported, or expected. + +</pre> +<p>[base/gxcht.c]</p> </blockquote> -<p><strong><a name="2009-11-03T134154.478161Z"></a> -2009-11-03T13:41:54.478161Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T223701.089543Z"></a> +2010-04-28T22:37:01.089543Z Till Kamppeter</strong></p> <blockquote> <pre> -fixes age-old typo. - -This appears to be a typo - the gray conversion code is doing -out = (red + green + next_red) instead of (red + green + blue). +Fixed segfaults caused by setting and changing the page geometry parameters incorrectly (bug #691014). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> +<p><strong><a name="2010-04-28T215729.180527Z"></a> +2010-04-28T21:57:29.180527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Associate cached font instance with PDF font resource dictionary instead of +font descriptor. The latter may be shared by font resource dictionaries with +different encodings causing incorrect rendering. Bug 690714. </pre> -<p>[base/gdevpx.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-11-03T133648.031673Z"></a> -2009-11-03T13:36:48.031673Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T202441.808400Z"></a> +2010-04-28T20:24:41.808400Z Robin Watts</strong></p> <blockquote> <pre> -write signed 16-bit integers properly. +Move op_array_table_global and op_array_table_local away from being +globals and into i_ctx_p. This requires various knock on changes +throughout the code to enable them to be recovered from the context +(which may itself need to be recovered from a memory pointer). -The pxl utlity code has never been able to write negative numbers as -signed 16-bit integers properly. This fixes bug 690863 primarily, and also -some of the problems seen in bug 690858, file CATX8874.pdf mentioned -in bug 690859, and part of the problems in bug 690860. +Also, the garbage collection is altered slightly; rather than the +op_arrays being special cased (as special objects that have to have +their component parts registered as roots for the garbage collection) we +move them inline into i_ctx_t and amend the gc routines for that +structure. Thanks to Alex for his help with this. + +No differences expected, or shown with local cluster testing. </pre> -<p>[base/gdevpxut.h base/gdevpxut.c]</p> +<p>[psi/iinit.c psi/icontext.c psi/imain.c psi/idebug.c psi/icstate.h psi/interp.c psi/igc.c psi/opdef.h psi/zmisc.c psi/iutil.c]</p> </blockquote> -<p><strong><a name="2009-11-03T132030.378093Z"></a> -2009-11-03T13:20:30.378093Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T201940.848310Z"></a> +2010-04-28T20:19:40.848310Z Robin Watts</strong></p> <blockquote> <pre> -Do rounding of co-ordinates rather than clipping. +Simple fix to remove dict_default_pack from being a global bool. +(Make it an enum instead). -This set of change tries to calculating the co-ordinates more accurately by -doing rounding of fractional parts instead of clipping off the fractional -parts. This is part of the fix to bug 690869. Also needs -r1200 to work -for the intended purpose of matching with ppmraw output. +No changes expected or shown by local cluster testing. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/idict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T171852.709002Z"></a> +2010-04-28T17:18:52.709002Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that multiplication gets applied prior to type casting.</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-11-03T131451.306299Z"></a> -2009-11-03T13:14:51.306299Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T144102.575217Z"></a> +2010-04-28T14:41:02.575217Z Robin Watts</strong></p> <blockquote> <pre> -Tightening the standard media size matching. +Add missing cast to fapi_ft.c to quiet a warning. This was missed out of +yesterdays commit of such fixes. -Drop the tolerance to 0.05 from 5/72 of an inch. -One of the test files is 36-pixels @r600 within a standard size. -Fixes bug 690866. +No expected diffs. </pre> -<p>[base/gdevpxut.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-11-03T125924.143346Z"></a> -2009-11-03T12:59:24.143346Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T114024.316225Z"></a> +2010-04-28T11:40:24.316225Z Robin Watts</strong></p> <blockquote> <pre> -flush stream data in close_device(). +Small tweaks to Ghostscript initialisation to check for malloc failures etc. +This would very rarely have been a problem in current code, but would be +more of an issue in multithreaded operation as running out of memory +while forking a new instance is more likely. -For a whole set of postscript files (the ps3cet set), the close_device() -finalizer code is called before the PXL output is flushed. This causes -the PJL job footer to be outputted in the middle of the last portion of -PXL output, thus corrupting the PXL data. Adding a flush fixes this problem. -Fixes one of the many problems in bug 690858. +No expected differences, but the local cluster code seems to be claiming +differences for an unchanged tree at the moment, so if 3 or so non-pdfwrite +errors and 1800ish pdfwrite errors show up, it's not because of this. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/gs.c psi/imain.c base/gsmalloc.c psi/iapi.c]</p> </blockquote> -<p><strong><a name="2009-11-03T125017.079568Z"></a> -2009-11-03T12:50:17.079568Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-27T160605.631664Z"></a> +2010-04-27T16:06:05.631664Z Chris Liddell</strong></p> <blockquote> <pre> -Removes two redundant SetBrushSource black +Add back in a call removed in (a merging) error in my previous commit (11137).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -The two SetBrushSourcewas introduced by: +<p><strong><a name="2010-04-27T145314.939131Z"></a> +2010-04-27T14:53:14.939131Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691260: make the FAPI and Freetype related warning messages debug only, and depend on -Zm for the FAPI warnings or -Z1 for the Freetype warnings. Also address compiler warnings in fapi_ft.c.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> -r8732: marcos - Add support to pxlcolor and pxlmono for 24 bpp images. +<p><strong><a name="2010-04-27T142708.849186Z"></a> +2010-04-27T14:27:08.849186Z Robin Watts</strong></p> +<blockquote> +<pre> +Silence some warnings, either by including new headers or by introducing +explicit casts. -After r8732, whenever one tries to output an image, the brush color is reset to -black. This affects later drawings that relies on a non-black brush color being -set previously and still considered being active. Fixes bug 690853. +No differences shown by local cluster testing (of pcl and gs only as xps is +currently broken). </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gxdcconv.c base/gsptype1.c base/gdevpx.c base/gstrans.c base/gdevrinkj.c base/gxfill.c base/gxstroke.c psi/zmisc.c]</p> </blockquote> -<p><strong><a name="2009-11-03T062149.323464Z"></a> -2009-11-03T06:21:49.323464Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-27T095626.779813Z"></a> +2010-04-27T09:56:26.779813Z Till Kamppeter</strong></p> <blockquote> <pre> -Add missing return type and static scope to the definitions of -pdf14_push/pop_transparency_state. Fixes a gcc warning.</pre> -<p>[base/gdevp14.c]</p> +Made the CUPS Raster output device working in a multi-threaded mode, removing all global variables. Thanks to James Cloos for the patch. Fixes bug #691241. +</pre> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-11-03T052732.955847Z"></a> -2009-11-03T05:27:32.955847Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-26T152928.937213Z"></a> +2010-04-26T15:29:28.937213Z Alex Cherepanov</strong></p> <blockquote> <pre> -Include the implicitly required headers for gxpcolor.h in gdevp14.h. - -This declares dev_color_proc_save_dc and related function pointers -before use, correcting a serious gcc warning and fixing compilation -on AIX 5.3 TL 8 SP2. Bug 690883. +Remember the allocator in the dynamically allocated scanner_state to ensure +proper deallocation. Current allocation may be reset when a PS error occurs. +Bug 691167. +</pre> +<p>[psi/ztoken.c psi/iscan.c psi/iscan.h]</p> +</blockquote> +<p><strong><a name="2010-04-26T090435.569612Z"></a> +2010-04-26T09:04:35.569612Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that the BuildChar object is not the null object before trying access its contents. </pre> -<p>[base/lib.mak base/gdevp14.h]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-11-02T173656.958032Z"></a> -2009-11-02T17:36:56.958032Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-26T055846.519692Z"></a> +2010-04-26T05:58:46.519692Z Michael Vrhel</strong></p> <blockquote> <pre> -When a stream error occurs, Ghostscript sometimes print a spurious "Additional -information" line containing uninitialized data as part of the error message. -Initialize error_string in s_init_state to fix this. Thanks to -Michael Constant for the patch. Bug 690874. +Change so that when a graphic state is restored, the overprint compositor action only occurs if there is a change from the current overprint state. This fixes a problem in one of the files associated with bug 691014. In the particular file, overprint compositor actions were getting placed into a pattern clist. The file in fact had no overprint settings. Ran regression test, no differences expected.</pre> +<p>[base/gsstate.c]</p> +</blockquote> +<p><strong><a name="2010-04-25T234756.048527Z"></a> +2010-04-25T23:47:56.048527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add ANSI/ASME Y14.1 A - F paper sizes named ANSI_A - ANSI_F for completeness. +Bug 691217. </pre> -<p>[base/stream.c]</p> +<p>[Resource/Init/gs_statd.ps]</p> </blockquote> -<p><strong><a name="2009-11-02T162435.721695Z"></a> -2009-11-02T16:24:35.721695Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-25T224548.099475Z"></a> +2010-04-25T22:45:48.099475Z Till Kamppeter</strong></p> <blockquote> <pre> -Add psdcmyk to regression testing (currently only at 72/75 dpi). +Minor clean-ups: Added some parantheses to casts and initialized allocated memory. </pre> -<p>[toolbin/localcluster/build.pl]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-11-02T052128.471147Z"></a> -2009-11-02T05:21:28.471147Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-25T223209.854994Z"></a> +2010-04-25T22:32:09.854994Z Michael Vrhel</strong></p> <blockquote> <pre> -Quiet Ubuntu 9.10 gcc/ld warning: +(empty)</pre> +<p>[base/gximono.c]</p> +</blockquote> -./obj/gdevpsft.o: In function `T.107': -gdevpsft.c:(.text+0x992): warning: memset used with constant zero length parameter; this could be due to transposed parameters +<p><strong><a name="2010-04-25T215242.447453Z"></a> +2010-04-25T21:52:42.447453Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Introduced a real get_color_comp_index() method, to fix bug #690338 correctly. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> +<p><strong><a name="2010-04-25T184728.775496Z"></a> +2010-04-25T18:47:28.775496Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add -dNONATIVEFONTMAP option to disable the use of font map and corresponding +fonts installed on underlying platform. This may be needed to ensure consistent +rendering on the platforms with different fonts, for instance, +during regression testing. Bug 691240. </pre> -<p>[base/gdevpsft.c]</p> +<p>[doc/Use.htm Resource/Init/gs_fonts.ps]</p> </blockquote> -<p><strong><a name="2009-11-01T233617.798485Z"></a> -2009-11-01T23:36:17.798485Z Ray Johnston</strong> (<a href="Details.htm#2009-11-01T233617.798485Z">details</a>)</p> +<p><strong><a name="2010-04-25T004140.540207Z"></a> +2010-04-25T00:41:40.540207Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for indeterminism from psdcmyk and any other devices that use rgb_cs_to_spotn_cm -or other gx_cm_color_map_procs that don't set all color_info->num_components elements -of the "frac out[]" array. Fix for Bug 690713. +Fix for Bug 691014. Problem was caused by the fact that we had a soft mask present and a pattern with no transparency. This means the PDF14 device is installed and more importantly that transparency state pushes and pops occur to keep the softmask in sync with the graphic state. This particular files pattern is installed as a clist, which happens to not have any transparency. The transparency state pushes and pops were getting placed into the pattern clist when the Q and q operations occurred in the pattern, which was causing problems since the pattern clist device had no pdf14 device installed to handle such commands. -</pre> -<p>[base/gxcmap.c]</p> +The solution is to check, when a transparency compositor action is to occur, if the current device is a pattern accumulator or a pattern-clist device. If it is, then the pattern instance is checked to see if it has transparency. If it does not, then the transparency state chance is ignored. This all occurs on the clist writing phase in the gs_trans functions. + +In addition, a fix was made so that the pdf14custom device sets up it's color information correctly. For subtractive devices that do not have cmyk process colorants the custompdf14 device is installed. This pdf14 device was obtaining its color_info from the target device. The pdf14 device must be continuous tone even if the target device is not. + +Ran a regression test and saw no differences.</pre> +<p>[base/gdevp14.c base/lib.mak base/gstrans.c]</p> </blockquote> -<p><strong><a name="2009-11-01T224733.338243Z"></a> -2009-11-01T22:47:33.338243Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-24T222126.893815Z"></a> +2010-04-24T22:21:26.893815Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a typo in a recently committed patch (rev. 10246) that broke a branch -that handles Type 3 images with string data source in the image and file data -source in the mask. Bug 690451, customer 200. +Remove rudimentary code that maps out-of-range character codes to 0 causing +dictionary overflow in some cases. Unlike earlier array, dictionary +representation of 'cmap' table doesn't need this. Bug 691253, customer 780. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> +<p><strong><a name="2010-04-23T125600.372874Z"></a> +2010-04-23T12:56:00.372874Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build. </pre> -<p>[Resource/Init/gs_ll3.ps]</p> +<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/psi/psitop.c psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-11-01T195029.144138Z"></a> -2009-11-01T19:50:29.144138Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-23T041050.732099Z"></a> +2010-04-23T04:10:50.732099Z Michael Vrhel</strong></p> <blockquote> <pre> -Consider '0000000000 00000 n' as a free entry, issue a warning, and continue -processing xref table. Files with this error, generated by Quartz PDFContext -are getting increasingly common. Bug 690873. +Fix of minor memory leak found by Ray. maskbuf entry of transparency ctx object was not getting freed. The large mask buffer, which is a member variable of maskbuf was getting freed but not this 12 byte structure. No expected differences.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> +<p><strong><a name="2010-04-23T032533.581070Z"></a> +2010-04-23T03:25:33.581070Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Always load CFF font as a CIDFont when it is used as a descendant font of a +composite font in PDF file. Bug 691253. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-11-01T183250.921078Z"></a> -2009-11-01T18:32:50.921078Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-22T122816.186930Z"></a> +2010-04-22T12:28:16.186930Z Alex Cherepanov</strong></p> <blockquote> <pre> -Implement support of large resource dictionaries. Store XObject dictionaries -that exceed 65534 elements as arrays of dictionaries. Increase default operand -stack limit to 300000 elements. Bug 690778, customers 850, 531. +Trap errors that happen in the font reader, issue a warning, and proceed as +if the font was not embedded. Bug 691242. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> +<p><strong><a name="2010-04-22T042000.389442Z"></a> +2010-04-22T04:20:00.389442Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't use precompiled headers on MSVC 6 and 7 because it causes compilation +error C2006 in freetype, which uses #include MACRO . </pre> -<p>[Resource/Init/gs_init.ps Resource/Init/pdf_main.ps Resource/Init/pdf_base.ps]</p> +<p>[base/msvccmd.mak]</p> </blockquote> -<p><strong><a name="2009-11-01T154028.684192Z"></a> -2009-11-01T15:40:28.684192Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-21T195107.227636Z"></a> +2010-04-21T19:51:07.227636Z Robin Watts</strong></p> <blockquote> <pre> -Always allocate pcl and xps jobs to i7 and i7a along with xps jobs (splitjobs.pl). +Add missing header file from revision 11097. -Fix race condition when machine goes down during regression (clustermaster.pl). +</pre> +<p>[base/gdevpdtd.h]</p> +</blockquote> -Repeated timeouts on a machine now cause it to abort the run and report this (run.pl and readlog.pl). +<p><strong><a name="2010-04-21T192613.171574Z"></a> +2010-04-21T19:26:13.171574Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert macro magic from gserror.h introduced in r11097, due to it being +broken when used as an expression. Sorry. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/run.pl]</p> +<p>[base/gserror.h]</p> </blockquote> -<p><strong><a name="2009-10-30T012556.717628Z"></a> -2009-10-30T01:25:56.717628Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-21T181256.928835Z"></a> +2010-04-21T18:12:56.928835Z Robin Watts</strong></p> <blockquote> <pre> -Work around a requirement of .image3 operator to have image and mask data -sources to be of the same type. Convert the data sources to the same type -on PostScript level. Bug 690850, customer 870. +Another set of very simple tweaks to a range of source files to remove +warnings. Nothing contentious in here I hope! + +base/gdevpdf.c: Make the fact we're ignoring the return value of fread +explicit by casting to void. + +base/gdevsj48.c: Remove unused var. + +base/gdevtknk.c: Avoid gcc warning by not needlessly assigning within +expression. + +base/gdevimgn.c: Fix type declaration, make function static. + +base/gxdcolor.c: Remove unused var. + +base/gdevwts.c: Comment out unused function, cast unused return value from +fread to void, remove unused vars. + +base/gdevo182.c: Be more explicit in type definition to stop warning. + +base/gdevlp8k.c: Remove unused var. + +base/gdevpdfu.c: Cast unused return value from fread to void. + +base/gdevlbp8.c: Cast unused return value from fread to void. + +base/gdevokii.c: Explicit cast to int to shut up stupid compiler. + +base/gdevpdtd.c: Add const to arg to avoid warning. + +base/gserror.h: Do some macro magic to ensure that the macro always evaluates +it's arg strictly once, insists on being followed by a semicolon, and behaves +well with surrounding if/else structures etc. + +base/gxp1fill.c: Remove unused var. </pre> -<p>[Resource/Init/gs_ll3.ps]</p> +<p>[base/gdevlbp8.c base/gdevtknk.c base/gdevsj48.c base/gdevo182.c base/gdevpdf.c base/gdevimgn.c base/gdevokii.c base/gdevpdtd.c base/gxdcolor.c base/gdevwts.c base/gdevlp8k.c base/gdevpdfu.c base/gxp1fill.c base/gserror.h]</p> </blockquote> -<p><strong><a name="2009-10-29T020758.374375Z"></a> -2009-10-29T02:07:58.374375Z Ray Johnston</strong> (<a href="Details.htm#2009-10-29T020758.374375Z">details</a>)</p> +<p><strong><a name="2010-04-21T175508.584502Z"></a> +2010-04-21T17:55:08.584502Z Robin Watts</strong></p> <blockquote> <pre> -Fix for clist setcolor when compressed color encoding is used which is the -default build case for the tiffsep and psdcmyk and others . Bug 690851. +Fix for a problem in the rinkj driver for Epson Stylus Photo 2200. +The code was accessing indexes 4,5,6 in plane_offsets[6] and hence was +running off the end of the array. This was causing a warning at compile time +but never caused a segv as it was merely corrupting the next entry in the +structure which was reset to 0 shortly afterwards. + +Presumably the offset for one of the planes would be wrong though causing +a loss of quality. </pre> -<p>[base/gdevp14.c]</p> +<p>[base/rinkj/rinkj-epson870.c]</p> </blockquote> -<p><strong><a name="2009-10-27T181349.866447Z"></a> -2009-10-27T18:13:49.866447Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-21T172331.243056Z"></a> +2010-04-21T17:23:31.243056Z Robin Watts</strong></p> <blockquote> <pre> -Adding all the commit ids ever found in svn log to the AUTHORS file. +Remove several occurrences of calls to gs_lib_ctx_get_non_gc_memory_t(). +The only code that now needs this is gp_macpoll.c and gp_mspol.c for when +CHECK_INTERRUPTS is defined. This reduces the need for mem_err_print. + +The only other code that uses mem_err_print is errflush() and errwrite(). +Potentially these could be nobbled for a multithreaded build. -For those I don't know the real name of, the id was duplicated as the name. -This should make it easier for somebody who wants to fill in the info. +The changes here rely on the memory pointers being set up correctly. While +local cluster testing gives this a clean bill of health, it's possible that +problems will appear with files in the wider world - we'll just have to fix +these as they are reported. </pre> -<p>[doc/AUTHORS]</p> +<p>[base/gdevjpeg.c base/sjpx_luratech.c base/strmio.c base/gxttfb.c psi/zfdctd.c base/sdctc.c psi/zfdcte.c psi/zfjpx.c base/sjpx.c]</p> </blockquote> -<p><strong><a name="2009-10-27T174451.858107Z"></a> -2009-10-27T17:44:51.858107Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-21T150847.471495Z"></a> +2010-04-21T15:08:47.471495Z Robin Watts</strong></p> <blockquote> <pre> -Adding my commit id<->name mapping to the AUTHORS file +Move CPSI_mode from being a global to living in the libctx, as part of the +efforts for bug 691207 (remove global variables). -Apparently this file is used by split_changelog.py for -building the History files. +I originally tried moving CPSI_mode into the imager state, which would have +been slightly nicer, but had to abandon this due to problems interacting +with the command list code. My first thought to make this work was to +push the value of CPSI_mode into the clist at initial clist creation time. +As the setting of CPSI_mode isn't vectored through the device, we can't +detect changes in its setting, but then changing CPSI_mode during the +lifespan of a clist would give unpredictable results anyway in many cases. + +Sadly this was doomed to failure as if a page device is started up that +uses the clist code to do banding, then the command list is created before +CPSI_mode is enabled, and we'd operate with the incorrect value. + +Moving CPSI_mode into libctx means we keep exactly the same behaviour as +we have now. This has required various functions throughout the code to +pass a gs_memory_t * around. + +Localcluster testing reveals no problems. </pre> -<p>[doc/AUTHORS]</p> +<p>[psi/zfunc3.c psi/zupath.c base/gsdps1.c base/gdevdevn.c base/gxblend1.c base/gspaint.c base/gxstroke.c psi/zmisc.c base/gdevperm.c base/gxdcconv.c base/gdevpsds.c base/gxcmap.c base/gxdcconv.h psi/zfont.c base/gdevrinkj.c base/gdevbit.c base/gsmisc.c base/gxfill.c base/gdevxcf.c base/gxicolor.c base/gdevpsd.c psi/zimage.c base/gsfont.c contrib/opvp/gdevopvp.c base/gsfont.h base/gsstate.c base/gslibctx.c base/gsstate.h psi/zcharx.c psi/zusparam.c base/gslibctx.h base/gsequivc.c psi/zchar.c]</p> </blockquote> -<p><strong><a name="2009-10-27T172817.755993Z"></a> -2009-10-27T17:28:17.755993Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-21T072014.808042Z"></a> +2010-04-21T07:20:14.808042Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Declare binary communications explicitly for IJS, where the default behavior -isn't clear for non-MS-VC compilers. +A fix for a regression introduced by r11074 (bug 690094). -This makes the IJS code works correctly when compiled by mingw or borland. -It also fixes some issue for Watcom. Watcom-compiled client -still seems to be buggy (as in not inter-operating with the others). -Closes bug 688714. +As I changed image number to be incremented when 'exflag' is false, +the problem of 'exrunlength' when SDHUFF == 1 was unveiled. +This fixes it. +JBIG2 images with SDHUFF == 1 should have been having trouble +between r11074 and this revision. No other difference expected. </pre> -<p>[ijs/ijs_client_example.c ijs/ijs_exec_win.c ijs/unistd_.h ijs/ijs_server.c]</p> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> </blockquote> -<p><strong><a name="2009-10-27T172138.456605Z"></a> -2009-10-27T17:21:38.456605Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-20T185236.186732Z"></a> +2010-04-20T18:52:36.186732Z Robin Watts</strong></p> <blockquote> <pre> -Reset color space to eRGB just in case a previous fill/stroke -had set it to eGray. Fixes 688320. +A series of tiny changes to various files to stop compiler warnings. +Nothing contentious in here, so I hope component owners don't object. + +psi/zpdfops.c: Make zpdfinkpath function static. + +psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note. + +psi/zicc.c: Remove 2 unused variables from a function. + +psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB +might be used uninitialised' warning. Remove out of date comment and make +zswapcolors static. + +psi/zfcid1.c: Convert some unused variables to comments. + +base/gp_unix_cache.c: Make the fact we are ignoring the return value from +fread explicit by casting to void. + +base/gstype42.c: Move an unused var into a #if 0 section, comment out an +unused function. + +base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used +without definition). + +base/gxshade6.c: Remove unused function + +base/gxclfile.c: Make the fact we are ignoring the return value to freopen +explicit by casting to void. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gxshade6.c psi/zcolor.c psi/zicc.c psi/zcie.c base/gp_unix_cache.c base/gxclfile.c base/gstrans.c base/gstype42.c psi/zfcid1.c psi/zpdfops.c base/echogs.c]</p> </blockquote> -<p><strong><a name="2009-10-27T170259.376757Z"></a> -2009-10-27T17:02:59.376757Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-19T161513.462842Z"></a> +2010-04-19T16:15:13.462842Z Lars Uebernickel</strong></p> <blockquote> <pre> -Implements DeltaRow compression as an option, plus updated user documentation. +Made oog_encode in tif_luv.c reentrant by precalculating oog_tables. + +oog_tables was calculated on-demand when writing TIFF files in LogLuv Encoding. +Since it didn't depend on anything dynamic, I replaced this code with a static +const array. The array only consisted of 100 ints - the net library size +actually went down a few bytes after this change. -The new compression scheme is activated by -dCompressMode=3. -1=RLE is still the default, and under some conditions: -1-pixel-high image (which does not compress well with DeltaRow) and out -of memory conditions (noCompression can run without allocating -memory), specifying -dCompressionMode=3 will still use the current RLE code. -These are documented in comments. +This is part of bug #691207 (global variables must be removed). </pre> -<p>[base/gdevpx.c doc/Devices.htm base/gdevpxut.c]</p> +<p>[tiff/libtiff/oog_table.h tiff/libtiff/tif_luv.c]</p> </blockquote> -<p><strong><a name="2009-10-27T165305.423045Z"></a> -2009-10-27T16:53:05.423045Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-19T115627.260655Z"></a> +2010-04-19T11:56:27.260655Z Lars Uebernickel</strong></p> <blockquote> <pre> -custom media size patch + bug fix. +Removed global variables in libtiff's tif_pixarlog.c. -This implements the CustomMediaSize as discussed; on the way I also found an -old bug with the pxl utility code which was just written but not used (until -now). See comments within. Fixes bug 690827. +This is part of #691207 (global variables must be removed). </pre> -<p>[base/gdevpxut.h base/gdevpxut.c]</p> +<p>[tiff/libtiff/tif_pixarlog.c]</p> </blockquote> -<p><strong><a name="2009-10-27T161323.571814Z"></a> -2009-10-27T16:13:23.571814Z Robin Watts</strong></p> +<p><strong><a name="2010-04-19T094714.697946Z"></a> +2010-04-19T09:47:14.697946Z Lars Uebernickel</strong></p> <blockquote> <pre> -Fix for bug 690831. +Removed TIFFReassignTagToIgnore in the local libtiff copy. -The test file uses a radial shading, where the final circle almost contains -the initial one, with 'extension' at the end selected. +It wasn't reentrant due to static variables and has been deprecated for a while +now. GhostScript does not use it at all. Libtiff HEAD also has this function +removed, it was only kept in 3.x for backwards compatibility. -Our code incorrectly fills the final extended circle, causing us to wipe out -all the correct fading we've done to that point. +</pre> +<p>[tiff/libtiff/tif_dir.c]</p> +</blockquote> -The fix is to recognise whether we are moving 'inwards' or 'outwards', and only -to fill in the 'inwards' case. +<p><strong><a name="2010-04-15T185800.960218Z"></a> +2010-04-15T18:58:00.960218Z Robin Watts</strong></p> +<blockquote> +<pre> +New Visual Stdio project file for building ufst version of ghostscript. -This fixes the original issue, and causes no visible regressions. +Currently assumes that the ufst code will be found in C:\ufst, but this can +be edited in the nmake invocation lines within the Project settings. </pre> -<p>[base/gxshade1.c]</p> +<p>[ghostscript-ufst.vcproj]</p> </blockquote> -<p><strong><a name="2009-10-27T155405.886068Z"></a> -2009-10-27T15:54:05.886068Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T184131.569934Z"></a> +2010-04-15T18:41:31.569934Z Robin Watts</strong></p> <blockquote> <pre> -Make htmldiff.pl output resolution information in html file. +Update msvc32.mak with various ufst make targets. This allows a +ghostscript-ufst Visual Studio project to be constructed. + +No differences to existing builds. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-10-27T043104.180870Z"></a> -2009-10-27T04:31:04.180870Z Michael Vrhel</strong></p> +<p><strong><a name="2010-04-15T171330.072845Z"></a> +2010-04-15T17:13:30.072845Z Robin Watts</strong></p> <blockquote> <pre> -Fix so that the monochrome devices do not use the non-separable blending -operations that are used for RGB devices. This was the source of an -indeterminism in Bug 690477. Thanks to Marcos for the detailed bug -information. - -DIFFERENCES EXPECTED: - -None. Apparently no other files use the non-separable luminosity -blending. +Remove invalid_file_stream and invalid_file_entry global variables, +as part of the effort for bug 691207 (remove global variables). + +We move invalid_file_stream to be a non-gc chunk allocated to be in +i_ctx_t, and invalid_file_entry can then be replaced by +i_ctx_p->invalid_file_stream. The only tricky bits are a) the need to ensure +that i_ctx_p is available everywhere where it is needed, and b) making sure +that invalid_file_stream doesn't move when i_ctx_p is relocated. + +No changes shown by localcluster testing (though a previous version of the +patch did fail during gc, so the relavent code is getting tested). + </pre> -<p>[base/gdevp14.c]</p> +<p>[psi/zfile.c psi/ztoken.c psi/zcontrol.c psi/zshade.c psi/zcontext.c psi/zfcid0.c psi/zfcid1.c psi/zicc.c psi/zfrsd.c psi/icontext.c psi/zvmem.c psi/ziodev.c psi/zfileio.c psi/interp.c psi/icstate.h psi/files.h]</p> </blockquote> -<p><strong><a name="2009-10-26T002011.207073Z"></a> -2009-10-26T00:20:11.207073Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T161310.848189Z"></a> +2010-04-15T16:13:10.848189Z Lars Uebernickel</strong></p> <blockquote> <pre> -bmpcmp.c: Fix bounding box calculation that could cause SEGV. +Backported and applied libtiff patches from libtiff bugs #2125 and #2125. +These get rid of some of the global variables in libtiff (in particular +rgb_refblackwhite and whitepoint in tif_aux.c). + +This is part of the multi-threaded gs effort (bug #691207). </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_aux.c tiff/libtiff/tif_dir.c tiff/man/TIFFGetField.3tiff tiff/libtiff/tif_dir.h tiff/libtiff/tif_ojpeg.c tiff/libtiff/tif_jpeg.c]</p> </blockquote> -<p><strong><a name="2009-10-26T001931.018870Z"></a> -2009-10-26T00:19:31.018870Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T144836.373936Z"></a> +2010-04-15T14:48:36.373936Z Robin Watts</strong></p> <blockquote> <pre> -Make htmldiff.pl output TITLEs for each IMG saying the source file, page, -resolution, and whether it's the candidate or reference image. +Fix for bug 691244, reported/patch supplied by Norbert Janssen. In +revision 11045, I'd moved some globals into the libctx, which is +accessed via the gs_memory_t pointer. This has required certain +functions to now take a gs_memory_t pointer as an extra arg. In +this particular case the gs_memory_t pointer in question could be +NULL. The fix is to use one obtained from gs_lib_ctx_get_non_gc_memory_t, +a call to which happens conveniently to be on the previous line. + +gs_lib_ctx_get_non_gs_memory_t is going to be painful to remove later on, +but at least this fix gets us up and running again now. + +No expected differences. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/strmio.c]</p> </blockquote> -<p><strong><a name="2009-10-25T123953.222871Z"></a> -2009-10-25T12:39:53.222871Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T095333.313864Z"></a> +2010-04-15T09:53:33.313864Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix for bug 687295; force transparent stroking to construct the entire path -before stroking it, thus eliminating nasty effects where edges overlap. +A fix for 690094, "missing letters replaced by little vertical lines". +This problem was in jbig2dec function jbig2_decode_symbol_dict(). +The image number was not incremented correctly when it built +symbol dictionary. +No difference expected, other than JBIG2 pdf files suffered by +this problem. </pre> -<p>[base/gxstroke.c]</p> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> </blockquote> -<p><strong><a name="2009-10-23T201715.860218Z"></a> -2009-10-23T20:17:15.860218Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T083048.171463Z"></a> +2010-04-15T08:30:48.171463Z Chris Liddell</strong></p> <blockquote> <pre> -Another couple of tweaks to bmpcmp.c: Avoid producing bitmaps that have no -changes in (from pages with well separated changes). -Shrink bbox of bitmaps where possible. +Resolve a Freetype build problem on Mac - solution suggested by Tor and Henry. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-10-23T192210.011416Z"></a> -2009-10-23T19:22:10.011416Z Robin Watts</strong></p> +<p><strong><a name="2010-04-14T192956.362613Z"></a> +2010-04-14T19:29:56.362613Z Robin Watts</strong></p> <blockquote> <pre> -Tweaks to bmpcmp.c. - * 'Small' differences are shown in green, large differences in red. - * Don't print an error message when no differences found, as the script - does this better (and we are only looking at a page at a time). +Update the clist band list compressor code to work without using global +variables as part of the workd for bug 691207 (remove global variables). + +The old code used to call a function to read an initialise global structure, +then based on that allocate storage and copy the structure into it. The new +code essentially does 2 calls; one that serves to get the size, and another +that serves to initialise the newly allocated structure. + +To facilitate testing, this introduces a new TEST_BAND_LIST_COMPRESSION +define. If built with this as a define, the code sets the compression +threshold to 1K, thus forcing the use of compression. A local cluster +push with this in reveals just one problem, and that seems to be in the +existing code whereby inflateEnd can be incorectly called on a NULL derived +pointer. A fix for that is included too. + +No expected differences. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gxcllzw.c base/gxclmem.c base/lib.mak base/gxclzlib.c base/gxclmem.h base/szlibd.c]</p> </blockquote> -<p><strong><a name="2009-10-23T192018.949144Z"></a> -2009-10-23T19:20:18.949144Z Robin Watts</strong></p> +<p><strong><a name="2010-04-14T162511.391305Z"></a> +2010-04-14T16:25:11.391305Z Chris Liddell</strong></p> <blockquote> <pre> -Tiny tweak to htmldiff.pl script; now lists files which it failed to find -changes in at the end. - +Reverse the previous build options for Freetype integration: now --disable-freetype for configure on Unix type systems or pass FT_BRIDGE=0 to nmake on Windows if you do not want to integrate Freetype. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/configure.ac psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-10-23T191336.932446Z"></a> -2009-10-23T19:13:36.932446Z Robin Watts</strong></p> +<p><strong><a name="2010-04-14T160329.953276Z"></a> +2010-04-14T16:03:29.953276Z Ken Sharp</strong></p> <blockquote> <pre> -Fix bounding box adjustments that were causing rendering glitch in bug 687295. +Fix FreeType FAPI +No bug for this (probably should be). Noticed while testing that using a TrueType to +replace a missing CIDFont (ie entry in cidfmap) was rendering the wrong glyphs, and +applying a vertical advance. +The incorrect glyph seems to be because we were incorrectly stating that the character +index was not a glyph ID, which it is in this case. +The second problem was more difficult. FreeType manufactures vertical advance metrics +for all TrueType glyphs, we override those in the incremental interface callback, but +when the TT is a CIDFont on disk, we don't use the incremental interface and so have +no opportunity to override the metric. + +Addressed this by checking in load_glyph to see if the current font is not type 1 +(ie its TT), *is* a CIDFont, and is not a vertical font (WMode is 0). In this case +we simply override the vertical advance and maek it 0. </pre> -<p>[base/gdevp14.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-23T071756.276513Z"></a> -2009-10-23T07:17:56.276513Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-14T141119.891045Z"></a> +2010-04-14T14:11:19.891045Z Robin Watts</strong></p> <blockquote> <pre> -Use document.domain instead of a hardwired value for the AJAX cgi -request. This allows the dashboard page to function on both the -ghostscript.com and the www.ghostscript.com server aliases. +Move real_time_0 from being a static variable in zmisc.c to being an entry +int libctx. Instead of initialisation happening in zmisc it now happens in +gslibctx.c. Part of the effort for bug 691027 (remove global vars). + +This variable isn't strictly speaking necessary, but apparently some FTS +tests behave better if realtime starts from 0, and it isn't a big problem. + +No differences shown in localcluster testing. + </pre> -<p>[toolbin/localcluster/dashboard.html]</p> +<p>[base/gslibctx.c base/gslibctx.h psi/zmisc.c]</p> </blockquote> -<p><strong><a name="2009-10-22T182822.955248Z"></a> -2009-10-22T18:28:22.955248Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-14T100331.189133Z"></a> +2010-04-14T10:03:31.189133Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Revert the changes from r10210. This was experimental code accidentally -committed with an unrelated log message. -</pre> -<p>[base/gxfcache.h base/gxistate.h base/gsfont.c base/gsistate.c]</p> +a few more comments about some microsoft CJK fonts</pre> +<p>[lib/mkcidfm.ps]</p> </blockquote> -<p><strong><a name="2009-10-22T182404.424606Z"></a> -2009-10-22T18:24:04.424606Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-14T023158.209185Z"></a> +2010-04-14T02:31:58.209185Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Correct a tranposed digit in the A4Small imageable area in -the ghostpdf ppd. Bug 690814.</pre> -<p>[lib/ghostpdf.ppd]</p> +Fixed jbig2dec command getopt() parameter for -v option. Not used by ghostscript itself but worth for standalone debugging.</pre> +<p>[jbig2dec/jbig2dec.c]</p> </blockquote> -<p><strong><a name="2009-10-22T182357.528033Z"></a> -2009-10-22T18:23:57.528033Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-14T022616.603254Z"></a> +2010-04-14T02:26:16.603254Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Add display of the pending 'clusterpush' job queue to the dashboard. +Fixed an indent. No influence on code.</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> -Runs to check commits to the central repository preempt clusterpush -jobs, but it is still useful to see the queue when several jobs are -waiting. +<p><strong><a name="2010-04-13T145216.370358Z"></a> +2010-04-13T14:52:16.370358Z Henry Stiles</strong></p> +<blockquote> +<pre> +Gets rid us of 2 global variables in jasper (jas_image_numfmts and +jas_image_fmtinfos). In so doing we take the liberty of simplifiying +jasper's startup. The configured codecs (we only use 2: jpc and jp2) +were set at compile time anyway so the the methods to "add formats" +and "clear formats" have been replaced with a static table. -Because we now have more than two elements, we replace the entire -'status' div element, rather than trying to find and replace each -sub-element within the div.</pre> -<p>[base/gxfcache.h base/gxistate.h base/gsfont.c base/gsistate.c]</p> +</pre> +<p>[jasper/src/appl/imgcmp.c jasper/src/appl/jasper.c jasper/src/appl/imginfo.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-10-22T094443.697488Z"></a> -2009-10-22T09:44:43.697488Z Ken Sharp</strong> (<a href="Details.htm#2009-10-22T094443.697488Z">details</a>)</p> +<p><strong><a name="2010-04-13T142959.699580Z"></a> +2010-04-13T14:29:59.699580Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Unchecked return value from pdf_write_spot_function +Remove BITTAG global variable by moving it into the libctx, as part of +efforts towards bug 691207 (multithreaded gs). This has required several +accessor functions to gain gs_memory_t * arguments. + +No differences expected, or shown by localcluster testing. </pre> -<p>[base/gdevpdfg.c]</p> +<p>[base/gsnamecl.c base/gsutil.h base/gslibctx.c base/gdevbit.c base/gslibctx.h base/gsutil.c]</p> </blockquote> -<p><strong><a name="2009-10-22T070127.775454Z"></a> -2009-10-22T07:01:27.775454Z Michael Vrhel</strong></p> +<p><strong><a name="2010-04-13T130654.792469Z"></a> +2010-04-13T13:06:54.792469Z Ken Sharp</strong></p> <blockquote> <pre> -Fix mistype of which procs to set to when we change the color space for a transparency group. If we are running with a separation device with spot colors then we need to use the compressed encoding and decoding. This fixes bug 690816. +Fix FreeType +A prior update which re-initialised a glyph index to prevent old Metrics override +values persisting after a glyph was discarded did not check the ft_inc_int member of +the 'FF_face' structure before dereferncing it, leading to a potential crash if the +font was not incrementally loaded. -DIFFERENCES EXPECTED: +The code now checks the value before attempting to dereference the pointer. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -None since it will only show up for separation devices.</pre> -<p>[base/gdevp14.c]</p> +<p><strong><a name="2010-04-13T125040.024266Z"></a> +2010-04-13T12:50:40.024266Z Ken Sharp</strong></p> +<blockquote> +<pre> +Modify FAPI support files +Moved FAPIConfig, FAPIcidfmap and FAPIfontmap from the 'lib' directory to the +'Resource/Init' directory, so that they get built in when COMPILE_INITS=1. + +Also modified gs_fapi.ps to contain default values for the contents of FAPIConfig which +map all fonts to the FAPI engine (FreeType for now). Modified FAPIConfig so that the +usual contents are commented out. This should allow the possibility of overriding the +default values by putting new values in FAPIConfig. +</pre> +<p>[lib/FAPIcidfmap lib/FAPIfontmap lib/FAPIconfig Resource/Init/FAPIcidfmap Resource/Init/FAPIfontmap Resource/Init/FAPIconfig Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-10-21T180925.061089Z"></a> -2009-10-21T18:09:25.061089Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-13T121542.067350Z"></a> +2010-04-13T12:15:42.067350Z Robin Watts</strong></p> <blockquote> <pre> -Add display of the pending 'clusterpush' job queue to the dashboard. +Move global variables from gshtscr.c (screen_accurate_screens, +screen_min_screen_levels, screen_use_wts) into libctx. This has +meant updating the functions to read/write these to take a +gs_memory_t pointer too. Part of the efforts for bug 691207. -Runs to check commits to the central repository preempt clusterpush -jobs, but it is still useful to see the queue when several jobs are -waiting. +No differences shown by localcluster testing. -Because we now have more than two elements, we replace the entire -'status' div element, rather than trying to find and replace each -sub-element within the div.</pre> -<p>[toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/dashboard.html]</p> +</pre> +<p>[base/gshtscr.c base/gxht.h psi/zusparam.c base/gslibctx.h base/gsht.c base/gsht1.c psi/zht.c psi/zht2.c]</p> </blockquote> -<p><strong><a name="2009-10-21T180923.409841Z"></a> -2009-10-21T18:09:23.409841Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-13T095008.611008Z"></a> +2010-04-13T09:50:08.611008Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Add a dashboard html page displaying the status of the local cluster. +A fix for 691081, 691206, and part of 690094. -This page retrieves the status information from the clustermonitor.cgi -script and parses it in javascript, constructing an html display. It -updates every five seconds. +From r9769, jbig2dec wasn't capable of decoding some JBIG2 files and throwing a error "jbig2dec FATAL ERROR runlength too large in export symbol table (XXX > XX - XX) (segment 0xXX)". +This was caused by accidentaly bound checking export symbol table size with number of non-export symbol. This fixes it. +No differences expected, other than JBIG2 files suffered from this problem. +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> -This dashboard is currently installed as http://ghostscript.com/regression/</pre> -<p>[toolbin/localcluster/dashboard.html]</p> +<p><strong><a name="2010-04-13T093822.017180Z"></a> +2010-04-13T09:38:22.017180Z Chris Liddell</strong></p> +<blockquote> +<pre> +Minor revision to FAPI code to better ensure GS errors in callbacks survive through the font renderer library.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> </blockquote> -<p><strong><a name="2009-10-21T180920.856618Z"></a> -2009-10-21T18:09:20.856618Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-13T032558.022387Z"></a> +2010-04-13T03:25:58.022387Z Henry Stiles</strong></p> <blockquote> <pre> -Add a cgi version of the clustermonitor script. +Make the CIESpaces array and its elements constant so it is not +confused with global modifiable data. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> -This is a perl cgi script which returns similar information to the -clustermonitor.pl terminal-based dashboard in a json structure for -easy parsing from javascript or other remote applications.</pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +<p><strong><a name="2010-04-12T104443.428786Z"></a> +2010-04-12T10:44:43.428786Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the hardcoded identity matrix in the Type 1 serialization code in favour of the new FAPI call allowing the interface code to dictate the matrix to be used.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-21T035046.157782Z"></a> -2009-10-21T03:50:46.157782Z Michael Vrhel</strong> (<a href="Details.htm#2009-10-21T035046.157782Z">details</a>)</p> +<p><strong><a name="2010-04-10T093554.039788Z"></a> +2010-04-10T09:35:54.039788Z Ken Sharp</strong></p> <blockquote> <pre> -Reintegration of gs_extendgraphic branch into trunk. This fixes bug690777.pdf. The main purpose of this commit is to relay information about q and Q operations (extended graphic state push and pops) to the pdf14 compositor. The reason this is needed is that the softmask is part of the extended graphic state. +Remove extraneous debug statement in revision 11050.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> -DIFFERENCES EXPECTED: +<p><strong><a name="2010-04-10T092850.393011Z"></a> +2010-04-10T09:28:50.393011Z Ken Sharp</strong></p> +<blockquote> +<pre> +FAPI Enhancement +We need a way in the initial release where we set FreeType as the default font scaler to +switch it off and revert back to the Ghostscript internal font scaler, in case there +are significant problems. Bug #691237 -Bug688807.pdf has a minor progression. Bug688159.pdf and Bug689509.pdf also reported differences but I could not see any using cmpi. Also, we may need to take a look at the XPS output. It was unclear to me which were regressions and which were indeterministic. +This allows the user to either send PostScript or set a command line value to create +a key called DisableFAPI, if the value is true then FAPI will no longer be active, and +so the GS font scaler will be used. +Can also be set with -dDisableFAPI=true at the command line. </pre> -<p>[base/gdevrops.c base/gxclimag.c base/gxistate.h base/gdevdflt.c base/gdevbbox.c base/gxcomp.h psi/ztrans.c base/gxclipm.c base/gsovrc.c base/gdevpdft.c /trunk/gs base/gxclip2.c base/gxdevcli.h base/gdevp14.c Resource/Init/pdf_ops.ps base/gxclist.c base/gdevp14.h base/gstrans.c base/gstrans.h base/gxclip.c]</p> +<p>[Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-10-21T011851.593536Z"></a> -2009-10-21T01:18:51.593536Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-09T182238.657773Z"></a> +2010-04-09T18:22:38.657773Z regression</strong></p> <blockquote> <pre> -Allow for newly added regression files to produce errors (compare.pl). +Fixed a recently introduced bug in the cluster that caused gs head to +be used when compiling GhostPCL/GhostXPS even if a previous revision +should have been used (as is the case when two or more commits occur +while the cluster is busy). +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-04-09T174920.410599Z"></a> +2010-04-09T17:49:20.410599Z regression</strong></p> +<blockquote> +<pre> +Minor tweaks/improvements to the cluster code: + +Fixed bug which occasionally left jobs running on macpro. -Fixed missing nice on some commands (build.pl). +Clusterpush.pl when run with user==mvrhel now compares to icc_work branch. -Fixed spurious error message when running svn commit regression (run.pl). +Report all icc_work branch errors (not just new ones). -Reordered code so that the user regression queue is updated even while a regression run is in progress (clustermaster.pl). +Collect time to run information. -Initial check-in (clustermonitor.pl). +No longer cache mupdf results. </pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-10-21T011147.945166Z"></a> -2009-10-21T01:11:47.945166Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-09T145126.314389Z"></a> +2010-04-09T14:51:26.314389Z Ken Sharp</strong></p> <blockquote> <pre> -Perform rsync based on checksum, not mod-time & size. +Fix UFST and enhance FAPI +Define a new API call for FAPI to allow font engines to replace a FontMatrix. This is +to allow FreeType to replace the FotnMatrix with the identity as it makes the 2-step +scaling performed by FreeType simpler. + +Modified compute_em_scale so that it uses the new API call instead of blindly replacing +the FontMatrix. + +Restored the calculation in FAPI_do_char which unwinds the FontMatrix from the CTM +when calculating the scale factor. Use the new API call to retrieve the desired +FontMatrix rather than pulling it directly from the font as before. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-04-09T081356.362732Z"></a> +2010-04-09T08:13:56.362732Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix Bug #691180 +This alters the described 'odd behaviour' of the font substitution code whereby fonts +whose name does not contain either 'Serif' or 'Sans' are substituted with Helvetica, +but those which contain 'Italic' are substituted with Times. Italic fonts are now +treated the same as Oblique fonts, and substituted with Helvetica, unless the font +is identified as a serif font. + +This may cause some substitution differences with regression files.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> </blockquote> -<p><strong><a name="2009-10-20T231013.904636Z"></a> -2009-10-20T23:10:13.904636Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-08T214254.260278Z"></a> +2010-04-08T21:42:54.260278Z Robin Watts</strong></p> <blockquote> <pre> -Modififed clusterpush.pl to print out the rsync status messages -(there should probably be a command line option to disable this). +Move io_device_table from being a global static in gsiodev.c into +the library context. In order to retrieve it we need to update +lots of functions to take a gs_memory_t * as well. + +Localcluster testing shows no expected differences. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[base/gsdevice.c psi/zfile.c base/gdevupd.c base/gsiodev.c base/gxdevice.h psi/ziodev2.c base/gdevprn.c psi/ziodevsc.c base/sfxcommon.c psi/zfrsd.c base/gxiodev.h base/strmio.c base/gslibctx.c base/gsfname.c psi/ziodev.c base/gdevtsep.c psi/zcrd.c base/gslibctx.h base/gsfname.h base/gdevps.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T160550.601517Z"></a> +2010-04-08T16:05:50.601517Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix TrueType interpreter Bug #691227 +Another nasty hack for another broken TrueType font. In this case the font tries to +execute a DeltaP instruction with an argument greater than the number of points in the +glyph, which is an error. + +FreeType's interpreter has this comment + + /* XXX: Because some popular fonts contain some invalid DeltaP */ + /* instructions, we simply ignore them when the stacked */ + /* point reference is off limit, rather than returning an */ + /* error. As a delta instruction doesn't change a glyph */ + /* in great ways, this shouldn't be a problem. */ + +This patch more or less mimics this in our code. +</pre> +<p>[base/ttinterp.c]</p> </blockquote> -<p><strong><a name="2009-10-20T212846.305832Z"></a> -2009-10-20T21:28:46.305832Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-08T155431.828558Z"></a> +2010-04-08T15:54:31.828558Z Ralph Giles</strong></p> <blockquote> <pre> -Report build failures with more detail. +Remove the commented out invocations of autoheader and aclocal/automake +in the autotools bootstrap script. + +The various autotools modules must be invoked in a specific order, and +usually with non-default options. We only use autoconf in our build, +not any of the other tools which layer on top of it, but I had left +their invocations in the script, but commented out, so make it easier +to add them at a later date. + +It's been some years since autogen.sh was added, and we still have no +plans to adopt automake. Also, the script didn't include support for +libtoolize (which is glibtoolize of MacOS X) nor for detecting the +appropriate automake version, so it seems simpler to just remove the +commented out lines to avoid confusion. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +<p>[autogen.sh]</p> </blockquote> -<p><strong><a name="2009-10-20T191709.055802Z"></a> -2009-10-20T19:17:09.055802Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-08T153926.443280Z"></a> +2010-04-08T15:39:26.443280Z Robin Watts</strong></p> <blockquote> <pre> -Handles images rotated by 90/-90/180 degree as high level object. +Stop a function scope static from being static as nothing was gained by it, +and this removes it from the list of global variables as part of the efforts +for bug 691207 (multithreaded safety). -This change implement rotated image as a high-level object by -emitting a PXL rotation intruction, draw the image with rotated -user co-ordinate, then the reverse PXL rotation. Fixes bug 690733. +No expected differences. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gdevupd.c]</p> </blockquote> -<p><strong><a name="2009-10-20T165311.304991Z"></a> -2009-10-20T16:53:11.304991Z Robin Watts</strong></p> +<p><strong><a name="2010-04-08T152926.540666Z"></a> +2010-04-08T15:29:26.540666Z Robin Watts</strong></p> <blockquote> <pre> -Fix for bug 690805. +Change a static (that happens to be const) to be a static const to remove +it from the global variable list for bug 691207. -If a dash pattern exactly fits into the path to be stroked, a 0 length dash -note is emitted, with (0,0) tangents. This causes an extra cap to be put on -the path when rendering, causing stray marks. +No expected differences. + +</pre> +<p>[base/gdevifno.c]</p> +</blockquote> -The fix is to recognise the case when we are about to emit a dash note with -no useful information in the note (i.e. if udx and udy are 0, then don't -emit the dash note). This leaves the renderer free to make it's own decision. +<p><strong><a name="2010-04-08T152228.719732Z"></a> +2010-04-08T15:22:28.719732Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove globals from gdevmgr.c as part of efforts on bug 691207 (multithreaded +safety). -Examination of the bitmaps shows that all the differences are in fact -improvements. The following files are identified by the localcluster as -being differences, but no differences are found in local testing: +Move 5 tables from being file level statics to living in the device structure. -tests_private/pcl/pcl5efts/fts.1140.pdf.pkmraw.600.0 pcl i7 i7 -tests_private/pcl/pcl5efts/fts.1140.pdf.ppmraw.600.0 pcl i7 imac -tests_private/pcl/pcl5efts/fts.1140.pdf.ppmraw.75.0 pcl macpro macpro -tests_private/pcl/pcl5efts/fts.2380.pdf.ppmraw.600.0 pcl macpro i7 -tests_private/ps/ps3cet/09-36.PS.pbmraw.300.0 gs i7 snow -tests_private/ps/ps3cet/09-36.PS.pbmraw.300.1 gs snow i7 -tests_private/ps/ps3cet/09-36.PS.pdf.pkmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/09-36.PS.pdf.ppmraw.300.0 gs snow i7a -tests_private/ps/ps3cet/09-36.PS.pgmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/09-36.PS.pgmraw.300.1 gs macpro snow -tests_private/ps/ps3cet/09-36.PS.pkmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/09-36.PS.pkmraw.300.1 gs i7 WZIM -tests_private/ps/ps3cet/09-36.PS.ppmraw.300.0 gs macpro i7 -tests_private/ps/ps3cet/09-36.PS.ppmraw.300.1 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pbmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/11-21.PS.pbmraw.300.1 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pdf.pkmraw.300.0 gs snow snow -tests_private/ps/ps3cet/11-21.PS.pdf.ppmraw.300.0 gs i7 i7 -tests_private/ps/ps3cet/11-21.PS.pgmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/11-21.PS.pgmraw.300.1 gs i7 snow -tests_private/ps/ps3cet/11-21.PS.pkmraw.300.0 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pkmraw.300.1 gs macpro WZIM -tests_private/ps/ps3cet/11-21.PS.ppmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/11-21.PS.ppmraw.300.1 gs macpro macpro -tests_private/ps/ps3cet/11-28.PS.pbmraw.300.0 gs i7 i7a -tests_private/ps/ps3cet/11-28.PS.pbmraw.300.1 gs snow snow -tests_private/ps/ps3cet/11-28.PS.pdf.pkmraw.300.0 gs i7 macpro -tests_private/ps/ps3cet/11-28.PS.pdf.ppmraw.300.0 gs i7a snow -tests_private/ps/ps3cet/11-28.PS.pgmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/11-28.PS.pgmraw.300.1 gs i7a macpro -tests_private/ps/ps3cet/11-28.PS.pkmraw.300.0 gs snow macpro -tests_private/ps/ps3cet/11-28.PS.pkmraw.300.1 gs i7 snow -tests_private/ps/ps3cet/11-28.PS.ppmraw.300.0 gs macpro i7 -tests_private/ps/ps3cet/11-28.PS.ppmraw.300.1 gs macpro i7 -tests_private/xps/xpsfts-a4/fts_43xx.xps.bitrgb.72.0 xps macpro imac +Checked by doing back to back builds and verifying that the same output is +given for tiger.eps in both cases. +No expected differences. </pre> -<p>[base/gxpdash.c]</p> +<p>[base/gdevmgr.c]</p> </blockquote> -<p><strong><a name="2009-10-20T161829.688093Z"></a> -2009-10-20T16:18:29.688093Z Robin Watts</strong></p> +<p><strong><a name="2010-04-08T151651.654028Z"></a> +2010-04-08T15:16:51.654028Z Robin Watts</strong></p> <blockquote> <pre> -Simple .bmp image differ/slicer, for use with htmldiff.pl. +Remove the function scope static variables from gdevcdj.c as part of the +efforts for bug 691207 (multithreaded safety). These only affect the +ESC/P driver. + +There are 4 variables in play here. real_rows doesn't actually need to be +static at all as it is always set before being used. The other 3 (ln_idx, +vskip1 and vskip2) all go into the 'ep_globals' structure. + +There is a subtle change in behaviour here; previously these variables were +initialised to zero on execution start (and again on every flush). Now they +are initialised to zero at the start of every page (and again on every flush). +This means that leftover vskips are no longer carried forwards from page to +page. This seems like a good thing to me. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2009-10-20T161356.684584Z"></a> -2009-10-20T16:13:56.684584Z Robin Watts</strong></p> +<p><strong><a name="2010-04-08T143041.679319Z"></a> +2010-04-08T14:30:41.679319Z Robin Watts</strong></p> <blockquote> <pre> -Simple perl script to produce html+images from regression lists as produced -by localcluster regression tests. +Make a table of 4 zeros be static const, and update the cast where they are +used to also be static const. This should remove them from the global variable +list in bug 691207. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[contrib/japanese/gdev10v.c]</p> </blockquote> -<p><strong><a name="2009-10-20T075942.576899Z"></a> -2009-10-20T07:59:42.576899Z Ken Sharp</strong> (<a href="Details.htm#2009-10-20T075942.576899Z">details</a>)</p> +<p><strong><a name="2010-04-08T115629.059369Z"></a> +2010-04-08T11:56:29.059369Z Robin Watts</strong></p> <blockquote> <pre> -Fix (ps2write) : Allow use of /Indexed colour spaces in PostScript output. +Remove global variables in gdevcdj.c as part of the effort for bug 691207. + +The ESC/P based printing code in gdevcdj.c uses various global variables; we +gather them into a struct here, and pass the struct between the 2 functions +concerned. + +This device isn't used in the default build, so no point in testing with the +localcluster. Enabling it locally and doing before/after tests shows that +identical results are given for rendering tiger.eps. + +A side effect of this commit is to remove the nasty shadowing of the img_rows +variable (doubly nasty because of it's use within a macro). This meant that I +had the code wrong for a while, so I know the test is actually testing the +right thing. </pre> -<p>[base/gdevpdfc.c Resource/Init/opdfread.ps]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2009-10-19T202453.770533Z"></a> -2009-10-19T20:24:53.770533Z Ralph Giles</strong> (<a href="Details.htm#2009-10-19T202453.770533Z">details</a>)</p> +<p><strong><a name="2010-04-07T171846.406090Z"></a> +2010-04-07T17:18:46.406090Z Robin Watts</strong></p> <blockquote> <pre> -Print a warning when invoking the 'so' unix makefile targets from pmake. +Remove global variable lbp8_end from gdevlbp8.c - it was permanently NULL +so removing it isn't hard, or risky. This will help towards the "No global +variables" goal (bug 691207). + +No expected differences. </pre> -<p>[base/unix-dll.mak]</p> +<p>[base/gdevlbp8.c]</p> </blockquote> -<p><strong><a name="2009-10-17T185906.072895Z"></a> -2009-10-17T18:59:06.072895Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-07T132337.938542Z"></a> +2010-04-07T13:23:37.938542Z Chris Liddell</strong></p> <blockquote> <pre> -Finish implementation of ColorSpace extraction from JPX streams. RGB, -Gray, and ICC-based color spaces are extracted and passed to PDF interpreter. -Palette colors need no further processing in PDF interpreter because -they are expanded on C level. Bug 690207. +Revise the interface code and the use of FT so that both use GS managed memory, rather than the stdlib memory routines (malloc/free and co.).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T131357.741241Z"></a> +2010-04-07T13:13:57.741241Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691228, problems with wide strokes with round caps/joins with +antialiasing enabled. + +2 small problems in the same code. In the antialiased case, we stroke by +forming 2 paths (one up either side of the line) and then reverse one and +concatenate it. This should happen whenever we meet a closepath, but due to +a misplaced return, was being missed out in some round join cases. + +Also, when using a round join in the case where 2 lines meet 'in-line' we +would inadvertently leave the point on the wrong side of the line. + +No changes in localcluster testing as this only affects antialiased results +and that's not tested currently. </pre> -<p>[Resource/ColorSpace/sGray Resource/ColorSpace/sRGB Resource/Init/pdf_draw.ps]</p> +<p>[base/gxstroke.c]</p> </blockquote> -<p><strong><a name="2009-10-16T140204.066085Z"></a> -2009-10-16T14:02:04.066085Z Ken Sharp</strong> (<a href="Details.htm#2009-10-16T140204.066085Z">details</a>)</p> +<p><strong><a name="2010-04-06T192640.921375Z"></a> +2010-04-06T19:26:40.921375Z Robin Watts</strong></p> <blockquote> <pre> -Fix (ps2write) : Problems with type 3 fonts causing errors +Another attempt to fix Bug 691115. This corrects the clipping of a trapezoid +to a rectangle within the shading code. My previous attempt had failed to +allow for one case. + +This causes 116 non-pdfwrite diffs, and 23 pdfwrite ones, all checked using +bmpcmp and found to be acceptable. </pre> -<p>[Resource/Init/opdfread.ps]</p> +<p>[base/gxshade6.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T171554.520182Z"></a> +2010-04-06T17:15:54.520182Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of fuzzy to report average and max color errors. This is useful for continuous tone images only. If the max error reaches the largest possible, the calculations for these values are not performed.</pre> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2009-10-16T072224.989326Z"></a> -2009-10-16T07:22:24.989326Z Ken Sharp</strong> (<a href="Details.htm#2009-10-16T072224.989326Z">details</a>)</p> +<p><strong><a name="2010-04-06T141443.252652Z"></a> +2010-04-06T14:14:43.252652Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (ps2write) : Pattern colour spaces broken +Fix FAPI and FreeType interface. +The Metrics override was broken, the code to retrieve the /Metrics entries (1 to 4 +values) stored the results in an array in a different order to the code which read the +values back. +In addition the FreeType code did not reset the 'glyph_metrics_index' if a glyph had no +metrics override, which could lead to us using the metrics overrides from a prior glyph +if we had already encountered one using an override. </pre> -<p>[Resource/Init/opdfread.ps]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-14T091543.246903Z"></a> -2009-10-14T09:15:43.246903Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-06T100831.160988Z"></a> +2010-04-06T10:08:31.160988Z Ken Sharp</strong></p> <blockquote> <pre> -Initial checkin of script to gather performance data based on revision. +Fix FreeType. +The revision 11012 fixed a problem with an invalid font but accidentally introduced a +regression because an 'else' clause was missed. </pre> -<p>[toolbin/performance.pl]</p> +<p>[freetype/src/psaux/psobjs.c]</p> </blockquote> -<p><strong><a name="2009-10-13T071632.913558Z"></a> -2009-10-13T07:16:32.913558Z Ken Sharp</strong> (<a href="Details.htm#2009-10-13T071632.913558Z">details</a>)</p> +<p><strong><a name="2010-04-06T081444.802475Z"></a> +2010-04-06T08:14:44.802475Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (ps2write) : Problem with TrueType /.notdef encoding +Resolve two compiler warnings - no behaviour change expected</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -</pre> -<p>[Resource/Init/opdfread.ps]</p> +<p><strong><a name="2010-04-05T235000.539571Z"></a> +2010-04-05T23:50:00.539571Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about using globs not expandable by shell; bug 691229</pre> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2009-10-12T022721.732148Z"></a> -2009-10-12T02:27:21.732148Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-05T172412.188391Z"></a> +2010-04-05T17:24:12.188391Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Add sRGB and a similar one-component color space for the upcoming patch -that will extract color space information from JP2 stream. Bug 690207. +adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219</pre> +<p>[lib/pdf2ps lib/eps2eps lib/pfbtopfa lib/ps2epsi lib/ps2pdfwr lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +</blockquote> -</pre> -<p>[Resource/ColorSpace/sGray Resource/ColorSpace/sRGB]</p> +<p><strong><a name="2010-04-05T172210.077618Z"></a> +2010-04-05T17:22:10.077618Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "dirname $0" ; bug 691219</pre> +<p>[lib/printafm lib/eps2eps lib/pdf2dsc lib/gsbj lib/ps2epsi lib/gsdj lib/dumphint lib/gsnd lib/font2c lib/pdfopt lib/pdf2ps lib/ps2pdf lib/gslj lib/pfbtopfa lib/bdftops lib/ps2pdf12 lib/ps2pdf13 lib/ps2pdf14 lib/gslp lib/wftopfa lib/ps2pdfwr lib/ps2ps lib/pphs lib/pf2afm lib/gsdj500]</p> </blockquote> -<p><strong><a name="2009-10-08T015310.398646Z"></a> -2009-10-08T01:53:10.398646Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-05T171334.259627Z"></a> +2010-04-05T17:13:34.259627Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a long-standing bug in ps2ascii conversion that caused concatenation of -the lines within a paragraph. Bug 690806. +adding reference to msmin04, msgoth04 and ngulim,nbantang; fixes the remaining issues in bug 689456</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> +<p><strong><a name="2010-04-05T154847.768122Z"></a> +2010-04-05T15:48:47.768122Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix line endings. The previous commit (11012) accidentally used DOS line endings which +made it appear every line in the file was different. </pre> -<p>[lib/ps2ascii.ps]</p> +<p>[freetype/src/psaux/psobjs.c]</p> </blockquote> -<p><strong><a name="2009-10-06T114451.043694Z"></a> -2009-10-06T11:44:51.043694Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-05T153111.441559Z"></a> +2010-04-05T15:31:11.441559Z Ken Sharp</strong></p> <blockquote> <pre> -Skip non-PDF files during enumeration of embedded file streams in PDF -portfolio. Bug 690422, customer 531. +Fix FreeType +When using bitmaps from a TrueType/Type42 font FreeType uses a heuristic approach to +synthesize vertical metrics for the glyphs, including a horizontal advance. As in the +past, this works well as long as the client knows whether the advance direction is +horizontal or vertical and uses the correct advance. + +However we don't know that, so we don't want the vertical advance. +Its easiest jut to have FreeType ignore embedded bitmaps and use the outlines, in which +case we don't get the invented vertical advance. Not only that but the rendered bitmap +is a better match for the cases where we don't have a pre-built bitmap, so consistency +is improved with this patch as well. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-06T082242.843465Z"></a> -2009-10-06T08:22:42.843465Z Ken Sharp</strong> (<a href="Details.htm#2009-10-06T082242.843465Z">details</a>)</p> +<p><strong><a name="2010-04-05T152725.365922Z"></a> +2010-04-05T15:27:25.365922Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Undo escapement of PostScript strings when writing XMP metadata for -PDF/A +Fix FreeType +The test file objlune_font2_mine.ps contains a Type 1 font which has a technically + invalid glyph. The glyph executes a 'lineto' class operation before a 'moveto' class +operation. +Although illegal it seems that all other PostScript RIPs ignore this requirement, this +patch removes the error check in FreeType to conform with other interpreters. </pre> -<p>[base/gdevpdfe.c]</p> +<p>[freetype/src/psaux/psobjs.c]</p> </blockquote> -<p><strong><a name="2009-10-06T073333.759516Z"></a> -2009-10-06T07:33:33.759516Z Ken Sharp</strong> (<a href="Details.htm#2009-10-06T073333.759516Z">details</a>)</p> +<p><strong><a name="2010-04-05T113332.361294Z"></a> +2010-04-05T11:33:32.361294Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (pdfwrite) : The PDFACompatibilityPolicy switch was being overwritten by PDFA on -setpagedevice +Update the to latest FT code from the FT git repository.</pre> +<p>[freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/src/type1/t1objs.h freetype/docs/INSTALL.CROSS freetype/src/truetype/ttgload.c freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/src/raster/ftrend1.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/src/psaux/psaux.c freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/src/pcf/pcfread.h freetype/include/freetype/ftcache.h freetype/src/raster/Jamfile freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/ftincrem.h freetype/include/freetype/internal/services/svcid.h freetype/src/pshinter/pshalgo.h freetype/src/psnames/psnamerr.h freetype/src/tools/test_afm.c freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/include/freetype/freetype.h freetype/vms_make.com freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/docs/INSTALL.UNIX freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfr.c freetype/src/pfr/pfrload.c freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/src/type1/t1gload.c freetype/src/base/ftbbox.c freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/src/bdf/bdferror.h freetype/src/gxvalid/rules.mk freetype/src/pcf/pcf.c freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/include/freetype/internal/services/svotval.h freetype/src/otvalid/rules.mk freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/builds/win32/vc2005/freetype.vcproj freetype/src/base/ftbase.h freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/src/bdf/bdf.h freetype/src/gxvalid/gxvalid.c freetype/src/cff/cff.c freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/src/autofit/afmodule.c freetype/src/autofit/afmodule.h freetype/src/pfr/pfrcmap.c freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/src/type1/t1afm.c freetype/src/raster/module.mk freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/src/type1/t1tokens.h freetype/src/type1/t1afm.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/src/pshinter/pshrec.h freetype/src/truetype/ttobjs.c freetype/src/autofit/autofit.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/truetype/ttobjs.h freetype/src/otvalid/otvgsub.c freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/include/freetype/ftglyph.h freetype/builds/win32/vc2005/index.html freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/src/autofit/aflatin2.h freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/src/pshinter/pshinter.c freetype/src/cache/ftcglyph.h freetype/src/tools/test_bbox.c freetype/src/cache/Jamfile freetype/src/type42/t42types.h freetype/include/freetype/internal/services/svpsinfo.h freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/tools/docmaker/docbeauty.py freetype/src/raster/rastpic.h freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/src/sfnt/module.mk freetype/src/type1/t1load.c freetype/docs/INSTALL freetype/src/gzip/inftrees.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/cff/cfftoken.h freetype/src/gxvalid/gxvfeat.c freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/src/pfr/pfrsbit.h freetype/src/gxvalid/gxvfeat.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/src/base/ftglyph.c freetype/include/freetype/ftmm.h freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/psaux/afmparse.c freetype/src/sfnt/sfdriver.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/psaux/afmparse.h freetype/src/sfnt/sfdriver.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/pshinter/pshpic.h freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/PATENTS freetype/docs/raster.txt freetype/src/autofit/afpic.h freetype/src/cff/cffdrivr.c freetype/src/otvalid/otvgpos.c freetype/src/cid/cidriver.c freetype/src/cff/cffdrivr.h freetype/include/freetype/ftgasp.h freetype/src/autofit/afindic.c freetype/src/otvalid/otvgpos.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/src/gzip/zconf.h freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/src/otvalid/otvalid.c freetype/src/otvalid/otvcommn.c freetype/include/freetype/config/ftmodule.h freetype/include/freetype/ftxf86.h freetype/src/otvalid/otvalid.h freetype/src/otvalid/otvcommn.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/include/freetype/ftstroke.h freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/builds/win32/visualce/freetype.dsp freetype/src/cid/ciderrs.h freetype/ChangeLog.20 freetype/ChangeLog.21 freetype/src/type42/t42parse.h freetype/ChangeLog.22 freetype/src/bdf/bdfdrivr.h freetype/include/freetype/tttables.h freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/include/freetype/internal/ftobjs.h freetype/src/pcf/pcfdrivr.c freetype/src/gxvalid/gxvmort5.c freetype/src/pcf/pcfdrivr.h freetype/src/psnames/Jamfile freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/include/freetype/internal/services/svpostnm.h freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/src/autofit/afloader.c freetype/src/otvalid/Jamfile freetype/include/freetype/internal/services/svkern.h freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/psaux/psobjs.c freetype/src/sfnt/Jamfile freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/src/base/ftcalc.c freetype/src/pshinter/pshnterr.h freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/pshinter/module.mk freetype/src/tools/ftrandom/Makefile freetype/src/type42/rules.mk freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/src/cff/cffobjs.h freetype/include/freetype/ftoutln.h freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/tools/ftrandom/README freetype/src/winfonts/rules.mk freetype/docs/CHANGES freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/src/gxvalid/gxvtrak.c freetype/src/pcf/README freetype/include/freetype/internal/ftdriver.h freetype/include/freetype/ftgzip.h freetype/src/base/ftrfork.c freetype/include/freetype/internal/services/svbdf.h freetype/src/smooth/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/base/rules.mk freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/include/freetype/ftlcdfil.h freetype/src/tools/docmaker/sources.py freetype/src/type42/type42.c freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/truetype/ttdriver.h freetype/src/autofit/aflatin.c freetype/src/pfr/pfrgload.h freetype/src/base/ftsnames.c freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/docs/TRUETYPE freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/src/base/ftsynth.c freetype/src/base/ftwinfnt.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/sfnt/ttbdf.h freetype/src/lzw/ftlzw.c freetype/builds/win32/vc2008/freetype.vcproj freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/truetype/ttinterp.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/sfnt/ttcmap.c freetype/include/freetype/internal/services/svmm.h freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/src/truetype/tterrors.h freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/include/freetype/internal/pshints.h freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/src/psaux/psauxmod.c freetype/builds/wince/vc2008-ce/index.html freetype/src/pfr/module.mk freetype/src/psnames/psmodule.h freetype/src/base/ftcid.c freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/sfnt/ttcmapc.h freetype/src/gzip/inffixed.h freetype/include/freetype/ftwinfnt.h freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/include/freetype/ftimage.h freetype/docs/release freetype/src/pfr/pfrobjs.h freetype/src/lzw/ftzopen.c freetype/src/truetype/truetype.c freetype/src/lzw/Jamfile freetype/Makefile freetype/src/lzw/ftzopen.h freetype/src/base/fttrigon.c freetype/src/autofit/afhints.c freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/src/smooth/Jamfile freetype/src/gzip/adler32.c freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/src/sfnt/sfntpic.c freetype/src/gzip/zutil.c freetype/src/winfonts/winfnt.h freetype/src/smooth/smooth.c freetype/src/sfnt/sfntpic.h freetype/src/gzip/zutil.h freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/src/gxvalid/gxvmorx4.c freetype/src/winfonts/Jamfile freetype/include/freetype/internal/pcftypes.h freetype/src/smooth/ftgrays.h freetype/src/pfr/pfrerror.h freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/src/otvalid/module.mk freetype/ChangeLog freetype/include/freetype/internal/services/svpscmap.h freetype/include/freetype/fttrigon.h freetype/docs/FTL.TXT freetype/src/cache/ftcmanag.c freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/services/svtteng.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/include/freetype/internal/ftpic.h freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/src/psnames/psnames.c freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/type42/t42objs.h freetype/src/smooth/ftsmerrs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/src/psaux/t1decode.c freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/src/type42/module.mk freetype/src/otvalid/otvjstf.c freetype/src/autofit/aferrors.h freetype/src/cff/cffgload.c freetype/src/gxvalid/gxvlcar.c freetype/include/freetype/internal/services/svsfnt.h freetype/src/base/ftinit.c freetype/src/bdf/README freetype/src/cache/ftccback.h freetype/src/cff/cffgload.h freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/src/tools/Jamfile freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/cff/cffload.c freetype/src/gxvalid/gxvcommn.c freetype/src/autofit/afangles.h freetype/src/cff/cffload.h freetype/src/gxvalid/gxvcommn.h freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> +<p><strong><a name="2010-04-05T100359.155794Z"></a> +2010-04-05T10:03:59.155794Z Chris Liddell</strong></p> +<blockquote> +<pre> +Fix the FAPI implementation of finding the appropriate bytes for a given character code from an array of strings representing a CMap.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T123123.439338Z"></a> +2010-04-02T12:31:23.439338Z Ken Sharp</strong></p> +<blockquote> +<pre> +'Fix' FAPI with FreeType. + +FreeType's hinting is worse than useless for type 1 fonts, its actually harmful. It +distorts the glyph shape because it hints an unscaled outline. While it would be best +to fix FreeType's hinting this is a large project. For now this patch disables FreeType +hinting when handling type 1 fonts. + +This resolves many spacing issues as well as fixing the stroke/fill mismatch with +ia3z3519.pdf and the incorrectly scaled outline in womanface.pdf. </pre> -<p>[base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfp.c base/gdevpdfb.h]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-05T160719.389735Z"></a> -2009-10-05T16:07:19.389735Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-02T091923.286738Z"></a> +2010-04-02T09:19:23.286738Z Chris Liddell</strong></p> <blockquote> <pre> -Correct typos in the MacOS X linker options. Bug 690783.</pre> -<p>[base/unix-dll.mak]</p> +Extend Ken's change to avoid using FT's "synthetic" vertical metrics for Type42 fonts to cover all fonts using TTF outlines (so CIDType 2 fonts, as well).</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-05T092744.398728Z"></a> -2009-10-05T09:27:44.398728Z Ken Sharp</strong> (<a href="Details.htm#2009-10-05T092744.398728Z">details</a>)</p> +<p><strong><a name="2010-04-02T090653.941441Z"></a> +2010-04-02T09:06:53.941441Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : incomplete submission #10124 +Fix a bug in the FreeType scan conversion. +A multiply and divide to calculate the slope of a line did not account for the +possibility of overflow during multiplication. Using the supplied SMulDiv routine fixes +the problem. + +The patch has been supplied upstream to the FreeType development team. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[freetype/src/raster/ftraster.c]</p> </blockquote> -<p><strong><a name="2009-10-05T071040.648039Z"></a> -2009-10-05T07:10:40.648039Z Ken Sharp</strong> (<a href="Details.htm#2009-10-05T071040.648039Z">details</a>)</p> +<p><strong><a name="2010-04-01T133252.153614Z"></a> +2010-04-01T13:32:52.153614Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Improve symbolic font detection +Slight tidy up to gs_2_colors code: Given that the cie_joint_caches_alt is +now kept in the imager state rather than the graphics state, move the +reference counting/initialisation for the same into the imager state +too. No difference in operation, but just a bit tidier. + +No expected differences, though the cluster may show 2colCIEtest.pdf as +failing if it hasn't propogated around the nodes yet. </pre> -<p>[base/gdevpdtd.c base/gdevpdtw.c base/gdevpdtd.h]</p> +<p>[base/gsstate.c base/gsistate.c]</p> </blockquote> -<p><strong><a name="2009-10-05T013752.593906Z"></a> -2009-10-05T01:37:52.593906Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-31T154306.179195Z"></a> +2010-03-31T15:43:06.179195Z Chris Liddell</strong></p> <blockquote> <pre> -Fix incorrect calculation of the page size in cljet5 driver that returned the -size in inches instead of points causing /rangecheck in .installpagedevice . -Bug 690799, customer 870. +Bounds check the correct object when looking up a CID map</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -</pre> -<p>[base/gdevclj.c]</p> +<p><strong><a name="2010-03-31T144031.704728Z"></a> +2010-03-31T14:40:31.704728Z Chris Liddell</strong></p> +<blockquote> +<pre> +Correct a logical error/typo in the fallback to non-hinted condition.</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-04T124207.575694Z"></a> -2009-10-04T12:42:07.575694Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-31T132201.442343Z"></a> +2010-03-31T13:22:01.442343Z Chris Liddell</strong></p> <blockquote> <pre> -Fix SEGV caused by unknown %device% prefix. Add missing check for return code -during lib path parsing. Thanks to Piotr Strzelczyk for the patch. Bug 690800. +Prevent applying the nominalWidthX for T2 fonts, when FT already applies it for us. Previously, the code was actually erroneously adding the defaultWidthX. Since this use of nominalWidthX *may* be renderer dependent, it is now controlled by the can_replace_metrics() call.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -</pre> -<p>[psi/zfile.c]</p> +<p><strong><a name="2010-03-31T131641.790764Z"></a> +2010-03-31T13:16:41.790764Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the even a glyph name is not found in the CharStrings dictionary, fall back to using the .notdef (instead of returning an error).</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-03T164107.412223Z"></a> -2009-10-03T16:41:07.412223Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-31T130744.152960Z"></a> +2010-03-31T13:07:44.152960Z Chris Liddell</strong></p> <blockquote> <pre> -Silently ignore point displacement request when the point number is out of -valid range. This patch has been backported from FreeType2. Bug 690795. +For certain errors from FT, retry interpretting the glyph without hinting - this more closely matches the existing behaviour.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T113210.299125Z"></a> +2010-03-31T11:32:10.299125Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable. No expected differences. </pre> -<p>[base/ttinterp.c]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2009-10-02T235945.611838Z"></a> -2009-10-02T23:59:45.611838Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-31T012018.778513Z"></a> +2010-03-31T01:20:18.778513Z Ray Johnston</strong></p> <blockquote> <pre> -Lots of general code cleanup. -Fixed termination of long jobs on some systems. -Added explicit detection of seg faults with pdfwrite. +Temporary reversion of previous mkromfs commit to remove -g until it works +correctly (fooled by a GS_LIB environment variable during testing) </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[psi/psromfs.mak]</p> </blockquote> -<p><strong><a name="2009-10-02T223436.678844Z"></a> -2009-10-02T22:34:36.678844Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-30T225953.311321Z"></a> +2010-03-30T22:59:53.311321Z Ray Johnston</strong></p> <blockquote> <pre> -Update the Adobe-CNS1 CMap resource to supplement 6.</pre> -<p>[Resource/CMap/Adobe-CNS1-6 Resource/CMap/ETHK-B5-V Resource/CMap/HKscs-B5-V Resource/CMap/UniCNS-UTF32-V Resource/CMap/ETHK-B5-H Resource/CMap/HKscs-B5-H Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniCNS-UTF8-H]</p> +Implement '-g' option in mkromfs to fold in some of the older 'genint' +functions (collect all init files into a single gs_init.ps, strip +whitespace and comments). Also change mkromfs so that wildcard expansion +must be specified using '*' on the command line which also means that +single explicit files can now be put into the %rom% file system. + +Add many missed dependencies to the list for the 'gsromfs.c' %rom% file +system (CMap, ColorSpace, Decoding, Encoding, Font, IdiomSet, ProcSet, +SubstCID) and separate out miscellenaeous files. + +Remove old geninit references from makefiles: psi/int.mak psi/os2.mak, +base/bcwin32.mak, base/msvctail.mak, base/winlib.mak, base/macos-mcp.mak, +base/openvms.mak, base/lib.mak, base/unix-aux.mak base/watcw32.mak, +base/wctail.mak +</pre> +<p>[base/wctail.mak psi/os2.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/mkromfs.c base/gs.mak base/watcw32.mak psi/psromfs.mak psi/int.mak base/unix-aux.mak base/macos-mcp.mak base/msvctail.mak]</p> </blockquote> -<p><strong><a name="2009-10-01T142736.870724Z"></a> -2009-10-01T14:27:36.870724Z Ray Johnston</strong> (<a href="Details.htm#2009-10-01T142736.870724Z">details</a>)</p> +<p><strong><a name="2010-03-30T184034.337393Z"></a> +2010-03-30T18:40:34.337393Z Robin Watts</strong></p> <blockquote> <pre> -Fix for segfault when peekstring requests more data than remains in a -%rom% file. Bug 690697. +Fix bug 691132 by ensuring that whenever we set a line width, we set +it to the absolute value of the line width. This seems consistent with +PDF, and cures the clipping problem in PCL referred to by the bug. + +No expected differences. </pre> -<p>[base/gsiorom.c]</p> +<p>[base/gxline.h]</p> </blockquote> -<p><strong><a name="2009-10-01T032846.061833Z"></a> -2009-10-01T03:28:46.061833Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-30T144656.884951Z"></a> +2010-03-30T14:46:56.884951Z Robin Watts</strong></p> <blockquote> <pre> -Clusterpush.pl now tests all languages. -Added error checking to builds. -Disabled pgmraw testing for xps. +In the gs_2_colors branch I had made 2 copies of the color state and swapped +between them. I had included dev_ht as part of this 'split' state, which +was a significant contributor to the slowdown due to it forcing repeated +writing of the halftone data to the clist. Also, it required significant +extra work on every setscreen or setcolorscreen operation. + +Discussions with Henry/Ray/Kens et al lead to the realisation this wasn't +required. This patch therefore backs out the dev_ht split, and the changes +to zsetscreen and zsetcolorscreen. Additional code is however required to +clear the 'alternative' dev_color when a halftone is installed to stop the +'swapped out' color pointing to an illegal halftone cache. + +This runs through local testing with no diffs showing (though some +strangeness was observed with an earlier version of this patch in +regression testing - Marcos has captured this with bug 691223). + +This seems to have helped with the largest slowdowns, but there are still +significant differences in some cases. Very preliminary investigations seem +to show more time being spent in the interpreter/gc mechanism. Continuing +to investigate. + + </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +<p>[base/gsstate.c base/gxistate.h base/gsht.c base/gxdcolor.h base/gzstate.h psi/zht.c psi/zht1.c]</p> </blockquote> -<p><strong><a name="2009-10-01T012252.434995Z"></a> -2009-10-01T01:22:52.434995Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-03-30T101657.091024Z"></a> +2010-03-30T10:16:57.091024Z Ken Sharp</strong></p> <blockquote> <pre> -A quick dirty hack to enable reading of wts plane files (wts_plane_x) on 64 bit machines. Wts plane files contain a image of little endian 32 bit specific structure with a pointer, and was preventing wtsimdi device to run on 64 bit machines. -Tested on little endian 32 and 64 bit machines. Should not change anything on 32 bit machines with current wts plane files. Hope to work on big endian machines but not tested. -Bug #690710.</pre> -<p>[base/gswts.c]</p> +New Fontmap files for the URW fonts, both type 1 and TrueType formats. + +The file Fontmap.URW-136.T1 contains definitions for the type 1 fonts (the URW PFB +fonts must be in the search path). + +The file Fontmap.URW-136.TT contains definitions for the TrueType fonts (the URW TTF +fonts must be in the search path). + +Currently neither of these work 100% because of problems with the URW font sets +(several incorrectly named fonts, and in one case an illegal type 1 font) + +</pre> +<p>[lib/Fontmap.URW-136.T1 lib/Fontmap.URW-136.TT]</p> </blockquote> -<p><strong><a name="2009-09-30T005607.061280Z"></a> -2009-09-30T00:56:07.061280Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-29T191049.447074Z"></a> +2010-03-29T19:10:49.447074Z Alex Cherepanov</strong></p> <blockquote> <pre> -First cut at a working clusterpush.pl (complete with documentation!). +Drop 'loca' entries that point beyond 'glyf' table during re-spliting +sfnts glyfs strings. Bug 691221. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/clusterpush.txt]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2009-09-29T001830.610000Z"></a> -2009-09-29T00:18:30.610000Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-29T075249.284823Z"></a> +2010-03-29T07:52:49.284823Z Chris Liddell</strong></p> <blockquote> <pre> -Force out-of-range values of color mask to the valid range by calculating -bitwise 'and' with the maximum color value. Experiments show that this is what -AR does. Earlier code mapped out-of-range values to the nearest valid value. -Bug 690786, customer 531. +Change the FT interface code so we always use metrics retrieved from Freetype, rather than attempting to "fabricate" metrics (which have already been handled correctly by FT).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-27T015955.922560Z"></a> +2010-03-27T01:59:55.922560Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix compilation error in pngs2html.pl (forgot to define variable). </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-26T102856.873949Z"></a> +2010-03-26T10:28:56.873949Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A leftover from r10603 (Makefile change).</pre> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-09-28T220708.267973Z"></a> -2009-09-28T22:07:08.267973Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-26T002016.302228Z"></a> +2010-03-26T00:20:16.302228Z Robin Watts</strong></p> <blockquote> <pre> -Draw a smooth curve through the points of Ink annotation. The algorithm Adobe -uses is unpublished but our curve is close enough to Adobe when the points -follow a smooth path. For random points the curve is different but looks -more logical than Adobe's. Bug 690758, customer 580. +Updated localcluster bmpcmp html generation script. Bitmaps produced are now +zoomable. + </pre> -<p>[psi/int.mak Resource/Init/pdf_draw.ps psi/zpdfops.c]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-28T184049.994854Z"></a> -2009-09-28T18:40:49.994854Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-24T124759.902550Z"></a> +2010-03-24T12:47:59.902550Z Robin Watts</strong></p> <blockquote> <pre> -Fix some broken documentation links. Bug 690787.</pre> -<p>[doc/Develop.htm doc/Commprod.htm]</p> +Fix for bug 691115. + +In some circumstances, the shading code can get all the way to the point of +marking the screen/page without ever clipping to the relavent region. This +produces cases where we "draw outside the lines". Often this is masked by +the fact that we only ever draw as far out of the lines as would be covered +by an area of constant color (typically a small area). + +The fix for this is to spot the unclipped case when we come to render +trapezoids to the screen, and to clip the trapezoid into (at most) 3 +smaller trapezoids. + +This causes 104 non-pdfwrite differences, and 24 pdfwrite ones. Examination +using localcuster bmpcmp shows them all to be acceptable. + +</pre> +<p>[base/gxshade6.c]</p> </blockquote> -<p><strong><a name="2009-09-28T171624.723655Z"></a> -2009-09-28T17:16:24.723655Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-24T120547.469905Z"></a> +2010-03-24T12:05:47.469905Z Robin Watts</strong></p> <blockquote> <pre> -Also set the correct media type on the documenation style sheet. +Tweak to bmpcmp: Darken the third image (the diff image) to make changes +stand out better. + </pre> -<p>[doc/gs.css]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-28T171443.100223Z"></a> -2009-09-28T17:14:43.100223Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-24T001027.875727Z"></a> +2010-03-24T00:10:27.875727Z Robin Watts</strong></p> <blockquote> <pre> -Set a text/html media type on the html documentation so it can -be served directly out of svn. +Correct DOS line endings in bmpcmp.c. + +Fix bug whereby areas with no changes in were still be saved out. + </pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm doc/Use.htm doc/Readme.htm doc/Deprecated.htm doc/Source.htm doc/Install.htm doc/Changes.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm doc/Commprod.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2ps2.htm doc/Fonts.htm doc/Develop.htm doc/Ps2pdf.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Hershey.htm doc/News.htm doc/Details8.htm doc/Make.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm doc/index.html doc/History3.htm doc/Ps2epsi.htm doc/History4.htm doc/Details.htm doc/History5.htm doc/History6.htm]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-28T122827.246472Z"></a> -2009-09-28T12:28:27.246472Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-23T191432.177681Z"></a> +2010-03-23T19:14:32.177681Z Robin Watts</strong></p> <blockquote> <pre> -Fix line endings and a corresponding file attribute in a recently added file. +Correct problem with bmpcmp whereby certain sizes of changed areas within +images could cause overlapping output bitmaps. This causes problems with +the output of bitmaps now due to the new 'in-place' generation of the diff +bitmap. Fixed by choosing sizes more smartly. + </pre> -<p>[psi/zpdfops.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-28T053056.923097Z"></a> -2009-09-28T05:30:56.923097Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-23T090216.120692Z"></a> +2010-03-23T09:02:16.120692Z Till Kamppeter</strong></p> <blockquote> <pre> -Added clusterpush.pl. +CUPS Raster output device: Error out correctly with the return_error() macro and not with "gs_exit(); exit()", force banding mode as there are files which do not render otherwise (Bug #691170). </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-09-26T053448.796753Z"></a> -2009-09-26T05:34:48.796753Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-23T000659.853037Z"></a> +2010-03-23T00:06:59.853037Z Till Kamppeter</strong></p> <blockquote> <pre> -Revert the change to EOF handling in the romfs iodevice. It fixed the -segfault, but broken compiled-in font access on PCL. Bug 690697. +Code clean-ups in the "cups" output device to fix the segfaults in bug #691170 and bug #691014 (but does not fix the bugs yet). </pre> -<p>[base/gsiorom.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-09-25T231642.622069Z"></a> -2009-09-25T23:16:42.622069Z Ralph Giles</strong> (<a href="Details.htm#2009-09-25T231642.622069Z">details</a>)</p> +<p><strong><a name="2010-03-22T141842.718453Z"></a> +2010-03-22T14:18:42.718453Z Chris Liddell</strong></p> <blockquote> <pre> -Improve EOF detection with the romfs iodevice. Fixes a segfault -loading shorter resources. Patch from Alex Cherepanov, bug 690697. +Handle CID fonts whose GDBytes != 2 - previously GDBytes was hardcoded as 2.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> +<p><strong><a name="2010-03-22T064308.806820Z"></a> +2010-03-22T06:43:08.806820Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Added the ability to specify bmpcmp options when running clusterpush.pl, e.g.: + + clusterpush.pl bmpcmp -w 9 -t 10 + +No validation is done on the options; bad options will result in no bmpcmp output being generated. </pre> -<p>[base/gsiorom.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-09-25T145513.694603Z"></a> -2009-09-25T14:55:13.694603Z Ken Sharp</strong> (<a href="Details.htm#2009-09-25T145513.694603Z">details</a>)</p> +<p><strong><a name="2010-03-21T050150.135122Z"></a> +2010-03-21T05:01:50.135122Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Remove limit on images in patterns when creating later versions of PDF +Fixed maxdiffs argument in bmpcmp.c (was acting as maxpage). +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> +<p><strong><a name="2010-03-21T032353.245152Z"></a> +2010-03-21T03:23:53.245152Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed a couple of compiler warnings in bmpcmp.c </pre> -<p>[base/gdevpdfv.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-25T141913.610976Z"></a> -2009-09-25T14:19:13.610976Z Ray Johnston</strong> (<a href="Details.htm#2009-09-25T141913.610976Z">details</a>)</p> +<p><strong><a name="2010-03-19T183004.447497Z"></a> +2010-03-19T18:30:04.447497Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for transparency problem, caused by the alpha parameters in the ExtGState -in the PDF interpreter (dictstack) not being maintained properly. -Bug 690770 for customer #1110. Thanks to Michael Vrhel for analyzing the PDF -to find the area that the PDF interpreter was mishandling. +Compute AES cypher tables at compile time instead of run time. -</pre> -<p>[Resource/Init/pdf_draw.ps]</p> +The aes implementation needs some tables of data to perform its +calculations. In a thread-safety review, Henry spotted that the +tables were global variables with no mutex isolation. + +I believe this is actually ok. There is a static flag marking whether +the tables are initialized. If they are not, a call to aes_setkey_* +will invoke aes_gen_tables to initialize them, then set the flag. +However, aes_gen_tables operates deterministically, always writing +the same data sequence to the globals. So while there is a race +where two threads could be executing aes_gen_tables at the same time, +or while another thread is accessing the same tables, there is no +read-modify-write step which could create inconsistent data. + +Nevertheless, the tables are small relative to our application, and +there is a compile time option XYSSL_AES_ROM_TABLES which generates +the data at compile time and stores it static const. This commit +turns on that option, allowing the compiler to put the data in a +non-writable segment and making the careful thread safety analysis +above unnecessary. + +There should be no difference in behaviour, and Henry has verified +that the two code paths result in identical table data.</pre> +<p>[base/aes.c]</p> </blockquote> -<p><strong><a name="2009-09-25T091210.671327Z"></a> -2009-09-25T09:12:10.671327Z Ken Sharp</strong> (<a href="Details.htm#2009-09-25T091210.671327Z">details</a>)</p> +<p><strong><a name="2010-03-18T113938.599047Z"></a> +2010-03-18T11:39:38.599047Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Stricter checking when converting type 4 to type 1 masked image +Update the list of face substitutions in .substitutefaces to include all the fonts we +define in Fontmap.GS (if not already defined). -</pre> -<p>[base/gdevpdfi.c]</p> +Bug #691180, if we have a font defined in the Fontmap then we don't use the additional +information in a PDF file FontDescriptor. Instead we stick with whatever font the PS +substitution comes up with (if the font is not present). If a member of the family is +not defined we do use the FontDescriptor. This can lead to different choices for the +substitute font. By defining the font in the substitutefaces array we can attempt to get +a consistent result. + +This *will* lead to differences in the regression suite as we are now substituting +different fonts for some missing faces. Apparently only with the test file for this +bug though.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> </blockquote> -<p><strong><a name="2009-09-25T012907.733105Z"></a> -2009-09-25T01:29:07.733105Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-18T005710.529905Z"></a> +2010-03-18T00:57:10.529905Z Robin Watts</strong></p> <blockquote> <pre> -Update the CMap resources with the new, open source versions of -the files for the Identity, Adobe-CNS1, Adobe-GB1, Adobe-Japan1, -Adobe-Japan2 and Adobe-Korea1 CMap resources. +Merge gs_2_colors branch down to trunk. + +This adds a new set of color state information to the graphics/imager +state, along with a new non-standard postscript operator .swapcolors to +toggle between them. -Aside from the copyright and license header change and a bump to the -minor CMapVersion field, these versions incorporate the following -changes over our previous set of CMap resources: +The Postscript interpreter is updated to use one set of color information +for stroking, and the other for all non-stroking colors. - Identity-H has many new ranges, - UniGB-UTF8-H bumped to supplement 5, - UniGB-UTF16-H bumped to supplement 5, - UniGB-UTF32-H has some character updates. +This produces differences in just 2 pdfwrite tests, due to rounding errors +due to changes in the way pdf with non-zero rendering modes is emitted now. -These are still copyright Adobe, but now allow modification and require -attribution on binaries. Previously they were licensed only for verbatim -redistribution.</pre> -<p>[Resource/CMap/78-H Resource/CMap/Hojo-H Resource/CMap/UniHojo-UCS2-V Resource/CMap/90pv-RKSJ-H Resource/CMap/CNS2-H Resource/CMap/RKSJ-H Resource/CMap/78-V Resource/CMap/KSCpc-EUC-H Resource/CMap/Hojo-V Resource/CMap/90pv-RKSJ-V Resource/CMap/CNS2-V Resource/CMap/Hiragana Resource/CMap/GBT-EUC-H Resource/CMap/Roman Resource/CMap/RKSJ-V Resource/CMap/HKdlb-B5-H Resource/CMap/UniKS-UTF32-H Resource/CMap/KSCpc-EUC-V Resource/CMap/UniHojo-UTF8-H Resource/CMap/Adobe-Korea1-0 Resource/CMap/UniKS-UCS2-H Resource/CMap/Adobe-Korea1-1 Resource/CMap/Adobe-Korea1-2 Resource/CMap/GBT-EUC-V Resource/CMap/78-RKSJ-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/HKdlb-B5-V Resource/CMap/HKgccs-B5-H Resource/CMap/83pv-RKSJ-H Resource/CMap/UniKS-UTF32-V Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/EUC-H Resource/CMap/UniHojo-UTF32-H Resource/CMap/UniHojo-UTF8-V Resource/CMap/UniGB-UCS2-H Resource/CMap/HKscs-B5-H Resource/CMap/HKm471-B5-H Resource/CMap/90msp-RKSJ-H Resource/CMap/UniKS-UCS2-V Resource/CMap/78-RKSJ-V Resource/CMap/HKgccs-B5-V Resource/CMap/UniJISX02132004-UTF32-V Resource/CMap/GBpc-EUC-H Resource/CMap/Add-H Resource/CMap/UniJIS2004-UTF16-V Resource/CMap/Adobe-GB1-0 Resource/CMap/B5pc-H Resource/CMap/KSC-EUC-H Resource/CMap/Adobe-GB1-1 Resource/CMap/EUC-V Resource/CMap/UniHojo-UTF32-V Resource/CMap/Adobe-GB1-2 Resource/CMap/Adobe-GB1-3 Resource/CMap/UniGB-UCS2-V Resource/CMap/HKscs-B5-V Resource/CMap/HKm471-B5-V Resource/CMap/Adobe-GB1-4 Resource/CMap/90msp-RKSJ-V Resource/CMap/Adobe-GB1-5 Resource/CMap/UniCNS-UTF32-H Resource/CMap/GBpc-EUC-V Resource/CMap/Add-V Resource/CMap/B5pc-V Resource/CMap/Ext-RKSJ-H Resource/CMap/KSC-EUC-V Resource/CMap/Hojo-EUC-H Resource/CMap/UniJISPro-UCS2-V Resource/CMap/GBT-H Resource/CMap/UniKS-UTF8-H Resource/CMap/GBK-EUC-H Resource/CMap/UniCNS-UTF32-V Resource/CMap/Ext-RKSJ-V Resource/CMap/Hojo-EUC-V Resource/CMap/UniGB-UTF8-H Resource/CMap/Adobe-Japan1-0 Resource/CMap/GBT-V Resource/CMap/UniKS-UTF8-V Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/Adobe-Japan1-1 Resource/CMap/GBK-EUC-V Resource/CMap/UniKS-UTF16-H Resource/CMap/Adobe-Japan1-2 Resource/CMap/Adobe-Japan1-3 Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Japan1-5 Resource/CMap/90ms-RKSJ-H Resource/CMap/Adobe-Japan1-6 Resource/CMap/UniJIS-UTF32-H Resource/CMap/GB-EUC-H Resource/CMap/H Resource/CMap/UniGB-UTF8-V Resource/CMap/B5-H Resource/CMap/UniJIS2004-UTF8-V Resource/CMap/UniKS-UTF16-V Resource/CMap/UniJIS-UCS2-H Resource/CMap/90ms-RKSJ-V Resource/CMap/UniHojo-UTF16-H Resource/CMap/V Resource/CMap/UniJIS-UTF32-V Resource/CMap/GB-EUC-V Resource/CMap/KSC-H Resource/CMap/UniJISPro-UTF8-V Resource/CMap/B5-V Resource/CMap/Katakana Resource/CMap/HKdla-B5-H Resource/CMap/UniJIS-UCS2-V Resource/CMap/Identity-H Resource/CMap/UniHojo-UTF16-V Resource/CMap/GBKp-EUC-H Resource/CMap/KSC-V Resource/CMap/GBK2K-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/HKdla-B5-V Resource/CMap/Identity-V Resource/CMap/UniCNS-UCS2-H Resource/CMap/GBKp-EUC-V Resource/CMap/GBK2K-V Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniGB-UTF32-V Resource/CMap/Adobe-CNS1-0 Resource/CMap/UniJIS-UTF8-H Resource/CMap/Adobe-CNS1-1 Resource/CMap/Adobe-CNS1-2 Resource/CMap/Adobe-CNS1-3 Resource/CMap/UniCNS-UCS2-V Resource/CMap/Adobe-CNS1-4 Resource/CMap/GB-H Resource/CMap/Adobe-CNS1-5 Resource/CMap/Adobe-Japan2-0 Resource/CMap/KSCms-UHC-H Resource/CMap/Add-RKSJ-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniJIS-UTF8-V Resource/CMap/UniJIS-UTF16-H Resource/CMap/GB-V Resource/CMap/KSCms-UHC-HW-H Resource/CMap/KSCms-UHC-V Resource/CMap/HKm314-B5-H Resource/CMap/Add-RKSJ-V Resource/CMap/UniJISX0213-UTF32-V Resource/CMap/UniJIS-UTF16-V Resource/CMap/UniCNS-UTF8-H Resource/CMap/KSCms-UHC-HW-V Resource/CMap/UniJIS-UCS2-HW-H Resource/CMap/HKm314-B5-V Resource/CMap/Hankaku Resource/CMap/ETen-B5-H Resource/CMap/ETenms-B5-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/NWP-H Resource/CMap/CNS1-H Resource/CMap/WP-Symbol Resource/CMap/UniJIS-UCS2-HW-V Resource/CMap/UniGB-UTF16-H Resource/CMap/78-EUC-H Resource/CMap/ETen-B5-V Resource/CMap/ETenms-B5-V Resource/CMap/NWP-V Resource/CMap/CNS1-V Resource/CMap/UniGB-UTF16-V Resource/CMap/78-EUC-V Resource/CMap/CNS-EUC-H Resource/CMap/ETHK-B5-H Resource/CMap/Ext-H Resource/CMap/KSC-Johab-H Resource/CMap/78ms-RKSJ-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/GBTpc-EUC-H Resource/CMap/CNS-EUC-V Resource/CMap/ETHK-B5-V Resource/CMap/Ext-V Resource/CMap/KSC-Johab-V Resource/CMap/78ms-RKSJ-V Resource/CMap/UniHojo-UCS2-H Resource/CMap/UniJIS2004-UTF32-V Resource/CMap/UniJISPro-UCS2-HW-V Resource/CMap/GBTpc-EUC-V]</p> +</pre> +<p>[psi/zcolor.c base/gsdps1.c base/gdevpdft.c base/gxccache.c /trunk/gs base/gspaint.c base/gscsepr.c base/gsimage.c base/gxchar.c base/gsptype1.c base/gxcmap.c psi/interp.c base/gzstate.h psi/dmmain.c base/gscspace.c base/gscolor1.c base/gscdevn.c base/gscolor2.c base/gscie.c base/gxistate.h psi/psromfs.mak psi/dxmain.c base/gxcspace.h base/gxhldevc.c psi/dxmainc.c psi/dmmain.r Resource/Init/pdf_draw.ps psi/zht1.c base/gscolor.c psi/zicc.c psi/zchar1.c base/gxpaint.c base/gsstate.c Resource/Init/pdf_ops.ps psi/zcie.c base/gstext.c Resource/Init/pdf_font.ps base/gstrans.c psi/zht.c base/gsequivc.c base/gxdcolor.h psi/igstate.h base/gspcolor.c]</p> </blockquote> -<p><strong><a name="2009-09-23T014255.789973Z"></a> -2009-09-23T01:42:55.789973Z Alex Cherepanov</strong> (<a href="Details.htm#2009-09-23T014255.789973Z">details</a>)</p> +<p><strong><a name="2010-03-17T214113.190501Z"></a> +2010-03-17T21:41:13.190501Z Robin Watts</strong></p> <blockquote> <pre> -Implement rendering of PDF Ink annotation without appearance stream. PDF -Spec doesn't say how to connect points in the annotation. This version uses -simple lineto operation but Acrobat uses curves for smoother look. -Bug 690758, customer 580. +bmpcmp tweak to allow maximum/minimum bitmap sizes to be set from the +command line. </pre> -<p>[psi/int.mak psi/zpdfops.c Resource/Init/pdf_draw.ps]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-22T191922.702941Z"></a> -2009-09-22T19:19:22.702941Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-17T201225.972208Z"></a> +2010-03-17T20:12:25.972208Z Robin Watts</strong></p> <blockquote> <pre> -Fixed bug in automatic speed tuning of local cluster nodes and modified build process to make use of fixed parallel makefiles. +MSVC whinges when asked to shift by 32 or more bits at once. Simple tweaks +to fool the compiler and eliminate warnings. + +No expected differences. + </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gdevm64.c base/gdevm56.c base/gdevm48.c base/gdevm40.c base/gxclrast.c]</p> </blockquote> -<p><strong><a name="2009-09-22T165351.759845Z"></a> -2009-09-22T16:53:51.759845Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-17T185412.480084Z"></a> +2010-03-17T18:54:12.480084Z Robin Watts</strong></p> <blockquote> <pre> -Local cluser regression changes: +Tweak to gxcmap.c to remove warnings about shifting by more than 32 bits on +MSVC builds. -Enabled minimal XPS and SVG testing. -Improved error reporting (errors and timeouts are now differentiated as are input errors vs. pdfwrite produced pdf file reading errors. +No expected differences. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gxcmap.c]</p> </blockquote> -<p><strong><a name="2009-09-21T193830.162606Z"></a> -2009-09-21T19:38:30.162606Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-17T173027.541399Z"></a> +2010-03-17T17:30:27.541399Z Robin Watts</strong></p> <blockquote> <pre> -Correct placement of declaration to allow wts devices to compile on MSVC. +Revised bmpcmp. + * Redone command line handling + * Ability to read PAMs (so we can read CMYK stuff now) + * "Fuzzy" behaviour (both compatible and exhaustive modes) + * New behaviour using map bitmap to avoid rediffing multiple times. + * CMYK -> RGB conversion as last step before PNG/BMP writing. + +Still to do: + * Output number of fuzzy matches etc to the meta file. + </pre> -<p>[base/gdevwts.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-21T151025.830219Z"></a> -2009-09-21T15:10:25.830219Z Ken Sharp</strong> (<a href="Details.htm#2009-09-21T151025.830219Z">details</a>)</p> +<p><strong><a name="2010-03-15T191855.825828Z"></a> +2010-03-15T19:18:55.825828Z Lars Uebernickel</strong></p> <blockquote> <pre> -Fix (type 1 parser) : Correct logical flaw in SEAC parsing +Change default TIFF strip size to one megabyte. + +Many fax readers have problems reading TIFF images which are chunked into +strips, and one megabyte is larger than the biggest expected fax page. Hence, +ghostscript's default TIFF output will be accepted by those readers. + </pre> -<p>[base/gxtype1.c]</p> +<p>[base/gdevtifs.h]</p> </blockquote> -<p><strong><a name="2009-09-19T171732.098742Z"></a> -2009-09-19T17:17:32.098742Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-15T190043.589302Z"></a> +2010-03-15T19:00:43.589302Z Lars Uebernickel</strong></p> <blockquote> <pre> -Normalize machine times so the fastest machine is 1 rather than the average machine. +Write TIFF directories before the page data. This might help bug #691172 and +probably some other non-conforming TIFF readers. + </pre> -<p>[toolbin/localcluster/clustermaster.pl]</p> +<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c]</p> </blockquote> -<p><strong><a name="2009-09-19T022231.474412Z"></a> -2009-09-19T02:22:31.474412Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-15T152155.436137Z"></a> +2010-03-15T15:21:55.436137Z Alex Cherepanov</strong></p> <blockquote> <pre> -Added the machine name to log output and check for matching md5sum in last N regression runs (to try to deal with indeterminisms). +Don't throw an error when a filter returns 0 bytes and a normal return code. +This often happens with eexecDecode filter, which has to return the control +to the interpreter after every space character since Adobe no longer adds +zeros at the end of the encoded block. Document new return code 2 used by +eexecDecode filter. Bug 690909. +</pre> +<p>[base/sstring.c base/seexec.c psi/iscan.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T145615.278449Z"></a> +2010-03-15T14:56:15.278449Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Partial fix for bug #691172: The tiff resolution tags are floating point values +and need to be passed as such to TIFFSetField. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gdevtifs.c]</p> </blockquote> -<p><strong><a name="2009-09-18T230741.949391Z"></a> -2009-09-18T23:07:41.949391Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T074438.447170Z"></a> +2010-03-15T07:44:38.447170Z Lars Uebernickel</strong></p> <blockquote> <pre> -Remove an unncessary keyword substitution flags from the Adobe CMaps. +Applied Tim Waugh's patch from bug #691171: A NULL check for the argument of +TIFFCleanup was missing, which caused a segfault when opening the output device +failed for any of the devices in gdevtfax.c. -These files don't have an RCS/SVN version header, so the substitution -could only cause problems. In the case of the two Identity-UTF16 CMap -files which are owned by Artifex and do have version headers, I've -reduced the substitutions to just the 'Id' keyword to match the rest of -the source. </pre> -<p>[Resource/CMap/78-H Resource/CMap/GB-RKSJ-H Resource/CMap/Hojo-H Resource/CMap/CNS06-RKSJ-H Resource/CMap/Adobe-Japan1-90pv-RKSJ Resource/CMap/Adobe-CNS1-UCS2 Resource/CMap/GBK-EUC-UCS2 Resource/CMap/UniHojo-UCS2-V Resource/CMap/CNS2-H Resource/CMap/90pv-RKSJ-H Resource/CMap/Adobe-Japan1-UCS2 Resource/CMap/RKSJ-H Resource/CMap/78-V Resource/CMap/Hojo-V Resource/CMap/KSCpc-EUC-H Resource/CMap/TCVN-RKSJ-H Resource/CMap/90pv-RKSJ-V Resource/CMap/CNS2-V Resource/CMap/UCS2-ETen-B5 Resource/CMap/Hiragana Resource/CMap/GBT-EUC-H Resource/CMap/Roman Resource/CMap/RKSJ-V Resource/CMap/HKdlb-B5-H Resource/CMap/KSCpc-EUC-V Resource/CMap/Adobe-Japan1-H-Host Resource/CMap/UniHojo-UTF8-H Resource/CMap/CNS05-RKSJ-H Resource/CMap/CNS15-RKSJ-H Resource/CMap/UCS2-GBK-EUC Resource/CMap/Adobe-Korea1-0 Resource/CMap/Adobe-Korea1-1 Resource/CMap/GBT-EUC-V Resource/CMap/Adobe-Korea1-2 Resource/CMap/78-RKSJ-H Resource/CMap/HKdlb-B5-V Resource/CMap/HKgccs-B5-H Resource/CMap/83pv-RKSJ-H Resource/CMap/KSC2-RKSJ-H Resource/CMap/Adobe-CNS1-H-Mac Resource/CMap/EUC-H Resource/CMap/UniHojo-UTF32-H Resource/CMap/UniHojo-UTF8-V Resource/CMap/Adobe-CNS1-B5pc Resource/CMap/UniGB-UCS2-H Resource/CMap/90msp-RKSJ-H Resource/CMap/Adobe-GB1-GBpc-EUC Resource/CMap/Adobe-Japan1-H-CID Resource/CMap/HKm471-B5-H Resource/CMap/HKscs-B5-H Resource/CMap/GBT-RKSJ-H Resource/CMap/78-RKSJ-V Resource/CMap/ETen-B5-UCS2 Resource/CMap/HKgccs-B5-V Resource/CMap/UCS2-90ms-RKSJ Resource/CMap/GBpc-EUC-H Resource/CMap/Add-H Resource/CMap/B5pc-H Resource/CMap/Adobe-GB1-0 Resource/CMap/EUC-V Resource/CMap/Adobe-GB1-1 Resource/CMap/KSC-EUC-H Resource/CMap/UniHojo-UTF32-V Resource/CMap/Adobe-GB1-2 Resource/CMap/UniGB-UCS2-V Resource/CMap/Adobe-GB1-3 Resource/CMap/HKscs-B5-V Resource/CMap/HKm471-B5-V Resource/CMap/Adobe-GB1-4 Resource/CMap/90msp-RKSJ-V Resource/CMap/90pv-RKSJ-UCS2C Resource/CMap/Adobe-GB1-5 Resource/CMap/CNS04-RKSJ-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/GBpc-EUC-V Resource/CMap/KSCpc-EUC-UCS2C Resource/CMap/Add-V Resource/CMap/B5pc-V Resource/CMap/Ext-RKSJ-H Resource/CMap/KSC-EUC-V Resource/CMap/Hojo-EUC-H Resource/CMap/UCS2-GBpc-EUC Resource/CMap/GBT-H Resource/CMap/GBK-EUC-H Resource/CMap/UniCNS-UTF32-V Resource/CMap/UCS2-B5pc Resource/CMap/Adobe-GB1-H-Mac Resource/CMap/KSCms-UHC-UCS2 Resource/CMap/Ext-RKSJ-V Resource/CMap/Hojo-EUC-V Resource/CMap/UniGB-UTF8-H Resource/CMap/UCS2-90pv-RKSJ Resource/CMap/Adobe-Japan1-0 Resource/CMap/GBT-V Resource/CMap/Adobe-Japan1-1 Resource/CMap/GBK-EUC-V Resource/CMap/Adobe-Japan1-2 Resource/CMap/Adobe-GB1-H-Host Resource/CMap/Adobe-Japan1-3 Resource/CMap/CNS03-RKSJ-H Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Japan1-5 Resource/CMap/90ms-RKSJ-H Resource/CMap/Adobe-Japan1-6 Resource/CMap/Adobe-Korea1-KSCms-UHC Resource/CMap/UCS2-KSCpc-EUC Resource/CMap/Adobe-Japan1-PS-H Resource/CMap/GB-EUC-H Resource/CMap/H Resource/CMap/UniGB-UTF8-V Resource/CMap/B5-H Resource/CMap/Adobe-GB1-GBK-EUC Resource/CMap/Adobe-CNS1-H-CID Resource/CMap/90ms-RKSJ-V Resource/CMap/GBpc-EUC-UCS2C Resource/CMap/UniHojo-UTF16-H Resource/CMap/B5pc-UCS2 Resource/CMap/KSC-H Resource/CMap/Adobe-Japan1-PS-V Resource/CMap/GB-EUC-V Resource/CMap/B5pc-UCS2C Resource/CMap/Adobe-CNS1-ETenms-B5 Resource/CMap/B5-V Resource/CMap/Katakana Resource/CMap/HKdla-B5-H Resource/CMap/Identity-H Resource/CMap/UniHojo-UTF16-V Resource/CMap/CNS02-RKSJ-H Resource/CMap/GBKp-EUC-H Resource/CMap/KSC-V Resource/CMap/GBK2K-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/HKdla-B5-V Resource/CMap/UniGB-UTF32-H Resource/CMap/Adobe-GB1-UCS2 Resource/CMap/Identity-V Resource/CMap/UniCNS-UCS2-H Resource/CMap/GBKp-EUC-V Resource/CMap/GBK2K-V Resource/CMap/Adobe-GB1-H-CID Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniGB-UTF32-V Resource/CMap/Adobe-CNS1-0 Resource/CMap/Adobe-CNS1-1 Resource/CMap/Adobe-CNS1-2 Resource/CMap/Adobe-CNS1-H-Host Resource/CMap/Adobe-CNS1-3 Resource/CMap/UniCNS-UCS2-V Resource/CMap/GB-H Resource/CMap/Adobe-CNS1-4 Resource/CMap/Adobe-CNS1-5 Resource/CMap/CNS01-RKSJ-H Resource/CMap/Adobe-Japan2-0 Resource/CMap/KSCms-UHC-H Resource/CMap/Add-RKSJ-H Resource/CMap/GB-V Resource/CMap/KSCms-UHC-HW-H Resource/CMap/HKm314-B5-H Resource/CMap/KSCms-UHC-V Resource/CMap/Add-RKSJ-V Resource/CMap/UniCNS-UTF8-H Resource/CMap/KSCms-UHC-HW-V Resource/CMap/Adobe-Korea1-H-Mac Resource/CMap/HKm314-B5-V Resource/CMap/90pv-RKSJ-UCS2 Resource/CMap/Hankaku Resource/CMap/ETenms-B5-H Resource/CMap/ETen-B5-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/KSCpc-EUC-UCS2 Resource/CMap/CNS1-H Resource/CMap/NWP-H Resource/CMap/Hojo-RKSJ-H Resource/CMap/UniGB-UTF16-H Resource/CMap/78-EUC-H Resource/CMap/ETenms-B5-V Resource/CMap/ETen-B5-V Resource/CMap/Adobe-Korea1-UCS2 Resource/CMap/Adobe-Korea1-KSCpc-EUC Resource/CMap/CNS1-V Resource/CMap/NWP-V Resource/CMap/90ms-RKSJ-UCS2 Resource/CMap/UniGB-UTF16-V Resource/CMap/78-EUC-V Resource/CMap/KSC-RKSJ-H Resource/CMap/Adobe-Japan1-90ms-RKSJ Resource/CMap/CNS-EUC-H Resource/CMap/ETHK-B5-H Resource/CMap/Ext-H Resource/CMap/CNS07-RKSJ-H Resource/CMap/KSC-Johab-H Resource/CMap/Adobe-Korea1-H-Host Resource/CMap/78ms-RKSJ-H Resource/CMap/GBTpc-EUC-H Resource/CMap/HK-RKSJ-H Resource/CMap/GBpc-EUC-UCS2 Resource/CMap/CNS-EUC-V Resource/CMap/ETHK-B5-V Resource/CMap/Ext-V Resource/CMap/KSC-Johab-V Resource/CMap/Adobe-Japan1-H-Mac Resource/CMap/UCS2-KSCms-UHC Resource/CMap/78ms-RKSJ-V Resource/CMap/UniHojo-UCS2-H Resource/CMap/GBTpc-EUC-V Resource/CMap/Adobe-Korea1-H-CID]</p> +<p>[base/gdevtfax.c]</p> </blockquote> -<p><strong><a name="2009-09-18T230107.032292Z"></a> -2009-09-18T23:01:07.032292Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T063434.317078Z"></a> +2010-03-15T06:34:34.317078Z regression</strong></p> <blockquote> <pre> -Remove spurious executable bits on Adobe CMap files. +Added support for mupdf testing in local regression suite. </pre> -<p>[Resource/CMap/Adobe-GB1-4 Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Korea1-2 Resource/CMap/Adobe-CNS1-3]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-09-17T162500.274251Z"></a> -2009-09-17T16:25:00.274251Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-15T063125.268888Z"></a> +2010-03-15T06:31:25.268888Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fixes 690719 and many other unreported issues associated with the -wtsimdi device. The default strip_copy_rop musn't be used, the clist -code will constant fold raster operations before determining if a -contone buffer is needed to render the band, the same optimizations -must be used when the clist is being played back and rendered, the -default strip_copy_rop does not (by design) have these optimizations. -I don't know the intent of the cryptic comment above the section where -the procedure override occurred. +Changes to the local cluster code: -There are too many problems with the wtsimdi device to enumerate code -test file differences of the change, preliminary visual testing of the -wtsimdi device output is needed first. +added bmpcmp documentation to clusterpush.txt +new file, runNightly.pl, for nightly regression testing +readlog.pl, build.pl, and run.pl changes for nightly regression use </pre> -<p>[base/gdevwts.c]</p> +<p>[toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> </blockquote> -<p><strong><a name="2009-09-17T023644.475667Z"></a> -2009-09-17T02:36:44.475667Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-11T173630.596061Z"></a> +2010-03-11T17:36:30.596061Z Chris Liddell</strong></p> <blockquote> <pre> -Added a very quick and dirty hack to look for the link.icc and wts_plane_[0..3] files in /usr/local/lib/ghostscript if they cannot be found in the current directory. +Apply a change submitted to FT and accepted - see FT bug #27442</pre> +<p>[freetype/src/raster/ftraster.c]</p> +</blockquote> + +<p><strong><a name="2010-03-11T050122.057384Z"></a> +2010-03-11T05:01:22.057384Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Run svn update on the ghostscript source even for clusterpush runs to make sure that bmpcmp.c is current. </pre> -<p>[base/gdevwts.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-09-14T200732.166692Z"></a> -2009-09-14T20:07:32.166692Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-10T174109.765460Z"></a> +2010-03-10T17:41:09.765460Z regression</strong></p> <blockquote> <pre> -Fix a botched pointer comparison which fails if the pointer difference -overflows the signed integer range. Patch from Mark Davies with -changes. Bug 689711. + +Minor cleanup of the local cluster code. </pre> -<p>[base/gscencs.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-09-12T170010.219852Z"></a> -2009-09-12T17:00:10.219852Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-10T164226.014885Z"></a> +2010-03-10T16:42:26.014885Z Robin Watts</strong></p> <blockquote> <pre> -Fixed typo in comment that was generating groff warning. +Fix bug in bmpcmp.c: When reading images from multi-image sets, we stop +the comparison process as soon as we fail to find any differences in the +current image. With this fix we correctly keep searching to the end. </pre> -<p>[psi/zfunc.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-10T174110.637172Z"></a> -2009-09-10T17:41:10.637172Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-10T150557.116970Z"></a> +2010-03-10T15:05:57.116970Z Chris Liddell</strong></p> <blockquote> <pre> -Add gc enumeration to the two string members of the svgwrite device -structure. Fixes a segfault with large input sets. Bug 690757. - -Note that this requires a new suffix enumerator macro, since the -two strings case wasn't previously covered.</pre> -<p>[base/gsstruct.h base/gdevsvg.c]</p> +Change how we derive the glyph metrics from FT: we now interpret the glyph description only once, scaled and hinted, and then calculate the metrics from that. It's more accurate, accounts for hints that extend the glyph outline, and should be a worthwhile speed improvement.</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-10T011348.915848Z"></a> -2009-09-10T01:13:48.915848Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-10T125150.027959Z"></a> +2010-03-10T12:51:50.027959Z Robin Watts</strong></p> <blockquote> <pre> -Call paperinit() and paperdone() when using the libpaper api calls -as apparently required by the API. However, these calls do nothing -in the current libpaper implementation (version 1.1.23). +Change the condition under which we update the overprint device when restoring +a graphics state to be more relaxed; rather than updating if the overprint +state has changed we now update if it was enabled, or it if it is enabled. + +The logic behind this is that it will still fire in all the same conditions +it did before, but will also fire when we restore from a state that had it +enabled to another state that had it enabled. This should be entirely +harmless, but will allow the state to be updated in the case where a +colorspace has been updated. -Also, return the name given by defaultpapername() if systempapername() -does not return a result. This is an indicated path in the libpaper -documentation and example code, although again, the the 1.1.23 -implementation calls defaultpapername() from systempapername() as -the fallback. +This causes 2 differences in the tests, that only show up in psd files. +All indications seem to be that these files really are identical. But if +they aren't, I believe they should be progressions, rather than regressions. + +This moves the trunk more into line with the output of the gs_2_colors branch. </pre> -<p>[base/gp_upapr.c]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2009-09-09T221751.567693Z"></a> -2009-09-09T22:17:51.567693Z Michael Vrhel</strong> (<a href="Details.htm#2009-09-09T221751.567693Z">details</a>)</p> +<p><strong><a name="2010-03-10T061323.278865Z"></a> +2010-03-10T06:13:23.278865Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix for bug 690534. +Added local modes to build.pl and run.pl in preparation for use as part of the nightly regression. + +</pre> +<p>[toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T051959.535554Z"></a> +2010-03-10T05:19:59.535554Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix for SEGV with the psdcmyk device on 258-01.ps. This was a fundamental memory +problem with any device that used the compressed_color_list functions in gdevdevn.c +since a 'restore' could free structures which were still needed by the device. +Use stable_memory to avoid this. Bug 691150. </pre> -<p>[base/gdevp14.c base/gxblend1.c]</p> +<p>[base/gdevdevn.c]</p> </blockquote> -<p><strong><a name="2009-09-09T062102.373936Z"></a> -2009-09-09T06:21:02.373936Z Michael Vrhel</strong> (<a href="Details.htm#2009-09-09T062102.373936Z">details</a>)</p> +<p><strong><a name="2010-03-09T172707.400171Z"></a> +2010-03-09T17:27:07.400171Z Robin Watts</strong></p> <blockquote> <pre> -A fix for the rendering issue that occurred with bug 689581 after fixing the rangecheck error. This should fix 689581. +Another tweak to the local cluster bmpcmp html page generation. I managed to +miss renaming the images in the second column. </pre> -<p>[base/gdevp14.c]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-09T012559.649343Z"></a> -2009-09-09T01:25:59.649343Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-09T172239.470336Z"></a> +2010-03-09T17:22:39.470336Z Robin Watts</strong></p> <blockquote> <pre> -Skip everything before 'begincodespacerange' in regulat CMap stream to avoid -PostScript errors in CMap headers. PDF interpreter doesn't need any data from -the header. See rev. 9240 for the bug 689842 that did the same for ToUnicode -CMap files. Bug 690737, customer 580. +Another tweak to the localcluster bmpcmp html page generation javascript; +quote the string to avoid it being converted to an int. + </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-08T225410.281044Z"></a> -2009-09-08T22:54:10.281044Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-09T172235.452303Z"></a> +2010-03-09T17:22:35.452303Z Till Kamppeter</strong></p> <blockquote> <pre> -Change to avoid having a rangecheck error occur when the softmask group colorspace is a pattern. This keeps us from having the error occur with bug 689581 however there is still a rendering issue when we go to a sep device. I have that narrowed down and hopefully will have fixed soon. +Let pdftoraster not exit before the Ghostscript sub-process finishes. Thanks to Tim Waugh from Red Hat for the patch. +</pre> +<p>[cups/pdftoraster.c]</p> +</blockquote> -DIFFERENCES EXPECTED +<p><strong><a name="2010-03-09T171522.155871Z"></a> +2010-03-09T17:15:22.155871Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix pngs2html.pl to number images according to both directory and image +number (needed now as images restart from 0 within each directory). This +really should fix the bmpcmp html output. -None on the regression files.</pre> -<p>[base/gstrans.c]</p> +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-08T175820.444720Z"></a> -2009-09-08T17:58:20.444720Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-09T170842.132281Z"></a> +2010-03-09T17:08:42.132281Z Robin Watts</strong></p> <blockquote> <pre> -Removal of line that had the custom pdf14 prototype device used as the initial device for the CMYKSpot pdf14 device. +More fixes for the bmpcmp html page generations javascript. -DIFERENCES EXPECTED: +Change code to pass numbers to swap() rather than strings as javascripts +conversion of strings to ints is... unhelpful. -None.</pre> -<p>[base/gdevp14.c]</p> +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-07T202511.850252Z"></a> -2009-09-07T20:25:11.850252Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-09T165048.278966Z"></a> +2010-03-09T16:50:48.278966Z Robin Watts</strong></p> <blockquote> <pre> -Restore -dynamiclib to the MacOS framework build line. +Misplaced bracket in the javascript meant that only the first images would +swap on mouseover properly. Fixed here. -I though the LDFLAGS_SO in unix-dll.mak would provide this in the -previous commit, but they do not. -Also rationalize the use use of SOPREF in macos-fw.mak. </pre> -<p>[base/macos-fw.mak]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-07T201046.938357Z"></a> -2009-09-07T20:10:46.938357Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-09T163921.328229Z"></a> +2010-03-09T16:39:21.328229Z Robin Watts</strong></p> <blockquote> <pre> -Move the value passed to -install_name for the framework build -into unix-dll.mak to avoid also passing it when trying to link -the client where it conflicts. +Fix javascript problems in bmpcmp output page generation. What sort of +stupid broken language depends on whitespace? + </pre> -<p>[base/macos-fw.mak base/unix-dll.mak]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-07T195120.071990Z"></a> -2009-09-07T19:51:20.071990Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-09T163506.527087Z"></a> +2010-03-09T16:35:06.527087Z Till Kamppeter</strong></p> <blockquote> <pre> -Also update header source directories in the framework build. +Fixes on CUPS Raster output device: +- Fixed memory reallocation on bitmap size change. Reallocation is not only + needed when dimendions and margins change, but also when the color depth + changes. Fixes bugs #691029 and #691108. +- Fixed arrayoption() macro in cups_put_params() function. Array values did + not get actually set in cups.header data structure. Bug only showed via + a compiler warning. +- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero. </pre> -<p>[base/macos-fw.mak]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-09-07T191321.625118Z"></a> -2009-09-07T19:13:21.625118Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-09T162931.666786Z"></a> +2010-03-09T16:29:31.666786Z Robin Watts</strong></p> <blockquote> <pre> -Update the path to dxmain.c in the MacOS framework build. +Attempted fix for bmpcmp output javascript problems with the coordinate +tracking. -This was omitted during the source tree split, when dxmain.c moved -into psi/. Bug 690394. </pre> -<p>[base/macos-fw.mak]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-03T180006.616356Z"></a> -2009-09-03T18:00:06.616356Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-09T161159.669918Z"></a> +2010-03-09T16:11:59.669918Z Robin Watts</strong></p> <blockquote> <pre> -Initial checkin of the local cluster scripts. +Fix typos in the javascript code for pngs2html.pl and bmps2html.pl; this should +get at least some of it working, but the coord stuff still baffles me. + +Also fix a typo that was causing the wrong "third image" to appear. + </pre> -<p>[toolbin/localcluster/setupcluster toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/readme toolbin/localcluster/run.pl toolbin/localcluster toolbin/localcluster/compare.pl]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-02T161807.841097Z"></a> -2009-09-02T16:18:07.841097Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-09T014606.865448Z"></a> +2010-03-09T01:46:06.865448Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -The static initialization for memory structure types was not complete, -in some cases, failing to initialize the procedure data. I suspect -this is harmless but didn't take the time to track down each use of -the faulty macros. + +Fixed longstanding bug fuzzy.c that caused pbm files to be misread. + </pre> -<p>[base/gsstruct.h]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2009-09-01T185555.532790Z"></a> -2009-09-01T18:55:55.532790Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-08T215705.576067Z"></a> +2010-03-08T21:57:05.576067Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Set a mime-type property on the new pdf documentation file so svn -doesn't attempt to generate textual diffs for it. -</pre> -<p>[doc/Color_Architecture.pdf]</p> +updating documentation to mention how to run mkcidfm.ps manually; bug 688437</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-03-08T215437.005008Z"></a> +2010-03-08T21:54:37.005008Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +convert font file name to lowser case before matching; make it possible for upper case ARIALUNI.TTF to match; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> </blockquote> -<p><strong><a name="2009-09-01T181002.037482Z"></a> -2009-09-01T18:10:02.037482Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-08T214956.216990Z"></a> +2010-03-08T21:49:56.216990Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Changes to color architecture document based upon comments from Miles.</pre> -<p>[doc/Color_Architecture.tex doc/figures/Overview.eps doc/Color_Architecture.pdf]</p> +updating windows CJK font substitution list for more commonly found MS CJK fonts; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> </blockquote> -<p><strong><a name="2009-09-01T165940.570903Z"></a> -2009-09-01T16:59:40.570903Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-08T214715.240330Z"></a> +2010-03-08T21:47:15.240330Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Addition of color architecture document (PDF) and its latex source and eps figures to document folder.</pre> -<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/figures doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps doc/figures/Ghost.eps]</p> +revert to r8185 version of the korean example - it was removed in r8190 and a corrupted version r9325 was subsequently checked in; found during fixing bug 688437 (incompete font substitution list)</pre> +<p>[examples/cjk/gscjk_ak.ps]</p> </blockquote> -<p><strong><a name="2009-09-01T140938.072790Z"></a> -2009-09-01T14:09:38.072790Z Ken Sharp</strong> (<a href="Details.htm#2009-09-01T140938.072790Z">details</a>)</p> +<p><strong><a name="2010-03-08T162053.842289Z"></a> +2010-03-08T16:20:53.842289Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : quiet a compiler warning +Ongoing bug fixes for #690448. +The FreeType code will synthesize vertical metrics for TrueType (Type 42) fonts which do +not contain a vmtx table. This includes the vertical advance, which will be returned +to the FAPI code, and used even if there were originally no vertical metrics and the +font should not have any vertical advance. + +Modified the metrics override callback, called by FT, so that if the font is a TT font, +and this is a vertical metrics call, we set the advance to 0. This prevents the +synthesized metrics from incorrectly advancing the glyph vertically. +This may eventually be a problem if we find a CIDFont with Type42 outlines which relies +on the vmtx table in the font rather than the Metrics2 or CDevProc overrides to position +the glyphs. Since this facility was only added in CPSI 3011 it is unlikely we will ever +encounter such a font. THis has not been done at present, as the information (WMode=1) +is not currently available to the code called from FreeType to override the metrics, +and would need to be added. + +Also, fixed an issue where the 'advance_v' member of the metrics structure was left +uninitialised if a horizontal override took place. This could cause glyphs to be +mis-positioned vertically. </pre> -<p>[base/gdevpdtc.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-01T140226.307800Z"></a> -2009-09-01T14:02:26.307800Z Ken Sharp</strong> (<a href="Details.htm#2009-09-01T140226.307800Z">details</a>)</p> +<p><strong><a name="2010-03-08T154120.817468Z"></a> +2010-03-08T15:41:20.817468Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Remove some unused variables +revert revision 10871, we will tackle this problem in the FAPI FreeType interface code +instead of in FreeType itself. </pre> -<p>[base/gdevpdfd.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-01T133115.405830Z"></a> -2009-09-01T13:31:15.405830Z Ken Sharp</strong> (<a href="Details.htm#2009-09-01T133115.405830Z">details</a>)</p> +<p><strong><a name="2010-03-08T152257.356559Z"></a> +2010-03-08T15:22:57.356559Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Minor compiler warning - +revert revision 10871, we will address the matter of FreeType creating synthetic vertical +metrics when none exist by overriding the synthetic metrics in the FAPI FreeType interface +code instead. </pre> -<p>[base/gdevpsft.c]</p> +<p>[freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> </blockquote> -<p><strong><a name="2009-09-01T132934.736595Z"></a> -2009-09-01T13:29:34.736595Z Ken Sharp</strong> (<a href="Details.htm#2009-09-01T132934.736595Z">details</a>)</p> +<p><strong><a name="2010-03-08T092849.484133Z"></a> +2010-03-08T09:28:49.484133Z Chris Liddell</strong></p> <blockquote> <pre> -Fix : Minor compiler warnings +Latest improvements to the FAPI/FT bridge code. This code resolves the issues with font matrices which do more than just scale. It is not yet "finished", but is too big a step forward to risk losing.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T210134.974121Z"></a> +2010-03-05T21:01:34.974121Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added bmpcmp option to clusterpush.pl. </pre> -<p>[base/gsfcid.c]</p> +<p>[toolbin/localcluster/clusterpush.pl]</p> </blockquote> -<p><strong><a name="2009-09-01T074238.080497Z"></a> -2009-09-01T07:42:38.080497Z Ken Sharp</strong> (<a href="Details.htm#2009-09-01T074238.080497Z">details</a>)</p> +<p><strong><a name="2010-03-05T192534.812546Z"></a> +2010-03-05T19:25:34.812546Z regression</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Silence Coverity warning + +Export results of local cluster bmpcmp command to web. </pre> -<p>[base/gdevpdfm.c]</p> +<p>[toolbin/localcluster/clustermaster.pl]</p> </blockquote> -<p><strong><a name="2009-08-31T170013.229845Z"></a> -2009-08-31T17:00:13.229845Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-05T165000.654216Z"></a> +2010-03-05T16:50:00.654216Z regression</strong></p> <blockquote> <pre> -Pass the full CFLAGS to CCAUX in the autoconf build, instead of just -GCFLAGS. This propagates target-defining options which are typically -set in XCFLAGS to build utilities so that, for example, -m32 results -in the correct sizes in arch.h. -Note that this may complicate cross-compiles. In theory CCAUX has -separate, simpler flags because of this, but there are also several -examples in the documentation of using XCFLAGS this way, so this -seems to the the safer approach at this time. +Update the local cluster code to use the new pbm->png mode of bmpcmp. -The dynamic flags for the separate x11 devices module are also -passed through XCFLAGS but they do not harm other than cluttering -the command line.</pre> -<p>[base/Makefile.in]</p> +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-28T172250.739244Z"></a> -2009-08-28T17:22:50.739244Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-05T164710.049203Z"></a> +2010-03-05T16:47:10.049203Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -New attributes required to fix 690736, the actual fix will be in the -next commit to PCL XL. We can't update the trees simultaneously. + +Minor changes due to bugzilla update. </pre> -<p>[base/gdevpxat.h]</p> +<p>[toolbin/bugsByEngineer.pl]</p> </blockquote> -<p><strong><a name="2009-08-26T200331.773651Z"></a> -2009-08-26T20:03:31.773651Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T132434.158774Z"></a> +2010-03-05T13:24:34.158774Z Ken Sharp</strong></p> <blockquote> <pre> -Work around a bug in PDF generated by "PdfWrapper v1.00" that sometimes -writes "." instead of "0." in content stream. Bug 690730. +Fix FreeType +Ongoing fixes for bug #690448. In this case FreeType generates vertical metrics for +TrueType (in our case Type 42) fonts which lack vhea/vmtx tables, which is generally +the case. + +These metrics are useful to a 'normal' TrueType consumer which has a notion of the +orientation of the writing direction. However in PostScript we don;t know that, so we +apply both the horizontal and vertical advance widths. + +If the vertical advance should be 0 (because its not specified) then creating one causes +the glyphs to be misplaced. +This code adds a new load flag to FreeType 'FT_LOAD_NO_SYNTHETIC_METRICS', and sets +this flag in the FAPI FreeType interface code, which prevents FreeType from manufacturing a bogus vertical advance. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[psi/fapi_ft.c freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> </blockquote> -<p><strong><a name="2009-08-25T081802.437396Z"></a> -2009-08-25T08:18:02.437396Z Ken Sharp</strong> (<a href="Details.htm#2009-08-25T081802.437396Z">details</a>)</p> +<p><strong><a name="2010-03-05T092347.698736Z"></a> +2010-03-05T09:23:47.698736Z Lars Uebernickel</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Write ToUnicode CMaps with 2-byte code space ranges and keys +Open tiffsep and tiffsep1 output files as seekable. + +All files written by libtiff have to be seekable when writing multiple pages, +because libtiff tries to access previously written page dictionaries. This +fixes bug 691160. </pre> -<p>[base/gdevpdte.c]</p> +<p>[base/gdevtsep.c]</p> </blockquote> -<p><strong><a name="2009-08-21T194048.371802Z"></a> -2009-08-21T19:40:48.371802Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-05T070113.637667Z"></a> +2010-03-05T07:01:13.637667Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Add check for NOTRANSPARENCY in patternusestransparency since this is also used -by resolvepattern in pdf_draw.ps. If this flag is set, but the pdf14 device is -not active, "unregistered" error occurs. Bug 690727 for customer 531. + +Fix pbm reading and png writing in bmpcmp.c. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-21T051949.329915Z"></a> -2009-08-21T05:19:49.329915Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T053224.962092Z"></a> +2010-03-05T05:32:24.962092Z regression</strong></p> <blockquote> <pre> -Ghostscript caches pattern instances in the pattern dictionary. This patch -doesn't cache anything in the null pattern dictionary because it's read-only. -Bug 690725. + +Added pngs2html.pl to repository: take a directory full of png files +generated by the increasingly poorly named bmpcmp.c and generate web pages +(like bmps2html.pl but without the bmp->png conversion). </pre> -<p>[Resource/Init/pdf_ops.ps]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-19T162208.241617Z"></a> -2009-08-19T16:22:08.241617Z Alex Cherepanov</strong> (<a href="Details.htm#2009-08-19T162208.241617Z">details</a>)</p> +<p><strong><a name="2010-03-03T212107.833457Z"></a> +2010-03-03T21:21:07.833457Z Ralph Giles</strong></p> <blockquote> <pre> -Process embedded files as a portable collection only when /Collection -attribute is defined in the document root. Bug 690709. +Flip images from RGB to BGR pixel format when reading ppm files, +and flip them back to RGB when writing png files. -</pre> -<p>[Resource/Init/pdf_main.ps]</p> +This adapts all the current routines to assume the BGRx storage +format used by the bmp image format for the internal representation, +as is already done with the row order.</pre> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-19T060451.856837Z"></a> -2009-08-19T06:04:51.856837Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-03T212104.624166Z"></a> +2010-03-03T21:21:04.624166Z Ralph Giles</strong></p> <blockquote> <pre> -Simplify / reduce the ht rendering logic to remove the special cases where -the cache had 1 level per tile (which should now be the usual case) and the -case where there is only one tile (which means that the tile is 1Mb). +Also save the difference image as a png when bmpcmp is compiled with HAVE_LIBPNG.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -The special case handling of these cases does not result in any performance -improvement with the modern (1Mb) cache size and thus this is a code -simplification. +<p><strong><a name="2010-03-03T203001.695369Z"></a> +2010-03-03T20:30:01.695369Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix stupid memory overwrite bug on bmp load. </pre> -<p>[base/gxht.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-19T060039.095541Z"></a> -2009-08-19T06:00:39.095541Z Ray Johnston</strong> (<a href="Details.htm#2009-08-19T060039.095541Z">details</a>)</p> +<p><strong><a name="2010-03-03T200329.767395Z"></a> +2010-03-03T20:03:29.767395Z Robin Watts</strong></p> <blockquote> <pre> -Adjust ht cache allocation to a size that will actually be used by the -cache logic. The changes allow for replicating tiles along the width axis -up to a ulong multiple that optimizes tile blitting in the mem device -logic. Addresses bug 690693 by reducing the memory used from > 1Gb to -< 200 Mb. As noted in the comments to that bug, there still may be some -optimizations remaining. +bmpcmp.c tweaks: Add (largely untested) code to allow "plain" (ascii) ppm, +pgm, pbm files. Also fix some compile warnings on 64bit platforms. Now +compiles cleanly with -Wall. + </pre> -<p>[base/gsht.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-18T204117.764580Z"></a> -2009-08-18T20:41:17.764580Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-03T190712.236947Z"></a> +2010-03-03T19:07:12.236947Z Ralph Giles</strong></p> <blockquote> <pre> -Add 'used' and 'max_used' information to the -Za output. This is handy for -investigating memory usage and only affects a debug build when -Za (or -ZA) -is used. -</pre> -<p>[base/gsmalloc.c]</p> +Add optional support for png output to the bmpcmp utility. + +When compiled with the HAVE_LIBPNG preprocessor symbol defined, and +linking with libpng, the utility will save its output focus images +in RGB png format. Currently, only 32 bit RGBx pixel data is supported.</pre> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-17T221301.172961Z"></a> -2009-08-17T22:13:01.172961Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-02T224902.357333Z"></a> +2010-03-02T22:49:02.357333Z Robin Watts</strong></p> <blockquote> <pre> -Improve diagnostics for detecting problems with virtual memory spaces -(see bug #688333). The vm space id was not initilialized for all -allocations. This change reduce the list from hundreds down to tens of -entries for a very simple postscript job. +Attempt to fix the javascript in the created files. The change to use +numeric filenames padded to 5 chars had broken the javascript. This +might fix it. + </pre> -<p>[base/gsalloc.c]</p> +<p>[toolbin/localcluster/bmps2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-15T030203.213076Z"></a> -2009-08-15T03:02:03.213076Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-02T212636.100914Z"></a> +2010-03-02T21:26:36.100914Z regression</strong></p> <blockquote> <pre> -Fix rendering artifacts in interpolated images caused by intermediate bit -buffer not reset when data get flushed to output buffer. Bug 689566. + +More changes towards having a bmpcmp running on the local cluster. </pre> -<p>[base/gsbitops.h]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> </blockquote> -<p><strong><a name="2009-08-14T041258.692182Z"></a> -2009-08-14T04:12:58.692182Z Alex Cherepanov</strong> (<a href="Details.htm#2009-08-14T041258.692182Z">details</a>)</p> +<p><strong><a name="2010-03-02T211259.888859Z"></a> +2010-03-02T21:12:59.888859Z Robin Watts</strong></p> <blockquote> <pre> -Remove code that tries to pause at the end of the .PFB binary data in an -attempt to keep from reading beyond the end of the encrypted data, sometimes -misidentifying the end of the actual data, and stopping early. Bug 465936. +Updated bmpcmp to avoid inverting pnms on reading. + +Also improve reading of non 32bpp bitmaps - still not quite right. </pre> -<p>[base/seexec.c base/sfilter.h psi/zmisc1.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-14T003311.113850Z"></a> -2009-08-14T00:33:11.113850Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-02T001558.939654Z"></a> +2010-03-02T00:15:58.939654Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Change literal /FontBBox array into executable one for better compatibility -with legacy software. QuarkXPress 3.31, idraw, and some versions of dvips -assume that /FontBBox is executable. Bugs 690683, 687120, customer 460. + +Added partial support for "clusterpush.pl bmpcmp" (which will allow +users to generate bitmap comparisons of their most recent clusterpush +job and trunk). </pre> -<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusSanL-BoldItal Resource/Font/NimbusRomNo9L-MediItal Resource/Font/URWGothicL-Demi Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/URWBookmanL-Ligh Resource/Font/CenturySchL-Bold 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>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-13T190434.663531Z"></a> -2009-08-13T19:04:34.663531Z Alex Cherepanov</strong> (<a href="Details.htm#2009-08-13T190434.663531Z">details</a>)</p> +<p><strong><a name="2010-03-01T174440.662743Z"></a> +2010-03-01T17:44:40.662743Z Ralph Giles</strong></p> <blockquote> <pre> -In hex form of eexec stream, break out of reading loop and try to interpret -the accumulated data when a whitespace character is encountered. Skip whitespace -characters when the control returns to /eexecDecode filter. Bug 689577. +Add support to the autoconf and msvc builds to compile in a copy of +the FreeType2 library from local source. + +Previously, the FAPI bridge for freetype required that the library +be compiled externally and include and link flags passed through +the FT_CFLAGS and FT_LIBS makefile variables. We now include a copy +of the freetype source in the tree, to make it easier to find a +compatible version of the source and to simplify building for +platforms that don't provide a system freetype. + +Now, to enable both freetype and the FAPI bridge, pass --enable-freetype +to the configure script. This will set FT_BRIDGE=1 and the other required +variables. The configure script will prefer local source in gs/freetype2 +to the copy in gs/freetype to simplify testing against upstream. +To enable freetype in the msvc build, pass FT_BRIDGE=1 on the nmake command +line. + +Note that the fallback is now FT_BRIDGE=0, not FT_BRIDGE undefined; this +will require changes in any custom top-level makefiles. </pre> -<p>[base/sstring.c base/seexec.c base/sfilter.h base/strimpl.h]</p> +<p>[base/winlib.mak doc/Make.htm base/gs.mak base/Makefile.in psi/int.mak base/configure.ac psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-08-13T145804.684321Z"></a> -2009-08-13T14:58:04.684321Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-01T153456.724940Z"></a> +2010-03-01T15:34:56.724940Z Henry Stiles</strong></p> <blockquote> <pre> -(empty)</pre> -<p>[base/gdevpdfm.c base/gdevpdfc.c base/gdevpdft.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpdfg.c base/gdevpdfi.c]</p> +Fixes bug #691154 and the regressions associated with revision 10823. +Unfortunately, performance-wise, the wtsimdi device must always use a +contone buffer until we've had a chance to see which raster operations +can be eliminated correctly. +</pre> +<p>[base/gdevwts.c]</p> </blockquote> -<p><strong><a name="2009-08-13T075702.889637Z"></a> -2009-08-13T07:57:02.889637Z Ken Sharp</strong> (<a href="Details.htm#2009-08-13T075702.889637Z">details</a>)</p> +<p><strong><a name="2010-02-28T225702.883228Z"></a> +2010-02-28T22:57:02.883228Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Check pointer before dereferencing +First half of patch from John Wehle for bug 691149 - vac C compiler on AIX 5.2 does +not like function with a void prototype returning a void function e.g. + +------------------ +void func1(); + +void funct2() { +return funct1(); +} +------------------ + +The 2nd half of the submitted patch was committed as part of r10826 . </pre> -<p>[base/gdevpdfb.c]</p> +<p>[base/gdevpx.c]</p> </blockquote> -<p><strong><a name="2009-08-12T070940.485630Z"></a> -2009-08-12T07:09:40.485630Z Ken Sharp</strong> (<a href="Details.htm#2009-08-12T070940.485630Z">details</a>)</p> +<p><strong><a name="2010-02-28T172609.949555Z"></a> +2010-02-28T17:26:09.949555Z Henry Stiles</strong></p> <blockquote> <pre> -Fix (pdfwrite): Writing invalid numbers for linecap and linejoin parameters - +Fixes part of 691149 - void function returning value, thanks to John +Wehle for the fix. Also, there were several compiler warnings in this +file related to the casting of the gs memory type pointer which have +been cleaned up as well. </pre> -<p>[base/gdevpsdu.c]</p> +<p>[base/gsnogc.c]</p> </blockquote> -<p><strong><a name="2009-08-11T154712.926634Z"></a> -2009-08-11T15:47:12.926634Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-28T145200.838160Z"></a> +2010-02-28T14:52:00.838160Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Stop processing of embedded Type 1 font as soon as operator eexec returns. -Skip the trailer that may be truncated or corrupted. Bug 690701, customer 780. +The distclean make target should call pgclean to clean up profile build also.</pre> +<p>[base/Makefile.in]</p> +</blockquote> +<p><strong><a name="2010-02-28T011926.994088Z"></a> +2010-02-28T01:19:26.994088Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following PDF reference, version 1.7, section 10.10, crop /TrimBox and /CropBox +by the /MediaBox. Bug 691145. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2009-08-11T151057.046923Z"></a> -2009-08-11T15:10:57.046923Z Henry Stiles</strong></p> +<p><strong><a name="2010-02-27T232931.437722Z"></a> +2010-02-27T23:29:31.437722Z Henry Stiles</strong></p> <blockquote> <pre> -The debugging code to dump an allocator crashed when printing -references, also add a convenience function so it can be easily called -from the debugger and a reminder in ilocate. All debugging changes, -no expected differences. +Fixes bug #691147 customer 861, the optimization to strength reduce +the raster operation here is wrong, it is premised on the assumption +the colors are opaque. If either texture or source is transparent the +strength reduction which effectively ignores the source or pattern is +wrong and it will subsequently cause opaque painting. We've simply +removed the optimization instead of conditionalizing on opaque cases, +because tests indicate the reduction not that significant. The +example in the bug report was reduced from a file in the XL ATS 305 +test suite. The following customer reported bugs in that test suite +are fixed by this change: +FH905UJ1.BIN pp 1,2,3,4 +FH906UJ1.BIN pp 1-6 +MA2K7UJ2.BIN pp 1-10 +PW2K6UJ1.BIN pp 2 +PWTTDUJ3.BIN pp 1 </pre> -<p>[base/gxalloc.h psi/ilocate.c base/gsalloc.c]</p> +<p>[base/gxipixel.c]</p> </blockquote> -<p><strong><a name="2009-08-11T041132.968611Z"></a> -2009-08-11T04:11:32.968611Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-27T202413.417473Z"></a> +2010-02-27T20:24:13.417473Z Alex Cherepanov</strong></p> <blockquote> <pre> -Reorder a logical expression in bbox device to avoid evaluation of -uninitialized part. Fix a Purify warning. - +Upgrade Adobe Glyph List to v. 2.0. AGL is used for character mapping in +non-symbolic TrueType fonts in PDF files. Bug 691116. </pre> -<p>[base/gdevbbox.c]</p> +<p>[Resource/Init/gs_agl.ps]</p> </blockquote> -<p><strong><a name="2009-08-10T232924.006231Z"></a> -2009-08-10T23:29:24.006231Z Henry Stiles</strong></p> +<p><strong><a name="2010-02-27T165647.050522Z"></a> +2010-02-27T16:56:47.050522Z Alex Cherepanov</strong></p> <blockquote> <pre> -Adds a new memory device constructor -(gs_make_mem_device_with_copydevice) to replace gs_make_mem_device and -fixes several device reference counting problems (leaks) which -affected all the the client languages. No expected visual -differences. +Add missing newline in a TTF debug message. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> +<p><strong><a name="2010-02-26T171128.684024Z"></a> +2010-02-26T17:11:28.684024Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in the freetype makefile which prevented the inclusion +of ftlzw.c. </pre> -<p>[base/gdevdrop.c base/gxpcmap.c base/gxdevmem.h base/gdevmem.c]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-08-10T185221.508883Z"></a> -2009-08-10T18:52:21.508883Z Henry Stiles</strong></p> +<p><strong><a name="2010-02-26T064131.056673Z"></a> +2010-02-26T06:41:31.056673Z Ralph Giles</strong></p> <blockquote> <pre> -Add a new memory device constructor which uses copydevice. +Fixes to our makefile for the third-party freetype library. + +I'd missed a number of "optional" files in the original commit, but +didn't notice because other dependencies, which themselves link to +the system freetype library on linux were providing definitions of +the missing symbols. These are now included in our build. + +We now generate freetype.dev by copying freetype_$(SHARE_FT) within +freetype.mak, the same was this option is handled in the other third- +party makefiles. + +We set native line endings and Id keyword substitution for this file +in the Subversion repository. </pre> -<p>[base/lib.mak base/gxdevmem.h base/gdevmem.c]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-08-07T182905.729614Z"></a> -2009-08-07T18:29:05.729614Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-25T110459.765077Z"></a> +2010-02-25T11:04:59.765077Z Chris Liddell</strong></p> <blockquote> <pre> -Propagate LDFLAGS to the shared library gs client link command lines -in the the autoconf build. Bug 690695.</pre> -<p>[base/unix-dll.mak]</p> +add quotes around the expansion of DEVSTUDIO variable when it's used for the recursive nmake call for debug targets - in case it has white space in it.</pre> +<p>[psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-08-07T140857.827147Z"></a> -2009-08-07T14:08:57.827147Z Ken Sharp</strong></p> +<p><strong><a name="2010-02-25T082146.259499Z"></a> +2010-02-25T08:21:46.259499Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix a benign type cast warning from MSVC 2008 by explicitly casting the glyph name. +Fix for bug 691103. The pdfwrite device now considers FDArray fonts' FontMatrix and writes correct W/W2/DW/DW2 widths for CIDFont with unusual FontMatrix. This also fixes a problem gs_font::orig_FontMatrix not being initialized for CIDFont. +Bug687832.pdf and Bug690834.ps will show differences which are improvements. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[Resource/Init/gs_cidfn.ps base/gdevpdtt.c]</p> </blockquote> -<p><strong><a name="2009-08-07T135404.799461Z"></a> -2009-08-07T13:54:04.799461Z Ken Sharp</strong></p> +<p><strong><a name="2010-02-24T202657.347460Z"></a> +2010-02-24T20:26:57.347460Z Ralph Giles</strong></p> <blockquote> <pre> -Inadvertently left a line commented out (with a C++ style comment!) which should have -been removed. Apologies all round. +Add a generic makefile for compiling the freetype library +as part of the Ghostscript monolithic build. + +Including makefiles should define FTSRCDIR, FTGENDIR and FTOBJDIR, +similar to other third party libraries. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-08-07T134658.208375Z"></a> -2009-08-07T13:46:58.208375Z Ken Sharp</strong> (<a href="Details.htm#2009-08-07T134658.208375Z">details</a>)</p> +<p><strong><a name="2010-02-24T195905.197182Z"></a> +2010-02-24T19:59:05.197182Z Ralph Giles</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Embedded TrueType fonts not correctly flagged as Symbolic +Copy our local branch of the freetype library source into the gs tree. +This was the intended result of commit 10804, but an ommitted path element +placed it in the repository root instead. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[freetype]</p> </blockquote> -<p><strong><a name="2009-08-06T171410.510938Z"></a> -2009-08-06T17:14:10.510938Z Michael Vrhel</strong> (<a href="Details.htm#2009-08-06T171410.510938Z">details</a>)</p> +<p><strong><a name="2010-02-24T193811.435012Z"></a> +2010-02-24T19:38:11.435012Z Ralph Giles</strong></p> <blockquote> <pre> -Fix for bug 690670. Softmask color space was incorrectly getting set to DeviceN when the color space was undefined for the group and the output device was a separation device. +Correct a typo in a dependency specification for wrfont.c. +The typo (stdio_h for stdio__h) prevented the dependency on arch.h +from being declared, generating a temporary error in a sufficiently +parallel make invocation. </pre> -<p>[base/gstrans.c]</p> +<p>[psi/int.mak]</p> </blockquote> -<p><strong><a name="2009-08-05T221258.428110Z"></a> -2009-08-05T22:12:58.428110Z Marcos H. Woehrmann</strong> (<a href="Details.htm#2009-08-05T221258.428110Z">details</a>)</p> +<p><strong><a name="2010-02-24T192711.525322Z"></a> +2010-02-24T19:27:11.525322Z regression</strong></p> <blockquote> <pre> -Reverts r8510, r8511, r8513, r8597. + +Changed naming scheme for regressions from 00000-00000 to 00000 (i.e. no longer treat Ghostscript and GhostPDL revisions independently). </pre> -<p>[base/gsptype2.c base/gsptype2.h base/gximask.c base/gxfill.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> </blockquote> -<p><strong><a name="2009-08-04T013250.525295Z"></a> -2009-08-04T01:32:50.525295Z Henry Stiles</strong></p> +<p><strong><a name="2010-02-24T182235.905364Z"></a> +2010-02-24T18:22:35.905364Z Ralph Giles</strong></p> <blockquote> <pre> -Fixes a regression with revision 5219, the log for this revision says: +Move the fontconfig check into the libraries section of the configure script. +</pre> +<p>[base/configure.ac]</p> +</blockquote> - "Valid memory pointer used create a tile_clip device instead of - NULL" +<p><strong><a name="2010-02-24T181645.225914Z"></a> +2010-02-24T18:16:45.225914Z Chris Liddell</strong></p> +<blockquote> +<pre> +ensure the DEVSTUDIO value is propagated when we recursively nmake for the debug targets.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> -Unfortunately the tile clip device is created on the c stack and -should not get a non null memory pointer. Later in gxcht.c this same -device memory pointer is used to get a gs id, maybe this was the real -motivation for the change. We now use the device halftone memory -pointer and the device is initialized with a NULL memory pointer as -expected. +<p><strong><a name="2010-02-24T172823.116518Z"></a> +2010-02-24T17:28:23.116518Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious circular symlink accidentally included in the libpng-1.2.42 +source import. </pre> -<p>[base/gxcht.c base/gxp1fill.c]</p> +<p>[libpng/libpng]</p> </blockquote> -<p><strong><a name="2009-08-03T030950.293548Z"></a> -2009-08-03T03:09:50.293548Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-24T095802.654907Z"></a> +2010-02-24T09:58:02.654907Z Ken Sharp</strong></p> <blockquote> <pre> -Add missing initialization of the path rule member during setting up -the stack-allocated clipping path structure. Fix a Purify warning. +Fix, ignore a class of broken TrueType font. +Bug #691121 "gs stops in interpreting tt instructions". The font executes an MDRP +instruction with point number 28, the glyph only contains 28 points numbered 0 to 27 so +the interpreter (correctly) flags an error. +Windows and FT both appear to silently ignore the error and the instruction (definitely +the case for FreeType). Modified Ins_MDRP to simply return if the indicated point is +outside the number of points in this case. </pre> -<p>[base/gxcpath.c]</p> +<p>[base/ttinterp.c]</p> </blockquote> -<p><strong><a name="2009-08-02T235526.536287Z"></a> -2009-08-02T23:55:26.536287Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-23T222918.142249Z"></a> +2010-02-23T22:29:18.142249Z Henry Stiles</strong></p> <blockquote> <pre> -Remove a line that has no effect other than causing frequent Purify warning -and puzzling the reader. +Fixes bug 690967, a diagnostic problem with dumping memory the debug +-ZA option. See the comment in the code for details, the change has +no effect on production builds. +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> +<p><strong><a name="2010-02-23T215815.181686Z"></a> +2010-02-23T21:58:15.181686Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix obviously wrong code in .fixsethalftonescreen procedure that is used by +the setscreen (and setcolorscreen) procedure and caused a PS error if the +third 'proc' argument to setscreen is a read-only Halftone type 1 dictionary. +Thanks to Jonathan Dagresta for the patch. Bug 691130, customer 1130. +</pre> +<p>[Resource/Init/gs_dps2.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-23T205621.262529Z"></a> +2010-02-23T20:56:21.262529Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify sed script that extracts libTiff version number for compatibility +with AIX sed. Include our portable header before tiff.h to make sure that +all stdint types are found. Bug 691102. </pre> -<p>[base/ttfmain.c]</p> +<p>[base/gdevtifs.c base/gdevtsep.c base/configure.ac base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p> </blockquote> -<p><strong><a name="2009-08-02T235002.458497Z"></a> -2009-08-02T23:50:02.458497Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-23T100154.545437Z"></a> +2010-02-23T10:01:54.545437Z Ken Sharp</strong></p> <blockquote> <pre> -Fully initialize CFD stream state. Fix a Purify warning in 23-12B.PS and -stop printing wild core instead of error messages. +Fix (pdfwrite) +Bug #691133. If producing PDF/A output. and a DOCINFO pdfmark string was UTF_16BE +encoded *and* contained a numeric character, then decode_escape incorrectly consumed +any numeric characters following the first octal byte of the UTF16 code. + +This was caused by decode_escape assuming that octal sequences are terminated by +non-numeric characters which is clearly wrong. The octal escape decoding loop is now +terminated when : +1) 3 numeric characters are read from the string +2) No more data is available in the string +3) A non-numeric character is encountered in the string. </pre> -<p>[base/scfx.h]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2009-08-02T231626.642637Z"></a> -2009-08-02T23:16:26.642637Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-22T114533.943563Z"></a> +2010-02-22T11:45:33.943563Z Chris Liddell</strong></p> <blockquote> <pre> -Fix all remaining MSVC warning other than C4018 or C4244 that have little -value and should be suppressed. Bug 690660. +resolve inappropriate variable type (signed vs unsigned) and comparisons with the wrong variable when writing the local subrs info to the serialized T2 Private dictionary.</pre> +<p>[psi/write_t2.c]</p> +</blockquote> + +<p><strong><a name="2010-02-21T175724.841443Z"></a> +2010-02-21T17:57:24.841443Z regression</strong></p> +<blockquote> +<pre> + +Added regression testing of the icc_work branch to the local cluster. </pre> -<p>[base/gdevp14.c psi/zcid.c base/gdevpdti.h base/gxacpath.c base/gxpcolor.h libpng/pngwio.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> </blockquote> -<p><strong><a name="2009-08-01T031453.314562Z"></a> -2009-08-01T03:14:53.314562Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T035726.068286Z"></a> +2010-02-21T03:57:26.068286Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix a common Purify warning; skip calculations with uninitialized values -during processing an empty glyph, such as /space . + +Add cast to bmpcmp.c to quiet useless compiler warning. </pre> -<p>[base/gxhintn.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-01T030247.627968Z"></a> -2009-08-01T03:02:47.627968Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T035151.891247Z"></a> +2010-02-21T03:51:51.891247Z regression</strong></p> <blockquote> <pre> -Swap transposed code fragments in image interpolation logic. Old code missed -some optimizations and could cause wrong rendering. Clear a Purify warning -about uninitialized memory access running 148-11.ps. +Several minor changes to local cluster code to improve reliability and increase performance. </pre> -<p>[base/gxiscale.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-01T024633.092104Z"></a> -2009-08-01T02:46:33.092104Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T033829.059238Z"></a> +2010-02-21T03:38:29.059238Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix yet another case of missing dereference of indirect objects. Bug 690675. +Update pdf2dsc.ps to match the changes in pdf_main.ps introduced by +the rev. 10341. Thanks to William Bader for the patch. Bug 691124. +</pre> +<p>[lib/pdf2dsc.ps]</p> +</blockquote> +<p><strong><a name="2010-02-21T025705.611462Z"></a> +2010-02-21T02:57:05.611462Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Include stat_.h before estack.h, which defines esp macro. +Prevent a spurious macro substitution in Cygwin version of signal.h. +Bug 691123, customers 661. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[psi/zfapi.c psi/int.mak]</p> </blockquote> -<p><strong><a name="2009-08-01T024103.067359Z"></a> -2009-08-01T02:41:03.067359Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-17T170227.004947Z"></a> +2010-02-17T17:02:27.004947Z Henry Stiles</strong></p> <blockquote> <pre> -Fix processing of -dUseCropBox that was broken by the rev. 9805. -Old code messed up the operand stack when -dUseCropBox was requested but no -/CropBox attribute was in the PDF file. Bug 690676, customer 330. +Adds placeholder files to trunk so the other languages (pcl, xps and +svg) can built with the icc branch and trunk. Each of these files +will be replaced with real files when the icc branch is merged into +the trunk. +</pre> +<p>[base/lcms.mak base/gsiccmanage.h]</p> +</blockquote> + +<p><strong><a name="2010-02-16T181257.832463Z"></a> +2010-02-16T18:12:57.832463Z Robin Watts</strong></p> +<blockquote> +<pre> +Tiny tweaks to clusterpush.pl to make it work on windows. First, wrap the +$HOME directory in additional quotes to allow for awkward windows users +with spaces in their names. Secondly, add a crude mapping for people whos +windows names are not the same as the usernames. This can unquestionably +be done more nicely, but the simple version will do for now. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-16T170749.079920Z"></a> +2010-02-16T17:07:49.079920Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing dereferencing of indirect objects in /Mask array. +Bug 691112, customers 870. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-08-01T003106.505318Z"></a> -2009-08-01T00:31:06.505318Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-12T152723.315268Z"></a> +2010-02-12T15:27:23.315268Z Ken Sharp</strong></p> <blockquote> <pre> -Remove a reference to the obsolete AFPL license text.</pre> -<p>[doc/Release.htm]</p> +Sort out some minor benign compiler warnings. No differences expected. +</pre> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2009-08-01T003104.401366Z"></a> -2009-08-01T00:31:04.401366Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-12T151716.629322Z"></a> +2010-02-12T15:17:16.629322Z Ken Sharp</strong></p> <blockquote> <pre> -Remove an unnecessary header file.</pre> -<p>[psi/int.mak psi/igc.c]</p> +Fix colour processing. It was possible for nested ICCBased colour spaces (ie an ICCBased +space whose Alternate is another ICCBased space) to cause segmentation faults. + +This was due to the fact that the conversion to base colour continuation procedure +'currentbasecolor_cont' was supposed to scan the space from the initial declaration +each time round a loop. However a reassignment of an array pointer caused it to +rescan from the last processed colour array instead. + +Normally this does not cause problems, but in the case of nested ICCBased it caused +us to generate an error. + +Fixed by re-initialising the array pointer at the start of the loop. +</pre> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2009-08-01T002725.216685Z"></a> -2009-08-01T00:27:25.216685Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-11T162820.347398Z"></a> +2010-02-11T16:28:20.347398Z Ken Sharp</strong></p> <blockquote> <pre> -Bump version after the 8.70 release. +Fix (pdfwrite) bug #691104 "pdfwrite emits garbage in the XMP metadata when DOCINFO +pdfmarks contain UTF-16BE text strings" + +There were several problems. Firstly the undoing of PostScript string escapes was wrong, +Octal escapes consumed too many characters, and several escape sequences weren't +recognised. + +Secondly the XMP emission didn't expect to receive UTF-16BE strings and didn't convert +them to UTF-8 for inclusion in the metadata. + +This patch fixes the broken octal escapes, adds teh unprocessed escapes and checks the +DOCINFo strings before sending to XMP. If they include the UTF-16BE Byte Order Mark +then convert the strings to UTF-8. </pre> -<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2009-07-31T180612.135189Z"></a> -2009-07-31T18:06:12.135189Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-10T202733.989189Z"></a> +2010-02-10T20:27:33.989189Z Ralph Giles</strong></p> <blockquote> <pre> -Update changelogs and open bug numbers for 8.70 final. +Bump the versioning after the 8.71 release. </pre> -<p>[doc/History8.htm doc/News.htm doc/Details8.htm]</p> +<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> </blockquote> </body> </html> diff --git a/gs/doc/Commprod.htm b/gs/doc/Commprod.htm index 7c2692e5a..2541d0b9e 100644 --- a/gs/doc/Commprod.htm +++ b/gs/doc/Commprod.htm @@ -251,7 +251,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/DLL.htm b/gs/doc/DLL.htm index e30aaa2cc..cbdc2987d 100644 --- a/gs/doc/DLL.htm +++ b/gs/doc/DLL.htm @@ -702,7 +702,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Deprecated.htm b/gs/doc/Deprecated.htm index 427b76bc6..8765714fa 100644 --- a/gs/doc/Deprecated.htm +++ b/gs/doc/Deprecated.htm @@ -5594,7 +5594,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Details.htm b/gs/doc/Details.htm index 20de6d0f8..5cda077c3 100644 --- a/gs/doc/Details.htm +++ b/gs/doc/Details.htm @@ -8,6082 +8,7629 @@ </head> <body> -<p><strong><a name="2010-02-09T161339.643382Z"></a> -2010-02-09T16:13:39.643382Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-24T123334.461027Z"></a> +2010-08-24T12:33:34.461027Z Chris Liddell</strong></p> <blockquote> <pre> -Clean up some typos in the release notes, and mention the reduced memory -footprint of the halftone cache from r10006. +merge changes from the trunk doc directory to the 9.00 release tag. </pre> -<p>[doc/News.htm]</p> +<p>[/tags/ghostscript-9.00/doc /tags/ghostscript-9.00/doc/History9.htm /tags/ghostscript-9.00/doc/News.htm /tags/ghostscript-9.00/doc/AUTHORS]</p> </blockquote> -<p><strong><a name="2010-02-08T221030.586772Z"></a> -2010-02-08T22:10:30.586772Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-20T175448.049092Z"></a> +2010-08-20T17:54:48.049092Z Chris Liddell</strong></p> <blockquote> <pre> -Update the change logs for the second 8.71 release candidate. +When we produce a glyph uncached, and it's to be filled with a +pattern colour space *and* there is PDF transparency involved +force FAPI to (try to) produce an outline (for lower level +code to use as a clip) instead of a bitmap (to use as a +mask). + +This does produce some pixel level differences in a few +cluster files, but improves a load of PDF 1.7 FTS jobs. + +Bug 691550 + +Merge from trunk r11645 + </pre> -<p>[doc/Changes.htm doc/History8.htm doc/News.htm doc/Details8.htm doc/Details.htm]</p> +<p>[/tags/ghostscript-9.00/psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-02-08T220322.755385Z"></a> -2010-02-08T22:03:22.755385Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-18T100340.871603Z"></a> +2010-08-18T10:03:40.871603Z Chris Liddell</strong></p> <blockquote> <pre> -Add some notes on what's new in the 8.71 release. +Tag the ghostscript 9.00 release + </pre> -<p>[doc/News.htm]</p> +<p>[/tags/ghostscript-9.00]</p> </blockquote> -<p><strong><a name="2010-02-08T200658.778484Z"></a> -2010-02-08T20:06:58.778484Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-17T143158.354019Z"></a> +2010-08-17T14:31:58.354019Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the the release dates for the second 8.71 release candidate. +Skip opacity and unknown components during reading of JPX image data. This +improves image quality (compared to the previous state that interpreted an +opacity channel as yet another data sample) and serves as a transition to full +support of opacity in JPX images. Bug 691489, customer 532. </pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +<p>[base/sjpx.h psi/zfjpx.c base/sjpx.c]</p> </blockquote> -<p><strong><a name="2010-02-08T173532.033134Z"></a> -2010-02-08T17:35:32.033134Z Robin Watts</strong></p> +<p><strong><a name="2010-08-17T012218.729560Z"></a> +2010-08-17T01:22:18.729560Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update Visual Studio solutions to use the DEVSTUDIO= form of makefile -invocation, rather than MSVC_STUDIO=8 version. This should isolate the -solution/projects entirely from the version of visual studio in use. - -Simplify the ReadMe.txt file accordingly. - -Take the opportunity to add the resource files to the list in the -ghostscript.vcproj file. This makes no difference to the project in -terms of building, but enables easy navigation/editing of files -within VS. - +Don't include opacity channels in the number-of-components count. +Recognize general ICC profile (type 3) and construct a corresponding +ICC-based color space. Bug 691470, customer 532. </pre> -<p>[/trunk/ghostpdl/win32/ReadMe.txt /trunk/ghostpdl/win32/xps.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-02-08T164547.345828Z"></a> -2010-02-08T16:45:47.345828Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-15T094903.044306Z"></a> +2010-08-15T09:49:03.044306Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (pdfwrite) bug #691101 (part 2 of 2) +Ensure we only check the compatibility of the system libtiff +if we're actually going to use it. -The revisions 10474 and 10476 were intended to address an indeterminism but actually -introduced a fairly serious regression. The code was changed to return any error value -from the glyph_info method before testing the members of the 'info' structure passed to -the method. Previously one of the member could be examined when an error had meant that -the member was still uniinitialised. +No cluster differences expected. -However, these revision missed the fact that the glyph_info method can return a -'rangecheck' error when they require a CDevProc to be executed. Because the error code -was tested before checking for a CDevProc, the pdfwrite code never executed the -CDevproc. +Bug 691548 +</pre> +<p>[base/configure.ac]</p> +</blockquote> -This resulted in a (very) few regressions, this is because the PDF interpreter uses -a CDevProc to alter the widths of glyphs if a /W array is present in a PDF file. +<p><strong><a name="2010-08-15T094221.565047Z"></a> +2010-08-15T09:42:21.565047Z Chris Liddell</strong></p> +<blockquote> +<pre> +The "shortcut" for rendering masks use by the FAPI code for uncached +glyph bitmaps (gx_image_fill_masked) is only safe, in the general case +when drawing "plain" colours to the output. For complex colour spaces +(like patterns) we must use the "long hand" version. -The code now initialises the member of the structure to 0, which we then test before -checking the return code. If we need to run a CDevProc we now do so. +This causes minor pixel level differences in some cluster tests (due +to rounding differences), and some (very small) progressions: there +are differences in about 20 cluster jobs. -Part 2 of this commit explains some further issues with CDevProcs. +Bug 691549. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-02-08T164518.598274Z"></a> -2010-02-08T16:45:18.598274Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-14T211029.198491Z"></a> +2010-08-14T21:10:29.198491Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (pdfwrite) bug #691101 (part 1 of 2) - -The revision 10603 fixed a number of issues relating to FontMatrix and descendant fonts -of CIDFonts. However part of the fix, in CIDWProc, used 'currentfont' to address the -font dictionary instead of 'currentdict', as is done in the rest of the routine. - -For rendering devices this works well, but for pdfwrite the two dictionaries are not -the same, and this causes PostScript errors. +Fix a memory corruption problem introduced by the rev. 11588 on some systems. +Free the string returned by systempapername() but don't free the static string +returned by defaultpapername() . Bug 691557. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> -This error was initially hidden by the revisions 10474 and 10476 which inadvertently -caused all CDevProc routines not to execute when using pdfwrite. +<p><strong><a name="2010-08-13T194628.340691Z"></a> +2010-08-13T19:46:28.340691Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite( : Invalid compression filter emitted. -This patch alters the CIDWProc to use currentdict instead of currentfont, there are no -differences with rendering devices but with pdfwrite this causes the CDevProc to -execute properly, eliminating a number of errors (when the faulty revisiions 10474 -and 10476 are rolled back) +Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in +gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a +trailing comma if the filter was RunLength. +No differences expected </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[base/gdevpdfx.h]</p> </blockquote> -<p><strong><a name="2010-02-04T174757.663462Z"></a> -2010-02-04T17:47:57.663462Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-08-12T181430.164084Z"></a> +2010-08-12T18:14:30.164084Z Till Kamppeter</strong></p> <blockquote> <pre> -Changed MaxStripSize for TIFF devices to default to 8 KB. +pstoraster: Removed unneeded "-dDEBUG" from Ghostscript command line. +</pre> +<p>[cups/pstoraster.in]</p> +</blockquote> -This is necessary, because libtiff keeps a whole strip in memory at a time, -which resulted in very large buffers for big files. Support of MaxStripSize for -all TIFF devices which didn't have it before was also added. +<p><strong><a name="2010-08-12T181047.335830Z"></a> +2010-08-12T18:10:47.335830Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Do verbose degug logging only if compiled in debug mode. Bug 690581. </pre> -<p>[base/gdevtifs.c base/gdevtifs.h tiff/libtiff/tif_config.vc.h base/gdevtsep.c doc/Devices.htm base/gdevtfnx.c base/gdevtfax.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2010-02-04T033854.455593Z"></a> -2010-02-04T03:38:54.455593Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-12T063908.575092Z"></a> +2010-08-12T06:39:08.575092Z regression</strong></p> <blockquote> <pre> -Update change logs for the 8.71 release candidate. +Added support for regression testing of the cups device. </pre> -<p>[doc/Changes.htm doc/History8.htm doc/Details8.htm doc/Details.htm]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2010-02-03T224615.528358Z"></a> -2010-02-03T22:46:15.528358Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-12T025540.283339Z"></a> +2010-08-12T02:55:40.283339Z Michael Vrhel</strong></p> <blockquote> <pre> -Remove the list of open bugs. +Fix to handle case where the profiledir is NOT set AND there is a change in the process color model for the device AFTER a profile had already been set. </pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> -It's grown long enough to be unhelpful to track explicitly in each release. +<p><strong><a name="2010-08-12T014217.270497Z"></a> +2010-08-12T01:42:17.270497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement variable text rendering for widget annotations. +Bug 691536, customer 532. </pre> -<p>[doc/News.htm]</p> +<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-02-03T224250.644387Z"></a> -2010-02-03T22:42:50.644387Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-11T233148.385487Z"></a> +2010-08-11T23:31:48.385487Z Michael Vrhel</strong></p> <blockquote> <pre> -Update release date for the 8.71 release candidate. -</pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm man/dvipdf.1 base/gscdef.c man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Fonts.htm doc/Ps2ps2.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 doc/News.htm man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p> +Fix for indeterminism issue that was introduced with changes in 16bit image handling. Last subpixel element was not getting unpacked properly. </pre> +<p>[base/gxi16bit.c]</p> </blockquote> -<p><strong><a name="2010-02-03T223942.033100Z"></a> -2010-02-03T22:39:42.033100Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-11T230548.288399Z"></a> +2010-08-11T23:05:48.288399Z Michael Vrhel</strong></p> <blockquote> <pre> -Document the location of the new vcproj file, and exclude it from the -extraneous files test. -</pre> -<p>[doc/Develop.htm toolbin/tests/check_dirs.py]</p> +Another compiler complaint fix. Proper cast of device.</pre> +<p>[base/gdevpsdi.c]</p> </blockquote> -<p><strong><a name="2010-02-03T222934.129817Z"></a> -2010-02-03T22:29:34.129817Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-11T213103.877037Z"></a> +2010-08-11T21:31:03.877037Z Michael Vrhel</strong></p> <blockquote> <pre> -Bump the copyright date for the windows metadata. -</pre> -<p>[psi/dwsetup.rc psi/winint.mak]</p> +Fix for compiler error due to implicit declaration</pre> +<p>[base/gdevpsdi.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-08-11T185451.837319Z"></a> +2010-08-11T18:54:51.837319Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that if the device process color model changes the profile is updated accordingly.</pre> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2010-02-02T224855.363996Z"></a> -2010-02-02T22:48:55.363996Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-11T161745.421152Z"></a> +2010-08-11T16:17:45.421152Z Henry Stiles</strong></p> <blockquote> <pre> -Update our included copy of the libpng source to 1.2.42. +Fix bug # 691532. Do not attempt to clone an image that does not exist, each completed page should have an associated image. We'd like to handle this corrupt file with a better fix, for example the absence of an end page segement is clearly a problem with respect to the specification, but Adobe and Artifex have chosen to support other "off spec" streams so more subtle and less obvious error checking is needed. Thanks to Tim Waugh for analysis on this problem. </pre> -<p>[libpng]</p> +<p>[jbig2dec/jbig2_page.c]</p> </blockquote> -<p><strong><a name="2010-02-02T224555.167908Z"></a> -2010-02-02T22:45:55.167908Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-11T152222.427529Z"></a> +2010-08-11T15:22:22.427529Z Ken Sharp</strong></p> <blockquote> <pre> -Remove the in-tree copy of the libpng source to make way for a newer release. +Add some words about the ps2write device to the devices documentation. </pre> -<p>[libpng]</p> +<p>[doc/Devices.htm]</p> </blockquote> -<p><strong><a name="2010-02-02T193015.986507Z"></a> -2010-02-02T19:30:15.986507Z Ralph Giles</strong></p> +<p><strong><a name="2010-08-10T164420.491267Z"></a> +2010-08-10T16:44:20.491267Z regression</strong></p> <blockquote> <pre> -Update jbig2dec with the 0.11 release source. + +Several minor changes to the cluster regression system, the most +signifcant of which are: + +seg. faults are now reported for every case (previously they were only +reported if they were new) + +skip.lst files are now checked for errors + +changes to gs/psi now test the pcl/pxl/xps products since changes to +Ghostscript can affect the pdfwrite path + +the tests_private/pdf/PDF_1.7_FTS repository was added + + </pre> -<p>[jbig2dec/aclocal.m4 jbig2dec/jbig2_metadata.c jbig2dec/install-sh jbig2dec/jbig2.c jbig2dec/mkinstalldirs jbig2dec/jbig2_image.c jbig2dec/configure jbig2dec/Makefile.in jbig2dec/jbig2_text.c jbig2dec/jbig2_metadata.h jbig2dec/jbig2_priv.h jbig2dec/depcomp jbig2dec/compile jbig2dec/jbig2dec.c jbig2dec/config.guess jbig2dec/jbig2_refinement.c jbig2dec/ltmain.sh jbig2dec/config.sub jbig2dec/README jbig2dec/jbig2_halftone.c jbig2dec/config.h.in jbig2dec/jbig2_segment.c jbig2dec/configure.ac jbig2dec/jbig2dec.1 jbig2dec/CHANGES jbig2dec/COPYING jbig2dec/Makefile.am jbig2dec/missing jbig2dec/jbig2_page.c]</p> +<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2010-02-02T181437.922390Z"></a> -2010-02-02T18:14:37.922390Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-08-10T162019.775613Z"></a> +2010-08-10T16:20:19.775613Z Michael Vrhel</strong></p> <blockquote> <pre> -Set rc.exe location according to MSSDK variable - fix build problem with windows 7 SDK - bug 691062.</pre> -<p>[psi/msvc32.mak]</p> +Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf. </pre> +<p>[base/gxi12bit.c base/gsdevice.c base/gdevpdfk.c base/gxpcmap.c base/gxdevice.h /trunk/ghostpdl/xps/xpsgradient.c base/gdevprn.c base/gdevpsdi.c base/gscsepr.c base/gscpixel.c base/gxcmap.c base/gdevbit.c base/gxclip.c base/gxicolor.c base/gximag3x.c base/gscspace.c base/gsicc.c base/gscdevn.c base/gscolor2.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcspace.h base/gscicach.c base/gdevnfwd.c base/gxdevcli.h base/gdevp14.c psi/zdevice.c base/gsicc_create.c base/gsicc_cache.c base/gdevp14.h base/gsicc_cache.h base/gxccman.c base/gscms.h base/gxclist.h psi/zusparam.c base/gxshade.c base/gxblend.c base/gsequivc.c base/gsciemap.c]</p> </blockquote> -<p><strong><a name="2010-02-02T072357.821537Z"></a> -2010-02-02T07:23:57.821537Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-10T091550.312005Z"></a> +2010-08-10T09:15:50.312005Z Ken Sharp</strong></p> <blockquote> <pre> -Re-implement optional content support to avoid dependence on proper nesting -of optional content and q..Q blocks. Check for the visibility flag and skip -most graphic operations when needed. Skip test rendering operations by -installing nullpage device to minimize changes in a rather complicated code. -Bug 691076, customers 531, 850. +Enhancement : pdfwrite + +performance enhancement for pdfwrite when handling files with large amounts of text. + +Bug #689859 "Performance comparison versions 7.07 and 8.62 on HP-UX ia64" Alex's +analysis shows that pdfwrite was spending a lot of time trying to to see if two type 1 +fonts were the same before deciding whether a glyph could be added to a font, or was +already present in a font copy. + +Most of the time was spent extracting and comparing /Subrs. The new code creates a hash +(MD5) of both the local and global Subrs (if present) and stores that in the type 1 +'data' field in the font (16 bytes). The hashes are created by pdfwrite only as they +are required, so there is no performance penalty for rendering. The hash comparison is +considerably quicker than the long winded Subrs comparison. + +For many files the performance difference is minimal but for file containing lots of +pages, mostly composed of text, there is a considerable saving. The text files run in +about 60% of the time they did before this change. + </pre> -<p>[Resource/Init/pdf_ops.ps Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +<p>[base/gxfont1.h base/gxfcopy.c psi/zfont1.c]</p> </blockquote> -<p><strong><a name="2010-02-01T194149.001947Z"></a> -2010-02-01T19:41:49.001947Z Ray Johnston</strong></p> +<p><strong><a name="2010-08-10T081335.250205Z"></a> +2010-08-10T08:13:35.250205Z Chris Liddell</strong></p> <blockquote> <pre> -Fix Windows UninstallString registry entry to use " " around the path and -uninistgs.exe so that (the usual) spaces in the path don't cause problems. -Thanks to Stefan Kanthak for pointing this out. +A small revision to the fix for Bug 691326: the glyphs array must have +at least one entry. + +No cluster differences expected. + +Bug 691343 </pre> -<p>[psi/dwinst.cpp]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2010-02-01T000204.763835Z"></a> -2010-02-01T00:02:04.763835Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-09T004131.173587Z"></a> +2010-08-09T00:41:31.173587Z Ray Johnston</strong></p> <blockquote> <pre> -Patch font resource category for CET testing to always return the font -memory usage as unknown (-1) to avoid differences between hosts. -Bug 691057. +Free the pattern-clist devices that are created (and left for the GC to +free) when pattern-clist patterns are used with a device that is using the +clist for the page. Those that were allocated during the print_page clist +playback would be those that leaked. Since the devices were closed, this +could lead to GC referencing objects that were invalid. Related to, but +not the final fix to Bug 691527. </pre> -<p>[Resource/Init/gs_cet.ps]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2010-01-31T203013.616671Z"></a> -2010-01-31T20:30:13.616671Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-09T000727.505245Z"></a> +2010-08-09T00:07:27.505245Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use the sum of local and global VM usage for the value reported by -"/Font resourcestatus". This gives better estimation of memory consumption -and makes the result independent of the global state when the font was -loaded. With this patch CET case 23-33.PS shows different values for -"/Font resourcestatus". +Remove spurious "cvx" operators after .pushextendedgstate and +.popextendedgstate . Do .popextendedgstate after checking that "Q" +has a correspondingh "q". Bug 691538. </pre> -<p>[Resource/Init/gs_res.ps]</p> +<p>[Resource/Init/pdf_ops.ps]</p> </blockquote> -<p><strong><a name="2010-01-31T004638.360004Z"></a> -2010-01-31T00:46:38.360004Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-07T155808.066501Z"></a> +2010-08-07T15:58:08.066501Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add a check whether the current layer is visible to Do operator. -This is a first step to replace implementation that relies on installation -of an non-rendering output device (nullpage) with an implementation -that uses direct checks. Bug 691059. +Implement rendering of Widget annotation border background specified by +/BC and /BG entries of the appearance characteristics dictionary /MK. +Bug 691524, customer 532. </pre> <p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-01-30T202519.240406Z"></a> -2010-01-30T20:25:19.240406Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T202111.891509Z"></a> +2010-08-06T20:21:11.891509Z Ray Johnston</strong></p> <blockquote> <pre> -Fix 'undefined' error in 29-07C.PS CET test file that was happening because -.selectmedia procedure in gs_setpd.ps was building an error information -dictionary ('<failed>' in its comment) with many keys those doesn't exist in -<request> dictionary, such as /LeadinEdge or /InsertSheet. This draws the -policy 0 procedure (line 544) to 'get' non-existant keys from <merged> -dictionary. Thanks to Masaki Ushizaka for the patch. Bug 691065. +Fix segfault seen with fts_17_1704.pdf when the clist playback of patterns +that had been stored as clists were attempted to be read from the clist +as bitmaps. This happened when -dMaxPatternBitmap=1000000 was used which +is smaller than the default, confusing a HACK that attempted to force +the use of the pattern-clist mode. Also remove some #if 0 idle code. </pre> -<p>[Resource/Init/gs_setpd.ps]</p> +<p>[base/gsptype1.c base/gxpcmap.c base/gxcolor2.h]</p> </blockquote> -<p><strong><a name="2010-01-30T065014.586165Z"></a> -2010-01-30T06:50:14.586165Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-08-06T172216.521958Z"></a> +2010-08-06T17:22:16.521958Z Chris Liddell</strong></p> <blockquote> <pre> -Preserve /F and /BS attributes of /Link annotation during PDF to PDF -conversion. Thanks to Ken for the patch. Bug 691092, customer 1. +I missed a couple of now unused variables in the previous commit. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2010-01-29T214045.586239Z"></a> -2010-01-29T21:40:45.586239Z regression</strong></p> +<p><strong><a name="2010-08-06T154921.355481Z"></a> +2010-08-06T15:49:21.355481Z Ray Johnston</strong></p> <blockquote> <pre> -Added highres option to clusterpush.pl (opposite of lowres). +Add documentation on -dMaxPatternBitmap=# parameter in the 'Improving +Performance' section of the Use.htm file. The actual parameter was +added in rev 11605. </pre> -<p>[toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2010-01-28T214337.243405Z"></a> -2010-01-28T21:43:37.243405Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-08-06T150300.994141Z"></a> +2010-08-06T15:03:00.994141Z Chris Liddell</strong></p> <blockquote> <pre> -Fixed typo in clusterpush.pl. +Prevent doing a gc "unmark" on memory already (potentially) +freed. + +Relates to Bug 691380. I could not reproduce the seg fault +as reported, but valgrind reported the write to freed memory +in the same place as the reported seg fault. + </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[psi/iname.c]</p> </blockquote> -<p><strong><a name="2010-01-28T193419.913293Z"></a> -2010-01-28T19:34:19.913293Z regression</strong></p> +<p><strong><a name="2010-08-06T111522.616992Z"></a> +2010-08-06T11:15:22.616992Z Ken Sharp</strong></p> <blockquote> <pre> -Added a new option to clusterpush.pl: lowres. This option can appear -anywhere on the comand line and signals the local cluster regression to -only run lowres (72 and 75 dpi) output, for example: +Fix pdfwrite +There is a hack in type 3 font creation in pdfwrite which increases the FontMatrix if +all the elements are very small, apparently Acrobat is unable to cope with very small +FontMatrix entries. - clusterpush.pl pcl lowres +However, if all the entries are 0, it ends up running round a loop multiplying by 10 +indefinitely. This change simply avoids the loop if all the matrix elements are 0. +Naturally this isn't a useful font, its a Quality Logic test file. -or +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> - clusterpush.pl lowres "gs pcl" henrys +<p><strong><a name="2010-08-06T111140.511965Z"></a> +2010-08-06T11:11:40.511965Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 11600 introduced a sever regression with text in XPS files. This revision +addresses that by only applying the fix to preserve glyph data when the text operation +is TEXT_FROM_SINGLE_GLYPH as this is the only case where the affected union is a glyph +not a pointer to a series of glyphs, and is therefore the only case which is affected. -Note that this will fail if we ever hire an engineer with the name lowres -or use that as an internal product name. Also, there currently aren't -any 75 dpi baseline md5sums for the pcl product, so until the next pcl -svn commit it doens't make sense to run with this option. +Expected Differences: All XPS files with text should again work correctly. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> -Also added partial support for generating bitmaps with changes and running them through bmpcmp. +<p><strong><a name="2010-08-06T082720.529691Z"></a> +2010-08-06T08:27:20.529691Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise some of the FAPI related information. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[doc/Use.htm doc/Make.htm doc/Develop.htm doc/Psfiles.htm]</p> </blockquote> -<p><strong><a name="2010-01-28T151836.842224Z"></a> -2010-01-28T15:18:36.842224Z Robin Watts</strong></p> +<p><strong><a name="2010-08-06T055342.503244Z"></a> +2010-08-06T05:53:42.503244Z Alex Cherepanov</strong></p> <blockquote> <pre> -Squash a warning about %d and size_t spotted by Marcos. Thanks. +Implement rendering of standard Stamp and Text annotations. Ghostscript uses +different font than Acrobat in Stamp icons and uses the same icon for the Text +annotation regardless of the /Name attribute. Bug 691525, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> +<p><strong><a name="2010-08-06T042459.663647Z"></a> +2010-08-06T04:24:59.663647Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a new paramter MaxPatternBitmap with a default value of 8Mb. Formerly +the pattern_clist mode would be used when the bitmap size exceeded 1Mb +and prior to rev 11___ this calculation was flawed and could allow pattern +bitmaps as large as 64Mb to avoid the pattern_clist mode. While the clist +based pattern tiling is slow, setting the threshold to 8Mb should be rare +enough to minimize performance impact. Bug 691512. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gsdevice.c base/gdevp14.c base/gxdevcli.h base/gsdparam.c base/gxpcmap.c base/gxdevice.h base/gdevbit.c]</p> </blockquote> -<p><strong><a name="2010-01-28T151305.688649Z"></a> -2010-01-28T15:13:05.688649Z Robin Watts</strong></p> +<p><strong><a name="2010-08-05T232612.261846Z"></a> +2010-08-05T23:26:12.261846Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix free of incorrect pointer in bmpcmp. -Also tweak pnm reading so that no seeks are used, so we can use the +CUPS Raster output device: Segmentation fault on mid-job changes of the color depth. - bmpcmp < (zcat foo.pnm.gz) < (zcat bar.pnm.gz) ... +This patch prevents the crash by forcing a memory reallocation on +color depth changes. The approach principally works but we did not +decide yet whether it is the final solution, as Michael Vrhel is still +doing major changes in the color handling. Bug 690435. -trick if required (bmps still seek!). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> +<p><strong><a name="2010-08-05T191611.698734Z"></a> +2010-08-05T19:16:11.698734Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix comment about no support for BITS=4 </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[lib/viewrgb.ps]</p> </blockquote> -<p><strong><a name="2010-01-28T144422.110825Z"></a> -2010-01-28T14:44:22.110825Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-05T191400.403158Z"></a> +2010-08-05T19:14:00.403158Z Ray Johnston</strong></p> <blockquote> <pre> -Remove accidental stupid inclusion of a C++ style comment .... +Minor correction to usage string left over from when this was split out +from setupgs. </pre> -<p>[psi/zfapi.c]</p> +<p>[psi/mkfilelt.cpp]</p> </blockquote> -<p><strong><a name="2010-01-28T143252.354649Z"></a> -2010-01-28T14:32:52.354649Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-05T174036.908437Z"></a> +2010-08-05T17:40:36.908437Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (FAPI) +The "show" machinery expected that even non-marking text operations +(such as stringwidth) would result in a glyph bitmap which +could be cached (assuming the glyph would be a candidate for the +cache with a normal marking operation, like show). + +FAPI, however, did not create a glyph bitmap for non-marking +operations, thus the cache would receive a valid, but +"empty" glyph. This caused Postscript that used stringwidth +before a show to sometimes "lose" glyphs, by using the empty +cached glyph. + +FAPI's behaviour now matches the expectations of the show/cache +management code. + +Causes cluster differences in Bug688372.ps, fts_31_3111.pdf, and +14-08.PS, these are all progressions. + +Bug 691517 -Bit complex here. The FAPI code needs to tell the font rendering engine how much to -scale the font in order to get properly sized bitmaps. It does this by looking at the -FontMatrix, comparing it with the 'original' FontMatrix and determining the scale from -there. - -The problem is that the 'original' FontMatrix was being retrieved from a copy of the -font stored when it is defined, intended for use by pdfwrite. When we define a font we -check to see if it has an /OrigFont entry, and simply use the one which is present if -we do. - -This causes us problems if we make a new scaled font by taking an existing font and -changing its FontMatrix. We don't write the new FontMatrix into the OrigFont dict, and -so when we come to determine the font scale we divide the FontMatrix by the 'original' -stored matrix. This effectively results in any scale factor built into the FotnMatrix -being applied twice, once by FreeType because the FontMatrix isn't the default, and -once by the FAPI when it divides the FotnMatrix by the original. - -I didn't want to modify the OrigFont entry, as that would probably break pdfwrite, so -I've modified the FAPI code to take a copy of the FontMatrix at the time the font is -defined and store it in its own structure. We then use this to determine how much to -scale the font by dividing the current FontMatrix by the matrix at the time the font -was defined. - -This fixes my hand-crafter test file and improves the output of Bug687615.ps and -two_encodings.ps. The output is now the correct size, but the spacing is wrong in -bug687615.ps and many glyphs are missing from two_encodings.ps. </pre> -<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-27T190807.958712Z"></a> -2010-01-27T19:08:07.958712Z Robin Watts</strong></p> +<p><strong><a name="2010-08-05T154939.430735Z"></a> +2010-08-05T15:49:39.430735Z Ken Sharp</strong></p> <blockquote> <pre> -Updated version of bmpcmp.c to support maxdiffs parameter. Also, bitmaps -are output numbered 00000, 00001, etc rather than 0, 1, etc to tidy -directory listings. +Fix (pdfwrite) +A piece of data (pointer to glyph data) was stored and passed into a routine +'process_text_modify_width' which expected the glyph data to remain unchanged but +modified the text enumerator data. This doesn't work if the glyph data is a pointer +to the text enumerator data. NB the text enumerator is saved and restored around the +call. -Updated htmldiff.pl file to cope with the rejigged number formats. +Modified so that the calling routine makes a copy of the glyph data before calling +'process_text_modify_width'. +This should prevent 13-10.ps from entering an infinite loop. </pre> -<p>[toolbin/bmpcmp.c toolbin/htmldiff.pl]</p> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2010-01-27T145555.064385Z"></a> -2010-01-27T14:55:55.064385Z Robin Watts</strong></p> +<p><strong><a name="2010-08-04T231524.779084Z"></a> +2010-08-04T23:15:24.779084Z Robin Watts</strong></p> <blockquote> <pre> -Introduce new gs_currentdevicecolor function (and inline macro version) to -retrieve the current device color from the graphics state. Use this in the -2 places in pl that require it. This restricts all the knowledge of the -way colors are stored in the graphics state to being within the gs code. +Fix for Bug 691504 (gs taking a long time to render a file). + +Revision 8694 changes code from using a simple cast to an int to using +a call to (int)floor. This fixes problems, but costs a factor of 3 in +processing time for heavily tiled files. -This is done as a precursor to the work to support 2 color's in the graphics -state to enable a branch to be taken on gs only. +Here we change to using a macro version of floor instead. This removes +the function call and NaN handling overheads and returns us to the +same kind of performance as we had before. -Regression tests predict 128 changes, but local testing with htmldiff.pl shows -none. +We apply the same change throughout the file (i.e. all the calls to (int)floor, +not just the two changed in r8694. + +There is still scope for optimising this code further, but this closes the +regression. + +No differences seen in local cluster testing. </pre> -<p>[base/gscolor2.c base/gscolor2.h /trunk/ghostpdl/pl/plchar.c /trunk/ghostpdl/pl/pldraw.c base/gzstate.h]</p> +<p>[base/gxp1fill.c]</p> </blockquote> -<p><strong><a name="2010-01-26T011546.612807Z"></a> -2010-01-26T01:15:46.612807Z Michael Vrhel</strong></p> +<p><strong><a name="2010-08-04T225904.842835Z"></a> +2010-08-04T22:59:04.842835Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix for memory leak reported in bug 690754. The memory leak occurred when processing xps transparency files. The softmask group buffer was not being deallocated properly. We now properly deallocate an old soft mask buffer that will no longer be used when new one is coming in to replace it. There should not be any rendering differences with this commit.</pre> -<p>[base/gdevp14.c]</p> +Implement rendering of Underline and StrikeOut annotations without +appearance streams. Bug 691526, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2010-01-24T172738.965229Z"></a> -2010-01-24T17:27:38.965229Z Robin Watts</strong></p> +<p><strong><a name="2010-08-03T120247.197684Z"></a> +2010-08-03T12:02:47.197684Z Ken Sharp</strong></p> <blockquote> <pre> -Fix problems with htmldiff.pl introduced when introducing iframes mode. -(Javascript wasn't working, image source was incorrect). +Fix : FAPI (no bug number, discovered working on a different problem) + +Another place where the FAPI code assumes that a text enumerator is a show_enum and +casts it as such. While this is true for rendering, it is not the case when capturing +glyphs for pdfwrite. + +Altered the code to test if the enumerator is a show_enum and if not, to get the +graphics state from the enumerator 'pis' pointer instead if possible. Signal an error +if this is not possible. +No differences expected. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-24T162043.098277Z"></a> -2010-01-24T16:20:43.098277Z Robin Watts</strong></p> +<p><strong><a name="2010-08-03T080213.862491Z"></a> +2010-08-03T08:02:13.862491Z Ken Sharp</strong></p> <blockquote> <pre> -Correct some errors in htmldiff.pl. Firstly, perl doesn't have true/false, -so use 0/1. Secondly, move framenum increment out of if where I'd incorrectly -put it before, resulting in everything going into the same dir unless iframes -were used. +Enhancement : PDF interpreter. Bug #691503 -</pre> -<p>[toolbin/htmldiff.pl]</p> +When creating an outline (/OUT pdfmark), especially for the pdfwrite device, check the +destination page to see that it lies between FirstPage and LastPage; if it does not, then +don't emit it. This is an extension to the existing control which checked that the +destination page wasn't greater than the number of pages in the PDF file.</pre> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2010-01-23T174247.176361Z"></a> -2010-01-23T17:42:47.176361Z Robin Watts</strong></p> +<p><strong><a name="2010-08-03T075650.987568Z"></a> +2010-08-03T07:56:50.987568Z Ken Sharp</strong></p> <blockquote> <pre> -Updated htmldiff; neater output structure - each files diffs go into their -own subdirectory. Option to use iframes to avoid regenerating the html -twice. Config file include now uses ENV{"HOME"} rather than ~ to work on -Mac OS. - +In the section 'Using Unicode True Type fonts', replace the example CSI array with one +whose values are strings, not names. These must be string values. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> +<p><strong><a name="2010-08-02T213029.939498Z"></a> +2010-08-02T21:30:29.939498Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Partly revert rev. 11392 that over-simplified the check for a valid obj line +in the PDF file. Use --search-- to reject impossible cases but revert to the +old logic to verify the results. Bug 691502. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[Resource/Init/pdf_rbld.ps]</p> </blockquote> -<p><strong><a name="2010-01-22T174602.036283Z"></a> -2010-01-22T17:46:02.036283Z Till Kamppeter</strong></p> +<p><strong><a name="2010-08-02T164500.756282Z"></a> +2010-08-02T16:45:00.756282Z Alex Cherepanov</strong></p> <blockquote> <pre> -"cups" output device: Reallocate memory for raster data only if the size of the bitmap has changed, to avoid data getting messed up by unneeded reallocation. This should finally fix bug #691029. +Fix a compiler warning about a missing prototype for free() +caused by my previous commit. </pre> -<p>[cups/gdevcups.c]</p> +<p>[base/lib.mak base/gp_upapr.c]</p> </blockquote> -<p><strong><a name="2010-01-22T090128.663933Z"></a> -2010-01-22T09:01:28.663933Z Ken Sharp</strong></p> +<p><strong><a name="2010-08-02T134903.975996Z"></a> +2010-08-02T13:49:03.975996Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (pswrite) +Fix a memory leak. Free the paper name string allocated amd +returned by libpaper. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> -The pswrite device only partially implemented the 'file per page' output model. It -closed the output file and the bbox device, but did not open a new output file or -reopen the bbox device, leading to potential crashes later when the pswrite device -tried to access the bbox device. +<p><strong><a name="2010-08-02T092004.666066Z"></a> +2010-08-02T09:20:04.666066Z Ken Sharp</strong></p> +<blockquote> +<pre> +Missing ';' in r11586 replaced. Should build now.</pre> +<p>[base/gdevpdfx.h]</p> +</blockquote> -This patch reopens the bbox device, and opens a new output file, at the end of every -page when we are outputting one file per page. The problem is that this will emit an -empty EPS after the last page is completed. Fixing this would mean delaying opening the -output file until we had received a marking operation. That's more work than we want -to do on this device, so this is being left as an issue. +<p><strong><a name="2010-08-02T090647.523074Z"></a> +2010-08-02T09:06:47.523074Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a few minor compiler warnings from gcc. No differences expected. </pre> -<p>[base/gdevps.c]</p> +<p>[base/gdevpdfx.h base/gdevpdf.c]</p> </blockquote> -<p><strong><a name="2010-01-21T030421.383005Z"></a> -2010-01-21T03:04:21.383005Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-08-02T063925.229115Z"></a> +2010-08-02T06:39:25.229115Z Till Kamppeter</strong></p> <blockquote> <pre> -adding the tiff directory to the list of files to zip up during a windows build. Thanks Gennadiy Tsarenkov or the report and patch. Fixes bug 691069</pre> -<p>[psi/winint.mak]</p> +Applied patch to fix "imagen" output device (bug 690561). +</pre> +<p>[base/gdevimgn.c]</p> </blockquote> -<p><strong><a name="2010-01-20T190701.585691Z"></a> -2010-01-20T19:07:01.585691Z Till Kamppeter</strong></p> +<p><strong><a name="2010-08-01T085915.942136Z"></a> +2010-08-01T08:59:15.942136Z Chris Liddell</strong></p> <blockquote> <pre> -Fixed handling of back sides when duplex printing via the CUPS Raster output device. With PostScript as input format the y-axis of the back sides was often flipped (bug #691029). +Remove the now redundant --disable-cairo directives. + </pre> -<p>[cups/gdevcups.c]</p> +<p>[toolbin/localcluster/readme toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2010-01-20T181139.888031Z"></a> -2010-01-20T18:11:39.888031Z Michael Vrhel</strong></p> +<p><strong><a name="2010-07-31T160737.431496Z"></a> +2010-07-31T16:07:37.431496Z Chris Liddell</strong></p> <blockquote> <pre> -This commit is a fix for bug 691021 which had quantized (unsmooth) shading artifacts when transparency was present. +Remove the "dead" devcairo device. -The primary changes to the code are: +No cluster differences expected. -The adaptive (non-fixed) smoothness method is now used in the shading code when transparency is present. Previously there was a check put in place and if there was transparency a fixed amount of smoothing was enforced. +Bug 690009 -The color cache used in the shading code was updated to use the color information in the transparency device that is contained in the imager state. This object is initialized with either the target device when there is no transparency or with the PDF14 device when there is transparency. In this way, the proper color information is used by the cache. +</pre> +<p>[ghostscript.vcproj base/configure.ac base/gdevcairo.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-31T154539.194094Z"></a> +2010-07-31T15:45:39.194094Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reapply r11570 -The shading code makes use of the member variables comp_shift and comp_bits in the color_info member variable of the target device. This information is now properly updated in the PDF14 device as the transparency group color space changes. +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. -A clist change was also required for proper XPS rendering of gradients. When it has a gradient with a transparency component, the XPS code first creates a soft mask group and draws the alpha shading. It then creates a transparency group to draw the color components portion of the shading. When the transparency group is popped, is is composed using the soft mask buffer which is the XPS opacity shading. When we are going through the clist writer, the writer will end up drawing the shadings for both the opacity component and the color component with trapezoid fills. Later, during the clist reading and execution of the trapezoid filling, a clipping device is created. This device is created with the color info properties of the target device, which in our case is a PDF14 device. The clipping device is first created during the soft mask group. This group has color information associated with a grey device since it is just a single channel (the XPS alpha channel). Later, the same clipping device is used when we are doing the trapezoid filling during the transparency group fills. The problem is that the color information of the target device may have changed, for example if the transparency color group is RGB or CMYK. We need to test for that and update the color info for the clipping device. +Bug 691494 - credit to SaGS for the patch. -There are several regression test files that are affected by this commit. I looked at all of them. Changes appear to be progressions or visually unnoticeable. Files are +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> -Bug688807.pdf -Bug689918.pdf -Bug690115.pdf -Bug690206.pdf -Bug690535.pdf -Bug690709.pdf -CATX1101.pdf -CATX4135.pdf -CATX5233.pdf -CATX6508.pdf -CATX9004.pdf -IA3Z0302.pdf -IA3Z0303.pdf -as well as most of the fts_##xx.xps tests. +<p><strong><a name="2010-07-31T150424.124204Z"></a> +2010-07-31T15:04:24.124204Z Till Kamppeter</strong></p> +<blockquote> +<pre> +No need to install Resources and iccprofiles if COMPILE_INITS=1 +When COMPILE_INITS=1, the mentioned directories are not used and just waste +disk space and also confusing. Bug 689253. </pre> -<p>[base/gscicach.h base/gxshade6.c base/gdevp14.c base/gdevp14.h base/gxshade.c base/gscicach.c base/gxclrast.c base/gxshade.h]</p> +<p>[base/unixinst.mak]</p> </blockquote> -<p><strong><a name="2010-01-19T213816.998845Z"></a> -2010-01-19T21:38:16.998845Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-07-31T003707.940018Z"></a> +2010-07-31T00:37:07.940018Z Ray Johnston</strong></p> <blockquote> <pre> -adding comment about possible future rewrite with XGetPixel() ; no code change</pre> -<p>[base/gdevx.c]</p> +Fix the calculation of the size of the pattern bitmap by correcting the +calculation of the effective depth (bits per pixel). PaintType 2 is the +uncolored (mask == 1 bit per pixel) mode, PaintType 1 is colored, thus +needs the full target device color_info.depth bits per pixel. Bug 691514 +detected running the PDF 1.7 FTS for customer 532. +</pre> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2010-01-19T154857.559895Z"></a> -2010-01-19T15:48:57.559895Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T231352.534878Z"></a> +2010-07-30T23:13:52.534878Z Till Kamppeter</strong></p> <blockquote> <pre> -Attempt to fix bug 691030, regression with thin lines. This regression was -caused by revision 10391, where I pulled the rectangle special cases into -line with the more general case. Sadly, the more general case appears to be -wrong in the way it rounds lines lying on integer values. +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). -The fix is to correct the rounding in the general case, and to keep the -rectangle special cases in line with this. Unfortunately this produces -unacceptable results with the PCL interpreter. +This causes a warning when building with gcc, msvc, and also DEC CC. -We therefore commit a compromise solution, whereby we make the code do the -'correct' thing (or what we believe the correct thing is) for postscript, -and leave operation alone for the other languages. We spot this by examining -the fill_adjust values. This seems to works, with the minor problem that we -still see some changes in PCL due to it sometimes using non-zero fill_adjust -to thicken lines. A visual check shows the diffs to be reasonable. - -Expected Differences: MANY. But extensively checked with htmldiff and they -seem OK. +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> +<p><strong><a name="2010-07-30T213419.596701Z"></a> +2010-07-30T21:34:19.596701Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) </pre> -<p>[base/gxdevcli.h base/gdevtxtw.c base/gdevtrac.c base/gdevbbox.c base/gdevmem.c base/gdevnfwd.c base/gdevddrw.c base/gxstroke.c]</p> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> </blockquote> -<p><strong><a name="2010-01-19T111824.072283Z"></a> -2010-01-19T11:18:24.072283Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T203848.303275Z"></a> +2010-07-30T20:38:48.303275Z Till Kamppeter</strong></p> <blockquote> <pre> -Move ghostscript.vcproj from win32 to gs directory, and adjust solution file -accordingly. This serves 2 purposes; firstly, the solution now correctly -supports tag jumping (that is, the ability to click on a warning or error -and jump to that line in the file). The second is that the ghostscript -project now lives in the ghostscript directory, and hence may be usable by -people wanting to build *just* ghostscript, rather than ghostscript as a -component of GhostPDL. +configure script: Hide error message when "sed" does not have a "--version" option. +</pre> +<p>[base/configure.ac]</p> +</blockquote> -Update ReadMe.txt to reflect this change, and document a known problem. +<p><strong><a name="2010-07-30T200921.607711Z"></a> +2010-07-30T20:09:21.607711Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Tips about cross-compiling 64-bit ghostscript on 32-bit windows -No expected differences. +This procedure is slightly simplier(?) than the cross-compiling instruction +which Russell removed with r9807 about a year ago. Note that +ARCH_STRUCT_ALIGN_MOD mentioned in Russell's instruction was removed +r6773 (in 2006) and note also that all the "genconf" references in r9807 +should be "genarch" instead. </pre> -<p>[/trunk/ghostpdl/win32/ghostscript.vcproj /trunk/ghostpdl/win32/ReadMe.txt ghostscript.vcproj /trunk/ghostpdl/win32/GhostPDL.sln]</p> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2010-01-18T112829.454584Z"></a> -2010-01-18T11:28:29.454584Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T171523.787490Z"></a> +2010-07-30T17:15:23.787490Z Michael Vrhel</strong></p> <blockquote> <pre> -Addendum to revision 10615. Use the *y* scale factor for computing the vertical character -advance, not the x scale which the previous commit used. Also note that the text of the -previous log said: +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. + +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. -"as a parameter to zchar_set_cache to set the horizontal advance" -That should, of course, read vertical advance. </pre> -<p>[psi/zfapi.c]</p> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> </blockquote> -<p><strong><a name="2010-01-18T111655.954810Z"></a> -2010-01-18T11:16:55.954810Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T171346.325084Z"></a> +2010-07-30T17:13:46.325084Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI - FreeType). The current FAPI implementation for FreeType ignores any vertical -advance defined in a glyph. This causes type 1 glyphs defined with an sbw (not hsbw) -which have a vertical advance as well as, or instead of, a horizontal advance to not -advance the current point correctly. - -There is a separate issue with FreeType which does not return the correct vertical -advance which will be addressed in a separate patch. +Fix for double to float conversion warnings. Bug 691498. </pre> +<p>[base/gsicc_create.c]</p> +</blockquote> -This patch adds the vertical advance to the metrics structure and uses it as a -parameter to zchar_set_cache to set the horizontal advance in GS for the glyph. -</pre> -<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> +<p><strong><a name="2010-07-30T170659.251898Z"></a> +2010-07-30T17:06:59.251898Z Henry Stiles</strong></p> +<blockquote> +<pre> +rollback to revision 11564, 11565 broke the build</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c contrib/gdevbjc_.h base/gdevbbox.c base/gxpcolor.h Resource/Init/gs_res.ps Resource/Init/pdf_draw.ps base/gsovrc.h base/gdevpdtf.h base/gsicc_create.c autogen.sh Resource/Init/gs_lev2.ps base/strmio.h base/configure.ac base/gdevrinkj.c base/sjpx.c base/gdevbit.c base/gximage.h base/gdevdbit.c]</p> </blockquote> -<p><strong><a name="2010-01-18T084120.191771Z"></a> -2010-01-18T08:41:20.191771Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T142707.462183Z"></a> +2010-07-30T14:27:07.462183Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI). The code to 'serialise' a CFF font (that is to convert the internal GS -representation back to a stream resembling a disk font) was seriously broken when writing -a local Subrs DICT. +Fix for bug 691488. -The offset to the Subrs DICT is stored in the Private DICT as an offset from the -start of the Private DICT. This means it depends on the length of the Private DICT, -but the Private DICT includes that offset, so the length of the Private DICT is -dependent on the size of the offset (CFF integers use between 1 & 5 bytes depending -on their value). +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. -The normal method for dealing with this is a process of refinement; assume that a 1 byte -representation will suffice, calculate the size of the DICT, see if that size can be -represented in 1 byte. If not assume a 2 byte representation, recalculate the size -of the DICT, see if it can be represented in 2 bytes and so on. +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. -It looks like the code was intended to do this, but it was in fact seriously broken -and ended up incrementing an integer for size of DICT until it became negative, and -then stored a negative (and incorrect) offset to the Subrs. -Replaced the code with a simple for loop surrounding a switch. </pre> -<p>[psi/write_t2.c]</p> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> </blockquote> -<p><strong><a name="2010-01-14T163845.881264Z"></a> -2010-01-14T16:38:45.881264Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T140814.058178Z"></a> +2010-07-30T14:08:14.058178Z Chris Liddell</strong></p> <blockquote> <pre> -Fix the syntax error accidentally committed in revision 10608 which prevented -Ghostscript from building. +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + </pre> -<p>[base/gdevpdtw.c]</p> +<p>[base/gdevdbit.c]</p> </blockquote> -<p><strong><a name="2010-01-14T162503.707208Z"></a> -2010-01-14T16:25:03.707208Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T135952.334818Z"></a> +2010-07-30T13:59:52.334818Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (pdfwrite) Bug #691058 "Incorrect embedding of CIDToGIDMap for CIDFontType 2". +Fix for double to float conversion warnings. Bug 691498</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> -Previously we would embed a CIDToGIDMap for a CIDFontType 2 font (TrueType outlines) if -the font had a non-identity CIDToGIDMap, or if we were producing PDF/A output. +<p><strong><a name="2010-07-30T113715.489627Z"></a> +2010-07-30T11:37:15.489627Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). -However the spec (PDF 1.7, Section 5.6, "Glyph Selection in CIDFonts') says that we -should *always* embed a CIDToGIDMap if the font is embedded, and never if the font is -not. +This causes a warning when building with gcc, msvc, and also DEC CC. -This patch modified the CIDToGIDMap production so that we ignore the production of PDF/A -files, and instead check whether the font is being embedded. If it is being embedded -then we create a CIDToGIDMap, if it is not, then we don't. </pre> -<p>[base/gdevpdtw.c]</p> +<p>[base/gdevbbox.c]</p> </blockquote> -<p><strong><a name="2010-01-14T022419.739891Z"></a> -2010-01-14T02:24:19.739891Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-07-30T112007.130600Z"></a> +2010-07-30T11:20:07.130600Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix two warnings introduced in rev. 10603. Signed/unsigned incompatibility. +Suppressed error message during ./configure if "sed" does not support "--version" (bug 691463) </pre> -<p>[base/gschar0.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-01-13T210409.482842Z"></a> -2010-01-13T21:04:09.482842Z regression</strong></p> +<p><strong><a name="2010-07-30T111617.321612Z"></a> +2010-07-30T11:16:17.321612Z Till Kamppeter</strong></p> <blockquote> <pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> -General cleanup and minor improvements of the local cluster code: - changed timeout values - keep logs of machine status messages - change previous md5sum cache size - better differentiate pdfwrite vs bitmap output errors +<p><strong><a name="2010-07-30T111247.691429Z"></a> +2010-07-30T11:12:47.691429Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded quotes in autogen.sh. +</pre> +<p>[autogen.sh]</p> +</blockquote> +<p><strong><a name="2010-07-30T111035.977735Z"></a> +2010-07-30T11:10:35.977735Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 stdint.h does not exist but the types required by jbig2 are in inttypes.h there (bug 691463). </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-01-12T214228.034208Z"></a> -2010-01-12T21:42:28.034208Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T110327.732163Z"></a> +2010-07-30T11:03:27.732163Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix overallocation in bmpcmp.c that was causing out of memory errors. - +On Tru64 the integer types are in inttypes.h and not in stdint.h as in VMS + +Bug 691463, required for jbig2dec. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/stdint_.h jbig2dec/os_types.h]</p> </blockquote> -<p><strong><a name="2010-01-12T202232.464302Z"></a> -2010-01-12T20:22:32.464302Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T110025.895059Z"></a> +2010-07-30T11:00:25.895059Z Till Kamppeter</strong></p> <blockquote> <pre> -Updated bmpcmp.c and htmldiff.pl. bmpcmp.c now outputs metadata about each set -of difference bitmaps (which page, bbox etc). htmldiff.pl now reads that -metadata and outputs that into the file. Some javascript hackery is used to -display the device coords of the point under the mouse pointer. - -Finally, if the $parallel option is set, htmldiff will fork jobs in parallel -to try to make better use of multicore machines. +Replace "==" bashism by "=" in configure.ac +"==" is a bash extension. See bash's manpage recommending "=" for posix +compliance (bug 691463). This causes various tests to fail and resulted +in the link failure from mis-detecting omni. </pre> -<p>[toolbin/bmpcmp.c toolbin/htmldiff.pl]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-01-12T094958.118243Z"></a> -2010-01-12T09:49:58.118243Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-07-30T105644.338677Z"></a> +2010-07-30T10:56:44.338677Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for bug #690834 & #687832 +'%' in printf() needs to be '%%' -Bug #690834: text garbled in PS viewer; PDF works - - Fixed to concatenate CIDFont FDArray font's FontMatrix when running under 'cshow' or 'glyphshow'. - - Fixed to use correct FDArray font when concatenate its FontMatrix. - - Changed the meaning of 'fstack.items[n].index' to keep track of FDArray font and FontMatrix. - - Reverted the rev. 5613 which was a fix for bug #687832. -Bug #687832: (PDF interpreter) : CID Font in PDF - - Fixed the interpretaion of W/W2/DW/DW2 value from glyph space (wrong) to 1000th of text space (correct). - -Applying this patch makes some one dot differences on text in 19 files of LocalCluster test. (List is in Bugzilla #687832 comment #9).</pre> -<p>[base/gxchar.c Resource/Init/pdf_font.ps base/gdevpdtc.c base/gschar0.c base/gxtext.h]</p> +Tru64 C issues a warning (bug 691463). +</pre> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2010-01-11T120826.301794Z"></a> -2010-01-11T12:08:26.301794Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T105330.576036Z"></a> +2010-07-30T10:53:30.576036Z Till Kamppeter</strong></p> <blockquote> <pre> -Bug #691044 "" +Removed duplicate AC_PATH_PROG(pkg-config) check in ./configure. + +The extra check caused -Another problem caused by a corrupt compressed data stream, resulting in garbage data -being sent to the TrueType interpreter. +./configure: !: not found -Caused when the TT interpreter is given an argument of 0 to the MINDEX operator. Rather -than flag this as an error I've chosen to simply return. This is because it seems that -a value of 0 is actually legal (stupid, but legal), and simply leaves the stack -unchanged. +messages on some platforms. Bug 691463. </pre> -<p>[base/ttinterp.c]</p> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2010-01-10T155148.168326Z"></a> -2010-01-10T15:51:48.168326Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-30T101447.310782Z"></a> +2010-07-30T10:14:47.310782Z Till Kamppeter</strong></p> <blockquote> <pre> -Don't use operator 'execute' because it resets the /command attribute -in $error dictionary. Use '.execute pop' instead. Keep 'execute' as an -operator for backward compatibility. Thanks to dakka.akka@gmail.com -for analysis of the bug. Bug 691050. +Update documentation as --enable-dynamics is no longer required for "make so" to work. </pre> -<p>[toolbin/smoke.ps Resource/Init/gs_init.ps]</p> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2010-01-09T235933.690907Z"></a> -2010-01-09T23:59:33.690907Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T101041.906626Z"></a> +2010-07-30T10:10:41.906626Z Till Kamppeter</strong></p> <blockquote> <pre> -Updated version of bmpcmp. Now loads bmp, pgm, pbm, ppm files. Diffs are -always written as bmps though. - -No expected differences. +Added some missing initializations in DeviceN +This should have been part of the DeviceN change. If left unset, +the code path assumes color display and goes down the color display +path and eventually segfaults. Bug 690428. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gdevxcmp.c]</p> </blockquote> -<p><strong><a name="2010-01-09T160124.458674Z"></a> -2010-01-09T16:01:24.458674Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-30T095623.737093Z"></a> +2010-07-30T09:56:23.737093Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix a Coverity warning. We were potentially passing a NULL pointer to a routine which -would unconditionally dereference it. Fixed by taking no action if the pointer is NULL. +Fix time-struct related build failure with SunStudio (bug 691453). + +Apparently many platforms and compilers, including gcc and intel C, +require both <sys/time.h> and <time.h>. This patch just adds Sun Pro C +to the list of such platforms and compilers. + </pre> -<p>[base/gsgdata.c]</p> +<p>[base/time_.h]</p> </blockquote> -<p><strong><a name="2010-01-08T011724.694675Z"></a> -2010-01-08T01:17:24.694675Z Ray Johnston</strong></p> +<p><strong><a name="2010-07-30T094551.500432Z"></a> +2010-07-30T09:45:51.500432Z Till Kamppeter</strong></p> <blockquote> <pre> -Add documentation on the limitations of -sstdout=_____ where users expected -_all_ stdout I/O to be redirected, not just PS writing to stdout. Bug 691037. +Avoid that the x11 output device can create huge windows which crash the X server. Bug 690444. </pre> -<p>[doc/Use.htm]</p> +<p>[base/gdevxini.c]</p> </blockquote> -<p><strong><a name="2010-01-07T105336.539549Z"></a> -2010-01-07T10:53:36.539549Z Robin Watts</strong></p> +<p><strong><a name="2010-07-30T085817.493418Z"></a> +2010-07-30T08:58:17.493418Z Till Kamppeter</strong></p> <blockquote> <pre> -Changes to the MSVC makefiles to prepare for the prototype vs2005 solution -file. Firstly, we introduce an SBR symbol; if this is set when invoking the -makefile, we add a new flag to the C compiler (held in SBRFLAGS) to cause -the generation of the browse data for each source file. Next, we introduce a -new bsc build target to combine those .sbr files into appropriate .bsc ones. -The final change is enable debug builds to put their builds into debugobj -rather than obj directories. +Assorted fixes for the modularized X11 output device + +All object files destined for shared libraries needed to be compiled +with -fPIC but this is not the case for gsparamx.c, gdevemap.c, and +gdevxcmp.c which are required by other parts to be built as standard. + +This change makes x11 not depend on gsparamx.c and gdevemap.c (and not +geeting them included in the shared library X11.so). gsparamx.c is +part of psdf and is usually included and available, and gdevemap.c is +small enough to be inserted completely where it is used. + +gdevxcmp.c is addressed by building it with $(GLCCSHARED) and not with +$(GLCC). + +In addition, $(CC_SHARED) is only used for object files, rather than +for linking, so DYNAMIC_CFLAGS is more appropiate here than +DYNAMIC_LDLAGS. -With luck, this should cause no differences for anyone other than me. +Bug 691510 </pre> -<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/svg/svg_msvc.mak base/msvccmd.mak /trunk/ghostpdl/xps/xps_msvc.mak psi/msvc32.mak base/msvclib.mak /trunk/ghostpdl/main/pcl6_msvc.mak]</p> +<p>[base/gdevxxf.c base/Makefile.in base/devs.mak]</p> </blockquote> -<p><strong><a name="2010-01-07T103153.862753Z"></a> -2010-01-07T10:31:53.862753Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-29T182806.621749Z"></a> +2010-07-29T18:28:06.621749Z Ray Johnston</strong></p> <blockquote> <pre> -Update the example file. The old file used a single 'charpath pathbbox' to determine the -height of the text. It then used the 'scale' operator to draw larger text. +Add a comment recommending -sstdout=%stderr with -sOutputFile=- to prevent +PostScript files that print from messing up the output. Bug 691507. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> -If the path was fixed to pixel boundaries, and the point size was low (default 15 -points) this could lead to a small error which was magnified by the cumulative scale -operations. +<p><strong><a name="2010-07-29T142919.627579Z"></a> +2010-07-29T14:29:19.627579Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable left over from removal of pattern_cache_alt. -This led to significant differences when using the FreeType font code, as it seems to -return a hinted path which is bounded by pixel co-ordinates, unlike the regular GS -code. +No expected changes. -The altered code scales the font and recalculates the height of the text each time -giving more accurate results. In addition a minimum size has been introduced (50 points) -for the calculation of the text height. Together these result in much closer output. </pre> -<p>[examples/alphabet.ps]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2010-01-06T111901.103028Z"></a> -2010-01-06T11:19:01.103028Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-29T140539.594612Z"></a> +2010-07-29T14:05:39.594612Z Ken Sharp</strong></p> <blockquote> <pre> -Fix bug #691043 "Vulnerability report : Ghostscript gs_type2_interpret null ptr -dereference (Segmentation Fault)". The problem appears to be caused by a corrupt -compressed data stream which results in garbage font data being sent to the type 2 and -under some conditions the type 1, font interpreters. +Fix (pdfwrite) : try not to write out invalid xref + +Exposed by bug #691503. There are circumstances under which we create a reference to a +/Page object which does not yet exist (creating an outline tree for example). In this +case we create a reference to the page, and set its initial offset to the current +position in the PDF file. When we later write the real object we update the position +to reflect the point in the file where it is actually stored. -As noted these font interpreters are normally coded to be intolerant of faults, and -do not normally perform much error checking. As a result badly formed (or as in this -case, garbage) fonts can cause serious problems. +However, if we don't actually ever write the object (in the case above, because +LastPage is set before the destination page), then the object remains pointing to the +wrong location in the file. This is then written into the xref table, and this confuses +the current version of Ghostscript. -Although the null dereference is the cause of the error, this is actually caused by -interpreting the data as a font, and decrementing the font instruction pointer below -the bottom of the instruction stack. +The patch creates new pages with an offset of 0 (which is always invalid because the +PDF header means the minimum offset for any object is 15). If the page is later +created then the offset gets updated. If it is not written, however, we now check in +the xref writing code to see if an object has an offset of 0. If it does, then we +break the xref table up and do not write an xref entry for the missing object. -The patch here adopts the suggestion from the original bug reporter of checking the -pointer before the dereference, but in addition adds some checking when the -instruction pointer is decremented to see that it does not descend past the bottom of -the stack. This is because tests showed that it was possible to reach this point with -a non-NULL pointer, which was still invalid and caused a segmentation violation. +Ghostscript is happy with this and processes the file. -In addition the free_glyph routine has been modified to check the pgd (pointer to -glyph data) parameter is non-NULL, and that its 'procs' member is non-NULL, before -attempting to call the free procedure. This fault was exposed by selecting the pdfwrite -device. +NB the proper fix is to not emit the Outline entry for the page which will not be +present in the output, and a patch has been suggested to achieve this. This code has +some uses, however, as it may prevent this kind of problem in the future. It also +permits objects to be created and never referenced (presumably because they are never +used) without leaving invalid entries in the xref, which might be useful. -Although improved this is not a comprehensive fix, there are other locations where the -font instruction pointer may be incremented past the top, or decremented past the -bottom, of the instruction stack. However the FreeType font interpreter correctly -detects the problems without causing a crash, so I don't think we should expend too -much effort on rewriting our current font code to cope. +No expected differences. </pre> -<p>[base/gsgdata.c base/gstype1.c base/gstype2.c base/gxtype1.c]</p> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> </blockquote> -<p><strong><a name="2010-01-05T155758.786575Z"></a> -2010-01-05T15:57:58.786575Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-29T135953.090810Z"></a> +2010-07-29T13:59:53.090810Z Chris Liddell</strong></p> <blockquote> <pre> -Revert code introduced in revision 10578. This code is no longer required since the -test in the FreeType code, which this code evaded, is no longer present when built -using the incremental interface. +Two changes for two primarily pdfwrite problems with FAPI/FT. + +The first is to only replace whichever of BuildGlyph or BuildChar +procedures the original font actually contained, replacing both +regardless confused some of "decoding" code elsewhere in GS +(op_show_continue_dispatch()) and we ended up receiving a valid +glyph to render instead of notdef. In this case we ended up incorrectly +stroking a charpath (this was seen with Quark's Type 3 "special effects" +font). With rendering output this resulted in a boldening effect on the glyph, +in pdfwrite, the result was strange extra lines through the glyph. + +The second change is to due pdfwrite's use of a unit matrix for some of +its work. This resulted in small glyph metrics rounding to zero within +Freetype, and pdfwrite thinking a glyph had a width of zero. So make +the scale value at which we consider a glyph to be "small" an order of magnitude +larger, which gets compensated for in the calculation of Freetype's final +matrix. + +Unfortunately this does cause ~2600 differences in the cluster tests: some +are progressions, most are pixel differences due to rounding differences +because the scaling numbers have changed in Freetype. + +Fixes Bug 691383 </pre> -<p>[psi/fapi_ft.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-05T005207.186738Z"></a> -2010-01-05T00:52:07.186738Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-28T184446.282683Z"></a> +2010-07-28T18:44:46.282683Z Robin Watts</strong></p> <blockquote> <pre> -Remove duplicate call to errwrite() introduced by the rev. 10568. -Thanks to Henry for spotting this. +Fix bug #691493. Revert some of the work done for gs_2_colors. + +I had needlessly attempted to have 2 pattern_cache's, one for stroking +colors and one for non-stroking colors. Given that the pattern_cache is +indexed by color id number, this is not necessary as all the data can +live happily in just one instance. + +This removes the problem seen in the bug (where it was getting into an +infinite loop trying to populate the cache). + +Local cluster testing shows this produces 57 differences, all (I think) +non-determinisms. + + </pre> -<p>[base/gsmisc.c]</p> +<p>[base/gsstate.c base/gxistate.h base/gsistate.c]</p> </blockquote> -<p><strong><a name="2010-01-04T150922.066340Z"></a> -2010-01-04T15:09:22.066340Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-28T123751.588339Z"></a> +2010-07-28T12:37:51.588339Z Till Kamppeter</strong></p> <blockquote> <pre> -Add a comment to explain the arbitrary choice of value for num_glyphs in revision 10578. +CUPS Raster output device "cups": Improved support for rendering jobs with high memory demands. + +Let Ghostscript determine the memory buffer sizes automatically (as it +does with all the other output devices) if the environment variable +RIP_MAX_CACHE is not set, zero, or does not begin with a number (like +"auto"). If RIP_MAX_CACHE defines a valid value, use the actual value +for BufferSpace and not 1/10 of it. MaxBitmap is the maximum buffer +size to be used when rendering in full page mode, BufferSpace is the +buffer size used in banding mode. Banding mode is used if MaxBitmap is +too small to hold one page. Bug 691499. + </pre> -<p>[psi/fapi_ft.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2010-01-04T092721.029560Z"></a> -2010-01-04T09:27:21.029560Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-28T092249.016213Z"></a> +2010-07-28T09:22:49.016213Z Robin Watts</strong></p> <blockquote> <pre> -FreeType interface fix. When using the incremental interface to FreeType (which in fact -we always use), Ghostscript is responsible for locating and passing the glyph -description data to FreeType, and so we don't bother to track certain kinds of data -in the FreeType structure. +Add new gp_thread_start, gp_thread_finish abstraction, and deprecate old +gs_create_thread function. Adapt multiple rendering thread code to use +this new style instead. Hopefully this should solve the problems seen +in rare cases when a test thread doesn't get scheduled until after the +DLL has exited and the code isn't around any more. + +No expected differences. + +This code has been tested with MSVC and on linux with pthreads. While it +should work with Borland and Watcom (as all the headers appear consistent) +I have not been able to properly test it. Therefore the code is currently +configured to fall back to the old code, thus hopefully guaranteeing that +this commit won't make the operation under Borland/Watcom any worse than +it is now. This fallback is controlled by a single define for each of +these systems in gp_wsync.c, so it's easy to test. If users can report +success with the new code we can remove the fallback trivially. -However, even when using the incremental interface, FT still tests some of this data, in -particular it tests the requested glyph index against the reported number of glyphs -in the font, and aborts if the index is too large. -This patch simply sets the num_glyphs member of the FT_face structure to a large number -(65534) so that the internal FreeType test is successful, and we don't have to bother -with the record-keeping that would be required to keep this member updated when fonts -change. </pre> -<p>[psi/fapi_ft.c]</p> +<p>[base/gp_wsync.c base/gxclthrd.c base/gp_nsync.c base/gp_psync.c base/gxclthrd.h base/gpsync.h]</p> </blockquote> -<p><strong><a name="2010-01-03T010712.832443Z"></a> -2010-01-03T01:07:12.832443Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-28T073652.403693Z"></a> +2010-07-28T07:36:52.403693Z Ken Sharp</strong></p> <blockquote> <pre> -Fix error recovery code that messed up operand stack trying to break out -of post table processing when the offset to the glyph name is beyond the -table length. Bug 690837. +As pointed out by SaGS in Bug #691440, comment 5(C) there was a typo in revision 11498, +a '>>' was accidentally dropped form the batch file. </pre> -<p>[Resource/Init/gs_ttf.ps]</p> +<p>[lib/ps2pdf.bat]</p> </blockquote> -<p><strong><a name="2010-01-02T184840.508429Z"></a> -2010-01-02T18:48:40.508429Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-27T071003.221027Z"></a> +2010-07-27T07:10:03.221027Z Chris Liddell</strong></p> <blockquote> <pre> -Remove description of -dIgnoreTTEncoding flag from the documentation. +Add missing free of the new bitmap data. </pre> -<p>[doc/Use.htm]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2010-01-02T184515.635704Z"></a> -2010-01-02T18:45:15.635704Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-27T070247.392994Z"></a> +2010-07-27T07:02:47.392994Z Chris Liddell</strong></p> <blockquote> <pre> -Implement symbolic glyph mapping as described in PDF 1.7. Use it for TrueType -fonts with symbolic flag set or having no encoding entry. -The flag -dIgnoreTTEncoding is removed because symbolic fonts always do this -now and non-symbolic fonts should never ignore encoding. -Bug 691035, customer 220. +Slightly revise comment for why we might need to create a new bitmap +in fapi_finish_render_aux() -The new spec includes cmap 3,0 in the supported list. We discovered this -before but didn't use cmap 3,0 as a first choice. PDF 1.7 is not clear about -the choice between symbolic and non-symbolic branches. Current algorithm -is based on a few experiments with AR 8. +No cluster differences expected. -The patch causes rendering differences in comparefiles/keyboard.pdf -A few undefined characters change from boxes to empty space. -Current rendering of undefined characters in Ghostscript doesn't match -Adobe Acrobat and should be revised. </pre> -<p>[Resource/Init/pdf_font.ps Resource/Init/gs_ttf.ps]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-30T173030.315764Z"></a> -2009-12-30T17:30:30.315764Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-26T084833.786696Z"></a> +2010-07-26T08:48:33.786696Z Chris Liddell</strong></p> <blockquote> <pre> -Remove C++ comments (//) and commented out code because this is not compatible -with old compilers and breaks our coding standard. Comments were introduced -by rev. 9664 and 9778. Bug 691032. +A much better solution for Bug 691328. + +The bitmap data coming from a font scaler/renderer may not have its raster +alignment as Ghostscript expects, so in the event that is the case, create +a bitmap which is GS compatible in the FAPI layer, before calling any +further operations on it. + +This reverts the previous "hack" from r11362. + +No cluster differences expected. + </pre> -<p>[contrib/gdevcd8.c psi/iscannum.c]</p> +<p>[base/gsbitops.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-30T150640.609490Z"></a> -2009-12-30T15:06:40.609490Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-24T225746.607791Z"></a> +2010-07-24T22:57:46.607791Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add a check whether the entry in post table of TrueType font crosses -the end of the table. Fill the rest of the table with /.notdef and -continue. Bug 691031. +Render 3D annotations (using appearance stream) on the printer device even +if Print flag (0x4) is not set. This is done following AR8 and AR9 example +but contrary to PDF 1.7 spec. Bug 691486, customer 532. </pre> -<p>[Resource/Init/gs_ttf.ps]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-12-29T221801.420560Z"></a> -2009-12-29T22:18:01.420560Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T200128.232264Z"></a> +2010-07-23T20:01:28.232264Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use safer function vsnprintf() instead of vsprintf() for error reporting. -Truncate long messages, issue a warning, and continue. Bug 690829. +Make *clean targets remove generated tif*.h files. Bug 691485. </pre> -<p>[base/lib.mak base/gsmisc.c base/stdio_.h]</p> +<p>[base/gs.mak]</p> </blockquote> -<p><strong><a name="2009-12-29T011748.171480Z"></a> -2009-12-29T01:17:48.171480Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T190145.196186Z"></a> +2010-07-23T19:01:45.196186Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove stage 2 from seticcspace() and a corresponding PS procedure because -it's no longer needed. Since rev. 10563 the string data source is converted -to reusable stream without a call-out. Bug 690828. +Remove .dividesfnts procedure, which is not needed by PS interpreter after +the introduction and use of string_array_access_proc() way back in +revision 176. FreeType doesn't require a particular way to split sfnts +either. ps2write includes procedures to create a well formed Type 42 from +a TrueType font. + +The error is caused by .dividesfnts only spliting strings when the split +offset is even. The sample file has a *long* run of cases where the split +offsets are odd. When an even offset is finally found, the number of buffered +bytes exceeds the maximum length of the string causing /rangecheck error. +Thanks to Chris Liddell for the analysis of the problem. +Bug 691473, customer 532. </pre> -<p>[psi/zcolor.c Resource/Init/gs_cspace.ps]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2009-12-28T070359.416178Z"></a> -2009-12-28T07:03:59.416178Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T092028.484085Z"></a> +2010-07-23T09:20:28.484085Z Chris Liddell</strong></p> <blockquote> <pre> -Don't use long and buggy call-out process to convert a string to a -reusable stream. Do it in 3 lines of C code. Bug 690828. +Commit the correct change for Bug 691427 + + -DETAILS: -The patch fixes string data source handling but leaves most of call-out -machinery in place. Clean-up will be done as anoter commit to separate -material and cosmetic changes. </pre> -<p>[psi/zcolor.c psi/zfrsd.c psi/zfrsd.h psi/int.mak]</p> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-12-27T155842.012990Z"></a> -2009-12-27T15:58:42.012990Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T082243.299979Z"></a> +2010-07-23T08:22:43.299979Z Chris Liddell</strong></p> <blockquote> <pre> -Assume /FirstChar is 0 and /LastChar is 255 when they are not defined, and -issue a warning. Bug 691022. +Change the gsicc* targets from using GCFLAGS to CFLAGS. This ensure that the +options for building .so objects are correct. + +Additionally, add the extra dependencies to the sodebug target so it works +correctly. + +No cluster differences expected. + +Bug 691427 + </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[base/lib.mak base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2009-12-27T153532.126971Z"></a> -2009-12-27T15:35:32.126971Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-23T025737.996803Z"></a> +2010-07-23T02:57:37.996803Z Alex Cherepanov</strong></p> <blockquote> <pre> -Consider fonts without font stream and with wrong or missing /Subtype -attribute as Type 1 fonts. Bug 691023. +Handle the case when, contrary to the spec, default viewing optional content +configuration dictionary has /BaseState attribute equal /OFF. Mark all OCGs +/OFF and unmark ON UCGs. Bug 691491, customer 532. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2009-12-26T222145.513158Z"></a> -2009-12-26T22:21:45.513158Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-21T192614.458296Z"></a> +2010-07-21T19:26:14.458296Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a compile error on UN*X platforms introduced by the previous commit -(rev. 10558). -</pre> -<p>[base/gp_psync.c]</p> +Fix for bug 691478 + +Note that string objects that are maintained as user params must be either allocated in non-gc memory or be a constant in the executable. The problem stems from the way userparams are retained during garbage collection in a param_list (collected by currentuserparams). For some reason this param_list does not get the pointers to strings relocated during the GC. Note that the param_dict itself is correctly updated by reloc, it is just the pointers to the strings in the param_list that are not traced and updated. In this particular case, ICCProfilesDir sets a string in the icc_manager. When a reclaim occurs, the string is relocated (when in non-gc memory and when it is noted to the gc with the proper object descriptor). Then if a set_icc_directory occurs, the user params pointer has NOT been updated and validation problems will occur. Fix for this was to make the string not known to the GC and to allocate in non-gc memory. When icc manager is deallocated, the string is also deallocated.</pre> +<p>[base/gsicc_manage.c psi/zusparam.c]</p> </blockquote> -<p><strong><a name="2009-12-26T200544.539107Z"></a> -2009-12-26T20:05:44.539107Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-21T000316.900862Z"></a> +2010-07-21T00:03:16.900862Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning about checking after dereferencing. -In this case dereferencing means &((foo *)0)->bar, which is harmless. -</pre> -<p>[base/gp_psync.c]</p> +Fix so that non-isolated transparency groups are rendered correctly. This fixes a rendering issue with fts_25_2524 and with a few in the test suite. A future optimization will be to avoid the extra buffer push if the blend mode is normal, since in that case we can draw directly into the parent buffer.</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-12-26T183235.542626Z"></a> -2009-12-26T18:32:35.542626Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T094634.095118Z"></a> +2010-07-20T09:46:34.095118Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Move checking gstate for 0 immediately after allocation. Fix a Coverity -warning about checking after dereferencing. +Add support for user defined huffman table. + +This code adds support for segment type 53 segments, which supplies +inline huffman code table. Bug 689853. + +Many thanks to Justin Greer. + + </pre> -<p>[base/gsstate.c]</p> +<p>[jbig2dec/jbig2_segment.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_huffman.h]</p> </blockquote> -<p><strong><a name="2009-12-26T182204.265168Z"></a> -2009-12-26T18:22:04.265168Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T082305.218485Z"></a> +2010-07-20T08:23:05.218485Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Don't dereference a pointer before checking it for NULL. Fix a Coverity -warning about checking after dereferencing. +Catching up to the latest jbig2dec source. + +This includes following jbig2dec git commits: + +commit d26c7e4f39f76fe70cc61d6dc14d05a042a9be48 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Tue Jul 20 08:01:29 2010 +0000 + + Fix jbig2_image_set_pixel function prototype + + The declaration of jbig2_image_set_pixel was differenct between + jbig2_image.h and jbig2_image.c (int value vs bool value). And + prevented compiling it by MSVC comiler in C++ mode. + This patch fixes it. Bug #691461. + +commit c5d61c78c0de785b74b86d4e5298e3cc7b9e2b68 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Fri Jul 16 09:13:41 2010 +0000 + + A little fix to allocating memory size + +commit e12fa07da845515911db8be2f7cfa8ef551061ba +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:49:09 2010 +0200 + + Use the jbig2_new and jbig2_renew macros instead of calling + jbig2_alloc and jbig2_realloc directly. Also adds a few typecasts + and #defines required to compile the source as C++. + +commit 31dd7ef66dbd1c34df08365aa3c36e6391617f37 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:42:38 2010 +0200 + + Update VERSION define in config_win32.h + +commit 941b73315a166fe07e0f1a1b81171477285280f7 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:41:46 2010 +0200 + + Add Makefile.unix -- a simple makefile for unix-like systems. + +commit f6066822041bbffd7169fd4bfc19c48daae8f155 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:35:58 2010 +0200 + + Fix memory leak of the word stream struct. + + +No visible difference expected. + + + + </pre> -<p>[base/gxdhtserial.c]</p> +<p>[jbig2dec/config_win32.h jbig2dec/jbig2.c jbig2dec/jbig2_image_pbm.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_priv.h jbig2dec/jbig2_image.h jbig2dec/jbig2_refinement.c jbig2dec/jbig2dec.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_halftone.c jbig2dec/Makefile.unix jbig2dec/jbig2_segment.c jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_generic.c jbig2dec/jbig2_page.c]</p> </blockquote> -<p><strong><a name="2009-12-26T013511.234623Z"></a> -2009-12-26T01:35:11.234623Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-20T055604.938511Z"></a> +2010-07-20T05:56:04.938511Z Michael Vrhel</strong></p> <blockquote> <pre> -Include stdlib.h for a prototype for abs(). -</pre> -<p>[base/gdevpdtt.c]</p> +Remove noisy warnings if embedded icc profile is not valid. In those cases, we use the default and move on. </pre> +<p>[psi/zicc.c]</p> </blockquote> -<p><strong><a name="2009-12-26T011312.801372Z"></a> -2009-12-26T01:13:12.801372Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-19T212235.957060Z"></a> +2010-07-19T21:22:35.957060Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a case where a pointer is first dereferenced and then checked for 0. -</pre> -<p>[base/ttobjs.c]</p> +Fix for Bug691474. Source of error was due to icc hash code being read from clist after the transfer function. It should have been read prior to the transfer function. This was the first file we have seen that had a soft mask with a transfer function. Also fix for rendering of this file. The softmasks only uses the alpha channel as opposed to the luminosity of the object. Progression with CityMap-evnice.pdf in test suite. That file must have a alpha style softmask.</pre> +<p>[base/gdevp14.c base/gstparam.h]</p> </blockquote> -<p><strong><a name="2009-12-26T004830.642019Z"></a> -2009-12-26T00:48:30.642019Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-19T154536.535276Z"></a> +2010-07-19T15:45:36.535276Z Chris Liddell</strong></p> <blockquote> <pre> -Clear Coverity warnings about unreachable code. Fix incorrect error -processing in some contributed drivers. Also remove a spurious *.orig file. + +Update trunk to FreeType 2.4.1 + +The important change (from Ghostscript's point of view) is that the previously +patented TrueType hinting operations have been enabled by default after the +expiration of the patents in question. + +This change (the hinting being enabled) causes 3060 non-pdfwrite cluster +changes, and 655 pdfwrite changes - these are expected, and are +progressions. + </pre> -<p>[contrib/lips4/gdevl4v.c.orig contrib/lips4/gdevl4v.c contrib/eplaser/gdevescv.c contrib/lips4/gdevl4r.c]</p> +<p>[freetype/builds/unix/config.sub freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/builds/win32/w32-dev.mk freetype/src/type1/t1objs.h freetype/docs/reference/ft2-gasp_table.html freetype/src/pshinter freetype/docs/INSTALL.CROSS freetype/src freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/builds/win32/win32-def.mk freetype/src/type1 freetype/builds/wince/vc2005-ce freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/docs/reference/ft2-glyph_stroker.html freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/raster/ftrend1.h freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/builds/mac/ftmac.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/builds/amiga/include/freetype freetype/builds/mac/FreeType.m68k_cfm.make.txt freetype/src/psaux/psaux.c freetype/builds/ansi freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/docs/reference/ft2-list_processing.html freetype/include/freetype/ftcache.h freetype/src/pcf/pcfread.h freetype/builds/unix/ft2unix.h freetype/src/raster/Jamfile freetype/builds/atari/FREETYPE.PRJ freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/internal/services/svcid.h freetype/include/freetype/ftincrem.h freetype/src/lzw freetype/builds/compiler/bcc-dev.mk freetype/src/pshinter/pshalgo.h freetype/src/tools/test_afm.c freetype/src/psnames/psnamerr.h freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/vms_make.com freetype/include/freetype/freetype.h freetype/docs/INSTALL.UNIX freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfrload.c freetype/src/pfr/pfr.c freetype/builds/amiga/src freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/builds/detect.mk freetype/src/tools/ftrandom freetype/docs/reference/ft2-cache_subsystem.html freetype/builds/win32/vc2005 freetype/src/type1/t1gload.c freetype/builds/win32/vc2008 freetype/src/base/ftbbox.c freetype/builds/dos freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/docs/reference/ft2-glyph_variants.html freetype/src/bdf/bdferror.h freetype/builds/unix/aclocal.m4 freetype/src/gxvalid/rules.mk freetype/docs/reference/ft2-bdf_fonts.html freetype/src/pcf/pcf.c freetype/src/otvalid/rules.mk freetype/include/freetype/internal/services/svotval.h freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/builds/compiler/win-lcc.mk freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/builds/mac/FreeType.ppc_classic.make.txt freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/docs freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/.gitignore freetype/src/base/ftbase.h freetype/builds/compiler freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/builds/amiga/src/base/ftsystem.c freetype/src/bdf/bdf.h freetype/src/cff/cff.c freetype/src/gxvalid/gxvalid.c freetype/builds/win32/w32-lcc.mk freetype/include/freetype/internal/services freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/docs/reference/ft2-type1_tables.html freetype/src/autofit/afmodule.c freetype/builds/unix/detect.mk freetype/include freetype/src/autofit/afmodule.h freetype/builds/vms freetype/src/pfr/pfrcmap.c freetype/objs/README freetype/builds/dos/dos-wat.mk freetype/builds/exports.mk freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/builds/amiga/smakefile freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/builds/win32/vc2005/freetype.sln freetype/builds/mac freetype/builds/atari freetype/builds/compiler/visualage.mk freetype/builds/newline freetype/builds/vms/ftsystem.c freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/builds/mac/ascii2mpw.py freetype/builds/unix/.gitignore freetype/src/raster/module.mk freetype/src/type1/t1afm.c freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/builds/win32/ftdebug.c freetype/src/tools freetype/src/type1/t1afm.h freetype/src/type1/t1tokens.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/builds/dos/dos-emx.mk freetype/src/pshinter/pshrec.h freetype/src/autofit/autofit.c freetype/builds/win32/w32-wat.mk freetype/builds/wince/vc2008-ce freetype/src/truetype/ttobjs.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/otvalid/otvgsub.c freetype/src/truetype/ttobjs.h freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/builds/win32/visualc/freetype.sln freetype/include/freetype/ftglyph.h freetype/docs/reference/ft2-gx_validation.html freetype/builds/vms/ftconfig.h freetype/builds/win32/vc2005/index.html freetype/builds/unix/unixddef.mk freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/builds/dos/detect.mk freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/builds/wince freetype/src/autofit/aflatin2.h freetype/builds/win32/w32-mingw32.mk freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/builds/link_std.mk freetype/src/cache/ftcglyph.h freetype/src/pshinter/pshinter.c freetype/src/cache/Jamfile freetype/src/tools/test_bbox.c freetype/include/freetype/internal/services/svpsinfo.h freetype/src/type42/t42types.h freetype/builds/os2/os2-dev.mk freetype/builds/mac/ftlib.prj.xml freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/raster/rastpic.h freetype/src/tools/docmaker/docbeauty.py freetype/builds/amiga/include freetype/docs/reference/ft2-incremental.html freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/builds/compiler/watcom.mk freetype/builds/dos/dos-gcc.mk freetype/src/sfnt/module.mk freetype/src/psnames freetype/docs/INSTALL freetype/src/type1/t1load.c freetype/src/gzip/inftrees.c freetype/src/gzip freetype/builds/amiga/src/base/ftdebug.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/gxvalid/gxvfeat.c freetype/src/cff/cfftoken.h freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/builds/wince/vc2008-ce/freetype.sln freetype/src/pfr/pfrsbit.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvfeat.h freetype/builds/unix/configure freetype/docs/reference/ft2-basic_types.html freetype/src/otvalid freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/include/freetype/ftmm.h freetype/builds/symbian/freetype.mmp freetype/src/base/ftglyph.c freetype/src/sfnt freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/sfnt/sfdriver.c freetype/src/psaux/afmparse.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/sfnt/sfdriver.h freetype/src/psaux/afmparse.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/docs/reference/ft2-sfnt_names.html freetype/builds/win32/visualc/freetype.vcproj freetype/builds/atari/deflinejoiner.awk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/winfonts freetype/builds/dos/dos-def.mk freetype/src/pshinter/pshpic.h freetype/builds/win32/w32-gcc.mk freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/raster.txt freetype/builds/atari/FNames.SIC freetype/builds/atari/ATARI.H freetype/src/autofit/afpic.h freetype/src/otvalid/otvgpos.c freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffdrivr.c freetype/docs/reference/ft2-base_interface.html freetype/src/cid/cidriver.c freetype/builds/mac/README freetype/src/otvalid/otvgpos.h freetype/include/freetype/ftgasp.h freetype/builds/unix/unix-cc.in freetype/src/autofit/afindic.c freetype/src/cff/cffdrivr.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/raster freetype/builds/unix/ft-munmap.m4 freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/docs/reference/ft2-index.html freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/builds/os2/detect.mk freetype/src/gzip/zconf.h freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/truetype freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/builds/unix/unix-dev.mk freetype/src/otvalid/otvcommn.c freetype/src/otvalid/otvalid.c freetype/include/freetype/config/ftmodule.h freetype/src/otvalid/otvcommn.h freetype/src/otvalid/otvalid.h freetype/include/freetype/ftxf86.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/builds/win32/vc2008/freetype.sln freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/docs/reference/ft2-gzip.html freetype/builds/compiler/emx.mk freetype/include/freetype/ftstroke.h freetype/builds/unix/unix.mk freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/objs/.gitignore freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/win32/visualce/freetype.dsp freetype/ChangeLog.20 freetype/src/cid/ciderrs.h freetype/src/type42/t42parse.h freetype/ChangeLog.21 freetype/builds/unix/configure.ac freetype/ChangeLog.22 freetype/builds/unix/ftconfig.in freetype/builds/beos freetype/ChangeLog.23 freetype/src/bdf/bdfdrivr.h freetype/builds/win32/visualce/freetype.dsw freetype/include/freetype/tttables.h freetype/docs/reference/ft2-quick_advance.html freetype/builds/unix/freetype2.in freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/gxvalid freetype/docs/reference/ft2-mac_specific.html freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/src/pcf/pcfdrivr.c freetype/include/freetype/internal/ftobjs.h freetype/builds/symbian/bld.inf freetype/src/gxvalid/gxvmort5.c freetype/src/psnames/Jamfile freetype/src/pcf/pcfdrivr.h freetype/builds/unix/ftsystem.c freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/builds/compiler/gcc-dev.mk freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/builds freetype/include/freetype/internal/services/svpostnm.h freetype/builds/unix/mkinstalldirs freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/docs/reference/ft2-truetype_tables.html freetype/builds/compiler/gcc.mk freetype/builds/unix/config.guess freetype/src/otvalid/Jamfile freetype/src/autofit/afloader.c freetype/include/freetype/internal/services/svkern.h freetype/builds/beos/beos-def.mk freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/sfnt/Jamfile freetype/src/psaux/psobjs.c freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/docs/reference/ft2-header_file_macros.html freetype/src/pshinter/pshnterr.h freetype/docs/reference/ft2-ot_validation.html freetype/src/base/ftcalc.c freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/psaux freetype/builds/unix/freetype2.m4 freetype/docs/reference/ft2-outline_processing.html freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/builds/win32/visualc/freetype.dsw freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/type42/rules.mk freetype/src/tools/ftrandom/Makefile freetype/src/pshinter/module.mk freetype/builds/amiga/include/freetype/config/ftmodule.h freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/builds/amiga/makefile.os4 freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/include/freetype/ftoutln.h freetype/src/cff/cffobjs.h freetype/docs/reference/ft2-truetype_engine.html freetype/builds/beos/detect.mk freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/winfonts/rules.mk freetype/src/tools/ftrandom/README freetype/src/pcf freetype/docs/CHANGES freetype freetype/src/base freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/autofit freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/builds/atari/gen-purec-patch.sh freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/docs/reference/ft2-system_interface.html freetype/builds/win32/w32-bcc.mk freetype/src/pcf/README freetype/src/gxvalid/gxvtrak.c freetype/include/freetype/internal/ftdriver.h freetype/objs freetype/include/freetype/ftgzip.h freetype/include/freetype/internal/services/svbdf.h freetype/src/base/ftrfork.c freetype/src/smooth/rules.mk freetype/src/base/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/builds/win32/w32-intl.mk freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/src/type42/type42.c freetype/src/tools/docmaker/sources.py freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/builds/unix/unix-lcc.mk freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/autofit/aflatin.c freetype/src/truetype/ttdriver.h freetype/src/base/ftsnames.c freetype/src/pfr/pfrgload.h freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/builds/unix freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/builds/compiler/intelc.mk freetype/src/base/ftwinfnt.c freetype/src/base/ftsynth.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/lzw/ftlzw.c freetype/src/sfnt/ttbdf.h freetype/builds/win32/vc2008/freetype.vcproj freetype/builds/win32/w32-bccd.mk freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/src/sfnt/ttcmap.c freetype/builds/ansi/ansi.mk freetype/include/freetype/internal/services/svmm.h freetype/src/pfr freetype/builds/compiler/ansi-cc.mk freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/builds/toplevel.mk freetype/src/truetype/tterrors.h freetype/builds/win32 freetype/builds/symbian freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/builds/win32/visualce freetype/include/freetype/internal/pshints.h freetype/builds/amiga freetype/builds/amiga/src/base freetype/builds/win32/w32-icc.mk freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/builds/wince/vc2008-ce/index.html freetype/src/psaux/psauxmod.c freetype/src/pfr/module.mk freetype/src/base/ftcid.c freetype/src/psnames/psmodule.h freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/gzip/inffixed.h freetype/src/bdf freetype/docs/reference/ft2-pfr_fonts.html freetype/src/sfnt/ttcmapc.h freetype/docs/reference freetype/builds/os2/os2-gcc.mk freetype/builds/compiler/bcc.mk freetype/builds/link_dos.mk freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/ftwinfnt.h freetype/builds/unix/freetype-config.in freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/docs/release freetype/include/freetype/ftimage.h freetype/src/lzw/ftzopen.c freetype/src/pfr/pfrobjs.h freetype/src/lzw/Jamfile freetype/src/truetype/truetype.c freetype/Makefile freetype/src/base/fttrigon.c freetype/builds/win32/w32-vcc.mk freetype/src/lzw/ftzopen.h freetype/src/autofit/afhints.c freetype/builds/unix/install.mk freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/builds/atari/README.TXT freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/docs/reference/ft2-version.html freetype/src/smooth/Jamfile freetype/src/tools/docmaker freetype/src/gzip/adler32.c freetype/src/tools/docmaker/.gitignore freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/builds/compiler/unix-lcc.mk freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/wince/ftdebug.c freetype/src/gzip/zutil.c freetype/src/sfnt/sfntpic.c freetype/builds/unix/unix-def.in freetype/src/winfonts/winfnt.h freetype/builds/os2/os2-def.mk freetype/src/smooth/smooth.c freetype/src/gzip/zutil.h freetype/src/sfnt/sfntpic.h freetype/devel freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/docs/reference/ft2-module_management.html freetype/src/gxvalid/gxvmorx4.c freetype/include/freetype/internal/pcftypes.h freetype/src/pfr/pfrerror.h freetype/src/smooth/ftgrays.h freetype/src/winfonts/Jamfile freetype/builds/beos/beos.mk freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/include/freetype/config freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-font_formats.html freetype/src/otvalid/module.mk freetype/include/freetype/internal/services/svpscmap.h freetype/ChangeLog freetype/include/freetype/fttrigon.h freetype/builds/win32/visualc freetype/src/cache/ftcmanag.c freetype/docs/FTL.TXT freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/builds/mac/FreeType.ppc_carbon.make.txt freetype/builds/wince/vc2005-ce/freetype.sln freetype/docs/reference/ft2-sizes_management.html freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/cff freetype/include/freetype/internal/services/svtteng.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/builds/modules.mk freetype/src/smooth freetype/docs/reference/ft2-bitmap_handling.html freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/builds/freetype.mk freetype/include/freetype/internal/ftpic.h freetype/src/type42 freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/builds/unix/install-sh freetype/src/psnames/psnames.c freetype/builds/os2 freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/cache freetype/src/smooth/ftsmerrs.h freetype/src/type42/t42objs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/builds/amiga/include/freetype/config/ftconfig.h freetype/src/psaux/t1decode.c freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/builds/ansi/ansi-def.mk freetype/src/otvalid/otvjstf.c freetype/src/type42/module.mk freetype/src/cff/cffgload.c freetype/src/autofit/aferrors.h freetype/src/gxvalid/gxvlcar.c freetype/builds/amiga/makefile freetype/include/freetype/internal/services/svsfnt.h freetype/src/bdf/README freetype/src/base/ftinit.c freetype/src/cff/cffgload.h freetype/src/cache/ftccback.h freetype/include/freetype/internal freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/docs/reference/ft2-lzw.html freetype/src/tools/Jamfile freetype/builds/win32/detect.mk freetype/builds/unix/ltmain.sh freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/gxvalid/gxvcommn.c freetype/src/cff/cffload.c freetype/include/freetype freetype/src/autofit/afangles.h freetype/builds/compiler/visualc.mk freetype/src/gxvalid/gxvcommn.h freetype/src/cff/cffload.h freetype/builds/mac/FreeType.m68k_far.make.txt freetype/builds/amiga/include/freetype/config freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cid freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/builds/amiga/README freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> </blockquote> -<p><strong><a name="2009-12-24T003305.486056Z"></a> -2009-12-24T00:33:05.486056Z Ray Johnston</strong></p> +<p><strong><a name="2010-07-18T053008.091459Z"></a> +2010-07-18T05:30:08.091459Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix detection for nearing/passing command list buffer limit to allow for -the condition when the pointer is past the limit (which is NOT the end -of the buffer, but is only a warning). Change this variable name to -'warn_limit' to avoid confusion with the 'limit' used in most other -buffer management areas, such as streams. Bug 691016. +Implement halftones type 6, 10, 16 in PDF interpreter. +Use default halftone when the halftone type is incorrect. </pre> -<p>[base/gxclrast.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-12-23T211234.206998Z"></a> -2009-12-23T21:12:34.206998Z Robin Watts</strong></p> +<p><strong><a name="2010-07-18T000337.786299Z"></a> +2010-07-18T00:03:37.786299Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add new assert_.h header file. Convert existing code to use it. - +Recognize enumerated color space #12 as CMYK following JPX baseline spec. </pre> -<p>[contrib/gdevcd8.c /trunk/ghostpdl/pl/pldebug.h base/assert_.h contrib/pcl3/eprn/mediasize.c contrib/lips4/gdevlprn.h contrib/pcl3/eprn/eprnrend.c]</p> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-12-22T233230.888745Z"></a> -2009-12-22T23:32:30.888745Z regression</strong></p> +<p><strong><a name="2010-07-17T212339.853613Z"></a> +2010-07-17T21:23:39.853613Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove -dNOOUTERSAVE and related commands from command line and optionally -read in list of fast to process files (so that long commands can be -processed first). - +Re-implement handling of named page sizes to avoid dependence on +the definitions of compatibility operators (a4, letter, etc.) +in userdict. Bug 691458. </pre> -<p>[toolbin/localcluster/build.pl]</p> +<p>[Resource/Init/gs_init.ps Resource/Init/gs_setpd.ps Resource/Init/gs_statd.ps]</p> </blockquote> -<p><strong><a name="2009-12-21T160338.968428Z"></a> -2009-12-21T16:03:38.968428Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-17T000709.985181Z"></a> +2010-07-17T00:07:09.985181Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix (pdfwrite) Bug #691009 "Regression: 14-01.PS fails with pdfwrite". revision 10297, -a fix for pdfwrite involving composite fonts with type 3 descendants, did not check a -return value. This could cause a segment fault later, if a type 0 font was invalid. - -The Genoa file 14-01.ps specifically runs tests with invalid type 0 fonts to check the -behaviour under error conditions and appears to be the only test file we have which -does this. +Remove unused variables CC_D and CC_INT from all makefiles. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[psi/os2.mak base/unixhead.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/msvccmd.mak base/wccommon.mak]</p> </blockquote> -<p><strong><a name="2009-12-21T072023.809940Z"></a> -2009-12-21T07:20:23.809940Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-16T204049.337914Z"></a> +2010-07-16T20:40:49.337914Z Alex Cherepanov</strong></p> <blockquote> <pre> -Revert c10520 which causes problems with the MSVC build. +Fix the bug that prevented recognition of GenericResourceDir/Category/Name +as a valid resource path and required inclusion of GenericResourceDir in +the search path to find the same resource by searching. + +New procedure does the following: +1. Returns GenericResourceDir/Category/Name if it exists. +2. Searches for Category/Name in LIBPATH. Returns actual path if found. +3. For non-existing resources return the same path as (1). -$(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft -extensions. This often causes problems with 3rd party libraries -which try to take advantage of those extensions. +Old implementation added GenericResourceDir twice, didn't close files, +used system memory, called expensive procedures twice, etc. -This means that the -fPIC flag is again not propagated in the GCC -build; this is just to unbreak the build until I can test a different -solution which works on both platforms. +Regression testing shows trivial differences in 23-07.ps, which prints +the length of ResourceFileName procedure. +This is a partial fix for bug 691408. </pre> -<p>[base/libtiff.mak]</p> +<p>[Resource/Init/gs_res.ps]</p> </blockquote> -<p><strong><a name="2009-12-20T195400.274659Z"></a> -2009-12-20T19:54:00.274659Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-16T195803.971410Z"></a> +2010-07-16T19:58:03.971410Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning: comparing array against NULL is not useful. -</pre> -<p>[base/gxclthrd.c]</p> +Prepend icc directory to device profile name if the default name is used so that we have it during clist reading. This is a fix for the iccprofiles/ problem in 691408 when compile inits is not used. Also, fix so that the profile name is allocated in non-gc memory. This was a source of issues with the userparams dict not seeming to be traced or at least not getting its members relocated if a profile in the icc manager was relocated. This fixes the breaking of the psdcmyk device in rev 11499. Also removal of spurious warning messages.</pre> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-20T194310.432199Z"></a> -2009-12-20T19:43:10.432199Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T204206.487509Z"></a> +2010-07-15T20:42:06.487509Z Ray Johnston</strong></p> <blockquote> <pre> -Fix a Coverity warning about an expression with undefined order of evaluation. +Change pdf14_put_image so that the gx_default_begin_typed_image will +be able to call the device's 'begin_image' which is often hooked for +device specific (hardware accelerated) image rendering. This avoids +the default image rendering which results in LOTS of fill_rectangle +calls. Found with customer 532. </pre> -<p>[contrib/gdevbjca.c]</p> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-12-20T185408.195262Z"></a> -2009-12-20T18:54:08.195262Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T192838.670595Z"></a> +2010-07-15T19:28:38.670595Z Ray Johnston</strong></p> <blockquote> <pre> -Fix a Coverity warning about an expression with undefined order of evaluation. +The other half of the version.mak change. </pre> -<p>[contrib/pcl3/eprn/eprnrend.c]</p> +<p>[Resource/Init/gs_init.ps]</p> </blockquote> -<p><strong><a name="2009-12-20T142439.934442Z"></a> -2009-12-20T14:24:39.934442Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T181417.190964Z"></a> +2010-07-15T18:14:17.190964Z Ray Johnston</strong></p> <blockquote> <pre> -Fix Coverity warnings about unchecked return code. +Update version to 9.00 PRE-RELEASE (with a bogus date, but before Aug 1) +This will serve to notify folks what the next release will be (not 8.72) </pre> -<p>[base/gxchar.c]</p> +<p>[base/version.mak]</p> </blockquote> -<p><strong><a name="2009-12-20T065250.539169Z"></a> -2009-12-20T06:52:50.539169Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-15T144939.770856Z"></a> +2010-07-15T14:49:39.770856Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix Coverity warnings about unchecked return code. +Improve Ghostscript operation when current directory is not included in the +search path. +1. Make file path separators at the end of LIBPATH entries optional to reduce + the number of trivial configuration errors. +2. Search LIBPATH list for valid iccprofiles/ directory as a sibling to + (Resource) and set it as a default to ensure a valid default. + This code follows /GenericResourceDir example. +3. Make sure that the path name derived from /GenericFontDir is is not + searched but other font file names are searched. Earlier code relied on + a feature of .libfile not searching for an absolute path and failed + when the path was relative. +Partial fix for bugs 691350, 691408. </pre> -<p>[base/gsptype1.c]</p> +<p>[Resource/Init/gs_lev2.ps Resource/Init/gs_fonts.ps Resource/Init/gs_res.ps]</p> </blockquote> -<p><strong><a name="2009-12-19T171409.025653Z"></a> -2009-12-19T17:14:09.025653Z regression</strong></p> +<p><strong><a name="2010-07-15T054255.376283Z"></a> +2010-07-15T05:42:55.376283Z Alex Cherepanov</strong></p> <blockquote> <pre> -Minor improvements: - -skip.lst is now processed by compare.pl instead of build.pl, so tests -to be skipped will be run, just not reported. - -Store the archive count in the md5sum.archive so the report email will -be accurate. - -Treat indeterminate errors (mostly timeouts) the same as indeterminate -md5sums (i.e. report them below the fold). - +Add copying default ICC profiles to disk-install location. This is necessary +for the builds with COMPILE_INITS=0, which looks for ICC profiles on disk. +Thanks to Hin-Tak for the patch. Bug 691449. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +<p>[base/unixinst.mak]</p> </blockquote> -<p><strong><a name="2009-12-19T011649.970378Z"></a> -2009-12-19T01:16:49.970378Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-14T212533.726848Z"></a> +2010-07-14T21:25:33.726848Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix an array overrun in zsethalftone5() caused by an unchecked error code -when the number of colorants exceeds the current implementation limit; -throw a /limitcheck error instead. Also fix an unrelated Coverity warning -about unchecked return value from dict_int_param(). Bug 691001. +Allow the CUPS Raster backend alternatively output compressed (version 2) CUPS Raster data (bug #689885). </pre> -<p>[psi/zht2.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-12-18T222419.154314Z"></a> -2009-12-18T22:24:19.154314Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-13T183029.088597Z"></a> +2010-07-13T18:30:29.088597Z Chris Liddell</strong></p> <blockquote> <pre> -Update some obsolete gs_throw() calls. Bug 691010. +Ensure the local variable into which we read Truetype cmap table data (platform ID, encoding ID etc) is actually large enough to hold all the data we read into it. -This code seemed to be using an early version of the gs_throw() error -reporting macros, passing an undefined -997 error code, a redundant -__func__ error message, and expecting the macro to break flow control. +Bug 691452 (part 1) -This commit updates it to the modern version's behaviour.</pre> -<p>[base/gdevdbit.c]</p> +No cluster differences expected.</pre> +<p>[base/gsfcid2.c]</p> </blockquote> -<p><strong><a name="2009-12-18T211417.100541Z"></a> -2009-12-18T21:14:17.100541Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-13T082456.010563Z"></a> +2010-07-13T08:24:56.010563Z Ken Sharp</strong></p> <blockquote> <pre> -Add a missing header to ensure delaration and definition match -for mem_mono_strip_copy_rop(). Fixes a warning in the gcc build.</pre> -<p>[base/lib.mak base/gdevmr1.c]</p> +Update the documentation on producing PDF/X to make it clear that -sProcessColorModel +is an absolute requirement, even when using -dUseCIEColor, and that the PDFA_def.ps +file must be edited, at the very least to alter the ICCProfile entry. + +Also made some minor syntax changes in PDF/A and PDF/X documentation for greater clarity. +</pre> +<p>[doc/Ps2pdf.htm]</p> </blockquote> -<p><strong><a name="2009-12-18T183246.014514Z"></a> -2009-12-18T18:32:46.014514Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-13T070459.625768Z"></a> +2010-07-13T07:04:59.625768Z Michael Vrhel</strong></p> <blockquote> <pre> -Add .libs and autom4te.cache to the exclude list for clusterpush. - -Builds which generate .deps directories also generally create the -other two. The autom4te.cache files aren't necessarily large but -aren't appropriate to copy to another system since they represent -details of the local build environment. -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +Fix for Bug 691444. Issue was introduced when interpolation max output range was set to be 65535 so that the output could be fed directly into CMM. Problem was for HT output devices like pbmraw the interpolation filter ignored the max range setting and used a max value of the frac range as output. This fixes a number of files that had regressions. Files checked with bmpcmp.</pre> +<p>[base/sidscale.c]</p> </blockquote> -<p><strong><a name="2009-12-18T162412.002354Z"></a> -2009-12-18T16:24:12.002354Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-07-13T012010.578834Z"></a> +2010-07-13T01:20:10.578834Z Michael Vrhel</strong></p> <blockquote> <pre> -Added .deps to the exclude list for clusterpush.pl. -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +Fix for bug 691445. pdf14 mapping procs were not paying attention to the trans device in the imager state. bmpcmp showed that this fixed several files.</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-12-18T070410.684226Z"></a> -2009-12-18T07:04:10.684226Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-12T150357.186505Z"></a> +2010-07-12T15:03:57.186505Z Chris Liddell</strong></p> <blockquote> <pre> -Add graphics library support for raster operations and extended halftone -methods to the default gcc build. +In the event the FAPI code has to replace the FontBBox array, make sure the new array is marked executable. -This allows ghostpcl to build linked against the default 'so' build of -the gs library. On my Linux x86_64 this increases the size of the library -by 29K. While significant, I prefer this to the maintenance burden of -the two different configurations. -</pre> -<p>[base/Makefile.in]</p> +No cluster differences expected.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-18T063702.606724Z"></a> -2009-12-18T06:37:02.606724Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-11T152614.804339Z"></a> +2010-07-11T15:26:14.804339Z Michael Vrhel</strong></p> <blockquote> <pre> -Derive the libtiff compiler line from $(CC_) instead of $(CC) so -the common flag set is propagated. - -Without this, additional options, like XCFLAGS=-fPIC aren't used when -compiling the libtiff source files. -</pre> -<p>[base/libtiff.mak]</p> +Fix for overprint regressions introduced with icc branch merge. Review of bmp compares reveals that this fixes a number of issues hence the large number of differences with the commit. There is one regression introduced with this commit, which is IA3Z0302.pdf.pdf.pkmraw.300 page 2 a bug will be opened for this. Also, review of Atona_Technical_1v1_x3.pdf.pam.72 reveals there some overprint issues may still exist with bitmap and halftone image overprinting on top of spotcolors when Overprint is true and and Overprint mode is set to On. This issue may have existed prior to the icc commit. Will open a bug to investigate.</pre> +<p>[base/gsicc_create.c base/gxcspace.h base/gscspace.c base/gsicc.c]</p> </blockquote> -<p><strong><a name="2009-12-18T052314.353404Z"></a> -2009-12-18T05:23:14.353404Z Henry Stiles</strong></p> +<p><strong><a name="2010-07-10T012854.795367Z"></a> +2010-07-10T01:28:54.795367Z Ray Johnston</strong></p> <blockquote> <pre> -Export the the type 42 component parser procedure for pcl, no expected -differences. +Fix 'status' operator to return false when the IODevice prefix is +not found instead of undefinedfilename. Found while working on 691408. </pre> -<p>[base/gxfont42.h base/gstype42.c]</p> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2009-12-18T013829.130442Z"></a> -2009-12-18T01:38:29.130442Z Ralph Giles</strong></p> +<p><strong><a name="2010-07-09T183119.790276Z"></a> +2010-07-09T18:31:19.790276Z Ray Johnston</strong></p> <blockquote> <pre> -And the 'nogc' allocator to the default gcc build. - -This allows ghostxps to build linked against the default 'so' build of -the gs library, simplifying some build options. The code size increase -is negligible. +Fix to use stable memory for profiledir in icc_manager structure and change +all 'current_' functions to return the actual value set, the default, or +an empty string if no default. Also set the default ICCProfilesDir to +%rom%iccprofiles which will work if COMPILE_INITS=1. This should also be +set by the PS init code (see bug 691408). </pre> -<p>[base/Makefile.in]</p> +<p>[psi/zusparam.c]</p> </blockquote> -<p><strong><a name="2009-12-17T201408.344945Z"></a> -2009-12-17T20:14:08.344945Z Robin Watts</strong></p> +<p><strong><a name="2010-07-09T094017.170342Z"></a> +2010-07-09T09:40:17.170342Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for bug 690620. Original patch from HenryS. This adjusts rectangular -fills to more closely match that used by Acrobat v8. +Improve Windows batch files. +Bug #691440 "Windows bat files use relative paths and write to non-temp dir" -DETAILS: +As suggested by Bjorn Martensson in bug #691440. Altered all batch files which call +other batch files so that they prepend the call with the location the original +batch file was executed from. This allows batch files such as ps2pdf.bat to be called +from locations other than the Ghostscript 'lib' directory. -This patch updates the rectangle rendering to follow the mathematical -description of scan conversion more closely. It also includes special case -code to emulate the peculiarities of Adobe Acrobat 8. +Also altered the location of temporary files created by the batch files to the Windows +temporary folder by using the %TEMP% environment variable. If this variable is not set +for some reason then this will still default to the current directory, as it does now. +This allows batch files to be run from directories which are read only. -A specific test is used to ensure that zero width/height clips are handled -correctly. I am not entirely convinced that relying on the inner bbox is -mathematically correct, but in the tests I've done (see clipbug.ps on the -bug, it seems to be enough to match Acrobat). +Since these files are not used by our (Linux) cluster there will be no differences. I +have tested a number of the scripts, but not all of them. The ones I have tested seem +to work well. -</pre> -<p>[base/gsdps1.c]</p> +I finally found a reference which states that the %~d batch parameter was introduced +to Windows in NT4, this means that these batch files will likely fail on older versions +of Windows (ie Windows 3.x/95/98). I don't believe we need to support such antiquated +Operating Systems any further.</pre> +<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat toolbin/msvcxml.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/gslp.bat lib/lpgs.bat lib/ps2ps.bat lib/pftogsf.bat]</p> </blockquote> -<p><strong><a name="2009-12-17T181348.602966Z"></a> -2009-12-17T18:13:48.602966Z regression</strong></p> +<p><strong><a name="2010-07-08T200159.912724Z"></a> +2010-07-08T20:01:59.912724Z Robin Watts</strong></p> <blockquote> <pre> -Cache the previous revisions crc values to improve compare.pl performance. +Extend the experimental ENABLE_TRAP_AMALGAMATION code to the +TEMPLATE_slant_into_trapezoids cases too. The current code generates 3 +trapezoids; the new code will (if the option is enabled) attempt to +amalgamate the top/bottom traps into the middle one. + +Enabling this code (but disabling the existing code for trap amalgamation) +shows no differences. Enabling all the trap amalgamation code shows 888 +differences, all fairly innocuous. -Also remove the no longer needed splitjobs.pl from the repository. +As this code is going in disabled, no cluster differences are expected. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gxfillts.h base/gxfill.c]</p> </blockquote> -<p><strong><a name="2009-12-17T175714.753910Z"></a> -2009-12-17T17:57:14.753910Z Robin Watts</strong></p> +<p><strong><a name="2010-07-08T162020.892723Z"></a> +2010-07-08T16:20:20.892723Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the arguments passed to ghostscript by htmldiff.pl so that they -more closely match those used by the localcluster. - -DETAILS - -localcluster uses "-dNOOUTERSAVE -dJOBSERVER -c false 0 startjob pop -f" - -The use of -dJOBSERVER changes the output given for some of the ps3cet files -due to having different stack contents at the outer level. - -This seems to eliminate most of the differences between htmldiff results -and local cluster results. Those that remain seem to be caused by differences -in the output of devices (htmldiff uses bmp, wheras the localcluster uses -pgm/pbm/etc). +Update the Ghostscript man page to reflect the new default for -P option +made by the rev. 11494. +</pre> +<p>[man/gs.1]</p> +</blockquote> -One minor point; the use of -dJOBSERVER is defined in doc/Use.htm -to require input to be supplied via stdin. I originally wrote the code to -do this, but it seems this gives problems on Windows for some files -(for reasons that are beyond my comprehension at this time). Accordingly, -I've swapped back to supplying the filenames on the command line and -everything seems to be fine. +<p><strong><a name="2010-07-07T212755.422122Z"></a> +2010-07-07T21:27:55.422122Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +clusterpush.pl with no options now tests language_switch build as well as gs, pcl, and xps. -If this presents a problem on platforms other than windows, simply -edit the value of $redir as shown at the top of the file and redirection -will be used. If this turns out to be necessary, it may be possible to -automate this. +Also some minor documentation improvements. +</pre> +<p>[toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme]</p> +</blockquote> +<p><strong><a name="2010-07-07T174709.812924Z"></a> +2010-07-07T17:47:09.812924Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Dont't search for initialization files in the current directory first +by default because this leads to well-known security and confusion problems. +Do this only on the user's request by -P switch. Also revert rev. 11468, +which is no longer needed. Bug 691350. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/openvms.mmk psi/zfile.c doc/Use.htm base/bcwin32.mak base/ugcclib.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak toolbin/msvcxml.bat psi/os2.mak base/watclib.mak base/openvms.mak base/macosx.mak base/watcw32.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak]</p> </blockquote> -<p><strong><a name="2009-12-17T152407.353413Z"></a> -2009-12-17T15:24:07.353413Z regression</strong></p> +<p><strong><a name="2010-07-07T134957.894248Z"></a> +2010-07-07T13:49:57.894248Z Ken Sharp</strong></p> <blockquote> <pre> -Minor cleanup/improvement of local cluster code. +Fix : temporary memory device not finalized. + +clist_init_data creates a temporary memory device in order to "get the memory planarity +set up", using a local variable to hold the device. When the function exits the +variable goes out of scope and disappears. -DETAILS: +Because the memory device is a forwarding device it increments the reference count of +its target, but because it is never finalized it does not decrement the reference count +when it is destroyed, leading to an incorrect target reference count. -compare.pl: ignore missing archive directory +This only affects pdfwrite at present, but it prevents valid PDF files being written +because the file is only terminated when the pdfwrite device reference count reaches +0 and the pdfwrite device is closed. -clustermaster.pl: rather than pausing 60 seconds after the first compile -error is detected wait until all nodes report compile fail or 60 seconds -has elapsed. in the former case don't bother to send abort to nodes. +Added calls to finalize the device before discarding it. -build.pl: add support for skip.lst (lists specific tests to skip) +No expected differences. +</pre> +<p>[base/gxclist.c]</p> +</blockquote> -add tests_private/customer_tests to test lists +<p><strong><a name="2010-07-06T222732.077335Z"></a> +2010-07-06T22:27:32.077335Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Increase the max number of color components to 14 to accomodate a new +record (13) found in the wild. Bug 691425. +</pre> +<p>[base/gsccolor.h]</p> +</blockquote> -force tests_private/customer_tests to be dispatached earlier -in the run (some of these tests take a long time and often -the regression run is waiting for one or more to be completed). +<p><strong><a name="2010-07-06T092540.558632Z"></a> +2010-07-06T09:25:40.558632Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : Named destinations with no /Page not working properly -clusterpush.pl: remove cluster_command.run before syncing +Bug #691344 "REGRESSION: ps2pdf of 8.70 generates correct hyperlinks but not ps2pdf of +8.71" -run.pl: more intelligently report compile fails. +The revisions 9779 and 9788 fixed a problem where DOCVIEW pdfmarks without a /Page or +/View entry were producing invalid PDF files, and a problem with DEST pdfmarks arising +from it. -save the previous non-user build of gs to be used for the following user -builds that don't build gs (previously whatever gs build as last build -was used). +Because DOCVIEW and DEST pdfmarks share some common code in pdfwrite to create a +Destination annotation in the outptu PDF, this still left some confusion in the code. +The problem was that DOCVIEW pdfmarks need not contain Page or View data, but named +destinations *must*, but pdfmarks need not specify, in which case the current page is +used. +Added a parameter to pdf_make_dest which allows us to differentiate the two cases and +use the current page number for a named destination if no page is supplied. +The regression suite can't test this non-printing feature, so no differences are +expected. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gdevpdfm.c]</p> </blockquote> -<p><strong><a name="2009-12-16T184620.783419Z"></a> -2009-12-16T18:46:20.783419Z Robin Watts</strong></p> +<p><strong><a name="2010-07-06T070453.806003Z"></a> +2010-07-06T07:04:53.806003Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for incorrect bbox test in bmpcmp. - -bmpcmp would correctly assess the changed region, but then incorrectly accept -changes restricted to a single row or column as not being changes at all. +Improve handling an error condition as suggested by Alex Cherepanov in Bug #691435, +comment 9. </pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-07-06T001144.270183Z"></a> +2010-07-06T00:11:44.270183Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix BAND_LIST_STORAGE=memory to handle files that create compressed memory +files > 2Gb. Also add code to make the reporting of these file sizes a bit +better, but portability may still be an issue. Reference Bug 690199 for +customers 850 and 531. -This resolves most of the differences between the results given by htmldiff.pl -and those given by the regression cluster. Some remain, but they are due (I -think) to a) different invocations of ghostscript, or b) differences in -device output (pgmraw vs bmp16m). </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[base/gxclmem.c base/gxclist.c]</p> </blockquote> -<p><strong><a name="2009-12-16T183340.102435Z"></a> -2009-12-16T18:33:40.102435Z Robin Watts</strong></p> +<p><strong><a name="2010-07-05T235146.696108Z"></a> +2010-07-05T23:51:46.696108Z Alex Cherepanov</strong></p> <blockquote> <pre> -Broken fix for incorrect bbox test in bmpcmp; please ignore this revision -and use 10507 instead. - -bmpcmp would correctly assess the changed region, but then incorrectly accept -changes restricted to a single row or column as not being changes at all. +Replace all '==' executable names with '//== exec' in Ghostscript start-up +code because MS driver redefines '==' in a way that requires write access to +the top dictionary, and this is not always the case. Bug 689957. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[Resource/Init/gs_cmap.ps Resource/Init/gs_pdfwr.ps Resource/Init/pdf_main.ps Resource/Init/gs_resmp.ps Resource/Init/pdf_font.ps Resource/Init/gs_fonts.ps Resource/Init/pdf_base.ps Resource/Init/pdf_sec.ps Resource/Init/gs_ttf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_cff.ps Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-12-16T174049.399642Z"></a> -2009-12-16T17:40:49.399642Z Robin Watts</strong></p> +<p><strong><a name="2010-07-05T161838.343520Z"></a> +2010-07-05T16:18:38.343520Z Alex Cherepanov</strong></p> <blockquote> <pre> -Improved version of htmldiff.pl: New HTML file started every 100 or so sets -of image differences (configurable). This should stop browsers grinding to a -halt. Improved reporting of conversion errors. - +Set svn:ignore property for all remaining generated files in jasper, +jbig2dec, and tiff directories. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[tiff/contrib/iptcutil tiff/contrib/tags tiff/build tiff/tools tiff tiff/contrib tiff/contrib/mac-mpw tiff/contrib/acorn tiff/html jasper/src/libjasper/include/jasper tiff/contrib/mac-cw tiff/contrib/dbs tiff/html/images tiff/man tiff/contrib/win_dib tiff/html/man tiff/libtiff tiff/test tiff/contrib/addtiffo jbig2dec tiff/port tiff/contrib/ras tiff/contrib/mfs tiff/contrib/pds tiff/contrib/dbs/xtiff tiff/contrib/stream]</p> </blockquote> -<p><strong><a name="2009-12-15T221458.866880Z"></a> -2009-12-15T22:14:58.866880Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-05T151009.278642Z"></a> +2010-07-05T15:10:09.278642Z Ken Sharp</strong></p> <blockquote> <pre> -Increase the limit on the number of color components to 12. A file with -9 components has been found in the wild, add 3 more for a small reserve. -Bug 691002. +Add a pair of parentheses to silence a gcc compiler warning. Also extend the comment +slightly to be a little more informative. + +No differences expected. </pre> -<p>[base/gsccolor.h]</p> +<p>[base/gdevpdfj.c]</p> </blockquote> -<p><strong><a name="2009-12-15T143456.554574Z"></a> -2009-12-15T14:34:56.554574Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-05T051316.304757Z"></a> +2010-07-05T05:13:16.304757Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a botched use of references where a pointer to a reference in a -PostScript VM was used as a temporary variable. Bug 690828. +Use the presence of /CIDSystemInfo instead of /Subtype value to decide +whether the object is a CID font. The former is required by Acrobat, the +latter appears to be ignored by Acrobat, and so may be wrong. Bug 691426. </pre> -<p>[psi/zcolor.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-12-15T095523.729025Z"></a> -2009-12-15T09:55:23.729025Z Ken Sharp</strong></p> +<p><strong><a name="2010-07-05T012343.139942Z"></a> +2010-07-05T01:23:43.139942Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Silence a compiler warning +test for emptiness of HAVE_FONTCONFIG is better than non-yes-ness of enable_fontconfig; fine-tuning of r11448 to --disable-cairo when fontconfig is not available or user-disabled</pre> +<p>[base/configure.ac]</p> +</blockquote> -Details -Flagged by Marcos, the variable 'ep' was unused and raised a gcc warning. +<p><strong><a name="2010-07-05T011830.861454Z"></a> +2010-07-05T01:18:30.861454Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +new/renamed documentation file libpng-1.2.44.txt missed in r11482 for libpng 1.2.42->1.2.44 upgrade</pre> +<p>[libpng/libpng-1.2.44.txt]</p> +</blockquote> +<p><strong><a name="2010-07-04T190417.740307Z"></a> +2010-07-04T19:04:17.740307Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reaplly Hin-Tak's patch, rev. 11453, which was rolled back by the rev. 11462. +Apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug +fixes - CVE-2010-1205. Bug 691438. </pre> -<p>[psi/zfapi.c]</p> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/projects/wince.txt libpng/libpng.3 libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-13T013159.081596Z"></a> -2009-12-13T01:31:59.081596Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-07-03T002940.754683Z"></a> +2010-07-03T00:29:40.754683Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Accept ASCII85 stream that ends with bare '~' in PDF files for compatibility -with Acrobat Reader. Add /PDFRules ASCII85Decode filter parameter to select -between PS and PDF logic. Bug 690976, customer 870. +missed linker defines needed to build under 64-bit windows in a previous commit r11388 for bug 691302</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> -</pre> -<p>[base/sa85d.h Resource/Init/pdf_base.ps base/sa85d.c psi/zfdecode.c]</p> +<p><strong><a name="2010-07-01T215829.492747Z"></a> +2010-07-01T21:58:29.492747Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Bubble up of error when allocation of default profile cmm handle fails. Fix for bug 691429</pre> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-12T230518.157328Z"></a> -2009-12-12T23:05:18.157328Z Ray Johnston</strong></p> +<p><strong><a name="2010-07-01T211355.381754Z"></a> +2010-07-01T21:13:55.381754Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix RasterOp texture rendering from uninitialized memory (past end of buffer) -when the texture was 'expanded' and the unexpanded texture had repitions in y. -Bug 690299. +revert r11469(r11455) - wrong fix to bug 690428</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T190829.177579Z"></a> +2010-07-01T19:08:29.177579Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement (pdfwrite) : Fall back to Flate instead of JPEG when an image turns out +short. + +Bug #691435 "any PDFSETTINGS besides /default gives dictfull error" -DETAILS: +There are two problems; firstly when an error is encountered closing a filter the +error code (-1 or -2 usually) is returned and interpreted as a regular GS error, +resulting in ridiculous error messages. Modified to return ioerror instead. -The expansion was only needed if the device color space was RGB, but not 8 bit. -This doesn't really give valid output anyway for RasterOps, but at least -we no longer reference past buffer bounds (see the 'trow' calculation in -gdevmr8n.c). +Secondly, when an image terminates with insufficient data and pdfwrite is creating a +DCT encoded image, we can't complete the image. In this case try to fall back to the +simple Flate compressed stream instead. +No differences expected. </pre> -<p>[base/gdevdrop.c]</p> +<p>[base/gdevpdfj.c]</p> </blockquote> -<p><strong><a name="2009-12-12T223917.759602Z"></a> -2009-12-12T22:39:17.759602Z regression</strong></p> +<p><strong><a name="2010-07-01T171423.564053Z"></a> +2010-07-01T17:14:23.564053Z Michael Vrhel</strong></p> <blockquote> <pre> -Added abort option to clusterpush.pl (i.e. 'clusterpush.pl abort') to -abort current job and remove any jobs queued for a user (it is possible -to abort/remove jobs for other users, but I'll leave that undocumented). +Fix for Bug 691431. This was caused by a PS CIE color space being used for a transparency group color space. That really should not be allowed since those color spaces are unidirectional. They are installed though when -dUseCIEColor is used with a PDF file that has transparency. Solution is to use the default ICC profiles for the group color space when this occurs.</pre> +<p>[base/gstrans.c]</p> +</blockquote> -Also partially added support for mupdf regression testing. +<p><strong><a name="2010-07-01T121920.914734Z"></a> +2010-07-01T12:19:20.914734Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert revision 11472 as it breaks almost every file in the cluster tests, +and it's preventing other meaningful work being done. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +<p>[base/gp_unifn.c]</p> </blockquote> -<p><strong><a name="2009-12-12T182525.212987Z"></a> -2009-12-12T18:25:25.212987Z regression</strong></p> +<p><strong><a name="2010-07-01T004157.037474Z"></a> +2010-07-01T00:41:57.037474Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added --max-size=2500000 to avoid sending very large files. +reapply 11457</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> -Divide queueing and syncing into two steps, so that it's possible -to ^C if you decide the files being transmistted are incorrect. +<p><strong><a name="2010-07-01T004043.889090Z"></a> +2010-07-01T00:40:43.889090Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11456</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p><strong><a name="2010-07-01T003616.428446Z"></a> +2010-07-01T00:36:16.428446Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11454 for outdated config.guess config.sub. see original commit log</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> </blockquote> -<p><strong><a name="2009-12-12T034655.487466Z"></a> -2009-12-12T03:46:55.487466Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-07-01T003305.624689Z"></a> +2010-07-01T00:33:05.624689Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverity warning #4475, uninitialized value</pre> -<p>[base/gdevpxut.c]</p> +typo that causes linker error if one does not do make clean between builds</pre> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-12-12T034555.759446Z"></a> -2009-12-12T03:45:55.759446Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-07-01T000022.982087Z"></a> +2010-07-01T00:00:22.982087Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverty warning #1158, unchecked return values</pre> -<p>[base/gdevpx.c]</p> +reapply r11455 - see original commit log for details</pre> +<p>[base/gdevxcmp.c]</p> </blockquote> -<p><strong><a name="2009-12-12T034513.363455Z"></a> -2009-12-12T03:45:13.363455Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-30T233411.835858Z"></a> +2010-06-30T23:34:11.835858Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Coverity warning #2555, removing unused header</pre> -<p>[base/gdevpx.c]</p> +security patch from Werner Fink, to disable loading init files from group/world-writable directories - bug 691350</pre> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2009-12-12T034349.383201Z"></a> -2009-12-12T03:43:49.383201Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-30T221202.295636Z"></a> +2010-06-30T22:12:02.295636Z Michael Vrhel</strong></p> <blockquote> <pre> -treat depth 15 the same as depth 16 in get_bits_rectangle() +Initialize profile member variables that are part of serialization. Fix for Bug 691433 + -It looks to be 'just work' (or no worse than depth 16) by treating depth -15 the same as depth 16 in get_bits_rectangle. The pcl files in the original report -works now; but a pxl file shows some visual artifects (and different one) at depth -15, 16 and will be filed separately. +</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> -This fix fix bug 690328 (make X11 device continue for those pcl files; caveate -visual artefacts for at least one pxl file) +<p><strong><a name="2010-06-29T180629.735123Z"></a> +2010-06-29T18:06:29.735123Z Henry Stiles</strong></p> +<blockquote> +<pre> +remove obsolete clusterpush scripts. +</pre> +<p>[/trunk/ghostpdl/tools/clusterpush.sh toolbin/clusterpush.sh]</p> +</blockquote> +<p><strong><a name="2010-06-29T171745.269232Z"></a> +2010-06-29T17:17:45.269232Z Henry Stiles</strong></p> +<blockquote> +<pre> +revert back to 11450. </pre> -<p>[base/gdevx.c doc/Devices.htm]</p> +<p>[/trunk/ghostpdl/main/pcl6_gcc.mak libpng/pngrtran.c libpng/scripts/makefile.gcmmx base/ugcclib.mak libpng/contrib/pngminim/encoder/gather.sh /trunk/ghostpdl/xps/xpspath.c base/unix-gcc.mak libpng/scripts/makefile.sgi base/gp_unifn.c base/macos-mcp.mak libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc /trunk/ghostpdl/main/pcl6_msvc.mak libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def base/macosx.mak libpng/scripts/makefile.nommx libpng/scripts/makefile.linux jpeg/config.guess base/unixansi.mak libpng/pngmem.c base/msvclib.mak libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu jpeg/config.sub libpng/scripts/libpng-config-head.in libpng/scripts/makefile.elf libpng/png.h base/lib.mak libpng/CMakeLists.txt libpng/pngrio.c libpng/Y2KINFO libpng/pngpread.c libpng/scripts/makefile.netbsd /trunk/ghostpdl/xps/xps_msvc.mak libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc /trunk/ghostpdl/xps/xpsglyphs.c libpng/README doc/Make.htm libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 /trunk/ghostpdl/language_switch/pspcl6_msvc.mak libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/libpng-1.2.44.txt libpng/scripts/makefile.solaris base/Makefile.in libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh /trunk/ghostpdl/xps/xpstile.c /trunk/ghostpdl/xps/xpsgradient.c libpng/scripts/makefile.hp64 base/gs_dll_call.h libpng/scripts/makefile.aix libpng/scripts/makefile.mingw libpng/scripts/png32ce.def /trunk/ghostpdl/common/msvc_top.mak libpng/scripts/makefile.beos base/watclib.mak /trunk/ghostpdl/xps/xpsopacity.c libpng/scripts/makefile.ne12bsd libpng/pngread.c /trunk/ghostpdl/xps/xpspage.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/example.c libpng/projects/wince.txt base/bcwin32.mak libpng/scripts/makefile.so9 libpng/pngconf.h libpng/pngwrite.c libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c base/openvms.mak base/gdevxcmp.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec base/watcw32.mak base/unix-dll.mak libpng/scripts/README.txt libpng/scripts/makefile.cygwin psi/msvc32.mak libpng/pngtest.c libpng/ANNOUNCE /trunk/ghostpdl/xps/xpsimage.c libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-12T002826.868635Z"></a> -2009-12-12T00:28:26.868635Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-29T070829.009258Z"></a> +2010-06-29T07:08:29.009258Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix hang condition due to pointer comparison, bug 690638. +more cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub) ; this one depends on features of GNU make, so it is added as comments to avoid breaking build with non-GNU make</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-06-29T070545.877229Z"></a> +2010-06-29T07:05:45.877229Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +avoid re-define _Windows if it is already defined; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> -The clist buffer management mostly checked the amount of data in the buffer -by computing the difference between the limit and the current pointer. This -patch fixes the places that computed a new pointer of the desired amount -plus the current pointer and compared to the limit. If this overflowed -the register, then the sum was less than the (unsigned) limit pointer. +<p><strong><a name="2010-06-29T070425.796552Z"></a> +2010-06-29T07:04:25.796552Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +cygwin is one platform which uses the unix file name interface but is sensitive to binary/text mode; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T064759.438186Z"></a> +2010-06-29T06:47:59.438186Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +gx_device_has_color() was changed 8 years ago in the deviceN commit (r2925), +from just color_info.numcomponents > 1 to +|| (dev)->color_info.gray_index == GX_CINFO_COMP_NO_INDEX . + +This has some unfortunate side-effect for continuous tone gray devices which +doesn't support transparency, such as a 8-bit gray X11 display, which goes +down the wrong code path. These are quite rare so it took 7 years for the bug +(bug 690428) to be seen. </pre> -<p>[base/gxclrast.c]</p> +<p>[base/gdevxcmp.c]</p> </blockquote> -<p><strong><a name="2009-12-11T191857.300388Z"></a> -2009-12-11T19:18:57.300388Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-29T060526.121392Z"></a> +2010-06-29T06:05:26.121392Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix incorrect calculation of the operand stack base (pdfemptycount) in PDF -interpreter, which caused incorrect processing of scn operator. Bug 690977. +updating jpeg config.sub config.guess to that from libpng 1.2.44; bug 690486</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> -</pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p><strong><a name="2010-06-29T053019.407679Z"></a> +2010-06-29T05:30:19.407679Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug fixes - CVE-2010-1205</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/libpng-1.2.44.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/projects/wince.txt libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> </blockquote> -<p><strong><a name="2009-12-10T032932.317033Z"></a> -2009-12-10T03:29:32.317033Z regression</strong></p> +<p><strong><a name="2010-06-29T052507.282125Z"></a> +2010-06-29T05:25:07.282125Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Removed bitrgb and pgmraw from pcl regression tests. +change documentation as --enable-dynamics is no longer required for "make so" to work</pre> +<p>[doc/Make.htm]</p> +</blockquote> -Fixed a bug where failed compiles would cause a job restart loop. +<p><strong><a name="2010-06-29T052009.043972Z"></a> +2010-06-29T05:20:09.043972Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split lcms code build into arch-specific targets; try to make both windows inline assembly and unix "make so" work simultaneously; bug 691427</pre> +<p>[base/watclib.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/ugcclib.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/msvclib.mak]</p> +</blockquote> -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +<p><strong><a name="2010-06-29T051638.524502Z"></a> +2010-06-29T05:16:38.524502Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +move the DYNAMIC_* defines out of the --enable-dynamic condition so that it applies generally; try to "make so" work with just ./configure ; many bugs ask for make so to work</pre> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-12-09T172434.115310Z"></a> -2009-12-09T17:24:34.115310Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-29T043410.440639Z"></a> +2010-06-29T04:34:10.440639Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (pdfwrite) : regressions with revision 10474 +switch autoconf png test away from testing for a soon-to-be-obsolete routine to one we actually use, to smooth over the libpng 1.2.x to 1.4.x transition; bug 691111</pre> +<p>[jbig2dec/configure.ac base/configure.ac]</p> +</blockquote> -Details -Revision 10474 unexpectedly caused a number of regressions resulting in unreadable -PDF files. This revision changes the way we deal with the indeterminacy caused by -not checking the return value. In this case if the return value is an error we *set* -the members field of the gs_glyoh_info struct to 0 and allow the code to test the -value +<p><strong><a name="2010-06-29T041547.742872Z"></a> +2010-06-29T04:15:47.742872Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make --disable-fontconfig imples --disable-cairo; bug 690690</pre> +<p>[base/configure.ac]</p> +</blockquote> -</pre> -<p>[base/gdevpdtt.c]</p> +<p><strong><a name="2010-06-29T040453.158322Z"></a> +2010-06-29T04:04:53.158322Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +tries to remove empty *obj/*bin directories when invoking "make distclean"; bug 690871</pre> +<p>[base/unix-end.mak base/Makefile.in base/unix-dll.mak base/unix-gcc.mak base/unixansi.mak]</p> </blockquote> -<p><strong><a name="2009-12-09T153227.320916Z"></a> -2009-12-09T15:32:27.320916Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-29T034817.519902Z"></a> +2010-06-29T03:48:17.519902Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Unchecked return value causing indeterminisms +check for GNU sed and switch to alternative sed options if sed is non-GNU; bug 691292</pre> +<p>[cups/pstopxl.in base/configure.ac]</p> +</blockquote> -Details -Bug #690762 "" -Reported and investigated by Marcos using Valgrind. The return value from a glyph_info -method was not checked before accessing the members of the 'gs_glyph_info' structure. If -an error occurred the fields of the structure were potentially not initialised, leading -to indeterminate results. +<p><strong><a name="2010-06-29T034430.895095Z"></a> +2010-06-29T03:44:30.895095Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 2 of update (new files) posted to 687983, corrected for current svn HEAD.</pre> +<p>[contrib/pscolor/black.pdf contrib/pscolor/color.pdf contrib/pscolor/colorsplit.vcproj contrib/pscolor/black.ps contrib/pscolor/color.ps contrib/pscolor/common.mak contrib/pscolor/input.ps contrib/pscolor/windows.mak]</p> +</blockquote> -Modified to check the return value properly. +<p><strong><a name="2010-06-29T034118.718227Z"></a> +2010-06-29T03:41:18.718227Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 1 of the update (modifications to checked-in files) +to the pscolor code posted in 687983, corrected for current svn head. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[contrib/pscolor/Makefile contrib/pscolor/test.c contrib/pscolor/instream.yy]</p> </blockquote> -<p><strong><a name="2009-12-08T160901.319365Z"></a> -2009-12-08T16:09:01.319365Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-29T033846.508455Z"></a> +2010-06-29T03:38:46.508455Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Handle Type 42 fonts with CharStrings dictionaries with real PS glyphs - -Details -The FAPI code regarded a Type42 font which contained a CharStrigns dictionary where the -contents of the dictionary were not simply integers but actual glyph descriptions to be -an invalid font. Regular Ghostscript, Jaws and Acrobat Distiller happily accept such -bizarre fonts and correctly render the glyphs in them, even the PostScript ones. +ijs communication should be all binary; left-over uncommitted patch from past ijs-related work</pre> +<p>[ijs/ijs_server_example.c]</p> +</blockquote> -Modified FAPI to execute the glyph descriptions in this case rather than raising an -error. +<p><strong><a name="2010-06-29T033445.878285Z"></a> +2010-06-29T03:34:45.878285Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +implements ./configure --with-ufst=UFST_ROOT_DIR ; bug 691293</pre> +<p>[doc/Make.htm base/Makefile.in base/configure.ac]</p> +</blockquote> -</pre> -<p>[psi/zfapi.c]</p> +<p><strong><a name="2010-06-29T023238.254860Z"></a> +2010-06-29T02:32:38.254860Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of static prototype that has no function.</pre> +<p>[base/gsicc_cache.c]</p> </blockquote> -<p><strong><a name="2009-12-08T075226.208006Z"></a> -2009-12-08T07:52:26.208006Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-29T005032.521441Z"></a> +2010-06-29T00:50:32.521441Z Michael Vrhel</strong></p> <blockquote> <pre> -Revert remaining changes to the clusterpush script inadvertently -included in r10461. This version is now identical with the version -in r10435. In particular, the more sophisticated gs/ghostpdl detection -which works for branches and custom-named directories is restored. -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +Fix lack of end-of-line in file.</pre> +<p>[base/gsicc_littlecms.c]</p> </blockquote> -<p><strong><a name="2009-12-08T074112.811962Z"></a> -2009-12-08T07:41:12.811962Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-28T150431.998704Z"></a> +2010-06-28T15:04:31.998704Z Henry Stiles</strong></p> <blockquote> <pre> -Update local cluster documentation to reference the 'regression' account -instead of 'marcos' and other minor cleanup. +Fix a typo, thanks to Ken for spotting this in review. </pre> -<p>[toolbin/localcluster/setupcluster toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme toolbin/localcluster/clusterpush.txt]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-12-08T072503.670058Z"></a> -2009-12-08T07:25:03.670058Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-28T105053.201708Z"></a> +2010-06-28T10:50:53.201708Z Michael Vrhel</strong></p> <blockquote> <pre> -Use the new 'regression' username in the clusterpush script. +Warnings of problems within lcms only occur now in debug mode. Fix for Bug 691401</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> -This corrects what looks like an inadvertent commit of an older version -in r10461. -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p><strong><a name="2010-06-28T051659.820980Z"></a> +2010-06-28T05:16:59.820980Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Interface with lcms so that the memory allocators make use of ghostscript's allocator. This required fixing a few bugs in littlecms where he was using free instead of _cmsFree and also having lcms.h provide the prototypes if the external mem alloc is defined. Performed cluster push with no problem. Thanks to Henry for helping me track down a 64 bit issue.</pre> +<p>[lcms/include/lcms.h base/lib.mak lcms/src/cmslut.c base/lcms.mak lcms/src/cmsio1.c base/gsicc_littlecms.c]</p> </blockquote> -<p><strong><a name="2009-12-08T063151.930815Z"></a> -2009-12-08T06:31:51.930815Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-26T200613.718954Z"></a> +2010-06-26T20:06:13.718954Z Henry Stiles</strong></p> <blockquote> <pre> -Fix a Coverity warning. Don't assign a value to a variable if it isn't used. +The ad hoc gstate setup for patterns should not call grestore after +gsave when erasing colored patterns because it results in +"wraparound", creating another gstate (no saved gstate exists when the +pattern is painted), see gsstate.c:gs_grestore() vs +gsstate.c:gs_grestore_only(). Thanks to Ken Sharp for noticing the the +extra gstate. No expected differences. </pre> -<p>[psi/imainarg.c]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-12-08T033305.781180Z"></a> -2009-12-08T03:33:05.781180Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-26T175906.494303Z"></a> +2010-06-26T17:59:06.494303Z Henry Stiles</strong></p> <blockquote> <pre> -Fix Coverity warnings caused by a recurring error in opvp driver where -'if (i > sizeof(foo)/sizeof(*foo)) ...' was used to prevent out-of-bounds -access to foo[i] . +This file should have been checked in with revision 11433 which will +not compile without this change. </pre> -<p>[contrib/opvp/gdevopvp.c]</p> +<p>[base/gdevpxat.h]</p> </blockquote> -<p><strong><a name="2009-12-08T033218.888688Z"></a> -2009-12-08T03:32:18.888688Z regression</strong></p> +<p><strong><a name="2010-06-25T120050.643763Z"></a> +2010-06-25T12:00:50.643763Z Chris Liddell</strong></p> <blockquote> <pre> -Improve the node failure job reallocation logic. +Provide more robust behaviour when FT fails to render a glyph. Inistead of silently continuing when FT errors on a glyph, we'll now attempt to use the notdef, if the notdef triggers an error, we signal the error to the GS world. This ensures that any time we expect processing to continue there is valid glyph information available to the cache and other downstream devices. + +This causes one regression difference with 34_all.PS, where an extra TTF notdef is rendered. -Details +Bug 691416</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -Since the cluster jobs are now distributed to the cluster nodes in -batches a node failure no longer requires a job restart. Instead the -jobs that had been sent to the failed node are put back into the pending -queue and sent to the remaining node(s). +<p><strong><a name="2010-06-24T071111.011423Z"></a> +2010-06-24T07:11:11.011423Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a couple of currently unused variables to silence a harmless compiler warning. +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> +<p><strong><a name="2010-06-23T171440.891928Z"></a> +2010-06-23T17:14:40.891928Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify and fix the implementation of operator --mul--, which mishandled +some cases like "16#80000000 -1 mul". Bug 691412. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[psi/zarith.c]</p> </blockquote> -<p><strong><a name="2009-12-08T004259.473070Z"></a> -2009-12-08T00:42:59.473070Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-23T155639.786311Z"></a> +2010-06-23T15:56:39.786311Z Ken Sharp</strong></p> <blockquote> <pre> -Fix a Coverity warning. Avoid a FILE pointer leak in an unlikely -case when gs_main_init2() fails. +This patch adds limited support for TrueType collection fonts to pdfwrite and ps2write. + +In the PostScript world TTC fonts are never passed down to pdfwrite, we only ever see +TrueType fonts. XPS, however, can pass back TrueType collection SNFTS data. This patch +uses the first font from the TrueType collection and writes that to the output file. +This may be too limited and may require further work in future. </pre> -<p>[psi/imainarg.c]</p> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T143308.852324Z"></a> +2010-06-23T14:33:08.852324Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug691415. When equivalent ICC profile is already created we should just use it. Thanks to Ken for getting the details together.</pre> +<p>[base/gscsepr.c]</p> </blockquote> -<p><strong><a name="2009-12-07T154953.218004Z"></a> -2009-12-07T15:49:53.218004Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-23T050213.734047Z"></a> +2010-06-23T05:02:13.734047Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI) : Ignore some TrueType faults +Fix for 691359. Problem tracked down by Alex. -Details -The file Bug689516.pdf contains TrueType fonts with problems, one of the fonts has -multiple fatal errors: +What lcms is trying to do is to figure out the best prelinearization for the incoming data prior to doing the CLUT interpolation. In the case when the input is RGB based and the output Gray, lcms was using uninitialized data in constructing is prelinearization. -1) GLYF and LOCA tables contain more than NumGlyphs glyphs, and some of these -glyphs are used. -2) At least one glyph uses more points than the declared maxPoints value. -3) The FPGM is invalid. +Tangentially related, there could still be problems with what lcms is doing here if the number of Input channels is 1 and the number of Output channels is 3. In that case, it is possible (but not likely) that I could have radically different gamma behavior in each of the RGB channels. Trans in such a case would be constructed based upon only one curve based on the red channel. In the real world, this is probably not a problem but ideally it would be optimal to use something that provides the best prelinearization in all three channels. That is an optimization for Marti to do and perhaps is already in lcms2.</pre> +<p>[lcms/src/cmsgmt.c]</p> +</blockquote> -Acrobat ignores these but elides the glyphs with problems, GS's internal TT rendering -engine issues a warning and also elides these glyphs. +<p><strong><a name="2010-06-22T145459.999510Z"></a> +2010-06-22T14:54:59.999510Z Henry Stiles</strong></p> +<blockquote> +<pre> +Erase patterns with the color white instead of filling the pattern +bitmap with 0 or 255. -Modified the FreeType FAPI code to catch certain classes of error and emit slightly -different, possibly slightly more informative, warnings, and continue, ignoring the -faulty glyph(s). +Previously the initialization was only used when anti aliasing was +enabled, now initial erasing is done for all colored patterns, +eliminating a long standing UMR in the pcl code where the pattern was +combined with the destination/source with indeterminate results. The +UMR manifested in frequent regression reports in the pcl tests +(c321.bin for example), these reports should go away with this change, +though (NB) the change only masks the underlying issue. </pre> -<p>[psi/fapi_ft.c]</p> +<p>[psi/zpcolor.c base/gxpcmap.c base/gxpcolor.h]</p> </blockquote> -<p><strong><a name="2009-12-07T054636.982240Z"></a> -2009-12-07T05:46:36.982240Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-22T061254.377174Z"></a> +2010-06-22T06:12:54.377174Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix a Coverity warning. Add missing assignment to 'code' variable. The later -use of 'code' in the conditional expression indicates that this was the -author's intention. +Fix for bug 689836 and 691248. + +Bug 689836 - Huffman tables with only positive values are decoded incorrectly +Bug 691248 - jbig2dec doesn't handle 042_11 (Huffman Symbol Region) + +This patch fixes mulfunctions seen on standard huffman table K, L, M and N. +A difference will be seen on tests_private/comparefiles/Bug690360.pdf. +This file was affected by table K mulfunction and this is a improvement. </pre> -<p>[base/gsfont.c]</p> +<p>[jbig2dec/jbig2_hufftab.h]</p> </blockquote> -<p><strong><a name="2009-12-06T191208.897785Z"></a> -2009-12-06T19:12:08.897785Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-22T060012.605983Z"></a> +2010-06-22T06:00:12.605983Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a Coverity warning. Add missing assignment to 'code' variable. The later -use of 'code' in the conditional expression indicates that this was the -author's intention. - +Revert rev. 7964 and use a different approach: allocate all structures +and proceed with their initialization only if all allocations were +successful. Fix memory corruption that happens at the PostScript +stack overflow. Bug 691295. </pre> -<p>[base/gxttfb.c]</p> +<p>[psi/idosave.h psi/ialloc.c psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-12-06T145558.088044Z"></a> -2009-12-06T14:55:58.088044Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-22T055923.952778Z"></a> +2010-06-22T05:59:23.952778Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix a Coverity warning. Check the return code from sget_variable_uint() -in image4 serialization. +Added test code for every line of each standard huffman tables. </pre> -<p>[base/gximage4.c]</p> +<p>[jbig2dec/jbig2_huffman.c]</p> </blockquote> -<p><strong><a name="2009-12-06T022136.356914Z"></a> -2009-12-06T02:21:36.356914Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-22T051553.089456Z"></a> +2010-06-22T05:15:53.089456Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix a Coverity warning and improve readability. Don't define a local variable -with the same name as a function argument. - +Add a /.notdef entry to /CharStrings dictionary if it's missing from an +embedded Type1 font. Bug 691406, customer 130. </pre> -<p>[psi/ziodevsc.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-12-06T005638.018707Z"></a> -2009-12-06T00:56:38.018707Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-21T164155.147464Z"></a> +2010-06-21T16:41:55.147464Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning and improve portability. Don't access sequential -members of a structure as an array. +Removal of improper error message. Source of a potential access violation.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> +<p><strong><a name="2010-06-21T150703.992218Z"></a> +2010-06-21T15:07:03.992218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add the 'gs_error_Remap_Color' pseudo-error, a duplicate -f e_Remap_Color in the +PostScript interpreter, to the 'base' error list so that PDL clients other than +PostScript can make use of it for high-level pattern support. </pre> -<p>[psi/zht1.c]</p> +<p>[base/gserrors.h]</p> </blockquote> -<p><strong><a name="2009-12-05T231032.160743Z"></a> -2009-12-05T23:10:32.160743Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-21T011418.832712Z"></a> +2010-06-21T01:14:18.832712Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning. Change the logic in obj_cvs() to handle all possible -combinations and avoid a potential SEGV. +auto-detect host as *BSD and use a differently named obj directory; no effect on non-*BSDs. fixes bug 687214</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> -</pre> -<p>[psi/iutil.c]</p> +<p><strong><a name="2010-06-21T003243.898825Z"></a> +2010-06-21T00:32:43.898825Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding more borland-related build tips; part of borland build fixes (bug 691400)</pre> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-12-05T192142.203093Z"></a> -2009-12-05T19:21:42.203093Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-21T001242.541103Z"></a> +2010-06-21T00:12:42.541103Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning and a potential SEGV caused by a wrong pointer -checked for NULL after memory allocation. +got some garbage in the beginning of the file introduced in an earlier commit</pre> +<p>[doc/Install.htm]</p> +</blockquote> -</pre> -<p>[psi/zfcid1.c]</p> +<p><strong><a name="2010-06-21T000112.712437Z"></a> +2010-06-21T00:01:12.712437Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +nsis-based installer script, makefile adaptation, documentation update; bug 691363</pre> +<p>[psi/winint.mak doc/Release.htm psi/nsisinst.nsi doc/Install.htm]</p> </blockquote> -<p><strong><a name="2009-12-05T172701.175245Z"></a> -2009-12-05T17:27:01.175245Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-20T233847.757390Z"></a> +2010-06-20T23:38:47.757390Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix a Coverity warning. Remove dead and commented out code that didn't -change since April 2000, rev 324. +borland build fix (bug 691400): borland defines P_tmpdir but not _P_tmpdir; similiar difference between borlandc and msvc has been seen with setmode/_setmode in the ijs code in ijs/ijs_server.c</pre> +<p>[jasper/src/libjasper/base/jas_stream.c]</p> +</blockquote> -</pre> -<p>[psi/zfcmap.c]</p> +<p><strong><a name="2010-06-20T233224.162240Z"></a> +2010-06-20T23:32:24.162240Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): update and complete documentation on working around for too-many-warnings-equal-error problem of borland c++</pre> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-12-04T155208.152428Z"></a> -2009-12-04T15:52:08.152428Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-20T232934.775566Z"></a> +2010-06-20T23:29:34.775566Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : empty glyphs causing problems after revision 10434 +borland fix (bug 691400): Borland c++ does not support c99 LL nor ULL, but use i64/ui64 like MSVC for 64-bit integer literals</pre> +<p>[base/sha2.c]</p> +</blockquote> -Details -As noted by SaGS in the thread for bug 690448, the revision for 10434 does not -properly cater for 0 length glyphs, and instead makes such glyphs the same as the next -(in GLYF table) non-empty glyph. +<p><strong><a name="2010-06-20T231137.618908Z"></a> +2010-06-20T23:11:37.618908Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> + 4 borland build fixes (bug 691400): -Also as pointed out by SaGS, the glyph length is already calculated so we don't need to -repeat the performance with the LOCA table anyway. Modified the code to use the -pre-calculated glyph lengths instead of recalculating them incorrectly. +- hook up libtiff +- build mkromfs +- build import library *.lib corresponding to the dll +- build the split-out make_filelist (see also r11388 for Bug 691302, +which does it for msvc) </pre> -<p>[psi/zfapi.c]</p> +<p>[base/bcwin32.mak]</p> </blockquote> -<p><strong><a name="2009-12-04T153803.727531Z"></a> -2009-12-04T15:38:03.727531Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-20T230349.551572Z"></a> +2010-06-20T23:03:49.551572Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : TT tables > 64Kb not read properly. +borland build does not create the obj and bin directories. part of borland build fix (691400)</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> -Details -If, while reading a TrueType table for serialisation, we ran off the end of an sfnts -string, we switch to the next string, and carry on reading the data. However, we did not -update the destination pointer leading to corruption of the already processed data and -general corruption of the table. +<p><strong><a name="2010-06-20T225732.647408Z"></a> +2010-06-20T22:57:32.647408Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +defines a unix target, since win32 requires specific compiler flags; HP-UX make/MS nmake both issues a warning and borland make issues an error for duplicate targets; fixes bug 691337, and also part of the problems with borland build (bug 691400)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> -We now update the destination pointer before continuing to write data to it. +<p><strong><a name="2010-06-20T034503.823204Z"></a> +2010-06-20T03:45:03.823204Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix malformed ICC profile generation on big endian systems, which was caused +by confusion between internal and external representation of an integer. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> +<p><strong><a name="2010-06-20T030150.289956Z"></a> +2010-06-20T03:01:50.289956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't leave wild bytes at the end of a generated ICC profile. Fix Valgrind +warnings and spurious hash value differences. </pre> -<p>[psi/zfapi.c]</p> +<p>[base/gsicc_create.c]</p> </blockquote> -<p><strong><a name="2009-12-04T035110.377640Z"></a> -2009-12-04T03:51:10.377640Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-18T235923.662717Z"></a> +2010-06-18T23:59:23.662717Z Michael Vrhel</strong></p> <blockquote> <pre> -Rearrange JP2 color space processing code to facilitate experiments with -enumerated color spaces. +Fix so that when the CIE color spaces are released, the icc equivalent space is also rc decremented as is the profile.</pre> +<p>[base/gscscie.c]</p> +</blockquote> -</pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p><strong><a name="2010-06-18T180659.517404Z"></a> +2010-06-18T18:06:59.517404Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for memory leak in creation of icc profile from def(g) objects.</pre> +<p>[base/gsicc_create.c]</p> </blockquote> -<p><strong><a name="2009-12-04T003304.330450Z"></a> -2009-12-04T00:33:04.330450Z Robin Watts</strong></p> +<p><strong><a name="2010-06-18T020013.716745Z"></a> +2010-06-18T02:00:13.716745Z Alex Cherepanov</strong></p> <blockquote> <pre> -Extend ghostscript graphics library with the capability to handle different -start, end and dash caps. +Use operator --search-- instead of --token-- during PDF rebuilding +to reduce the load on the name table, slightly improve the speed, and +work around the bug 691005 in a few cases. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> -The existing gs_setlinecap function sets all 3 caps in lockstep, so no change -with current code. New functions gs_setlinestartcap, gs_setlineendcap, -gs_setlinedashcap set the different cap styles. +<p><strong><a name="2010-06-17T202333.279930Z"></a> +2010-06-17T20:23:33.279930Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adjust self-reference of bswin32.mak to correct location. Part 1 of fix to bug 691400</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> -The dashing code now leaves segment notes in the output path to inform the -choice of which caps to use. The stroking code is updated to honours these -notes. +<p><strong><a name="2010-06-17T200330.325885Z"></a> +2010-06-17T20:03:30.325885Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +mentioning -P-/-P and further reference to the INITIALIZATION FILES and Use.htm in the man page. bug 691350</pre> +<p>[man/gs.1]</p> +</blockquote> -gxclpath.c and gdevvec.c assume that all caps are the same as start_cap. -Check that this is valid. +<p><strong><a name="2010-06-17T194605.887718Z"></a> +2010-06-17T19:46:05.887718Z Michael Vrhel</strong></p> +<blockquote> +<pre> +add missing type def for gsicc_create_mashed_clut</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> -</pre> -<p>[base/gsstate.c base/gxclpath.c base/gxline.h base/gxpdash.c base/gxpath.h base/gdevpdtt.c base/gsline.c base/gdevvec.c base/gdevpdfg.c base/gsline.h base/gxstroke.c base/gxclrast.c]</p> +<p><strong><a name="2010-06-17T193839.362075Z"></a> +2010-06-17T19:38:39.362075Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split make_filelist functionality out of setupgs, to allow UAC restriction during packaging of the installer. Bug 691302</pre> +<p>[psi/dwsetup.cpp psi/winint.mak psi/msvc32.mak psi/mkfilelt.cpp]</p> </blockquote> -<p><strong><a name="2009-12-03T192112.315688Z"></a> -2009-12-03T19:21:12.315688Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-17T193128.160475Z"></a> +2010-06-17T19:31:28.160475Z Hin-Tak Leung</strong></p> <blockquote> <pre> -I missed a file that should have been part of the r10440 commit. -</pre> -<p>[toolbin/localcluster/clusterpull.sh]</p> +add info about silent batch installation; bug 691268</pre> +<p>[doc/Install.htm]</p> </blockquote> -<p><strong><a name="2009-12-03T191412.694527Z"></a> -2009-12-03T19:14:12.694527Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-17T192820.229863Z"></a> +2010-06-17T19:28:20.229863Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning by removing redindant checks. The 'pie' pointer cannot -be null here because it is dereferenced earlier. +rc_decrement any icc objects that may exist in the imager state that was created for handling the conversion from PS CIE objects to ICC profiles.</pre> +<p>[base/gscie.c]</p> +</blockquote> -</pre> -<p>[psi/zimage.c]</p> +<p><strong><a name="2010-06-17T180435.295987Z"></a> +2010-06-17T18:04:35.295987Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Free up tag list when done creating icc profile from PDF cal type.</pre> +<p>[base/gsicc_create.c]</p> </blockquote> -<p><strong><a name="2009-12-03T173038.929684Z"></a> -2009-12-03T17:30:38.929684Z Robin Watts</strong></p> +<p><strong><a name="2010-06-17T171334.616951Z"></a> +2010-06-17T17:13:34.616951Z Michael Vrhel</strong></p> <blockquote> <pre> -Remove stray (incorrect) initialisation. This removes a "removing const" -warning. +Change to help track down any memory leaks related to the new icc code. Also fix so that gs_init_iccmanager copies the null character from the default profile string names. There was a mismatch between what happened here and what happens when the default user params are set. This was causing the profiles to reset in the manager when they did not need to be.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> +<p><strong><a name="2010-06-17T092018.689467Z"></a> +2010-06-17T09:20:18.689467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) move two FAPI related members from the show enumerator structure to the text +enumerator structure. This ensures that these members are always available for rendering +and eliminates a GPF caused when a device's text_begin method returns a text enumerator +rather than the show enumerator returned by gx_default_text_begin. +No differences expected. </pre> -<p>[base/gdevpdfe.c]</p> +<p>[base/gxchar.h base/gxtext.h]</p> +</blockquote> + +<p><strong><a name="2010-06-16T061125.298134Z"></a> +2010-06-16T06:11:25.298134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +a few more CRLF eol and svn property corrections</pre> +<p>[zlib/contrib/dotzlib/LICENSE_1_0.txt zlib/contrib/vstudio/readme.txt zlib/contrib/masmx64/readme.txt base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h zlib/projects/visualc6/README.txt zlib/contrib/dotzlib/readme.txt]</p> </blockquote> -<p><strong><a name="2009-12-03T161800.535689Z"></a> -2009-12-03T16:18:00.535689Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-15T171715.944441Z"></a> +2010-06-15T17:17:15.944441Z Michael Vrhel</strong></p> <blockquote> <pre> -Improved cluster reliability (automatically reset stale nodes, move -watchdog from cron to run.pl, check for periodic transfer, etc.). +Rename of a few functions to match documentation, update of gdevwts.c to use new color architecture, addition of minor utility functions for use in gxps. This should not generate regressions.</pre> +<p>[base/lib.mak base/gsicc_littlecms.h base/gsicc_cache.h base/gsicc_manage.c base/gscms.h base/gdevwts.c base/gsicc_manage.h base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-15T165440.171304Z"></a> +2010-06-15T16:54:40.171304Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of Color Architecture document in preparation for release of GS 9.0</pre> +<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/GS9_Color_Management.pdf doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/GS9_Color_Management.tex doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps]</p> +</blockquote> +<p><strong><a name="2010-06-14T231027.633844Z"></a> +2010-06-14T23:10:27.633844Z Henry Stiles</strong></p> +<blockquote> +<pre> +Modified line endings from CRLF -> LF and propset to native. </pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> +<p>[base/gsicc_cache.c base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h]</p> </blockquote> -<p><strong><a name="2009-12-03T060839.915454Z"></a> -2009-12-03T06:08:39.915454Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-14T184247.881614Z"></a> +2010-06-14T18:42:47.881614Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add argument list and 'minst' address to -Z: debugging report to assist in tracking -cluster test logs (to see which, if any, jobs start but don't finish). +Fix yet another case where memcpy() copies a memory block on itself. +This doesn't cause any problems on Linux or Windows but violates the +spec and irks Valgrind. Bug 691394. </pre> -<p>[psi/imain.c psi/imainarg.c]</p> +<p>[base/gsline.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T180749.834071Z"></a> +2010-06-14T18:07:49.834071Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the "<font> is being rendered with FAPI=<renderer>" messages. But leave a warning if we fall back to the old GS renderer.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-12-03T000230.276576Z"></a> -2009-12-03T00:02:30.276576Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-14T111907.131026Z"></a> +2010-06-14T11:19:07.131026Z Ken Sharp</strong></p> <blockquote> <pre> -send images with Interpolate=true back to gx_default. +Fix (pdfwrite) : limit composite object sizes when producing PDF/A + +Bug #691370 "Dictionary size not limited for PDF/A-1" -comparefiles/148-01.ps have a few Type 1 images with -<<Interpolate true>> are not rendered with Interpolate. +The PDF/A specification insists that the implementation limitations of Acrobat as +defined in PDF 1.4 should be followed when producing PDF/A files. Accordingly this +limits the size of dictionaries to 4095 and arrays to 8191 when producing PDF/A output. -Since pxlcolor/pxlmono cannot do Interpolate within, -and has no code to do such thing, the correct solution -is simply detect such images and use gx_default_*. Fixes bug 690970. +Since there is no way to ignore the problem, setting the PDFACompatibiltyPolicy to 1 +'don't emit the object, carry on producing PDF/A' can't be made to work. Since the +user has expressed a desire for an output file, we fall back to Policy 0 'Produce a +regular PDF file' instead. +Also extend PDFACompatibilityPolicy to include policy 2 'abort'. + +No test file for this case, no differences expected. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gdevpdfo.c]</p> </blockquote> -<p><strong><a name="2009-12-02T195705.281734Z"></a> -2009-12-02T19:57:05.281734Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-14T111418.794921Z"></a> +2010-06-14T11:14:18.794921Z Ken Sharp</strong></p> <blockquote> <pre> -Improved logic in clusterpush.pl to detect if running from a gs or ghostpdl director. +Extend to PDF/X emission the enhancement in revision 11369 which prevents emitting +invalid PDF/A files when glyphs are missing from fonts. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-12-02T142041.078998Z"></a> -2009-12-02T14:20:41.078998Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-14T111240.380849Z"></a> +2010-06-14T11:12:40.380849Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI): error in revision 10433 - -Details -Accidentally committed a version where the calculation of the initial offset to test -against was the end of the LOCA table, instead of the theoretical maximum size of the -GLYF table. +Update the ps2pdf documenataion to reflect the fact that PDF/X-3 conversion now also +uses the PDFACompatibilityPolicy to control behaviour when a conforming file cannot be +produced. +Also applied some general grammatical correction to the text. </pre> -<p>[psi/zfapi.c]</p> +<p>[doc/Ps2pdf.htm]</p> </blockquote> -<p><strong><a name="2009-12-02T141344.401916Z"></a> -2009-12-02T14:13:44.401916Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-14T093417.990404Z"></a> +2010-06-14T09:34:17.990404Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI) : FAPI code not expecting unsorted LOCA/GLYF tables +Fix (pdfwrite) : Don't emit invalid PDF/A files -Details -The FAPI code needs to copy the GLYF data, to do this it needs to know how long the -data is. The only way to do this is to consult the LOCA table which gives the offset -to each glyph in the GLYF table. Subtracting the start of the glyph from the start of -the next glyph in the GLYF table gives the length. +Bug #691383 "pdfwrite emits invalid PDF/A when glyphs are missing in the input font." -The existing code assumed that the GLYF (and therefore LOCA) tables was ordered, that is -that glyph 1 followed glyph 0 and so on. There is no such restriction, glyphs can -appear in any order, so the simple subtraction caused incorrect glyph lengths, which -could lead to truncation of the data and caused errors. +If the input file references glyphs which are not in the font, then we could emit a +PDF/A file which also referenced glyph which were not present in the fonts embedded +in the PDF file. -We now pick up the offset of the glyph we want from the LOCA table, and then search the -entire table to find the glyph whose offset is nearest (but after) the offset of the -glyph we want. +This patch uses the PDFACompatibilityPolicy to control the action in this case, and +avoid emitting invalid PDF/A files. +Also extended the functionality of the PDFACompatibilityPolicy to allow the user to +abort PDF file production when a valid PDF/A file cannot be produced. + +No expected differences as PDF/A production is not tested by regression code. </pre> -<p>[psi/zfapi.c]</p> +<p>[base/gdevpdfm.c base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-12-02T070016.393155Z"></a> -2009-12-02T07:00:16.393155Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-12T151956.267658Z"></a> +2010-06-12T15:19:56.267658Z Henry Stiles</strong></p> <blockquote> <pre> -Fix vertical positioning of interpolated images that caused images to be moved -down, possibly past the end of the band. An extra multiplication by -1 was the -culprit. Bug 690885, customers 531 and 850. - +The ICC profile file name buffer was too small to accommodate the +trailing null appended by strcat resulting in an invalid write to +memory. </pre> -<p>[base/gxiscale.c]</p> +<p>[base/gsicc_manage.c]</p> </blockquote> -<p><strong><a name="2009-12-01T193906.587717Z"></a> -2009-12-01T19:39:06.587717Z Robin Watts</strong></p> +<p><strong><a name="2010-06-11T172406.899434Z"></a> +2010-06-11T17:24:06.899434Z Chris Liddell</strong></p> <blockquote> <pre> -Fix dropouts seen with thin lines by using the method described in bug 687721, -namely, that of extending the trapezoids filled by a small triangular region -at each end. +In the event of a FreeType error when scaling a font face, don't clean up the FT data, but leave it to the garbage collector +to call the font object's "finalize" function, which will then clean up the FT data. -Local cluster testing shows 66 changes, of which only 20 or so are real. -Of these, most are clearly improvements, and the rest are neutral. +Secondly, add code to deal with very low resolutions underflowing some of FT's fixed point code (similar to code for small +scale factors). +Bug 691381 </pre> -<p>[base/gdevddrw.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-12-01T191035.168567Z"></a> -2009-12-01T19:10:35.168567Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-11T075337.156852Z"></a> +2010-06-11T07:53:37.156852Z Ken Sharp</strong></p> <blockquote> <pre> -Update the clustermonitor cgi script to read the new combined queue -file for pending jobs. +Fix pdfwrite - device reference counting problem with patterns and XPS + +When using XPS as the input PDL, and pdfwrite as the output device, the pdfwrite device +was counted up by pattern accumulator allocation, but the clist accumulator never +counted the device down, leading to a reference count > 1 at EOJ. This meant that +the pdfwrite device wasn't closed, since pdfwrite only emits the PDF file when it is +closed this led to invalid unfinished PDF files. + +The code here modifies the behaviour of the pattern management so that we don't use the +'clist' path for accumulating patterns *if* the device can accumulate patterns itself +*and* the PDL doesn't have_pattern_streams (to avoid pathological PDF file problems) + +This resolves the issue with device reference counts and all the FTS XPS files now +produce complete PDF files. </pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-12-01T190827.833775Z"></a> -2009-12-01T19:08:27.833775Z Ralph Giles</strong></p> +<p><strong><a name="2010-06-10T161108.241878Z"></a> +2010-06-10T16:11:08.241878Z Chris Liddell</strong></p> <blockquote> <pre> -Update the clustermonitor cgi script to return regression results. +When extracting a path from the FAPI world (for a charpath, for example), only close the path if it has been "opened". + +This prevents empty paths from non-marking glyphs resulting in a point being rendered on the page. -This makes use of the CGI module to parse an optional 'report' query -parameter, which if present, returns a specific regression result -instead of the default json dashboard status. Current it only supports -svn jobs, not custom runs submitted through the clusterpush script. +Another part of Bug 691252. + +This change causes ~195 differences to be reported on the cluster, but they are all progressions. -Also cleans up the the paths to use a $clusteroot variable for the -prefix. </pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-01T183608.279176Z"></a> -2009-12-01T18:36:08.279176Z Robin Watts</strong></p> +<p><strong><a name="2010-06-10T140640.549557Z"></a> +2010-06-10T14:06:40.549557Z Chris Liddell</strong></p> <blockquote> <pre> -Factor out the miter checking code into a single function rather than having it -repeated 3 times. +Make the rendering of the Truetype notdef glyph optional with the FAPI interface (as per the previous behaviour). -Add a test to the extracted code to spot the case where the cdelta's are too -small to be reliably used to calculate the correct miter point. In such cases -revert to using the raw vectors suitably scaled. +A few cluster differences are expected as we have test files which use the TTF notdef, I have checked all the differences, and they are correct. -Testing reports 69 changes in the regression files, none of which can be -reproduced locally. This fixes bug 690098. +This is part of Bug 691252 </pre> -<p>[base/gxstroke.c]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-12-01T180858.973794Z"></a> -2009-12-01T18:08:58.973794Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-09T185909.419344Z"></a> +2010-06-09T18:59:09.419344Z Robin Watts</strong></p> <blockquote> <pre> -Fix a Coverity warning and a potential array overrun in obj_cvp(). +Update comparerevs.pl script so that it no longer ignores hash values +on files taht have a non-zero error return. It now only ignores hash +values on timeouts (because runs can easily produce different numbers of +pages on each run). + +Also, the output is updated to show error values together with hash results. +Error values are now always in brackets, on a red background. </pre> -<p>[psi/iutil.c]</p> +<p>[toolbin/localcluster/comparerevs.pl]</p> </blockquote> -<p><strong><a name="2009-12-01T160436.569081Z"></a> -2009-12-01T16:04:36.569081Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-08T162039.058317Z"></a> +2010-06-08T16:20:39.058317Z Chris Liddell</strong></p> <blockquote> <pre> -Another clusterpush.pl change that was lost, should have been part of r10421. -</pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +In bytes_copy_rectangle() clamp the length of each row to be copied to the stride of the raster. This takes care of problems copying bitmaps from FT (or potentially other font libraries) which use different alignment to the "internal" rasters. Bug 691328.</pre> +<p>[base/gsbitops.c]</p> </blockquote> -<p><strong><a name="2009-12-01T153715.738865Z"></a> -2009-12-01T15:37:15.738865Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-08T010410.677952Z"></a> +2010-06-08T01:04:10.677952Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fixed localcluster/clusterpush.pl to work with casper3. +Check whether the font has /Encoding before trying to use it. Recent FAPI +changes give /BuildChar procedure to all fonts including CIDFont resources. +So the check for non-null pfdata->BuildChar no longer guaranteed that the +font has /Encoding. Bug 691311. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[psi/zchar.c]</p> </blockquote> -<p><strong><a name="2009-12-01T090210.394257Z"></a> -2009-12-01T09:02:10.394257Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-07T171420.171809Z"></a> +2010-06-07T17:14:20.171809Z Michael Vrhel</strong></p> <blockquote> <pre> -All local cluster jobs are now queued (instead of just user jobs). -This eliminates a race condition that could have occured if the -ghostpdl/ghostscript repository is updated after the cluster master -initiates a cluster run but before the nodes perform the svn update. -As a side-effect of this change svn commit jobs are not longer given -priority over user jobs. +Fix for Bug 691368. -</pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +lcms appears not to check its handles of link transforms when a profile is released, to clear out xform->InputProfile. Probably due to the fact that lcms may not expect a change of the formatters after the link is created. That would imply that we would need to create links based upon data types, which is not so efficient. Disable this check in lcms since it is only related to named color profiles, which we will not run into. Will kick this up to Marti.</pre> +<p>[lcms/src/cmspack.c]</p> </blockquote> -<p><strong><a name="2009-12-01T034054.743929Z"></a> -2009-12-01T03:40:54.743929Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-06-06T180036.332831Z"></a> +2010-06-06T18:00:36.332831Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix a Coverity warning about unchecked negative return and a possible -access to an array at a negative position. +Fix for Bug 691367. Seg fault should no longer occur. If an attempt is made to set a color space in the graphic state and the ICC manager's profiles have not yet been initialized, it will be taken care of. </pre> +<p>[base/gsicc_manage.c base/gscspace.c]</p> +</blockquote> +<p><strong><a name="2010-06-05T200355.912155Z"></a> +2010-06-05T20:03:55.912155Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't copy memory block into itself; clear a Valgrind warning. </pre> -<p>[psi/zupath.c]</p> +<p>[base/gsdparam.c]</p> </blockquote> -<p><strong><a name="2009-11-30T233723.019948Z"></a> -2009-11-30T23:37:23.019948Z Michael Vrhel</strong></p> +<p><strong><a name="2010-06-05T192040.615579Z"></a> +2010-06-05T19:20:40.615579Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for bug 690218. If the SeparationOrder was specified, then we should only allocate buffer space for those colorants. See devn_put_params for details on this. Right now, the PDF14 device will always include CMYK. A future optimization is to be able to NOT have those included in the bufferallocations if we don't specify them. In that case it would then be possible to output 8 separations at a time without using compressed color. Note that if SeparationOrder is not specified, the number of colorants used in the pdf14 device buffer allocations is equal to the number of colorants in the document up to a maximum of 64.</pre> -<p>[base/gstrans.c]</p> +Fix for indeterminisms in some PS files where the alternate tint transform color space for a DeviceN or Separation color space is CIE based. Previously we were returning either CMYK, or RGB based based upon the channel count for the CIE space. Now we are returning an equivalent ICC based color space. Also minor fix for uninitialized memory in generated profile.</pre> +<p>[base/gscdevn.c base/gsicc_create.c base/gscsepr.c]</p> </blockquote> -<p><strong><a name="2009-11-30T231219.025235Z"></a> -2009-11-30T23:12:19.025235Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-06-03T165717.441589Z"></a> +2010-06-03T16:57:17.441589Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Change from batch job distribution system to polled system. -</pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +observe minst->search_here_first condition in file search; bug 691350</pre> +<p>[psi/zfile.c]</p> </blockquote> -<p><strong><a name="2009-11-30T225724.661785Z"></a> -2009-11-30T22:57:24.661785Z Ray Johnston</strong></p> +<p><strong><a name="2010-06-03T003207.629281Z"></a> +2010-06-03T00:32:07.629281Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for segfault when image 'clues' are accessed during a GC after a -restore has erased (set to zero) the contents. Bug 690915. +Adding -P- and -dSAFER to many POSIX shell scripts, win32 and OS/2 batch scripts; bug 691355</pre> +<p>[lib/bjc610b4.upp lib/bjc610b6.upp lib/lp386.bat lib/bjc610b7.upp lib/bjc610b8.upp lib/gsndt.bat lib/pdf2dsc lib/eps2eps.bat lib/st640plg.upp lib/ras8m.upp lib/ras24.upp lib/pv.sh lib/bj8oh06n.upp lib/necp2x.upp lib/stc600p.upp lib/pfbtopfa.bat lib/stc640p.upp lib/wftopfa lib/ps2ps lib/stc2s_h.upp lib/stc500ph.upp lib/ps2ps.cmd lib/pphs lib/stcany_h.upp lib/pf2afm lib/gsdj500 lib/dnj750c.upp lib/pf2afm.cmd lib/stc600pl.upp lib/stc800pl.upp lib/gsbj lib/ps2epsi lib/ps2epsi.cmd lib/dnj750m.upp lib/dumphint lib/gsnd lib/font2c lib/gsdj.bat lib/pdfopt lib/ras32.upp lib/ps2ps2.bat lib/pdf2ps lib/ps2pdf.cmd lib/pdf2ps.cmd lib/stc500p.upp lib/cdj690.upp lib/stc600ih.upp lib/st640p.upp lib/stc_h.upp lib/gslj.bat lib/stcany.upp lib/stc800ih.upp lib/bdftops.bat lib/stc_l.upp lib/ras1.upp lib/gslp.bat lib/lpgs.bat lib/st640ihg.upp lib/ras3.upp lib/stc1520h.upp lib/ras4.upp lib/stc300.upp lib/bj8ts06n.upp lib/eps2eps lib/ps2ascii.bat lib/eps2eps.cmd lib/stc2_h.upp lib/pdf2dsc.bat lib/stc.upp lib/stc300bl.upp lib/stc300bm.upp lib/bj8pp12f.upp lib/pfbtopfa lib/stc800p.upp lib/bjc610a0.upp lib/bj8gc12f.upp lib/st640pg.upp lib/bjc610a1.upp lib/cdj690ec.upp lib/bjc610a2.upp lib/ps2ps.bat lib/bjc610a3.upp lib/bjc610a4.upp lib/bjc610a5.upp lib/bj8hg12f.upp lib/stc2.upp lib/st640pl.upp lib/bjc610a6.upp lib/printafm lib/bjc610a7.upp lib/pf2afm.bat lib/gsdj500.bat lib/bjc610a8.upp lib/ps2pdfxx.bat lib/lpr2.bat lib/lp386r2.bat lib/stc200_h.upp lib/unix-lpr.sh lib/gsdj lib/necp2x6.upp lib/ps2ps2 lib/ps2epsi.bat lib/gsbj.bat lib/bj8pa06n.upp lib/ps2ps2.cmd lib/dumphint.bat lib/cdj550.upp lib/gslj lib/gsnd.bat lib/font2c.bat lib/bdftops lib/pdfopt.bat lib/pdf2ps.bat lib/st640ih.upp lib/gslp lib/ps2pdfwr lib/bjc610b1.upp lib/bjc610b2.upp lib/dvipdf lib/ps2ascii lib/bjc610b3.upp lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-06-02T174539.111970Z"></a> +2010-06-02T17:45:39.111970Z Robin Watts</strong></p> +<blockquote> +<pre> +Introduce new ENABLE_TRAP_AMALGAMATION build define. If set at build time +then code is introduced to gxfillts.h to try to amalgamate some of the +rectangles produced into the surrounding trapezoids. -DETAILS: +This can cause small rendering differences due to the difference in rounding +within scan conversion and trap extraction. + +The option is disabled by default. + +No expected differences with it disabled. 439 non pdfwrite differences, 99 +differences with it enabled. -As described in gx_image_free_enum comment, the penum may not be freed if -it is at a higher (outer) save level, so the contents (including the -"clues" are zeroed, but the ENUM in image_enum_enum_ptrs (gxipixel.c) -did not check for this. This was indeterministic since it depended on -when the GC scan ran. </pre> -<p>[base/gxipixel.c]</p> +<p>[base/gxfillts.h]</p> </blockquote> -<p><strong><a name="2009-11-30T203448.913220Z"></a> -2009-11-30T20:34:48.913220Z Henry Stiles</strong></p> +<p><strong><a name="2010-06-02T083707.985901Z"></a> +2010-06-02T08:37:07.985901Z Ken Sharp</strong></p> <blockquote> <pre> -Remove an unnecessary diagnostic debug printf which should not have -been checked in. No expected differences. +Revision 11348 accidentally included a number of font definitions in an updated cidfmap, +This removes those definitions, which should not be present. </pre> -<p>[base/gsalloc.c]</p> +<p>[Resource/Init/cidfmap]</p> </blockquote> -<p><strong><a name="2009-11-30T164008.309112Z"></a> -2009-11-30T16:40:08.309112Z Henry Stiles</strong></p> +<p><strong><a name="2010-06-02T082923.801870Z"></a> +2010-06-02T08:29:23.801870Z Ken Sharp</strong></p> <blockquote> <pre> -New procedure to dump memory chunks with less detail. This will be -used by the non garbage collecting client languages to print memory -leak information at the end of jobs. No expected differences. +Documentation change +Updated the comments at the head of the file to make it plain that the entries in the +CSI array must be strings, not names. Although this is clearly documented in use.htm +we have recently had several reports in which users have been trying to set name values +in the array. + +Also added a pointer to the documentation as a further hint. </pre> -<p>[base/gsalloc.c]</p> +<p>[Resource/Init/cidfmap]</p> </blockquote> -<p><strong><a name="2009-11-30T090526.245478Z"></a> -2009-11-30T09:05:26.245478Z Ken Sharp</strong></p> +<p><strong><a name="2010-06-02T074657.542525Z"></a> +2010-06-02T07:46:57.542525Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI): Can't handle FontBBox as 't_mixedarray' +Fix pdfwrite, faulty matrix transformations for Shading dictionaries + +Bug #691352 "cairo pdf mis-distilled" + +Patterns in PDF are unpleasantly complicated by the need to transform the pattern to +the 'default co-ordinate space'. Normally this means that we undo the resolution scaling +which is normally applied to the CTM. + +For page streams this works well, but for forms the 'default co-ordinate space' is +the space of the parent. For one level of form there is therefore no difference between +the page and the form. When forms are nested however, the lower form's space becomes +that of the parent. This means that patterns inside forms, which are nested inside +another form, need to be transformed to the parent form co-ordinate space, not the +page space. -Details -The FAPI code extracts the entries in the FontBBox, but only catered for the internal -GS 't_array' or 't_shortarray' types, we can also get the 't_mixedarray' type. +Since we don't currently emit forms from pdfwrite for anything except transparency +groups what this means in practice is that we don't undo the CTM transformation if +we are rendering a pattern inside a form, nested inside at least one other form. </pre> -<p>[psi/zfapi.c]</p> +<p>[base/gdevpdfx.h base/gdevpdft.c base/gdevpdfv.c base/gdevpdfb.h]</p> </blockquote> -<p><strong><a name="2009-11-30T024711.189285Z"></a> -2009-11-30T02:47:11.189285Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-06-01T174120.224359Z"></a> +2010-06-01T17:41:20.224359Z Michael Vrhel</strong></p> <blockquote> <pre> -updating begin_image and fill_mask to cope with white/black+transparent - -Apparently not all black/white+transparent uses the copy_mono code path, which -has been recently updated to do white-on-mask. There are two other ways -black/white+transparent can pass through pxl - in begin_image() (as part of an -RGB/Gray image with an alpha channel) which is most of the files in bug -690947, and fill_mask() which has no known cases yet. +Rename of gsicccache.c/h to gsicc_cache.c/h and gsiccmanage.c/h to gsicc_manage.c/h to fall in line with the name space of the other files that came from the icc branch. Currently working on the documentation and it is clear that this is needed (and I wish I had done it earlier).</pre> +<p>[/trunk/ghostpdl/pxl/pxpthr.c /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/xps/ghostxps.h base/gsiccmanage.c base/gxshade1.c base/gsiccmanage.h base/gscsepr.c base/gxshade4.c base/gxshade6.c /trunk/ghostpdl/pxl/pxtop.c base/gxcmap.c ghostscript.vcproj base/gsistate.c /trunk/ghostpdl/pcl/pcl.mak base/gdevrinkj.c base/gdevwts.c base/gdevxcf.c base/gxicolor.c base/devs.mak base/gsicc.c base/gdevimdi.c base/gscdevn.c base/gxclread.c base/gdevpsd.c base/lib.mak base/gxiscale.c base/gsicc_manage.c psi/int.mak /trunk/ghostpdl/pxl/pxgstate.c /trunk/ghostpdl/pcl/pctop.c base/gsicc_manage.h psi/zicc.c psi/zdevice.c base/gdevp14.c base/gsstate.c base/gsicc_cache.c base/gsicc_create.c psi/zcie.c base/gsicccache.c base/gxclist.c base/gsicc_cache.h base/gsicccache.h base/gstrans.c base/gscms.h base/gxidata.c base/gdevpdfc.c base/gxblend.c base/gxshade.c psi/zusparam.c base/gdevpdfg.c base/gxp1fill.c base/gxclrast.c base/gsciemap.c]</p> +</blockquote> -Note the new addition to fill_mask() and begin_image() is not identical to that -in copy_mono() in the case of the drawing color being white - fill_mask() and -begin_image() both try to draw white on the blacks of a black/white mask and -transparent on the white, whereas copy_mono() draws white on the white and draw -transparent on the opposite (set to black but really transparent), so the -source is inverted in fill_mask() and begin_image() compared to copy_mono(). +<p><strong><a name="2010-05-31T144914.514014Z"></a> +2010-05-31T14:49:14.514014Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +for "ln -s base/unix-gcc.mak Makefile; make" builds, do not modularize X, nor build most of the modularzed linux modules, since they depend on the linux GNU linker</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -</pre> -<p>[base/gdevpx.c]</p> +<p><strong><a name="2010-05-31T144108.956692Z"></a> +2010-05-31T14:41:08.956692Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another attempt to make "ln -s base/unix-gcc.mak Makefile; make" to work; libtiff really want configure so we hook it in</pre> +<p>[base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-30T024119.062276Z"></a> -2009-11-30T02:41:19.062276Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-31T095814.532526Z"></a> +2010-05-31T09:58:14.532526Z Hin-Tak Leung</strong></p> <blockquote> <pre> -set ROP to paint through character glyphs (pattern tiles). +more icc branch merge related change to make "make -f base/unix-gcc.mak" and other targets work"</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> -Apparently complete pattern tiles are sent as a character in a custom symbol -font (rather than small rectangles for incomplete tiles), thus allowing re-use. -The code set the fill color but never set ROP to "paint with brush color" thus -glyphs appears as black. This patch set the ROP3 operation to paint through -complete pattern tiles. Fixes bug 690949, also some of the problems in bug -690585 (for ghostpdl). +<p><strong><a name="2010-05-28T180708.826907Z"></a> +2010-05-28T18:07:08.826907Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #690793. PJL Formlines was not set correctly if the paper +size changed. Also, refactors such that PXL and PJL get paper sizes +from the same source table. </pre> -<p>[base/gdevpx.c]</p> +<p>[/trunk/ghostpdl/pl/pl.mak /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/pl/pjparse.c /trunk/ghostpdl/pxl/pxsessio.c /trunk/ghostpdl/pxl/pxstate.h base/gdevpxen.h base/gdevpxut.c]</p> </blockquote> -<p><strong><a name="2009-11-30T023644.876347Z"></a> -2009-11-30T02:36:44.876347Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-27T210221.460781Z"></a> +2010-05-27T21:02:21.460781Z Michael Vrhel</strong></p> <blockquote> <pre> -fix typo introduced in r5556 - -It appears that 'r5556: Added macros for assertions' introduced a typo. -There is no known effect from this typo, except possibly stroke color -not being set where it should. +Fix so that shading strokes that go through the clist transparency code communicate the transparency device so that the proper color information is used as opposed to the color information related to the final target device. This should fix the indeterminism with bug688807.pdf when going out to a monochrome device.</pre> +<p>[base/gdevp14.c base/gxshade.c]</p> +</blockquote> +<p><strong><a name="2010-05-27T153001.093150Z"></a> +2010-05-27T15:30:01.093150Z Henry Stiles</strong></p> +<blockquote> +<pre> +Forward declarations for statics functions were accidentally placed in +the header file instead of the c file. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gdevp14.c base/gdevp14.h]</p> </blockquote> -<p><strong><a name="2009-11-30T023052.552359Z"></a> -2009-11-30T02:30:52.552359Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-27T004457.701730Z"></a> +2010-05-27T00:44:57.701730Z Michael Vrhel</strong></p> <blockquote> <pre> -another ID to name update</pre> -<p>[doc/AUTHORS]</p> +Fix for indeterminism when using psdcmyk device and interpolated images. For cases where the device profile has fewer components than the actual number of device colorants we need to use the slower interpolation code. Otherwise we end up encoding uninitialized memory. </pre> +<p>[base/gxiscale.c]</p> </blockquote> -<p><strong><a name="2009-11-30T022945.556262Z"></a> -2009-11-30T02:29:45.556262Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-26T220150.106123Z"></a> +2010-05-26T22:01:50.106123Z Michael Vrhel</strong></p> <blockquote> <pre> -avoid setting join to invalid value; issue found in bug 690585</pre> -<p>[base/gdevpx.c]</p> +Fix for bug690218. For clist reader the pdf14 device was getting its color information set based upon the number of spot colorants in the page. The real number should be based upon the number of actual components the device is capable of handling. This occurs when using separation device with a limited set of colorants invoked via a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ] +/SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice"</pre> +<p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-11-29T024331.722821Z"></a> -2009-11-29T02:43:31.722821Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-26T181652.113331Z"></a> +2010-05-26T18:16:52.113331Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix to correct mask offsets (bit order) for big_endian as well as sharing this -array for the various devices. Bug 690954. +Improvements and fixes in icc search path description and bolder alert with respect to Windows delimiter \" interpretation . Thanks to Ray.</pre> +<p>[doc/Use.htm]</p> +</blockquote> +<p><strong><a name="2010-05-26T160836.881438Z"></a> +2010-05-26T16:08:36.881438Z Henry Stiles</strong></p> +<blockquote> +<pre> +The languages (pcl, xps, pclxl) debug builds were broken with the icc +branch merge, gs_abort() is not supported. The code has been changed +similarly to the old exit upon failed assertion code in gsalloc.c +where gs_abort() is replaced with return, fixes bug #691340. </pre> -<p>[base/gdevtsep.c]</p> +<p>[base/gsicc_profilecache.c]</p> </blockquote> -<p><strong><a name="2009-11-28T105910.646748Z"></a> -2009-11-28T10:59:10.646748Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-26T030702.463936Z"></a> +2010-05-26T03:07:02.463936Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (FAPI) : segmentation violation with Multiple Master fonts - -Details -When extracting the $Blend procedure from a Multiple Master font, if the procedure -contained a name object, there was a typo which used an uninitialised variable -instead of the extracted name element to convert the name to a string. - -Fixed by using the correct name object instead +Addition of lcms and new icc files to Visual studio solution. Also did a little organizing of the files in the explorer window base folder.</pre> +<p>[ghostscript.vcproj]</p> +</blockquote> -</pre> -<p>[psi/zfapi.c]</p> +<p><strong><a name="2010-05-25T204302.039929Z"></a> +2010-05-25T20:43:02.039929Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of documentation, clarifying the search methods used for finding the icc profiles.</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2009-11-28T043943.983110Z"></a> -2009-11-28T04:39:43.983110Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-25T193823.177347Z"></a> +2010-05-25T19:38:23.177347Z Michael Vrhel</strong></p> <blockquote> <pre> -Changes to accomodate the transition from casper2 to casper3. -</pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl]</p> +Removal of iccprofiles/ from default icc profile names and post-pend %rom% with iccprofiles/ . This is in preparation for having the ps init code initialize a default value for ICCProfilesDir (which will be ./iccprofiles/ ) so that code works with COMPILE_INITS=0 when not in the base directory and when -sICCProfilesDir is not specified on the command line.</pre> +<p>[base/gsiccmanage.c base/gsiccmanage.h]</p> </blockquote> -<p><strong><a name="2009-11-27T191508.980517Z"></a> -2009-11-27T19:15:08.980517Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-25T171559.119523Z"></a> +2010-05-25T17:15:59.119523Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix dereference of NULL when target device passed to gx_forward_put_params -was NULL. This occurred with the standalone 'bbox' device. -</pre> -<p>[base/gdevnfwd.c]</p> +make static some private functions to remove compiler warnings</pre> +<p>[contrib/gdevgdi.c base/gdevcairo.c contrib/gdevlx50.c]</p> </blockquote> -<p><strong><a name="2009-11-27T190702.726122Z"></a> -2009-11-27T19:07:02.726122Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-25T171427.480893Z"></a> +2010-05-25T17:14:27.480893Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for Device N capable device segfaults (psdcmyk, tiffsep, tiffsep1, ...) that use -the gdevdevn.c parameter handling. A 'restore' could free up separation names but -the pointers in the device were unchanged. Bug 690956. +make private functions static to silence some missing prototype warning</pre> +<p>[imdi/cgen.c imdi/imdi_k.c]</p> +</blockquote> -</pre> -<p>[base/gdevdevn.c]</p> +<p><strong><a name="2010-05-25T171318.238667Z"></a> +2010-05-25T17:13:18.238667Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +silent one compiler warning</pre> +<p>[base/gxstroke.c]</p> </blockquote> -<p><strong><a name="2009-11-27T141919.911778Z"></a> -2009-11-27T14:19:19.911778Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-25T135021.339560Z"></a> +2010-05-25T13:50:21.339560Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (FAPI) : invalid fonts resulting in errors +Fix copy CIDFontType 2 properly +Bug #690930 "Unicode Output: DEVICE=pdfwrite" -Details -The files Adobe Garamond CE.pdf, Bauhaus CE.pdf and Futura CE.pdf alll contain subset CFF -fonts, and use the same (ecaron) glyph. In all three cases the font uses the deprecated -'SEAC' endchar construction and in all three cases at least one component glyph is not -present in the font. +When making a copy of a CIDFont with TrueType outlines (CIDFontType 2) for the +benefit of pdfwrite, do not simply copy the subst_CID_on_WMode structure member as +this will be restored away along with the font at end of page. Instead make a new +structure and store that in the copied font. -Probably the producer didn't realise the component glyphs were required amd did not -include them in the subset. -As a result the FAPI code properly rasied an error, sicne the required glyph is not -presemt. Adobe Acrobat (of course) ignores the error and simply elides the missing -glyph. Regular Ghostscript has at some time been coded to do the same and emit a -warning. +No differences expected, local cluster test shows a few but I think (hope) these are +related to the ICC branch merge.</pre> +<p>[base/gxfcopy.c]</p> +</blockquote> -For compatibility this 'feature' has been implemented in the FAPI interface. +<p><strong><a name="2010-05-25T102209.642632Z"></a> +2010-05-25T10:22:09.642632Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691336: Resolve some confusion between the original global variable removal changes, and subsequent changes, that could result in warning emprintf calls using a memory pointer that could not exist at that stage. +</pre> +<p>[psi/fapiufst.c]</p> +</blockquote> +<p><strong><a name="2010-05-25T083157.775100Z"></a> +2010-05-25T08:31:57.775100Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a couple of gcc compiler warnings introduced with the ICC merge. </pre> -<p>[psi/fapi_ft.c]</p> +<p>[base/gdevpdfk.c base/gdevpdfc.c]</p> </blockquote> -<p><strong><a name="2009-11-27T005509.262519Z"></a> -2009-11-27T00:55:09.262519Z Robin Watts</strong></p> +<p><strong><a name="2010-05-24T230659.017275Z"></a> +2010-05-24T23:06:59.017275Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Part 2 of commit 10391. Reinitroduce special cases in a way that doesn't change -the output. A clustertest shows 33 differences overall, but testing of those -files on my local machine shows them all to be identical. +Another bunch of CRLF to LF's. -This fixes bug 687666. +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs -n 1 svn propset svn:eol-style native +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs dos2unix </pre> -<p>[base/gdevddrw.c]</p> +<p>[tiff/nmake.opt psi/zcolor.h toolbin/color/icc_creator/ICC_Creator/stdafx.h lib/cat.ps toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp toolbin/color/icc_creator/example/cielab_values.txt toolbin/color/icc_creator/ICC_Creator/icc34.h contrib/lxm3200-tweaked/LICENSE toolbin/color/icc_creator/README.txt toolbin/color/icc_creator/ICC_Creator/ICC_Creator.cpp toolbin/color/named_color/named_color_table.txt zlib/contrib/testzlib/testzlib.txt lib/Fontmap.URW-136.T1 toolbin/color/icc_creator/example/tritone_names.txt zlib/contrib/testzlib/testzlib.c toolbin/color/icc_creator/ICC_Creator/CIELAB.h toolbin/color/icc_creator/ICC_Creator/icc_create.h base/gsicc_profilecache.c toolbin/color/icc_creator/ICC_Creator/stdafx.cpp toolbin/color/icc_creator/ICC_Creator/resource.h base/gsicc_profilecache.h toolbin/color/icc_creator/example/tritone_cielab.txt base/gsicc_create.c toolbin/color/icc_creator/ICC_Creator/targetver.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/res/ICC_Creator.rc2 psi/zcie.h psi/write_t2.c base/gsicc_create.h toolbin/color/icc_creator/example/color_names.txt base/gscms.h toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h psi/fapibstm.c lib/Fontmap.URW-136.TT]</p> </blockquote> -<p><strong><a name="2009-11-26T204831.400887Z"></a> -2009-11-26T20:48:31.400887Z Robin Watts</strong></p> +<p><strong><a name="2010-05-24T223400.748368Z"></a> +2010-05-24T22:34:00.748368Z Hin-Tak Leung</strong></p> <blockquote> <pre> -First of a 2 part commit, fixing the special case horizontal/vertical -rectangle code in the thin line code in gdevddrw.c, as it doesn't match -the general case. This will cause many differences in the regression tests. +remove some more CR's and more eol-style native. -Part 2 will commit a fixed version that will hopefully show none. +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 svn propset svn:eol-style native +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 dos2unix </pre> -<p>[base/gdevddrw.c]</p> +<p>[lcms/Delphi/delphidemo.dof lcms/src/makefile.simple lcms/Delphi/demo1.pas lcms/python/testbed/srgb2xyz.py lcms/Delphi/Samples/create.pas lcms/python/testbed/srgb2lab.py lcms/Delphi/delphidemo.dpr lcms/python/testbed/cam02.py lcms/makefile.simple lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/Delphi/delphidemo.cfg lcms/python/testbed/createmsh.py lcms/python/testbed/lab2adobe.py lcms/Delphi/Samples/testfrm.pas lcms/Delphi/Samples/testwp.pas lcms/src/lcms.def lcms/Delphi/Samples/getxyz.pas]</p> </blockquote> -<p><strong><a name="2009-11-26T165325.042900Z"></a> -2009-11-26T16:53:25.042900Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-24T222637.131050Z"></a> +2010-05-24T22:26:37.131050Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Removed commented out code that should not have been left behind in revision 10389 +manually fixing the last few files which escaped fileutils' identification. + </pre> -<p>[psi/zfapi.c]</p> +<p>[lcms/python/lcms.py lcms/COPYING lcms/src/cmscam97.c lcms/aclocal.m4 lcms/ltmain.sh lcms/README.1ST lcms/configure.ac]</p> </blockquote> -<p><strong><a name="2009-11-26T164403.688193Z"></a> -2009-11-26T16:44:03.688193Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-24T222052.689626Z"></a> +2010-05-24T22:20:52.689626Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : intermittent crashes with TrueType fonts +Changes c/c++/shell script/english text to native text and strip off CR. -Details -The sfnts reader code in the FAPI module maintains a pointer to a string from an array -of strings (the /sfnts array). It then used the offset member to point along the string -to the current byte within it. When reading multiple bytes, it checks there is -sufficient data by checking ptr+offset against the size of the string. However the code -did not increment the offset member after reading multiple bytes, instead it incremented -the actual pointer. This completely bypassed the size checking, which could cause a -crash depending on the memory layout. This was only likely to happen with fonts with -very large TrueType tables (ie those not conforming to Type 42 recommendations -regarding string sizes, see tech note 5012) +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs dos2unix +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs svn propset svn:eol-style native -Altered the code to always increment the offset rather than the pointer so that size -checking works properly. </pre> -<p>[psi/zfapi.c]</p> +<p>[lcms/doc/TUTORIAL.TXT lcms/matlab/icctrans.c lcms/src/cmswtpnt.c lcms/tifficc/getopt.c lcms/src/cmsgamma.c lcms/src/cmsnamed.c lcms/samples/vprf.c lcms/src/cmserr.c lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/src/cmsxform.c.orig lcms/samples/icc2ps.c lcms/python/lcms_wrap.cxx lcms/tifficc/tiffdiff.c lcms/src/cmssamp.c lcms/samples/xgetopt.c lcms/Delphi/lcmsdll.pas lcms/include/icc34.h.in lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/jpegicc/jpegicc.c lcms/jpegicc/iccjpeg.c lcms/samples/icctrans.c lcms/testbed/testcms.c lcms/samples/mktiff8.c lcms/jpegicc/iccjpeg.h lcms/tifficc/tifficc.c lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/src/cmsio0.c lcms/src/cmsio1.c lcms/samples/mkgrayer.c lcms/filter.c lcms/python/lcms.i lcms/src/cmsxform.c lcms/src/cmsintrp.c lcms/src/cmscnvrt.c lcms/include/lcms.h lcms/doc/LCMSAPI.TXT lcms/src/cmscgats.c lcms/src/cmscam02.c lcms/include/icc34.h lcms/src/cmslut.c lcms/src/cmsps2.c lcms/samples/wtpt.c lcms/samples/itufax.c]</p> </blockquote> -<p><strong><a name="2009-11-26T101815.394246Z"></a> -2009-11-26T10:18:15.394246Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-24T220741.207483Z"></a> +2010-05-24T22:07:41.207483Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : Incorrect GID supplied to font interpreter for CIDFonts with TT outlines +remove executable bits from files which don't need them. + +find . -type f -executable -exec file {} \; \ +| grep -v 'shell script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propdel svn:executable + +The last commit was created by: -Details -CIDFonts use a CID, for CIDFonts with TrueType outlines the font contains a CIDToGIDMap -entry which is used to convert the CID into a TrueType Glyph ID (GID). We were not using -the data, which resulted in us passing the CID directly to the font interpreter, which -caused the wrong glyph to be extracted, or failures to occur because the GID was larger -than the number of glyphs in the font. -The type 42 font code in GS converts the CIDToGIDMap into a CIDMap entry, we now use -this to convert the CID into a correct GID for the font interpreter to use. +find . -type f -executable -exec file {} \; \ +| grep 'script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native </pre> -<p>[psi/zfapi.c]</p> +<p>[lcms/Projects/VC6/lcms.rc lcms/Projects/VC7/lcms.rc lcms/bin/Bin.txt lcms/Delphi/Samples/create.pas lcms/samples/vprf.c lcms/configure.ac lcms/README.1ST lcms/lcms.pc.in lcms/Projects/VC2008/lcms.sln lcms/testbed/sRGBSpac.icm lcms/Projects/VC2008/lcms.vcproj lcms/python/testbed/lab2adobe.py lcms/Delphi/demo1.dfm lcms/samples/xgetopt.c lcms/Projects/VC2005/icclink.vcproj lcms/Projects/VC6/icclink.dsp lcms/Projects/VC7/lcms.vcproj lcms/src/cmscam97.c lcms/testbed/testcms.c lcms/Projects/VC6/icc2ps.dsp lcms/Projects/VC7/icctrans.vcproj lcms/python/testbed/srgb2lab.py lcms/Projects/VC7/tifficc.vcproj lcms/filter.c lcms/Projects/VC6/lcms.dsp lcms/Delphi/delphidemo.cfg lcms/Projects/VC7/icc2ps.vcproj lcms/Projects/VC6/lcms.dsw lcms/Delphi/Samples/testwp.pas lcms/Projects/VC7/lcms.sln lcms/Projects/VC2008/tifficc.vcproj lcms/Projects/VC2005/resource.h lcms/python/testbed/whtpnt.py lcms/doc/TUTORIAL.TXT lcms/src/cmswtpnt.c lcms/Projects/VC2005/Python.vcproj lcms/Projects/BorlandC_5.5/mklcmsdll.bat lcms/include/Makefile.am lcms/Projects/VC7/jpegicc.vcproj lcms/install.gcc lcms/samples/wtpt.1 lcms/Projects/BorlandC_5.5/lcmsdll.lk lcms/src/cmserr.c lcms/makefile.simple lcms/Projects/BorlandC_5.5/lcms.rc lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/Makefile.am lcms/python/testbed/sRGB Color Space Profile.icm lcms/Projects/VC2008/jpegicc.vcproj lcms/Projects/VC7/lcmsdll.vcproj lcms/AUTHORS lcms/samples/icc2ps.1 lcms/Projects/VC2008/resource.h lcms/src/makefile.simple lcms/samples/mktiff8.c lcms/python/testbed/virtprf.py lcms/python/testbed/clamp.py lcms/Projects/BorlandC_5.5/lcmsdll.lst lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/src/cmsio0.c lcms/python/testbed/cam02.py lcms/Projects/VC6/resource.h lcms/src/cmsxform.c lcms/python/lcms.i lcms/src/cmsintrp.c lcms/Projects/VC2008/lcmsdll.vcproj lcms/jpegicc/jpegicc.1 lcms/COPYING lcms/Projects/VC2005/lcms.rc lcms/samples/icctrans.1 lcms/Projects/VC7/tiffdiff.vcproj lcms/src/cmscgats.c lcms/Projects/VC2008/lcms.rc lcms/tifficc/tifficc.1 lcms/src/cmscam02.c lcms/matlab/icctrans.matlab.pdf lcms/python/testbed/createmsh.py lcms/src/cmslut.c lcms/tifficc/Makefile.am lcms/Lib/MS/MS.TXT lcms/samples/wtpt.c lcms/Projects/VC6/tifficc.dsp lcms/Projects/VC7/Testbed.vcproj lcms/python/testbed/gamma.py lcms/samples/itufax.c lcms/python/Makefile.am lcms/Delphi/demo1.pas lcms/src/cmsgamma.c lcms/Projects/VC6/Python.dsp lcms/Projects/VC2008/Python.vcproj lcms/src/cmsnamed.c lcms/src/cmsxform.c.orig lcms/Projects/VC6/lcmsdll.dsp lcms/Projects/VC2008/Testbed.vcproj lcms/Projects/VC2005/lcms.vcproj lcms/python/testbed/AdobeRGB1998.icc lcms/samples/icc2ps.c lcms/tifficc/tiffdiff.c lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/src/cmssamp.c lcms/NEWS lcms/samples/Makefile.am lcms/Projects/VC2005/icctrans.vcproj lcms/Projects/VC2005/tifficc.vcproj lcms/Delphi/lcmsdll.pas lcms/Projects/VC2008/icctrans.vcproj lcms/include/icc34.h.in lcms/Delphi/delphidemo.dof lcms/Projects/VC6/lcms.opt lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/Projects/VC6/Python.plg lcms/jpegicc/jpegicc.c lcms/samples/icctrans.c lcms/Delphi/Samples/MAKETEST.BAT lcms/Projects/VC2005/icc2ps.vcproj lcms/ltmain.sh lcms/Delphi/Samples/gamutchk.pas lcms/tifficc/tifficc.c lcms/Projects/VC2005/lcms.sln lcms/src/cmsio1.c lcms/Projects/VC6/Testbed.dsp lcms/INSTALL lcms/Projects/VC7/icclink.vcproj lcms/jpegicc/makefile.simple lcms/jpegicc/Makefile.am lcms/Projects/VC2005/jpegicc.vcproj lcms/samples/icclink.1 lcms/Delphi/Samples/testfrm.pas lcms/Projects/VC6/jpegicc.dsp lcms/Projects/VC6/icctrans.dsp lcms/src/lcms.def lcms/Delphi/demo1.dcu lcms/Delphi/Samples/getxyz.pas lcms/matlab/icctrans.c lcms/ChangeLog lcms/Projects/VC2008/icclink.vcproj lcms/tifficc/getopt.c lcms/Lib/BC/BC.txt lcms/testbed/makefile.simple lcms/Projects/VC6/Testbed.plg lcms/Delphi/delphidemo.dpr lcms/testbed/Makefile.am lcms/Projects/VC2005/lcmsdll.vcproj lcms/Projects/VC7/resource.h lcms/Projects/VC7/Python.vcproj lcms/Delphi/demo1.ddp lcms/python/testbed/cam97.py lcms/jpegicc/iccjpeg.c lcms/python/testbed/constant.py lcms/Projects/VC2005/tiffdiff.vcproj lcms/python/testbed/srgb2xyz.py lcms/python/testbed/info.py lcms/jpegicc/iccjpeg.h lcms/Projects/VC2008/tiffdiff.vcproj lcms/Projects/VC2008/icc2ps.vcproj lcms/src/Makefile.am lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/Projects/VC2005/Testbed.vcproj lcms/samples/mkgrayer.c lcms/include/lcms.h lcms/Delphi/delphidemo.res lcms/src/cmscnvrt.c lcms/python/swig_lcms lcms/doc/LCMSAPI.TXT lcms/python/testbed/sRGB2adobe.py lcms/tifficc/makefile.simple lcms/include/icc34.h lcms/src/cmsps2.c]</p> </blockquote> -<p><strong><a name="2009-11-26T101300.448002Z"></a> -2009-11-26T10:13:00.448002Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-24T220213.500457Z"></a> +2010-05-24T22:02:13.500457Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (FAPI) : CIDFonts not working with fonts containing a CDevProc - -Details -When calling zchar_set_cache we always used the glyph name as one of the arguments, -this argument was later pushed onto the stack for use by a CDevProc if required. The -problem is that with CIDFonts the name is always a null object and we should actually -be supplying the CID to the procedure. - -Modified the call to zchar_set_cache when we have a CIDFont to supply the CID instead -of the name - +make all shell scripts in the lcms directory eol-style native. </pre> -<p>[psi/zfapi.c]</p> +<p>[lcms/depcomp lcms/compile lcms/missing lcms/config.guess lcms/config.sub lcms/install-sh lcms/mkinstalldirs lcms/configure]</p> </blockquote> -<p><strong><a name="2009-11-26T071302.012525Z"></a> -2009-11-26T07:13:02.012525Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-24T183616.496917Z"></a> +2010-05-24T18:36:16.496917Z Alex Cherepanov</strong></p> <blockquote> <pre> -Report enhancments as a separate category in the the weekly bug aging report. Closes bug 690524. +Add missing EOL to the last line in one of the new ICC files +because MSVC 6 requires this. </pre> -<p>[toolbin/bugsByEngineer.pl]</p> +<p>[base/gsiccmanage.c]</p> </blockquote> -<p><strong><a name="2009-11-26T004735.579155Z"></a> -2009-11-26T00:47:35.579155Z Robin Watts</strong></p> +<p><strong><a name="2010-05-24T163158.315172Z"></a> +2010-05-24T16:31:58.315172Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix for bug 688655: stroking of wide curves with high curvature would -previously have left strange effects under the curve, and had nasty -flattening artifacts on the outside of joins. +Merge of icc_work branch into trunk. + +These changes make the color architecture of the graphics library ICC-based. All colors are now managed in terms of ICC profiles including PS CIE color spaces, for which equivalent ICC profiles are created. A big feature of this change is that it makes it very easy to interface a color management module (CMM) to ghostscript. The default CMM is now littleCMS and the interface to littleCMS is contained in gsicc_littlecms.c . + +New member variables were added to the imager state including an ICC manager, which stores the default ICC profiles; a link cache, which reduces the cost of creating links between ICC profiles, and a profile cache which stores color spaces created from PS CIE, PDF CalRGB and PDF CalGray colors spaces. + +A new directory named iccprofiles has been added. It contains the default ICC profiles used if none are specified in the command line. If COMPILE_INITS=1, these will be included in the ROM file system. The new command line options related to ICC profiles are described in the Use.htm documentation. -Here we alter the stroking logic to spot that line segments come from curves -and we render using round joins both above and below the curve. +For c-list based rendering, all ICC profiles used in the rendering are stored in the c-list. During multi-threaded c-list reading, a link cache is associated with the primary reader device and is shared amongst the various threads. -This gives us correct rendering of tests/ps/jointest.ps for the first time. +Efficiency improvements were made in the handling of soft mask groups, shading smoothness calculations, and color image rendering. -This causes about 4000 diffs. I've generated a huge number of them locally -and they all seem to be the odd pixel changed do to rounding. Where differences -are larger I've convinced myself that the difference is correct. +For details on the branch, please see the commits that were made within the branch. There remain indeterminisms to fix. The files affected include Bug688807.pdf, Bug688845.eps, Bug690208.pdf, 09-34.PS, CATX0988.pdf, CATX1028.pdf, CATX1101.pdf, CATX5529.pdf. +Rendering issues to investigate include Bug689830.pdf, fts43xx.xps (page 3) (shopping cart image), Bug689880.pdf, Bug691002.pdf, Bug689968.pdf, Bug688584.ps (page 4), catx4949.pdf. + +Note that the number of differences generated with the merge amounts to pretty much every file. + +Thanks to everyone who helped and provided input in this work, especially Ray Johnston. </pre> -<p>[base/gxstroke.c]</p> +<p>[base/gdevpdfk.c base/gxclimag.c doc/Use.htm base/gdevdflt.c psi/icie.h base/gxpcmap.c base/gxpcolor.h lcms base/gscsepr.c base/gxshade4.c base/gxclthrd.c base/gxcmap.c base/gscscie.c base/gdevwts.c base/gsistate.c base/msvclib.mak base/gxclpage.c base/gscolor2.c base/gsicc_profilecache.c base/gxistate.h base/gscolor2.h base/gsicc_profilecache.h iccprofiles base/gdevp14.c base/gsicc_create.c base/gdevp14.h base/gsicc_create.h psi/write_t2.c psi/zusparam.c base/gdevpbm.c psi/zcolor.c psi/ztrans.c base/gdevpdft.c base/gxshade1.c /trunk/gs base/gdevpsdi.c psi/ireclaim.c psi/os2.mak base/watclib.mak Resource/Init/gs_lev2.ps base/gdevpsdu.c base/gscie.c base/gxclutil.c base/gscolor3.c base/gdevpsd.c base/gscie.h base/gxiscale.c base/gxcldev.h Resource/Init/gs_res.ps base/gxifast.c base/gxdevcli.h base/openvms.mak base/watcw32.mak base/gscms.h psi/msvc32.mak base/gsalloc.c base/lcms.mak base/gxp1fill.c base/gximage.h base/gsciemap.c base/gdevpx.c psi/zcsdevn.c base/ugcclib.mak base/unix-gcc.mak base/gsovrc.c base/gxcie.h base/macos-mcp.mak base/gxshade6.c base/macosx.mak base/gsccolor.h base/gdevrinkj.c base/unixansi.mak base/devs.mak base/gsicc.c base/gxipixel.c base/lib.mak psi/zimage.c base/gsicc.h psi/dxmain.c psi/dxmainc.c Resource/Init/pdf_draw.ps base/gscolor.c Resource/Init/pdf_ops.ps psi/zdevice.c psi/zcie.c psi/zdpnext.c base/gxclist.c psi/zcie.h base/gximono.c base/gxidata.c base/gstrans.c psi/iimage.h base/gdevpdfb.c base/gxclist.h base/gxshade.c base/gstrans.h base/gxclrast.c psi/zncdummy.c base/gxshade.h toolbin/color base/gsiccmanage.c base/Makefile.in base/gdevpdfv.c base/gsiccmanage.h base/gsicc_littlecms.c base/gxclpath.c base/gsicc_littlecms.h psi/icontext.c base/gxclpath.h base/gsstruct.h base/gdevxcf.c base/gxicolor.c base/gscspace.c base/gdevimdi.c base/gscdevn.c base/gscolor1.c base/gxclread.c base/gscspace.h base/bcwin32.mak base/gsdparam.c base/gs.mak psi/zshade.c base/gdevbbox.c psi/int.mak base/gxcspace.h psi/zicc.c base/gsstate.c base/winlib.mak base/gsicccache.c psi/zicc.h psi/zimage3.c base/gsicccache.h base/gdevpdfc.c base/gstparam.h base/gxblend.c base/gdevpdfg.c base/gxblend.h]</p> </blockquote> -<p><strong><a name="2009-11-25T195911.063393Z"></a> -2009-11-25T19:59:11.063393Z Henry Stiles</strong></p> +<p><strong><a name="2010-05-24T020113.653152Z"></a> +2010-05-24T02:01:13.653152Z Alex Cherepanov</strong></p> <blockquote> <pre> -Remove the string list implementation from the "nogc" allocator. This -makes the implementation much simpler and there was little or no -performance improvement with the string lists. Also this file has -been cleaned up of archaic comments about VMS, compiler support -comments, pragmas, etc. No expected differences. +Recognize Corel tint transform function and replace it with an equivalent +calculator function. Bug 690986. </pre> -<p>[base/gsnogc.c]</p> +<p>[psi/zfunc4.c]</p> </blockquote> -<p><strong><a name="2009-11-24T165112.328850Z"></a> -2009-11-24T16:51:12.328850Z Robin Watts</strong></p> +<p><strong><a name="2010-05-23T001525.592930Z"></a> +2010-05-23T00:15:25.592930Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix for bug 690938. Revert revision 10294, an attempt to fix a valgrind bug, -and instead initialise the bbox of paths to the maximally invalid bbox. - -As soon as any point is added to the bbox, we'll get a valid bbox. Note that -the "bbox_set" flag does NOT mean "the bbox is valid", it instead means "the -bbox has been set, as per the setbbox postscript operator". - - +Decide whether load a CFF font as a simple font or a CIDFont based on the +/Subtype of the font object instead of the /Subtype of the font stream. +Acrobat appears to ignore the latter. Bug 691334. </pre> -<p>[base/gxpath.c base/gxpath2.c base/gxpath.h]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-11-24T123117.678731Z"></a> -2009-11-24T12:31:17.678731Z Robin Watts</strong></p> +<p><strong><a name="2010-05-22T091730.088324Z"></a> +2010-05-22T09:17:30.088324Z Ken Sharp</strong></p> <blockquote> <pre> -In revision 10351 I commited a partial fix for Bug 690531 that added a new -method for stroking a path. Due to a silly mistake on my part when stroking -paths with round caps, we could occasionally fail due to a confusion over -which caps to use. - -Ralph reported this issue as bug 690639. The error is fixed here, but this -doesn't solve all the rendering problems. Investigations continuing. +Explicit pointer cast to silence a gcc compiler warning. +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> +<p><strong><a name="2010-05-21T151607.910956Z"></a> +2010-05-21T15:16:07.910956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following Acrobat implementation but contrary to TTF spec, consider cmap entry +that has endCode < startCode as an entry with endCode == startCode. +According to the spec, "to use these arrays, it is necessary to search for the +first endCode that is greater than or equal to the character code to be +mapped. If the corresponding startCode is less than or equal to the character +code ...". I.e. an entry with endCode < startCode should have no effect. +Thanks to Ken for the patch. Bug 691326. </pre> -<p>[base/gxstroke.c]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2009-11-24T083627.174072Z"></a> -2009-11-24T08:36:27.174072Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-21T081456.354805Z"></a> +2010-05-21T08:14:56.354805Z Ken Sharp</strong></p> <blockquote> <pre> -Don't use sed's extended regular expression syntax in configure.ac. +Fix: device reference counting problem with patterns and clipping -GNU and Mac OS X have different command line options to enable them and since -it was only used once, it's easier to simply use the standard regexp format. +Bug #690572 more details here. The problem was caused by installing a clip device while +drawing a pattern tile. This patch initialises the finalize member of the structure +where the clip device will be created to NULL. If a clip device is required, the member +will be initialised to a real routine. After drawing the pattern cell, if the finalize +routine is non-NULL we execute it. + +This correctly dereferences the forwarded device if we create a clipping device. </pre> -<p>[base/configure.ac]</p> +<p>[base/gxp1fill.c]</p> </blockquote> -<p><strong><a name="2009-11-24T013119.408746Z"></a> -2009-11-24T01:31:19.408746Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-21T063511.431787Z"></a> +2010-05-21T06:35:11.431787Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Implement JBIG2Decode generic regions using TPGDON. +adding missing dependencies so that setupgs and uninstgs can be built ahead or independent of the main targets</pre> +<p>[psi/winint.mak psi/msvc32.mak]</p> +</blockquote> -Closes bug 690791. +<p><strong><a name="2010-05-20T073106.101672Z"></a> +2010-05-20T07:31:06.101672Z regression</strong></p> +<blockquote> +<pre> +The clustermaster.pl code now checks the pid in the lock file to see if the +task is running. Also no longer test pdfwrite with the language switch build. </pre> -<p>[jbig2dec/jbig2_generic.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> </blockquote> -<p><strong><a name="2009-11-23T173516.098214Z"></a> -2009-11-23T17:35:16.098214Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-20T062443.585523Z"></a> +2010-05-20T06:24:43.585523Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for segfault reported in 690880 with separation devices. The is_open flag -was not being properly maintained when put_params resulted in a target device -closing due to DeviceN color state changing. - -DETAILS: - -The check in zputdeviceparams relied on code > 0 or the width or height change -in order to determine that the device needed to be reinitialized. The put_params -forwarding needed to check if the target device closed (such as when DeviceN -parameters changed) and return code=1 to trigger the device reinitialization. - -Also the forwarding of close_device needed to make sure and set is_open=false -if it called the target device procedure directly instead of using gs_closedevice -(which takes care of this detail). +Fix up the eol-style of the rest of the executable files by hand. +Remove executable bit from toolbin/bmpcmp.c </pre> -<p>[base/gdevp14.c base/gdevnfwd.c]</p> +<p>[toolbin/bmpcmp.c jbig2dec/ltmain.sh tiff/config/ltmain.sh libpng/contrib/pngminim/encoder/gather.sh libpng/contrib/pngminim/preader/gather.sh libpng/scripts/libpng-config-body.in libpng/contrib/pngminim/decoder/gather.sh toolbin/tests/gsvalidate.py]</p> </blockquote> -<p><strong><a name="2009-11-23T024456.504420Z"></a> -2009-11-23T02:44:56.504420Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-20T061020.265063Z"></a> +2010-05-20T06:10:20.265063Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Report pdfwrite differences separately from other differences. +Set other type of shell script as native text. + +find . -type f -executable -exec file {} \; | \ + grep 'script text executable' | grep -v 'POSIX' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/tests/dump_checksum.py toolbin/tests/gscheck_testfiles.py toolbin/tests/dump_checksum_plus.py toolbin/localcluster/readlog.pl toolbin/search-svn-revs toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/clusterpush.pl toolbin/tests/dump_checksum_raw.py toolbin/localcluster/compare.pl toolbin/localcluster/comparerevs.pl toolbin/tests/find_unique_file.py toolbin/localcluster/clustermaster.pl toolbin/localcluster/weekly.sh toolbin/localcluster/build.pl toolbin/tests/build_revision.py toolbin/htmldiff.pl toolbin/tests/compare_checksumdb.py toolbin/tests/update_baseline.py toolbin/tests/make_baselinedb.py toolbin/tests/validate.py toolbin/bugsByEngineer.pl toolbin/localcluster/clusterpull.sh toolbin/tests/regen_filelist.py toolbin/localcluster/pngs2html.pl toolbin/localcluster/nightly.pl freetype/builds/mac/ascii2mpw.py toolbin/tests/compare_checksums.py toolbin/tests/run_nightly.py toolbin/tests/regen_baseline.py toolbin/tests/myoptparse.py toolbin/tests/get_baselines.py toolbin/tests/run_regression.py toolbin/localcluster/setupcluster toolbin/localcluster/clustermonitor.pl toolbin/tests/testdiff.py toolbin/tests/updatelistpdf.py toolbin/tests/run_series.py toolbin/tests/updatelist.py toolbin/localcluster/run.pl toolbin/tests/get_baseline_log.py toolbin/performance.pl toolbin/localcluster/cachearchive.pl toolbin/tests/make_testdb.py toolbin/tests/collate.py]</p> </blockquote> -<p><strong><a name="2009-11-22T234621.529560Z"></a> -2009-11-22T23:46:21.529560Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-20T060141.643170Z"></a> +2010-05-20T06:01:41.643170Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Add description of the tiffsep1 device. It was mentioned in the previous update, -but the basic device characteristics were missing. +Set all identifiable shell script as native text + +find . -type f -executable -exec file {} \; | \ +grep 'POSIX shell script text executable' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + </pre> -<p>[doc/Devices.htm]</p> +<p>[libpng/missing cups/pstoraster.in libpng/test-pngtest.sh cups/pstopxl.in libpng/install-sh jbig2dec/configure libpng/configure contrib/pcl3/ppd/catppd toolbin/clusterpush.sh libpng/depcomp jpeg/install-sh jbig2dec/config.guess contrib/pcl3/lib/if-pcl3 freetype/configure libpng/config.guess jasper/configure tiff/config/missing jbig2dec/config.sub jpeg/configure libpng/config.sub tiff/config/install-sh jpeg/config.guess zlib/configure jpeg/config.sub tiff/config/depcomp libpng/scripts/libpng-config-head.in tiff/config/compile libpng/scripts/libpng-config.in libpng/autogen.sh tiff/config/config.guess jbig2dec/mkinstalldirs jpeg/ltconfig tiff/config/config.sub libpng/mkinstalldirs contrib/epson740/ps-to-printer.fpi_rh5.2 jasper/acaux/missing jasper/acaux/install-sh tiff/autogen.sh freetype/builds/unix/install-sh freetype/builds/unix/mkinstalldirs tiff/configure jasper/acaux/depcomp jasper/acaux/compile tiff/config/mkinstalldirs jasper/acaux/config.guess contrib/pcl3/lib/cups-pcl3 jasper/acaux/config.sub]</p> </blockquote> -<p><strong><a name="2009-11-22T200944.171077Z"></a> -2009-11-22T20:09:44.171077Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-20T055235.456761Z"></a> +2010-05-20T05:52:35.456761Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added a -sCompression parameter to all TIFF devices. +Avoid raw carriage returns in configure which confuses svn + +This is a known bug apparently of autoconf 2.63 which was fixed. Here is the upstream log entry: +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb34ecf -This parameter sets the compression scheme of the resulting file and can take -the values 'none', 'crle', 'g3', 'g4', 'lzw', and 'pack'. crle, g3, and g4 -only work for 1-bit devices. For tiffsep, it sets the compression scheme of -the separation files, the composite cmyk file is always saved uncompressed. + 2008-10-27 Eric Blake <ebb9@byu.net> -Libtiff supports many more compression formats (e.g. jpeg, deflate). Adding -them to this implementation is trivial. + Avoid raw carriage return in scripts. + * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR + via tr, rather than with literal byte. + * THANKS: Update. + Reported by Steven R. Loomis; patch suggested by Thomas Dickey. -doc/Devices.htm documents the parameter further. </pre> -<p>[base/gdevtifs.c base/gdevtifs.h base/gdevtsep.c doc/Devices.htm base/gdevtfnx.c base/gdevtfax.c]</p> +<p>[jbig2dec/configure]</p> </blockquote> -<p><strong><a name="2009-11-21T094454.242928Z"></a> -2009-11-21T09:44:54.242928Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-19T145138.835112Z"></a> +2010-05-19T14:51:38.835112Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : problems with type 3 fonts and glyphshow +Some work towards (but not a complete cure for) bug 691030. -Details -Bug #690738 "pdfwriter garbles/omits glyphs" -Bug #690836 "Bug during eps to pdf conversion" -Bug #690882 "ps2pdf mangles type 3 fonts" +Previously XXX_slant_into_trapezoids would check for 2 'simple' cases, +and bale into the fully general fill_slant_adjust function otherwise. +The simple cases were where the top span was a subset of the bottom one, or +vice versa. -Revision 9804 modified pdfwrite to try and make text in type 3 bitmap fonts, derived -from PCL input, more likely to produce a PDF file with searchable text. Part of the -change was to try and group multiple glyphs together into a single string instead of -emitting them as single glyphs. +Unfortunately the way the code to test for these cases was originally written, +one of these special cases could be used for shaped with vertical sides, and +the other couldn't. -Unfortunately that was an optimisation too far. There is no way currently to tell the -difference between a type 3 font which has been converted into a bitmap, one which -started as a bitmap, and one where the CharProc has been captured (PostScript). We do -however store bitmap and outline glyphs in different fonts, the problem arose if we -converted a CharProc to a bitmap, and then stored a CharProc, the code did not realise -that we had switched fonts and tried to use the bitmap font for both. +By rewriting the test slightly, both cases can be used with trapezoids that +have one vertical side. -This occurs because matplotlib defines all its fonts as type 3, applies an Encoding -to them, but never uses it, instead showing all glyphs with a glyphshow operation. -This makes it difficult for pdfwrite to assemble an output type 3 font with a valid -Encoding, and PDF doesn't support glyphshow. In this case if we find that the glyphshow -uses a glyph which is not in the font's Encoding (eg /multiply) we end up producing a -bitmapped glyph instead. +For good measure we also extract the 'rectangle' case out separately. -Ideally we would capture the CharProc, but doing so would be very difficult in this case -for a very minor benefit. Instead I've chosen to remove this optimisation. +Cluster testing shows no differences (barring a couple of indeterminisms). -Previously we would emit text something like: +This reduces the output from 5 shapes (2 rectangles, 3 traps) to 3 (2 +rectangles, 1 trap). One of the rectangles is still a repeat, but it's +a step in the right direction. -x y moveto -(ABC) show -Now we do: - -x y moveto -(A) show -x1 y1 moveto -(B) show -x2 y2 moveto -(C) show - -There seem to be no differences in the test suite with PostScript and PDF files, -probably because no files apart from matplotlib use glyphshow in this demented fashion. -However, this does result in a large number of PCL test files exhibiting very small -differences with text, especially at low resolution, due to tiny shifts in position. </pre> -<p>[base/gdevpdts.c]</p> +<p>[base/gxfillts.h]</p> </blockquote> -<p><strong><a name="2009-11-20T200926.637666Z"></a> -2009-11-20T20:09:26.637666Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-19T100905.486708Z"></a> +2010-05-19T10:09:05.486708Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix segfaults in tiffsep and tiffsep1 -- After TIFFCleanup, need to set the tiff -structure pointer to NULL to prevent later use. Fix separation file name logic -to substitute a harmless '_' character for characters that cause file system -action ('/'. '\' and ':'). - -Set default compression for tiffsep output 'gray' pages to LZW and default for -tiffsep1 to G4. While not strictly backwards compatible, any competent tiff -reader will be able to handle this. +Bug 691291. Fix reading uninitialized memory. -</pre> -<p>[base/gdevtsep.c]</p> +The change I made in r10603 had a problem comparing with +uninitialized data when using Roman fonts. +The side effect was slowing down font rendering a little. +In this change I added extra initializer and made +intention of the 'if' condition more clear. +No difference on outputs expected nor observed by localcluster +tests.</pre> +<p>[base/gschar0.c]</p> </blockquote> -<p><strong><a name="2009-11-20T181012.230365Z"></a> -2009-11-20T18:10:12.230365Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-19T074220.717044Z"></a> +2010-05-19T07:42:20.717044Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Skip JBIG2Decode generic regions using TPGDON. +Follow-up to r11278. Removing jbig2dec/config.h. -We don't yet implement this, and discarding the data is better than -proceeding with the incorrect decoding proceedures, which generally -just produce noise. Work-around for bug 690791.</pre> -<p>[jbig2dec/jbig2_generic.c]</p> +r11278 enabled jbig2dec/configure to be run. +I agree with the change but jbig2dec/config.h was also under +subversion control. With r11278, after someone runs +'configure' or 'autogen.sh', jbig2dec/config.h become +modified status. +jbig2dec/config.h doesn't need to be here. Deleting. + +Related bug: 691304 & 691312.</pre> +<p>[jbig2dec/config.h]</p> </blockquote> -<p><strong><a name="2009-11-19T201702.559183Z"></a> -2009-11-19T20:17:02.559183Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-18T224039.023883Z"></a> +2010-05-18T22:40:39.023883Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix for segfault reported in bug 690927 and two of the segfaults of bug 690880. +define -DHAVE_CONFIG_H and run jbig2dec/configure from top-level configure. The fixes some portability issues seen on opensolaris; further follow-up to bug 691304</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-05-18T222947.346946Z"></a> +2010-05-18T22:29:47.346946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo in one word. bug 691323</pre> +<p>[doc/Readme.htm]</p> +</blockquote> -The pdf14_compressed_encode_color (and _decode_) assumed that the device was -a pdf14_device and directly accessed the devn_params using that structure offset, -but when filling gradients the device was the target device (a gx_device_printer -subclass) so the pointer was wrong. +<p><strong><a name="2010-05-18T222313.250745Z"></a> +2010-05-18T22:23:13.250745Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster code: -The primary change is in base/gxblend1.c and uses the device's ret_devn_params -procedure (if possible). If the proc is NULL, or if it returns NULL, then and -only then use the devn_params structure assuming that the device is a pdf14 -variant (usually pdf14cmykspot or pdf14clistcmykspot). + support language switch build testing + recover from disk full errors + automatically create directories needed for new nodes in run.pl +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/run.pl]</p> +</blockquote> -A check for this is performed in DEBUG builds in case this expected invariant -is ever violated. In order for the check to be made simpler, the names of all -of the devices were changed to all start with "pdf14" (some were PDF14). +<p><strong><a name="2010-05-18T122248.908526Z"></a> +2010-05-18T12:22:48.908526Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Disabling compiler warnings for discarding 'const'. </pre> -<p>[base/gdevp14.c base/gxblend1.c]</p> +<p>[jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-11-19T164811.876622Z"></a> -2009-11-19T16:48:11.876622Z Robin Watts</strong></p> +<p><strong><a name="2010-05-18T085518.202611Z"></a> +2010-05-18T08:55:18.202611Z Chris Liddell</strong></p> <blockquote> <pre> -Fix stupid typo: ; for , - pointed out by tor. Sorry everyone. +Bug 691313: remove the IBM Omni driver from the default build on Linux. Previously it could be excluded by giving configure "--without-omni", this revision reverses the logic, so Omni can be include by giving configure "--with-omni".</pre> +<p>[base/configure.ac]</p> +</blockquote> +<p><strong><a name="2010-05-18T043225.607601Z"></a> +2010-05-18T04:32:25.607601Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Change the order in which jobs that take too long are killed on the cluster nodes to prevent leftover jobs when running bmpcmp. </pre> -<p>[base/gspath.h]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-19T135618.594001Z"></a> -2009-11-19T13:56:18.594001Z Robin Watts</strong></p> +<p><strong><a name="2010-05-17T154838.534341Z"></a> +2010-05-17T15:48:38.534341Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for Bug 690531, excessive slowdown while rendering a complex stroked -path with anti-aliasing. +Fix - type 1/CFF font interpreter. +The gs_type1_piece_codes routine interprets a type 1 or CFF glyph program to determine +whether the glyph is composed of two subglyphs (a SEAC). -The problem is caused by the gs filling code grinding to a halt under the -weight of an extremely complex path produced by stroking an already complex -path and then filling it all at once. - -This change can be seen as a workaround in that it does not change the -filling code at all (this may be considered in future after the freetype -changes have gone in), but instead adds a new mechanism for stroking that -produces (broadly) equivalent strokes which happen to fill more easily. +There was a problem with the CFF opcode cntrmask which did not cater for the case where +it is called with a number of operands on the stack. In this case the operands are to +be interpreted as vstem hints. Because this was not done, the interpreter had the wrong +number of hints, and so did not interpret enough of the following bytes as mask data for +the cntrmask operation. This led to attempting to interpret data as operands, which +caused corrupted glyphs as well as potential crashes. +This does not appear to be tested by any of our current test files (according to a +cluster test), so no differences are expected. </pre> -<p>[base/gxpath2.c base/gxpath.h base/gxstroke.c]</p> +<p>[base/gxtype1.c]</p> </blockquote> -<p><strong><a name="2009-11-19T000915.456317Z"></a> -2009-11-19T00:09:15.456317Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-17T082506.874101Z"></a> +2010-05-17T08:25:06.874101Z Ken Sharp</strong></p> <blockquote> <pre> -Replace only the initial definition of the gs executable -in the script wrappers. - -It is possible to change the name of the compiled gs executable; this is -generally used to distinguish multiple installed versions. In r5212 a -sed command was added to the unix build scripts to rewrite the name of -the gs executable embedded in the various wrapper scripts so that they -would call the corresponding version. +white space change only, committed to make a regression run as the test for the +previous revision was interrupted.</pre> +<p>[psi/write_t1.c]</p> +</blockquote> -This was broken in r8107 where an extra clause was added to have the -wrapper scripts prefer the gs executable in their local directory -over any in the path. Unfortunately the sed command rewrites both -attempts to set GS_EXECUTABLE. +<p><strong><a name="2010-05-17T075543.268496Z"></a> +2010-05-17T07:55:43.268496Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler and make warnings. +</pre> +<p>[psi/write_t1.c psi/int.mak psi/write_t1.h]</p> +</blockquote> -This commit only rewrites the specific assignment of the default name. -Thanks to Vince Dean for suggesting the fix. Bug 686863.</pre> -<p>[base/unixinst.mak]</p> +<p><strong><a name="2010-05-17T043957.140765Z"></a> +2010-05-17T04:39:57.140765Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding check for header stringprep.h; fix bug 691312</pre> +<p>[base/configure.ac]</p> </blockquote> -<p><strong><a name="2009-11-18T044621.000840Z"></a> -2009-11-18T04:46:21.000840Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-17T035931.965365Z"></a> +2010-05-17T03:59:31.965365Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Handle optional content following the default viewing optional content -configuration dictionary. Skip invisible XObjects and render invisible -parts of content streams to nulldevice. Bug 690633, customer 1110. +Fixes portability issue properly with r11256 (which is identical with r11520), +first discovered by Ralph 6 months ago with r10520 +which results in its being reverted in r10540 . + +****************************** + Revert c10520 which causes problems with the MSVC build. + + $(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft + extensions. This often causes problems with 3rd party libraries + which try to take advantage of those extensions. + + This means that the -fPIC flag is again not propagated in the GCC + build; this is just to unbreak the build until I can test a different + solution which works on both platforms. +****************************** +As Ralph explained then, some of libtiff requires non-ansi extensions to work. + +The main culpit is tif_win32.c (which includes <windows.h>) and some of the +file IO flags not being defined. So this commit fix the ansi issue properly. </pre> -<p>[Resource/Init/pdf_ops.ps Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +<p>[tiff/libtiff/tiffiop.h base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-17T222638.187446Z"></a> -2009-11-17T22:26:38.187446Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-17T034702.654413Z"></a> +2010-05-17T03:47:02.654413Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Call libtiff's configure script when configuring ghostscript. +fix windows build breakage in r11249 + +This change (defining TIFFCONFIG_SUFFIX) should have been part of + r11249 (create tif_config.h for non-autoconf build) +which in turn should have been part of + r11241 (hook up libtiff with non-autoconf build via + "make -f base/unix-gcc.mak" and "make -f base/unixansi.mak") -This also removes the (now) unnecessary tiff config files from the repository, -which fixes build problems on compilers where headers are always first searched -in the current directory. +The explanation is that in r10317 where Lars originally hooked up libtiff, +tif_config.h is generated by libtiff/configure (which is driven by the +top-level configure), but special provision is provided for non-autoconf build +(win32 and VMS) by copying from a canned header file. +If one chooses to bypass the top-level configure, *on every platform* +(win32, VMS, and non-autoconf unix build), one must provide similiar special +provision as well. + +Personally I'll prefer not to support non-autoconf unix build. </pre> -<p>[tiff/libtiff/tif_config.h tiff/libtiff/tiffconf.h base/configure.ac]</p> +<p>[base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-17T201020.126305Z"></a> -2009-11-17T20:10:20.126305Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-16T183240.253209Z"></a> +2010-05-16T18:32:40.253209Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Use TIFFCleanup instead of TIFFClose in all tiff devices, as the fd is already -closed in gp_prn_close. - +Changes to the nightly regression testing system to support weekly testing. </pre> -<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfax.c]</p> +<p>[toolbin/localcluster/nightly.pl toolbin/localcluster/weekly.sh toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-17T180122.576735Z"></a> -2009-11-17T18:01:22.576735Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-15T105714.279373Z"></a> +2010-05-15T10:57:14.279373Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Several small changes to the local cluster code: +rename PDEP to TIFFDEP to avoid clashing with PDEP from libpng.mak; bug 691299</pre> +<p>[base/libtiff.mak]</p> +</blockquote> -clusterpush.pl - you can now specify what products to test via the command line. +<p><strong><a name="2010-05-15T105547.722308Z"></a> +2010-05-15T10:55:47.722308Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +comment out a later duplcate definition; bug 691299</pre> +<p>[base/lib.mak]</p> +</blockquote> -e.g. clusterpush.pl gs - clusterpush.pl 'svg pcl' +<p><strong><a name="2010-05-15T095005.378608Z"></a> +2010-05-15T09:50:05.378608Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +latest version of these files from Adobe's web site: http://download.macromedia.com/pub/opensource/cmap/</pre> +<p>[Resource/CMap/UniGB-UTF8-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniCNS-UTF8-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/UniGB-UTF16-H]</p> +</blockquote> -By default all products ('gs','pcl','xps','svg') are tested. +<p><strong><a name="2010-05-15T094615.270585Z"></a> +2010-05-15T09:46:15.270585Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add skeleton support for the Bitstream font engine. In its current form this only allows +for type 1 PostScritp fonts, CFF is trivial to add, as should be support for Bitstream's +own compressed format. Addition of type 42/TrueType fonts should be patterned after +FreeType, as there is support in Bitstream for a callback to provide TrueType +outlines. There is no such provision for PostScript fonts. -compare.pl - no longer report not changed non-value return codes. +To build; define BITSTREAM_BRIDGE=1 and BITSTREAM_ROOT="", the root should point one +level above the 'core' directory. In the current code this would be : +"/bitstream/FontFusion 4.5a SDK" +</pre> +<p>[psi/zfapi.c psi/ifapi.h psi/write_t1.c psi/int.mak psi/msvc32.mak psi/fapibstm.c]</p> +</blockquote> -build.pl - remove all pcl tests except for 600 dpi/banded and most svg tests. -no longer randomize jobs (helps with the indeterminisms and improves load balancing). +<p><strong><a name="2010-05-15T081759.395641Z"></a> +2010-05-15T08:17:59.395641Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +better way of defining SOC_LOADER when try ing to do "make -f base/unix-gcc.mak so"</pre> +<p>[base/unix-dll.mak base/unix-gcc.mak]</p> +</blockquote> -clustermaster.pl - changes to support new clusterpush.pl options and improvement in the -load balancing algorithm. +<p><strong><a name="2010-05-15T080646.613460Z"></a> +2010-05-15T08:06:46.613460Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The final part of trying to "ln -s base/unix-gcc.mak Makefile ; make so" work. -run.pl - add support for semaphore to insure only on copy is run at a time -(currently disabled pending additional testing). +There were some fundamental problems with the older version: The so target really +should be built in three distinct stages with three different FLAGS - the +utils (genarch, gechogs) executable part, the shared library part, and the two final +executable part. The library should be built with the shared-object flags, but neither +of the utils nor the final executables should be built with "-shared", since they are +executables and not libraries. Hope this is clear. +There is also a little problem from SOC_LOADER not being defined if this file +is not used from ./configure's Makefile. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2009-11-17T154542.467605Z"></a> -2009-11-17T15:45:42.467605Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-15T075816.778296Z"></a> +2010-05-15T07:58:16.778296Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (TT font substitution) : Incorrect Widths applied to CIDFont glyphs from PDF file - -Details -Bug #690876 "Spacing issues with mixed asian/roman characters" - -The PDF interpreter applies the /Widths array from a PDF CIDFont by applying a custom -CDevProc to alter the width of the glyph before it is cached. This procedure relies -on the CID of the glyph being correct, as this is the index into the Widths array. - -This works correctly for genuine (embedded or from disk) CIDFonts. However, if we use -a disk-based TrueType font as a substitute for a missing CIDFont, the integer which gets -passed into the CDevProc routine is the TrueType glyph ID (GID). This is because the -CID from the CIDKeyed instance must be converted into a GID for us to consult the font. -Using the GID instead of the CID results in incorrect widths being applied. +use CC_ instead of CC like everywhere else, to make the "so" target work</pre> +<p>[base/libtiff.mak]</p> +</blockquote> -This conversion happens in PostScript and the original CID is not available at the time -CDevProc is executed. +<p><strong><a name="2010-05-15T063020.380857Z"></a> +2010-05-15T06:30:20.380857Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +"-shared" is a linker flag and not a compiler (object code generation) flag; another piece of trying to make "make -f base/unix-gcc.mak" work</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -Since this only affects substitution of fonts its arguable that the CDevProc is useless -in its original intent anyway. +<p><strong><a name="2010-05-15T062741.486639Z"></a> +2010-05-15T06:27:41.486639Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +try to make 'make -f base/unix-gcc.mak so' work +When not run through ./configure, HAVE_CONFIG_H isn't defined and +the jbig2 codes drop through to generic unknown unix platform - so we put some +generic unix values here. -This patch detects a CIDFont being replaced by a TrueType font by checking the font -type is type 11 (CIDFont with TT outlines), that the font dictionary contains a key -called /File (has been read from disk) and that the font_name and key_name strings -are different (substituted font). +</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> -In this case we ignore the CDevProc routine, and simply use the original widths from -the TrueType font. The widths won't be the same as requested by the job, but then -neither are the glyphs. For this job, because the widths of the TrueType glyphs are -sensible, the result is an improvement in the output. +<p><strong><a name="2010-05-15T062335.840946Z"></a> +2010-05-15T06:23:35.840946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +correct documentation on how make so should work - ./configure --enable-dynamic is required</pre> +<p>[doc/Make.htm]</p> +</blockquote> -</pre> -<p>[psi/zcharout.c]</p> +<p><strong><a name="2010-05-15T033629.389869Z"></a> +2010-05-15T03:36:29.389869Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding new header dependencies from the recent remove-globals effort</pre> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-11-16T170159.813716Z"></a> -2009-11-16T17:01:59.813716Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-15T031349.664716Z"></a> +2010-05-15T03:13:49.664716Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Details -After revision 8465 it is no longer possible for -show_state_setup in gxchar.c to alter the value of 'can_cache' but a comment in -gx_default_text_begin still said that it may do so. +adding a needed include to silent a compiler warning introduced by the recent remove-globals effort</pre> +<p>[base/gslibctx.c]</p> +</blockquote> -Removed the misleading comment. +<p><strong><a name="2010-05-15T031231.280935Z"></a> +2010-05-15T03:12:31.280935Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another fix to bug 691306 +This was broken in r2746 (June 2002) which nobody has noticed for 8 years. +This code path is only used for 'make -f unixansi.mak' (very generic unix cc compiler). </pre> -<p>[base/gxchar.c]</p> +<p>[base/gp_unifs.c]</p> </blockquote> -<p><strong><a name="2009-11-16T164821.437679Z"></a> -2009-11-16T16:48:21.437679Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-15T030909.671905Z"></a> +2010-05-15T03:09:09.671905Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix (TT fonts) : regression with TrueType fonts +generate tif_config.h if it is not there. part of fixes to bug 691306</pre> +<p>[base/libtiff.mak]</p> +</blockquote> -Details: -Bug #690642 "conversion to PDF aborts after 800 pages" -Bug #690921 "Regression: /invalidaccess in --run-- starting with r9897" +<p><strong><a name="2010-05-15T030653.120732Z"></a> +2010-05-15T03:06:53.120732Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about the vga devices being Linux specific</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -The patch for #690642 was an interim fix which was known to have flaws and was supposed -to be revisited to fix them. Unfortunately a file appeared which exhibited an attempt to -put a key in a read-only dictionary before this was done. +<p><strong><a name="2010-05-15T030554.250134Z"></a> +2010-05-15T03:05:54.250134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +part of fix to bug 691306. -This patch resolves both issues by removing the need for a temporary key (hence we no -longer write into a read-only dictionary) and also removes some ugliness (and slight -performance penalty) by not creating a dict from the stack, patching the dict, and -loading its contents back to the stack. +These two devices has been broken since r2925 (DeviceN, August 2002), +but not built by default at all. They were blindly enabled in +unix-gcc.mak amongst the ESP merge from Till, and it would appear that +nobody has noticed since the merge (8.57-8.60) until now. </pre> -<p>[Resource/Init/pdf_font.ps Resource/Init/gs_ttf.ps]</p> +<p>[base/gdevl256.c base/gdevvglb.c]</p> </blockquote> -<p><strong><a name="2009-11-14T182052.369823Z"></a> -2009-11-14T18:20:52.369823Z Robin Watts</strong></p> +<p><strong><a name="2010-05-15T025814.802157Z"></a> +2010-05-15T02:58:14.802157Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Bug fix for Bug 688604, "incorrect rendering of a returning curve". +freetype2 dependency in base/unixansi.mak to make "make -f base/unixansi.mak" work; another part for bug 691306</pre> +<p>[base/unixansi.mak]</p> +</blockquote> -The code currently in ghostscript checks for the bbox of a beziers control -points being of zero width/height and to avoid a division by zero just chooses -not to subdivide this curve. This is wrong in some cases. +<p><strong><a name="2010-05-15T025722.770443Z"></a> +2010-05-15T02:57:22.770443Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unix-gcc.mak to make "make -f base/unix-gcc.mak" work; bug 691306</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> -The fix here is a cheap and cheerful one; in the case where one dimension is -zero and the other isn't, we basically do the same calculation as would be -done in the two dimensional case, but just with a one dimensional distance -as input. +<p><strong><a name="2010-05-15T025530.474135Z"></a> +2010-05-15T02:55:30.474135Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about the default internal resolution for pdfwrite is 720dpi</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> -This causes various diff; all look good in my tests. +<p><strong><a name="2010-05-15T025408.145913Z"></a> +2010-05-15T02:54:08.145913Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about how to force-embedding the basic 14 fonts</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> -</pre> -<p>[base/gxpcopy.c]</p> +<p><strong><a name="2010-05-15T025247.037525Z"></a> +2010-05-15T02:52:47.037525Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix an obvious typo in the makefile</pre> +<p>[base/libtiff.mak]</p> </blockquote> -<p><strong><a name="2009-11-13T001647.523271Z"></a> -2009-11-13T00:16:47.523271Z Robin Watts</strong></p> +<p><strong><a name="2010-05-14T164605.198340Z"></a> +2010-05-14T16:46:05.198340Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -This patch fixes Bug 688269, by making ghostscript use pie joins rather than -round ones when stroking in non CPSI_mode. +Added support to unix-gcc.mak and unixansi.mak to build/use libtiff +(also fixed some typos and made the device lists more similar). -This produces 3000 or so bitmap diffs, but after leaving my machine running -all night generating lots of diffs for me to examine this morning, they all -look like stray pixel changes (i.e. differences caused by rounding). +Note because of the FreeType code these files do not work with +the current head (they work with ghostscript-8.71). +Fixes Bug 691301. </pre> -<p>[base/gxstroke.c]</p> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> </blockquote> -<p><strong><a name="2009-11-11T174222.705154Z"></a> -2009-11-11T17:42:22.705154Z Robin Watts</strong></p> +<p><strong><a name="2010-05-14T042314.678757Z"></a> +2010-05-14T04:23:14.678757Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Final msvc makefile changes to make ghostPDL targets build with the new -libtiff stuff. +remove one extra tab introduced in r10994; non-GNU Make on Tru64 and HP-UX is picky. Bug 688184 and bug 691299</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> -</pre> -<p>[/trunk/ghostpdl/svg/svg_msvc.mak base/gs.mak]</p> +<p><strong><a name="2010-05-14T042029.682174Z"></a> +2010-05-14T04:20:29.682174Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +HP compiler quirk - apparently the same workaround is needed for SUN Pro C and GCC 1.x (see a few lines before this change) ; bug 688184</pre> +<p>[contrib/opvp/opvp.h]</p> </blockquote> -<p><strong><a name="2009-11-11T155028.792827Z"></a> -2009-11-11T15:50:28.792827Z Lars Uebernickel</strong></p> +<p><strong><a name="2010-05-14T041842.997881Z"></a> +2010-05-14T04:18:42.997881Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Changed all tiff devices to use libtiff. +uint8_t type located in usual header on HP-UX needed for jbig2dec ; bug 688184</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> -Affected Devices are tiffgray, tiff12nc, tiff24nc, tiff32nc, tiffsep, tiffsep1, -tiffcrle, tiffg3, tiffg32d, tiffg4, tifflzw, and tiffpack. Also, two new -devices: tiff48nc and tiff64nc (16 bits per component rgb and cmyk respectively) -have been added. +<p><strong><a name="2010-05-14T041654.357328Z"></a> +2010-05-14T04:16:54.357328Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix conflicting types against HP-UX system header in jasper; bug 688184</pre> +<p>[jasper/src/libjasper/include/jasper/jas_types.h]</p> +</blockquote> -Libtiff 3.9.2 is included in the source tree as tiff/. It is possible to link -to the system's libtiff by passing --with-system-libtiff to configure. Passing ---without-system-libtiff will force the build to use the in-source version. By -default, the newer library (based on TIFFLIB_VERSION in tiffvers.h) is used. +<p><strong><a name="2010-05-13T200808.900471Z"></a> +2010-05-13T20:08:08.900471Z Robin Watts</strong></p> +<blockquote> +<pre> +Nudge the windows solution/makefiles closer to supporting 64 bit builds +by defining WIN64 and amending makefiles to pass the define on through +recursive calls. </pre> -<p>[tiff/libtiff/tif_predict.c tiff/contrib/addtiffo/tif_ovrcache.c tiff/html/images/bali.jpg tiff/libtiff/tif_predict.h tiff/man/tiffdither.1 tiff/contrib/addtiffo/tif_ovrcache.h tiff/libtiff/tiffconf.h tiff/libtiff/tif_apple.c tiff/html/v3.7.1.html tiff/html/v3.5.7.html tiff/test/check_tag.c tiff/man tiff/contrib/iptcutil/iptcutil.c tiff/html/addingtags.html tiff/contrib/dbs/tiff-palette.c tiff/html/man/TIFFbuffer.3tiff.html tiff/html/index.html tiff/contrib/win_dib/Tiffile.cpp base/gdevtifs.c base/gxcmap.c tiff/config/install-sh tiff/man/TIFFReadRGBATile.3tiff base/gdevtifs.h tiff/html/man/tiffsplit.1.html tiff/html/man/TIFFPrintDirectory.3tiff.html tiff/contrib/tags/xtif_dir.c tiff/contrib/stream/README tiff/contrib/acorn/SetVars tiff/contrib/mac-mpw/mactrans.c tiff/contrib/mfs/mfs_file.c tiff/test/short_tag.c tiff/tools/fax2tiff.c tiff/config/depcomp tiff/html/man/TIFFReadScanline.3tiff.html tiff/contrib/tags tiff/contrib/ras/Makefile.am tiff/libtiff/tif_aux.c tiff/libtiff/tif_packbits.c tiff/libtiff/tif_zip.c tiff/html/v3.5.4.html tiff/man/TIFFbuffer.3tiff tiff/contrib/mac-cw tiff/contrib/acorn/Makefile.am tiff/html/man/TIFFmemory.3tiff.html tiff/html/v3.5.6-beta.html tiff/m4/ltsugar.m4 tiff/tools/ycbcr.c tiff/html/man/TIFFRGBAImage.3tiff.html tiff/man/TIFFWriteRawStrip.3tiff tiff/html/v3.4beta007.html tiff/libtiff/tif_unix.c tiff/html/man/tiffinfo.1.html tiff/html/man/tiffset.1.html tiff/tools/rasterfile.h tiff/html/man/TIFFFlush.3tiff.html tiff/man/tiffdump.1 tiff/contrib/dbs/tiff-rgb.c tiff/contrib/dbs/Makefile.in tiff/html/man/fax2tiff.1.html tiff/contrib/mac-cw/mkg3_main.c tiff/contrib/win_dib/Makefile.in tiff/configure.com tiff/html/man/TIFFReadRGBAStrip.3tiff.html tiff/html/man/sgi2tiff.1.html tiff/tools/tiff2ps.c tiff/html/v3.5.1.html tiff/html/intro.html tiff/libtiff/tif_atari.c tiff/html/v3.8.0.html tiff/contrib/dbs/README tiff/config tiff/libtiff/tiffiop.h tiff/html/internals.html tiff/html/images/cover.jpg tiff/html/build.html tiff/libtiff/tiffconf.h.in tiff/html/man/TIFFWarning.3tiff.html tiff/contrib/mac-cw/metrowerks.note tiff/man/TIFFReadEncodedStrip.3tiff tiff/man/tiff2bw.1 tiff/HOWTO-RELEASE tiff/man/tiff2pdf.1 tiff/man/tiffsplit.1 tiff/html/man/TIFFcodec.3tiff.html tiff/man/bmp2tiff.1 tiff/html/v3.4beta016.html tiff/tools/fax2ps.c tiff/html/libtiff.html tiff/html/v3.4beta028.html tiff/html/man/tiffmedian.1.html tiff/html/man/TIFFWriteRawTile.3tiff.html tiff/man/TIFFError.3tiff tiff/tools/tiffmedian.c tiff/man/rgb2ycbcr.1 tiff/libtiff/uvcode.h tiff/html/images/dave.gif tiff/man/TIFFWriteEncodedStrip.3tiff tiff/html/man/Makefile.in tiff/contrib/dbs/xtiff/Makefile.am tiff/config/config.sub tiff/libtiff/Makefile.vc tiff/libtiff/tif_fax3.c tiff/man/TIFFWarning.3tiff tiff/tools/tiffgt.c tiff/man/TIFFWriteScanline.3tiff tiff/html/v3.9.2.html tiff/SConstruct tiff/contrib/tags/Makefile.am tiff/contrib/acorn/install tiff/libtiff/tif_fax3.h tiff/contrib/pds/tif_pdsdirwrite.c tiff/contrib/mac-mpw/Makefile.am tiff/man/TIFFcodec.3tiff tiff/man/tiffsv.1 tiff/html/Makefile.am tiff/contrib/mac-mpw/tools.make tiff/html/images/oxford.gif tiff/html/man/TIFFsize.3tiff.html tiff/contrib/iptcutil/Makefile.in tiff/html/man/TIFFReadEncodedTile.3tiff.html tiff/contrib/ras/tif2ras.c tiff/configure tiff/html/images/note.gif tiff/contrib/mfs/README tiff/html/man/tiff2bw.1.html tiff/config/mkinstalldirs tiff/libtiff/tif_jpeg.c psi/msvc32.mak tiff/test/Makefile.am tiff/html/man/TIFFGetField.3tiff.html tiff/m4/ltoptions.m4 tiff/html/man/TIFFReadRGBATile.3tiff.html tiff/libtiff/libtiff.def tiff/contrib/tags/listtif.c tiff/man/raw2tiff.1 tiff/html/v3.7.0beta.html tiff/tools/tiffdump.c tiff/html/man/TIFFWriteEncodedTile.3tiff.html tiff/man/ppm2tiff.1 tiff/html/v3.6.0.html tiff/contrib/addtiffo/Makefile.vc base/unix-gcc.mak tiff/man/TIFFDataWidth.3tiff tiff/contrib/mfs/Makefile.in tiff/contrib/pds/Makefile.in tiff/tools/Makefile.am tiff/contrib/dbs/tiff-bi.c tiff/contrib/iptcutil/test.iptc tiff/man/TIFFcolor.3tiff tiff/html/man/TIFFWriteScanline.3tiff.html tiff/man/tiff2rgba.1 tiff/contrib/addtiffo tiff/contrib/acorn/convert tiff/html/v3.4beta034.html tiff/tools/tiff2pdf.c tiff/port/libport.h tiff/html/man/TIFFSetDirectory.3tiff.html tiff/man/tiff2ps.1 base/devs.mak tiff/tools/bmp2tiff.c tiff/contrib/iptcutil/test.txt tiff/RELEASE-DATE tiff/contrib/iptcutil tiff/html/man/TIFFReadTile.3tiff.html tiff/test/strip.c tiff/man/libtiff.3tiff tiff/libtiff/tif_win32.c tiff/html/v3.7.2.html tiff/libtiff/tif_ojpeg.c tiff/html/contrib.html tiff/build/Makefile.am tiff/html/man/tiffcmp.1.html tiff/html/man/TIFFClose.3tiff.html tiff/html/man/TIFFquery.3tiff.html tiff/html/TIFFTechNote2.html tiff/html/images/ring.gif tiff/test tiff/libtiff/tif_config.h-vms tiff/html/v3.4beta031.html tiff/contrib/mfs tiff/contrib/win_dib/tiff2dib.c tiff/man/TIFFswab.3tiff tiff/html/images/Makefile.in tiff/contrib/mac-mpw/libtiff.make tiff/contrib/mac-cw/mac_main.c tiff/man/thumbnail.1 tiff/libtiff/tiff.h tiff/port/lfind.c tiff/libtiff/Makefile.in tiff/contrib/mac-cw/mac_main.h tiff/libtiff/tif_strip.c tiff/tools/raw2tiff.c tiff/html/v3.5.5.html tiff/TODO tiff/man/TIFFWriteTile.3tiff tiff/tools/ppm2tiff.c tiff/port/strcasecmp.c tiff/man/TIFFReadEncodedTile.3tiff tiff/html/man/tiffdither.1.html tiff/tools/sgisv.c tiff/contrib/tags/xtiffiop.h tiff/man/tiffmedian.1 tiff/libtiff/tif_config.h.in tiff/contrib/addtiffo/addtiffo.c tiff/html/images/quad.jpg tiff/html/images/warning.gif tiff/html/man/tiffsv.1.html tiff/html/images/cat.gif tiff/man/tiffcp.1 tiff/man/tiffcrop.1 tiff/man/TIFFReadRGBAStrip.3tiff tiff/libtiff/tif_version.c tiff/ChangeLog base/gdevtfnx.c tiff/test/long_tag.c tiff/port/Makefile.am tiff/man/TIFFSetField.3tiff tiff/man/Makefile.in tiff/libtiff/tif_swab.c tiff/build tiff/contrib/addtiffo/Makefile.in tiff/html/v3.5.2.html tiff/configure.ac tiff/html/man/TIFFWriteEncodedStrip.3tiff.html tiff/html/v3.8.1.html tiff/contrib/stream/Makefile.am tiff/man/TIFFmemory.3tiff tiff/man/TIFFsize.3tiff tiff/Makefile.am tiff/contrib/Makefile.am tiff/html/images tiff/autogen.sh base/winlib.mak tiff/libtiff/tif_jbig.c tiff/man/tiffinfo.1 tiff/libtiff/tif_extension.c tiff/html/images/smallliz.jpg tiff/port/strtoul.c tiff/html/man/TIFFReadEncodedStrip.3tiff.html tiff/html/man/fax2ps.1.html base/configure.ac tiff/VERSION tiff/contrib/mac-cw/Makefile.script tiff/man/TIFFWriteEncodedTile.3tiff tiff/html/v3.4beta029.html tiff/contrib/mac-cw/Makefile.in tiff/man/ras2tiff.1 tiff/libtiff/t4.h tiff/README tiff/contrib/README tiff/html/man/tiff2ps.1.html tiff/contrib/tags/maketif.c tiff/contrib/win_dib/README.tiff2dib tiff/html/man/rgb2ycbcr.1.html tiff/contrib/mac-mpw/BUILD.mpw tiff/html/man/tiffgt.1.html tiff/html/man/TIFFReadDirectory.3tiff.html base/gxdevice.h tiff/libtiff/tif_warning.c tiff/html/v3.7.0alpha.html tiff/tools/tiffcmp.c tiff/html/images/strike.gif tiff/contrib/stream/tiffstream.cpp tiff/contrib/ras/README tiff/html/man/TIFFcolor.3tiff.html tiff/tools/tiffset.c tiff/contrib/dbs/xtiff tiff/contrib/pds/tif_pdsdirread.c tiff/contrib/stream tiff/contrib/tags/xtiffio.h tiff/html/man/tiffcrop.1.html tiff/tools/tiffcrop.c tiff/port/dummy.c tiff/contrib/mac-mpw/port.make tiff/man/TIFFReadRawTile.3tiff tiff/html/man/TIFFtile.3tiff.html tiff/html/v3.6.1.html tiff/libtiff/tif_fax3sm.c tiff/html tiff/contrib/ras/Makefile.in tiff/libtiff/tif_close.c tiff/libtiff/tif_luv.c tiff/man/gif2tiff.1 tiff/html/man/libtiff.3tiff.html tiff/libtiff/tif_config.h tiff/contrib/pds/tif_imageiter.c tiff/man/TIFFPrintDirectory.3tiff tiff/contrib/dbs/Makefile.am tiff/libtiff/tif_flush.c tiff/contrib/win_dib/Makefile.am tiff/contrib/acorn/Makefile.in tiff/contrib/pds/tif_imageiter.h tiff/tools/Makefile.vc tiff/html/v3.4beta035.html tiff/contrib/stream/tiffstream.h tiff/libtiff/mkg3states.c tiff/tools/tiffinfo.c tiff/tools/tiffsplit.c tiff/contrib/pds tiff/contrib/win_dib/README.Tiffile tiff/man/TIFFReadDirectory.3tiff tiff/html/v3.9.0beta.html tiff/tools tiff/tools/rgb2ycbcr.c tiff/tools/ras2tiff.c tiff/html/images/cramps.gif tiff/m4/libtool.m4 tiff/html/v3.7.3.html tiff/html/tools.html tiff/COPYRIGHT base/libtiff.mak tiff/man/TIFFReadRGBAImage.3tiff tiff/contrib/win_dib/Makefile.w95 tiff/libtiff/tif_thunder.c tiff/html/man/TIFFReadRawStrip.3tiff.html tiff/man/fax2ps.1 tiff/libtiff/tif_lzw.c tiff/man/TIFFSetDirectory.3tiff tiff/html/man/TIFFReadRGBAImage.3tiff.html tiff/contrib/acorn/Makefile.acorn tiff/libtiff/tif_color.c tiff/m4 tiff/man/TIFFGetField.3tiff tiff/html/v3.4beta032.html tiff/libtiff/tif_win3.c tiff/html/man/TIFFWriteDirectory.3tiff.html tiff/contrib/ras tiff/libtiff/SConstruct tiff/man/sgi2tiff.1 tiff/html/man/Makefile.am tiff/contrib/iptcutil/README tiff/libtiff/tif_dirwrite.c tiff/build/README tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_write.c tiff/config/compile tiff/man/tiffgt.1 tiff/libtiff/tif_tile.c tiff/README.vms tiff/html/misc.html tiff/html/v3.7.0.html tiff/man/tiffcmp.1 tiff/libtiff/tif_open.c tiff/contrib/iptcutil/Makefile.am tiff/test/strip_rw.c tiff/contrib/dbs/xtiff/Makefile.in tiff/libtiff/tiffconf.vc.h tiff/contrib/win_dib tiff/man/tiffset.1 tiff/contrib/tags/Makefile.in tiff/libtiff/tif_config.wince.h tiff/tools/gif2tiff.c tiff/contrib/mac-mpw/Makefile.in tiff/contrib/dbs/xtiff/README tiff/libtiff/tiffio.h tiff/html/Makefile.in tiff/tools/tiff2rgba.c tiff/html/man/tiffcp.1.html tiff/contrib/mfs/Makefile.am tiff/contrib/acorn/ReadMe tiff/contrib/pds/Makefile.am tiff/man/TIFFstrip.3tiff tiff/html/man/TIFFswab.3tiff.html tiff/test/Makefile.in tiff/html/v3.5.3.html tiff/html/man/TIFFSetField.3tiff.html tiff/contrib/dbs/xtiff/patchlevel.h tiff/html/v3.8.2.html tiff/html/man/TIFFOpen.3tiff.html tiff/contrib/dbs/xtiff/xtifficon.h tiff/libtiff/tiffconf.wince.h tiff/port/getopt.c tiff/html/images/info.gif tiff/port/Makefile.vc tiff/contrib/addtiffo/tif_overview.c tiff/tools/tiffdither.c tiff/tools/pal2rgb.c tiff/html/images.html tiff/libtiff/tif_dumpmode.c tiff/html/man/TIFFWriteTile.3tiff.html tiff/aclocal.m4 tiff/config/missing tiff/html/man tiff/libtiff/tif_dir.c tiff/tools/Makefile.in tiff/Makefile.vc tiff/port tiff/html/man/tiff2pdf.1.html tiff/libtiff/tif_dir.h tiff/html/v3.4beta018.html tiff/html/man/tiff2rgba.1.html tiff/libtiff/tif_msdos.c base/gdevfax.c tiff/html/man/index.html tiff/contrib/dbs/tiff-grayscale.c tiff/contrib/dbs/xtiff/xtiff.c tiff/html/images/jim.gif base/gdevfax.h tiff/libtiff/tif_print.c tiff/tools/sgi2tiff.c tiff/man/TIFFOpen.3tiff tiff/contrib tiff tiff/contrib/mac-mpw tiff/config/ltmain.sh tiff/contrib/mac-cw/README tiff/tools/thumbnail.c tiff/libtiff/tiffio.hxx tiff/man/TIFFReadRawStrip.3tiff tiff/html/man/ppm2tiff.1.html tiff/contrib/acorn/cleanlib tiff/man/TIFFRGBAImage.3tiff tiff/html/images/back.gif tiff/libtiff/tif_read.c tiff/libtiff/tif_stream.cxx tiff/man/TIFFWriteDirectory.3tiff tiff/libtiff/tif_codec.c tiff/build/Makefile.in tiff/html/images/Makefile.am tiff/contrib/mac-cw/version.h tiff/test/ascii_tag.c tiff/libtiff/tif_pixarlog.c tiff/man/TIFFReadTile.3tiff tiff/libtiff/Makefile.am tiff/html/man/TIFFWriteRawStrip.3tiff.html tiff/contrib/tags/README tiff/libtiff/tif_error.c tiff/man/TIFFtile.3tiff tiff/nmake.opt tiff/libtiff/tif_compress.c tiff/libtiff/tiffvers.h tiff/html/man/TIFFError.3tiff.html tiff/html/man/tiffdump.1.html tiff/html/man/ras2tiff.1.html tiff/man/TIFFClose.3tiff tiff/man/TIFFquery.3tiff base/Makefile.in tiff/html/man/raw2tiff.1.html tiff/html/v3.9.1.html tiff/html/man/TIFFReadRawTile.3tiff.html tiff/m4/lt~obsolete.m4 tiff/html/man/pal2rgb.1.html tiff/libtiff/tif_dirread.c tiff/contrib/mac-mpw/top.make tiff/man/TIFFFlush.3tiff tiff/html/v3.7.0beta2.html tiff/man/TIFFWriteRawTile.3tiff tiff/html/v3.4beta024.html tiff/contrib/pds/README tiff/man/fax2tiff.1 tiff/libtiff/tif_getimage.c tiff/man/Makefile.am tiff/html/v3.4beta036.html tiff/man/TIFFReadScanline.3tiff doc/Devices.htm tiff/contrib/addtiffo/Makefile.am tiff/tools/tiffcp.c tiff/html/images/jello.jpg tiff/contrib/mac-mpw/README tiff/config/config.guess tiff/test/test_arrays.c tiff/contrib/acorn base/gs.mak tiff/man/pal2rgb.1 tiff/html/man/thumbnail.1.html tiff/libtiff/tif_acorn.c tiff/test/test_arrays.h tiff/html/man/TIFFstrip.3tiff.html tiff/html/v3.7.4.html tiff/port/Makefile.in tiff/html/bugs.html tiff/contrib/dbs base/gdevtfax.c tiff/contrib/addtiffo/README tiff/contrib/stream/Makefile.in tiff/html/man/TIFFDataWidth.3tiff.html tiff/libtiff tiff/contrib/mac-cw/Makefile.am tiff/contrib/ras/ras2tif.c tiff/libtiff/tif_next.c tiff/html/man/gif2tiff.1.html tiff/contrib/Makefile.in tiff/Makefile.in tiff/html/v3.4beta033.html tiff/html/support.html tiff/libtiff/tif_config.vc.h tiff/m4/ltversion.m4 tiff/tools/tiff2bw.c base/gdevtsep.c tiff/html/document.html tiff/m4/acinclude.m4]</p> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p> </blockquote> -<p><strong><a name="2009-11-11T150120.119636Z"></a> -2009-11-11T15:01:20.119636Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-13T164947.848287Z"></a> +2010-05-13T16:49:47.848287Z Hin-Tak Leung</strong></p> <blockquote> <pre> -silent two compiler warnings for casting from const to non-const introduced by r10313</pre> -<p>[base/gdevpx.c]</p> +adding NULL check before closedevice - bug report 691296 and patch from Tim Waugh. Thanks.</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T085542.013750Z"></a> +2010-05-13T08:55:42.013750Z Ken Sharp</strong></p> +<blockquote> +<pre> +Changes only in white space, to provoke another regression test. +</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-11-11T145305.840060Z"></a> -2009-11-11T14:53:05.840060Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-13T083002.236776Z"></a> +2010-05-13T08:30:02.236776Z Ken Sharp</strong></p> <blockquote> <pre> -partly reverting r8576, and other file-size improvements. +No changes, just an attempt to provoke some regression runs.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -After r10313, it becomes possible to revert r8576 (which was -a work-around to bug 688992, but increases file-sizes in some cases). -It is also found that r8576 is in fact more efficient for -small rasters; so it is only partly reverted. In two other places where -write_image_data() is called, switching to gx_default_copy_* for single-line -images/masks is likely to work well also. +<p><strong><a name="2010-05-13T080516.555333Z"></a> +2010-05-13T08:05:16.555333Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI interface +There is code in the FAPI interface for replacing a font's /FontBBox entry, this +sometimes has to create a new array to insert into the dictionary, if the old array is +not suitable for storing real values. -This fixes bug 690857, where 12-07C.PS uses a lot of 1-bit images, -and shrinks the file size by a factor of 4. +The code to do this continued using ref_assign_old, as it had done for replacing the +values in an existing array. This appears to be incorrect, when created the refs in a +new array are uninitialised so attempting to use ref_assign_old tries to use +uninitialised data. -There are a total of 4 places where write_image_data() is called -(copy_mono/copy_color/fill_masks/image_write_rows) - the 4th does -not use the data_bit field, nor is it likely to be called -with small rasters; so it is left unmodified. +Modified to use ref_assign_new instead, as indicated by the comments in store.h +This *may* reduce some of the non-deterministic behaviour, possibly with files such +as ShadowText.eps </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T084416.052741Z"></a> +2010-05-12T08:44:16.052741Z Chris Liddell</strong></p> +<blockquote> +<pre> +Elimate an irksome compiler warning introduced in r11221</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T014318.946640Z"></a> +2010-05-12T01:43:18.946640Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding documentation about the -dDisableFAPI=true switch in various places</pre> +<p>[doc/Use.htm doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-11-11T142617.282201Z"></a> -2009-11-11T14:26:17.282201Z Till Kamppeter</strong></p> +<p><strong><a name="2010-05-11T220522.389565Z"></a> +2010-05-11T22:05:22.389565Z regression</strong></p> <blockquote> <pre> -The cups_map_cmyk() function applied density corrections to RGB values. They can only get applied to CMYK values. Fixed by applying the cupsDensity correction before converting CMYK to RGB. +The local cluster now tests the language switch build (ls). </pre> -<p>[cups/gdevcups.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> </blockquote> -<p><strong><a name="2009-11-11T135323.399755Z"></a> -2009-11-11T13:53:23.399755Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-11T212119.118628Z"></a> +2010-05-11T21:21:19.118628Z Robin Watts</strong></p> <blockquote> <pre> -handles the case of data_bit being multiple of 8. +Add x64 platform target to Visual Studio projects. I can't +test it myself due to not having a 64bit Windows setup, +but it at least starts building and then falls over when +it tries to run a 64bit exe as part of the build process. -Try to handle the case of data_bit being multiple of 8 This fixes 690862, -and also make it possible to revert r8576 (which was a work-around to -bug 688992, but increases file-size) to fix bug 690857 (file-size issue). -Non-multiple of 8 are not handled, but by-passed at the callers'. </pre> -<p>[base/gdevpx.c]</p> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> </blockquote> -<p><strong><a name="2009-11-11T135223.912583Z"></a> -2009-11-11T13:52:23.912583Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-11T210209.407086Z"></a> +2010-05-11T21:02:09.407086Z regression</strong></p> <blockquote> <pre> -Increase the size of the initial buffer in the scanner dynamic area to accept -the string of maximum valid size. Protect the buffer from overflow when the -scanner state is saved during reading of a name that exceed max name length. -Bug 690902. - +Minor improvement to cluster node log collection code. </pre> -<p>[psi/iscan.c psi/int.mak psi/iscan.h]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-11T133703.631859Z"></a> -2009-11-11T13:37:03.631859Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-11T204110.123188Z"></a> +2010-05-11T20:41:10.123188Z Robin Watts</strong></p> <blockquote> <pre> -caching SetPen/SetBrush Null calls +bmpcmp was reporting the wrong page number for images, due to me forgetting +to increment the imagecount when images were loaded. Fixed here. -For some test files (the PS3 CET set), the pxlcolor/pxlmono code -emits a lot of setpen/setbrush nulls. There is no need to set it again -if the printer already got a previous setpen/brush null. So this patch -caches the null/non-null state of both pen and brush in the -driver and not re-issue set nulls if the last set was a null. +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -This only gives about 5% file size saving for the test file I wrote it -for. Part of the fix to bug 690857. +<p><strong><a name="2010-05-11T172501.376580Z"></a> +2010-05-11T17:25:01.376580Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bugs 690356 and 690832: have the colour space object take a copy of string data associated with an indexed colour space lookup table. This prevents the colour space finalising code (gx_final_Indexed) freeing the contents of a Postscript object which may still be in use.</pre> +<p>[psi/zcolor.c]</p> +</blockquote> +<p><strong><a name="2010-05-11T154421.967848Z"></a> +2010-05-11T15:44:21.967848Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) +The PDF interpreter, when a font is missing, and it has the 'small caps' flag set, +creates a substitute by altering the CharStrings of the substitute font, replacing +the lower case glyph CharStrings with procedures which 'show' the upper case glyph at a +reduced size. + +This ends up in the FAPI code as a t_mixedarray type which was being missed by the check +for a t_array, added previously to handle arbitrary procedures in a type 1 font. After +extending the check to include t_mixedarray it was clear that the SEAC processing was +also messing up the dictionary lookup, so it was necessary to restore a value which +had been overwritten in case a SEAC turned up. + +zero-length-font.pdf should now work as it does without FAPI, no other differences +expected. </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-11-11T095126.353930Z"></a> -2009-11-11T09:51:26.353930Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-11T143432.672494Z"></a> +2010-05-11T14:34:32.672494Z Chris Liddell</strong></p> <blockquote> <pre> -Fix (pdfwrite) : correct introduced regression +Revise the UFST interface code for PCL/PXL and GS to work with the changes to eliminate global variables in the Artifex code base. -Details -Bug #690906 "Regression: Several PostScript CET files hang pdfwrite" -Revision 10297 failed to check the return value from next_char_glyph for composite fonts -because the fact that an error return was possible was hidden inside a macro. +NOTE: the UFST_REENTRANT configuration was broken, and still is (it has been since the creation of gxfapiu.[ch] files. To be resolved in the future. At this time, therefore, no build integrating UFST can be thread safe. -Adding error return checking resolves the problem </pre> -<p>[base/gdevpdtt.c]</p> +<p>[/trunk/ghostpdl/pl/plulfont.c psi/fapiufst.c base/gxfapiu.c base/gxfapiu.h]</p> </blockquote> -<p><strong><a name="2009-11-10T204418.431838Z"></a> -2009-11-10T20:44:18.431838Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-11T132443.420456Z"></a> +2010-05-11T13:24:43.420456Z Robin Watts</strong></p> <blockquote> <pre> -fix (signed 16-bit)0 problem with r10267, and separate signed/unsigned numbers. +Fix for bug 691249 - error caused by failing to initialise new member of +libctx that was previously a global. -r10267 'write signed 16-bit integers properly' contains a mistake with ">" -(should be ">=") - it puts (signed 16-bit)0 as 32768. Historically, -the old code does 16-bit integers unsigned eventually. This current change -also separate signed and unsigned numbers. Apologies. +We now memset the contents of libctx to 0 after mallocing it, and then +explicitly set the non-zero/NULL/false values. This is safer long term as +it protects us from making the same mistake in future. </pre> -<p>[base/gdevpxut.h]</p> +<p>[base/gslibctx.c]</p> </blockquote> -<p><strong><a name="2009-11-09T234111.015200Z"></a> -2009-11-09T23:41:11.015200Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-11T124144.704781Z"></a> +2010-05-11T12:41:44.704781Z Hin-Tak Leung</strong></p> <blockquote> <pre> -implements white on mask (and added black on mask) in copy_mono. - -This adds white on mask as mask=black and (D & ~S) | S . -Black on mask is treated specially as (S & D). Fixes bug 688372 -(which uses white on mask) and 690830 (which uses black on mask) -and 690025 (which uses both white on mask and black on mask). +replace "/*" by "<slash><star>" to avoid compiler warning about comments inside comment </pre> +<p>[base/mkromfs.c]</p> +</blockquote> -</pre> -<p>[base/gdevpx.c]</p> +<p><strong><a name="2010-05-11T115510.416074Z"></a> +2010-05-11T11:55:10.416074Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug code for helping in debug of 689737. The pattern that is created is 1 bpp. With this code the pattern bit map is dumped for opening with photoshop as a raw 8bit image. The source of the problem appears to be incorrect creation of the pattern bit map when GraphicAlphaBits is set to greater than 1.</pre> +<p>[base/gxpcmap.c]</p> </blockquote> -<p><strong><a name="2009-11-09T205530.861525Z"></a> -2009-11-09T20:55:30.861525Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-11T093516.657505Z"></a> +2010-05-11T09:35:16.657505Z Ken Sharp</strong></p> <blockquote> <pre> -reverting r8733, which was a faulty fix to bug 688372. +Fix (fonts) +Bug #691290 "new freetype code gives error /typecheck in definefont" -reverting most of r8733 (except the two debug statements), which was -a faulty fix to bug 688372. The faulty fix seems to be the source of -bug 690861 and 690868. The correct fix to 688372 to follow. +When creating a Decoding from an Encoding array, treat null objects the same as /.notdef +(ie not encoded). +No differences expected. </pre> -<p>[base/gdevpx.c]</p> +<p>[Resource/Init/gs_fntem.ps]</p> </blockquote> -<p><strong><a name="2009-11-09T202051.490553Z"></a> -2009-11-09T20:20:51.490553Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-10T151725.103327Z"></a> +2010-05-10T15:17:25.103327Z Ken Sharp</strong></p> <blockquote> <pre> -purge cached palette whenever color space changes. +Fix (FreeType) : illegal use of setcurrentpoint not handled as per Adobe. +Bug #691172, file type1-ce1_setcurrentpoint.ps -The current pxlmono/pxlcolor code caches colorspace and palette calls -and not re-transmitting them if it hasn't changed since the last time -they were set. Whenever the color space changes, the current palette -should be purged, and a new palette should be (re-)transmitted to -the printer the next time an indexed colored image is sent. -This fixes bug 690859. +The PostScript file includes a font which illegally uses setcurrentpoint to establish an +absolute x/y position. The spec is quite clear that this operator is *only* meaningful +when processing the results of an OtherSubr, so this usage is definitely illegal. + +Not only does it use setcurrentpoint but, unlike previous uses we have seen, it does not +simply establish 0,0 as the initial point, which can be safely ignored, it actually +uses it to displace the outline vertically. + +FreeType normally just puts two uninitialised variables on the stack, ignores the +setcurrentpoint and pops the two dummy values. Instead, we now push the current x and +y co-ordinates when we get a '0 callothersubr'. In setcurrentpoint we then use the +top two values on the stack to set the current point. This now works for the illegal +usage seen here, the previous illegal usage, and does not break well-formed fonts +which actually use the OtherSubrs to set the point. </pre> -<p>[base/gdevpx.c]</p> +<p>[freetype/src/psaux/t1decode.c]</p> </blockquote> -<p><strong><a name="2009-11-09T184204.818284Z"></a> -2009-11-09T18:42:04.818284Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-10T122909.676516Z"></a> +2010-05-10T12:29:09.676516Z Michael Vrhel</strong></p> <blockquote> <pre> -Buffer mask data source in a reusable stream when needed for type 3 image with -separate data sources. Check all possible combinations of data source types and -fix a bunch of bugs in the code that handles cases untested before. Bug 688389. - -</pre> -<p>[Resource/Init/gs_ll3.ps]</p> +Retry of fix for Bug 69048 (this one actually builds...) Again this should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/lib.mak base/gxpcmap.c base/gxdevmem.h base/gdevabuf.c base/gspaint.c]</p> </blockquote> -<p><strong><a name="2009-11-09T160458.791370Z"></a> -2009-11-09T16:04:58.791370Z Ken Sharp</strong></p> +<p><strong><a name="2010-05-10T015742.574530Z"></a> +2010-05-10T01:57:42.574530Z Michael Vrhel</strong></p> <blockquote> <pre> -Fix (pdfwrite) : type 0 fonts with type 3 descendants could confuse pdfwrite by using -stringwidth - -Details -Bug #690875 "Ghostscript locks up writing PDF file" -There is code in gdev_pdf_text_begin which skips caching of type 3 glyphs when using -stringwidth. This prevents glyphs becoming bitmapped and ensures that pdfwrite and -the glyph cache are coherent. - -The code did not check for composite fonts using type 3 descendants. In this case if a -job used some glyphs for stringwidth, then later used at least one of those glyphs and -one glyph not previously encountered in a single string pdfwrite would enter an -endless loop. - -pdfwrite would notice that a glyph was not marked as 'used' in its internal cache, and -exit pdf_text_process to run the outline for the first glyph. GS would note that the -first glyph was already cached (from the stringwidth) and move on to the next glyph. -GS would render that glyph, pdfwrite would capture it and mark that character code as -used. +Reversion to 11210 until I figure out what went wrong...</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> -On returning to pdf_text_process the first glyph should be marked as used now, but it -was not, so pdfwrite would once again exit and the loop would repeat. +<p><strong><a name="2010-05-09T231059.799862Z"></a> +2010-05-09T23:10:59.799862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 690487. This should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> -Fixed by checking string using composite fonts to see if any glyph used a type 3 -descendant, and disabling caching if it does. +<p><strong><a name="2010-05-08T223046.926748Z"></a> +2010-05-08T22:30:46.926748Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update license headers of a few retaining files with AFPL header. +Bug 691285. +</pre> +<p>[Resource/Decoding/StandardEncoding Resource/Decoding/Latin1]</p> +</blockquote> +<p><strong><a name="2010-05-08T212213.614092Z"></a> +2010-05-08T21:22:13.614092Z regression</strong></p> +<blockquote> +<pre> +Whitespace changes only. </pre> -<p>[base/gdevpdtt.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-09T141954.384020Z"></a> -2009-11-09T14:19:54.384020Z Robin Watts</strong></p> +<p><strong><a name="2010-05-08T211223.981766Z"></a> +2010-05-08T21:12:23.981766Z regression</strong></p> <blockquote> <pre> -Adding comment as suggested by Hin-Tak to document why we need a particular -header file. +Minor changes to cluster software: + + Check svn commands for errors and retry. + Gather individual logs and md5sums after each job is completed + rather than at the end of all jobs. </pre> -<p>[base/gdevpx.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-09T141532.309537Z"></a> -2009-11-09T14:15:32.309537Z Robin Watts</strong></p> +<p><strong><a name="2010-05-08T204725.658412Z"></a> +2010-05-08T20:47:25.658412Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix to devs.mak: PXL requires a runlength compression function from PCL, so -correctly add the dependency to the makefile. +Minor changes to the cluster software: -This issue was seen when building using macosx.mak on a Snow Leopard Macbook. + Added a lock file to the clusterpull.sh task + Updated the documentation to explain how to temporarily disable a node. -Maybe in future if codesize is an issue we should pull this function out to a -separate file. +</pre> +<p>[toolbin/localcluster/clusterpull.sh toolbin/localcluster/readme]</p> +</blockquote> +<p><strong><a name="2010-05-08T155646.469253Z"></a> +2010-05-08T15:56:46.469253Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and break an infinite loop when some of the image data source are +at EOF, some are not, and the image code doesn't take more data. +Bug 691285. </pre> -<p>[base/devs.mak]</p> +<p>[psi/zimage.c]</p> </blockquote> -<p><strong><a name="2009-11-08T004019.198456Z"></a> -2009-11-08T00:40:19.198456Z Robin Watts</strong></p> +<p><strong><a name="2010-05-08T095955.023824Z"></a> +2010-05-08T09:59:55.023824Z Ken Sharp</strong></p> <blockquote> <pre> -Fix for valgrind problem in bug 690864. +Initialise a structure to silence a Coverity warning.</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> -We were scaling the bbox of a path even when the bbox had never been set. -The fix is to respect the bbox_set flag. +<p><strong><a name="2010-05-08T085757.923764Z"></a> +2010-05-08T08:57:57.923764Z Ken Sharp</strong></p> +<blockquote> +<pre> +Really, properly, silence the gcc compiler this time....</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> -</pre> -<p>[base/gxpath2.c]</p> +<p><strong><a name="2010-05-07T143008.276765Z"></a> +2010-05-07T14:30:08.276765Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix clist_band_height to use the macro defined in gxband.h as other code does to prevent future bitrot. Also use macros for the clist_ cfname, cfile, bfname, bfile.</pre> +<p>[base/gxclist.h]</p> </blockquote> -<p><strong><a name="2009-11-07T173112.980350Z"></a> -2009-11-07T17:31:12.980350Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-07T142318.978837Z"></a> +2010-05-07T14:23:18.978837Z Ray Johnston</strong></p> <blockquote> <pre> -Adobe Acrobat considers the use of clip operation on new path a no-op. -Check this and don't clip when there's no path. Bug 690891. +Fix number of elements in the BAND_PARAMS_INITIAL initializer macro to correspond to the size of gx_band_params_t (needed since rev 5751).</pre> +<p>[base/gxband.h]</p> +</blockquote> -DETAILS: -Besides the change in clipping, this patch reverts the code that preserves -current point position after fill operations and interferes with new path -detection. Reverted code predates source control and its purpose is not clear. -Perhaps, it was an attempt to avoid nocurrentpoint errors, which are now -trapped and handled. +<p><strong><a name="2010-05-07T121650.113521Z"></a> +2010-05-07T12:16:50.113521Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler warnings about not checking the return value from fread.</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> -</pre> -<p>[Resource/Init/pdf_ops.ps]</p> +<p><strong><a name="2010-05-07T121247.989467Z"></a> +2010-05-07T12:12:47.989467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise the members of a local structure to silence a (spurious) compiler and +Coverity warning.</pre> +<p>[base/gdevpdte.c]</p> </blockquote> -<p><strong><a name="2009-11-07T023137.642669Z"></a> -2009-11-07T02:31:37.642669Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-07T081729.050795Z"></a> +2010-05-07T08:17:29.050795Z Ken Sharp</strong></p> <blockquote> <pre> -Save and restore the graphics state around the dummy fill that was added in -rev 10284 in order to make sure that pages have at least one fill_path call. -The 'copypage' operator does not perform initgraphics so the FTS test that -expected the graphics state to be unperturbed by copypage would fail. -Bug 690894. Thanks to Alex for spotting the cause of the regression. -</pre> -<p>[base/gsdevice.c]</p> +Silence a GCC compiler warning, no differences expected.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-11-06T204048.453064Z"></a> -2009-11-06T20:40:48.453064Z Robin Watts</strong></p> +<p><strong><a name="2010-05-06T160427.459137Z"></a> +2010-05-06T16:04:27.459137Z Robin Watts</strong></p> <blockquote> <pre> -Fix for bug 690890. We always use the CPSI_mode version of the gs_strokepath -code (when executing strokepath or ustrokepath postscript operators). This -means we better match acrobat. +Remove gs_debug_out global variable as it is never used. -This frees us to optimise the non CPSI_mode version so as to produce simpler -stroked paths with the same outlines. This should allow us to be faster in -the non strokepath cases. +No differences expected or seen with local cluster testing. </pre> -<p>[base/gxpaint.c base/gspath.h base/gxpaint.h /trunk/ghostpdl/xps/xpspath.c base/gspaint.c base/gxstroke.c base/gxclrast.c]</p> +<p>[base/bench.c base/gsmisc.c]</p> </blockquote> -<p><strong><a name="2009-11-06T142340.138345Z"></a> -2009-11-06T14:23:40.138345Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-06T160343.016324Z"></a> +2010-05-06T16:03:43.016324Z Robin Watts</strong></p> <blockquote> <pre> -Clamp coordinates when the path is scaled up for anti-alias rendering. -Leave 1000pt slack at the edge because the path drawing routines can't -handle values close to the edge of the representable space. Bug 690864. +Update overprint device to avoid writing back to 3 global variables +({generic,no,sep}_overptint_procs). We still have those global variables +but each instantiated device takes copies of them and does any writing back +into the copies. This is part of the work for bug 691207. + +No differences expected or shown by local cluster testing. </pre> -<p>[base/gxpath2.c]</p> +<p>[base/gsovrc.c]</p> </blockquote> -<p><strong><a name="2009-11-05T233559.860092Z"></a> -2009-11-05T23:35:59.860092Z Robin Watts</strong></p> +<p><strong><a name="2010-05-06T160028.103268Z"></a> +2010-05-06T16:00:28.103268Z Robin Watts</strong></p> <blockquote> <pre> -Update htmldiff.pl to cope with svg files (and pdfwrite svg files). -Also update the invocation of .PS files to use gs_cet.ps +Move gs_interp_reschedule_proc, gs_interp_time_slice_proc, and +gs_interp_time_slice_ticks into context to avoid global variables as +part of the work for bug 691207. +No differences expected or seen with local cluster testing. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[psi/icontext.c psi/zcontext.c psi/icstate.h psi/interp.c]</p> </blockquote> -<p><strong><a name="2009-11-05T222430.858232Z"></a> -2009-11-05T22:24:30.858232Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-06T152510.815510Z"></a> +2010-05-06T15:25:10.815510Z Ken Sharp</strong></p> <blockquote> <pre> -This is the initial commit of the 'tiffsep1' device code that emits -separation files as 1-bit per pixel TIFF files, a separate file for -each separation. This is a CMYK plus Spot color device, and the -number of separations (spot colors) supported depends on the gdevdevn.h -setting of USE_COMPRESSED_ENCODING. By default this is true as long as -the sizeof(gx_color_index) is >= 8, so up to GX_DEVICE_COLOR_MAX_COMPONENTS -layers can be generated (current default 64). Without compressed color -encoding, then only 8 total (C, M, Y, K and 4 spot colors) can be -supported. - -Files are named with the separation layer in ( ), e.g. x(Black).tif if -the OutputFile is 'x.tif'. Since no composite CMYK is generated, the -base file is deleted ('x.tif' in the example). +Fix (FAPI & FreeType) -DETAILS: +Bug #691284 "Error: /unknownerror in --.FAPIBuildChar" +The issue is caused because the PostScript file adds to an existing type 1 font a +CharString entry which is not in type 1 CharString format. I would have thought this +to be illegal but other PostScript interpreters (specifically Distiller) are happy +with it. -This device uses a hook of the 'fill_path' device call to collect the -threshold arrays from the imager state. In case a file does not perform -a 'fill' operations, the gsdevice.c code does a dummy fill of an empty -path to allow the 'sep1_fill_path' code to convert the 'order' into -threshold arrays.s +Modifed the FAPI interface so that after retrieving a type 1, non-CID, CharString we +test to see if it is a procedure, if it is, then we return an error from the FAPI +code to the caller (in this case the FreeType interface). -The 'open' and 'put_params' device functions are modified to make sure -that if the clist device is being used, the 'sep1_fill_path' proc will -be re-hooked (the clist initialization overwrites some procs including -the 'fill_path' proc). The sep1_fill_path then forwards to whatever -fill_path proc was set by the gdev_prn_open or put_params. +Modified the FreeType interface so that if the CharString retrieval returns an error +we return a specific (otherwise unused) error to the caller, in this case the +FreeType engine. On return from FreeType to the interface we test for the specific +FreeType error (FT_ERR_Invalid_File_Format) and if this is detected then instead of +returning an error to FAPI, we add one to the character index (to ensure it isn't 0) +and return that to FAPI. -A later commit will move the 'thresholds_from_order' function to another -common file (probably gsht1.c) and change it to generate a threshold -array of type 'gs_threshold_halftone' with NULL transfer and closure -functions. This function is in gdevtsep.c now since it is the only -device that needs it (for now) and development was easier with all -changes more or less localized (at least non-trivial ones). +Finally, in the FAPI code, after 'rendering' the glyph, if we were returned a value +> 0 then we assume that 'something went wrong' with the CharString. As a last-ditch +effort we use the return value -1 to retrieve the CharString, and then 'exec' it. -The make files are modified so that the 'tiffsep1' device is included -by default (where the tiffsep device is included). +NB if we fail to retrieve the CharString at this level, we return an invalidfont error. -The actual halftoning is done using 32-bit writes of the dithered line -since testing showed this to be 27% faster (although more complex). -Note that the compressed color encoding (the current default) is about -half the throughput compared to direct encoding. Users that are sensitive -to performance (who isn't) and that only need 8 or less total colors -(CMYK plus 4 spot colors) will want to turn compressed color encoding -off. </pre> -<p>[base/gsdevice.c psi/os2.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/Makefile.in base/gdevtsep.c base/configure.ac base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/devs.mak]</p> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> </blockquote> -<p><strong><a name="2009-11-05T170101.144368Z"></a> -2009-11-05T17:01:01.144368Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-06T030441.737028Z"></a> +2010-05-06T03:04:41.737028Z Alex Cherepanov</strong></p> <blockquote> <pre> -Add support for only testing only langauges which were affected by a commit. - +Fix compilation errors on Visual C that wants "ui64" suffix instead of "ULL" +for "unsigned long long" numerals. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/sha2.c]</p> </blockquote> -<p><strong><a name="2009-11-05T081447.560103Z"></a> -2009-11-05T08:14:47.560103Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-05T203019.371369Z"></a> +2010-05-05T20:30:19.371369Z Robin Watts</strong></p> <blockquote> <pre> -updating the internal graphic state as in the else part; 2nd half of fix to bug 690853</pre> -<p>[base/gdevpx.c]</p> -</blockquote> +Remove 2 unused globals. These should have been removed as part of 11146. -<p><strong><a name="2009-11-03T234348.930105Z"></a> -2009-11-03T23:43:48.930105Z Ralph Giles</strong></p> -<blockquote> -<pre> -Fix a const propagation warning. +No differences expected. -Also remove some trailing whitespace.</pre> -<p>[base/gdevp14.c]</p> +</pre> +<p>[psi/iinit.c]</p> </blockquote> -<p><strong><a name="2009-11-03T234347.356550Z"></a> -2009-11-03T23:43:47.356550Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-05T195805.790577Z"></a> +2010-05-05T19:58:05.790577Z regression</strong></p> <blockquote> <pre> -Remove some unused variables from the PDF 1.4 compositor device, -fixing several warnings. Also cleans up some formatting.</pre> -<p>[base/gdevp14.c]</p> +Minor changes to the local cluster: + +Report md5sum differences even in files that generate an error during processing. +Archive the email and log files for all revisions, including those which had compile errors. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-11-03T234345.299604Z"></a> -2009-11-03T23:43:45.299604Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-05T181421.583279Z"></a> +2010-05-05T18:14:21.583279Z Robin Watts</strong></p> <blockquote> <pre> -Move some static prototypes from gdevp14.h to gdevp14.c. +More work towards bug 691207 (global variable removal). -These two functions, internal to gdevp14.c, need forward prototypes -but where declared in the public header, causing gcc warnings when -the declarations where included in other source files.</pre> -<p>[base/gdevp14.c base/gdevp14.h]</p> -</blockquote> +There are 4 places is xps where we do eprintfs that access mem_err_print. +This resolves 1, the other 3 should never be called in files we support. -<p><strong><a name="2009-11-03T175436.738828Z"></a> -2009-11-03T17:54:36.738828Z Hin-Tak Leung</strong></p> -<blockquote> -<pre> -revert to PXL 1.1 - it is possible some old printers dislike PXL 2.1 header</pre> -<p>[base/gdevpxut.c]</p> -</blockquote> +Resolve 4 const warnings from jasper. -<p><strong><a name="2009-11-03T165925.556772Z"></a> -2009-11-03T16:59:25.556772Z Alex Cherepanov</strong></p> -<blockquote> -<pre> -Fix a line split without the '\' at the end of the line. By some reason gmake -tolerates this but MSVC nmake doesn't. Bug 690886, customer 661. +Remove 2 calls to gs_lib_ctx_get_non_gc_memory_t from the cups driver. This +means the only places left calling this are devices in gs\contrib. + +Convert calls to errprint_nomem to calls to errprint (in gdevx.c, gxttb.c, +gdevupd.c) + +The only places using mem_err_print are therefore: + + * calls to debug printing functions + * devices in gs/contrib calling gs_lib_gtx_get_non_gc_memory, errprint_nomem, + and eprintf. + * jasper calling eprintf. + * gdevsco.c (but that seems intrinsically single threaded to me as only one + thing can be using the console at a time, presumably) + * signal handlers in os2 and iwatc for catching numeric exceptions. + * Various devices in gs/base still call errprintf_nomem - some in DEBUG only + code, but some not. + * The gs_throw_imp function. + +I think this may be as good as we can get at this point. + +No differences expected, or shown by local cluster testing. </pre> -<p>[base/lib.mak]</p> +<p>[/trunk/ghostpdl/xps/xpsfont.c base/gdevx.c base/gdevupd.c base/gxttfb.c cups/gdevcups.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-11-03T143904.429643Z"></a> -2009-11-03T14:39:04.429643Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-05T162549.238174Z"></a> +2010-05-05T16:25:49.238174Z Robin Watts</strong></p> <blockquote> <pre> -Use SetPageScale and SetPageOrigin to work around 16-bit limit in paths. +More work for bug 691207 (remove global vars). Change the gp_ interface and +all its implementations to pass a gs_memory_t in some cases to allow eprintf +calls to be made safely. + +Also fix a 'const' warning in pxl/pxfont.c and pcl/pcsymbol.c -This is a similar but more extensive change to the last (16-bit limit in -SetCursor), which use SetpageScale to make path co-ordinates fit within -16-bit. In so doing some paths can become inaccurate if one of the -points are not large; so SetPageOrigin is used to shift to one such point -before the scaling. This is the last part to fix bug 690858 and bug 690860 . +No differences expected, or shown by local cluster testing. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gp_os2.c base/gdevos2p.c base/gsdevice.c psi/zfile.c base/gp_os2pr.c base/gp_vms.c base/gdevwprn.c base/gxclfile.c base/gp_iwatc.c base/gp_os2.h base/gp_os9.c base/gdevwpr2.c /trunk/ghostpdl/pcl/pcsymbol.c /trunk/ghostpdl/xps/xpstop.c base/gp_unix.c /trunk/ghostpdl/psi/psitop.c base/gp_unifs.c base/gp.h base/gp_macio.c base/bench.c base/gdevpdf.c base/gp_os2fs.c /trunk/ghostpdl/pxl/pxfont.c base/gp_mswin.c base/gp_dvx.c]</p> </blockquote> -<p><strong><a name="2009-11-03T140653.986640Z"></a> -2009-11-03T14:06:53.986640Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-05T064720.379288Z"></a> +2010-05-05T06:47:20.379288Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Use SetPageScale to work around 16-bit limit in SetCursor. +A fix for 691164 "PDF loads blank when not Administrator on Vista using GS 8.7". + +The problem was in JasPer library. It tried to create temporary file in +current directory (HAVE_MKSTEMP), or root directory (Windows and others). +When those directories are read only, it failed to decode images. + +This patch introduces searching of TMPDIR, TEMP and TMP environment varibales +and use them for temporary files. -Here SetPageScale is used so that large cursor co-ordinates can fit -within 16-bit signed integer limit. This fixes bigpath.ps in -bug 690855, and also fixes some of the problems seen in bug 690858 and -bug 690860. +Localcluster test reported no differences. </pre> -<p>[base/gdevpx.c]</p> +<p>[jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/include/jasper/jas_stream.h]</p> </blockquote> -<p><strong><a name="2009-11-03T135422.932026Z"></a> -2009-11-03T13:54:22.932026Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-05T030800.170436Z"></a> +2010-05-05T03:08:00.170436Z Hin-Tak Leung</strong></p> <blockquote> <pre> -new SetPageScale/Unset utility routine before the fix to bug 690858</pre> -<p>[base/gdevpx.c]</p> +adding --ldflags to cups.mak ; bug 690268</pre> +<p>[cups/cups.mak]</p> </blockquote> -<p><strong><a name="2009-11-03T135017.551314Z"></a> -2009-11-03T13:50:17.551314Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T231146.700325Z"></a> +2010-05-04T23:11:46.700325Z Hin-Tak Leung</strong></p> <blockquote> <pre> -new SetPageOrigin utility routine before the fix to bug 690858</pre> -<p>[base/gdevpx.c]</p> +Incoporate the reporter's suggested change to config.guess , bug 69020 + +It appears that the same change is already in automake-1.11 (and after 1.7), +so the change is correct. If we merge with upstream again, it is possible that +this might be overwritten. Hopefully when that happens, the config.guess from +newer upstream will have this change. +</pre> +<p>[jasper/acaux/config.guess]</p> </blockquote> -<p><strong><a name="2009-11-03T134154.478161Z"></a> -2009-11-03T13:41:54.478161Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T225233.245666Z"></a> +2010-05-04T22:52:33.245666Z Hin-Tak Leung</strong></p> <blockquote> <pre> -fixes age-old typo. - -This appears to be a typo - the gray conversion code is doing -out = (red + green + next_red) instead of (red + green + blue). - -</pre> -<p>[base/gdevpx.c]</p> +minor wording and grammar corrections. Bug 690005</pre> +<p>[doc/Use.htm]</p> </blockquote> -<p><strong><a name="2009-11-03T133648.031673Z"></a> -2009-11-03T13:36:48.031673Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T190537.567635Z"></a> +2010-05-04T19:05:37.567635Z Robin Watts</strong></p> <blockquote> <pre> -write signed 16-bit integers properly. +A couple of calls to eprintf missed from the previous commit. -The pxl utlity code has never been able to write negative numbers as -signed 16-bit integers properly. This fixes bug 690863 primarily, and also -some of the problems seen in bug 690858, file CATX8874.pdf mentioned -in bug 690859, and part of the problems in bug 690860. +No expected changes. </pre> -<p>[base/gdevpxut.h base/gdevpxut.c]</p> +<p>[base/gsfcid.c]</p> </blockquote> -<p><strong><a name="2009-11-03T132030.378093Z"></a> -2009-11-03T13:20:30.378093Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T190451.514942Z"></a> +2010-05-04T19:04:51.514942Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Do rounding of co-ordinates rather than clipping. - -This set of change tries to calculating the co-ordinates more accurately by -doing rounding of fractional parts instead of clipping off the fractional -parts. This is part of the fix to bug 690869. Also needs -r1200 to work -for the intended purpose of matching with ppmraw output. - +Improved the localcluster readme instructions. </pre> -<p>[base/gdevpx.c]</p> +<p>[toolbin/localcluster/readme]</p> </blockquote> -<p><strong><a name="2009-11-03T131451.306299Z"></a> -2009-11-03T13:14:51.306299Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T184712.330141Z"></a> +2010-05-04T18:47:12.330141Z Robin Watts</strong></p> <blockquote> <pre> -Tightening the standard media size matching. +As part of the work for bug 691207 (remove global variables) we introduce +a new set of macros, "emprintfX". These do the same as the "eprintfX" +macros, except they take an explicit memory reference rather than using +the mem_err_print global. + +The plan is to move everything possible over to using emprintf, leaving +callers of eprintf as 'unsafe' in multithreaded builds. -Drop the tolerance to 0.05 from 5/72 of an inch. -One of the test files is 36-pixels @r600 within a standard size. -Fixes bug 690866. +This review changes all callers of eprintf in ghostscript except: +gdevsco.c, gp_iwatc.c, gp_macio.c, gp_mswin.c, gp_os2.c, gp_os2pr.c, +gp_unifs.c, gp_vms.c, gsfid.c, contrib\*, jasper\*. + +1 instance in gzspotan.c remains unchanged, but it should never be used. + +Local cluster testing shows no build problems. </pre> -<p>[base/gdevpxut.c]</p> +<p>[psi/fapi_ft.c base/gdevpdfj.c base/gsdevice.c base/gdevos2p.c psi/zfapi.c base/gdevijs.c base/gdevpdfm.c base/gdevpx.c base/gxclfile.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c psi/fapiufst.c base/gdevpdtf.c base/gdevpdfu.c base/gxblend1.c base/gspaint.c base/gdevxini.c base/gxcmap.c base/gxclthrd.c base/gdevpsdu.c base/gdevpdtt.c base/gstype42.c base/gdevpsft.c base/gsmisc.c base/gdevsgi.c base/gxclmem.c base/gxttfb.c base/std.h base/gslib.c base/gxtype1.c base/gzspotan.c psi/imainarg.c base/gdevpe.c base/gdevsun.c base/gdevxcmp.c psi/imain.c base/gsiorom.c base/gdevpdf.c base/gdevtsep.c contrib/japanese/gdevdmpr.c base/gxclrast.c base/gdevpdfi.c]</p> </blockquote> -<p><strong><a name="2009-11-03T125924.143346Z"></a> -2009-11-03T12:59:24.143346Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T160329.077971Z"></a> +2010-05-04T16:03:29.077971Z regression</strong></p> <blockquote> <pre> -flush stream data in close_device(). - -For a whole set of postscript files (the ps3cet set), the close_device() -finalizer code is called before the PXL output is flushed. This causes -the PJL job footer to be outputted in the middle of the last portion of -PXL output, thus corrupting the PXL data. Adding a flush fixes this problem. -Fixes one of the many problems in bug 690858. +Changed casper3.ghostscript.com to casper.ghostscript.com (no reason to test this, how can it possibly fail?). </pre> -<p>[base/gdevpx.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-11-03T125017.079568Z"></a> -2009-11-03T12:50:17.079568Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-05-04T123427.748154Z"></a> +2010-05-04T12:34:27.748154Z Robin Watts</strong></p> <blockquote> <pre> -Removes two redundant SetBrushSource black +As part of the efforts towards bug 691207 (global variables must be removed) +this commit reduces the reliance on mem_err_print. + +Currently all calls to errwrite and errflush get the stdin/out/err details +from a global mem_err_print. For multithreaded gs this will result in output +going to the wrong place if any of them are redirected. This review splits +errwrite into 2 variants, errwrite and errwrite_nomem. The first takes an +explicit mem pointer. The second continues to assume a global one. -The two SetBrushSourcewas introduced by: +The plan is to make everything possible use the first. Currently debugging +calls and some 'stubborn' devices continue to call errwrite_nomem. -r8732: marcos - Add support to pxlcolor and pxlmono for 24 bpp images. +Local cluster testing shows no differences. -After r8732, whenever one tries to output an image, the brush color is reset to -black. This affects later drawings that relies on a non-black brush color being -set previously and still considered being active. Fixes bug 690853. </pre> -<p>[base/gdevpx.c]</p> +<p>[base/gdevos2p.c base/gdevsppr.c base/gdevpdfm.c base/gdevsunr.c base/gdevpx.c base/gdevupd.c base/gdevimgn.c base/gdevwpr2.c base/ttfmain.c base/ttfoutl.h base/gp_unifs.c /trunk/ghostpdl/psi/psitop.c base/gdev4693.c /trunk/ghostpdl/xps/xpsfont.c base/strmio.c /trunk/ghostpdl/pxl/pxtop.c contrib/pcl3/src/gdevpcl3.c base/gsmisc.c base/gdevwddb.c base/gsargs.c base/szlibd.c /trunk/ghostpdl/pl/plmain.c base/gxttfb.c base/std.h base/gdevifno.c /trunk/ghostpdl/xps/xpscff.c /trunk/ghostpdl/pcl/pctop.c contrib/pcl3/eprn/gdeveprn.c base/gdevcdj.c psi/ziodevsc.c base/gdevx.c base/gslibctx.c contrib/pcl3/eprn/eprnparm.c toolbin/localcluster/run.pl base/gdevhl7x.c]</p> </blockquote> -<p><strong><a name="2009-11-03T062149.323464Z"></a> -2009-11-03T06:21:49.323464Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-03T165735.641421Z"></a> +2010-05-03T16:57:35.641421Z Henry Stiles</strong></p> <blockquote> <pre> -Add missing return type and static scope to the definitions of -pdf14_push/pop_transparency_state. Fixes a gcc warning.</pre> -<p>[base/gdevp14.c]</p> +Fix compiler warning (return from incompatible pointer type) +introduced with making the font cache part of the library context, +revision 11165. +</pre> +<p>[psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-11-03T052732.955847Z"></a> -2009-11-03T05:27:32.955847Z Ralph Giles</strong></p> +<p><strong><a name="2010-05-03T164816.934577Z"></a> +2010-05-03T16:48:16.934577Z Lars Uebernickel</strong></p> <blockquote> <pre> -Include the implicitly required headers for gxpcolor.h in gdevp14.h. +Applied Michael Constant's patch to support reading 256-bit AES encrypted PDFs +(bug #690702). + +Minor modifications were made to the original patch to make it work with the +current trunk. + +Aaron Gifford's SHA-2 implementation is included (BSD licensed). + +Libidn is added as an optional dependency to support unicode passwords. If it +is not installed, only ASCII passwords are supported. -This declares dev_color_proc_save_dc and related function pointers -before use, correcting a serious gcc warning and fixing compilation -on AIX 5.3 TL 8 SP2. Bug 690883. </pre> -<p>[base/lib.mak base/gdevp14.h]</p> +<p>[base/errno_.h psi/zfaes.c psi/gs.c base/saes.c base/lib.mak base/sha2.c doc/Use.htm base/saes.h base/Makefile.in psi/int.mak psi/zutf8.c base/sha2.h base/locale_.h psi/zpdfops.c psi/zfsha2.c psi/zwinutf8.c psi/winint.mak base/ssha2.c base/configure.ac Resource/Init/pdf_sec.ps psi/msvc32.mak base/ssha2.h]</p> </blockquote> -<p><strong><a name="2009-11-02T173656.958032Z"></a> -2009-11-02T17:36:56.958032Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-03T132552.802113Z"></a> +2010-05-03T13:25:52.802113Z Ken Sharp</strong></p> <blockquote> <pre> -When a stream error occurs, Ghostscript sometimes print a spurious "Additional -information" line containing uninitialized data as part of the error message. -Initialize error_string in s_init_state to fix this. Thanks to -Michael Constant for the patch. Bug 690874. +Fix (pdfwrite) incorrect ToUnicode CMap. +Bug #691274 "Missing or incorrect ToUnicode when using Identity ordering" + +pdfwrite emits ToUnicode CMaps in PDF files which always use 2 bytes for the key +length. That is 0x21 is represented as <0021>, since these are hex strings there should +in fact be no difference between <21> and <0021>. It is clear from the ToUnicode +Mapping file tutorial that this is correct for mapping files. + +However, a PDF file is not a CMap file. It appears that Acrobat does not like +beginbfrange data which is padded with zeros (it seems happy with codespacerange and +destination codes which are 0 padded though). + +This patch outputs ToUnicode CMaps which are not padded with 0, ie 0x21 is emitted as +<0021>, for the srcCodeLo and SrcCodeHi parameters in a beginbfrange operation. The +destination codes remain zero-padded. +Technically this would be incorrect for a real CMap file, but we don't write those +out so this should not be an issue. The change is limited to ToUnicode CMaps and does +not affect any other kind of CMap. + +I believe the change will affect the data emitted for the beginbfrange, +beginbfchar, begincidchar, beginnotdefchar, beginnotdefrange and begincidrange +operators. It does *not* affect the begincodespacerange operator; although Acrobat +Distiller writes this without zero padding tests show that Acrobat is happy reading +zero-padded code space ranges. + +ToUnicode information is not used in rendering PDF files, so regression testing should +show no differences. Local testing of a limited number of files doesn't reveal any +problems, but this change has not been well tested. </pre> -<p>[base/stream.c]</p> +<p>[base/gsfcmap.c]</p> </blockquote> -<p><strong><a name="2009-11-02T162435.721695Z"></a> -2009-11-02T16:24:35.721695Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-03T041330.766321Z"></a> +2010-05-03T04:13:30.766321Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Add psdcmyk to regression testing (currently only at 72/75 dpi). -</pre> -<p>[toolbin/localcluster/build.pl]</p> +Fix unix so build regression; fixes regression from r9948 which was committed for bug 690695</pre> +<p>[base/unix-dll.mak]</p> </blockquote> -<p><strong><a name="2009-11-02T052128.471147Z"></a> -2009-11-02T05:21:28.471147Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-05-03T035903.969165Z"></a> +2010-05-03T03:59:03.969165Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Quiet Ubuntu 9.10 gcc/ld warning: - -./obj/gdevpsft.o: In function `T.107': -gdevpsft.c:(.text+0x992): warning: memset used with constant zero length parameter; this could be due to transposed parameters +fixes multiple jpeg devices listed in gs -h (bug 691176)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> +<p><strong><a name="2010-05-03T031434.052929Z"></a> +2010-05-03T03:14:34.052929Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Rewording build instructions for unix systems, and adding more warnings about +instructions for legacy old systems being deprecated; bug 691264. </pre> -<p>[base/gdevpsft.c]</p> +<p>[doc/Make.htm]</p> </blockquote> -<p><strong><a name="2009-11-01T233617.798485Z"></a> -2009-11-01T23:36:17.798485Z Ray Johnston</strong></p> +<p><strong><a name="2010-05-02T001952.718987Z"></a> +2010-05-02T00:19:52.718987Z Robin Watts</strong></p> <blockquote> <pre> -Fix for indeterminism from psdcmyk and any other devices that use rgb_cs_to_spotn_cm -or other gx_cm_color_map_procs that don't set all color_info->num_components elements -of the "frac out[]" array. Fix for Bug 690713. +Script to generate an html page that graphically show the differences +between local cluster regression run results between arbitrary revisions. -DETAILS: +Usage information given in file. Must be run on the cluster master machine +(i.e. casper). -All of the cmap_***_direct and cmap_***_halftoned functions in gxcmap.c called into -the corresponding device's color mapping proc (supplied by the dev_proc -get_color_mapping_proc) for that color space, but it is not a requirement (invariant) -that those functions set all 'num_components' elements of the array, and some did -not (such as the rgb_cs_to_spotn_cm function mentioned above. </pre> -<p>[base/gxcmap.c]</p> +<p>[toolbin/localcluster/comparerevs.pl]</p> </blockquote> -<p><strong><a name="2009-11-01T224733.338243Z"></a> -2009-11-01T22:47:33.338243Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-01T232233.008186Z"></a> +2010-05-01T23:22:33.008186Z Henry Stiles</strong></p> <blockquote> <pre> -Fix a typo in a recently committed patch (rev. 10246) that broke a branch -that handles Type 3 images with string data source in the image and file data -source in the mask. Bug 690451, customer 200. - +Continue work to remove globals (691207). The font cache is no longer +global but part of the library context. </pre> -<p>[Resource/Init/gs_ll3.ps]</p> +<p>[psi/isave.h psi/bfont.h base/gslibctx.c psi/zfcid0.c psi/zfcid1.c psi/zfont.c psi/zfont0.c psi/zfont1.c psi/zbfont.c psi/zusparam.c base/gslibctx.h psi/zfont32.c psi/zfont42.c psi/isave.c]</p> </blockquote> -<p><strong><a name="2009-11-01T195029.144138Z"></a> -2009-11-01T19:50:29.144138Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-05-01T092324.281883Z"></a> +2010-05-01T09:23:24.281883Z Ken Sharp</strong></p> <blockquote> <pre> -Consider '0000000000 00000 n' as a free entry, issue a warning, and continue -processing xref table. Files with this error, generated by Quartz PDFContext -are getting increasingly common. Bug 690873. +Modify the 'C' defaults of the pdfwrite device + +Bug #691259 "HPGL graphic followed by raster graphic results in incorrect pdf" +The pdfwrite device is initialised in 'C', and then partly overridden by PostScript +initialisation. The problem is that non-PostScript input does not (cannot) execute the +PostScript initialisation, and so the defaults are left as those done in 'C'. + +Not only do these defaults not match the documented defaults in ps2pdf.htm, they are +not particularly well selected. In this case the problem was caused by sending image +data at 150 dpi, but only a single scan line at a time. The default setting for +pdfwrite was to downsample image data to 72 dpi, this caused us to subsample (the +default downsampling) by a factor of more than 2, which led to our single scan line +becoming less than half a scan line, and so disappearing altogether. + +This patch addresses this issue by altering a number of the defaults to more sensible +values. In particular we disable downsampling and enable image compression for gray +and colour images. This has the fortunate result of making most PDF output files +smaller than before, even though we are now storing more image data. + +</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> +<p><strong><a name="2010-05-01T015946.738263Z"></a> +2010-05-01T01:59:46.738263Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check all PDF files for transparency features because some files have +incorrect version number but Acrobat renders them just fine. Bug 691273. </pre> <p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2009-11-01T183250.921078Z"></a> -2009-11-01T18:32:50.921078Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-30T155408.117709Z"></a> +2010-04-30T15:54:08.117709Z Ken Sharp</strong></p> <blockquote> <pre> -Implement support of large resource dictionaries. Store XObject dictionaries -that exceed 65534 elements as arrays of dictionaries. Increase default operand -stack limit to 300000 elements. Bug 690778, customers 850, 531. +Testing a white space change for cluster regression tests, this will be overwritten later.</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> +<p><strong><a name="2010-04-29T215134.733741Z"></a> +2010-04-29T21:51:34.733741Z Till Kamppeter</strong></p> +<blockquote> +<pre> +rev 11149 for fixing bug 691014 had still some compiler warnings. This rev fixes them. </pre> -<p>[Resource/Init/gs_init.ps Resource/Init/pdf_main.ps Resource/Init/pdf_base.ps]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-11-01T154028.684192Z"></a> -2009-11-01T15:40:28.684192Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-29T183244.398974Z"></a> +2010-04-29T18:32:44.398974Z Robin Watts</strong></p> <blockquote> <pre> -Always allocate pcl and xps jobs to i7 and i7a along with xps jobs (splitjobs.pl). - -Fix race condition when machine goes down during regression (clustermaster.pl). +Remove the 'parent' parameter from gs_malloc_init calls. It only serves to +allow libctx's to be shared between instances, and we'll never want to do +that. It's unused at the moment anyway, so this doesn't impact anything. -Repeated timeouts on a machine now cause it to abort the run and report this (run.pl and readlog.pl). +No expected differences. </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/run.pl]</p> +<p>[psi/gs.c base/gsinit.c base/gslib.c base/gsmalloc.c /trunk/ghostpdl/pl/plalloc.c psi/iapi.c base/gsmalloc.h]</p> </blockquote> -<p><strong><a name="2009-10-30T012556.717628Z"></a> -2009-10-30T01:25:56.717628Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-29T041915.713592Z"></a> +2010-04-29T04:19:15.713592Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Work around a requirement of .image3 operator to have image and mask data -sources to be of the same type. Convert the data sources to the same type -on PostScript level. Bug 690850, customer 870. +Doubling the arbitrary 0x100000 alloc size limit; the alloc_size_is_ok() check is +complied out and replaced with DO_NOTHING in release build so this has effect only +on debug builds. Fixes Bug 691271 . </pre> -<p>[Resource/Init/gs_ll3.ps]</p> +<p>[base/gsalloc.c]</p> </blockquote> -<p><strong><a name="2009-10-29T020758.374375Z"></a> -2009-10-29T02:07:58.374375Z Ray Johnston</strong></p> +<p><strong><a name="2010-04-28T231901.308642Z"></a> +2010-04-28T23:19:01.308642Z Robin Watts</strong></p> <blockquote> <pre> -Fix for clist setcolor when compressed color encoding is used which is the -default build case for the tiffsep and psdcmyk and others . Bug 690851. - -DETAILS: +Eliminate some warnings in gxcht.c (keep shifts < size of uint). -The compressed color encoding always uses 64 bit (sizeof(gx_color_index)). -The (num_components * 8) is not the correct depth (number of bits) for color -encoding in the clist. This patch detects (at run time) that compressed -color encoding is using by examining the 'my_encode_color' procedure since -there is no direct way to determine if compressed color encoding is being -used. +No local cluster differences reported, or expected. </pre> -<p>[base/gdevp14.c]</p> +<p>[base/gxcht.c]</p> </blockquote> -<p><strong><a name="2009-10-27T181349.866447Z"></a> -2009-10-27T18:13:49.866447Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T223701.089543Z"></a> +2010-04-28T22:37:01.089543Z Till Kamppeter</strong></p> <blockquote> <pre> -Adding all the commit ids ever found in svn log to the AUTHORS file. - -For those I don't know the real name of, the id was duplicated as the name. -This should make it easier for somebody who wants to fill in the info. +Fixed segfaults caused by setting and changing the page geometry parameters incorrectly (bug #691014). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> +<p><strong><a name="2010-04-28T215729.180527Z"></a> +2010-04-28T21:57:29.180527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Associate cached font instance with PDF font resource dictionary instead of +font descriptor. The latter may be shared by font resource dictionaries with +different encodings causing incorrect rendering. Bug 690714. </pre> -<p>[doc/AUTHORS]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-10-27T174451.858107Z"></a> -2009-10-27T17:44:51.858107Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T202441.808400Z"></a> +2010-04-28T20:24:41.808400Z Robin Watts</strong></p> <blockquote> <pre> -Adding my commit id<->name mapping to the AUTHORS file +Move op_array_table_global and op_array_table_local away from being +globals and into i_ctx_p. This requires various knock on changes +throughout the code to enable them to be recovered from the context +(which may itself need to be recovered from a memory pointer). -Apparently this file is used by split_changelog.py for -building the History files. +Also, the garbage collection is altered slightly; rather than the +op_arrays being special cased (as special objects that have to have +their component parts registered as roots for the garbage collection) we +move them inline into i_ctx_t and amend the gc routines for that +structure. Thanks to Alex for his help with this. + +No differences expected, or shown with local cluster testing. </pre> -<p>[doc/AUTHORS]</p> +<p>[psi/iinit.c psi/icontext.c psi/imain.c psi/idebug.c psi/icstate.h psi/interp.c psi/igc.c psi/opdef.h psi/zmisc.c psi/iutil.c]</p> </blockquote> -<p><strong><a name="2009-10-27T172817.755993Z"></a> -2009-10-27T17:28:17.755993Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T201940.848310Z"></a> +2010-04-28T20:19:40.848310Z Robin Watts</strong></p> <blockquote> <pre> -Declare binary communications explicitly for IJS, where the default behavior -isn't clear for non-MS-VC compilers. +Simple fix to remove dict_default_pack from being a global bool. +(Make it an enum instead). -This makes the IJS code works correctly when compiled by mingw or borland. -It also fixes some issue for Watcom. Watcom-compiled client -still seems to be buggy (as in not inter-operating with the others). -Closes bug 688714. +No changes expected or shown by local cluster testing. </pre> -<p>[ijs/ijs_client_example.c ijs/ijs_exec_win.c ijs/unistd_.h ijs/ijs_server.c]</p> +<p>[psi/idict.c]</p> </blockquote> -<p><strong><a name="2009-10-27T172138.456605Z"></a> -2009-10-27T17:21:38.456605Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T171852.709002Z"></a> +2010-04-28T17:18:52.709002Z Chris Liddell</strong></p> <blockquote> <pre> -Reset color space to eRGB just in case a previous fill/stroke -had set it to eGray. Fixes 688320. - -</pre> -<p>[base/gdevpx.c]</p> +Ensure that multiplication gets applied prior to type casting.</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-27T170259.376757Z"></a> -2009-10-27T17:02:59.376757Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T144102.575217Z"></a> +2010-04-28T14:41:02.575217Z Robin Watts</strong></p> <blockquote> <pre> -Implements DeltaRow compression as an option, plus updated user documentation. +Add missing cast to fapi_ft.c to quiet a warning. This was missed out of +yesterdays commit of such fixes. -The new compression scheme is activated by -dCompressMode=3. -1=RLE is still the default, and under some conditions: -1-pixel-high image (which does not compress well with DeltaRow) and out -of memory conditions (noCompression can run without allocating -memory), specifying -dCompressionMode=3 will still use the current RLE code. -These are documented in comments. +No expected diffs. </pre> -<p>[base/gdevpx.c doc/Devices.htm base/gdevpxut.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-27T165305.423045Z"></a> -2009-10-27T16:53:05.423045Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-28T114024.316225Z"></a> +2010-04-28T11:40:24.316225Z Robin Watts</strong></p> <blockquote> <pre> -custom media size patch + bug fix. +Small tweaks to Ghostscript initialisation to check for malloc failures etc. +This would very rarely have been a problem in current code, but would be +more of an issue in multithreaded operation as running out of memory +while forking a new instance is more likely. -This implements the CustomMediaSize as discussed; on the way I also found an -old bug with the pxl utility code which was just written but not used (until -now). See comments within. Fixes bug 690827. +No expected differences, but the local cluster code seems to be claiming +differences for an unchanged tree at the moment, so if 3 or so non-pdfwrite +errors and 1800ish pdfwrite errors show up, it's not because of this. </pre> -<p>[base/gdevpxut.h base/gdevpxut.c]</p> +<p>[psi/gs.c psi/imain.c base/gsmalloc.c psi/iapi.c]</p> </blockquote> -<p><strong><a name="2009-10-27T161323.571814Z"></a> -2009-10-27T16:13:23.571814Z Robin Watts</strong></p> +<p><strong><a name="2010-04-27T160605.631664Z"></a> +2010-04-27T16:06:05.631664Z Chris Liddell</strong></p> <blockquote> <pre> -Fix for bug 690831. - -The test file uses a radial shading, where the final circle almost contains -the initial one, with 'extension' at the end selected. +Add back in a call removed in (a merging) error in my previous commit (11137).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -Our code incorrectly fills the final extended circle, causing us to wipe out -all the correct fading we've done to that point. +<p><strong><a name="2010-04-27T145314.939131Z"></a> +2010-04-27T14:53:14.939131Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691260: make the FAPI and Freetype related warning messages debug only, and depend on -Zm for the FAPI warnings or -Z1 for the Freetype warnings. Also address compiler warnings in fapi_ft.c.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> -The fix is to recognise whether we are moving 'inwards' or 'outwards', and only -to fill in the 'inwards' case. +<p><strong><a name="2010-04-27T142708.849186Z"></a> +2010-04-27T14:27:08.849186Z Robin Watts</strong></p> +<blockquote> +<pre> +Silence some warnings, either by including new headers or by introducing +explicit casts. -This fixes the original issue, and causes no visible regressions. +No differences shown by local cluster testing (of pcl and gs only as xps is +currently broken). </pre> -<p>[base/gxshade1.c]</p> +<p>[base/gxdcconv.c base/gsptype1.c base/gdevpx.c base/gstrans.c base/gdevrinkj.c base/gxfill.c base/gxstroke.c psi/zmisc.c]</p> </blockquote> -<p><strong><a name="2009-10-27T155405.886068Z"></a> -2009-10-27T15:54:05.886068Z Robin Watts</strong></p> +<p><strong><a name="2010-04-27T095626.779813Z"></a> +2010-04-27T09:56:26.779813Z Till Kamppeter</strong></p> <blockquote> <pre> -Make htmldiff.pl output resolution information in html file. - +Made the CUPS Raster output device working in a multi-threaded mode, removing all global variables. Thanks to James Cloos for the patch. Fixes bug #691241. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-10-27T043104.180870Z"></a> -2009-10-27T04:31:04.180870Z Michael Vrhel</strong></p> +<p><strong><a name="2010-04-26T152928.937213Z"></a> +2010-04-26T15:29:28.937213Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix so that the monochrome devices do not use the non-separable blending -operations that are used for RGB devices. This was the source of an -indeterminism in Bug 690477. Thanks to Marcos for the detailed bug -information. - -DIFFERENCES EXPECTED: - -None. Apparently no other files use the non-separable luminosity -blending. +Remember the allocator in the dynamically allocated scanner_state to ensure +proper deallocation. Current allocation may be reset when a PS error occurs. +Bug 691167. </pre> -<p>[base/gdevp14.c]</p> +<p>[psi/ztoken.c psi/iscan.c psi/iscan.h]</p> </blockquote> -<p><strong><a name="2009-10-26T002011.207073Z"></a> -2009-10-26T00:20:11.207073Z Robin Watts</strong></p> +<p><strong><a name="2010-04-26T090435.569612Z"></a> +2010-04-26T09:04:35.569612Z Chris Liddell</strong></p> <blockquote> <pre> -bmpcmp.c: Fix bounding box calculation that could cause SEGV. - +Ensure that the BuildChar object is not the null object before trying access its contents. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-26T001931.018870Z"></a> -2009-10-26T00:19:31.018870Z Robin Watts</strong></p> +<p><strong><a name="2010-04-26T055846.519692Z"></a> +2010-04-26T05:58:46.519692Z Michael Vrhel</strong></p> <blockquote> <pre> -Make htmldiff.pl output TITLEs for each IMG saying the source file, page, -resolution, and whether it's the candidate or reference image. +Change so that when a graphic state is restored, the overprint compositor action only occurs if there is a change from the current overprint state. This fixes a problem in one of the files associated with bug 691014. In the particular file, overprint compositor actions were getting placed into a pattern clist. The file in fact had no overprint settings. Ran regression test, no differences expected.</pre> +<p>[base/gsstate.c]</p> +</blockquote> +<p><strong><a name="2010-04-25T234756.048527Z"></a> +2010-04-25T23:47:56.048527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add ANSI/ASME Y14.1 A - F paper sizes named ANSI_A - ANSI_F for completeness. +Bug 691217. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[Resource/Init/gs_statd.ps]</p> </blockquote> -<p><strong><a name="2009-10-25T123953.222871Z"></a> -2009-10-25T12:39:53.222871Z Robin Watts</strong></p> +<p><strong><a name="2010-04-25T224548.099475Z"></a> +2010-04-25T22:45:48.099475Z Till Kamppeter</strong></p> <blockquote> <pre> -Fix for bug 687295; force transparent stroking to construct the entire path -before stroking it, thus eliminating nasty effects where edges overlap. - +Minor clean-ups: Added some parantheses to casts and initialized allocated memory. </pre> -<p>[base/gxstroke.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-10-23T201715.860218Z"></a> -2009-10-23T20:17:15.860218Z Robin Watts</strong></p> +<p><strong><a name="2010-04-25T223209.854994Z"></a> +2010-04-25T22:32:09.854994Z Michael Vrhel</strong></p> <blockquote> <pre> -Another couple of tweaks to bmpcmp.c: Avoid producing bitmaps that have no -changes in (from pages with well separated changes). -Shrink bbox of bitmaps where possible. +(empty)</pre> +<p>[base/gximono.c]</p> +</blockquote> +<p><strong><a name="2010-04-25T215242.447453Z"></a> +2010-04-25T21:52:42.447453Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Introduced a real get_color_comp_index() method, to fix bug #690338 correctly. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-10-23T192210.011416Z"></a> -2009-10-23T19:22:10.011416Z Robin Watts</strong></p> +<p><strong><a name="2010-04-25T184728.775496Z"></a> +2010-04-25T18:47:28.775496Z Alex Cherepanov</strong></p> <blockquote> <pre> -Tweaks to bmpcmp.c. - * 'Small' differences are shown in green, large differences in red. - * Don't print an error message when no differences found, as the script - does this better (and we are only looking at a page at a time). - +Add -dNONATIVEFONTMAP option to disable the use of font map and corresponding +fonts installed on underlying platform. This may be needed to ensure consistent +rendering on the platforms with different fonts, for instance, +during regression testing. Bug 691240. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[doc/Use.htm Resource/Init/gs_fonts.ps]</p> </blockquote> -<p><strong><a name="2009-10-23T192018.949144Z"></a> -2009-10-23T19:20:18.949144Z Robin Watts</strong></p> +<p><strong><a name="2010-04-25T004140.540207Z"></a> +2010-04-25T00:41:40.540207Z Michael Vrhel</strong></p> <blockquote> <pre> -Tiny tweak to htmldiff.pl script; now lists files which it failed to find -changes in at the end. +Fix for Bug 691014. Problem was caused by the fact that we had a soft mask present and a pattern with no transparency. This means the PDF14 device is installed and more importantly that transparency state pushes and pops occur to keep the softmask in sync with the graphic state. This particular files pattern is installed as a clist, which happens to not have any transparency. The transparency state pushes and pops were getting placed into the pattern clist when the Q and q operations occurred in the pattern, which was causing problems since the pattern clist device had no pdf14 device installed to handle such commands. -</pre> -<p>[toolbin/htmldiff.pl]</p> +The solution is to check, when a transparency compositor action is to occur, if the current device is a pattern accumulator or a pattern-clist device. If it is, then the pattern instance is checked to see if it has transparency. If it does not, then the transparency state chance is ignored. This all occurs on the clist writing phase in the gs_trans functions. + +In addition, a fix was made so that the pdf14custom device sets up it's color information correctly. For subtractive devices that do not have cmyk process colorants the custompdf14 device is installed. This pdf14 device was obtaining its color_info from the target device. The pdf14 device must be continuous tone even if the target device is not. + +Ran a regression test and saw no differences.</pre> +<p>[base/gdevp14.c base/lib.mak base/gstrans.c]</p> </blockquote> -<p><strong><a name="2009-10-23T191336.932446Z"></a> -2009-10-23T19:13:36.932446Z Robin Watts</strong></p> +<p><strong><a name="2010-04-24T222126.893815Z"></a> +2010-04-24T22:21:26.893815Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix bounding box adjustments that were causing rendering glitch in bug 687295. - +Remove rudimentary code that maps out-of-range character codes to 0 causing +dictionary overflow in some cases. Unlike earlier array, dictionary +representation of 'cmap' table doesn't need this. Bug 691253, customer 780. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> +<p><strong><a name="2010-04-23T125600.372874Z"></a> +2010-04-23T12:56:00.372874Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build. </pre> +<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/psi/psitop.c psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-23T041050.732099Z"></a> +2010-04-23T04:10:50.732099Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix of minor memory leak found by Ray. maskbuf entry of transparency ctx object was not getting freed. The large mask buffer, which is a member variable of maskbuf was getting freed but not this 12 byte structure. No expected differences.</pre> <p>[base/gdevp14.c]</p> </blockquote> -<p><strong><a name="2009-10-23T071756.276513Z"></a> -2009-10-23T07:17:56.276513Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-23T032533.581070Z"></a> +2010-04-23T03:25:33.581070Z Alex Cherepanov</strong></p> <blockquote> <pre> -Use document.domain instead of a hardwired value for the AJAX cgi -request. This allows the dashboard page to function on both the -ghostscript.com and the www.ghostscript.com server aliases. +Always load CFF font as a CIDFont when it is used as a descendant font of a +composite font in PDF file. Bug 691253. </pre> -<p>[toolbin/localcluster/dashboard.html]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-10-22T182822.955248Z"></a> -2009-10-22T18:28:22.955248Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-22T122816.186930Z"></a> +2010-04-22T12:28:16.186930Z Alex Cherepanov</strong></p> <blockquote> <pre> -Revert the changes from r10210. This was experimental code accidentally -committed with an unrelated log message. +Trap errors that happen in the font reader, issue a warning, and proceed as +if the font was not embedded. Bug 691242. </pre> -<p>[base/gxfcache.h base/gxistate.h base/gsfont.c base/gsistate.c]</p> +<p>[Resource/Init/pdf_font.ps]</p> </blockquote> -<p><strong><a name="2009-10-22T182404.424606Z"></a> -2009-10-22T18:24:04.424606Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-22T042000.389442Z"></a> +2010-04-22T04:20:00.389442Z Alex Cherepanov</strong></p> <blockquote> <pre> -Correct a tranposed digit in the A4Small imageable area in -the ghostpdf ppd. Bug 690814.</pre> -<p>[lib/ghostpdf.ppd]</p> +Don't use precompiled headers on MSVC 6 and 7 because it causes compilation +error C2006 in freetype, which uses #include MACRO . +</pre> +<p>[base/msvccmd.mak]</p> </blockquote> -<p><strong><a name="2009-10-22T182357.528033Z"></a> -2009-10-22T18:23:57.528033Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-21T195107.227636Z"></a> +2010-04-21T19:51:07.227636Z Robin Watts</strong></p> <blockquote> <pre> -Add display of the pending 'clusterpush' job queue to the dashboard. +Add missing header file from revision 11097. -Runs to check commits to the central repository preempt clusterpush -jobs, but it is still useful to see the queue when several jobs are -waiting. +</pre> +<p>[base/gdevpdtd.h]</p> +</blockquote> -Because we now have more than two elements, we replace the entire -'status' div element, rather than trying to find and replace each -sub-element within the div.</pre> -<p>[base/gxfcache.h base/gxistate.h base/gsfont.c base/gsistate.c]</p> +<p><strong><a name="2010-04-21T192613.171574Z"></a> +2010-04-21T19:26:13.171574Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert macro magic from gserror.h introduced in r11097, due to it being +broken when used as an expression. Sorry. + +</pre> +<p>[base/gserror.h]</p> </blockquote> -<p><strong><a name="2009-10-22T094443.697488Z"></a> -2009-10-22T09:44:43.697488Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-21T181256.928835Z"></a> +2010-04-21T18:12:56.928835Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Unchecked return value from pdf_write_spot_function +Another set of very simple tweaks to a range of source files to remove +warnings. Nothing contentious in here I hope! + +base/gdevpdf.c: Make the fact we're ignoring the return value of fread +explicit by casting to void. + +base/gdevsj48.c: Remove unused var. + +base/gdevtknk.c: Avoid gcc warning by not needlessly assigning within +expression. + +base/gdevimgn.c: Fix type declaration, make function static. + +base/gxdcolor.c: Remove unused var. + +base/gdevwts.c: Comment out unused function, cast unused return value from +fread to void, remove unused vars. + +base/gdevo182.c: Be more explicit in type definition to stop warning. + +base/gdevlp8k.c: Remove unused var. -Details -Bug # 690796 "Invalid Halftone objects in PDF (negative object references)" +base/gdevpdfu.c: Cast unused return value from fread to void. -Two fixes, firstly the return value from pdf_write_spot_function() was not being -checked in pdf_write_spot_halftone. We now check the value and return an error if -required. +base/gdevlbp8.c: Cast unused return value from fread to void. -Secondly when unable to write a spot function because of the num_bits required we were -returning a rangecheck error. This was hidden by the failure to check the return value -noted above. The problem is that rangecheck is a special case return when called via -gdev_pdf_fill_path() and causes it to assume transparency is involved and use a -different fill method. We actually want an error so instead of returning rangecheck -we no return limitcheck instead. +base/gdevokii.c: Explicit cast to int to shut up stupid compiler. + +base/gdevpdtd.c: Add const to arg to avoid warning. + +base/gserror.h: Do some macro magic to ensure that the macro always evaluates +it's arg strictly once, insists on being followed by a semicolon, and behaves +well with surrounding if/else structures etc. + +base/gxp1fill.c: Remove unused var. </pre> -<p>[base/gdevpdfg.c]</p> +<p>[base/gdevlbp8.c base/gdevtknk.c base/gdevsj48.c base/gdevo182.c base/gdevpdf.c base/gdevimgn.c base/gdevokii.c base/gdevpdtd.c base/gxdcolor.c base/gdevwts.c base/gdevlp8k.c base/gdevpdfu.c base/gxp1fill.c base/gserror.h]</p> </blockquote> -<p><strong><a name="2009-10-22T070127.775454Z"></a> -2009-10-22T07:01:27.775454Z Michael Vrhel</strong></p> +<p><strong><a name="2010-04-21T175508.584502Z"></a> +2010-04-21T17:55:08.584502Z Robin Watts</strong></p> <blockquote> <pre> -Fix mistype of which procs to set to when we change the color space for a transparency group. If we are running with a separation device with spot colors then we need to use the compressed encoding and decoding. This fixes bug 690816. +Fix for a problem in the rinkj driver for Epson Stylus Photo 2200. +The code was accessing indexes 4,5,6 in plane_offsets[6] and hence was +running off the end of the array. This was causing a warning at compile time +but never caused a segv as it was merely corrupting the next entry in the +structure which was reset to 0 shortly afterwards. -DIFFERENCES EXPECTED: +Presumably the offset for one of the planes would be wrong though causing +a loss of quality. -None since it will only show up for separation devices.</pre> -<p>[base/gdevp14.c]</p> +</pre> +<p>[base/rinkj/rinkj-epson870.c]</p> </blockquote> -<p><strong><a name="2009-10-21T180925.061089Z"></a> -2009-10-21T18:09:25.061089Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-21T172331.243056Z"></a> +2010-04-21T17:23:31.243056Z Robin Watts</strong></p> <blockquote> <pre> -Add display of the pending 'clusterpush' job queue to the dashboard. +Remove several occurrences of calls to gs_lib_ctx_get_non_gc_memory_t(). +The only code that now needs this is gp_macpoll.c and gp_mspol.c for when +CHECK_INTERRUPTS is defined. This reduces the need for mem_err_print. + +The only other code that uses mem_err_print is errflush() and errwrite(). +Potentially these could be nobbled for a multithreaded build. -Runs to check commits to the central repository preempt clusterpush -jobs, but it is still useful to see the queue when several jobs are -waiting. +The changes here rely on the memory pointers being set up correctly. While +local cluster testing gives this a clean bill of health, it's possible that +problems will appear with files in the wider world - we'll just have to fix +these as they are reported. -Because we now have more than two elements, we replace the entire -'status' div element, rather than trying to find and replace each -sub-element within the div.</pre> -<p>[toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/dashboard.html]</p> +</pre> +<p>[base/gdevjpeg.c base/sjpx_luratech.c base/strmio.c base/gxttfb.c psi/zfdctd.c base/sdctc.c psi/zfdcte.c psi/zfjpx.c base/sjpx.c]</p> </blockquote> -<p><strong><a name="2009-10-21T180923.409841Z"></a> -2009-10-21T18:09:23.409841Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-21T150847.471495Z"></a> +2010-04-21T15:08:47.471495Z Robin Watts</strong></p> <blockquote> <pre> -Add a dashboard html page displaying the status of the local cluster. +Move CPSI_mode from being a global to living in the libctx, as part of the +efforts for bug 691207 (remove global variables). + +I originally tried moving CPSI_mode into the imager state, which would have +been slightly nicer, but had to abandon this due to problems interacting +with the command list code. My first thought to make this work was to +push the value of CPSI_mode into the clist at initial clist creation time. +As the setting of CPSI_mode isn't vectored through the device, we can't +detect changes in its setting, but then changing CPSI_mode during the +lifespan of a clist would give unpredictable results anyway in many cases. + +Sadly this was doomed to failure as if a page device is started up that +uses the clist code to do banding, then the command list is created before +CPSI_mode is enabled, and we'd operate with the incorrect value. -This page retrieves the status information from the clustermonitor.cgi -script and parses it in javascript, constructing an html display. It -updates every five seconds. +Moving CPSI_mode into libctx means we keep exactly the same behaviour as +we have now. This has required various functions throughout the code to +pass a gs_memory_t * around. -This dashboard is currently installed as http://ghostscript.com/regression/</pre> -<p>[toolbin/localcluster/dashboard.html]</p> +Localcluster testing reveals no problems. + +</pre> +<p>[psi/zfunc3.c psi/zupath.c base/gsdps1.c base/gdevdevn.c base/gxblend1.c base/gspaint.c base/gxstroke.c psi/zmisc.c base/gdevperm.c base/gxdcconv.c base/gdevpsds.c base/gxcmap.c base/gxdcconv.h psi/zfont.c base/gdevrinkj.c base/gdevbit.c base/gsmisc.c base/gxfill.c base/gdevxcf.c base/gxicolor.c base/gdevpsd.c psi/zimage.c base/gsfont.c contrib/opvp/gdevopvp.c base/gsfont.h base/gsstate.c base/gslibctx.c base/gsstate.h psi/zcharx.c psi/zusparam.c base/gslibctx.h base/gsequivc.c psi/zchar.c]</p> </blockquote> -<p><strong><a name="2009-10-21T180920.856618Z"></a> -2009-10-21T18:09:20.856618Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-21T072014.808042Z"></a> +2010-04-21T07:20:14.808042Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Add a cgi version of the clustermonitor script. +A fix for a regression introduced by r11074 (bug 690094). + +As I changed image number to be incremented when 'exflag' is false, +the problem of 'exrunlength' when SDHUFF == 1 was unveiled. +This fixes it. +JBIG2 images with SDHUFF == 1 should have been having trouble +between r11074 and this revision. No other difference expected. -This is a perl cgi script which returns similar information to the -clustermonitor.pl terminal-based dashboard in a json structure for -easy parsing from javascript or other remote applications.</pre> -<p>[toolbin/localcluster/clustermonitor.cgi]</p> +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> </blockquote> -<p><strong><a name="2009-10-21T035046.157782Z"></a> -2009-10-21T03:50:46.157782Z Michael Vrhel</strong></p> +<p><strong><a name="2010-04-20T185236.186732Z"></a> +2010-04-20T18:52:36.186732Z Robin Watts</strong></p> <blockquote> <pre> -Reintegration of gs_extendgraphic branch into trunk. This fixes bug690777.pdf. The main purpose of this commit is to relay information about q and Q operations (extended graphic state push and pops) to the pdf14 compositor. The reason this is needed is that the softmask is part of the extended graphic state. - -DIFFERENCES EXPECTED: +A series of tiny changes to various files to stop compiler warnings. +Nothing contentious in here, so I hope component owners don't object. -Bug688807.pdf has a minor progression. Bug688159.pdf and Bug689509.pdf also reported differences but I could not see any using cmpi. Also, we may need to take a look at the XPS output. It was unclear to me which were regressions and which were indeterministic. +psi/zpdfops.c: Make zpdfinkpath function static. -DETAILS: +psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note. -The following example (as well as bug690777) drove the need for this commit. +psi/zicc.c: Remove 2 unused variables from a function. -Consider a transparency group that covers an entire page and let there be a -soft mask that is set as part of a graphic state. Let there be 2 bands in -this clist and let the soft mask bounding box be such that it intersects band -1 and band 2. Currently, there will be a Push Transparency Soft Mask and an -End Transparency Soft Mask compositor action added into the clist for BOTH -bands. Now, let there be a transparency group that is drawn only into band -one. There will be a Push Transparency group and End Transparency group into -band 1. Now let there be a Q followed by a transparency group that is drawn -only in band 2. What should happen, is that the soft mask should no longer be -present due to the Q operation. Unfortunately, in the current architecture, -there is no compositor action to let band 2 know that the soft mask is not -valid to use. +psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB +might be used uninitialised' warning. Remove out of date comment and make +zswapcolors static. -Another example is a case were we set a graphic state with a softmask, which -will introduce the Push Transparency Soft Mask and an End Transparency Soft -Mask compositor actions. Follow this by a q operation. Set another graphic -state, with another softmask. This introduces another Push Transparency Soft -Mask and an End Transparency Soft Mask compositor action. During the clist -reader stage the maskbuffer for our pdf14 context will be the last soft mask -that was specified. Now on the writer side do a Q and draw. What should occur -is that the first transparency softmask should be active. Unfortunately, this -information is not communicated through the clist AND the old soft mask buffer -has been lost. +psi/zfcid1.c: Convert some unused variables to comments. -The primary issue in these examples, is that we need to detect and store in -the clist graphic state changes that occur and have an impact on our -transparency state. +base/gp_unix_cache.c: Make the fact we are ignoring the return value from +fread explicit by casting to void. -To solve this problem, the following is proposed: +base/gstype42.c: Move an unused var into a #if 0 section, comment out an +unused function. -1) At the PDF interpreter level for the /q and /Q operators, check if the page -uses transparency. If it does, then execute a .pushextendedgstate for /q and -a .popextendedgstate for /Q. +base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used +without definition). -2) Add zpushextendedgstate and zpopextendedgstate commands in the c code. -These operations will respectively execute a gs_push_transparency_state and a -gs_pop_transparency_state during the clist writer process. Deep in the -graphics library there will also be gx_push_transparency_state and -gx_pop_transparency_state. These are executed during the clist reader side. +base/gxshade6.c: Remove unused function -4) Two new device procedures were added related to the transparency state. -(push_transparency_state and pop_transparency_state). These were added at -the end of the device procs for backward compatibility with older devices. +base/gxclfile.c: Make the fact we are ignoring the return value to freopen +explicit by casting to void. -4) A change to the pdf14 ctx stack such that the maskbuffers are a -stack. In fact, they are now reference counted since they can be multiple -copies (actually pointers to the same data buffer) in the mask buffer stack. - -5) A flag xstatepending was added to the graphic state to communicate when a softmask transparency -group pop had occurred. In that case, we need to keep track of the q and Q -operations. Otherwise, they are ignored early in the process to reduce the -number of compositor actions. +</pre> +<p>[base/gxshade6.c psi/zcolor.c psi/zicc.c psi/zcie.c base/gp_unix_cache.c base/gxclfile.c base/gstrans.c base/gstype42.c psi/zfcid1.c psi/zpdfops.c base/echogs.c]</p> +</blockquote> -In addition fixes were made to the background content handling (BC) of the soft mask. -Now the softmask bounding box is the same as the parent group unless the BC value -is white which would indicate that the BC will not have any effect on areas drawn outside -the softmask group bounding box. Changes were made in the code that computes the band range for the -softmask group. +<p><strong><a name="2010-04-19T161513.462842Z"></a> +2010-04-19T16:15:13.462842Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Made oog_encode in tif_luv.c reentrant by precalculating oog_tables. +oog_tables was calculated on-demand when writing TIFF files in LogLuv Encoding. +Since it didn't depend on anything dynamic, I replaced this code with a static +const array. The array only consisted of 100 ints - the net library size +actually went down a few bytes after this change. +This is part of bug #691207 (global variables must be removed). </pre> -<p>[base/gdevrops.c base/gxclimag.c base/gxistate.h base/gdevdflt.c base/gdevbbox.c base/gxcomp.h psi/ztrans.c base/gxclipm.c base/gsovrc.c base/gdevpdft.c /trunk/gs base/gxclip2.c base/gxdevcli.h base/gdevp14.c Resource/Init/pdf_ops.ps base/gxclist.c base/gdevp14.h base/gstrans.c base/gstrans.h base/gxclip.c]</p> +<p>[tiff/libtiff/oog_table.h tiff/libtiff/tif_luv.c]</p> </blockquote> -<p><strong><a name="2009-10-21T011851.593536Z"></a> -2009-10-21T01:18:51.593536Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-19T115627.260655Z"></a> +2010-04-19T11:56:27.260655Z Lars Uebernickel</strong></p> <blockquote> <pre> -Allow for newly added regression files to produce errors (compare.pl). +Removed global variables in libtiff's tif_pixarlog.c. -Fixed missing nice on some commands (build.pl). +This is part of #691207 (global variables must be removed). -Fixed spurious error message when running svn commit regression (run.pl). - -Reordered code so that the user regression queue is updated even while a regression run is in progress (clustermaster.pl). - -Initial check-in (clustermonitor.pl). </pre> -<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[tiff/libtiff/tif_pixarlog.c]</p> </blockquote> -<p><strong><a name="2009-10-21T011147.945166Z"></a> -2009-10-21T01:11:47.945166Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-19T094714.697946Z"></a> +2010-04-19T09:47:14.697946Z Lars Uebernickel</strong></p> <blockquote> <pre> -Perform rsync based on checksum, not mod-time & size. +Removed TIFFReassignTagToIgnore in the local libtiff copy. + +It wasn't reentrant due to static variables and has been deprecated for a while +now. GhostScript does not use it at all. Libtiff HEAD also has this function +removed, it was only kept in 3.x for backwards compatibility. + </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[tiff/libtiff/tif_dir.c]</p> </blockquote> -<p><strong><a name="2009-10-20T231013.904636Z"></a> -2009-10-20T23:10:13.904636Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-15T185800.960218Z"></a> +2010-04-15T18:58:00.960218Z Robin Watts</strong></p> <blockquote> <pre> -Modififed clusterpush.pl to print out the rsync status messages -(there should probably be a command line option to disable this). +New Visual Stdio project file for building ufst version of ghostscript. + +Currently assumes that the ufst code will be found in C:\ufst, but this can +be edited in the nmake invocation lines within the Project settings. </pre> -<p>[toolbin/localcluster/clusterpush.pl]</p> +<p>[ghostscript-ufst.vcproj]</p> </blockquote> -<p><strong><a name="2009-10-20T212846.305832Z"></a> -2009-10-20T21:28:46.305832Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-15T184131.569934Z"></a> +2010-04-15T18:41:31.569934Z Robin Watts</strong></p> <blockquote> <pre> -Report build failures with more detail. +Update msvc32.mak with various ufst make targets. This allows a +ghostscript-ufst Visual Studio project to be constructed. + +No differences to existing builds. + </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +<p>[psi/msvc32.mak]</p> </blockquote> -<p><strong><a name="2009-10-20T191709.055802Z"></a> -2009-10-20T19:17:09.055802Z Hin-Tak Leung</strong></p> +<p><strong><a name="2010-04-15T171330.072845Z"></a> +2010-04-15T17:13:30.072845Z Robin Watts</strong></p> <blockquote> <pre> -Handles images rotated by 90/-90/180 degree as high level object. +Remove invalid_file_stream and invalid_file_entry global variables, +as part of the effort for bug 691207 (remove global variables). + +We move invalid_file_stream to be a non-gc chunk allocated to be in +i_ctx_t, and invalid_file_entry can then be replaced by +i_ctx_p->invalid_file_stream. The only tricky bits are a) the need to ensure +that i_ctx_p is available everywhere where it is needed, and b) making sure +that invalid_file_stream doesn't move when i_ctx_p is relocated. -This change implement rotated image as a high-level object by -emitting a PXL rotation intruction, draw the image with rotated -user co-ordinate, then the reverse PXL rotation. Fixes bug 690733. +No changes shown by localcluster testing (though a previous version of the +patch did fail during gc, so the relavent code is getting tested). </pre> -<p>[base/gdevpx.c]</p> +<p>[psi/zfile.c psi/ztoken.c psi/zcontrol.c psi/zshade.c psi/zcontext.c psi/zfcid0.c psi/zfcid1.c psi/zicc.c psi/zfrsd.c psi/icontext.c psi/zvmem.c psi/ziodev.c psi/zfileio.c psi/interp.c psi/icstate.h psi/files.h]</p> </blockquote> -<p><strong><a name="2009-10-20T165311.304991Z"></a> -2009-10-20T16:53:11.304991Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T161310.848189Z"></a> +2010-04-15T16:13:10.848189Z Lars Uebernickel</strong></p> <blockquote> <pre> -Fix for bug 690805. +Backported and applied libtiff patches from libtiff bugs #2125 and #2125. +These get rid of some of the global variables in libtiff (in particular +rgb_refblackwhite and whitepoint in tif_aux.c). -If a dash pattern exactly fits into the path to be stroked, a 0 length dash -note is emitted, with (0,0) tangents. This causes an extra cap to be put on -the path when rendering, causing stray marks. +This is part of the multi-threaded gs effort (bug #691207). -The fix is to recognise the case when we are about to emit a dash note with -no useful information in the note (i.e. if udx and udy are 0, then don't -emit the dash note). This leaves the renderer free to make it's own decision. +</pre> +<p>[tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_aux.c tiff/libtiff/tif_dir.c tiff/man/TIFFGetField.3tiff tiff/libtiff/tif_dir.h tiff/libtiff/tif_ojpeg.c tiff/libtiff/tif_jpeg.c]</p> +</blockquote> -Examination of the bitmaps shows that all the differences are in fact -improvements. The following files are identified by the localcluster as -being differences, but no differences are found in local testing: +<p><strong><a name="2010-04-15T144836.373936Z"></a> +2010-04-15T14:48:36.373936Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691244, reported/patch supplied by Norbert Janssen. In +revision 11045, I'd moved some globals into the libctx, which is +accessed via the gs_memory_t pointer. This has required certain +functions to now take a gs_memory_t pointer as an extra arg. In +this particular case the gs_memory_t pointer in question could be +NULL. The fix is to use one obtained from gs_lib_ctx_get_non_gc_memory_t, +a call to which happens conveniently to be on the previous line. -tests_private/pcl/pcl5efts/fts.1140.pdf.pkmraw.600.0 pcl i7 i7 -tests_private/pcl/pcl5efts/fts.1140.pdf.ppmraw.600.0 pcl i7 imac -tests_private/pcl/pcl5efts/fts.1140.pdf.ppmraw.75.0 pcl macpro macpro -tests_private/pcl/pcl5efts/fts.2380.pdf.ppmraw.600.0 pcl macpro i7 -tests_private/ps/ps3cet/09-36.PS.pbmraw.300.0 gs i7 snow -tests_private/ps/ps3cet/09-36.PS.pbmraw.300.1 gs snow i7 -tests_private/ps/ps3cet/09-36.PS.pdf.pkmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/09-36.PS.pdf.ppmraw.300.0 gs snow i7a -tests_private/ps/ps3cet/09-36.PS.pgmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/09-36.PS.pgmraw.300.1 gs macpro snow -tests_private/ps/ps3cet/09-36.PS.pkmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/09-36.PS.pkmraw.300.1 gs i7 WZIM -tests_private/ps/ps3cet/09-36.PS.ppmraw.300.0 gs macpro i7 -tests_private/ps/ps3cet/09-36.PS.ppmraw.300.1 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pbmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/11-21.PS.pbmraw.300.1 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pdf.pkmraw.300.0 gs snow snow -tests_private/ps/ps3cet/11-21.PS.pdf.ppmraw.300.0 gs i7 i7 -tests_private/ps/ps3cet/11-21.PS.pgmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/11-21.PS.pgmraw.300.1 gs i7 snow -tests_private/ps/ps3cet/11-21.PS.pkmraw.300.0 gs i7 i7a -tests_private/ps/ps3cet/11-21.PS.pkmraw.300.1 gs macpro WZIM -tests_private/ps/ps3cet/11-21.PS.ppmraw.300.0 gs macpro i7a -tests_private/ps/ps3cet/11-21.PS.ppmraw.300.1 gs macpro macpro -tests_private/ps/ps3cet/11-28.PS.pbmraw.300.0 gs i7 i7a -tests_private/ps/ps3cet/11-28.PS.pbmraw.300.1 gs snow snow -tests_private/ps/ps3cet/11-28.PS.pdf.pkmraw.300.0 gs i7 macpro -tests_private/ps/ps3cet/11-28.PS.pdf.ppmraw.300.0 gs i7a snow -tests_private/ps/ps3cet/11-28.PS.pgmraw.300.0 gs i7a i7 -tests_private/ps/ps3cet/11-28.PS.pgmraw.300.1 gs i7a macpro -tests_private/ps/ps3cet/11-28.PS.pkmraw.300.0 gs snow macpro -tests_private/ps/ps3cet/11-28.PS.pkmraw.300.1 gs i7 snow -tests_private/ps/ps3cet/11-28.PS.ppmraw.300.0 gs macpro i7 -tests_private/ps/ps3cet/11-28.PS.ppmraw.300.1 gs macpro i7 -tests_private/xps/xpsfts-a4/fts_43xx.xps.bitrgb.72.0 xps macpro imac +gs_lib_ctx_get_non_gs_memory_t is going to be painful to remove later on, +but at least this fix gets us up and running again now. +No expected differences. </pre> -<p>[base/gxpdash.c]</p> +<p>[base/strmio.c]</p> </blockquote> -<p><strong><a name="2009-10-20T161829.688093Z"></a> -2009-10-20T16:18:29.688093Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T095333.313864Z"></a> +2010-04-15T09:53:33.313864Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Simple .bmp image differ/slicer, for use with htmldiff.pl. +A fix for 690094, "missing letters replaced by little vertical lines". +This problem was in jbig2dec function jbig2_decode_symbol_dict(). +The image number was not incremented correctly when it built +symbol dictionary. +No difference expected, other than JBIG2 pdf files suffered by +this problem. </pre> -<p>[toolbin/bmpcmp.c]</p> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> </blockquote> -<p><strong><a name="2009-10-20T161356.684584Z"></a> -2009-10-20T16:13:56.684584Z Robin Watts</strong></p> +<p><strong><a name="2010-04-15T083048.171463Z"></a> +2010-04-15T08:30:48.171463Z Chris Liddell</strong></p> <blockquote> <pre> -Simple perl script to produce html+images from regression lists as produced -by localcluster regression tests. +Resolve a Freetype build problem on Mac - solution suggested by Tor and Henry. </pre> -<p>[toolbin/htmldiff.pl]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-10-20T075942.576899Z"></a> -2009-10-20T07:59:42.576899Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-14T192956.362613Z"></a> +2010-04-14T19:29:56.362613Z Robin Watts</strong></p> <blockquote> <pre> -Fix (ps2write) : Allow use of /Indexed colour spaces in PostScript output. +Update the clist band list compressor code to work without using global +variables as part of the workd for bug 691207 (remove global variables). -Details -Although opdfread.ps has always contained code to handle /Indexed colour spaces, -ps2write has never emitted any. This is because it is always executed with a PDF -CompatabilityLevel of 1.2, and PDF 1.2 doesn't support Indexed colour spaces. +The old code used to call a function to read an initialise global structure, +then based on that allocate storage and copy the structure into it. The new +code essentially does 2 calls; one that serves to get the size, and another +that serves to initialise the newly allocated structure. -PostScript, however, does and it seems unreasonable to deny the use of these spaces -when we are emitting PostScript. +To facilitate testing, this introduces a new TEST_BAND_LIST_COMPRESSION +define. If built with this as a define, the code sets the compression +threshold to 1K, thus forcing the use of compression. A local cluster +push with this in reveals just one problem, and that seems to be in the +existing code whereby inflateEnd can be incorectly called on a NULL derived +pointer. A fix for that is included too. -This code checks to see if we are emitting PostScript when comparing the compatibility -level to see if Indexed spaces are allowed, and permits /Indexed for PostScript. +No expected differences. -This change did, however, expose a number of flaws in the opdfread code when handling -Indexed spaces. These are all due to the fact that an Indexed space can use an existing -space as its base, and this can lead to multiple attempts to resolve or flatten the -underlying space. +</pre> +<p>[base/gxcllzw.c base/gxclmem.c base/lib.mak base/gxclzlib.c base/gxclmem.h base/szlibd.c]</p> +</blockquote> -FunctionToProc is altered to check it has been passed a function dictionary to convert -and to ignore the operation if not. +<p><strong><a name="2010-04-14T162511.391305Z"></a> +2010-04-14T16:25:11.391305Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reverse the previous build options for Freetype integration: now --disable-freetype for configure on Unix type systems or pass FT_BRIDGE=0 to nmake on Windows if you do not want to integrate Freetype. +</pre> +<p>[base/configure.ac psi/msvc32.mak]</p> +</blockquote> -SubstitutePDFColorSpace allows for CIEBasedA and CIEBasedABC spaces, which may be the -result of a prior substitution. +<p><strong><a name="2010-04-14T160329.953276Z"></a> +2010-04-14T16:03:29.953276Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType FAPI +No bug for this (probably should be). Noticed while testing that using a TrueType to +replace a missing CIDFont (ie entry in cidfmap) was rendering the wrong glyphs, and +applying a vertical advance. -ResolveArrayElement checks the element to see if it is passed a procedure containing -an integer followed by a procedure, before executing the procedure. This is because a -colour space which has already been resolved may have a procedural look up and -executing that disturbs the stack. +The incorrect glyph seems to be because we were incorrectly stating that the character +index was not a glyph ID, which it is in this case. -DecodeArrays generated an incorrect Decode array for Indexed colour spaces. +The second problem was more difficult. FreeType manufactures vertical advance metrics +for all TrueType glyphs, we override those in the incremental interface callback, but +when the TT is a CIDFont on disk, we don't use the incremental interface and so have +no opportunity to override the metric. +Addressed this by checking in load_glyph to see if the current font is not type 1 +(ie its TT), *is* a CIDFont, and is not a vertical font (WMode is 0). In this case +we simply override the vertical advance and maek it 0. </pre> -<p>[base/gdevpdfc.c Resource/Init/opdfread.ps]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-10-19T202453.770533Z"></a> -2009-10-19T20:24:53.770533Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-14T141119.891045Z"></a> +2010-04-14T14:11:19.891045Z Robin Watts</strong></p> <blockquote> <pre> -Print a warning when invoking the 'so' unix makefile targets from pmake. +Move real_time_0 from being a static variable in zmisc.c to being an entry +int libctx. Instead of initialisation happening in zmisc it now happens in +gslibctx.c. Part of the effort for bug 691027 (remove global vars). -Details: +This variable isn't strictly speaking necessary, but apparently some FTS +tests behave better if realtime starts from 0, and it isn't a big problem. -The make included in freebsd 7.0 appears to have trouble matching or -collapsing target paths of the form ./bin/../sobin/gsc as GSSOC_XENAME -expands to in the recursive shared build make invocation. GNU make works -fine on the same platform. +No differences shown in localcluster testing. -Note that we use the @ prefix to hide the command output, which may also -be a gmake-ism, but it works on freebsd 7.0. </pre> -<p>[base/unix-dll.mak]</p> +<p>[base/gslibctx.c base/gslibctx.h psi/zmisc.c]</p> </blockquote> -<p><strong><a name="2009-10-17T185906.072895Z"></a> -2009-10-17T18:59:06.072895Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-14T100331.189133Z"></a> +2010-04-14T10:03:31.189133Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Finish implementation of ColorSpace extraction from JPX streams. RGB, -Gray, and ICC-based color spaces are extracted and passed to PDF interpreter. -Palette colors need no further processing in PDF interpreter because -they are expanded on C level. Bug 690207. +a few more comments about some microsoft CJK fonts</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> -</pre> -<p>[Resource/ColorSpace/sGray Resource/ColorSpace/sRGB Resource/Init/pdf_draw.ps]</p> +<p><strong><a name="2010-04-14T023158.209185Z"></a> +2010-04-14T02:31:58.209185Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fixed jbig2dec command getopt() parameter for -v option. Not used by ghostscript itself but worth for standalone debugging.</pre> +<p>[jbig2dec/jbig2dec.c]</p> </blockquote> -<p><strong><a name="2009-10-16T140204.066085Z"></a> -2009-10-16T14:02:04.066085Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-14T022616.603254Z"></a> +2010-04-14T02:26:16.603254Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Fix (ps2write) : Problems with type 3 fonts causing errors +Fixed an indent. No influence on code.</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> -Details -Typo in the /NotDef function, used as a /.notdef glyph i type 3 fonts emitted by -ps2write. There was a 'o setlinewidth' which should be a '0 setlinewidth'. +<p><strong><a name="2010-04-13T145216.370358Z"></a> +2010-04-13T14:52:16.370358Z Henry Stiles</strong></p> +<blockquote> +<pre> +Gets rid us of 2 global variables in jasper (jas_image_numfmts and +jas_image_fmtinfos). In so doing we take the liberty of simplifiying +jasper's startup. The configured codecs (we only use 2: jpc and jp2) +were set at compile time anyway so the the methods to "add formats" +and "clear formats" have been replaced with a static table. </pre> -<p>[Resource/Init/opdfread.ps]</p> +<p>[jasper/src/appl/imgcmp.c jasper/src/appl/jasper.c jasper/src/appl/imginfo.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/include/jasper/jas_image.h]</p> </blockquote> -<p><strong><a name="2009-10-16T072224.989326Z"></a> -2009-10-16T07:22:24.989326Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-13T142959.699580Z"></a> +2010-04-13T14:29:59.699580Z Robin Watts</strong></p> <blockquote> <pre> -Fix (ps2write) : Pattern colour spaces broken +Remove BITTAG global variable by moving it into the libctx, as part of +efforts towards bug 691207 (multithreaded gs). This has required several +accessor functions to gain gs_memory_t * arguments. -Details -The CheckPattern routine in opdfread.ps insisted that a Pattern should contain a /Type -key in the pattern dicitonary and a value of /Pattern. The spec says this key is -optional and GS does not write it. This meant that all Pattern colour spaces failed -when checked by opdfread, and therefore the output of ps2write did not work. - -The code now checks if a Type key is present before checking its value, and does not -fail if it is not present. +No differences expected, or shown by localcluster testing. </pre> -<p>[Resource/Init/opdfread.ps]</p> +<p>[base/gsnamecl.c base/gsutil.h base/gslibctx.c base/gdevbit.c base/gslibctx.h base/gsutil.c]</p> </blockquote> -<p><strong><a name="2009-10-14T091543.246903Z"></a> -2009-10-14T09:15:43.246903Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-13T130654.792469Z"></a> +2010-04-13T13:06:54.792469Z Ken Sharp</strong></p> <blockquote> <pre> -Initial checkin of script to gather performance data based on revision. +Fix FreeType +A prior update which re-initialised a glyph index to prevent old Metrics override +values persisting after a glyph was discarded did not check the ft_inc_int member of +the 'FF_face' structure before dereferncing it, leading to a potential crash if the +font was not incrementally loaded. + +The code now checks the value before attempting to dereference the pointer. </pre> -<p>[toolbin/performance.pl]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-10-13T071632.913558Z"></a> -2009-10-13T07:16:32.913558Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-13T125040.024266Z"></a> +2010-04-13T12:50:40.024266Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (ps2write) : Problem with TrueType /.notdef encoding +Modify FAPI support files +Moved FAPIConfig, FAPIcidfmap and FAPIfontmap from the 'lib' directory to the +'Resource/Init' directory, so that they get built in when COMPILE_INITS=1. -Details -Bug #690809 "ps2write problem with some TrueType fonts" +Also modified gs_fapi.ps to contain default values for the contents of FAPIConfig which +map all fonts to the FAPI engine (FreeType for now). Modified FAPIConfig so that the +usual contents are commented out. This should allow the possibility of overriding the +default values by putting new values in FAPIConfig. +</pre> +<p>[lib/FAPIcidfmap lib/FAPIfontmap lib/FAPIconfig Resource/Init/FAPIcidfmap Resource/Init/FAPIfontmap Resource/Init/FAPIconfig Resource/Init/gs_fapi.ps]</p> +</blockquote> -When building a CharStrings dictionary, to map from glyph names to GIDs, the code would -start by correctly encoding /.notdef at GID 0. However the InverseEncoding path through -the code could then re-encode /.notdef at a different GID. This could lead to the file -failing to work. +<p><strong><a name="2010-04-13T121542.067350Z"></a> +2010-04-13T12:15:42.067350Z Robin Watts</strong></p> +<blockquote> +<pre> +Move global variables from gshtscr.c (screen_accurate_screens, +screen_min_screen_levels, screen_use_wts) into libctx. This has +meant updating the functions to read/write these to take a +gs_memory_t pointer too. Part of the efforts for bug 691207. -Now check the glyph name and, if it is /.notdef, do not re-encode it. +No differences shown by localcluster testing. </pre> -<p>[Resource/Init/opdfread.ps]</p> +<p>[base/gshtscr.c base/gxht.h psi/zusparam.c base/gslibctx.h base/gsht.c base/gsht1.c psi/zht.c psi/zht2.c]</p> </blockquote> -<p><strong><a name="2009-10-12T022721.732148Z"></a> -2009-10-12T02:27:21.732148Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-13T095008.611008Z"></a> +2010-04-13T09:50:08.611008Z Masaki Ushizaka</strong></p> <blockquote> <pre> -Add sRGB and a similar one-component color space for the upcoming patch -that will extract color space information from JP2 stream. Bug 690207. +A fix for 691081, 691206, and part of 690094. +From r9769, jbig2dec wasn't capable of decoding some JBIG2 files and throwing a error "jbig2dec FATAL ERROR runlength too large in export symbol table (XXX > XX - XX) (segment 0xXX)". +This was caused by accidentaly bound checking export symbol table size with number of non-export symbol. This fixes it. +No differences expected, other than JBIG2 files suffered from this problem. </pre> -<p>[Resource/ColorSpace/sGray Resource/ColorSpace/sRGB]</p> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> </blockquote> -<p><strong><a name="2009-10-08T015310.398646Z"></a> -2009-10-08T01:53:10.398646Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-13T093822.017180Z"></a> +2010-04-13T09:38:22.017180Z Chris Liddell</strong></p> <blockquote> <pre> -Fix a long-standing bug in ps2ascii conversion that caused concatenation of -the lines within a paragraph. Bug 690806. +Minor revision to FAPI code to better ensure GS errors in callbacks survive through the font renderer library.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> +<p><strong><a name="2010-04-13T032558.022387Z"></a> +2010-04-13T03:25:58.022387Z Henry Stiles</strong></p> +<blockquote> +<pre> +Make the CIESpaces array and its elements constant so it is not +confused with global modifiable data. </pre> -<p>[lib/ps2ascii.ps]</p> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-04-12T104443.428786Z"></a> +2010-04-12T10:44:43.428786Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the hardcoded identity matrix in the Type 1 serialization code in favour of the new FAPI call allowing the interface code to dictate the matrix to be used.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-10T093554.039788Z"></a> +2010-04-10T09:35:54.039788Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove extraneous debug statement in revision 11050.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> </blockquote> -<p><strong><a name="2009-10-06T114451.043694Z"></a> -2009-10-06T11:44:51.043694Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-10T092850.393011Z"></a> +2010-04-10T09:28:50.393011Z Ken Sharp</strong></p> <blockquote> <pre> -Skip non-PDF files during enumeration of embedded file streams in PDF -portfolio. Bug 690422, customer 531. +FAPI Enhancement +We need a way in the initial release where we set FreeType as the default font scaler to +switch it off and revert back to the Ghostscript internal font scaler, in case there +are significant problems. Bug #691237 +This allows the user to either send PostScript or set a command line value to create +a key called DisableFAPI, if the value is true then FAPI will no longer be active, and +so the GS font scaler will be used. + +Can also be set with -dDisableFAPI=true at the command line. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-09T182238.657773Z"></a> +2010-04-09T18:22:38.657773Z regression</strong></p> +<blockquote> +<pre> +Fixed a recently introduced bug in the cluster that caused gs head to +be used when compiling GhostPCL/GhostXPS even if a previous revision +should have been used (as is the case when two or more commits occur +while the cluster is busy). +</pre> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-10-06T082242.843465Z"></a> -2009-10-06T08:22:42.843465Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-09T174920.410599Z"></a> +2010-04-09T17:49:20.410599Z regression</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Undo escapement of PostScript strings when writing XMP metadata for -PDF/A +Minor tweaks/improvements to the cluster code: -Details -Bug #690471 "Parantheses escaped in xmp metadata" +Fixed bug which occasionally left jobs running on macpro. -Technically this is covered in gs/doc/ps2pdf.htm under -sDSCEncoding which states that -the default behaviour is simply to copy the data directly to the file with no -translation. +Clusterpush.pl when run with user==mvrhel now compares to icc_work branch. -However it seems unreasonable not to at least undo the PostScript escapement which we -must have in order to set the PostScript string and which will cause PDF/A -verification failures if we don't. +Report all icc_work branch errors (not just new ones). -Modified the default case (which does not convert to Unicode) to undo the escapement -only. +Collect time to run information. +No longer cache mupdf results. </pre> -<p>[base/gdevpdfe.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-10-06T073333.759516Z"></a> -2009-10-06T07:33:33.759516Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-09T145126.314389Z"></a> +2010-04-09T14:51:26.314389Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : The PDFACompatibilityPolicy switch was being overwritten by PDFA on -setpagedevice - -Details -Bug #690803 -The PDFA switch is stored in the page device dictionary, and the device member is reset -from the stored setting on each setpagedevice. This was defeating the -PDFACompatibilityPolicy setting which tried to disable PDF/A production when the input -could not be converted to a compliant PDF/A file. +Fix UFST and enhance FAPI +Define a new API call for FAPI to allow font engines to replace a FontMatrix. This is +to allow FreeType to replace the FotnMatrix with the identity as it makes the 2-step +scaling performed by FreeType simpler. -Because the PostScript value is subject to save and restore, its all but impossible to -alter the PostScript saved value. So added a new device member 'AbortPDFAX' which can -only be set from C. This is set when non-compliant input is detected and prevents the -emission of (currently) PDF/A file (may add PDF/X in future). It does this by resetting -the device PDFA member every time the device parameters are set. +Modified compute_em_scale so that it uses the new API call instead of blindly replacing +the FontMatrix. +Restored the calculation in FAPI_do_char which unwinds the FontMatrix from the CTM +when calculating the scale factor. Use the new API call to retrieve the desired +FontMatrix rather than pulling it directly from the font as before. </pre> -<p>[base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfp.c base/gdevpdfb.h]</p> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> </blockquote> -<p><strong><a name="2009-10-05T160719.389735Z"></a> -2009-10-05T16:07:19.389735Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-09T081356.362732Z"></a> +2010-04-09T08:13:56.362732Z Ken Sharp</strong></p> <blockquote> <pre> -Correct typos in the MacOS X linker options. Bug 690783.</pre> -<p>[base/unix-dll.mak]</p> +Fix Bug #691180 +This alters the described 'odd behaviour' of the font substitution code whereby fonts +whose name does not contain either 'Serif' or 'Sans' are substituted with Helvetica, +but those which contain 'Italic' are substituted with Times. Italic fonts are now +treated the same as Oblique fonts, and substituted with Helvetica, unless the font +is identified as a serif font. + +This may cause some substitution differences with regression files.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> </blockquote> -<p><strong><a name="2009-10-05T092744.398728Z"></a> -2009-10-05T09:27:44.398728Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-08T214254.260278Z"></a> +2010-04-08T21:42:54.260278Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : incomplete submission #10124 +Move io_device_table from being a global static in gsiodev.c into +the library context. In order to retrieve it we need to update +lots of functions to take a gs_memory_t * as well. -Details -Somehow in the confusion of IP address changes and local cluster regression tests I -managed to only commit a partial fix for issue #690767. The missing line of code is -in this patch. +Localcluster testing shows no expected differences. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[base/gsdevice.c psi/zfile.c base/gdevupd.c base/gsiodev.c base/gxdevice.h psi/ziodev2.c base/gdevprn.c psi/ziodevsc.c base/sfxcommon.c psi/zfrsd.c base/gxiodev.h base/strmio.c base/gslibctx.c base/gsfname.c psi/ziodev.c base/gdevtsep.c psi/zcrd.c base/gslibctx.h base/gsfname.h base/gdevps.c]</p> </blockquote> -<p><strong><a name="2009-10-05T071040.648039Z"></a> -2009-10-05T07:10:40.648039Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-08T160550.601517Z"></a> +2010-04-08T16:05:50.601517Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Improve symbolic font detection +Fix TrueType interpreter Bug #691227 +Another nasty hack for another broken TrueType font. In this case the font tries to +execute a DeltaP instruction with an argument greater than the number of points in the +glyph, which is an error. -Details -Bug #690767 "Problems with PDFA" +FreeType's interpreter has this comment -Revision 9944 altered the way that we detect whether a font is symbolic or not. This -involved several changes; fixing existing broken code, adding /.notdef detection and -attempting to check encoded positions of glyphs before deciding a font was non-symbolic. + /* XXX: Because some popular fonts contain some invalid DeltaP */ + /* instructions, we simply ignore them when the stacked */ + /* point reference is off limit, rather than returning an */ + /* error. As a delta instruction doesn't change a glyph */ + /* in great ways, this shouldn't be a problem. */ -The encoding position test was incorrect for TrueType fonts, however, leading to some -fonts being needlessly declared as symbolic. This patch moves the encoding test to the -font descriptor assembly, which is the correct place to test it. +This patch more or less mimics this in our code. +</pre> +<p>[base/ttinterp.c]</p> +</blockquote> -While this resolves the customer issue, it is not a complete solution. A truly symbolic -TrueType font would still be written as a symbolic font and when creating PDF/A files -there are strict limitations on the form of TrueType fonts. In particular they must only -contain a single CMAP table. Because we do not completely generate TrueType fonts for -embedding, but copy some tables, we cannot meet this restriction. +<p><strong><a name="2010-04-08T155431.828558Z"></a> +2010-04-08T15:54:31.828558Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the commented out invocations of autoheader and aclocal/automake +in the autotools bootstrap script. -This will continue to be a potential problem until the TrueType font embedding code is -rewritten properly. +The various autotools modules must be invoked in a specific order, and +usually with non-default options. We only use autoconf in our build, +not any of the other tools which layer on top of it, but I had left +their invocations in the script, but commented out, so make it easier +to add them at a later date. +It's been some years since autogen.sh was added, and we still have no +plans to adopt automake. Also, the script didn't include support for +libtoolize (which is glibtoolize of MacOS X) nor for detecting the +appropriate automake version, so it seems simpler to just remove the +commented out lines to avoid confusion. </pre> -<p>[base/gdevpdtd.c base/gdevpdtw.c base/gdevpdtd.h]</p> +<p>[autogen.sh]</p> </blockquote> -<p><strong><a name="2009-10-05T013752.593906Z"></a> -2009-10-05T01:37:52.593906Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-08T153926.443280Z"></a> +2010-04-08T15:39:26.443280Z Robin Watts</strong></p> <blockquote> <pre> -Fix incorrect calculation of the page size in cljet5 driver that returned the -size in inches instead of points causing /rangecheck in .installpagedevice . -Bug 690799, customer 870. +Stop a function scope static from being static as nothing was gained by it, +and this removes it from the list of global variables as part of the efforts +for bug 691207 (multithreaded safety). + +No expected differences. </pre> -<p>[base/gdevclj.c]</p> +<p>[base/gdevupd.c]</p> </blockquote> -<p><strong><a name="2009-10-04T124207.575694Z"></a> -2009-10-04T12:42:07.575694Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-08T152926.540666Z"></a> +2010-04-08T15:29:26.540666Z Robin Watts</strong></p> <blockquote> <pre> -Fix SEGV caused by unknown %device% prefix. Add missing check for return code -during lib path parsing. Thanks to Piotr Strzelczyk for the patch. Bug 690800. +Change a static (that happens to be const) to be a static const to remove +it from the global variable list for bug 691207. + +No expected differences. </pre> -<p>[psi/zfile.c]</p> +<p>[base/gdevifno.c]</p> </blockquote> -<p><strong><a name="2009-10-03T164107.412223Z"></a> -2009-10-03T16:41:07.412223Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-08T152228.719732Z"></a> +2010-04-08T15:22:28.719732Z Robin Watts</strong></p> <blockquote> <pre> -Silently ignore point displacement request when the point number is out of -valid range. This patch has been backported from FreeType2. Bug 690795. +Remove globals from gdevmgr.c as part of efforts on bug 691207 (multithreaded +safety). + +Move 5 tables from being file level statics to living in the device structure. + +Checked by doing back to back builds and verifying that the same output is +given for tiger.eps in both cases. + +No expected differences. </pre> -<p>[base/ttinterp.c]</p> +<p>[base/gdevmgr.c]</p> </blockquote> -<p><strong><a name="2009-10-02T235945.611838Z"></a> -2009-10-02T23:59:45.611838Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-08T151651.654028Z"></a> +2010-04-08T15:16:51.654028Z Robin Watts</strong></p> <blockquote> <pre> -Lots of general code cleanup. -Fixed termination of long jobs on some systems. -Added explicit detection of seg faults with pdfwrite. +Remove the function scope static variables from gdevcdj.c as part of the +efforts for bug 691207 (multithreaded safety). These only affect the +ESC/P driver. + +There are 4 variables in play here. real_rows doesn't actually need to be +static at all as it is always set before being used. The other 3 (ln_idx, +vskip1 and vskip2) all go into the 'ep_globals' structure. + +There is a subtle change in behaviour here; previously these variables were +initialised to zero on execution start (and again on every flush). Now they +are initialised to zero at the start of every page (and again on every flush). +This means that leftover vskips are no longer carried forwards from page to +page. This seems like a good thing to me. + </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2009-10-02T223436.678844Z"></a> -2009-10-02T22:34:36.678844Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-08T143041.679319Z"></a> +2010-04-08T14:30:41.679319Z Robin Watts</strong></p> <blockquote> <pre> -Update the Adobe-CNS1 CMap resource to supplement 6.</pre> -<p>[Resource/CMap/Adobe-CNS1-6 Resource/CMap/ETHK-B5-V Resource/CMap/HKscs-B5-V Resource/CMap/UniCNS-UTF32-V Resource/CMap/ETHK-B5-H Resource/CMap/HKscs-B5-H Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniCNS-UTF8-H]</p> +Make a table of 4 zeros be static const, and update the cast where they are +used to also be static const. This should remove them from the global variable +list in bug 691207. + +</pre> +<p>[contrib/japanese/gdev10v.c]</p> </blockquote> -<p><strong><a name="2009-10-01T142736.870724Z"></a> -2009-10-01T14:27:36.870724Z Ray Johnston</strong></p> +<p><strong><a name="2010-04-08T115629.059369Z"></a> +2010-04-08T11:56:29.059369Z Robin Watts</strong></p> <blockquote> <pre> -Fix for segfault when peekstring requests more data than remains in a -%rom% file. Bug 690697. - -DETAILS: +Remove global variables in gdevcdj.c as part of the effort for bug 691207. -The EOFC was not being set correctly, so a subsequent operation would have -cursor.r values that were invalid. Refer to the invariant in the documentation -in stream.h for the stream_s structure: +The ESC/P based printing code in gdevcdj.c uses various global variables; we +gather them into a struct here, and pass the struct between the 2 functions +concerned. - s->position represents the stream position as of the beginning of the - buffer, so the current position is s->position + (s->srptr + 1 - s->cbuf). +This device isn't used in the default build, so no point in testing with the +localcluster. Enabling it locally and doing before/after tests shows that +identical results are given for rendering tiger.eps. -Note that we must not return EOFC when reading exactly the remaining number of -bytes in a file since this will result in the stream being closed. PCL relies -on the stream remaining open after reading the number of bytes in the file. +A side effect of this commit is to remove the nasty shadowing of the img_rows +variable (doubly nasty because of it's use within a macro). This meant that I +had the code wrong for a while, so I know the test is actually testing the +right thing. </pre> -<p>[base/gsiorom.c]</p> +<p>[base/gdevcdj.c]</p> </blockquote> -<p><strong><a name="2009-10-01T032846.061833Z"></a> -2009-10-01T03:28:46.061833Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-07T171846.406090Z"></a> +2010-04-07T17:18:46.406090Z Robin Watts</strong></p> <blockquote> <pre> -Clusterpush.pl now tests all languages. -Added error checking to builds. -Disabled pgmraw testing for xps. +Remove global variable lbp8_end from gdevlbp8.c - it was permanently NULL +so removing it isn't hard, or risky. This will help towards the "No global +variables" goal (bug 691207). + +No expected differences. + </pre> -<p>[toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +<p>[base/gdevlbp8.c]</p> </blockquote> -<p><strong><a name="2009-10-01T012252.434995Z"></a> -2009-10-01T01:22:52.434995Z Masaki Ushizaka</strong></p> +<p><strong><a name="2010-04-07T132337.938542Z"></a> +2010-04-07T13:23:37.938542Z Chris Liddell</strong></p> <blockquote> <pre> -A quick dirty hack to enable reading of wts plane files (wts_plane_x) on 64 bit machines. Wts plane files contain a image of little endian 32 bit specific structure with a pointer, and was preventing wtsimdi device to run on 64 bit machines. -Tested on little endian 32 and 64 bit machines. Should not change anything on 32 bit machines with current wts plane files. Hope to work on big endian machines but not tested. -Bug #690710.</pre> -<p>[base/gswts.c]</p> +Revise the interface code and the use of FT so that both use GS managed memory, rather than the stdlib memory routines (malloc/free and co.).</pre> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-30T005607.061280Z"></a> -2009-09-30T00:56:07.061280Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-07T131357.741241Z"></a> +2010-04-07T13:13:57.741241Z Robin Watts</strong></p> <blockquote> <pre> -First cut at a working clusterpush.pl (complete with documentation!). +Fix for bug 691228, problems with wide strokes with round caps/joins with +antialiasing enabled. + +2 small problems in the same code. In the antialiased case, we stroke by +forming 2 paths (one up either side of the line) and then reverse one and +concatenate it. This should happen whenever we meet a closepath, but due to +a misplaced return, was being missed out in some round join cases. + +Also, when using a round join in the case where 2 lines meet 'in-line' we +would inadvertently leave the point on the wrong side of the line. + +No changes in localcluster testing as this only affects antialiased results +and that's not tested currently. + </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/clusterpush.txt]</p> +<p>[base/gxstroke.c]</p> </blockquote> -<p><strong><a name="2009-09-29T001830.610000Z"></a> -2009-09-29T00:18:30.610000Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-06T192640.921375Z"></a> +2010-04-06T19:26:40.921375Z Robin Watts</strong></p> <blockquote> <pre> -Force out-of-range values of color mask to the valid range by calculating -bitwise 'and' with the maximum color value. Experiments show that this is what -AR does. Earlier code mapped out-of-range values to the nearest valid value. -Bug 690786, customer 531. +Another attempt to fix Bug 691115. This corrects the clipping of a trapezoid +to a rectangle within the shading code. My previous attempt had failed to +allow for one case. + +This causes 116 non-pdfwrite diffs, and 23 pdfwrite ones, all checked using +bmpcmp and found to be acceptable. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[base/gxshade6.c]</p> </blockquote> -<p><strong><a name="2009-09-28T220708.267973Z"></a> -2009-09-28T22:07:08.267973Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-06T171554.520182Z"></a> +2010-04-06T17:15:54.520182Z Michael Vrhel</strong></p> <blockquote> <pre> -Draw a smooth curve through the points of Ink annotation. The algorithm Adobe -uses is unpublished but our curve is close enough to Adobe when the points -follow a smooth path. For random points the curve is different but looks -more logical than Adobe's. Bug 690758, customer 580. +Update of fuzzy to report average and max color errors. This is useful for continuous tone images only. If the max error reaches the largest possible, the calculations for these values are not performed.</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> +<p><strong><a name="2010-04-06T141443.252652Z"></a> +2010-04-06T14:14:43.252652Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI and FreeType interface. +The Metrics override was broken, the code to retrieve the /Metrics entries (1 to 4 +values) stored the results in an array in a different order to the code which read the +values back. + +In addition the FreeType code did not reset the 'glyph_metrics_index' if a glyph had no +metrics override, which could lead to us using the metrics overrides from a prior glyph +if we had already encountered one using an override. </pre> -<p>[psi/int.mak Resource/Init/pdf_draw.ps psi/zpdfops.c]</p> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-09-28T184049.994854Z"></a> -2009-09-28T18:40:49.994854Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-06T100831.160988Z"></a> +2010-04-06T10:08:31.160988Z Ken Sharp</strong></p> <blockquote> <pre> -Fix some broken documentation links. Bug 690787.</pre> -<p>[doc/Develop.htm doc/Commprod.htm]</p> +Fix FreeType. +The revision 11012 fixed a problem with an invalid font but accidentally introduced a +regression because an 'else' clause was missed. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> </blockquote> -<p><strong><a name="2009-09-28T171624.723655Z"></a> -2009-09-28T17:16:24.723655Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-06T081444.802475Z"></a> +2010-04-06T08:14:44.802475Z Chris Liddell</strong></p> <blockquote> <pre> -Also set the correct media type on the documenation style sheet. -</pre> -<p>[doc/gs.css]</p> +Resolve two compiler warnings - no behaviour change expected</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-09-28T171443.100223Z"></a> -2009-09-28T17:14:43.100223Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-05T235000.539571Z"></a> +2010-04-05T23:50:00.539571Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Set a text/html media type on the html documentation so it can -be served directly out of svn. -</pre> -<p>[doc/History7.htm doc/Projects.htm doc/History8.htm doc/Use.htm doc/Readme.htm doc/Deprecated.htm doc/Source.htm doc/Install.htm doc/Changes.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm doc/Commprod.htm doc/Release.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm doc/Ps2ps2.htm doc/Fonts.htm doc/Develop.htm doc/Ps2pdf.htm doc/Helpers.htm doc/Psfiles.htm doc/Lib.htm doc/Hershey.htm doc/News.htm doc/Details8.htm doc/Make.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm doc/index.html doc/History3.htm doc/Ps2epsi.htm doc/History4.htm doc/Details.htm doc/History5.htm doc/History6.htm]</p> +adding comments about using globs not expandable by shell; bug 691229</pre> +<p>[base/mkromfs.c]</p> </blockquote> -<p><strong><a name="2009-09-28T122827.246472Z"></a> -2009-09-28T12:28:27.246472Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-04-05T172412.188391Z"></a> +2010-04-05T17:24:12.188391Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Fix line endings and a corresponding file attribute in a recently added file. -</pre> -<p>[psi/zpdfops.c]</p> +adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219</pre> +<p>[lib/pdf2ps lib/eps2eps lib/pfbtopfa lib/ps2epsi lib/ps2pdfwr lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +</blockquote> + +<p><strong><a name="2010-04-05T172210.077618Z"></a> +2010-04-05T17:22:10.077618Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "dirname $0" ; bug 691219</pre> +<p>[lib/printafm lib/eps2eps lib/pdf2dsc lib/gsbj lib/ps2epsi lib/gsdj lib/dumphint lib/gsnd lib/font2c lib/pdfopt lib/pdf2ps lib/ps2pdf lib/gslj lib/pfbtopfa lib/bdftops lib/ps2pdf12 lib/ps2pdf13 lib/ps2pdf14 lib/gslp lib/wftopfa lib/ps2pdfwr lib/ps2ps lib/pphs lib/pf2afm lib/gsdj500]</p> </blockquote> -<p><strong><a name="2009-09-28T053056.923097Z"></a> -2009-09-28T05:30:56.923097Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-04-05T171334.259627Z"></a> +2010-04-05T17:13:34.259627Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Added clusterpush.pl. +adding reference to msmin04, msgoth04 and ngulim,nbantang; fixes the remaining issues in bug 689456</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-05T154847.768122Z"></a> +2010-04-05T15:48:47.768122Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix line endings. The previous commit (11012) accidentally used DOS line endings which +made it appear every line in the file was different. </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[freetype/src/psaux/psobjs.c]</p> </blockquote> -<p><strong><a name="2009-09-26T053448.796753Z"></a> -2009-09-26T05:34:48.796753Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-05T153111.441559Z"></a> +2010-04-05T15:31:11.441559Z Ken Sharp</strong></p> <blockquote> <pre> -Revert the change to EOF handling in the romfs iodevice. It fixed the -segfault, but broken compiled-in font access on PCL. Bug 690697. +Fix FreeType +When using bitmaps from a TrueType/Type42 font FreeType uses a heuristic approach to +synthesize vertical metrics for the glyphs, including a horizontal advance. As in the +past, this works well as long as the client knows whether the advance direction is +horizontal or vertical and uses the correct advance. + +However we don't know that, so we don't want the vertical advance. + +Its easiest jut to have FreeType ignore embedded bitmaps and use the outlines, in which +case we don't get the invented vertical advance. Not only that but the rendered bitmap +is a better match for the cases where we don't have a pre-built bitmap, so consistency +is improved with this patch as well. </pre> -<p>[base/gsiorom.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-25T231642.622069Z"></a> -2009-09-25T23:16:42.622069Z Ralph Giles</strong></p> +<p><strong><a name="2010-04-05T152725.365922Z"></a> +2010-04-05T15:27:25.365922Z Ken Sharp</strong></p> <blockquote> <pre> -Improve EOF detection with the romfs iodevice. Fixes a segfault -loading shorter resources. Patch from Alex Cherepanov, bug 690697. +Fix FreeType +The test file objlune_font2_mine.ps contains a Type 1 font which has a technically + invalid glyph. The glyph executes a 'lineto' class operation before a 'moveto' class +operation. -Details: +Although illegal it seems that all other PostScript RIPs ignore this requirement, this +patch removes the error check in FreeType to conform with other interpreters. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> -Resources are loaded using the --run-- operator, which looks into -the first 1023 bytes of the file to check for PDF, etc. It calls -.peekstring which uses s->end_status to detect the end of the file, -but s_block_read_process() didn't set it, allowing repeated reading -of the same block and the file position to run off the end of the -buffer. This was the cause of the segfault. +<p><strong><a name="2010-04-05T113332.361294Z"></a> +2010-04-05T11:33:32.361294Z Chris Liddell</strong></p> +<blockquote> +<pre> +Update the to latest FT code from the FT git repository.</pre> +<p>[freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/src/type1/t1objs.h freetype/docs/INSTALL.CROSS freetype/src/truetype/ttgload.c freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/src/raster/ftrend1.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/src/psaux/psaux.c freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/src/pcf/pcfread.h freetype/include/freetype/ftcache.h freetype/src/raster/Jamfile freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/ftincrem.h freetype/include/freetype/internal/services/svcid.h freetype/src/pshinter/pshalgo.h freetype/src/psnames/psnamerr.h freetype/src/tools/test_afm.c freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/include/freetype/freetype.h freetype/vms_make.com freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/docs/INSTALL.UNIX freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfr.c freetype/src/pfr/pfrload.c freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/src/type1/t1gload.c freetype/src/base/ftbbox.c freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/src/bdf/bdferror.h freetype/src/gxvalid/rules.mk freetype/src/pcf/pcf.c freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/include/freetype/internal/services/svotval.h freetype/src/otvalid/rules.mk freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/builds/win32/vc2005/freetype.vcproj freetype/src/base/ftbase.h freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/src/bdf/bdf.h freetype/src/gxvalid/gxvalid.c freetype/src/cff/cff.c freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/src/autofit/afmodule.c freetype/src/autofit/afmodule.h freetype/src/pfr/pfrcmap.c freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/src/type1/t1afm.c freetype/src/raster/module.mk freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/src/type1/t1tokens.h freetype/src/type1/t1afm.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/src/pshinter/pshrec.h freetype/src/truetype/ttobjs.c freetype/src/autofit/autofit.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/truetype/ttobjs.h freetype/src/otvalid/otvgsub.c freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/include/freetype/ftglyph.h freetype/builds/win32/vc2005/index.html freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/src/autofit/aflatin2.h freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/src/pshinter/pshinter.c freetype/src/cache/ftcglyph.h freetype/src/tools/test_bbox.c freetype/src/cache/Jamfile freetype/src/type42/t42types.h freetype/include/freetype/internal/services/svpsinfo.h freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/tools/docmaker/docbeauty.py freetype/src/raster/rastpic.h freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/src/sfnt/module.mk freetype/src/type1/t1load.c freetype/docs/INSTALL freetype/src/gzip/inftrees.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/cff/cfftoken.h freetype/src/gxvalid/gxvfeat.c freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/src/pfr/pfrsbit.h freetype/src/gxvalid/gxvfeat.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/src/base/ftglyph.c freetype/include/freetype/ftmm.h freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/psaux/afmparse.c freetype/src/sfnt/sfdriver.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/psaux/afmparse.h freetype/src/sfnt/sfdriver.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/pshinter/pshpic.h freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/PATENTS freetype/docs/raster.txt freetype/src/autofit/afpic.h freetype/src/cff/cffdrivr.c freetype/src/otvalid/otvgpos.c freetype/src/cid/cidriver.c freetype/src/cff/cffdrivr.h freetype/include/freetype/ftgasp.h freetype/src/autofit/afindic.c freetype/src/otvalid/otvgpos.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/src/gzip/zconf.h freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/src/otvalid/otvalid.c freetype/src/otvalid/otvcommn.c freetype/include/freetype/config/ftmodule.h freetype/include/freetype/ftxf86.h freetype/src/otvalid/otvalid.h freetype/src/otvalid/otvcommn.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/include/freetype/ftstroke.h freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/builds/win32/visualce/freetype.dsp freetype/src/cid/ciderrs.h freetype/ChangeLog.20 freetype/ChangeLog.21 freetype/src/type42/t42parse.h freetype/ChangeLog.22 freetype/src/bdf/bdfdrivr.h freetype/include/freetype/tttables.h freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/include/freetype/internal/ftobjs.h freetype/src/pcf/pcfdrivr.c freetype/src/gxvalid/gxvmort5.c freetype/src/pcf/pcfdrivr.h freetype/src/psnames/Jamfile freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/include/freetype/internal/services/svpostnm.h freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/src/autofit/afloader.c freetype/src/otvalid/Jamfile freetype/include/freetype/internal/services/svkern.h freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/psaux/psobjs.c freetype/src/sfnt/Jamfile freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/src/base/ftcalc.c freetype/src/pshinter/pshnterr.h freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/pshinter/module.mk freetype/src/tools/ftrandom/Makefile freetype/src/type42/rules.mk freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/src/cff/cffobjs.h freetype/include/freetype/ftoutln.h freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/tools/ftrandom/README freetype/src/winfonts/rules.mk freetype/docs/CHANGES freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/src/gxvalid/gxvtrak.c freetype/src/pcf/README freetype/include/freetype/internal/ftdriver.h freetype/include/freetype/ftgzip.h freetype/src/base/ftrfork.c freetype/include/freetype/internal/services/svbdf.h freetype/src/smooth/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/base/rules.mk freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/include/freetype/ftlcdfil.h freetype/src/tools/docmaker/sources.py freetype/src/type42/type42.c freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/truetype/ttdriver.h freetype/src/autofit/aflatin.c freetype/src/pfr/pfrgload.h freetype/src/base/ftsnames.c freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/docs/TRUETYPE freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/src/base/ftsynth.c freetype/src/base/ftwinfnt.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/sfnt/ttbdf.h freetype/src/lzw/ftlzw.c freetype/builds/win32/vc2008/freetype.vcproj freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/truetype/ttinterp.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/sfnt/ttcmap.c freetype/include/freetype/internal/services/svmm.h freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/src/truetype/tterrors.h freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/include/freetype/internal/pshints.h freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/src/psaux/psauxmod.c freetype/builds/wince/vc2008-ce/index.html freetype/src/pfr/module.mk freetype/src/psnames/psmodule.h freetype/src/base/ftcid.c freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/sfnt/ttcmapc.h freetype/src/gzip/inffixed.h freetype/include/freetype/ftwinfnt.h freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/include/freetype/ftimage.h freetype/docs/release freetype/src/pfr/pfrobjs.h freetype/src/lzw/ftzopen.c freetype/src/truetype/truetype.c freetype/src/lzw/Jamfile freetype/Makefile freetype/src/lzw/ftzopen.h freetype/src/base/fttrigon.c freetype/src/autofit/afhints.c freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/src/smooth/Jamfile freetype/src/gzip/adler32.c freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/src/sfnt/sfntpic.c freetype/src/gzip/zutil.c freetype/src/winfonts/winfnt.h freetype/src/smooth/smooth.c freetype/src/sfnt/sfntpic.h freetype/src/gzip/zutil.h freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/src/gxvalid/gxvmorx4.c freetype/src/winfonts/Jamfile freetype/include/freetype/internal/pcftypes.h freetype/src/smooth/ftgrays.h freetype/src/pfr/pfrerror.h freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/src/otvalid/module.mk freetype/ChangeLog freetype/include/freetype/internal/services/svpscmap.h freetype/include/freetype/fttrigon.h freetype/docs/FTL.TXT freetype/src/cache/ftcmanag.c freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/services/svtteng.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/include/freetype/internal/ftpic.h freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/src/psnames/psnames.c freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/type42/t42objs.h freetype/src/smooth/ftsmerrs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/src/psaux/t1decode.c freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/src/type42/module.mk freetype/src/otvalid/otvjstf.c freetype/src/autofit/aferrors.h freetype/src/cff/cffgload.c freetype/src/gxvalid/gxvlcar.c freetype/include/freetype/internal/services/svsfnt.h freetype/src/base/ftinit.c freetype/src/bdf/README freetype/src/cache/ftccback.h freetype/src/cff/cffgload.h freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/src/tools/Jamfile freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/cff/cffload.c freetype/src/gxvalid/gxvcommn.c freetype/src/autofit/afangles.h freetype/src/cff/cffload.h freetype/src/gxvalid/gxvcommn.h freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> -We now use '>=' instead of '==' when checking the file position to -avoid the overrun, and raise the EOF flag when the last block of the -file is read. This can be done because the whole block is always -decompressed and copied to the stream buffer.</pre> -<p>[base/gsiorom.c]</p> +<p><strong><a name="2010-04-05T100359.155794Z"></a> +2010-04-05T10:03:59.155794Z Chris Liddell</strong></p> +<blockquote> +<pre> +Fix the FAPI implementation of finding the appropriate bytes for a given character code from an array of strings representing a CMap.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-09-25T145513.694603Z"></a> -2009-09-25T14:55:13.694603Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-02T123123.439338Z"></a> +2010-04-02T12:31:23.439338Z Ken Sharp</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Remove limit on images in patterns when creating later versions of PDF +'Fix' FAPI with FreeType. -Details -There was a fixed limit of 64Kb on images used by Pattern colour spaces in early -versions of Acrobat (presumably using a string for storage). This limit does not apply -from Acrobat 5 onwards so the size test has been amended to also consider the version -of PDF being produced before raising an error. +FreeType's hinting is worse than useless for type 1 fonts, its actually harmful. It +distorts the glyph shape because it hints an unscaled outline. While it would be best +to fix FreeType's hinting this is a large project. For now this patch disables FreeType +hinting when handling type 1 fonts. +This resolves many spacing issues as well as fixing the stroke/fill mismatch with +ia3z3519.pdf and the incorrectly scaled outline in womanface.pdf. </pre> -<p>[base/gdevpdfv.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-09-25T141913.610976Z"></a> -2009-09-25T14:19:13.610976Z Ray Johnston</strong></p> +<p><strong><a name="2010-04-02T091923.286738Z"></a> +2010-04-02T09:19:23.286738Z Chris Liddell</strong></p> <blockquote> <pre> -Fix for transparency problem, caused by the alpha parameters in the ExtGState -in the PDF interpreter (dictstack) not being maintained properly. -Bug 690770 for customer #1110. Thanks to Michael Vrhel for analyzing the PDF -to find the area that the PDF interpreter was mishandling. +Extend Ken's change to avoid using FT's "synthetic" vertical metrics for Type42 fonts to cover all fonts using TTF outlines (so CIDType 2 fonts, as well).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-04-02T090653.941441Z"></a> +2010-04-02T09:06:53.941441Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a bug in the FreeType scan conversion. -The ExtGState is kept as values in the dictionaries on the dictstack and are -sent to the graphics library as needed using '.set***alpha' operators. The -CA and ca values were properly set to 1 in the graphics library when the Do -operator was used to execute Form or Image objects, but the corresponding -FillConstantAlpha and StrokeConstantAlpha values were not being set in the -ExtGState so any operations in a Form that set the values in the graphics -library from the ***ConstantAlpha values in the ExtGState could set them -to incorrect values. +A multiply and divide to calculate the slope of a line did not account for the +possibility of overflow during multiplication. Using the supplied SMulDiv routine fixes +the problem. +The patch has been supplied upstream to the FreeType development team. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[freetype/src/raster/ftraster.c]</p> </blockquote> -<p><strong><a name="2009-09-25T091210.671327Z"></a> -2009-09-25T09:12:10.671327Z Ken Sharp</strong></p> +<p><strong><a name="2010-04-01T133252.153614Z"></a> +2010-04-01T13:32:52.153614Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Stricter checking when converting type 4 to type 1 masked image +Slight tidy up to gs_2_colors code: Given that the cie_joint_caches_alt is +now kept in the imager state rather than the graphics state, move the +reference counting/initialisation for the same into the imager state +too. No difference in operation, but just a bit tidier. -Details -Bug #690704 "Regression: seg fault with pdfwrite" - -pdfwrite was performing an optimisation to convert type 4 masked images, which are only -supported in PDF 1.3 and above, into type 1 masked images which are supported in all -versions. - -However the test was faulty, assuming that a one bit per component image was always -suitable. If the image had multiple components the result was incorrect and when the -input was from PCL could lead to errors. +No expected differences, though the cluster may show 2colCIEtest.pdf as +failing if it hasn't propogated around the nodes yet. </pre> -<p>[base/gdevpdfi.c]</p> +<p>[base/gsstate.c base/gsistate.c]</p> </blockquote> -<p><strong><a name="2009-09-25T012907.733105Z"></a> -2009-09-25T01:29:07.733105Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-31T154306.179195Z"></a> +2010-03-31T15:43:06.179195Z Chris Liddell</strong></p> <blockquote> <pre> -Update the CMap resources with the new, open source versions of -the files for the Identity, Adobe-CNS1, Adobe-GB1, Adobe-Japan1, -Adobe-Japan2 and Adobe-Korea1 CMap resources. +Bounds check the correct object when looking up a CID map</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -Aside from the copyright and license header change and a bump to the -minor CMapVersion field, these versions incorporate the following -changes over our previous set of CMap resources: +<p><strong><a name="2010-03-31T144031.704728Z"></a> +2010-03-31T14:40:31.704728Z Chris Liddell</strong></p> +<blockquote> +<pre> +Correct a logical error/typo in the fallback to non-hinted condition.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> - Identity-H has many new ranges, - UniGB-UTF8-H bumped to supplement 5, - UniGB-UTF16-H bumped to supplement 5, - UniGB-UTF32-H has some character updates. +<p><strong><a name="2010-03-31T132201.442343Z"></a> +2010-03-31T13:22:01.442343Z Chris Liddell</strong></p> +<blockquote> +<pre> +Prevent applying the nominalWidthX for T2 fonts, when FT already applies it for us. Previously, the code was actually erroneously adding the defaultWidthX. Since this use of nominalWidthX *may* be renderer dependent, it is now controlled by the can_replace_metrics() call.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> -These are still copyright Adobe, but now allow modification and require -attribution on binaries. Previously they were licensed only for verbatim -redistribution.</pre> -<p>[Resource/CMap/78-H Resource/CMap/Hojo-H Resource/CMap/UniHojo-UCS2-V Resource/CMap/90pv-RKSJ-H Resource/CMap/CNS2-H Resource/CMap/RKSJ-H Resource/CMap/78-V Resource/CMap/KSCpc-EUC-H Resource/CMap/Hojo-V Resource/CMap/90pv-RKSJ-V Resource/CMap/CNS2-V Resource/CMap/Hiragana Resource/CMap/GBT-EUC-H Resource/CMap/Roman Resource/CMap/RKSJ-V Resource/CMap/HKdlb-B5-H Resource/CMap/UniKS-UTF32-H Resource/CMap/KSCpc-EUC-V Resource/CMap/UniHojo-UTF8-H Resource/CMap/Adobe-Korea1-0 Resource/CMap/UniKS-UCS2-H Resource/CMap/Adobe-Korea1-1 Resource/CMap/Adobe-Korea1-2 Resource/CMap/GBT-EUC-V Resource/CMap/78-RKSJ-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/HKdlb-B5-V Resource/CMap/HKgccs-B5-H Resource/CMap/83pv-RKSJ-H Resource/CMap/UniKS-UTF32-V Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/EUC-H Resource/CMap/UniHojo-UTF32-H Resource/CMap/UniHojo-UTF8-V Resource/CMap/UniGB-UCS2-H Resource/CMap/HKscs-B5-H Resource/CMap/HKm471-B5-H Resource/CMap/90msp-RKSJ-H Resource/CMap/UniKS-UCS2-V Resource/CMap/78-RKSJ-V Resource/CMap/HKgccs-B5-V Resource/CMap/UniJISX02132004-UTF32-V Resource/CMap/GBpc-EUC-H Resource/CMap/Add-H Resource/CMap/UniJIS2004-UTF16-V Resource/CMap/Adobe-GB1-0 Resource/CMap/B5pc-H Resource/CMap/KSC-EUC-H Resource/CMap/Adobe-GB1-1 Resource/CMap/EUC-V Resource/CMap/UniHojo-UTF32-V Resource/CMap/Adobe-GB1-2 Resource/CMap/Adobe-GB1-3 Resource/CMap/UniGB-UCS2-V Resource/CMap/HKscs-B5-V Resource/CMap/HKm471-B5-V Resource/CMap/Adobe-GB1-4 Resource/CMap/90msp-RKSJ-V Resource/CMap/Adobe-GB1-5 Resource/CMap/UniCNS-UTF32-H Resource/CMap/GBpc-EUC-V Resource/CMap/Add-V Resource/CMap/B5pc-V Resource/CMap/Ext-RKSJ-H Resource/CMap/KSC-EUC-V Resource/CMap/Hojo-EUC-H Resource/CMap/UniJISPro-UCS2-V Resource/CMap/GBT-H Resource/CMap/UniKS-UTF8-H Resource/CMap/GBK-EUC-H Resource/CMap/UniCNS-UTF32-V Resource/CMap/Ext-RKSJ-V Resource/CMap/Hojo-EUC-V Resource/CMap/UniGB-UTF8-H Resource/CMap/Adobe-Japan1-0 Resource/CMap/GBT-V Resource/CMap/UniKS-UTF8-V Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/Adobe-Japan1-1 Resource/CMap/GBK-EUC-V Resource/CMap/UniKS-UTF16-H Resource/CMap/Adobe-Japan1-2 Resource/CMap/Adobe-Japan1-3 Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Japan1-5 Resource/CMap/90ms-RKSJ-H Resource/CMap/Adobe-Japan1-6 Resource/CMap/UniJIS-UTF32-H Resource/CMap/GB-EUC-H Resource/CMap/H Resource/CMap/UniGB-UTF8-V Resource/CMap/B5-H Resource/CMap/UniJIS2004-UTF8-V Resource/CMap/UniKS-UTF16-V Resource/CMap/UniJIS-UCS2-H Resource/CMap/90ms-RKSJ-V Resource/CMap/UniHojo-UTF16-H Resource/CMap/V Resource/CMap/UniJIS-UTF32-V Resource/CMap/GB-EUC-V Resource/CMap/KSC-H Resource/CMap/UniJISPro-UTF8-V Resource/CMap/B5-V Resource/CMap/Katakana Resource/CMap/HKdla-B5-H Resource/CMap/UniJIS-UCS2-V Resource/CMap/Identity-H Resource/CMap/UniHojo-UTF16-V Resource/CMap/GBKp-EUC-H Resource/CMap/KSC-V Resource/CMap/GBK2K-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/HKdla-B5-V Resource/CMap/Identity-V Resource/CMap/UniCNS-UCS2-H Resource/CMap/GBKp-EUC-V Resource/CMap/GBK2K-V Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniGB-UTF32-V Resource/CMap/Adobe-CNS1-0 Resource/CMap/UniJIS-UTF8-H Resource/CMap/Adobe-CNS1-1 Resource/CMap/Adobe-CNS1-2 Resource/CMap/Adobe-CNS1-3 Resource/CMap/UniCNS-UCS2-V Resource/CMap/Adobe-CNS1-4 Resource/CMap/GB-H Resource/CMap/Adobe-CNS1-5 Resource/CMap/Adobe-Japan2-0 Resource/CMap/KSCms-UHC-H Resource/CMap/Add-RKSJ-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniJIS-UTF8-V Resource/CMap/UniJIS-UTF16-H Resource/CMap/GB-V Resource/CMap/KSCms-UHC-HW-H Resource/CMap/KSCms-UHC-V Resource/CMap/HKm314-B5-H Resource/CMap/Add-RKSJ-V Resource/CMap/UniJISX0213-UTF32-V Resource/CMap/UniJIS-UTF16-V Resource/CMap/UniCNS-UTF8-H Resource/CMap/KSCms-UHC-HW-V Resource/CMap/UniJIS-UCS2-HW-H Resource/CMap/HKm314-B5-V Resource/CMap/Hankaku Resource/CMap/ETen-B5-H Resource/CMap/ETenms-B5-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/NWP-H Resource/CMap/CNS1-H Resource/CMap/WP-Symbol Resource/CMap/UniJIS-UCS2-HW-V Resource/CMap/UniGB-UTF16-H Resource/CMap/78-EUC-H Resource/CMap/ETen-B5-V Resource/CMap/ETenms-B5-V Resource/CMap/NWP-V Resource/CMap/CNS1-V Resource/CMap/UniGB-UTF16-V Resource/CMap/78-EUC-V Resource/CMap/CNS-EUC-H Resource/CMap/ETHK-B5-H Resource/CMap/Ext-H Resource/CMap/KSC-Johab-H Resource/CMap/78ms-RKSJ-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/GBTpc-EUC-H Resource/CMap/CNS-EUC-V Resource/CMap/ETHK-B5-V Resource/CMap/Ext-V Resource/CMap/KSC-Johab-V Resource/CMap/78ms-RKSJ-V Resource/CMap/UniHojo-UCS2-H Resource/CMap/UniJIS2004-UTF32-V Resource/CMap/UniJISPro-UCS2-HW-V Resource/CMap/GBTpc-EUC-V]</p> +<p><strong><a name="2010-03-31T131641.790764Z"></a> +2010-03-31T13:16:41.790764Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the even a glyph name is not found in the CharStrings dictionary, fall back to using the .notdef (instead of returning an error).</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-09-23T014255.789973Z"></a> -2009-09-23T01:42:55.789973Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-31T130744.152960Z"></a> +2010-03-31T13:07:44.152960Z Chris Liddell</strong></p> <blockquote> <pre> -Implement rendering of PDF Ink annotation without appearance stream. PDF -Spec doesn't say how to connect points in the annotation. This version uses -simple lineto operation but Acrobat uses curves for smoother look. -Bug 690758, customer 580. +For certain errors from FT, retry interpretting the glyph without hinting - this more closely matches the existing behaviour.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> -DETAILS: -The drawing of the line through the given points is implemented in C as a -custom operator to facilitate further improvements. +<p><strong><a name="2010-03-31T113210.299125Z"></a> +2010-03-31T11:32:10.299125Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable. No expected differences. </pre> -<p>[psi/int.mak psi/zpdfops.c Resource/Init/pdf_draw.ps]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2009-09-22T191922.702941Z"></a> -2009-09-22T19:19:22.702941Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-31T012018.778513Z"></a> +2010-03-31T01:20:18.778513Z Ray Johnston</strong></p> <blockquote> <pre> -Fixed bug in automatic speed tuning of local cluster nodes and modified build process to make use of fixed parallel makefiles. +Temporary reversion of previous mkromfs commit to remove -g until it works +correctly (fooled by a GS_LIB environment variable during testing) </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +<p>[psi/psromfs.mak]</p> </blockquote> -<p><strong><a name="2009-09-22T165351.759845Z"></a> -2009-09-22T16:53:51.759845Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-30T225953.311321Z"></a> +2010-03-30T22:59:53.311321Z Ray Johnston</strong></p> <blockquote> <pre> -Local cluser regression changes: +Implement '-g' option in mkromfs to fold in some of the older 'genint' +functions (collect all init files into a single gs_init.ps, strip +whitespace and comments). Also change mkromfs so that wildcard expansion +must be specified using '*' on the command line which also means that +single explicit files can now be put into the %rom% file system. -Enabled minimal XPS and SVG testing. -Improved error reporting (errors and timeouts are now differentiated as are input errors vs. pdfwrite produced pdf file reading errors. +Add many missed dependencies to the list for the 'gsromfs.c' %rom% file +system (CMap, ColorSpace, Decoding, Encoding, Font, IdiomSet, ProcSet, +SubstCID) and separate out miscellenaeous files. +Remove old geninit references from makefiles: psi/int.mak psi/os2.mak, +base/bcwin32.mak, base/msvctail.mak, base/winlib.mak, base/macos-mcp.mak, +base/openvms.mak, base/lib.mak, base/unix-aux.mak base/watcw32.mak, +base/wctail.mak </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[base/wctail.mak psi/os2.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/mkromfs.c base/gs.mak base/watcw32.mak psi/psromfs.mak psi/int.mak base/unix-aux.mak base/macos-mcp.mak base/msvctail.mak]</p> </blockquote> -<p><strong><a name="2009-09-21T193830.162606Z"></a> -2009-09-21T19:38:30.162606Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-30T184034.337393Z"></a> +2010-03-30T18:40:34.337393Z Robin Watts</strong></p> <blockquote> <pre> -Correct placement of declaration to allow wts devices to compile on MSVC. +Fix bug 691132 by ensuring that whenever we set a line width, we set +it to the absolute value of the line width. This seems consistent with +PDF, and cures the clipping problem in PCL referred to by the bug. + +No expected differences. + </pre> -<p>[base/gdevwts.c]</p> +<p>[base/gxline.h]</p> </blockquote> -<p><strong><a name="2009-09-21T151025.830219Z"></a> -2009-09-21T15:10:25.830219Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-30T144656.884951Z"></a> +2010-03-30T14:46:56.884951Z Robin Watts</strong></p> <blockquote> <pre> -Fix (type 1 parser) : Correct logical flaw in SEAC parsing +In the gs_2_colors branch I had made 2 copies of the color state and swapped +between them. I had included dev_ht as part of this 'split' state, which +was a significant contributor to the slowdown due to it forcing repeated +writing of the halftone data to the clist. Also, it required significant +extra work on every setscreen or setcolorscreen operation. -Details -Bug #690720 "Regression: pdfwrite generates bad pdf files from PostScript files" +Discussions with Henry/Ray/Kens et al lead to the realisation this wasn't +required. This patch therefore backs out the dev_ht split, and the changes +to zsetscreen and zsetcolorscreen. Additional code is however required to +clear the 'alternative' dev_color when a halftone is installed to stop the +'swapped out' color pointing to an illegal halftone cache. -The Type 1 font routine to detect SEAC (Single Encoding Accented Character) glyphs and -return the component glyphs, 'gs_type1_piece_codes' made a faulty assumption that a -SEAC glyph was purely composed of two components and that any glyph with a path -construction operation could not be a SEAC. +This runs through local testing with no diffs showing (though some +strangeness was observed with an earlier version of this patch in +regression testing - Marcos has captured this with bug 691223). -This restriction is, unfortunately, not documented in the spec. The Genoa test file -16-10.ps includes a font with SEAC glyphs which also contain path construction -operations. The failure to properly detect the SEAC was causing pdfwrite not to emit -the component glyphs when subsetting fonts, resulting in PDF files containing invalid -fonts. +This seems to have helped with the largest slowdowns, but there are still +significant differences in some cases. Very preliminary investigations seem +to show more time being spent in the interpreter/gc mechanism. Continuing +to investigate. -Fixing this then revealed that the reduced type 1/type 2 font interpreter used for -detecting SEAC glyphs did not properly handle a number of type 2 instructions. This -patch also adds support for hstemhm, vstemhm, hintmask and cntrmask. -Because we do not have a full featured CFF parser in C yet, it was not possible to add -full support for the callgsubr operator (global subroutines are apparently not available -to the reduced interpreter). If the relevant gsubr contained the endchar for the glyph, -then this causes the interpreter to fail as we cannot process the subr. +</pre> +<p>[base/gsstate.c base/gxistate.h base/gsht.c base/gxdcolor.h base/gzstate.h psi/zht.c psi/zht1.c]</p> +</blockquote> -Since SEAC operations are deprecated in type 2 fonts, and a gsubr completion of a SEAC -is extremely unlikely, I've chosen to return when a callgsubr is encountered and treat -the glyph as not being a SEAC. This may need to be revised in future. +<p><strong><a name="2010-03-30T101657.091024Z"></a> +2010-03-30T10:16:57.091024Z Ken Sharp</strong></p> +<blockquote> +<pre> +New Fontmap files for the URW fonts, both type 1 and TrueType formats. + +The file Fontmap.URW-136.T1 contains definitions for the type 1 fonts (the URW PFB +fonts must be in the search path). + +The file Fontmap.URW-136.TT contains definitions for the TrueType fonts (the URW TTF +fonts must be in the search path). + +Currently neither of these work 100% because of problems with the URW font sets +(several incorrectly named fonts, and in one case an illegal type 1 font) </pre> -<p>[base/gxtype1.c]</p> +<p>[lib/Fontmap.URW-136.T1 lib/Fontmap.URW-136.TT]</p> </blockquote> -<p><strong><a name="2009-09-19T171732.098742Z"></a> -2009-09-19T17:17:32.098742Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-29T191049.447074Z"></a> +2010-03-29T19:10:49.447074Z Alex Cherepanov</strong></p> <blockquote> <pre> -Normalize machine times so the fastest machine is 1 rather than the average machine. +Drop 'loca' entries that point beyond 'glyf' table during re-spliting +sfnts glyfs strings. Bug 691221. </pre> -<p>[toolbin/localcluster/clustermaster.pl]</p> +<p>[Resource/Init/gs_ttf.ps]</p> </blockquote> -<p><strong><a name="2009-09-19T022231.474412Z"></a> -2009-09-19T02:22:31.474412Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-29T075249.284823Z"></a> +2010-03-29T07:52:49.284823Z Chris Liddell</strong></p> <blockquote> <pre> -Added the machine name to log output and check for matching md5sum in last N regression runs (to try to deal with indeterminisms). +Change the FT interface code so we always use metrics retrieved from Freetype, rather than attempting to "fabricate" metrics (which have already been handled correctly by FT).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-27T015955.922560Z"></a> +2010-03-27T01:59:55.922560Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix compilation error in pngs2html.pl (forgot to define variable). </pre> -<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/compare.pl]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-26T102856.873949Z"></a> +2010-03-26T10:28:56.873949Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A leftover from r10603 (Makefile change).</pre> +<p>[base/lib.mak]</p> </blockquote> -<p><strong><a name="2009-09-18T230741.949391Z"></a> -2009-09-18T23:07:41.949391Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-26T002016.302228Z"></a> +2010-03-26T00:20:16.302228Z Robin Watts</strong></p> <blockquote> <pre> -Remove an unncessary keyword substitution flags from the Adobe CMaps. +Updated localcluster bmpcmp html generation script. Bitmaps produced are now +zoomable. + -These files don't have an RCS/SVN version header, so the substitution -could only cause problems. In the case of the two Identity-UTF16 CMap -files which are owned by Artifex and do have version headers, I've -reduced the substitutions to just the 'Id' keyword to match the rest of -the source. </pre> -<p>[Resource/CMap/78-H Resource/CMap/GB-RKSJ-H Resource/CMap/Hojo-H Resource/CMap/CNS06-RKSJ-H Resource/CMap/Adobe-Japan1-90pv-RKSJ Resource/CMap/Adobe-CNS1-UCS2 Resource/CMap/GBK-EUC-UCS2 Resource/CMap/UniHojo-UCS2-V Resource/CMap/CNS2-H Resource/CMap/90pv-RKSJ-H Resource/CMap/Adobe-Japan1-UCS2 Resource/CMap/RKSJ-H Resource/CMap/78-V Resource/CMap/Hojo-V Resource/CMap/KSCpc-EUC-H Resource/CMap/TCVN-RKSJ-H Resource/CMap/90pv-RKSJ-V Resource/CMap/CNS2-V Resource/CMap/UCS2-ETen-B5 Resource/CMap/Hiragana Resource/CMap/GBT-EUC-H Resource/CMap/Roman Resource/CMap/RKSJ-V Resource/CMap/HKdlb-B5-H Resource/CMap/KSCpc-EUC-V Resource/CMap/Adobe-Japan1-H-Host Resource/CMap/UniHojo-UTF8-H Resource/CMap/CNS05-RKSJ-H Resource/CMap/CNS15-RKSJ-H Resource/CMap/UCS2-GBK-EUC Resource/CMap/Adobe-Korea1-0 Resource/CMap/Adobe-Korea1-1 Resource/CMap/GBT-EUC-V Resource/CMap/Adobe-Korea1-2 Resource/CMap/78-RKSJ-H Resource/CMap/HKdlb-B5-V Resource/CMap/HKgccs-B5-H Resource/CMap/83pv-RKSJ-H Resource/CMap/KSC2-RKSJ-H Resource/CMap/Adobe-CNS1-H-Mac Resource/CMap/EUC-H Resource/CMap/UniHojo-UTF32-H Resource/CMap/UniHojo-UTF8-V Resource/CMap/Adobe-CNS1-B5pc Resource/CMap/UniGB-UCS2-H Resource/CMap/90msp-RKSJ-H Resource/CMap/Adobe-GB1-GBpc-EUC Resource/CMap/Adobe-Japan1-H-CID Resource/CMap/HKm471-B5-H Resource/CMap/HKscs-B5-H Resource/CMap/GBT-RKSJ-H Resource/CMap/78-RKSJ-V Resource/CMap/ETen-B5-UCS2 Resource/CMap/HKgccs-B5-V Resource/CMap/UCS2-90ms-RKSJ Resource/CMap/GBpc-EUC-H Resource/CMap/Add-H Resource/CMap/B5pc-H Resource/CMap/Adobe-GB1-0 Resource/CMap/EUC-V Resource/CMap/Adobe-GB1-1 Resource/CMap/KSC-EUC-H Resource/CMap/UniHojo-UTF32-V Resource/CMap/Adobe-GB1-2 Resource/CMap/UniGB-UCS2-V Resource/CMap/Adobe-GB1-3 Resource/CMap/HKscs-B5-V Resource/CMap/HKm471-B5-V Resource/CMap/Adobe-GB1-4 Resource/CMap/90msp-RKSJ-V Resource/CMap/90pv-RKSJ-UCS2C Resource/CMap/Adobe-GB1-5 Resource/CMap/CNS04-RKSJ-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/GBpc-EUC-V Resource/CMap/KSCpc-EUC-UCS2C Resource/CMap/Add-V Resource/CMap/B5pc-V Resource/CMap/Ext-RKSJ-H Resource/CMap/KSC-EUC-V Resource/CMap/Hojo-EUC-H Resource/CMap/UCS2-GBpc-EUC Resource/CMap/GBT-H Resource/CMap/GBK-EUC-H Resource/CMap/UniCNS-UTF32-V Resource/CMap/UCS2-B5pc Resource/CMap/Adobe-GB1-H-Mac Resource/CMap/KSCms-UHC-UCS2 Resource/CMap/Ext-RKSJ-V Resource/CMap/Hojo-EUC-V Resource/CMap/UniGB-UTF8-H Resource/CMap/UCS2-90pv-RKSJ Resource/CMap/Adobe-Japan1-0 Resource/CMap/GBT-V Resource/CMap/Adobe-Japan1-1 Resource/CMap/GBK-EUC-V Resource/CMap/Adobe-Japan1-2 Resource/CMap/Adobe-GB1-H-Host Resource/CMap/Adobe-Japan1-3 Resource/CMap/CNS03-RKSJ-H Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Japan1-5 Resource/CMap/90ms-RKSJ-H Resource/CMap/Adobe-Japan1-6 Resource/CMap/Adobe-Korea1-KSCms-UHC Resource/CMap/UCS2-KSCpc-EUC Resource/CMap/Adobe-Japan1-PS-H Resource/CMap/GB-EUC-H Resource/CMap/H Resource/CMap/UniGB-UTF8-V Resource/CMap/B5-H Resource/CMap/Adobe-GB1-GBK-EUC Resource/CMap/Adobe-CNS1-H-CID Resource/CMap/90ms-RKSJ-V Resource/CMap/GBpc-EUC-UCS2C Resource/CMap/UniHojo-UTF16-H Resource/CMap/B5pc-UCS2 Resource/CMap/KSC-H Resource/CMap/Adobe-Japan1-PS-V Resource/CMap/GB-EUC-V Resource/CMap/B5pc-UCS2C Resource/CMap/Adobe-CNS1-ETenms-B5 Resource/CMap/B5-V Resource/CMap/Katakana Resource/CMap/HKdla-B5-H Resource/CMap/Identity-H Resource/CMap/UniHojo-UTF16-V Resource/CMap/CNS02-RKSJ-H Resource/CMap/GBKp-EUC-H Resource/CMap/KSC-V Resource/CMap/GBK2K-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/HKdla-B5-V Resource/CMap/UniGB-UTF32-H Resource/CMap/Adobe-GB1-UCS2 Resource/CMap/Identity-V Resource/CMap/UniCNS-UCS2-H Resource/CMap/GBKp-EUC-V Resource/CMap/GBK2K-V Resource/CMap/Adobe-GB1-H-CID Resource/CMap/UniCNS-UTF16-V Resource/CMap/UniGB-UTF32-V Resource/CMap/Adobe-CNS1-0 Resource/CMap/Adobe-CNS1-1 Resource/CMap/Adobe-CNS1-2 Resource/CMap/Adobe-CNS1-H-Host Resource/CMap/Adobe-CNS1-3 Resource/CMap/UniCNS-UCS2-V Resource/CMap/GB-H Resource/CMap/Adobe-CNS1-4 Resource/CMap/Adobe-CNS1-5 Resource/CMap/CNS01-RKSJ-H Resource/CMap/Adobe-Japan2-0 Resource/CMap/KSCms-UHC-H Resource/CMap/Add-RKSJ-H Resource/CMap/GB-V Resource/CMap/KSCms-UHC-HW-H Resource/CMap/HKm314-B5-H Resource/CMap/KSCms-UHC-V Resource/CMap/Add-RKSJ-V Resource/CMap/UniCNS-UTF8-H Resource/CMap/KSCms-UHC-HW-V Resource/CMap/Adobe-Korea1-H-Mac Resource/CMap/HKm314-B5-V Resource/CMap/90pv-RKSJ-UCS2 Resource/CMap/Hankaku Resource/CMap/ETenms-B5-H Resource/CMap/ETen-B5-H Resource/CMap/UniCNS-UTF8-V Resource/CMap/KSCpc-EUC-UCS2 Resource/CMap/CNS1-H Resource/CMap/NWP-H Resource/CMap/Hojo-RKSJ-H Resource/CMap/UniGB-UTF16-H Resource/CMap/78-EUC-H Resource/CMap/ETenms-B5-V Resource/CMap/ETen-B5-V Resource/CMap/Adobe-Korea1-UCS2 Resource/CMap/Adobe-Korea1-KSCpc-EUC Resource/CMap/CNS1-V Resource/CMap/NWP-V Resource/CMap/90ms-RKSJ-UCS2 Resource/CMap/UniGB-UTF16-V Resource/CMap/78-EUC-V Resource/CMap/KSC-RKSJ-H Resource/CMap/Adobe-Japan1-90ms-RKSJ Resource/CMap/CNS-EUC-H Resource/CMap/ETHK-B5-H Resource/CMap/Ext-H Resource/CMap/CNS07-RKSJ-H Resource/CMap/KSC-Johab-H Resource/CMap/Adobe-Korea1-H-Host Resource/CMap/78ms-RKSJ-H Resource/CMap/GBTpc-EUC-H Resource/CMap/HK-RKSJ-H Resource/CMap/GBpc-EUC-UCS2 Resource/CMap/CNS-EUC-V Resource/CMap/ETHK-B5-V Resource/CMap/Ext-V Resource/CMap/KSC-Johab-V Resource/CMap/Adobe-Japan1-H-Mac Resource/CMap/UCS2-KSCms-UHC Resource/CMap/78ms-RKSJ-V Resource/CMap/UniHojo-UCS2-H Resource/CMap/GBTpc-EUC-V Resource/CMap/Adobe-Korea1-H-CID]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-09-18T230107.032292Z"></a> -2009-09-18T23:01:07.032292Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-24T124759.902550Z"></a> +2010-03-24T12:47:59.902550Z Robin Watts</strong></p> <blockquote> <pre> -Remove spurious executable bits on Adobe CMap files. +Fix for bug 691115. + +In some circumstances, the shading code can get all the way to the point of +marking the screen/page without ever clipping to the relavent region. This +produces cases where we "draw outside the lines". Often this is masked by +the fact that we only ever draw as far out of the lines as would be covered +by an area of constant color (typically a small area). + +The fix for this is to spot the unclipped case when we come to render +trapezoids to the screen, and to clip the trapezoid into (at most) 3 +smaller trapezoids. + +This causes 104 non-pdfwrite differences, and 24 pdfwrite ones. Examination +using localcuster bmpcmp shows them all to be acceptable. + </pre> -<p>[Resource/CMap/Adobe-GB1-4 Resource/CMap/Adobe-Japan1-4 Resource/CMap/Adobe-Korea1-2 Resource/CMap/Adobe-CNS1-3]</p> +<p>[base/gxshade6.c]</p> </blockquote> -<p><strong><a name="2009-09-17T162500.274251Z"></a> -2009-09-17T16:25:00.274251Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-24T120547.469905Z"></a> +2010-03-24T12:05:47.469905Z Robin Watts</strong></p> <blockquote> <pre> -Fixes 690719 and many other unreported issues associated with the -wtsimdi device. The default strip_copy_rop musn't be used, the clist -code will constant fold raster operations before determining if a -contone buffer is needed to render the band, the same optimizations -must be used when the clist is being played back and rendered, the -default strip_copy_rop does not (by design) have these optimizations. -I don't know the intent of the cryptic comment above the section where -the procedure override occurred. +Tweak to bmpcmp: Darken the third image (the diff image) to make changes +stand out better. -There are too many problems with the wtsimdi device to enumerate code -test file differences of the change, preliminary visual testing of the -wtsimdi device output is needed first. </pre> -<p>[base/gdevwts.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-17T023644.475667Z"></a> -2009-09-17T02:36:44.475667Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-24T001027.875727Z"></a> +2010-03-24T00:10:27.875727Z Robin Watts</strong></p> <blockquote> <pre> -Added a very quick and dirty hack to look for the link.icc and wts_plane_[0..3] files in /usr/local/lib/ghostscript if they cannot be found in the current directory. +Correct DOS line endings in bmpcmp.c. + +Fix bug whereby areas with no changes in were still be saved out. </pre> -<p>[base/gdevwts.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-14T200732.166692Z"></a> -2009-09-14T20:07:32.166692Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-23T191432.177681Z"></a> +2010-03-23T19:14:32.177681Z Robin Watts</strong></p> <blockquote> <pre> -Fix a botched pointer comparison which fails if the pointer difference -overflows the signed integer range. Patch from Mark Davies with -changes. Bug 689711. +Correct problem with bmpcmp whereby certain sizes of changed areas within +images could cause overlapping output bitmaps. This causes problems with +the output of bitmaps now due to the new 'in-place' generation of the diff +bitmap. Fixed by choosing sizes more smartly. </pre> -<p>[base/gscencs.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-12T170010.219852Z"></a> -2009-09-12T17:00:10.219852Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-23T090216.120692Z"></a> +2010-03-23T09:02:16.120692Z Till Kamppeter</strong></p> <blockquote> <pre> -Fixed typo in comment that was generating groff warning. - +CUPS Raster output device: Error out correctly with the return_error() macro and not with "gs_exit(); exit()", force banding mode as there are files which do not render otherwise (Bug #691170). </pre> -<p>[psi/zfunc.c]</p> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-09-10T174110.637172Z"></a> -2009-09-10T17:41:10.637172Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-23T000659.853037Z"></a> +2010-03-23T00:06:59.853037Z Till Kamppeter</strong></p> <blockquote> <pre> -Add gc enumeration to the two string members of the svgwrite device -structure. Fixes a segfault with large input sets. Bug 690757. +Code clean-ups in the "cups" output device to fix the segfaults in bug #691170 and bug #691014 (but does not fix the bugs yet). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> -Note that this requires a new suffix enumerator macro, since the -two strings case wasn't previously covered.</pre> -<p>[base/gsstruct.h base/gdevsvg.c]</p> +<p><strong><a name="2010-03-22T141842.718453Z"></a> +2010-03-22T14:18:42.718453Z Chris Liddell</strong></p> +<blockquote> +<pre> +Handle CID fonts whose GDBytes != 2 - previously GDBytes was hardcoded as 2.</pre> +<p>[psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-09-10T011348.915848Z"></a> -2009-09-10T01:13:48.915848Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-22T064308.806820Z"></a> +2010-03-22T06:43:08.806820Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Call paperinit() and paperdone() when using the libpaper api calls -as apparently required by the API. However, these calls do nothing -in the current libpaper implementation (version 1.1.23). +Added the ability to specify bmpcmp options when running clusterpush.pl, e.g.: -Also, return the name given by defaultpapername() if systempapername() -does not return a result. This is an indicated path in the libpaper -documentation and example code, although again, the the 1.1.23 -implementation calls defaultpapername() from systempapername() as -the fallback. + clusterpush.pl bmpcmp -w 9 -t 10 +No validation is done on the options; bad options will result in no bmpcmp output being generated. </pre> -<p>[base/gp_upapr.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-09-09T221751.567693Z"></a> -2009-09-09T22:17:51.567693Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-21T050150.135122Z"></a> +2010-03-21T05:01:50.135122Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix for bug 690534. +Fixed maxdiffs argument in bmpcmp.c (was acting as maxpage). +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-03-21T032353.245152Z"></a> +2010-03-21T03:23:53.245152Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed a couple of compiler warnings in bmpcmp.c +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -We now handle the softmask BC entry properly. This background color is to be composited with the drawings into the softmask. We now properly initialize the softmask buffer to have this compositing occur. If we are outside the softmask bounding box then the luminance of the background color is used as the softmask value. This fixes several rendering issues. +<p><strong><a name="2010-03-19T183004.447497Z"></a> +2010-03-19T18:30:04.447497Z Ralph Giles</strong></p> +<blockquote> +<pre> +Compute AES cypher tables at compile time instead of run time. -DIFFERENCES EXPECTED: +The aes implementation needs some tables of data to perform its +calculations. In a thread-safety review, Henry spotted that the +tables were global variables with no mutex isolation. -Bug690027.pdf PROGRESSION -Bug688807.pdf PROGRESSION -Bug690170a.pdf PROGRESSION -Bug690170.pdf PROGRESSION +I believe this is actually ok. There is a static flag marking whether +the tables are initialized. If they are not, a call to aes_setkey_* +will invoke aes_gen_tables to initialize them, then set the flag. +However, aes_gen_tables operates deterministically, always writing +the same data sequence to the globals. So while there is a race +where two threads could be executing aes_gen_tables at the same time, +or while another thread is accessing the same tables, there is no +read-modify-write step which could create inconsistent data. -Bug690022.pdf I would like a second opion on this one. It looks like there may be a minor regression. I am doing the commit anyway due to the large number of progressions with this fix. +Nevertheless, the tables are small relative to our application, and +there is a compile time option XYSSL_AES_ROM_TABLES which generates +the data at compile time and stores it static const. This commit +turns on that option, allowing the compiler to put the data in a +non-writable segment and making the careful thread safety analysis +above unnecessary. -</pre> -<p>[base/gdevp14.c base/gxblend1.c]</p> +There should be no difference in behaviour, and Henry has verified +that the two code paths result in identical table data.</pre> +<p>[base/aes.c]</p> </blockquote> -<p><strong><a name="2009-09-09T062102.373936Z"></a> -2009-09-09T06:21:02.373936Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-18T113938.599047Z"></a> +2010-03-18T11:39:38.599047Z Ken Sharp</strong></p> <blockquote> <pre> -A fix for the rendering issue that occurred with bug 689581 after fixing the rangecheck error. This should fix 689581. +Update the list of face substitutions in .substitutefaces to include all the fonts we +define in Fontmap.GS (if not already defined). -DETAILS: +Bug #691180, if we have a font defined in the Fontmap then we don't use the additional +information in a PDF file FontDescriptor. Instead we stick with whatever font the PS +substitution comes up with (if the font is not present). If a member of the family is +not defined we do use the FontDescriptor. This can lead to different choices for the +substitute font. By defining the font in the substitutefaces array we can attempt to get +a consistent result. -The rendering problem is evident when rendering the simplified file in 689581. When going to a sep device, the softmask gray scale image is encoded using the compressed encoding function defined for the pdf14_CMYKspot_procs pdf14 device. The decoder for the CMYKspot device is set to cmykspot_pdf14_procs. Unfortunately, when the color procs are set for the softmask decode (based upon the softmask CMYK color space) the decoder was set to cmyk_pdf14_procs which resulted in an improper decode of the color values for the softmask. The fix is to detect the presence of the separation case and make sure that the decoding procs are assigned appropriately. +This *will* lead to differences in the regression suite as we are now substituting +different fonts for some missing faces. Apparently only with the test file for this +bug though.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> +</blockquote> -DIFFERENCES EXPECTED: +<p><strong><a name="2010-03-18T005710.529905Z"></a> +2010-03-18T00:57:10.529905Z Robin Watts</strong></p> +<blockquote> +<pre> +Merge gs_2_colors branch down to trunk. -None in the normal regression tests. There could be some differences with sep devices when processing softmasks.</pre> -<p>[base/gdevp14.c]</p> +This adds a new set of color state information to the graphics/imager +state, along with a new non-standard postscript operator .swapcolors to +toggle between them. + +The Postscript interpreter is updated to use one set of color information +for stroking, and the other for all non-stroking colors. + +This produces differences in just 2 pdfwrite tests, due to rounding errors +due to changes in the way pdf with non-zero rendering modes is emitted now. + +</pre> +<p>[psi/zcolor.c base/gsdps1.c base/gdevpdft.c base/gxccache.c /trunk/gs base/gspaint.c base/gscsepr.c base/gsimage.c base/gxchar.c base/gsptype1.c base/gxcmap.c psi/interp.c base/gzstate.h psi/dmmain.c base/gscspace.c base/gscolor1.c base/gscdevn.c base/gscolor2.c base/gscie.c base/gxistate.h psi/psromfs.mak psi/dxmain.c base/gxcspace.h base/gxhldevc.c psi/dxmainc.c psi/dmmain.r Resource/Init/pdf_draw.ps psi/zht1.c base/gscolor.c psi/zicc.c psi/zchar1.c base/gxpaint.c base/gsstate.c Resource/Init/pdf_ops.ps psi/zcie.c base/gstext.c Resource/Init/pdf_font.ps base/gstrans.c psi/zht.c base/gsequivc.c base/gxdcolor.h psi/igstate.h base/gspcolor.c]</p> </blockquote> -<p><strong><a name="2009-09-09T012559.649343Z"></a> -2009-09-09T01:25:59.649343Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-17T214113.190501Z"></a> +2010-03-17T21:41:13.190501Z Robin Watts</strong></p> <blockquote> <pre> -Skip everything before 'begincodespacerange' in regulat CMap stream to avoid -PostScript errors in CMap headers. PDF interpreter doesn't need any data from -the header. See rev. 9240 for the bug 689842 that did the same for ToUnicode -CMap files. Bug 690737, customer 580. +bmpcmp tweak to allow maximum/minimum bitmap sizes to be set from the +command line. </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-08T225410.281044Z"></a> -2009-09-08T22:54:10.281044Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-17T201225.972208Z"></a> +2010-03-17T20:12:25.972208Z Robin Watts</strong></p> <blockquote> <pre> -Change to avoid having a rangecheck error occur when the softmask group colorspace is a pattern. This keeps us from having the error occur with bug 689581 however there is still a rendering issue when we go to a sep device. I have that narrowed down and hopefully will have fixed soon. +MSVC whinges when asked to shift by 32 or more bits at once. Simple tweaks +to fool the compiler and eliminate warnings. -DIFFERENCES EXPECTED +No expected differences. -None on the regression files.</pre> -<p>[base/gstrans.c]</p> +</pre> +<p>[base/gdevm64.c base/gdevm56.c base/gdevm48.c base/gdevm40.c base/gxclrast.c]</p> </blockquote> -<p><strong><a name="2009-09-08T175820.444720Z"></a> -2009-09-08T17:58:20.444720Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-17T185412.480084Z"></a> +2010-03-17T18:54:12.480084Z Robin Watts</strong></p> <blockquote> <pre> -Removal of line that had the custom pdf14 prototype device used as the initial device for the CMYKSpot pdf14 device. +Tweak to gxcmap.c to remove warnings about shifting by more than 32 bits on +MSVC builds. -DIFERENCES EXPECTED: +No expected differences. -None.</pre> -<p>[base/gdevp14.c]</p> +</pre> +<p>[base/gxcmap.c]</p> </blockquote> -<p><strong><a name="2009-09-07T202511.850252Z"></a> -2009-09-07T20:25:11.850252Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-17T173027.541399Z"></a> +2010-03-17T17:30:27.541399Z Robin Watts</strong></p> <blockquote> <pre> -Restore -dynamiclib to the MacOS framework build line. +Revised bmpcmp. + * Redone command line handling + * Ability to read PAMs (so we can read CMYK stuff now) + * "Fuzzy" behaviour (both compatible and exhaustive modes) + * New behaviour using map bitmap to avoid rediffing multiple times. + * CMYK -> RGB conversion as last step before PNG/BMP writing. -I though the LDFLAGS_SO in unix-dll.mak would provide this in the -previous commit, but they do not. +Still to do: + * Output number of fuzzy matches etc to the meta file. -Also rationalize the use use of SOPREF in macos-fw.mak. </pre> -<p>[base/macos-fw.mak]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-07T201046.938357Z"></a> -2009-09-07T20:10:46.938357Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T191855.825828Z"></a> +2010-03-15T19:18:55.825828Z Lars Uebernickel</strong></p> <blockquote> <pre> -Move the value passed to -install_name for the framework build -into unix-dll.mak to avoid also passing it when trying to link -the client where it conflicts. +Change default TIFF strip size to one megabyte. + +Many fax readers have problems reading TIFF images which are chunked into +strips, and one megabyte is larger than the biggest expected fax page. Hence, +ghostscript's default TIFF output will be accepted by those readers. + + </pre> -<p>[base/macos-fw.mak base/unix-dll.mak]</p> +<p>[base/gdevtifs.h]</p> </blockquote> -<p><strong><a name="2009-09-07T195120.071990Z"></a> -2009-09-07T19:51:20.071990Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T190043.589302Z"></a> +2010-03-15T19:00:43.589302Z Lars Uebernickel</strong></p> <blockquote> <pre> -Also update header source directories in the framework build. +Write TIFF directories before the page data. This might help bug #691172 and +probably some other non-conforming TIFF readers. + </pre> -<p>[base/macos-fw.mak]</p> +<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c]</p> </blockquote> -<p><strong><a name="2009-09-07T191321.625118Z"></a> -2009-09-07T19:13:21.625118Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T152155.436137Z"></a> +2010-03-15T15:21:55.436137Z Alex Cherepanov</strong></p> <blockquote> <pre> -Update the path to dxmain.c in the MacOS framework build. - -This was omitted during the source tree split, when dxmain.c moved -into psi/. Bug 690394. +Don't throw an error when a filter returns 0 bytes and a normal return code. +This often happens with eexecDecode filter, which has to return the control +to the interpreter after every space character since Adobe no longer adds +zeros at the end of the encoded block. Document new return code 2 used by +eexecDecode filter. Bug 690909. </pre> -<p>[base/macos-fw.mak]</p> +<p>[base/sstring.c base/seexec.c psi/iscan.c]</p> </blockquote> -<p><strong><a name="2009-09-03T180006.616356Z"></a> -2009-09-03T18:00:06.616356Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-03-15T145615.278449Z"></a> +2010-03-15T14:56:15.278449Z Lars Uebernickel</strong></p> <blockquote> <pre> -Initial checkin of the local cluster scripts. +Partial fix for bug #691172: The tiff resolution tags are floating point values +and need to be passed as such to TIFFSetField. + </pre> -<p>[toolbin/localcluster/setupcluster toolbin/localcluster/splitjobs.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/readme toolbin/localcluster/run.pl toolbin/localcluster toolbin/localcluster/compare.pl]</p> +<p>[base/gdevtifs.c]</p> </blockquote> -<p><strong><a name="2009-09-02T161807.841097Z"></a> -2009-09-02T16:18:07.841097Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-15T074438.447170Z"></a> +2010-03-15T07:44:38.447170Z Lars Uebernickel</strong></p> <blockquote> <pre> -The static initialization for memory structure types was not complete, -in some cases, failing to initialize the procedure data. I suspect -this is harmless but didn't take the time to track down each use of -the faulty macros. +Applied Tim Waugh's patch from bug #691171: A NULL check for the argument of +TIFFCleanup was missing, which caused a segfault when opening the output device +failed for any of the devices in gdevtfax.c. + </pre> -<p>[base/gsstruct.h]</p> +<p>[base/gdevtfax.c]</p> </blockquote> -<p><strong><a name="2009-09-01T185555.532790Z"></a> -2009-09-01T18:55:55.532790Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-15T063434.317078Z"></a> +2010-03-15T06:34:34.317078Z regression</strong></p> <blockquote> <pre> -Set a mime-type property on the new pdf documentation file so svn -doesn't attempt to generate textual diffs for it. +Added support for mupdf testing in local regression suite. </pre> -<p>[doc/Color_Architecture.pdf]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-09-01T181002.037482Z"></a> -2009-09-01T18:10:02.037482Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-15T063125.268888Z"></a> +2010-03-15T06:31:25.268888Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Changes to color architecture document based upon comments from Miles.</pre> -<p>[doc/Color_Architecture.tex doc/figures/Overview.eps doc/Color_Architecture.pdf]</p> +Changes to the local cluster code: + +added bmpcmp documentation to clusterpush.txt +new file, runNightly.pl, for nightly regression testing +readlog.pl, build.pl, and run.pl changes for nightly regression use +</pre> +<p>[toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> </blockquote> -<p><strong><a name="2009-09-01T165940.570903Z"></a> -2009-09-01T16:59:40.570903Z Michael Vrhel</strong></p> +<p><strong><a name="2010-03-11T173630.596061Z"></a> +2010-03-11T17:36:30.596061Z Chris Liddell</strong></p> <blockquote> <pre> -Addition of color architecture document (PDF) and its latex source and eps figures to document folder.</pre> -<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/figures doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps doc/figures/Ghost.eps]</p> +Apply a change submitted to FT and accepted - see FT bug #27442</pre> +<p>[freetype/src/raster/ftraster.c]</p> </blockquote> -<p><strong><a name="2009-09-01T140938.072790Z"></a> -2009-09-01T14:09:38.072790Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-11T050122.057384Z"></a> +2010-03-11T05:01:22.057384Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix (pdfwrite) : quiet a compiler warning -Details -Cast a long int to an unsigned int to prevent a compiler warning on a debug print -operation. +Run svn update on the ghostscript source even for clusterpush runs to make sure that bmpcmp.c is current. </pre> -<p>[base/gdevpdtc.c]</p> +<p>[toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-09-01T140226.307800Z"></a> -2009-09-01T14:02:26.307800Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-10T174109.765460Z"></a> +2010-03-10T17:41:09.765460Z regression</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Remove some unused variables -Details -Flagged by the gcc compiler as unused, removed two variables. +Minor cleanup of the local cluster code. </pre> -<p>[base/gdevpdfd.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-09-01T133115.405830Z"></a> -2009-09-01T13:31:15.405830Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-10T164226.014885Z"></a> +2010-03-10T16:42:26.014885Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Minor compiler warning - -Details -remove_table was not declared static, leading to a 'missing prototype' warning from the -compiler. +Fix bug in bmpcmp.c: When reading images from multi-image sets, we stop +the comparison process as soon as we fail to find any differences in the +current image. With this fix we correctly keep searching to the end. </pre> -<p>[base/gdevpsft.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-09-01T132934.736595Z"></a> -2009-09-01T13:29:34.736595Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-10T150557.116970Z"></a> +2010-03-10T15:05:57.116970Z Chris Liddell</strong></p> <blockquote> <pre> -Fix : Minor compiler warnings +Change how we derive the glyph metrics from FT: we now interpret the glyph description only once, scaled and hinted, and then calculate the metrics from that. It's more accurate, accounts for hints that extend the glyph outline, and should be a worthwhile speed improvement.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T125150.027959Z"></a> +2010-03-10T12:51:50.027959Z Robin Watts</strong></p> +<blockquote> +<pre> +Change the condition under which we update the overprint device when restoring +a graphics state to be more relaxed; rather than updating if the overprint +state has changed we now update if it was enabled, or it if it is enabled. + +The logic behind this is that it will still fire in all the same conditions +it did before, but will also fire when we restore from a state that had it +enabled to another state that had it enabled. This should be entirely +harmless, but will allow the state to be updated in the case where a +colorspace has been updated. -Details -subst_CID_on_WMode_enum_ptrs was not declared static leading to (benign) prototype -warnings. Also subst_CID_on_WMode_finalize was declared as returning an int, but -finalize procedures must be void. +This causes 2 differences in the tests, that only show up in psd files. +All indications seem to be that these files really are identical. But if +they aren't, I believe they should be progressions, rather than regressions. + +This moves the trunk more into line with the output of the gs_2_colors branch. </pre> -<p>[base/gsfcid.c]</p> +<p>[base/gsstate.c]</p> </blockquote> -<p><strong><a name="2009-09-01T074238.080497Z"></a> -2009-09-01T07:42:38.080497Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-10T061323.278865Z"></a> +2010-03-10T06:13:23.278865Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Silence Coverity warning -Details -The result of sscanf was not checked to see if at least one match was found. This is -benign because the data was initialised to 0 anyway. However it allows us an opportunity -to note the invalid annotation, which we now do. +Added local modes to build.pl and run.pl in preparation for use as part of the nightly regression. </pre> -<p>[base/gdevpdfm.c]</p> +<p>[toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> </blockquote> -<p><strong><a name="2009-08-31T170013.229845Z"></a> -2009-08-31T17:00:13.229845Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-10T051959.535554Z"></a> +2010-03-10T05:19:59.535554Z Ray Johnston</strong></p> <blockquote> <pre> -Pass the full CFLAGS to CCAUX in the autoconf build, instead of just -GCFLAGS. This propagates target-defining options which are typically -set in XCFLAGS to build utilities so that, for example, -m32 results -in the correct sizes in arch.h. +Fix for SEGV with the psdcmyk device on 258-01.ps. This was a fundamental memory +problem with any device that used the compressed_color_list functions in gdevdevn.c +since a 'restore' could free structures which were still needed by the device. +Use stable_memory to avoid this. Bug 691150. +</pre> +<p>[base/gdevdevn.c]</p> +</blockquote> -Note that this may complicate cross-compiles. In theory CCAUX has -separate, simpler flags because of this, but there are also several -examples in the documentation of using XCFLAGS this way, so this -seems to the the safer approach at this time. +<p><strong><a name="2010-03-09T172707.400171Z"></a> +2010-03-09T17:27:07.400171Z Robin Watts</strong></p> +<blockquote> +<pre> +Another tweak to the local cluster bmpcmp html page generation. I managed to +miss renaming the images in the second column. -The dynamic flags for the separate x11 devices module are also -passed through XCFLAGS but they do not harm other than cluttering -the command line.</pre> -<p>[base/Makefile.in]</p> +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-28T172250.739244Z"></a> -2009-08-28T17:22:50.739244Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-09T172239.470336Z"></a> +2010-03-09T17:22:39.470336Z Robin Watts</strong></p> <blockquote> <pre> -New attributes required to fix 690736, the actual fix will be in the -next commit to PCL XL. We can't update the trees simultaneously. +Another tweak to the localcluster bmpcmp html page generation javascript; +quote the string to avoid it being converted to an int. + </pre> -<p>[base/gdevpxat.h]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-26T200331.773651Z"></a> -2009-08-26T20:03:31.773651Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-09T172235.452303Z"></a> +2010-03-09T17:22:35.452303Z Till Kamppeter</strong></p> <blockquote> <pre> -Work around a bug in PDF generated by "PdfWrapper v1.00" that sometimes -writes "." instead of "0." in content stream. Bug 690730. - +Let pdftoraster not exit before the Ghostscript sub-process finishes. Thanks to Tim Waugh from Red Hat for the patch. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[cups/pdftoraster.c]</p> </blockquote> -<p><strong><a name="2009-08-25T081802.437396Z"></a> -2009-08-25T08:18:02.437396Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-09T171522.155871Z"></a> +2010-03-09T17:15:22.155871Z Robin Watts</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Write ToUnicode CMaps with 2-byte code space ranges and keys +Fix pngs2html.pl to number images according to both directory and image +number (needed now as images restart from 0 within each directory). This +really should fix the bmpcmp html output. -Details -Bug #690722 "Problem with the font embedding logic" +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> -The existing ToUnicode CMap code wrote a ToUnicode CMap the same as a regular CMap, so -the code space ranges and keys could be arbitrary lengths depending on the number -of codes and their values. This appeared to be correct per the PDF Reference and the -CMap specification. +<p><strong><a name="2010-03-09T170842.132281Z"></a> +2010-03-09T17:08:42.132281Z Robin Watts</strong></p> +<blockquote> +<pre> +More fixes for the bmpcmp html page generations javascript. -However, buried in technical note 5411, the 'ToUnicode Mapping File Tutorial' is a -single reference: +Change code to pass numbers to swap() rather than strings as javascripts +conversion of strings to ints is... unhelpful. -"the following “codespacerange” definition, without exception, shall always be -used: 1 begincodespacerange <0000> <FFFF>endcodespacerange" +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> -This means that ToUnicode CMaps must be treated specially to ensure that they always -have 2 byte code space ranges and keys. +<p><strong><a name="2010-03-09T165048.278966Z"></a> +2010-03-09T16:50:48.278966Z Robin Watts</strong></p> +<blockquote> +<pre> +Misplaced bracket in the javascript meant that only the first images would +swap on mouseover properly. Fixed here. -Modified the single allocation of ToUnicode CMaps so that it always specifies a 2 -byte range. </pre> -<p>[base/gdevpdte.c]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-21T194048.371802Z"></a> -2009-08-21T19:40:48.371802Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-09T163921.328229Z"></a> +2010-03-09T16:39:21.328229Z Robin Watts</strong></p> <blockquote> <pre> -Add check for NOTRANSPARENCY in patternusestransparency since this is also used -by resolvepattern in pdf_draw.ps. If this flag is set, but the pdf14 device is -not active, "unregistered" error occurs. Bug 690727 for customer 531. +Fix javascript problems in bmpcmp output page generation. What sort of +stupid broken language depends on whitespace? </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T163506.527087Z"></a> +2010-03-09T16:35:06.527087Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixes on CUPS Raster output device: +- Fixed memory reallocation on bitmap size change. Reallocation is not only + needed when dimendions and margins change, but also when the color depth + changes. Fixes bugs #691029 and #691108. +- Fixed arrayoption() macro in cups_put_params() function. Array values did + not get actually set in cups.header data structure. Bug only showed via + a compiler warning. +- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero. +</pre> +<p>[cups/gdevcups.c]</p> </blockquote> -<p><strong><a name="2009-08-21T051949.329915Z"></a> -2009-08-21T05:19:49.329915Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-09T162931.666786Z"></a> +2010-03-09T16:29:31.666786Z Robin Watts</strong></p> <blockquote> <pre> -Ghostscript caches pattern instances in the pattern dictionary. This patch -doesn't cache anything in the null pattern dictionary because it's read-only. -Bug 690725. +Attempted fix for bmpcmp output javascript problems with the coordinate +tracking. </pre> -<p>[Resource/Init/pdf_ops.ps]</p> +<p>[toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-19T162208.241617Z"></a> -2009-08-19T16:22:08.241617Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-09T161159.669918Z"></a> +2010-03-09T16:11:59.669918Z Robin Watts</strong></p> <blockquote> <pre> -Process embedded files as a portable collection only when /Collection -attribute is defined in the document root. Bug 690709. +Fix typos in the javascript code for pngs2html.pl and bmps2html.pl; this should +get at least some of it working, but the coord stuff still baffles me. -DETAILS: -Collection atribute is marked in the spec as optional because a PDF file -need not to be a portable collection but every collection has /Collection -attribute. +Also fix a typo that was causing the wrong "third image" to appear. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-19T060451.856837Z"></a> -2009-08-19T06:04:51.856837Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-09T014606.865448Z"></a> +2010-03-09T01:46:06.865448Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Simplify / reduce the ht rendering logic to remove the special cases where -the cache had 1 level per tile (which should now be the usual case) and the -case where there is only one tile (which means that the tile is 1Mb). -The special case handling of these cases does not result in any performance -improvement with the modern (1Mb) cache size and thus this is a code -simplification. +Fixed longstanding bug fuzzy.c that caused pbm files to be misread. </pre> -<p>[base/gxht.c]</p> +<p>[toolbin/tests/fuzzy.c]</p> </blockquote> -<p><strong><a name="2009-08-19T060039.095541Z"></a> -2009-08-19T06:00:39.095541Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-08T215705.576067Z"></a> +2010-03-08T21:57:05.576067Z Hin-Tak Leung</strong></p> <blockquote> <pre> -Adjust ht cache allocation to a size that will actually be used by the -cache logic. The changes allow for replicating tiles along the width axis -up to a ulong multiple that optimizes tile blitting in the mem device -logic. Addresses bug 690693 by reducing the memory used from > 1Gb to -< 200 Mb. As noted in the comments to that bug, there still may be some -optimizations remaining. +updating documentation to mention how to run mkcidfm.ps manually; bug 688437</pre> +<p>[doc/Use.htm]</p> +</blockquote> -DETAILS: -Reduces the allocation from over 1Gb for Special Test C1 of 09-40.PS to less -than 200Mb by reducing the ht cache size to what will actually be used. The -code in gxht.c initializes the cache limits the 'rep_count' to 8*sizeof(ulong) -so any more than that per tile (1+width*height) will not be used. +<p><strong><a name="2010-03-08T215437.005008Z"></a> +2010-03-08T21:54:37.005008Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +convert font file name to lowser case before matching; make it possible for upper case ARIALUNI.TTF to match; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> -Debug code in gxht.c (gx_ht_init_cache) to check: +<p><strong><a name="2010-03-08T214956.216990Z"></a> +2010-03-08T21:49:56.216990Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating windows CJK font substitution list for more commonly found MS CJK fonts; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> - if ( rep_count != (8 * sizeof(ulong)) ) - dprintf("non_optimal ht cache size\n"); +<p><strong><a name="2010-03-08T214715.240330Z"></a> +2010-03-08T21:47:15.240330Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert to r8185 version of the korean example - it was removed in r8190 and a corrupted version r9325 was subsequently checked in; found during fixing bug 688437 (incompete font substitution list)</pre> +<p>[examples/cjk/gscjk_ak.ps]</p> +</blockquote> -never detected a different value, so the ht cache size should be optimal -with this patch -- neither too much nor too little allowed for the most -efficient width repetition. This was tested at a variety of resolutions from -72 to 1600 with several files that defined screens and also checked with -'stocht.ps' that the maximum ht cache size was chosen to fit. Also the cluster -regression shows no differences (I'd have been surprised if it did). +<p><strong><a name="2010-03-08T162053.842289Z"></a> +2010-03-08T16:20:53.842289Z Ken Sharp</strong></p> +<blockquote> +<pre> +Ongoing bug fixes for #690448. +The FreeType code will synthesize vertical metrics for TrueType (Type 42) fonts which do +not contain a vmtx table. This includes the vertical advance, which will be returned +to the FAPI code, and used even if there were originally no vertical metrics and the +font should not have any vertical advance. -Note that the above test is _not_ part of the patch since it was only used for -evaluation. +Modified the metrics override callback, called by FT, so that if the font is a TT font, +and this is a vertical metrics call, we set the advance to 0. This prevents the +synthesized metrics from incorrectly advancing the glyph vertically. -Also see rev 8526. +This may eventually be a problem if we find a CIDFont with Type42 outlines which relies +on the vmtx table in the font rather than the Metrics2 or CDevProc overrides to position +the glyphs. Since this facility was only added in CPSI 3011 it is unlikely we will ever +encounter such a font. THis has not been done at present, as the information (WMode=1) +is not currently available to the code called from FreeType to override the metrics, +and would need to be added. +Also, fixed an issue where the 'advance_v' member of the metrics structure was left +uninitialised if a horizontal override took place. This could cause glyphs to be +mis-positioned vertically. </pre> -<p>[base/gsht.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-08-18T204117.764580Z"></a> -2009-08-18T20:41:17.764580Z Ray Johnston</strong></p> +<p><strong><a name="2010-03-08T154120.817468Z"></a> +2010-03-08T15:41:20.817468Z Ken Sharp</strong></p> <blockquote> <pre> -Add 'used' and 'max_used' information to the -Za output. This is handy for -investigating memory usage and only affects a debug build when -Za (or -ZA) -is used. +revert revision 10871, we will tackle this problem in the FAPI FreeType interface code +instead of in FreeType itself. + </pre> -<p>[base/gsmalloc.c]</p> +<p>[psi/fapi_ft.c]</p> </blockquote> -<p><strong><a name="2009-08-17T221301.172961Z"></a> -2009-08-17T22:13:01.172961Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-08T152257.356559Z"></a> +2010-03-08T15:22:57.356559Z Ken Sharp</strong></p> <blockquote> <pre> -Improve diagnostics for detecting problems with virtual memory spaces -(see bug #688333). The vm space id was not initilialized for all -allocations. This change reduce the list from hundreds down to tens of -entries for a very simple postscript job. +revert revision 10871, we will address the matter of FreeType creating synthetic vertical +metrics when none exist by overriding the synthetic metrics in the FAPI FreeType interface +code instead. </pre> -<p>[base/gsalloc.c]</p> +<p>[freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> +</blockquote> + +<p><strong><a name="2010-03-08T092849.484133Z"></a> +2010-03-08T09:28:49.484133Z Chris Liddell</strong></p> +<blockquote> +<pre> +Latest improvements to the FAPI/FT bridge code. This code resolves the issues with font matrices which do more than just scale. It is not yet "finished", but is too big a step forward to risk losing.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> </blockquote> -<p><strong><a name="2009-08-15T030203.213076Z"></a> -2009-08-15T03:02:03.213076Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T210134.974121Z"></a> +2010-03-05T21:01:34.974121Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix rendering artifacts in interpolated images caused by intermediate bit -buffer not reset when data get flushed to output buffer. Bug 689566. + +Added bmpcmp option to clusterpush.pl. </pre> -<p>[base/gsbitops.h]</p> +<p>[toolbin/localcluster/clusterpush.pl]</p> </blockquote> -<p><strong><a name="2009-08-14T041258.692182Z"></a> -2009-08-14T04:12:58.692182Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T192534.812546Z"></a> +2010-03-05T19:25:34.812546Z regression</strong></p> <blockquote> <pre> -Remove code that tries to pause at the end of the .PFB binary data in an -attempt to keep from reading beyond the end of the encrypted data, sometimes -misidentifying the end of the actual data, and stopping early. Bug 465936. -DETAILS: -Since the eexec operator specifies that one never reads more than 256 bytes -ahead, and since the pad bytes are given in the text portion of a .PFB file, -in hexadecimal, there is no need to go to extra lengths to avoid reading -(too far) past the end of the eexec data. Thanks to Paul Vojta and Ray -Johnston for the path. +Export results of local cluster bmpcmp command to web. </pre> -<p>[base/seexec.c base/sfilter.h psi/zmisc1.c]</p> +<p>[toolbin/localcluster/clustermaster.pl]</p> </blockquote> -<p><strong><a name="2009-08-14T003311.113850Z"></a> -2009-08-14T00:33:11.113850Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T165000.654216Z"></a> +2010-03-05T16:50:00.654216Z regression</strong></p> <blockquote> <pre> -Change literal /FontBBox array into executable one for better compatibility -with legacy software. QuarkXPress 3.31, idraw, and some versions of dvips -assume that /FontBBox is executable. Bugs 690683, 687120, customer 460. + +Update the local cluster code to use the new pbm->png mode of bmpcmp. </pre> -<p>[Resource/Font/URWPalladioL-BoldItal Resource/Font/NimbusSanL-Bold Resource/Font/NimbusRomNo9L-Medi Resource/Font/URWChanceryL-MediItal Resource/Font/CenturySchL-Roma Resource/Font/NimbusMonL-Bold Resource/Font/NimbusSanL-BoldItal Resource/Font/NimbusRomNo9L-MediItal Resource/Font/URWGothicL-Demi Resource/Font/URWBookmanL-DemiBold Resource/Font/NimbusRomNo9L-Regu Resource/Font/URWGothicL-Book Resource/Font/NimbusSanL-ReguCond Resource/Font/URWBookmanL-Ligh Resource/Font/CenturySchL-Bold 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>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-13T190434.663531Z"></a> -2009-08-13T19:04:34.663531Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-05T164710.049203Z"></a> +2010-03-05T16:47:10.049203Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -In hex form of eexec stream, break out of reading loop and try to interpret -the accumulated data when a whitespace character is encountered. Skip whitespace -characters when the control returns to /eexecDecode filter. Bug 689577. -DETAILS: -Normally, eexec stream is followed by a large number of 0's to compensate -for read-ahead effects. The code fragment that Adobe Acrobat uses to prevent -re-distilling of the file has no trailing 0's at all. This patch tries to guess -the end of eexec stream after every whitespace character. +Minor changes due to bugzilla update. </pre> -<p>[base/sstring.c base/seexec.c base/sfilter.h base/strimpl.h]</p> +<p>[toolbin/bugsByEngineer.pl]</p> </blockquote> -<p><strong><a name="2009-08-13T145804.684321Z"></a> -2009-08-13T14:58:04.684321Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-05T132434.158774Z"></a> +2010-03-05T13:24:34.158774Z Ken Sharp</strong></p> <blockquote> <pre> -(empty)</pre> -<p>[base/gdevpdfm.c base/gdevpdfc.c base/gdevpdft.c base/gdevpdfu.c base/gdevpdfv.c base/gdevpdfg.c base/gdevpdfi.c]</p> +Fix FreeType +Ongoing fixes for bug #690448. In this case FreeType generates vertical metrics for +TrueType (in our case Type 42) fonts which lack vhea/vmtx tables, which is generally +the case. + +These metrics are useful to a 'normal' TrueType consumer which has a notion of the +orientation of the writing direction. However in PostScript we don;t know that, so we +apply both the horizontal and vertical advance widths. + +If the vertical advance should be 0 (because its not specified) then creating one causes +the glyphs to be misplaced. + +This code adds a new load flag to FreeType 'FT_LOAD_NO_SYNTHETIC_METRICS', and sets +this flag in the FAPI FreeType interface code, which prevents FreeType from manufacturing a bogus vertical advance. +</pre> +<p>[psi/fapi_ft.c freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> </blockquote> -<p><strong><a name="2009-08-13T075702.889637Z"></a> -2009-08-13T07:57:02.889637Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-05T092347.698736Z"></a> +2010-03-05T09:23:47.698736Z Lars Uebernickel</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Check pointer before dereferencing +Open tiffsep and tiffsep1 output files as seekable. -Details -Bug #690704 "Regression: seg fault with pdfwrite" +All files written by libtiff have to be seekable when writing multiple pages, +because libtiff tries to access previously written page dictionaries. This +fixes bug 691160. + +</pre> +<p>[base/gdevtsep.c]</p> +</blockquote> -The pdfwrite mask image handling assumed that if certain conditions were met then an -image related to text, and attempted to use a stored text enumerator. It did not, -however, check the stored pointer before dereferencing it. +<p><strong><a name="2010-03-05T070113.637667Z"></a> +2010-03-05T07:01:13.637667Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> -Added a check to see the pointer is non-NULL before deciding that the image refers to -text. +Fix pbm reading and png writing in bmpcmp.c. </pre> -<p>[base/gdevpdfb.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-12T070940.485630Z"></a> -2009-08-12T07:09:40.485630Z Ken Sharp</strong></p> +<p><strong><a name="2010-03-05T053224.962092Z"></a> +2010-03-05T05:32:24.962092Z regression</strong></p> <blockquote> <pre> -Fix (pdfwrite): Writing invalid numbers for linecap and linejoin parameters -Details: -bug #690691: "setlinecap" +Added pngs2html.pl to repository: take a directory full of png files +generated by the increasingly poorly named bmpcmp.c and generate web pages +(like bmps2html.pl but without the bmp->png conversion). + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-03T212107.833457Z"></a> +2010-03-03T21:21:07.833457Z Ralph Giles</strong></p> +<blockquote> +<pre> +Flip images from RGB to BGR pixel format when reading ppm files, +and flip them back to RGB when writing png files. -pdfwrite was emitting the linecap and linejoin values directly from the graphics -state to the output PDF file. However the GS graphics state also supports the -additional PCL linecap and linejoin values, which are not supported in PDF. This -resulted in PDF files with illegal values. +This adapts all the current routines to assume the BGRx storage +format used by the bmp image format for the internal representation, +as is already done with the row order.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -Modified the code to replace tringle linecaps with round linecaps, triangle line -joins with miter joins and none joins with bevel joins. These are not correct but -are reasonable solutions for now. We should degenerate 'none' joins into a -sequence of discrete paths. +<p><strong><a name="2010-03-03T212104.624166Z"></a> +2010-03-03T21:21:04.624166Z Ralph Giles</strong></p> +<blockquote> +<pre> +Also save the difference image as a png when bmpcmp is compiled with HAVE_LIBPNG.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> -Also added future protection by converting unknown values of linecap into butt -line caps and unknown values of linejoin into miter line joins. In both cases -a debug warning is emitted. +<p><strong><a name="2010-03-03T203001.695369Z"></a> +2010-03-03T20:30:01.695369Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix stupid memory overwrite bug on bmp load. </pre> -<p>[base/gdevpsdu.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-11T154712.926634Z"></a> -2009-08-11T15:47:12.926634Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-03T200329.767395Z"></a> +2010-03-03T20:03:29.767395Z Robin Watts</strong></p> <blockquote> <pre> -Stop processing of embedded Type 1 font as soon as operator eexec returns. -Skip the trailer that may be truncated or corrupted. Bug 690701, customer 780. +bmpcmp.c tweaks: Add (largely untested) code to allow "plain" (ascii) ppm, +pgm, pbm files. Also fix some compile warnings on 64bit platforms. Now +compiles cleanly with -Wall. + </pre> -<p>[Resource/Init/pdf_font.ps]</p> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T190712.236947Z"></a> +2010-03-03T19:07:12.236947Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add optional support for png output to the bmpcmp utility. + +When compiled with the HAVE_LIBPNG preprocessor symbol defined, and +linking with libpng, the utility will save its output focus images +in RGB png format. Currently, only 32 bit RGBx pixel data is supported.</pre> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-11T151057.046923Z"></a> -2009-08-11T15:10:57.046923Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-02T224902.357333Z"></a> +2010-03-02T22:49:02.357333Z Robin Watts</strong></p> <blockquote> <pre> -The debugging code to dump an allocator crashed when printing -references, also add a convenience function so it can be easily called -from the debugger and a reminder in ilocate. All debugging changes, -no expected differences. +Attempt to fix the javascript in the created files. The change to use +numeric filenames padded to 5 chars had broken the javascript. This +might fix it. </pre> -<p>[base/gxalloc.h psi/ilocate.c base/gsalloc.c]</p> +<p>[toolbin/localcluster/bmps2html.pl]</p> </blockquote> -<p><strong><a name="2009-08-11T041132.968611Z"></a> -2009-08-11T04:11:32.968611Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-03-02T212636.100914Z"></a> +2010-03-02T21:26:36.100914Z regression</strong></p> <blockquote> <pre> -Reorder a logical expression in bbox device to avoid evaluation of -uninitialized part. Fix a Purify warning. + +More changes towards having a bmpcmp running on the local cluster. </pre> -<p>[base/gdevbbox.c]</p> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> </blockquote> -<p><strong><a name="2009-08-10T232924.006231Z"></a> -2009-08-10T23:29:24.006231Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-02T211259.888859Z"></a> +2010-03-02T21:12:59.888859Z Robin Watts</strong></p> <blockquote> <pre> -Adds a new memory device constructor -(gs_make_mem_device_with_copydevice) to replace gs_make_mem_device and -fixes several device reference counting problems (leaks) which -affected all the the client languages. No expected visual -differences. +Updated bmpcmp to avoid inverting pnms on reading. + +Also improve reading of non 32bpp bitmaps - still not quite right. </pre> -<p>[base/gdevdrop.c base/gxpcmap.c base/gxdevmem.h base/gdevmem.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-10T185221.508883Z"></a> -2009-08-10T18:52:21.508883Z Henry Stiles</strong></p> +<p><strong><a name="2010-03-02T001558.939654Z"></a> +2010-03-02T00:15:58.939654Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Add a new memory device constructor which uses copydevice. + +Added partial support for "clusterpush.pl bmpcmp" (which will allow +users to generate bitmap comparisons of their most recent clusterpush +job and trunk). + </pre> -<p>[base/lib.mak base/gxdevmem.h base/gdevmem.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-07T182905.729614Z"></a> -2009-08-07T18:29:05.729614Z Ralph Giles</strong></p> +<p><strong><a name="2010-03-01T174440.662743Z"></a> +2010-03-01T17:44:40.662743Z Ralph Giles</strong></p> <blockquote> <pre> -Propagate LDFLAGS to the shared library gs client link command lines -in the the autoconf build. Bug 690695.</pre> -<p>[base/unix-dll.mak]</p> +Add support to the autoconf and msvc builds to compile in a copy of +the FreeType2 library from local source. + +Previously, the FAPI bridge for freetype required that the library +be compiled externally and include and link flags passed through +the FT_CFLAGS and FT_LIBS makefile variables. We now include a copy +of the freetype source in the tree, to make it easier to find a +compatible version of the source and to simplify building for +platforms that don't provide a system freetype. + +Now, to enable both freetype and the FAPI bridge, pass --enable-freetype +to the configure script. This will set FT_BRIDGE=1 and the other required +variables. The configure script will prefer local source in gs/freetype2 +to the copy in gs/freetype to simplify testing against upstream. + +To enable freetype in the msvc build, pass FT_BRIDGE=1 on the nmake command +line. + +Note that the fallback is now FT_BRIDGE=0, not FT_BRIDGE undefined; this +will require changes in any custom top-level makefiles. +</pre> +<p>[base/winlib.mak doc/Make.htm base/gs.mak base/Makefile.in psi/int.mak base/configure.ac psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-01T153456.724940Z"></a> +2010-03-01T15:34:56.724940Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #691154 and the regressions associated with revision 10823. +Unfortunately, performance-wise, the wtsimdi device must always use a +contone buffer until we've had a chance to see which raster operations +can be eliminated correctly. +</pre> +<p>[base/gdevwts.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T225702.883228Z"></a> +2010-02-28T22:57:02.883228Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +First half of patch from John Wehle for bug 691149 - vac C compiler on AIX 5.2 does +not like function with a void prototype returning a void function e.g. + +------------------ +void func1(); + +void funct2() { +return funct1(); +} +------------------ + +The 2nd half of the submitted patch was committed as part of r10826 . + +</pre> +<p>[base/gdevpx.c]</p> </blockquote> -<p><strong><a name="2009-08-07T140857.827147Z"></a> -2009-08-07T14:08:57.827147Z Ken Sharp</strong></p> +<p><strong><a name="2010-02-28T172609.949555Z"></a> +2010-02-28T17:26:09.949555Z Henry Stiles</strong></p> <blockquote> <pre> -Fix a benign type cast warning from MSVC 2008 by explicitly casting the glyph name. +Fixes part of 691149 - void function returning value, thanks to John +Wehle for the fix. Also, there were several compiler warnings in this +file related to the casting of the gs memory type pointer which have +been cleaned up as well. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[base/gsnogc.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T145200.838160Z"></a> +2010-02-28T14:52:00.838160Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The distclean make target should call pgclean to clean up profile build also.</pre> +<p>[base/Makefile.in]</p> </blockquote> -<p><strong><a name="2009-08-07T135404.799461Z"></a> -2009-08-07T13:54:04.799461Z Ken Sharp</strong></p> +<p><strong><a name="2010-02-28T011926.994088Z"></a> +2010-02-28T01:19:26.994088Z Alex Cherepanov</strong></p> <blockquote> <pre> -Inadvertently left a line commented out (with a C++ style comment!) which should have -been removed. Apologies all round. +Following PDF reference, version 1.7, section 10.10, crop /TrimBox and /CropBox +by the /MediaBox. Bug 691145. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[Resource/Init/pdf_main.ps]</p> </blockquote> -<p><strong><a name="2009-08-07T134658.208375Z"></a> -2009-08-07T13:46:58.208375Z Ken Sharp</strong></p> +<p><strong><a name="2010-02-27T232931.437722Z"></a> +2010-02-27T23:29:31.437722Z Henry Stiles</strong></p> <blockquote> <pre> -Fix (pdfwrite) : Embedded TrueType fonts not correctly flagged as Symbolic +Fixes bug #691147 customer 861, the optimization to strength reduce +the raster operation here is wrong, it is premised on the assumption +the colors are opaque. If either texture or source is transparent the +strength reduction which effectively ignores the source or pattern is +wrong and it will subsequently cause opaque painting. We've simply +removed the optimization instead of conditionalizing on opaque cases, +because tests indicate the reduction not that significant. The +example in the bug report was reduced from a file in the XL ATS 305 +test suite. The following customer reported bugs in that test suite +are fixed by this change: -Details -Bug #690688 "-dSubsetFonts=false produces incorrect PDF file" +FH905UJ1.BIN pp 1,2,3,4 +FH906UJ1.BIN pp 1-6 +MA2K7UJ2.BIN pp 1-10 +PW2K6UJ1.BIN pp 2 +PWTTDUJ3.BIN pp 1 +</pre> +<p>[base/gxipixel.c]</p> +</blockquote> -The method Acrobat uses to select glyphs from TrueType fonts is arcane and dependent -on the setting of the Symbolic/non-symbolic flags. When we subset a font the encoding -is always created incompatible with StandardEncoding, and so we mark the font as -Symbolic. +<p><strong><a name="2010-02-27T202413.417473Z"></a> +2010-02-27T20:24:13.417473Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Upgrade Adobe Glyph List to v. 2.0. AGL is used for character mapping in +non-symbolic TrueType fonts in PDF files. Bug 691116. +</pre> +<p>[Resource/Init/gs_agl.ps]</p> +</blockquote> -However, if we embed the entire font, we try to decide if its symbolic or not. To do -this we check the names of all the used glyphs to see if they are in StandardEncoding -and if they all are we start by assuming the font is *not* symbolic (there are other -checks). +<p><strong><a name="2010-02-27T165647.050522Z"></a> +2010-02-27T16:56:47.050522Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing newline in a TTF debug message. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> -However, there were a number of problems with this check. Firstly the reverse encoding -which is used to do the work does not contain the .notdef glyph, which *should* have -meant that all fonts were incorrectly marked as symbolic. The only reason it didn't -is because the return value from the routine gs_c_decode was checked against -gs_no_glyph to see if it failed to match. But gs_c_decode actually returns GS_NO_CHAR -in this case. +<p><strong><a name="2010-02-26T171128.684024Z"></a> +2010-02-26T17:11:28.684024Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in the freetype makefile which prevented the inclusion +of ftlzw.c. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> -So the test was incorrect, and never correctly detected that a glyph was not in -StandardEncoding. +<p><strong><a name="2010-02-26T064131.056673Z"></a> +2010-02-26T06:41:31.056673Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fixes to our makefile for the third-party freetype library. -The test is also insufficient, in addition to being present in the font, the glyph must -also be encoded at the correct position in StandardEncoding, the font in this job -contains glyphs whose names are all in StandardEncoding, but they are not encoded at the -normal positions, so the font *should* be marked symbolic. +I'd missed a number of "optional" files in the original commit, but +didn't notice because other dependencies, which themselves link to +the system freetype library on linux were providing definitions of +the missing symbols. These are now included in our build. -This patch skips the test for the .notdef glyph, correctly checks the return value -from gs_c_decode, and adds the test against the encoding position. +We now generate freetype.dev by copying freetype_$(SHARE_FT) within +freetype.mak, the same was this option is handled in the other third- +party makefiles. +We set native line endings and Id keyword substitution for this file +in the Subversion repository. </pre> -<p>[base/gdevpdtd.c]</p> +<p>[base/freetype.mak]</p> </blockquote> -<p><strong><a name="2009-08-06T171410.510938Z"></a> -2009-08-06T17:14:10.510938Z Michael Vrhel</strong></p> +<p><strong><a name="2010-02-25T110459.765077Z"></a> +2010-02-25T11:04:59.765077Z Chris Liddell</strong></p> <blockquote> <pre> -Fix for bug 690670. Softmask color space was incorrectly getting set to DeviceN when the color space was undefined for the group and the output device was a separation device. +add quotes around the expansion of DEVSTUDIO variable when it's used for the recursive nmake call for debug targets - in case it has white space in it.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> -DETAILS: +<p><strong><a name="2010-02-25T082146.259499Z"></a> +2010-02-25T08:21:46.259499Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fix for bug 691103. The pdfwrite device now considers FDArray fonts' FontMatrix and writes correct W/W2/DW/DW2 widths for CIDFont with unusual FontMatrix. This also fixes a problem gs_font::orig_FontMatrix not being initialized for CIDFont. +Bug687832.pdf and Bug690834.ps will show differences which are improvements. +</pre> +<p>[Resource/Init/gs_cidfn.ps base/gdevpdtt.c]</p> +</blockquote> -For a transparency group, this method is OK as we blend the individual channels as defined in the PDF spec. For a mask, this is not OK, since we have to map to luminosity and the mapping from the process + spot colors to luminosity is not defined. Solution is to use the concrete space of the current space of the imager state for the softmask for this situation. +<p><strong><a name="2010-02-24T202657.347460Z"></a> +2010-02-24T20:26:57.347460Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a generic makefile for compiling the freetype library +as part of the Ghostscript monolithic build. -DIFFERENCES EXPECTED: +Including makefiles should define FTSRCDIR, FTGENDIR and FTOBJDIR, +similar to other third party libraries. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> -None +<p><strong><a name="2010-02-24T195905.197182Z"></a> +2010-02-24T19:59:05.197182Z Ralph Giles</strong></p> +<blockquote> +<pre> +Copy our local branch of the freetype library source into the gs tree. +This was the intended result of commit 10804, but an ommitted path element +placed it in the repository root instead. </pre> -<p>[base/gstrans.c]</p> +<p>[freetype]</p> </blockquote> -<p><strong><a name="2009-08-05T221258.428110Z"></a> -2009-08-05T22:12:58.428110Z Marcos H. Woehrmann</strong></p> +<p><strong><a name="2010-02-24T193811.435012Z"></a> +2010-02-24T19:38:11.435012Z Ralph Giles</strong></p> <blockquote> <pre> -Reverts r8510, r8511, r8513, r8597. +Correct a typo in a dependency specification for wrfont.c. + +The typo (stdio_h for stdio__h) prevented the dependency on arch.h +from being declared, generating a temporary error in a sufficiently +parallel make invocation. +</pre> +<p>[psi/int.mak]</p> +</blockquote> -Details +<p><strong><a name="2010-02-24T192711.525322Z"></a> +2010-02-24T19:27:11.525322Z regression</strong></p> +<blockquote> +<pre> -This is a fix for bug 690396; a customer bug involving a clipping path -combined with a shading fill. The original changes were a minor (20%) -optimization that was a non customer performance enhancement. +Changed naming scheme for regressions from 00000-00000 to 00000 (i.e. no longer treat Ghostscript and GhostPDL revisions independently). </pre> -<p>[base/gsptype2.c base/gsptype2.h base/gximask.c base/gxfill.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> </blockquote> -<p><strong><a name="2009-08-04T013250.525295Z"></a> -2009-08-04T01:32:50.525295Z Henry Stiles</strong></p> +<p><strong><a name="2010-02-24T182235.905364Z"></a> +2010-02-24T18:22:35.905364Z Ralph Giles</strong></p> <blockquote> <pre> -Fixes a regression with revision 5219, the log for this revision says: +Move the fontconfig check into the libraries section of the configure script. +</pre> +<p>[base/configure.ac]</p> +</blockquote> - "Valid memory pointer used create a tile_clip device instead of - NULL" +<p><strong><a name="2010-02-24T181645.225914Z"></a> +2010-02-24T18:16:45.225914Z Chris Liddell</strong></p> +<blockquote> +<pre> +ensure the DEVSTUDIO value is propagated when we recursively nmake for the debug targets.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> -Unfortunately the tile clip device is created on the c stack and -should not get a non null memory pointer. Later in gxcht.c this same -device memory pointer is used to get a gs id, maybe this was the real -motivation for the change. We now use the device halftone memory -pointer and the device is initialized with a NULL memory pointer as -expected. +<p><strong><a name="2010-02-24T172823.116518Z"></a> +2010-02-24T17:28:23.116518Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious circular symlink accidentally included in the libpng-1.2.42 +source import. </pre> -<p>[base/gxcht.c base/gxp1fill.c]</p> +<p>[libpng/libpng]</p> </blockquote> -<p><strong><a name="2009-08-03T030950.293548Z"></a> -2009-08-03T03:09:50.293548Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-24T095802.654907Z"></a> +2010-02-24T09:58:02.654907Z Ken Sharp</strong></p> <blockquote> <pre> -Add missing initialization of the path rule member during setting up -the stack-allocated clipping path structure. Fix a Purify warning. +Fix, ignore a class of broken TrueType font. +Bug #691121 "gs stops in interpreting tt instructions". The font executes an MDRP +instruction with point number 28, the glyph only contains 28 points numbered 0 to 27 so +the interpreter (correctly) flags an error. +Windows and FT both appear to silently ignore the error and the instruction (definitely +the case for FreeType). Modified Ins_MDRP to simply return if the indicated point is +outside the number of points in this case. </pre> -<p>[base/gxcpath.c]</p> +<p>[base/ttinterp.c]</p> </blockquote> -<p><strong><a name="2009-08-02T235526.536287Z"></a> -2009-08-02T23:55:26.536287Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-23T222918.142249Z"></a> +2010-02-23T22:29:18.142249Z Henry Stiles</strong></p> <blockquote> <pre> -Remove a line that has no effect other than causing frequent Purify warning -and puzzling the reader. +Fixes bug 690967, a diagnostic problem with dumping memory the debug +-ZA option. See the comment in the code for details, the change has +no effect on production builds. +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> +<p><strong><a name="2010-02-23T215815.181686Z"></a> +2010-02-23T21:58:15.181686Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix obviously wrong code in .fixsethalftonescreen procedure that is used by +the setscreen (and setcolorscreen) procedure and caused a PS error if the +third 'proc' argument to setscreen is a read-only Halftone type 1 dictionary. +Thanks to Jonathan Dagresta for the patch. Bug 691130, customer 1130. +</pre> +<p>[Resource/Init/gs_dps2.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-23T205621.262529Z"></a> +2010-02-23T20:56:21.262529Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify sed script that extracts libTiff version number for compatibility +with AIX sed. Include our portable header before tiff.h to make sure that +all stdint types are found. Bug 691102. </pre> -<p>[base/ttfmain.c]</p> +<p>[base/gdevtifs.c base/gdevtsep.c base/configure.ac base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p> </blockquote> -<p><strong><a name="2009-08-02T235002.458497Z"></a> -2009-08-02T23:50:02.458497Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-23T100154.545437Z"></a> +2010-02-23T10:01:54.545437Z Ken Sharp</strong></p> <blockquote> <pre> -Fully initialize CFD stream state. Fix a Purify warning in 23-12B.PS and -stop printing wild core instead of error messages. +Fix (pdfwrite) +Bug #691133. If producing PDF/A output. and a DOCINFO pdfmark string was UTF_16BE +encoded *and* contained a numeric character, then decode_escape incorrectly consumed +any numeric characters following the first octal byte of the UTF16 code. + +This was caused by decode_escape assuming that octal sequences are terminated by +non-numeric characters which is clearly wrong. The octal escape decoding loop is now +terminated when : +1) 3 numeric characters are read from the string +2) No more data is available in the string +3) A non-numeric character is encountered in the string. </pre> -<p>[base/scfx.h]</p> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-22T114533.943563Z"></a> +2010-02-22T11:45:33.943563Z Chris Liddell</strong></p> +<blockquote> +<pre> +resolve inappropriate variable type (signed vs unsigned) and comparisons with the wrong variable when writing the local subrs info to the serialized T2 Private dictionary.</pre> +<p>[psi/write_t2.c]</p> </blockquote> -<p><strong><a name="2009-08-02T231626.642637Z"></a> -2009-08-02T23:16:26.642637Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T175724.841443Z"></a> +2010-02-21T17:57:24.841443Z regression</strong></p> <blockquote> <pre> -Fix all remaining MSVC warning other than C4018 or C4244 that have little -value and should be suppressed. Bug 690660. + +Added regression testing of the icc_work branch to the local cluster. </pre> -<p>[base/gdevp14.c psi/zcid.c base/gdevpdti.h base/gxacpath.c base/gxpcolor.h libpng/pngwio.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> </blockquote> -<p><strong><a name="2009-08-01T031453.314562Z"></a> -2009-08-01T03:14:53.314562Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T035726.068286Z"></a> +2010-02-21T03:57:26.068286Z Marcos H. Woehrmann</strong></p> <blockquote> <pre> -Fix a common Purify warning; skip calculations with uninitialized values -during processing an empty glyph, such as /space . + +Add cast to bmpcmp.c to quiet useless compiler warning. </pre> -<p>[base/gxhintn.c]</p> +<p>[toolbin/bmpcmp.c]</p> </blockquote> -<p><strong><a name="2009-08-01T030247.627968Z"></a> -2009-08-01T03:02:47.627968Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T035151.891247Z"></a> +2010-02-21T03:51:51.891247Z regression</strong></p> <blockquote> <pre> -Swap transposed code fragments in image interpolation logic. Old code missed -some optimizations and could cause wrong rendering. Clear a Purify warning -about uninitialized memory access running 148-11.ps. +Several minor changes to local cluster code to improve reliability and increase performance. </pre> -<p>[base/gxiscale.c]</p> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> </blockquote> -<p><strong><a name="2009-08-01T024633.092104Z"></a> -2009-08-01T02:46:33.092104Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-21T033829.059238Z"></a> +2010-02-21T03:38:29.059238Z Alex Cherepanov</strong></p> <blockquote> <pre> -Fix yet another case of missing dereference of indirect objects. Bug 690675. +Update pdf2dsc.ps to match the changes in pdf_main.ps introduced by +the rev. 10341. Thanks to William Bader for the patch. Bug 691124. +</pre> +<p>[lib/pdf2dsc.ps]</p> +</blockquote> +<p><strong><a name="2010-02-21T025705.611462Z"></a> +2010-02-21T02:57:05.611462Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Include stat_.h before estack.h, which defines esp macro. +Prevent a spurious macro substitution in Cygwin version of signal.h. +Bug 691123, customers 661. </pre> -<p>[Resource/Init/pdf_draw.ps]</p> +<p>[psi/zfapi.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-17T170227.004947Z"></a> +2010-02-17T17:02:27.004947Z Henry Stiles</strong></p> +<blockquote> +<pre> +Adds placeholder files to trunk so the other languages (pcl, xps and +svg) can built with the icc branch and trunk. Each of these files +will be replaced with real files when the icc branch is merged into +the trunk. +</pre> +<p>[base/lcms.mak base/gsiccmanage.h]</p> </blockquote> -<p><strong><a name="2009-08-01T024103.067359Z"></a> -2009-08-01T02:41:03.067359Z Alex Cherepanov</strong></p> +<p><strong><a name="2010-02-16T181257.832463Z"></a> +2010-02-16T18:12:57.832463Z Robin Watts</strong></p> <blockquote> <pre> -Fix processing of -dUseCropBox that was broken by the rev. 9805. -Old code messed up the operand stack when -dUseCropBox was requested but no -/CropBox attribute was in the PDF file. Bug 690676, customer 330. +Tiny tweaks to clusterpush.pl to make it work on windows. First, wrap the +$HOME directory in additional quotes to allow for awkward windows users +with spaces in their names. Secondly, add a crude mapping for people whos +windows names are not the same as the usernames. This can unquestionably +be done more nicely, but the simple version will do for now. </pre> -<p>[Resource/Init/pdf_main.ps]</p> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-16T170749.079920Z"></a> +2010-02-16T17:07:49.079920Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing dereferencing of indirect objects in /Mask array. +Bug 691112, customers 870. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> </blockquote> -<p><strong><a name="2009-08-01T003106.505318Z"></a> -2009-08-01T00:31:06.505318Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-12T152723.315268Z"></a> +2010-02-12T15:27:23.315268Z Ken Sharp</strong></p> <blockquote> <pre> -Remove a reference to the obsolete AFPL license text.</pre> -<p>[doc/Release.htm]</p> +Sort out some minor benign compiler warnings. No differences expected. +</pre> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2009-08-01T003104.401366Z"></a> -2009-08-01T00:31:04.401366Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-12T151716.629322Z"></a> +2010-02-12T15:17:16.629322Z Ken Sharp</strong></p> <blockquote> <pre> -Remove an unnecessary header file.</pre> -<p>[psi/int.mak psi/igc.c]</p> +Fix colour processing. It was possible for nested ICCBased colour spaces (ie an ICCBased +space whose Alternate is another ICCBased space) to cause segmentation faults. + +This was due to the fact that the conversion to base colour continuation procedure +'currentbasecolor_cont' was supposed to scan the space from the initial declaration +each time round a loop. However a reassignment of an array pointer caused it to +rescan from the last processed colour array instead. + +Normally this does not cause problems, but in the case of nested ICCBased it caused +us to generate an error. + +Fixed by re-initialising the array pointer at the start of the loop. +</pre> +<p>[psi/zcolor.c]</p> </blockquote> -<p><strong><a name="2009-08-01T002725.216685Z"></a> -2009-08-01T00:27:25.216685Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-11T162820.347398Z"></a> +2010-02-11T16:28:20.347398Z Ken Sharp</strong></p> <blockquote> <pre> -Bump version after the 8.70 release. +Fix (pdfwrite) bug #691104 "pdfwrite emits garbage in the XMP metadata when DOCINFO +pdfmarks contain UTF-16BE text strings" + +There were several problems. Firstly the undoing of PostScript string escapes was wrong, +Octal escapes consumed too many characters, and several escape sequences weren't +recognised. + +Secondly the XMP emission didn't expect to receive UTF-16BE strings and didn't convert +them to UTF-8 for inclusion in the metadata. + +This patch fixes the broken octal escapes, adds teh unprocessed escapes and checks the +DOCINFo strings before sending to XMP. If they include the UTF-16BE Byte Order Mark +then convert the strings to UTF-8. </pre> -<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> +<p>[base/gdevpdfe.c]</p> </blockquote> -<p><strong><a name="2009-07-31T180612.135189Z"></a> -2009-07-31T18:06:12.135189Z Ralph Giles</strong></p> +<p><strong><a name="2010-02-10T202733.989189Z"></a> +2010-02-10T20:27:33.989189Z Ralph Giles</strong></p> <blockquote> <pre> -Update changelogs and open bug numbers for 8.70 final. +Bump the versioning after the 8.71 release. </pre> -<p>[doc/History8.htm doc/News.htm doc/Details8.htm]</p> +<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> </blockquote> </body> </html> diff --git a/gs/doc/Details8.htm b/gs/doc/Details8.htm index f15c0cff1..71734603f 100644 --- a/gs/doc/Details8.htm +++ b/gs/doc/Details8.htm @@ -104190,7 +104190,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Details9.htm b/gs/doc/Details9.htm new file mode 100644 index 000000000..720a3ae84 --- /dev/null +++ b/gs/doc/Details9.htm @@ -0,0 +1,7772 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<title>Detailed History of Ghostscript versions 9.n</title> +<!-- $Id: Details9.htm 10732 2010-02-10 18:17:48Z giles $ --> +<!-- + WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to + re-create the table of contents here, because it will replace the + hand-edited TOC subheads with a separate subhead for each H2 in + the body of the file. Or if you do, first look at the original + TOC to see how to edit it for visual conciseness. +--> +<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style"> +</head> + +<body> +<!-- [1.0 begin visible header] ============================================ --> + +<!-- [1.1 begin headline] ================================================== --> + +<table width="100%" border="0"> +<tr><th align="center" bgcolor="#CCCC00"><font size=6>Detailed History of Ghostscript versions 9.xx</font> +</table> + +<!-- [1.1 end headline] ==================================================== --> + +<!-- [1.2 begin table of contents] ========================================= --> + +<h2>Table of contents</h2> + +<blockquote><ul> +<li><a href="#Version9.00">Version 9.00 (2002-11-21)</a> +<ul> +<li><a href="#9.00_Incompatible_changes">Incompatible changes</a>, + <a href="#9.00-Documentation">Documentation</a>, + <a href="#9.00-Procedures">Procedures</a>, + <a href="#9.00-Utilities">Utilities</a>, + <a href="#9.00-Drivers">Drivers</a>, + <a href="#9.00-PDF_writer">PDF writer</a>, + <a href="#9.00-PDF_Interpreter">PDF Interpreter</a>, + <a href="#9.00-Interpreter">Interpreter</a>, + <a href="#9.00-Library">Library</a> +</ul> +</ul></blockquote> + +<!-- [1.2 end table of contents] =========================================== --> + +<!-- [1.3 begin hint] ====================================================== --> + +<p> +This document is a record of changes in Ghostscript releases numbered 9.xx. +For earlier versions, see the the history documents: + +<blockquote> +<a href="History8.htm">History of Ghostscript versions 8.n</a><br> +<a href="History7.htm">History of Ghostscript versions 7.n</a><br> +<a href="History6.htm">History of Ghostscript versions 6.n</a><br> +<a href="History5.htm">History of Ghostscript versions 5.n</a><br> +<a href="History4.htm">History of Ghostscript versions 4.n</a><br> +<a href="History3.htm">History of Ghostscript versions 3.n</a><br> +<a href="History2.htm">History of Ghostscript versions 2.n</a><br> +<a href="History1.htm">History of Ghostscript versions 1.n</a> +</blockquote> + +<p>For other information, see the <a href="Readme.htm">Ghostscript +overview</a>. + +<!-- [1.3 end hint] ======================================================== --> + +<hr> + +<!-- [1.0 end visible header] ============================================== --> + +<!-- [2.0 begin contents] ================================================== --> + +<h2><a name="Version9.00"></a>Version 9.00 (2010-08-24)</h2> + +<p>This is the first release in the stable 9.x series. + +<p>This release includes a move to an ICC-based color rendering workflow. The +design allows easy integration of 3rd party color management modules (CMMs) +and management of DeviceN and spot source colors with ICC profiles as well +as with non-ICC proprietary methods. The default CMM is the well known littleCMS. +Postscript color objects and non-ICC CIE-based PDF color spaces are converted to +equivalent ICC profiles enabling complete color management for all color spaces by +an ICC-based CMM. New command line options enable the specification of gray, rgb +and cmyk default ICC profiles as well as output device ICC profiles. The new +work flow provides performance improvements in the rendering of images, shadings +and transparencies. In addition, the color conversions are designed to work +efficiently in multithreaded display list (c-list) rendering through the use of a +shared link cache. Finally, proper ICC based rendering now occurs for ALL XPS +objects including Named colors, N-Channel colors and images with internally embedded +ICC profiles. + +<p>The second major change in this release is that glyph rendering for all font types +except Type 3 is now handled by Freetype (via a much improved and enhanced Font API). +The most obvious benefit of this is a complete, and proven implementation of the +TrueType byte code interpreter (now unencumbered by patents). + +<p> Another major change is that the Postscript interpreter's graphics state now +stores two separate colour space settings for stroking and filling, to better +support the stroke and fill colours required by the PDF interpreter. + +<p>Finally, support for optional content has bee added to the PDF interpreter. + +<p> This release also includes a number of improvements to the pdfwrite device +to improve reliability and quality with PCL and XPS input. Many improvements to +the support of JPX images in PDF files, PDF annotation rendering and the usual +number of general bug and robustness fixes. + +<p>For a list of open issues, or to report problems, +please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>. + + + +<h3><a name="9.00_Incompatible_changes"></a>Incompatible changes</h3> + +<p> +No recorded incompatible changes. + +<h3><a name="9.00_changelog"></a>Changelog</h3> +<p><strong><a name="2010-08-24T123334.461027Z"></a> +2010-08-24T12:33:34.461027Z Chris Liddell</strong></p> +<blockquote> +<pre> +merge changes from the trunk doc directory to the 9.00 release tag. +</pre> +<p>[/tags/ghostscript-9.00/doc /tags/ghostscript-9.00/doc/History9.htm /tags/ghostscript-9.00/doc/News.htm /tags/ghostscript-9.00/doc/AUTHORS]</p> +</blockquote> + +<p><strong><a name="2010-08-20T175448.049092Z"></a> +2010-08-20T17:54:48.049092Z Chris Liddell</strong></p> +<blockquote> +<pre> +When we produce a glyph uncached, and it's to be filled with a +pattern colour space *and* there is PDF transparency involved +force FAPI to (try to) produce an outline (for lower level +code to use as a clip) instead of a bitmap (to use as a +mask). + +This does produce some pixel level differences in a few +cluster files, but improves a load of PDF 1.7 FTS jobs. + +Bug 691550 + +Merge from trunk r11645 + +</pre> +<p>[/tags/ghostscript-9.00/psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-18T100340.871603Z"></a> +2010-08-18T10:03:40.871603Z Chris Liddell</strong></p> +<blockquote> +<pre> +Tag the ghostscript 9.00 release + +</pre> +<p>[/tags/ghostscript-9.00]</p> +</blockquote> + +<p><strong><a name="2010-08-17T143158.354019Z"></a> +2010-08-17T14:31:58.354019Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip opacity and unknown components during reading of JPX image data. This +improves image quality (compared to the previous state that interpreted an +opacity channel as yet another data sample) and serves as a transition to full +support of opacity in JPX images. Bug 691489, customer 532. +</pre> +<p>[base/sjpx.h psi/zfjpx.c base/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2010-08-17T012218.729560Z"></a> +2010-08-17T01:22:18.729560Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't include opacity channels in the number-of-components count. +Recognize general ICC profile (type 3) and construct a corresponding +ICC-based color space. Bug 691470, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-15T094903.044306Z"></a> +2010-08-15T09:49:03.044306Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure we only check the compatibility of the system libtiff +if we're actually going to use it. + +No cluster differences expected. + +Bug 691548 +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-08-15T094221.565047Z"></a> +2010-08-15T09:42:21.565047Z Chris Liddell</strong></p> +<blockquote> +<pre> +The "shortcut" for rendering masks use by the FAPI code for uncached +glyph bitmaps (gx_image_fill_masked) is only safe, in the general case +when drawing "plain" colours to the output. For complex colour spaces +(like patterns) we must use the "long hand" version. + +This causes minor pixel level differences in some cluster tests (due +to rounding differences), and some (very small) progressions: there +are differences in about 20 cluster jobs. + +Bug 691549. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-14T211029.198491Z"></a> +2010-08-14T21:10:29.198491Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory corruption problem introduced by the rev. 11588 on some systems. +Free the string returned by systempapername() but don't free the static string +returned by defaultpapername() . Bug 691557. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-13T194628.340691Z"></a> +2010-08-13T19:46:28.340691Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite( : Invalid compression filter emitted. + +Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in +gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a +trailing comma if the filter was RunLength. + +No differences expected +</pre> +<p>[base/gdevpdfx.h]</p> +</blockquote> + +<p><strong><a name="2010-08-12T181430.164084Z"></a> +2010-08-12T18:14:30.164084Z Till Kamppeter</strong></p> +<blockquote> +<pre> +pstoraster: Removed unneeded "-dDEBUG" from Ghostscript command line. +</pre> +<p>[cups/pstoraster.in]</p> +</blockquote> + +<p><strong><a name="2010-08-12T181047.335830Z"></a> +2010-08-12T18:10:47.335830Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Do verbose degug logging only if compiled in debug mode. Bug 690581. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-08-12T063908.575092Z"></a> +2010-08-12T06:39:08.575092Z regression</strong></p> +<blockquote> +<pre> +Added support for regression testing of the cups device. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-08-12T025540.283339Z"></a> +2010-08-12T02:55:40.283339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix to handle case where the profiledir is NOT set AND there is a change in the process color model for the device AFTER a profile had already been set. </pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-08-12T014217.270497Z"></a> +2010-08-12T01:42:17.270497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement variable text rendering for widget annotations. +Bug 691536, customer 532. +</pre> +<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-11T233148.385487Z"></a> +2010-08-11T23:31:48.385487Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminism issue that was introduced with changes in 16bit image handling. Last subpixel element was not getting unpacked properly. </pre> +<p>[base/gxi16bit.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T230548.288399Z"></a> +2010-08-11T23:05:48.288399Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Another compiler complaint fix. Proper cast of device.</pre> +<p>[base/gdevpsdi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T213103.877037Z"></a> +2010-08-11T21:31:03.877037Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for compiler error due to implicit declaration</pre> +<p>[base/gdevpsdi.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-08-11T185451.837319Z"></a> +2010-08-11T18:54:51.837319Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that if the device process color model changes the profile is updated accordingly.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T161745.421152Z"></a> +2010-08-11T16:17:45.421152Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix bug # 691532. Do not attempt to clone an image that does not exist, each completed page should have an associated image. We'd like to handle this corrupt file with a better fix, for example the absence of an end page segement is clearly a problem with respect to the specification, but Adobe and Artifex have chosen to support other "off spec" streams so more subtle and less obvious error checking is needed. Thanks to Tim Waugh for analysis on this problem. +</pre> +<p>[jbig2dec/jbig2_page.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T152222.427529Z"></a> +2010-08-11T15:22:22.427529Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add some words about the ps2write device to the devices documentation. +</pre> +<p>[doc/Devices.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-10T164420.491267Z"></a> +2010-08-10T16:44:20.491267Z regression</strong></p> +<blockquote> +<pre> + +Several minor changes to the cluster regression system, the most +signifcant of which are: + +seg. faults are now reported for every case (previously they were only +reported if they were new) + +skip.lst files are now checked for errors + +changes to gs/psi now test the pcl/pxl/xps products since changes to +Ghostscript can affect the pdfwrite path + +the tests_private/pdf/PDF_1.7_FTS repository was added + + +</pre> +<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-08-10T162019.775613Z"></a> +2010-08-10T16:20:19.775613Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf. </pre> +<p>[base/gxi12bit.c base/gsdevice.c base/gdevpdfk.c base/gxpcmap.c base/gxdevice.h /trunk/ghostpdl/xps/xpsgradient.c base/gdevprn.c base/gdevpsdi.c base/gscsepr.c base/gscpixel.c base/gxcmap.c base/gdevbit.c base/gxclip.c base/gxicolor.c base/gximag3x.c base/gscspace.c base/gsicc.c base/gscdevn.c base/gscolor2.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcspace.h base/gscicach.c base/gdevnfwd.c base/gxdevcli.h base/gdevp14.c psi/zdevice.c base/gsicc_create.c base/gsicc_cache.c base/gdevp14.h base/gsicc_cache.h base/gxccman.c base/gscms.h base/gxclist.h psi/zusparam.c base/gxshade.c base/gxblend.c base/gsequivc.c base/gsciemap.c]</p> +</blockquote> + +<p><strong><a name="2010-08-10T091550.312005Z"></a> +2010-08-10T09:15:50.312005Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement : pdfwrite + +performance enhancement for pdfwrite when handling files with large amounts of text. + +Bug #689859 "Performance comparison versions 7.07 and 8.62 on HP-UX ia64" Alex's +analysis shows that pdfwrite was spending a lot of time trying to to see if two type 1 +fonts were the same before deciding whether a glyph could be added to a font, or was +already present in a font copy. + +Most of the time was spent extracting and comparing /Subrs. The new code creates a hash +(MD5) of both the local and global Subrs (if present) and stores that in the type 1 +'data' field in the font (16 bytes). The hashes are created by pdfwrite only as they +are required, so there is no performance penalty for rendering. The hash comparison is +considerably quicker than the long winded Subrs comparison. + +For many files the performance difference is minimal but for file containing lots of +pages, mostly composed of text, there is a considerable saving. The text files run in +about 60% of the time they did before this change. + +</pre> +<p>[base/gxfont1.h base/gxfcopy.c psi/zfont1.c]</p> +</blockquote> + +<p><strong><a name="2010-08-10T081335.250205Z"></a> +2010-08-10T08:13:35.250205Z Chris Liddell</strong></p> +<blockquote> +<pre> +A small revision to the fix for Bug 691326: the glyphs array must have +at least one entry. + +No cluster differences expected. + +Bug 691343 +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-09T004131.173587Z"></a> +2010-08-09T00:41:31.173587Z Ray Johnston</strong></p> +<blockquote> +<pre> +Free the pattern-clist devices that are created (and left for the GC to +free) when pattern-clist patterns are used with a device that is using the +clist for the page. Those that were allocated during the print_page clist +playback would be those that leaked. Since the devices were closed, this +could lead to GC referencing objects that were invalid. Related to, but +not the final fix to Bug 691527. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-08-09T000727.505245Z"></a> +2010-08-09T00:07:27.505245Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove spurious "cvx" operators after .pushextendedgstate and +.popextendedgstate . Do .popextendedgstate after checking that "Q" +has a correspondingh "q". Bug 691538. +</pre> +<p>[Resource/Init/pdf_ops.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-07T155808.066501Z"></a> +2010-08-07T15:58:08.066501Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of Widget annotation border background specified by +/BC and /BG entries of the appearance characteristics dictionary /MK. +Bug 691524, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-06T202111.891509Z"></a> +2010-08-06T20:21:11.891509Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix segfault seen with fts_17_1704.pdf when the clist playback of patterns +that had been stored as clists were attempted to be read from the clist +as bitmaps. This happened when -dMaxPatternBitmap=1000000 was used which +is smaller than the default, confusing a HACK that attempted to force +the use of the pattern-clist mode. Also remove some #if 0 idle code. +</pre> +<p>[base/gsptype1.c base/gxpcmap.c base/gxcolor2.h]</p> +</blockquote> + +<p><strong><a name="2010-08-06T172216.521958Z"></a> +2010-08-06T17:22:16.521958Z Chris Liddell</strong></p> +<blockquote> +<pre> +I missed a couple of now unused variables in the previous commit. +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T154921.355481Z"></a> +2010-08-06T15:49:21.355481Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add documentation on -dMaxPatternBitmap=# parameter in the 'Improving +Performance' section of the Use.htm file. The actual parameter was +added in rev 11605. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-06T150300.994141Z"></a> +2010-08-06T15:03:00.994141Z Chris Liddell</strong></p> +<blockquote> +<pre> +Prevent doing a gc "unmark" on memory already (potentially) +freed. + +Relates to Bug 691380. I could not reproduce the seg fault +as reported, but valgrind reported the write to freed memory +in the same place as the reported seg fault. + +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T111522.616992Z"></a> +2010-08-06T11:15:22.616992Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite +There is a hack in type 3 font creation in pdfwrite which increases the FontMatrix if +all the elements are very small, apparently Acrobat is unable to cope with very small +FontMatrix entries. + +However, if all the entries are 0, it ends up running round a loop multiplying by 10 +indefinitely. This change simply avoids the loop if all the matrix elements are 0. +Naturally this isn't a useful font, its a Quality Logic test file. + +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T111140.511965Z"></a> +2010-08-06T11:11:40.511965Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 11600 introduced a sever regression with text in XPS files. This revision +addresses that by only applying the fix to preserve glyph data when the text operation +is TEXT_FROM_SINGLE_GLYPH as this is the only case where the affected union is a glyph +not a pointer to a series of glyphs, and is therefore the only case which is affected. + +Expected Differences: All XPS files with text should again work correctly. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T082720.529691Z"></a> +2010-08-06T08:27:20.529691Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise some of the FAPI related information. + +</pre> +<p>[doc/Use.htm doc/Make.htm doc/Develop.htm doc/Psfiles.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-06T055342.503244Z"></a> +2010-08-06T05:53:42.503244Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of standard Stamp and Text annotations. Ghostscript uses +different font than Acrobat in Stamp icons and uses the same icon for the Text +annotation regardless of the /Name attribute. Bug 691525, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-06T042459.663647Z"></a> +2010-08-06T04:24:59.663647Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a new paramter MaxPatternBitmap with a default value of 8Mb. Formerly +the pattern_clist mode would be used when the bitmap size exceeded 1Mb +and prior to rev 11___ this calculation was flawed and could allow pattern +bitmaps as large as 64Mb to avoid the pattern_clist mode. While the clist +based pattern tiling is slow, setting the threshold to 8Mb should be rare +enough to minimize performance impact. Bug 691512. +</pre> +<p>[base/gsdevice.c base/gdevp14.c base/gxdevcli.h base/gsdparam.c base/gxpcmap.c base/gxdevice.h base/gdevbit.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T232612.261846Z"></a> +2010-08-05T23:26:12.261846Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Segmentation fault on mid-job changes of the color depth. + +This patch prevents the crash by forcing a memory reallocation on +color depth changes. The approach principally works but we did not +decide yet whether it is the final solution, as Michael Vrhel is still +doing major changes in the color handling. Bug 690435. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T191611.698734Z"></a> +2010-08-05T19:16:11.698734Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix comment about no support for BITS=4 +</pre> +<p>[lib/viewrgb.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-05T191400.403158Z"></a> +2010-08-05T19:14:00.403158Z Ray Johnston</strong></p> +<blockquote> +<pre> +Minor correction to usage string left over from when this was split out +from setupgs. +</pre> +<p>[psi/mkfilelt.cpp]</p> +</blockquote> + +<p><strong><a name="2010-08-05T174036.908437Z"></a> +2010-08-05T17:40:36.908437Z Chris Liddell</strong></p> +<blockquote> +<pre> +The "show" machinery expected that even non-marking text operations +(such as stringwidth) would result in a glyph bitmap which +could be cached (assuming the glyph would be a candidate for the +cache with a normal marking operation, like show). + +FAPI, however, did not create a glyph bitmap for non-marking +operations, thus the cache would receive a valid, but +"empty" glyph. This caused Postscript that used stringwidth +before a show to sometimes "lose" glyphs, by using the empty +cached glyph. + +FAPI's behaviour now matches the expectations of the show/cache +management code. + +Causes cluster differences in Bug688372.ps, fts_31_3111.pdf, and +14-08.PS, these are all progressions. + +Bug 691517 + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T154939.430735Z"></a> +2010-08-05T15:49:39.430735Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) +A piece of data (pointer to glyph data) was stored and passed into a routine +'process_text_modify_width' which expected the glyph data to remain unchanged but +modified the text enumerator data. This doesn't work if the glyph data is a pointer +to the text enumerator data. NB the text enumerator is saved and restored around the +call. + +Modified so that the calling routine makes a copy of the glyph data before calling +'process_text_modify_width'. + +This should prevent 13-10.ps from entering an infinite loop. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-08-04T231524.779084Z"></a> +2010-08-04T23:15:24.779084Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for Bug 691504 (gs taking a long time to render a file). + +Revision 8694 changes code from using a simple cast to an int to using +a call to (int)floor. This fixes problems, but costs a factor of 3 in +processing time for heavily tiled files. + +Here we change to using a macro version of floor instead. This removes +the function call and NaN handling overheads and returns us to the +same kind of performance as we had before. + +We apply the same change throughout the file (i.e. all the calls to (int)floor, +not just the two changed in r8694. + +There is still scope for optimising this code further, but this closes the +regression. + +No differences seen in local cluster testing. + +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-08-04T225904.842835Z"></a> +2010-08-04T22:59:04.842835Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of Underline and StrikeOut annotations without +appearance streams. Bug 691526, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-03T120247.197684Z"></a> +2010-08-03T12:02:47.197684Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix : FAPI (no bug number, discovered working on a different problem) + +Another place where the FAPI code assumes that a text enumerator is a show_enum and +casts it as such. While this is true for rendering, it is not the case when capturing +glyphs for pdfwrite. + +Altered the code to test if the enumerator is a show_enum and if not, to get the +graphics state from the enumerator 'pis' pointer instead if possible. Signal an error +if this is not possible. + +No differences expected. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-03T080213.862491Z"></a> +2010-08-03T08:02:13.862491Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement : PDF interpreter. Bug #691503 + +When creating an outline (/OUT pdfmark), especially for the pdfwrite device, check the +destination page to see that it lies between FirstPage and LastPage; if it does not, then +don't emit it. This is an extension to the existing control which checked that the +destination page wasn't greater than the number of pages in the PDF file.</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-03T075650.987568Z"></a> +2010-08-03T07:56:50.987568Z Ken Sharp</strong></p> +<blockquote> +<pre> +In the section 'Using Unicode True Type fonts', replace the example CSI array with one +whose values are strings, not names. These must be string values. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-02T213029.939498Z"></a> +2010-08-02T21:30:29.939498Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Partly revert rev. 11392 that over-simplified the check for a valid obj line +in the PDF file. Use --search-- to reject impossible cases but revert to the +old logic to verify the results. Bug 691502. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-02T164500.756282Z"></a> +2010-08-02T16:45:00.756282Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a compiler warning about a missing prototype for free() +caused by my previous commit. +</pre> +<p>[base/lib.mak base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T134903.975996Z"></a> +2010-08-02T13:49:03.975996Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory leak. Free the paper name string allocated amd +returned by libpaper. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T092004.666066Z"></a> +2010-08-02T09:20:04.666066Z Ken Sharp</strong></p> +<blockquote> +<pre> +Missing ';' in r11586 replaced. Should build now.</pre> +<p>[base/gdevpdfx.h]</p> +</blockquote> + +<p><strong><a name="2010-08-02T090647.523074Z"></a> +2010-08-02T09:06:47.523074Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a few minor compiler warnings from gcc. No differences expected. +</pre> +<p>[base/gdevpdfx.h base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T063925.229115Z"></a> +2010-08-02T06:39:25.229115Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Applied patch to fix "imagen" output device (bug 690561). +</pre> +<p>[base/gdevimgn.c]</p> +</blockquote> + +<p><strong><a name="2010-08-01T085915.942136Z"></a> +2010-08-01T08:59:15.942136Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the now redundant --disable-cairo directives. + +</pre> +<p>[toolbin/localcluster/readme toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-07-31T160737.431496Z"></a> +2010-07-31T16:07:37.431496Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the "dead" devcairo device. + +No cluster differences expected. + +Bug 690009 + +</pre> +<p>[ghostscript.vcproj base/configure.ac base/gdevcairo.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-31T154539.194094Z"></a> +2010-07-31T15:45:39.194094Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reapply r11570 + +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-31T150424.124204Z"></a> +2010-07-31T15:04:24.124204Z Till Kamppeter</strong></p> +<blockquote> +<pre> +No need to install Resources and iccprofiles if COMPILE_INITS=1 + +When COMPILE_INITS=1, the mentioned directories are not used and just waste +disk space and also confusing. Bug 689253. + +</pre> +<p>[base/unixinst.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-31T003707.940018Z"></a> +2010-07-31T00:37:07.940018Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix the calculation of the size of the pattern bitmap by correcting the +calculation of the effective depth (bits per pixel). PaintType 2 is the +uncolored (mask == 1 bit per pixel) mode, PaintType 1 is colored, thus +needs the full target device color_info.depth bits per pixel. Bug 691514 +detected running the PDF 1.7 FTS for customer 532. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T231352.534878Z"></a> +2010-07-30T23:13:52.534878Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. + +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T213419.596701Z"></a> +2010-07-30T21:34:19.596701Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) + +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T203848.303275Z"></a> +2010-07-30T20:38:48.303275Z Till Kamppeter</strong></p> +<blockquote> +<pre> +configure script: Hide error message when "sed" does not have a "--version" option. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T200921.607711Z"></a> +2010-07-30T20:09:21.607711Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Tips about cross-compiling 64-bit ghostscript on 32-bit windows + +This procedure is slightly simplier(?) than the cross-compiling instruction +which Russell removed with r9807 about a year ago. Note that +ARCH_STRUCT_ALIGN_MOD mentioned in Russell's instruction was removed +r6773 (in 2006) and note also that all the "genconf" references in r9807 +should be "genarch" instead. + +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-30T171523.787490Z"></a> +2010-07-30T17:15:23.787490Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. + +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. + + +</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T171346.325084Z"></a> +2010-07-30T17:13:46.325084Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for double to float conversion warnings. Bug 691498. </pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T170659.251898Z"></a> +2010-07-30T17:06:59.251898Z Henry Stiles</strong></p> +<blockquote> +<pre> +rollback to revision 11564, 11565 broke the build</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c contrib/gdevbjc_.h base/gdevbbox.c base/gxpcolor.h Resource/Init/gs_res.ps Resource/Init/pdf_draw.ps base/gsovrc.h base/gdevpdtf.h base/gsicc_create.c autogen.sh Resource/Init/gs_lev2.ps base/strmio.h base/configure.ac base/gdevrinkj.c base/sjpx.c base/gdevbit.c base/gximage.h base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T142707.462183Z"></a> +2010-07-30T14:27:07.462183Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. + +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. + + +</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T140814.058178Z"></a> +2010-07-30T14:08:14.058178Z Chris Liddell</strong></p> +<blockquote> +<pre> +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T135952.334818Z"></a> +2010-07-30T13:59:52.334818Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for double to float conversion warnings. Bug 691498</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T113715.489627Z"></a> +2010-07-30T11:37:15.489627Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. + +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T112007.130600Z"></a> +2010-07-30T11:20:07.130600Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Suppressed error message during ./configure if "sed" does not support "--version" (bug 691463) +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111617.321612Z"></a> +2010-07-30T11:16:17.321612Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111247.691429Z"></a> +2010-07-30T11:12:47.691429Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded quotes in autogen.sh. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111035.977735Z"></a> +2010-07-30T11:10:35.977735Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 stdint.h does not exist but the types required by jbig2 are in inttypes.h there (bug 691463). + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T110327.732163Z"></a> +2010-07-30T11:03:27.732163Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 the integer types are in inttypes.h and not in stdint.h as in VMS + +Bug 691463, required for jbig2dec. + +</pre> +<p>[base/stdint_.h jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T110025.895059Z"></a> +2010-07-30T11:00:25.895059Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Replace "==" bashism by "=" in configure.ac + +"==" is a bash extension. See bash's manpage recommending "=" for posix +compliance (bug 691463). This causes various tests to fail and resulted +in the link failure from mis-detecting omni. + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T105644.338677Z"></a> +2010-07-30T10:56:44.338677Z Till Kamppeter</strong></p> +<blockquote> +<pre> +'%' in printf() needs to be '%%' + +Tru64 C issues a warning (bug 691463). +</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T105330.576036Z"></a> +2010-07-30T10:53:30.576036Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed duplicate AC_PATH_PROG(pkg-config) check in ./configure. + +The extra check caused + +./configure: !: not found + +messages on some platforms. Bug 691463. + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T101447.310782Z"></a> +2010-07-30T10:14:47.310782Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Update documentation as --enable-dynamics is no longer required for "make so" to work. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-30T101041.906626Z"></a> +2010-07-30T10:10:41.906626Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added some missing initializations in DeviceN + +This should have been part of the DeviceN change. If left unset, +the code path assumes color display and goes down the color display +path and eventually segfaults. Bug 690428. +</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T095623.737093Z"></a> +2010-07-30T09:56:23.737093Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix time-struct related build failure with SunStudio (bug 691453). + +Apparently many platforms and compilers, including gcc and intel C, +require both <sys/time.h> and <time.h>. This patch just adds Sun Pro C +to the list of such platforms and compilers. + +</pre> +<p>[base/time_.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T094551.500432Z"></a> +2010-07-30T09:45:51.500432Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Avoid that the x11 output device can create huge windows which crash the X server. Bug 690444. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T085817.493418Z"></a> +2010-07-30T08:58:17.493418Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Assorted fixes for the modularized X11 output device + +All object files destined for shared libraries needed to be compiled +with -fPIC but this is not the case for gsparamx.c, gdevemap.c, and +gdevxcmp.c which are required by other parts to be built as standard. + +This change makes x11 not depend on gsparamx.c and gdevemap.c (and not +geeting them included in the shared library X11.so). gsparamx.c is +part of psdf and is usually included and available, and gdevemap.c is +small enough to be inserted completely where it is used. + +gdevxcmp.c is addressed by building it with $(GLCCSHARED) and not with +$(GLCC). + +In addition, $(CC_SHARED) is only used for object files, rather than +for linking, so DYNAMIC_CFLAGS is more appropiate here than +DYNAMIC_LDLAGS. + +Bug 691510 + +</pre> +<p>[base/gdevxxf.c base/Makefile.in base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-29T182806.621749Z"></a> +2010-07-29T18:28:06.621749Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a comment recommending -sstdout=%stderr with -sOutputFile=- to prevent +PostScript files that print from messing up the output. Bug 691507. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-29T142919.627579Z"></a> +2010-07-29T14:29:19.627579Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable left over from removal of pattern_cache_alt. + +No expected changes. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-07-29T140539.594612Z"></a> +2010-07-29T14:05:39.594612Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : try not to write out invalid xref + +Exposed by bug #691503. There are circumstances under which we create a reference to a +/Page object which does not yet exist (creating an outline tree for example). In this +case we create a reference to the page, and set its initial offset to the current +position in the PDF file. When we later write the real object we update the position +to reflect the point in the file where it is actually stored. + +However, if we don't actually ever write the object (in the case above, because +LastPage is set before the destination page), then the object remains pointing to the +wrong location in the file. This is then written into the xref table, and this confuses +the current version of Ghostscript. + +The patch creates new pages with an offset of 0 (which is always invalid because the +PDF header means the minimum offset for any object is 15). If the page is later +created then the offset gets updated. If it is not written, however, we now check in +the xref writing code to see if an object has an offset of 0. If it does, then we +break the xref table up and do not write an xref entry for the missing object. + +Ghostscript is happy with this and processes the file. + +NB the proper fix is to not emit the Outline entry for the page which will not be +present in the output, and a patch has been suggested to achieve this. This code has +some uses, however, as it may prevent this kind of problem in the future. It also +permits objects to be created and never referenced (presumably because they are never +used) without leaving invalid entries in the xref, which might be useful. + +No expected differences. +</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2010-07-29T135953.090810Z"></a> +2010-07-29T13:59:53.090810Z Chris Liddell</strong></p> +<blockquote> +<pre> +Two changes for two primarily pdfwrite problems with FAPI/FT. + +The first is to only replace whichever of BuildGlyph or BuildChar +procedures the original font actually contained, replacing both +regardless confused some of "decoding" code elsewhere in GS +(op_show_continue_dispatch()) and we ended up receiving a valid +glyph to render instead of notdef. In this case we ended up incorrectly +stroking a charpath (this was seen with Quark's Type 3 "special effects" +font). With rendering output this resulted in a boldening effect on the glyph, +in pdfwrite, the result was strange extra lines through the glyph. + +The second change is to due pdfwrite's use of a unit matrix for some of +its work. This resulted in small glyph metrics rounding to zero within +Freetype, and pdfwrite thinking a glyph had a width of zero. So make +the scale value at which we consider a glyph to be "small" an order of magnitude +larger, which gets compensated for in the calculation of Freetype's final +matrix. + +Unfortunately this does cause ~2600 differences in the cluster tests: some +are progressions, most are pixel differences due to rounding differences +because the scaling numbers have changed in Freetype. + +Fixes Bug 691383 + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T184446.282683Z"></a> +2010-07-28T18:44:46.282683Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug #691493. Revert some of the work done for gs_2_colors. + +I had needlessly attempted to have 2 pattern_cache's, one for stroking +colors and one for non-stroking colors. Given that the pattern_cache is +indexed by color id number, this is not necessary as all the data can +live happily in just one instance. + +This removes the problem seen in the bug (where it was getting into an +infinite loop trying to populate the cache). + +Local cluster testing shows this produces 57 differences, all (I think) +non-determinisms. + + +</pre> +<p>[base/gsstate.c base/gxistate.h base/gsistate.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T123751.588339Z"></a> +2010-07-28T12:37:51.588339Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device "cups": Improved support for rendering jobs with high memory demands. + +Let Ghostscript determine the memory buffer sizes automatically (as it +does with all the other output devices) if the environment variable +RIP_MAX_CACHE is not set, zero, or does not begin with a number (like +"auto"). If RIP_MAX_CACHE defines a valid value, use the actual value +for BufferSpace and not 1/10 of it. MaxBitmap is the maximum buffer +size to be used when rendering in full page mode, BufferSpace is the +buffer size used in banding mode. Banding mode is used if MaxBitmap is +too small to hold one page. Bug 691499. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T092249.016213Z"></a> +2010-07-28T09:22:49.016213Z Robin Watts</strong></p> +<blockquote> +<pre> +Add new gp_thread_start, gp_thread_finish abstraction, and deprecate old +gs_create_thread function. Adapt multiple rendering thread code to use +this new style instead. Hopefully this should solve the problems seen +in rare cases when a test thread doesn't get scheduled until after the +DLL has exited and the code isn't around any more. + +No expected differences. + +This code has been tested with MSVC and on linux with pthreads. While it +should work with Borland and Watcom (as all the headers appear consistent) +I have not been able to properly test it. Therefore the code is currently +configured to fall back to the old code, thus hopefully guaranteeing that +this commit won't make the operation under Borland/Watcom any worse than +it is now. This fallback is controlled by a single define for each of +these systems in gp_wsync.c, so it's easy to test. If users can report +success with the new code we can remove the fallback trivially. + + +</pre> +<p>[base/gp_wsync.c base/gxclthrd.c base/gp_nsync.c base/gp_psync.c base/gxclthrd.h base/gpsync.h]</p> +</blockquote> + +<p><strong><a name="2010-07-28T073652.403693Z"></a> +2010-07-28T07:36:52.403693Z Ken Sharp</strong></p> +<blockquote> +<pre> +As pointed out by SaGS in Bug #691440, comment 5(C) there was a typo in revision 11498, +a '>>' was accidentally dropped form the batch file. +</pre> +<p>[lib/ps2pdf.bat]</p> +</blockquote> + +<p><strong><a name="2010-07-27T071003.221027Z"></a> +2010-07-27T07:10:03.221027Z Chris Liddell</strong></p> +<blockquote> +<pre> +Add missing free of the new bitmap data. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-27T070247.392994Z"></a> +2010-07-27T07:02:47.392994Z Chris Liddell</strong></p> +<blockquote> +<pre> +Slightly revise comment for why we might need to create a new bitmap +in fapi_finish_render_aux() + +No cluster differences expected. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-26T084833.786696Z"></a> +2010-07-26T08:48:33.786696Z Chris Liddell</strong></p> +<blockquote> +<pre> +A much better solution for Bug 691328. + +The bitmap data coming from a font scaler/renderer may not have its raster +alignment as Ghostscript expects, so in the event that is the case, create +a bitmap which is GS compatible in the FAPI layer, before calling any +further operations on it. + +This reverts the previous "hack" from r11362. + +No cluster differences expected. + +</pre> +<p>[base/gsbitops.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-24T225746.607791Z"></a> +2010-07-24T22:57:46.607791Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Render 3D annotations (using appearance stream) on the printer device even +if Print flag (0x4) is not set. This is done following AR8 and AR9 example +but contrary to PDF 1.7 spec. Bug 691486, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-23T200128.232264Z"></a> +2010-07-23T20:01:28.232264Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Make *clean targets remove generated tif*.h files. Bug 691485. +</pre> +<p>[base/gs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T190145.196186Z"></a> +2010-07-23T19:01:45.196186Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove .dividesfnts procedure, which is not needed by PS interpreter after +the introduction and use of string_array_access_proc() way back in +revision 176. FreeType doesn't require a particular way to split sfnts +either. ps2write includes procedures to create a well formed Type 42 from +a TrueType font. + +The error is caused by .dividesfnts only spliting strings when the split +offset is even. The sample file has a *long* run of cases where the split +offsets are odd. When an even offset is finally found, the number of buffered +bytes exceeds the maximum length of the string causing /rangecheck error. +Thanks to Chris Liddell for the analysis of the problem. +Bug 691473, customer 532. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-23T092028.484085Z"></a> +2010-07-23T09:20:28.484085Z Chris Liddell</strong></p> +<blockquote> +<pre> +Commit the correct change for Bug 691427 + + + +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T082243.299979Z"></a> +2010-07-23T08:22:43.299979Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change the gsicc* targets from using GCFLAGS to CFLAGS. This ensure that the +options for building .so objects are correct. + +Additionally, add the extra dependencies to the sodebug target so it works +correctly. + +No cluster differences expected. + +Bug 691427 + +</pre> +<p>[base/lib.mak base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T025737.996803Z"></a> +2010-07-23T02:57:37.996803Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Handle the case when, contrary to the spec, default viewing optional content +configuration dictionary has /BaseState attribute equal /OFF. Mark all OCGs +/OFF and unmark ON UCGs. Bug 691491, customer 532. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-21T192614.458296Z"></a> +2010-07-21T19:26:14.458296Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691478 + +Note that string objects that are maintained as user params must be either allocated in non-gc memory or be a constant in the executable. The problem stems from the way userparams are retained during garbage collection in a param_list (collected by currentuserparams). For some reason this param_list does not get the pointers to strings relocated during the GC. Note that the param_dict itself is correctly updated by reloc, it is just the pointers to the strings in the param_list that are not traced and updated. In this particular case, ICCProfilesDir sets a string in the icc_manager. When a reclaim occurs, the string is relocated (when in non-gc memory and when it is noted to the gc with the proper object descriptor). Then if a set_icc_directory occurs, the user params pointer has NOT been updated and validation problems will occur. Fix for this was to make the string not known to the GC and to allocate in non-gc memory. When icc manager is deallocated, the string is also deallocated.</pre> +<p>[base/gsicc_manage.c psi/zusparam.c]</p> +</blockquote> + +<p><strong><a name="2010-07-21T000316.900862Z"></a> +2010-07-21T00:03:16.900862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that non-isolated transparency groups are rendered correctly. This fixes a rendering issue with fts_25_2524 and with a few in the test suite. A future optimization will be to avoid the extra buffer push if the blend mode is normal, since in that case we can draw directly into the parent buffer.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-20T094634.095118Z"></a> +2010-07-20T09:46:34.095118Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Add support for user defined huffman table. + +This code adds support for segment type 53 segments, which supplies +inline huffman code table. Bug 689853. + +Many thanks to Justin Greer. + + +</pre> +<p>[jbig2dec/jbig2_segment.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_huffman.h]</p> +</blockquote> + +<p><strong><a name="2010-07-20T082305.218485Z"></a> +2010-07-20T08:23:05.218485Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Catching up to the latest jbig2dec source. + +This includes following jbig2dec git commits: + +commit d26c7e4f39f76fe70cc61d6dc14d05a042a9be48 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Tue Jul 20 08:01:29 2010 +0000 + + Fix jbig2_image_set_pixel function prototype + + The declaration of jbig2_image_set_pixel was differenct between + jbig2_image.h and jbig2_image.c (int value vs bool value). And + prevented compiling it by MSVC comiler in C++ mode. + This patch fixes it. Bug #691461. + +commit c5d61c78c0de785b74b86d4e5298e3cc7b9e2b68 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Fri Jul 16 09:13:41 2010 +0000 + + A little fix to allocating memory size + +commit e12fa07da845515911db8be2f7cfa8ef551061ba +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:49:09 2010 +0200 + + Use the jbig2_new and jbig2_renew macros instead of calling + jbig2_alloc and jbig2_realloc directly. Also adds a few typecasts + and #defines required to compile the source as C++. + +commit 31dd7ef66dbd1c34df08365aa3c36e6391617f37 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:42:38 2010 +0200 + + Update VERSION define in config_win32.h + +commit 941b73315a166fe07e0f1a1b81171477285280f7 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:41:46 2010 +0200 + + Add Makefile.unix -- a simple makefile for unix-like systems. + +commit f6066822041bbffd7169fd4bfc19c48daae8f155 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:35:58 2010 +0200 + + Fix memory leak of the word stream struct. + + +No visible difference expected. + + + + +</pre> +<p>[jbig2dec/config_win32.h jbig2dec/jbig2.c jbig2dec/jbig2_image_pbm.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_priv.h jbig2dec/jbig2_image.h jbig2dec/jbig2_refinement.c jbig2dec/jbig2dec.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_halftone.c jbig2dec/Makefile.unix jbig2dec/jbig2_segment.c jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_generic.c jbig2dec/jbig2_page.c]</p> +</blockquote> + +<p><strong><a name="2010-07-20T055604.938511Z"></a> +2010-07-20T05:56:04.938511Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Remove noisy warnings if embedded icc profile is not valid. In those cases, we use the default and move on. </pre> +<p>[psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2010-07-19T212235.957060Z"></a> +2010-07-19T21:22:35.957060Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug691474. Source of error was due to icc hash code being read from clist after the transfer function. It should have been read prior to the transfer function. This was the first file we have seen that had a soft mask with a transfer function. Also fix for rendering of this file. The softmasks only uses the alpha channel as opposed to the luminosity of the object. Progression with CityMap-evnice.pdf in test suite. That file must have a alpha style softmask.</pre> +<p>[base/gdevp14.c base/gstparam.h]</p> +</blockquote> + +<p><strong><a name="2010-07-19T154536.535276Z"></a> +2010-07-19T15:45:36.535276Z Chris Liddell</strong></p> +<blockquote> +<pre> + +Update trunk to FreeType 2.4.1 + +The important change (from Ghostscript's point of view) is that the previously +patented TrueType hinting operations have been enabled by default after the +expiration of the patents in question. + +This change (the hinting being enabled) causes 3060 non-pdfwrite cluster +changes, and 655 pdfwrite changes - these are expected, and are +progressions. + +</pre> +<p>[freetype/builds/unix/config.sub freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/builds/win32/w32-dev.mk freetype/src/type1/t1objs.h freetype/docs/reference/ft2-gasp_table.html freetype/src/pshinter freetype/docs/INSTALL.CROSS freetype/src freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/builds/win32/win32-def.mk freetype/src/type1 freetype/builds/wince/vc2005-ce freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/docs/reference/ft2-glyph_stroker.html freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/raster/ftrend1.h freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/builds/mac/ftmac.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/builds/amiga/include/freetype freetype/builds/mac/FreeType.m68k_cfm.make.txt freetype/src/psaux/psaux.c freetype/builds/ansi freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/docs/reference/ft2-list_processing.html freetype/include/freetype/ftcache.h freetype/src/pcf/pcfread.h freetype/builds/unix/ft2unix.h freetype/src/raster/Jamfile freetype/builds/atari/FREETYPE.PRJ freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/internal/services/svcid.h freetype/include/freetype/ftincrem.h freetype/src/lzw freetype/builds/compiler/bcc-dev.mk freetype/src/pshinter/pshalgo.h freetype/src/tools/test_afm.c freetype/src/psnames/psnamerr.h freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/vms_make.com freetype/include/freetype/freetype.h freetype/docs/INSTALL.UNIX freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfrload.c freetype/src/pfr/pfr.c freetype/builds/amiga/src freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/builds/detect.mk freetype/src/tools/ftrandom freetype/docs/reference/ft2-cache_subsystem.html freetype/builds/win32/vc2005 freetype/src/type1/t1gload.c freetype/builds/win32/vc2008 freetype/src/base/ftbbox.c freetype/builds/dos freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/docs/reference/ft2-glyph_variants.html freetype/src/bdf/bdferror.h freetype/builds/unix/aclocal.m4 freetype/src/gxvalid/rules.mk freetype/docs/reference/ft2-bdf_fonts.html freetype/src/pcf/pcf.c freetype/src/otvalid/rules.mk freetype/include/freetype/internal/services/svotval.h freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/builds/compiler/win-lcc.mk freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/builds/mac/FreeType.ppc_classic.make.txt freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/docs freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/.gitignore freetype/src/base/ftbase.h freetype/builds/compiler freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/builds/amiga/src/base/ftsystem.c freetype/src/bdf/bdf.h freetype/src/cff/cff.c freetype/src/gxvalid/gxvalid.c freetype/builds/win32/w32-lcc.mk freetype/include/freetype/internal/services freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/docs/reference/ft2-type1_tables.html freetype/src/autofit/afmodule.c freetype/builds/unix/detect.mk freetype/include freetype/src/autofit/afmodule.h freetype/builds/vms freetype/src/pfr/pfrcmap.c freetype/objs/README freetype/builds/dos/dos-wat.mk freetype/builds/exports.mk freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/builds/amiga/smakefile freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/builds/win32/vc2005/freetype.sln freetype/builds/mac freetype/builds/atari freetype/builds/compiler/visualage.mk freetype/builds/newline freetype/builds/vms/ftsystem.c freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/builds/mac/ascii2mpw.py freetype/builds/unix/.gitignore freetype/src/raster/module.mk freetype/src/type1/t1afm.c freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/builds/win32/ftdebug.c freetype/src/tools freetype/src/type1/t1afm.h freetype/src/type1/t1tokens.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/builds/dos/dos-emx.mk freetype/src/pshinter/pshrec.h freetype/src/autofit/autofit.c freetype/builds/win32/w32-wat.mk freetype/builds/wince/vc2008-ce freetype/src/truetype/ttobjs.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/otvalid/otvgsub.c freetype/src/truetype/ttobjs.h freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/builds/win32/visualc/freetype.sln freetype/include/freetype/ftglyph.h freetype/docs/reference/ft2-gx_validation.html freetype/builds/vms/ftconfig.h freetype/builds/win32/vc2005/index.html freetype/builds/unix/unixddef.mk freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/builds/dos/detect.mk freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/builds/wince freetype/src/autofit/aflatin2.h freetype/builds/win32/w32-mingw32.mk freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/builds/link_std.mk freetype/src/cache/ftcglyph.h freetype/src/pshinter/pshinter.c freetype/src/cache/Jamfile freetype/src/tools/test_bbox.c freetype/include/freetype/internal/services/svpsinfo.h freetype/src/type42/t42types.h freetype/builds/os2/os2-dev.mk freetype/builds/mac/ftlib.prj.xml freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/raster/rastpic.h freetype/src/tools/docmaker/docbeauty.py freetype/builds/amiga/include freetype/docs/reference/ft2-incremental.html freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/builds/compiler/watcom.mk freetype/builds/dos/dos-gcc.mk freetype/src/sfnt/module.mk freetype/src/psnames freetype/docs/INSTALL freetype/src/type1/t1load.c freetype/src/gzip/inftrees.c freetype/src/gzip freetype/builds/amiga/src/base/ftdebug.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/gxvalid/gxvfeat.c freetype/src/cff/cfftoken.h freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/builds/wince/vc2008-ce/freetype.sln freetype/src/pfr/pfrsbit.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvfeat.h freetype/builds/unix/configure freetype/docs/reference/ft2-basic_types.html freetype/src/otvalid freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/include/freetype/ftmm.h freetype/builds/symbian/freetype.mmp freetype/src/base/ftglyph.c freetype/src/sfnt freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/sfnt/sfdriver.c freetype/src/psaux/afmparse.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/sfnt/sfdriver.h freetype/src/psaux/afmparse.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/docs/reference/ft2-sfnt_names.html freetype/builds/win32/visualc/freetype.vcproj freetype/builds/atari/deflinejoiner.awk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/winfonts freetype/builds/dos/dos-def.mk freetype/src/pshinter/pshpic.h freetype/builds/win32/w32-gcc.mk freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/raster.txt freetype/builds/atari/FNames.SIC freetype/builds/atari/ATARI.H freetype/src/autofit/afpic.h freetype/src/otvalid/otvgpos.c freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffdrivr.c freetype/docs/reference/ft2-base_interface.html freetype/src/cid/cidriver.c freetype/builds/mac/README freetype/src/otvalid/otvgpos.h freetype/include/freetype/ftgasp.h freetype/builds/unix/unix-cc.in freetype/src/autofit/afindic.c freetype/src/cff/cffdrivr.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/raster freetype/builds/unix/ft-munmap.m4 freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/docs/reference/ft2-index.html freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/builds/os2/detect.mk freetype/src/gzip/zconf.h freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/truetype freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/builds/unix/unix-dev.mk freetype/src/otvalid/otvcommn.c freetype/src/otvalid/otvalid.c freetype/include/freetype/config/ftmodule.h freetype/src/otvalid/otvcommn.h freetype/src/otvalid/otvalid.h freetype/include/freetype/ftxf86.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/builds/win32/vc2008/freetype.sln freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/docs/reference/ft2-gzip.html freetype/builds/compiler/emx.mk freetype/include/freetype/ftstroke.h freetype/builds/unix/unix.mk freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/objs/.gitignore freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/win32/visualce/freetype.dsp freetype/ChangeLog.20 freetype/src/cid/ciderrs.h freetype/src/type42/t42parse.h freetype/ChangeLog.21 freetype/builds/unix/configure.ac freetype/ChangeLog.22 freetype/builds/unix/ftconfig.in freetype/builds/beos freetype/ChangeLog.23 freetype/src/bdf/bdfdrivr.h freetype/builds/win32/visualce/freetype.dsw freetype/include/freetype/tttables.h freetype/docs/reference/ft2-quick_advance.html freetype/builds/unix/freetype2.in freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/gxvalid freetype/docs/reference/ft2-mac_specific.html freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/src/pcf/pcfdrivr.c freetype/include/freetype/internal/ftobjs.h freetype/builds/symbian/bld.inf freetype/src/gxvalid/gxvmort5.c freetype/src/psnames/Jamfile freetype/src/pcf/pcfdrivr.h freetype/builds/unix/ftsystem.c freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/builds/compiler/gcc-dev.mk freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/builds freetype/include/freetype/internal/services/svpostnm.h freetype/builds/unix/mkinstalldirs freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/docs/reference/ft2-truetype_tables.html freetype/builds/compiler/gcc.mk freetype/builds/unix/config.guess freetype/src/otvalid/Jamfile freetype/src/autofit/afloader.c freetype/include/freetype/internal/services/svkern.h freetype/builds/beos/beos-def.mk freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/sfnt/Jamfile freetype/src/psaux/psobjs.c freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/docs/reference/ft2-header_file_macros.html freetype/src/pshinter/pshnterr.h freetype/docs/reference/ft2-ot_validation.html freetype/src/base/ftcalc.c freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/psaux freetype/builds/unix/freetype2.m4 freetype/docs/reference/ft2-outline_processing.html freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/builds/win32/visualc/freetype.dsw freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/type42/rules.mk freetype/src/tools/ftrandom/Makefile freetype/src/pshinter/module.mk freetype/builds/amiga/include/freetype/config/ftmodule.h freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/builds/amiga/makefile.os4 freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/include/freetype/ftoutln.h freetype/src/cff/cffobjs.h freetype/docs/reference/ft2-truetype_engine.html freetype/builds/beos/detect.mk freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/winfonts/rules.mk freetype/src/tools/ftrandom/README freetype/src/pcf freetype/docs/CHANGES freetype freetype/src/base freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/autofit freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/builds/atari/gen-purec-patch.sh freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/docs/reference/ft2-system_interface.html freetype/builds/win32/w32-bcc.mk freetype/src/pcf/README freetype/src/gxvalid/gxvtrak.c freetype/include/freetype/internal/ftdriver.h freetype/objs freetype/include/freetype/ftgzip.h freetype/include/freetype/internal/services/svbdf.h freetype/src/base/ftrfork.c freetype/src/smooth/rules.mk freetype/src/base/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/builds/win32/w32-intl.mk freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/src/type42/type42.c freetype/src/tools/docmaker/sources.py freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/builds/unix/unix-lcc.mk freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/autofit/aflatin.c freetype/src/truetype/ttdriver.h freetype/src/base/ftsnames.c freetype/src/pfr/pfrgload.h freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/builds/unix freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/builds/compiler/intelc.mk freetype/src/base/ftwinfnt.c freetype/src/base/ftsynth.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/lzw/ftlzw.c freetype/src/sfnt/ttbdf.h freetype/builds/win32/vc2008/freetype.vcproj freetype/builds/win32/w32-bccd.mk freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/src/sfnt/ttcmap.c freetype/builds/ansi/ansi.mk freetype/include/freetype/internal/services/svmm.h freetype/src/pfr freetype/builds/compiler/ansi-cc.mk freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/builds/toplevel.mk freetype/src/truetype/tterrors.h freetype/builds/win32 freetype/builds/symbian freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/builds/win32/visualce freetype/include/freetype/internal/pshints.h freetype/builds/amiga freetype/builds/amiga/src/base freetype/builds/win32/w32-icc.mk freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/builds/wince/vc2008-ce/index.html freetype/src/psaux/psauxmod.c freetype/src/pfr/module.mk freetype/src/base/ftcid.c freetype/src/psnames/psmodule.h freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/gzip/inffixed.h freetype/src/bdf freetype/docs/reference/ft2-pfr_fonts.html freetype/src/sfnt/ttcmapc.h freetype/docs/reference freetype/builds/os2/os2-gcc.mk freetype/builds/compiler/bcc.mk freetype/builds/link_dos.mk freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/ftwinfnt.h freetype/builds/unix/freetype-config.in freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/docs/release freetype/include/freetype/ftimage.h freetype/src/lzw/ftzopen.c freetype/src/pfr/pfrobjs.h freetype/src/lzw/Jamfile freetype/src/truetype/truetype.c freetype/Makefile freetype/src/base/fttrigon.c freetype/builds/win32/w32-vcc.mk freetype/src/lzw/ftzopen.h freetype/src/autofit/afhints.c freetype/builds/unix/install.mk freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/builds/atari/README.TXT freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/docs/reference/ft2-version.html freetype/src/smooth/Jamfile freetype/src/tools/docmaker freetype/src/gzip/adler32.c freetype/src/tools/docmaker/.gitignore freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/builds/compiler/unix-lcc.mk freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/wince/ftdebug.c freetype/src/gzip/zutil.c freetype/src/sfnt/sfntpic.c freetype/builds/unix/unix-def.in freetype/src/winfonts/winfnt.h freetype/builds/os2/os2-def.mk freetype/src/smooth/smooth.c freetype/src/gzip/zutil.h freetype/src/sfnt/sfntpic.h freetype/devel freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/docs/reference/ft2-module_management.html freetype/src/gxvalid/gxvmorx4.c freetype/include/freetype/internal/pcftypes.h freetype/src/pfr/pfrerror.h freetype/src/smooth/ftgrays.h freetype/src/winfonts/Jamfile freetype/builds/beos/beos.mk freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/include/freetype/config freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-font_formats.html freetype/src/otvalid/module.mk freetype/include/freetype/internal/services/svpscmap.h freetype/ChangeLog freetype/include/freetype/fttrigon.h freetype/builds/win32/visualc freetype/src/cache/ftcmanag.c freetype/docs/FTL.TXT freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/builds/mac/FreeType.ppc_carbon.make.txt freetype/builds/wince/vc2005-ce/freetype.sln freetype/docs/reference/ft2-sizes_management.html freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/cff freetype/include/freetype/internal/services/svtteng.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/builds/modules.mk freetype/src/smooth freetype/docs/reference/ft2-bitmap_handling.html freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/builds/freetype.mk freetype/include/freetype/internal/ftpic.h freetype/src/type42 freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/builds/unix/install-sh freetype/src/psnames/psnames.c freetype/builds/os2 freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/cache freetype/src/smooth/ftsmerrs.h freetype/src/type42/t42objs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/builds/amiga/include/freetype/config/ftconfig.h freetype/src/psaux/t1decode.c freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/builds/ansi/ansi-def.mk freetype/src/otvalid/otvjstf.c freetype/src/type42/module.mk freetype/src/cff/cffgload.c freetype/src/autofit/aferrors.h freetype/src/gxvalid/gxvlcar.c freetype/builds/amiga/makefile freetype/include/freetype/internal/services/svsfnt.h freetype/src/bdf/README freetype/src/base/ftinit.c freetype/src/cff/cffgload.h freetype/src/cache/ftccback.h freetype/include/freetype/internal freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/docs/reference/ft2-lzw.html freetype/src/tools/Jamfile freetype/builds/win32/detect.mk freetype/builds/unix/ltmain.sh freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/gxvalid/gxvcommn.c freetype/src/cff/cffload.c freetype/include/freetype freetype/src/autofit/afangles.h freetype/builds/compiler/visualc.mk freetype/src/gxvalid/gxvcommn.h freetype/src/cff/cffload.h freetype/builds/mac/FreeType.m68k_far.make.txt freetype/builds/amiga/include/freetype/config freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cid freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/builds/amiga/README freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> + +<p><strong><a name="2010-07-18T053008.091459Z"></a> +2010-07-18T05:30:08.091459Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement halftones type 6, 10, 16 in PDF interpreter. +Use default halftone when the halftone type is incorrect. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-18T000337.786299Z"></a> +2010-07-18T00:03:37.786299Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Recognize enumerated color space #12 as CMYK following JPX baseline spec. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-17T212339.853613Z"></a> +2010-07-17T21:23:39.853613Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Re-implement handling of named page sizes to avoid dependence on +the definitions of compatibility operators (a4, letter, etc.) +in userdict. Bug 691458. +</pre> +<p>[Resource/Init/gs_init.ps Resource/Init/gs_setpd.ps Resource/Init/gs_statd.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-17T000709.985181Z"></a> +2010-07-17T00:07:09.985181Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove unused variables CC_D and CC_INT from all makefiles. +</pre> +<p>[psi/os2.mak base/unixhead.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/msvccmd.mak base/wccommon.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-16T204049.337914Z"></a> +2010-07-16T20:40:49.337914Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix the bug that prevented recognition of GenericResourceDir/Category/Name +as a valid resource path and required inclusion of GenericResourceDir in +the search path to find the same resource by searching. + +New procedure does the following: +1. Returns GenericResourceDir/Category/Name if it exists. +2. Searches for Category/Name in LIBPATH. Returns actual path if found. +3. For non-existing resources return the same path as (1). + +Old implementation added GenericResourceDir twice, didn't close files, +used system memory, called expensive procedures twice, etc. + +Regression testing shows trivial differences in 23-07.ps, which prints +the length of ResourceFileName procedure. +This is a partial fix for bug 691408. +</pre> +<p>[Resource/Init/gs_res.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-16T195803.971410Z"></a> +2010-07-16T19:58:03.971410Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Prepend icc directory to device profile name if the default name is used so that we have it during clist reading. This is a fix for the iccprofiles/ problem in 691408 when compile inits is not used. Also, fix so that the profile name is allocated in non-gc memory. This was a source of issues with the userparams dict not seeming to be traced or at least not getting its members relocated if a profile in the icc manager was relocated. This fixes the breaking of the psdcmyk device in rev 11499. Also removal of spurious warning messages.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-07-15T204206.487509Z"></a> +2010-07-15T20:42:06.487509Z Ray Johnston</strong></p> +<blockquote> +<pre> +Change pdf14_put_image so that the gx_default_begin_typed_image will +be able to call the device's 'begin_image' which is often hooked for +device specific (hardware accelerated) image rendering. This avoids +the default image rendering which results in LOTS of fill_rectangle +calls. Found with customer 532. +</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-15T192838.670595Z"></a> +2010-07-15T19:28:38.670595Z Ray Johnston</strong></p> +<blockquote> +<pre> +The other half of the version.mak change. +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-15T181417.190964Z"></a> +2010-07-15T18:14:17.190964Z Ray Johnston</strong></p> +<blockquote> +<pre> +Update version to 9.00 PRE-RELEASE (with a bogus date, but before Aug 1) +This will serve to notify folks what the next release will be (not 8.72) +</pre> +<p>[base/version.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-15T144939.770856Z"></a> +2010-07-15T14:49:39.770856Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Improve Ghostscript operation when current directory is not included in the +search path. +1. Make file path separators at the end of LIBPATH entries optional to reduce + the number of trivial configuration errors. +2. Search LIBPATH list for valid iccprofiles/ directory as a sibling to + (Resource) and set it as a default to ensure a valid default. + This code follows /GenericResourceDir example. +3. Make sure that the path name derived from /GenericFontDir is is not + searched but other font file names are searched. Earlier code relied on + a feature of .libfile not searching for an absolute path and failed + when the path was relative. +Partial fix for bugs 691350, 691408. +</pre> +<p>[Resource/Init/gs_lev2.ps Resource/Init/gs_fonts.ps Resource/Init/gs_res.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-15T054255.376283Z"></a> +2010-07-15T05:42:55.376283Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add copying default ICC profiles to disk-install location. This is necessary +for the builds with COMPILE_INITS=0, which looks for ICC profiles on disk. +Thanks to Hin-Tak for the patch. Bug 691449. +</pre> +<p>[base/unixinst.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-14T212533.726848Z"></a> +2010-07-14T21:25:33.726848Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Allow the CUPS Raster backend alternatively output compressed (version 2) CUPS Raster data (bug #689885). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T183029.088597Z"></a> +2010-07-13T18:30:29.088597Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure the local variable into which we read Truetype cmap table data (platform ID, encoding ID etc) is actually large enough to hold all the data we read into it. + +Bug 691452 (part 1) + +No cluster differences expected.</pre> +<p>[base/gsfcid2.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T082456.010563Z"></a> +2010-07-13T08:24:56.010563Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the documentation on producing PDF/X to make it clear that -sProcessColorModel +is an absolute requirement, even when using -dUseCIEColor, and that the PDFA_def.ps +file must be edited, at the very least to alter the ICCProfile entry. + +Also made some minor syntax changes in PDF/A and PDF/X documentation for greater clarity. +</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-13T070459.625768Z"></a> +2010-07-13T07:04:59.625768Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691444. Issue was introduced when interpolation max output range was set to be 65535 so that the output could be fed directly into CMM. Problem was for HT output devices like pbmraw the interpolation filter ignored the max range setting and used a max value of the frac range as output. This fixes a number of files that had regressions. Files checked with bmpcmp.</pre> +<p>[base/sidscale.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T012010.578834Z"></a> +2010-07-13T01:20:10.578834Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691445. pdf14 mapping procs were not paying attention to the trans device in the imager state. bmpcmp showed that this fixed several files.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-12T150357.186505Z"></a> +2010-07-12T15:03:57.186505Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the event the FAPI code has to replace the FontBBox array, make sure the new array is marked executable. + +No cluster differences expected.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-11T152614.804339Z"></a> +2010-07-11T15:26:14.804339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprint regressions introduced with icc branch merge. Review of bmp compares reveals that this fixes a number of issues hence the large number of differences with the commit. There is one regression introduced with this commit, which is IA3Z0302.pdf.pdf.pkmraw.300 page 2 a bug will be opened for this. Also, review of Atona_Technical_1v1_x3.pdf.pam.72 reveals there some overprint issues may still exist with bitmap and halftone image overprinting on top of spotcolors when Overprint is true and and Overprint mode is set to On. This issue may have existed prior to the icc commit. Will open a bug to investigate.</pre> +<p>[base/gsicc_create.c base/gxcspace.h base/gscspace.c base/gsicc.c]</p> +</blockquote> + +<p><strong><a name="2010-07-10T012854.795367Z"></a> +2010-07-10T01:28:54.795367Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix 'status' operator to return false when the IODevice prefix is +not found instead of undefinedfilename. Found while working on 691408. +</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-07-09T183119.790276Z"></a> +2010-07-09T18:31:19.790276Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix to use stable memory for profiledir in icc_manager structure and change +all 'current_' functions to return the actual value set, the default, or +an empty string if no default. Also set the default ICCProfilesDir to +%rom%iccprofiles which will work if COMPILE_INITS=1. This should also be +set by the PS init code (see bug 691408). +</pre> +<p>[psi/zusparam.c]</p> +</blockquote> + +<p><strong><a name="2010-07-09T094017.170342Z"></a> +2010-07-09T09:40:17.170342Z Ken Sharp</strong></p> +<blockquote> +<pre> +Improve Windows batch files. +Bug #691440 "Windows bat files use relative paths and write to non-temp dir" + +As suggested by Bjorn Martensson in bug #691440. Altered all batch files which call +other batch files so that they prepend the call with the location the original +batch file was executed from. This allows batch files such as ps2pdf.bat to be called +from locations other than the Ghostscript 'lib' directory. + +Also altered the location of temporary files created by the batch files to the Windows +temporary folder by using the %TEMP% environment variable. If this variable is not set +for some reason then this will still default to the current directory, as it does now. +This allows batch files to be run from directories which are read only. + +Since these files are not used by our (Linux) cluster there will be no differences. I +have tested a number of the scripts, but not all of them. The ones I have tested seem +to work well. + +I finally found a reference which states that the %~d batch parameter was introduced +to Windows in NT4, this means that these batch files will likely fail on older versions +of Windows (ie Windows 3.x/95/98). I don't believe we need to support such antiquated +Operating Systems any further.</pre> +<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat toolbin/msvcxml.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/gslp.bat lib/lpgs.bat lib/ps2ps.bat lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-07-08T200159.912724Z"></a> +2010-07-08T20:01:59.912724Z Robin Watts</strong></p> +<blockquote> +<pre> +Extend the experimental ENABLE_TRAP_AMALGAMATION code to the +TEMPLATE_slant_into_trapezoids cases too. The current code generates 3 +trapezoids; the new code will (if the option is enabled) attempt to +amalgamate the top/bottom traps into the middle one. + +Enabling this code (but disabling the existing code for trap amalgamation) +shows no differences. Enabling all the trap amalgamation code shows 888 +differences, all fairly innocuous. + +As this code is going in disabled, no cluster differences are expected. + +</pre> +<p>[base/gxfillts.h base/gxfill.c]</p> +</blockquote> + +<p><strong><a name="2010-07-08T162020.892723Z"></a> +2010-07-08T16:20:20.892723Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update the Ghostscript man page to reflect the new default for -P option +made by the rev. 11494. +</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2010-07-07T212755.422122Z"></a> +2010-07-07T21:27:55.422122Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +clusterpush.pl with no options now tests language_switch build as well as gs, pcl, and xps. + +Also some minor documentation improvements. +</pre> +<p>[toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-07-07T174709.812924Z"></a> +2010-07-07T17:47:09.812924Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Dont't search for initialization files in the current directory first +by default because this leads to well-known security and confusion problems. +Do this only on the user's request by -P switch. Also revert rev. 11468, +which is no longer needed. Bug 691350. +</pre> +<p>[base/openvms.mmk psi/zfile.c doc/Use.htm base/bcwin32.mak base/ugcclib.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak toolbin/msvcxml.bat psi/os2.mak base/watclib.mak base/openvms.mak base/macosx.mak base/watcw32.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-07T134957.894248Z"></a> +2010-07-07T13:49:57.894248Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix : temporary memory device not finalized. + +clist_init_data creates a temporary memory device in order to "get the memory planarity +set up", using a local variable to hold the device. When the function exits the +variable goes out of scope and disappears. + +Because the memory device is a forwarding device it increments the reference count of +its target, but because it is never finalized it does not decrement the reference count +when it is destroyed, leading to an incorrect target reference count. + +This only affects pdfwrite at present, but it prevents valid PDF files being written +because the file is only terminated when the pdfwrite device reference count reaches +0 and the pdfwrite device is closed. + +Added calls to finalize the device before discarding it. + +No expected differences. +</pre> +<p>[base/gxclist.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T222732.077335Z"></a> +2010-07-06T22:27:32.077335Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Increase the max number of color components to 14 to accomodate a new +record (13) found in the wild. Bug 691425. +</pre> +<p>[base/gsccolor.h]</p> +</blockquote> + +<p><strong><a name="2010-07-06T092540.558632Z"></a> +2010-07-06T09:25:40.558632Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : Named destinations with no /Page not working properly + +Bug #691344 "REGRESSION: ps2pdf of 8.70 generates correct hyperlinks but not ps2pdf of +8.71" + +The revisions 9779 and 9788 fixed a problem where DOCVIEW pdfmarks without a /Page or +/View entry were producing invalid PDF files, and a problem with DEST pdfmarks arising +from it. + +Because DOCVIEW and DEST pdfmarks share some common code in pdfwrite to create a +Destination annotation in the outptu PDF, this still left some confusion in the code. +The problem was that DOCVIEW pdfmarks need not contain Page or View data, but named +destinations *must*, but pdfmarks need not specify, in which case the current page is +used. + +Added a parameter to pdf_make_dest which allows us to differentiate the two cases and +use the current page number for a named destination if no page is supplied. + +The regression suite can't test this non-printing feature, so no differences are +expected. +</pre> +<p>[base/gdevpdfm.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T070453.806003Z"></a> +2010-07-06T07:04:53.806003Z Ken Sharp</strong></p> +<blockquote> +<pre> +Improve handling an error condition as suggested by Alex Cherepanov in Bug #691435, +comment 9. </pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T001144.270183Z"></a> +2010-07-06T00:11:44.270183Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix BAND_LIST_STORAGE=memory to handle files that create compressed memory +files > 2Gb. Also add code to make the reporting of these file sizes a bit +better, but portability may still be an issue. Reference Bug 690199 for +customers 850 and 531. + +</pre> +<p>[base/gxclmem.c base/gxclist.c]</p> +</blockquote> + +<p><strong><a name="2010-07-05T235146.696108Z"></a> +2010-07-05T23:51:46.696108Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace all '==' executable names with '//== exec' in Ghostscript start-up +code because MS driver redefines '==' in a way that requires write access to +the top dictionary, and this is not always the case. Bug 689957. +</pre> +<p>[Resource/Init/gs_cmap.ps Resource/Init/gs_pdfwr.ps Resource/Init/pdf_main.ps Resource/Init/gs_resmp.ps Resource/Init/pdf_font.ps Resource/Init/gs_fonts.ps Resource/Init/pdf_base.ps Resource/Init/pdf_sec.ps Resource/Init/gs_ttf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_cff.ps Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-05T161838.343520Z"></a> +2010-07-05T16:18:38.343520Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Set svn:ignore property for all remaining generated files in jasper, +jbig2dec, and tiff directories. +</pre> +<p>[tiff/contrib/iptcutil tiff/contrib/tags tiff/build tiff/tools tiff tiff/contrib tiff/contrib/mac-mpw tiff/contrib/acorn tiff/html jasper/src/libjasper/include/jasper tiff/contrib/mac-cw tiff/contrib/dbs tiff/html/images tiff/man tiff/contrib/win_dib tiff/html/man tiff/libtiff tiff/test tiff/contrib/addtiffo jbig2dec tiff/port tiff/contrib/ras tiff/contrib/mfs tiff/contrib/pds tiff/contrib/dbs/xtiff tiff/contrib/stream]</p> +</blockquote> + +<p><strong><a name="2010-07-05T151009.278642Z"></a> +2010-07-05T15:10:09.278642Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a pair of parentheses to silence a gcc compiler warning. Also extend the comment +slightly to be a little more informative. + +No differences expected. +</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-05T051316.304757Z"></a> +2010-07-05T05:13:16.304757Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use the presence of /CIDSystemInfo instead of /Subtype value to decide +whether the object is a CID font. The former is required by Acrobat, the +latter appears to be ignored by Acrobat, and so may be wrong. Bug 691426. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-05T012343.139942Z"></a> +2010-07-05T01:23:43.139942Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +test for emptiness of HAVE_FONTCONFIG is better than non-yes-ness of enable_fontconfig; fine-tuning of r11448 to --disable-cairo when fontconfig is not available or user-disabled</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-05T011830.861454Z"></a> +2010-07-05T01:18:30.861454Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +new/renamed documentation file libpng-1.2.44.txt missed in r11482 for libpng 1.2.42->1.2.44 upgrade</pre> +<p>[libpng/libpng-1.2.44.txt]</p> +</blockquote> + +<p><strong><a name="2010-07-04T190417.740307Z"></a> +2010-07-04T19:04:17.740307Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reaplly Hin-Tak's patch, rev. 11453, which was rolled back by the rev. 11462. +Apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug +fixes - CVE-2010-1205. Bug 691438. +</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/projects/wince.txt libpng/libpng.3 libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-07-03T002940.754683Z"></a> +2010-07-03T00:29:40.754683Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +missed linker defines needed to build under 64-bit windows in a previous commit r11388 for bug 691302</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-01T215829.492747Z"></a> +2010-07-01T21:58:29.492747Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Bubble up of error when allocation of default profile cmm handle fails. Fix for bug 691429</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T211355.381754Z"></a> +2010-07-01T21:13:55.381754Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert r11469(r11455) - wrong fix to bug 690428</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T190829.177579Z"></a> +2010-07-01T19:08:29.177579Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement (pdfwrite) : Fall back to Flate instead of JPEG when an image turns out +short. + +Bug #691435 "any PDFSETTINGS besides /default gives dictfull error" + +There are two problems; firstly when an error is encountered closing a filter the +error code (-1 or -2 usually) is returned and interpreted as a regular GS error, +resulting in ridiculous error messages. Modified to return ioerror instead. + +Secondly, when an image terminates with insufficient data and pdfwrite is creating a +DCT encoded image, we can't complete the image. In this case try to fall back to the +simple Flate compressed stream instead. + +No differences expected. +</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T171423.564053Z"></a> +2010-07-01T17:14:23.564053Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691431. This was caused by a PS CIE color space being used for a transparency group color space. That really should not be allowed since those color spaces are unidirectional. They are installed though when -dUseCIEColor is used with a PDF file that has transparency. Solution is to use the default ICC profiles for the group color space when this occurs.</pre> +<p>[base/gstrans.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T121920.914734Z"></a> +2010-07-01T12:19:20.914734Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert revision 11472 as it breaks almost every file in the cluster tests, +and it's preventing other meaningful work being done. + +</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T004157.037474Z"></a> +2010-07-01T00:41:57.037474Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11457</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> + +<p><strong><a name="2010-07-01T004043.889090Z"></a> +2010-07-01T00:40:43.889090Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11456</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T003616.428446Z"></a> +2010-07-01T00:36:16.428446Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11454 for outdated config.guess config.sub. see original commit log</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-07-01T003305.624689Z"></a> +2010-07-01T00:33:05.624689Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo that causes linker error if one does not do make clean between builds</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-01T000022.982087Z"></a> +2010-07-01T00:00:22.982087Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply r11455 - see original commit log for details</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-06-30T233411.835858Z"></a> +2010-06-30T23:34:11.835858Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +security patch from Werner Fink, to disable loading init files from group/world-writable directories - bug 691350</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-06-30T221202.295636Z"></a> +2010-06-30T22:12:02.295636Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Initialize profile member variables that are part of serialization. Fix for Bug 691433 + + +</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T180629.735123Z"></a> +2010-06-29T18:06:29.735123Z Henry Stiles</strong></p> +<blockquote> +<pre> +remove obsolete clusterpush scripts. +</pre> +<p>[/trunk/ghostpdl/tools/clusterpush.sh toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2010-06-29T171745.269232Z"></a> +2010-06-29T17:17:45.269232Z Henry Stiles</strong></p> +<blockquote> +<pre> +revert back to 11450. +</pre> +<p>[/trunk/ghostpdl/main/pcl6_gcc.mak libpng/pngrtran.c libpng/scripts/makefile.gcmmx base/ugcclib.mak libpng/contrib/pngminim/encoder/gather.sh /trunk/ghostpdl/xps/xpspath.c base/unix-gcc.mak libpng/scripts/makefile.sgi base/gp_unifn.c base/macos-mcp.mak libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc /trunk/ghostpdl/main/pcl6_msvc.mak libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def base/macosx.mak libpng/scripts/makefile.nommx libpng/scripts/makefile.linux jpeg/config.guess base/unixansi.mak libpng/pngmem.c base/msvclib.mak libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu jpeg/config.sub libpng/scripts/libpng-config-head.in libpng/scripts/makefile.elf libpng/png.h base/lib.mak libpng/CMakeLists.txt libpng/pngrio.c libpng/Y2KINFO libpng/pngpread.c libpng/scripts/makefile.netbsd /trunk/ghostpdl/xps/xps_msvc.mak libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc /trunk/ghostpdl/xps/xpsglyphs.c libpng/README doc/Make.htm libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 /trunk/ghostpdl/language_switch/pspcl6_msvc.mak libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/libpng-1.2.44.txt libpng/scripts/makefile.solaris base/Makefile.in libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh /trunk/ghostpdl/xps/xpstile.c /trunk/ghostpdl/xps/xpsgradient.c libpng/scripts/makefile.hp64 base/gs_dll_call.h libpng/scripts/makefile.aix libpng/scripts/makefile.mingw libpng/scripts/png32ce.def /trunk/ghostpdl/common/msvc_top.mak libpng/scripts/makefile.beos base/watclib.mak /trunk/ghostpdl/xps/xpsopacity.c libpng/scripts/makefile.ne12bsd libpng/pngread.c /trunk/ghostpdl/xps/xpspage.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/example.c libpng/projects/wince.txt base/bcwin32.mak libpng/scripts/makefile.so9 libpng/pngconf.h libpng/pngwrite.c libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c base/openvms.mak base/gdevxcmp.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec base/watcw32.mak base/unix-dll.mak libpng/scripts/README.txt libpng/scripts/makefile.cygwin psi/msvc32.mak libpng/pngtest.c libpng/ANNOUNCE /trunk/ghostpdl/xps/xpsimage.c libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070829.009258Z"></a> +2010-06-29T07:08:29.009258Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +more cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub) ; this one depends on features of GNU make, so it is added as comments to avoid breaking build with non-GNU make</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070545.877229Z"></a> +2010-06-29T07:05:45.877229Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +avoid re-define _Windows if it is already defined; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070425.796552Z"></a> +2010-06-29T07:04:25.796552Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +cygwin is one platform which uses the unix file name interface but is sensitive to binary/text mode; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T064759.438186Z"></a> +2010-06-29T06:47:59.438186Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +gx_device_has_color() was changed 8 years ago in the deviceN commit (r2925), +from just color_info.numcomponents > 1 to +|| (dev)->color_info.gray_index == GX_CINFO_COMP_NO_INDEX . + +This has some unfortunate side-effect for continuous tone gray devices which +doesn't support transparency, such as a 8-bit gray X11 display, which goes +down the wrong code path. These are quite rare so it took 7 years for the bug +(bug 690428) to be seen. + +</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T060526.121392Z"></a> +2010-06-29T06:05:26.121392Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating jpeg config.sub config.guess to that from libpng 1.2.44; bug 690486</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-06-29T053019.407679Z"></a> +2010-06-29T05:30:19.407679Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug fixes - CVE-2010-1205</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/libpng-1.2.44.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/projects/wince.txt libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-06-29T052507.282125Z"></a> +2010-06-29T05:25:07.282125Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +change documentation as --enable-dynamics is no longer required for "make so" to work</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-29T052009.043972Z"></a> +2010-06-29T05:20:09.043972Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split lcms code build into arch-specific targets; try to make both windows inline assembly and unix "make so" work simultaneously; bug 691427</pre> +<p>[base/watclib.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/ugcclib.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/msvclib.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T051638.524502Z"></a> +2010-06-29T05:16:38.524502Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +move the DYNAMIC_* defines out of the --enable-dynamic condition so that it applies generally; try to "make so" work with just ./configure ; many bugs ask for make so to work</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T043410.440639Z"></a> +2010-06-29T04:34:10.440639Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +switch autoconf png test away from testing for a soon-to-be-obsolete routine to one we actually use, to smooth over the libpng 1.2.x to 1.4.x transition; bug 691111</pre> +<p>[jbig2dec/configure.ac base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T041547.742872Z"></a> +2010-06-29T04:15:47.742872Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make --disable-fontconfig imples --disable-cairo; bug 690690</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T040453.158322Z"></a> +2010-06-29T04:04:53.158322Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +tries to remove empty *obj/*bin directories when invoking "make distclean"; bug 690871</pre> +<p>[base/unix-end.mak base/Makefile.in base/unix-dll.mak base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034817.519902Z"></a> +2010-06-29T03:48:17.519902Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +check for GNU sed and switch to alternative sed options if sed is non-GNU; bug 691292</pre> +<p>[cups/pstopxl.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034430.895095Z"></a> +2010-06-29T03:44:30.895095Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 2 of update (new files) posted to 687983, corrected for current svn HEAD.</pre> +<p>[contrib/pscolor/black.pdf contrib/pscolor/color.pdf contrib/pscolor/colorsplit.vcproj contrib/pscolor/black.ps contrib/pscolor/color.ps contrib/pscolor/common.mak contrib/pscolor/input.ps contrib/pscolor/windows.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034118.718227Z"></a> +2010-06-29T03:41:18.718227Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 1 of the update (modifications to checked-in files) +to the pscolor code posted in 687983, corrected for current svn head. + +</pre> +<p>[contrib/pscolor/Makefile contrib/pscolor/test.c contrib/pscolor/instream.yy]</p> +</blockquote> + +<p><strong><a name="2010-06-29T033846.508455Z"></a> +2010-06-29T03:38:46.508455Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +ijs communication should be all binary; left-over uncommitted patch from past ijs-related work</pre> +<p>[ijs/ijs_server_example.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T033445.878285Z"></a> +2010-06-29T03:34:45.878285Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +implements ./configure --with-ufst=UFST_ROOT_DIR ; bug 691293</pre> +<p>[doc/Make.htm base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T023238.254860Z"></a> +2010-06-29T02:32:38.254860Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of static prototype that has no function.</pre> +<p>[base/gsicc_cache.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T005032.521441Z"></a> +2010-06-29T00:50:32.521441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix lack of end-of-line in file.</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T150431.998704Z"></a> +2010-06-28T15:04:31.998704Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix a typo, thanks to Ken for spotting this in review. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T105053.201708Z"></a> +2010-06-28T10:50:53.201708Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Warnings of problems within lcms only occur now in debug mode. Fix for Bug 691401</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T051659.820980Z"></a> +2010-06-28T05:16:59.820980Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Interface with lcms so that the memory allocators make use of ghostscript's allocator. This required fixing a few bugs in littlecms where he was using free instead of _cmsFree and also having lcms.h provide the prototypes if the external mem alloc is defined. Performed cluster push with no problem. Thanks to Henry for helping me track down a 64 bit issue.</pre> +<p>[lcms/include/lcms.h base/lib.mak lcms/src/cmslut.c base/lcms.mak lcms/src/cmsio1.c base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-26T200613.718954Z"></a> +2010-06-26T20:06:13.718954Z Henry Stiles</strong></p> +<blockquote> +<pre> +The ad hoc gstate setup for patterns should not call grestore after +gsave when erasing colored patterns because it results in +"wraparound", creating another gstate (no saved gstate exists when the +pattern is painted), see gsstate.c:gs_grestore() vs +gsstate.c:gs_grestore_only(). Thanks to Ken Sharp for noticing the the +extra gstate. No expected differences. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-26T175906.494303Z"></a> +2010-06-26T17:59:06.494303Z Henry Stiles</strong></p> +<blockquote> +<pre> +This file should have been checked in with revision 11433 which will +not compile without this change. +</pre> +<p>[base/gdevpxat.h]</p> +</blockquote> + +<p><strong><a name="2010-06-25T120050.643763Z"></a> +2010-06-25T12:00:50.643763Z Chris Liddell</strong></p> +<blockquote> +<pre> +Provide more robust behaviour when FT fails to render a glyph. Inistead of silently continuing when FT errors on a glyph, we'll now attempt to use the notdef, if the notdef triggers an error, we signal the error to the GS world. This ensures that any time we expect processing to continue there is valid glyph information available to the cache and other downstream devices. + +This causes one regression difference with 34_all.PS, where an extra TTF notdef is rendered. + +Bug 691416</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-24T071111.011423Z"></a> +2010-06-24T07:11:11.011423Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a couple of currently unused variables to silence a harmless compiler warning. +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T171440.891928Z"></a> +2010-06-23T17:14:40.891928Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify and fix the implementation of operator --mul--, which mishandled +some cases like "16#80000000 -1 mul". Bug 691412. +</pre> +<p>[psi/zarith.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T155639.786311Z"></a> +2010-06-23T15:56:39.786311Z Ken Sharp</strong></p> +<blockquote> +<pre> +This patch adds limited support for TrueType collection fonts to pdfwrite and ps2write. + +In the PostScript world TTC fonts are never passed down to pdfwrite, we only ever see +TrueType fonts. XPS, however, can pass back TrueType collection SNFTS data. This patch +uses the first font from the TrueType collection and writes that to the output file. +This may be too limited and may require further work in future. + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T143308.852324Z"></a> +2010-06-23T14:33:08.852324Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug691415. When equivalent ICC profile is already created we should just use it. Thanks to Ken for getting the details together.</pre> +<p>[base/gscsepr.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T050213.734047Z"></a> +2010-06-23T05:02:13.734047Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for 691359. Problem tracked down by Alex. + +What lcms is trying to do is to figure out the best prelinearization for the incoming data prior to doing the CLUT interpolation. In the case when the input is RGB based and the output Gray, lcms was using uninitialized data in constructing is prelinearization. + +Tangentially related, there could still be problems with what lcms is doing here if the number of Input channels is 1 and the number of Output channels is 3. In that case, it is possible (but not likely) that I could have radically different gamma behavior in each of the RGB channels. Trans in such a case would be constructed based upon only one curve based on the red channel. In the real world, this is probably not a problem but ideally it would be optimal to use something that provides the best prelinearization in all three channels. That is an optimization for Marti to do and perhaps is already in lcms2.</pre> +<p>[lcms/src/cmsgmt.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T145459.999510Z"></a> +2010-06-22T14:54:59.999510Z Henry Stiles</strong></p> +<blockquote> +<pre> +Erase patterns with the color white instead of filling the pattern +bitmap with 0 or 255. + +Previously the initialization was only used when anti aliasing was +enabled, now initial erasing is done for all colored patterns, +eliminating a long standing UMR in the pcl code where the pattern was +combined with the destination/source with indeterminate results. The +UMR manifested in frequent regression reports in the pcl tests +(c321.bin for example), these reports should go away with this change, +though (NB) the change only masks the underlying issue. + +</pre> +<p>[psi/zpcolor.c base/gxpcmap.c base/gxpcolor.h]</p> +</blockquote> + +<p><strong><a name="2010-06-22T061254.377174Z"></a> +2010-06-22T06:12:54.377174Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fix for bug 689836 and 691248. + +Bug 689836 - Huffman tables with only positive values are decoded incorrectly +Bug 691248 - jbig2dec doesn't handle 042_11 (Huffman Symbol Region) + +This patch fixes mulfunctions seen on standard huffman table K, L, M and N. +A difference will be seen on tests_private/comparefiles/Bug690360.pdf. +This file was affected by table K mulfunction and this is a improvement. + +</pre> +<p>[jbig2dec/jbig2_hufftab.h]</p> +</blockquote> + +<p><strong><a name="2010-06-22T060012.605983Z"></a> +2010-06-22T06:00:12.605983Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Revert rev. 7964 and use a different approach: allocate all structures +and proceed with their initialization only if all allocations were +successful. Fix memory corruption that happens at the PostScript +stack overflow. Bug 691295. +</pre> +<p>[psi/idosave.h psi/ialloc.c psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T055923.952778Z"></a> +2010-06-22T05:59:23.952778Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Added test code for every line of each standard huffman tables. + +</pre> +<p>[jbig2dec/jbig2_huffman.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T051553.089456Z"></a> +2010-06-22T05:15:53.089456Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a /.notdef entry to /CharStrings dictionary if it's missing from an +embedded Type1 font. Bug 691406, customer 130. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-21T164155.147464Z"></a> +2010-06-21T16:41:55.147464Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of improper error message. Source of a potential access violation.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-21T150703.992218Z"></a> +2010-06-21T15:07:03.992218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add the 'gs_error_Remap_Color' pseudo-error, a duplicate -f e_Remap_Color in the +PostScript interpreter, to the 'base' error list so that PDL clients other than +PostScript can make use of it for high-level pattern support. +</pre> +<p>[base/gserrors.h]</p> +</blockquote> + +<p><strong><a name="2010-06-21T011418.832712Z"></a> +2010-06-21T01:14:18.832712Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +auto-detect host as *BSD and use a differently named obj directory; no effect on non-*BSDs. fixes bug 687214</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-21T003243.898825Z"></a> +2010-06-21T00:32:43.898825Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding more borland-related build tips; part of borland build fixes (bug 691400)</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-21T001242.541103Z"></a> +2010-06-21T00:12:42.541103Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +got some garbage in the beginning of the file introduced in an earlier commit</pre> +<p>[doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-21T000112.712437Z"></a> +2010-06-21T00:01:12.712437Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +nsis-based installer script, makefile adaptation, documentation update; bug 691363</pre> +<p>[psi/winint.mak doc/Release.htm psi/nsisinst.nsi doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-20T233847.757390Z"></a> +2010-06-20T23:38:47.757390Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): borland defines P_tmpdir but not _P_tmpdir; similiar difference between borlandc and msvc has been seen with setmode/_setmode in the ijs code in ijs/ijs_server.c</pre> +<p>[jasper/src/libjasper/base/jas_stream.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T233224.162240Z"></a> +2010-06-20T23:32:24.162240Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): update and complete documentation on working around for too-many-warnings-equal-error problem of borland c++</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-20T232934.775566Z"></a> +2010-06-20T23:29:34.775566Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland fix (bug 691400): Borland c++ does not support c99 LL nor ULL, but use i64/ui64 like MSVC for 64-bit integer literals</pre> +<p>[base/sha2.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T231137.618908Z"></a> +2010-06-20T23:11:37.618908Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> + 4 borland build fixes (bug 691400): + +- hook up libtiff +- build mkromfs +- build import library *.lib corresponding to the dll +- build the split-out make_filelist (see also r11388 for Bug 691302, +which does it for msvc) + +</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T230349.551572Z"></a> +2010-06-20T23:03:49.551572Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build does not create the obj and bin directories. part of borland build fix (691400)</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T225732.647408Z"></a> +2010-06-20T22:57:32.647408Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +defines a unix target, since win32 requires specific compiler flags; HP-UX make/MS nmake both issues a warning and borland make issues an error for duplicate targets; fixes bug 691337, and also part of the problems with borland build (bug 691400)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T034503.823204Z"></a> +2010-06-20T03:45:03.823204Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix malformed ICC profile generation on big endian systems, which was caused +by confusion between internal and external representation of an integer. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T030150.289956Z"></a> +2010-06-20T03:01:50.289956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't leave wild bytes at the end of a generated ICC profile. Fix Valgrind +warnings and spurious hash value differences. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T235923.662717Z"></a> +2010-06-18T23:59:23.662717Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that when the CIE color spaces are released, the icc equivalent space is also rc decremented as is the profile.</pre> +<p>[base/gscscie.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T180659.517404Z"></a> +2010-06-18T18:06:59.517404Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for memory leak in creation of icc profile from def(g) objects.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T020013.716745Z"></a> +2010-06-18T02:00:13.716745Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use operator --search-- instead of --token-- during PDF rebuilding +to reduce the load on the name table, slightly improve the speed, and +work around the bug 691005 in a few cases. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-17T202333.279930Z"></a> +2010-06-17T20:23:33.279930Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adjust self-reference of bswin32.mak to correct location. Part 1 of fix to bug 691400</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-17T200330.325885Z"></a> +2010-06-17T20:03:30.325885Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +mentioning -P-/-P and further reference to the INITIALIZATION FILES and Use.htm in the man page. bug 691350</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2010-06-17T194605.887718Z"></a> +2010-06-17T19:46:05.887718Z Michael Vrhel</strong></p> +<blockquote> +<pre> +add missing type def for gsicc_create_mashed_clut</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T193839.362075Z"></a> +2010-06-17T19:38:39.362075Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split make_filelist functionality out of setupgs, to allow UAC restriction during packaging of the installer. Bug 691302</pre> +<p>[psi/dwsetup.cpp psi/winint.mak psi/msvc32.mak psi/mkfilelt.cpp]</p> +</blockquote> + +<p><strong><a name="2010-06-17T193128.160475Z"></a> +2010-06-17T19:31:28.160475Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add info about silent batch installation; bug 691268</pre> +<p>[doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-17T192820.229863Z"></a> +2010-06-17T19:28:20.229863Z Michael Vrhel</strong></p> +<blockquote> +<pre> +rc_decrement any icc objects that may exist in the imager state that was created for handling the conversion from PS CIE objects to ICC profiles.</pre> +<p>[base/gscie.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T180435.295987Z"></a> +2010-06-17T18:04:35.295987Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Free up tag list when done creating icc profile from PDF cal type.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T171334.616951Z"></a> +2010-06-17T17:13:34.616951Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Change to help track down any memory leaks related to the new icc code. Also fix so that gs_init_iccmanager copies the null character from the default profile string names. There was a mismatch between what happened here and what happens when the default user params are set. This was causing the profiles to reset in the manager when they did not need to be.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T092018.689467Z"></a> +2010-06-17T09:20:18.689467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) move two FAPI related members from the show enumerator structure to the text +enumerator structure. This ensures that these members are always available for rendering +and eliminates a GPF caused when a device's text_begin method returns a text enumerator +rather than the show enumerator returned by gx_default_text_begin. + +No differences expected. +</pre> +<p>[base/gxchar.h base/gxtext.h]</p> +</blockquote> + +<p><strong><a name="2010-06-16T061125.298134Z"></a> +2010-06-16T06:11:25.298134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +a few more CRLF eol and svn property corrections</pre> +<p>[zlib/contrib/dotzlib/LICENSE_1_0.txt zlib/contrib/vstudio/readme.txt zlib/contrib/masmx64/readme.txt base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h zlib/projects/visualc6/README.txt zlib/contrib/dotzlib/readme.txt]</p> +</blockquote> + +<p><strong><a name="2010-06-15T171715.944441Z"></a> +2010-06-15T17:17:15.944441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Rename of a few functions to match documentation, update of gdevwts.c to use new color architecture, addition of minor utility functions for use in gxps. This should not generate regressions.</pre> +<p>[base/lib.mak base/gsicc_littlecms.h base/gsicc_cache.h base/gsicc_manage.c base/gscms.h base/gdevwts.c base/gsicc_manage.h base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-15T165440.171304Z"></a> +2010-06-15T16:54:40.171304Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of Color Architecture document in preparation for release of GS 9.0</pre> +<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/GS9_Color_Management.pdf doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/GS9_Color_Management.tex doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps]</p> +</blockquote> + +<p><strong><a name="2010-06-14T231027.633844Z"></a> +2010-06-14T23:10:27.633844Z Henry Stiles</strong></p> +<blockquote> +<pre> +Modified line endings from CRLF -> LF and propset to native. +</pre> +<p>[base/gsicc_cache.c base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h]</p> +</blockquote> + +<p><strong><a name="2010-06-14T184247.881614Z"></a> +2010-06-14T18:42:47.881614Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix yet another case where memcpy() copies a memory block on itself. +This doesn't cause any problems on Linux or Windows but violates the +spec and irks Valgrind. Bug 691394. +</pre> +<p>[base/gsline.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T180749.834071Z"></a> +2010-06-14T18:07:49.834071Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the "<font> is being rendered with FAPI=<renderer>" messages. But leave a warning if we fall back to the old GS renderer.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111907.131026Z"></a> +2010-06-14T11:19:07.131026Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : limit composite object sizes when producing PDF/A + +Bug #691370 "Dictionary size not limited for PDF/A-1" + +The PDF/A specification insists that the implementation limitations of Acrobat as +defined in PDF 1.4 should be followed when producing PDF/A files. Accordingly this +limits the size of dictionaries to 4095 and arrays to 8191 when producing PDF/A output. + +Since there is no way to ignore the problem, setting the PDFACompatibiltyPolicy to 1 +'don't emit the object, carry on producing PDF/A' can't be made to work. Since the +user has expressed a desire for an output file, we fall back to Policy 0 'Produce a +regular PDF file' instead. + +Also extend PDFACompatibilityPolicy to include policy 2 'abort'. + +No test file for this case, no differences expected. +</pre> +<p>[base/gdevpdfo.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111418.794921Z"></a> +2010-06-14T11:14:18.794921Z Ken Sharp</strong></p> +<blockquote> +<pre> +Extend to PDF/X emission the enhancement in revision 11369 which prevents emitting +invalid PDF/A files when glyphs are missing from fonts. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111240.380849Z"></a> +2010-06-14T11:12:40.380849Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the ps2pdf documenataion to reflect the fact that PDF/X-3 conversion now also +uses the PDFACompatibilityPolicy to control behaviour when a conforming file cannot be +produced. + +Also applied some general grammatical correction to the text. +</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-14T093417.990404Z"></a> +2010-06-14T09:34:17.990404Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : Don't emit invalid PDF/A files + +Bug #691383 "pdfwrite emits invalid PDF/A when glyphs are missing in the input font." + +If the input file references glyphs which are not in the font, then we could emit a +PDF/A file which also referenced glyph which were not present in the fonts embedded +in the PDF file. + +This patch uses the PDFACompatibilityPolicy to control the action in this case, and +avoid emitting invalid PDF/A files. + +Also extended the functionality of the PDFACompatibilityPolicy to allow the user to +abort PDF file production when a valid PDF/A file cannot be produced. + +No expected differences as PDF/A production is not tested by regression code. +</pre> +<p>[base/gdevpdfm.c base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-06-12T151956.267658Z"></a> +2010-06-12T15:19:56.267658Z Henry Stiles</strong></p> +<blockquote> +<pre> +The ICC profile file name buffer was too small to accommodate the +trailing null appended by strcat resulting in an invalid write to +memory. +</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-11T172406.899434Z"></a> +2010-06-11T17:24:06.899434Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the event of a FreeType error when scaling a font face, don't clean up the FT data, but leave it to the garbage collector +to call the font object's "finalize" function, which will then clean up the FT data. + +Secondly, add code to deal with very low resolutions underflowing some of FT's fixed point code (similar to code for small +scale factors). + +Bug 691381 +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-11T075337.156852Z"></a> +2010-06-11T07:53:37.156852Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite - device reference counting problem with patterns and XPS + +When using XPS as the input PDL, and pdfwrite as the output device, the pdfwrite device +was counted up by pattern accumulator allocation, but the clist accumulator never +counted the device down, leading to a reference count > 1 at EOJ. This meant that +the pdfwrite device wasn't closed, since pdfwrite only emits the PDF file when it is +closed this led to invalid unfinished PDF files. + +The code here modifies the behaviour of the pattern management so that we don't use the +'clist' path for accumulating patterns *if* the device can accumulate patterns itself +*and* the PDL doesn't have_pattern_streams (to avoid pathological PDF file problems) + +This resolves the issue with device reference counts and all the FTS XPS files now +produce complete PDF files. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-10T161108.241878Z"></a> +2010-06-10T16:11:08.241878Z Chris Liddell</strong></p> +<blockquote> +<pre> +When extracting a path from the FAPI world (for a charpath, for example), only close the path if it has been "opened". + +This prevents empty paths from non-marking glyphs resulting in a point being rendered on the page. + +Another part of Bug 691252. + +This change causes ~195 differences to be reported on the cluster, but they are all progressions. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-06-10T140640.549557Z"></a> +2010-06-10T14:06:40.549557Z Chris Liddell</strong></p> +<blockquote> +<pre> +Make the rendering of the Truetype notdef glyph optional with the FAPI interface (as per the previous behaviour). + +A few cluster differences are expected as we have test files which use the TTF notdef, I have checked all the differences, and they are correct. + +This is part of Bug 691252 + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-06-09T185909.419344Z"></a> +2010-06-09T18:59:09.419344Z Robin Watts</strong></p> +<blockquote> +<pre> +Update comparerevs.pl script so that it no longer ignores hash values +on files taht have a non-zero error return. It now only ignores hash +values on timeouts (because runs can easily produce different numbers of +pages on each run). + +Also, the output is updated to show error values together with hash results. +Error values are now always in brackets, on a red background. + +</pre> +<p>[toolbin/localcluster/comparerevs.pl]</p> +</blockquote> + +<p><strong><a name="2010-06-08T162039.058317Z"></a> +2010-06-08T16:20:39.058317Z Chris Liddell</strong></p> +<blockquote> +<pre> +In bytes_copy_rectangle() clamp the length of each row to be copied to the stride of the raster. This takes care of problems copying bitmaps from FT (or potentially other font libraries) which use different alignment to the "internal" rasters. Bug 691328.</pre> +<p>[base/gsbitops.c]</p> +</blockquote> + +<p><strong><a name="2010-06-08T010410.677952Z"></a> +2010-06-08T01:04:10.677952Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check whether the font has /Encoding before trying to use it. Recent FAPI +changes give /BuildChar procedure to all fonts including CIDFont resources. +So the check for non-null pfdata->BuildChar no longer guaranteed that the +font has /Encoding. Bug 691311. +</pre> +<p>[psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2010-06-07T171420.171809Z"></a> +2010-06-07T17:14:20.171809Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691368. + +lcms appears not to check its handles of link transforms when a profile is released, to clear out xform->InputProfile. Probably due to the fact that lcms may not expect a change of the formatters after the link is created. That would imply that we would need to create links based upon data types, which is not so efficient. Disable this check in lcms since it is only related to named color profiles, which we will not run into. Will kick this up to Marti.</pre> +<p>[lcms/src/cmspack.c]</p> +</blockquote> + +<p><strong><a name="2010-06-06T180036.332831Z"></a> +2010-06-06T18:00:36.332831Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691367. Seg fault should no longer occur. If an attempt is made to set a color space in the graphic state and the ICC manager's profiles have not yet been initialized, it will be taken care of. </pre> +<p>[base/gsicc_manage.c base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2010-06-05T200355.912155Z"></a> +2010-06-05T20:03:55.912155Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't copy memory block into itself; clear a Valgrind warning. +</pre> +<p>[base/gsdparam.c]</p> +</blockquote> + +<p><strong><a name="2010-06-05T192040.615579Z"></a> +2010-06-05T19:20:40.615579Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminisms in some PS files where the alternate tint transform color space for a DeviceN or Separation color space is CIE based. Previously we were returning either CMYK, or RGB based based upon the channel count for the CIE space. Now we are returning an equivalent ICC based color space. Also minor fix for uninitialized memory in generated profile.</pre> +<p>[base/gscdevn.c base/gsicc_create.c base/gscsepr.c]</p> +</blockquote> + +<p><strong><a name="2010-06-03T165717.441589Z"></a> +2010-06-03T16:57:17.441589Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +observe minst->search_here_first condition in file search; bug 691350</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-06-03T003207.629281Z"></a> +2010-06-03T00:32:07.629281Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Adding -P- and -dSAFER to many POSIX shell scripts, win32 and OS/2 batch scripts; bug 691355</pre> +<p>[lib/bjc610b4.upp lib/bjc610b6.upp lib/lp386.bat lib/bjc610b7.upp lib/bjc610b8.upp lib/gsndt.bat lib/pdf2dsc lib/eps2eps.bat lib/st640plg.upp lib/ras8m.upp lib/ras24.upp lib/pv.sh lib/bj8oh06n.upp lib/necp2x.upp lib/stc600p.upp lib/pfbtopfa.bat lib/stc640p.upp lib/wftopfa lib/ps2ps lib/stc2s_h.upp lib/stc500ph.upp lib/ps2ps.cmd lib/pphs lib/stcany_h.upp lib/pf2afm lib/gsdj500 lib/dnj750c.upp lib/pf2afm.cmd lib/stc600pl.upp lib/stc800pl.upp lib/gsbj lib/ps2epsi lib/ps2epsi.cmd lib/dnj750m.upp lib/dumphint lib/gsnd lib/font2c lib/gsdj.bat lib/pdfopt lib/ras32.upp lib/ps2ps2.bat lib/pdf2ps lib/ps2pdf.cmd lib/pdf2ps.cmd lib/stc500p.upp lib/cdj690.upp lib/stc600ih.upp lib/st640p.upp lib/stc_h.upp lib/gslj.bat lib/stcany.upp lib/stc800ih.upp lib/bdftops.bat lib/stc_l.upp lib/ras1.upp lib/gslp.bat lib/lpgs.bat lib/st640ihg.upp lib/ras3.upp lib/stc1520h.upp lib/ras4.upp lib/stc300.upp lib/bj8ts06n.upp lib/eps2eps lib/ps2ascii.bat lib/eps2eps.cmd lib/stc2_h.upp lib/pdf2dsc.bat lib/stc.upp lib/stc300bl.upp lib/stc300bm.upp lib/bj8pp12f.upp lib/pfbtopfa lib/stc800p.upp lib/bjc610a0.upp lib/bj8gc12f.upp lib/st640pg.upp lib/bjc610a1.upp lib/cdj690ec.upp lib/bjc610a2.upp lib/ps2ps.bat lib/bjc610a3.upp lib/bjc610a4.upp lib/bjc610a5.upp lib/bj8hg12f.upp lib/stc2.upp lib/st640pl.upp lib/bjc610a6.upp lib/printafm lib/bjc610a7.upp lib/pf2afm.bat lib/gsdj500.bat lib/bjc610a8.upp lib/ps2pdfxx.bat lib/lpr2.bat lib/lp386r2.bat lib/stc200_h.upp lib/unix-lpr.sh lib/gsdj lib/necp2x6.upp lib/ps2ps2 lib/ps2epsi.bat lib/gsbj.bat lib/bj8pa06n.upp lib/ps2ps2.cmd lib/dumphint.bat lib/cdj550.upp lib/gslj lib/gsnd.bat lib/font2c.bat lib/bdftops lib/pdfopt.bat lib/pdf2ps.bat lib/st640ih.upp lib/gslp lib/ps2pdfwr lib/bjc610b1.upp lib/bjc610b2.upp lib/dvipdf lib/ps2ascii lib/bjc610b3.upp lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-06-02T174539.111970Z"></a> +2010-06-02T17:45:39.111970Z Robin Watts</strong></p> +<blockquote> +<pre> +Introduce new ENABLE_TRAP_AMALGAMATION build define. If set at build time +then code is introduced to gxfillts.h to try to amalgamate some of the +rectangles produced into the surrounding trapezoids. + +This can cause small rendering differences due to the difference in rounding +within scan conversion and trap extraction. + +The option is disabled by default. + +No expected differences with it disabled. 439 non pdfwrite differences, 99 +differences with it enabled. + +</pre> +<p>[base/gxfillts.h]</p> +</blockquote> + +<p><strong><a name="2010-06-02T083707.985901Z"></a> +2010-06-02T08:37:07.985901Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 11348 accidentally included a number of font definitions in an updated cidfmap, +This removes those definitions, which should not be present. +</pre> +<p>[Resource/Init/cidfmap]</p> +</blockquote> + +<p><strong><a name="2010-06-02T082923.801870Z"></a> +2010-06-02T08:29:23.801870Z Ken Sharp</strong></p> +<blockquote> +<pre> +Documentation change +Updated the comments at the head of the file to make it plain that the entries in the +CSI array must be strings, not names. Although this is clearly documented in use.htm +we have recently had several reports in which users have been trying to set name values +in the array. + +Also added a pointer to the documentation as a further hint. +</pre> +<p>[Resource/Init/cidfmap]</p> +</blockquote> + +<p><strong><a name="2010-06-02T074657.542525Z"></a> +2010-06-02T07:46:57.542525Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite, faulty matrix transformations for Shading dictionaries + +Bug #691352 "cairo pdf mis-distilled" + +Patterns in PDF are unpleasantly complicated by the need to transform the pattern to +the 'default co-ordinate space'. Normally this means that we undo the resolution scaling +which is normally applied to the CTM. + +For page streams this works well, but for forms the 'default co-ordinate space' is +the space of the parent. For one level of form there is therefore no difference between +the page and the form. When forms are nested however, the lower form's space becomes +that of the parent. This means that patterns inside forms, which are nested inside +another form, need to be transformed to the parent form co-ordinate space, not the +page space. + +Since we don't currently emit forms from pdfwrite for anything except transparency +groups what this means in practice is that we don't undo the CTM transformation if +we are rendering a pattern inside a form, nested inside at least one other form. + +</pre> +<p>[base/gdevpdfx.h base/gdevpdft.c base/gdevpdfv.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2010-06-01T174120.224359Z"></a> +2010-06-01T17:41:20.224359Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Rename of gsicccache.c/h to gsicc_cache.c/h and gsiccmanage.c/h to gsicc_manage.c/h to fall in line with the name space of the other files that came from the icc branch. Currently working on the documentation and it is clear that this is needed (and I wish I had done it earlier).</pre> +<p>[/trunk/ghostpdl/pxl/pxpthr.c /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/xps/ghostxps.h base/gsiccmanage.c base/gxshade1.c base/gsiccmanage.h base/gscsepr.c base/gxshade4.c base/gxshade6.c /trunk/ghostpdl/pxl/pxtop.c base/gxcmap.c ghostscript.vcproj base/gsistate.c /trunk/ghostpdl/pcl/pcl.mak base/gdevrinkj.c base/gdevwts.c base/gdevxcf.c base/gxicolor.c base/devs.mak base/gsicc.c base/gdevimdi.c base/gscdevn.c base/gxclread.c base/gdevpsd.c base/lib.mak base/gxiscale.c base/gsicc_manage.c psi/int.mak /trunk/ghostpdl/pxl/pxgstate.c /trunk/ghostpdl/pcl/pctop.c base/gsicc_manage.h psi/zicc.c psi/zdevice.c base/gdevp14.c base/gsstate.c base/gsicc_cache.c base/gsicc_create.c psi/zcie.c base/gsicccache.c base/gxclist.c base/gsicc_cache.h base/gsicccache.h base/gstrans.c base/gscms.h base/gxidata.c base/gdevpdfc.c base/gxblend.c base/gxshade.c psi/zusparam.c base/gdevpdfg.c base/gxp1fill.c base/gxclrast.c base/gsciemap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-31T144914.514014Z"></a> +2010-05-31T14:49:14.514014Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +for "ln -s base/unix-gcc.mak Makefile; make" builds, do not modularize X, nor build most of the modularzed linux modules, since they depend on the linux GNU linker</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-31T144108.956692Z"></a> +2010-05-31T14:41:08.956692Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another attempt to make "ln -s base/unix-gcc.mak Makefile; make" to work; libtiff really want configure so we hook it in</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-31T095814.532526Z"></a> +2010-05-31T09:58:14.532526Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +more icc branch merge related change to make "make -f base/unix-gcc.mak" and other targets work"</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-28T180708.826907Z"></a> +2010-05-28T18:07:08.826907Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #690793. PJL Formlines was not set correctly if the paper +size changed. Also, refactors such that PXL and PJL get paper sizes +from the same source table. + +</pre> +<p>[/trunk/ghostpdl/pl/pl.mak /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/pl/pjparse.c /trunk/ghostpdl/pxl/pxsessio.c /trunk/ghostpdl/pxl/pxstate.h base/gdevpxen.h base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2010-05-27T210221.460781Z"></a> +2010-05-27T21:02:21.460781Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that shading strokes that go through the clist transparency code communicate the transparency device so that the proper color information is used as opposed to the color information related to the final target device. This should fix the indeterminism with bug688807.pdf when going out to a monochrome device.</pre> +<p>[base/gdevp14.c base/gxshade.c]</p> +</blockquote> + +<p><strong><a name="2010-05-27T153001.093150Z"></a> +2010-05-27T15:30:01.093150Z Henry Stiles</strong></p> +<blockquote> +<pre> +Forward declarations for statics functions were accidentally placed in +the header file instead of the c file. +</pre> +<p>[base/gdevp14.c base/gdevp14.h]</p> +</blockquote> + +<p><strong><a name="2010-05-27T004457.701730Z"></a> +2010-05-27T00:44:57.701730Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminism when using psdcmyk device and interpolated images. For cases where the device profile has fewer components than the actual number of device colorants we need to use the slower interpolation code. Otherwise we end up encoding uninitialized memory. </pre> +<p>[base/gxiscale.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T220150.106123Z"></a> +2010-05-26T22:01:50.106123Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug690218. For clist reader the pdf14 device was getting its color information set based upon the number of spot colorants in the page. The real number should be based upon the number of actual components the device is capable of handling. This occurs when using separation device with a limited set of colorants invoked via a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ] +/SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice"</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T181652.113331Z"></a> +2010-05-26T18:16:52.113331Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Improvements and fixes in icc search path description and bolder alert with respect to Windows delimiter \" interpretation . Thanks to Ray.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-26T160836.881438Z"></a> +2010-05-26T16:08:36.881438Z Henry Stiles</strong></p> +<blockquote> +<pre> +The languages (pcl, xps, pclxl) debug builds were broken with the icc +branch merge, gs_abort() is not supported. The code has been changed +similarly to the old exit upon failed assertion code in gsalloc.c +where gs_abort() is replaced with return, fixes bug #691340. +</pre> +<p>[base/gsicc_profilecache.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T030702.463936Z"></a> +2010-05-26T03:07:02.463936Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Addition of lcms and new icc files to Visual studio solution. Also did a little organizing of the files in the explorer window base folder.</pre> +<p>[ghostscript.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-25T204302.039929Z"></a> +2010-05-25T20:43:02.039929Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of documentation, clarifying the search methods used for finding the icc profiles.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-25T193823.177347Z"></a> +2010-05-25T19:38:23.177347Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of iccprofiles/ from default icc profile names and post-pend %rom% with iccprofiles/ . This is in preparation for having the ps init code initialize a default value for ICCProfilesDir (which will be ./iccprofiles/ ) so that code works with COMPILE_INITS=0 when not in the base directory and when -sICCProfilesDir is not specified on the command line.</pre> +<p>[base/gsiccmanage.c base/gsiccmanage.h]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171559.119523Z"></a> +2010-05-25T17:15:59.119523Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make static some private functions to remove compiler warnings</pre> +<p>[contrib/gdevgdi.c base/gdevcairo.c contrib/gdevlx50.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171427.480893Z"></a> +2010-05-25T17:14:27.480893Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make private functions static to silence some missing prototype warning</pre> +<p>[imdi/cgen.c imdi/imdi_k.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171318.238667Z"></a> +2010-05-25T17:13:18.238667Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +silent one compiler warning</pre> +<p>[base/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T135021.339560Z"></a> +2010-05-25T13:50:21.339560Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix copy CIDFontType 2 properly +Bug #690930 "Unicode Output: DEVICE=pdfwrite" + +When making a copy of a CIDFont with TrueType outlines (CIDFontType 2) for the +benefit of pdfwrite, do not simply copy the subst_CID_on_WMode structure member as +this will be restored away along with the font at end of page. Instead make a new +structure and store that in the copied font. + + +No differences expected, local cluster test shows a few but I think (hope) these are +related to the ICC branch merge.</pre> +<p>[base/gxfcopy.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T102209.642632Z"></a> +2010-05-25T10:22:09.642632Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691336: Resolve some confusion between the original global variable removal changes, and subsequent changes, that could result in warning emprintf calls using a memory pointer that could not exist at that stage. +</pre> +<p>[psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T083157.775100Z"></a> +2010-05-25T08:31:57.775100Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a couple of gcc compiler warnings introduced with the ICC merge. +</pre> +<p>[base/gdevpdfk.c base/gdevpdfc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T230659.017275Z"></a> +2010-05-24T23:06:59.017275Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Another bunch of CRLF to LF's. + +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs -n 1 svn propset svn:eol-style native +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs dos2unix + +</pre> +<p>[tiff/nmake.opt psi/zcolor.h toolbin/color/icc_creator/ICC_Creator/stdafx.h lib/cat.ps toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp toolbin/color/icc_creator/example/cielab_values.txt toolbin/color/icc_creator/ICC_Creator/icc34.h contrib/lxm3200-tweaked/LICENSE toolbin/color/icc_creator/README.txt toolbin/color/icc_creator/ICC_Creator/ICC_Creator.cpp toolbin/color/named_color/named_color_table.txt zlib/contrib/testzlib/testzlib.txt lib/Fontmap.URW-136.T1 toolbin/color/icc_creator/example/tritone_names.txt zlib/contrib/testzlib/testzlib.c toolbin/color/icc_creator/ICC_Creator/CIELAB.h toolbin/color/icc_creator/ICC_Creator/icc_create.h base/gsicc_profilecache.c toolbin/color/icc_creator/ICC_Creator/stdafx.cpp toolbin/color/icc_creator/ICC_Creator/resource.h base/gsicc_profilecache.h toolbin/color/icc_creator/example/tritone_cielab.txt base/gsicc_create.c toolbin/color/icc_creator/ICC_Creator/targetver.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/res/ICC_Creator.rc2 psi/zcie.h psi/write_t2.c base/gsicc_create.h toolbin/color/icc_creator/example/color_names.txt base/gscms.h toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h psi/fapibstm.c lib/Fontmap.URW-136.TT]</p> +</blockquote> + +<p><strong><a name="2010-05-24T223400.748368Z"></a> +2010-05-24T22:34:00.748368Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove some more CR's and more eol-style native. + +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 svn propset svn:eol-style native +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 dos2unix + +</pre> +<p>[lcms/Delphi/delphidemo.dof lcms/src/makefile.simple lcms/Delphi/demo1.pas lcms/python/testbed/srgb2xyz.py lcms/Delphi/Samples/create.pas lcms/python/testbed/srgb2lab.py lcms/Delphi/delphidemo.dpr lcms/python/testbed/cam02.py lcms/makefile.simple lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/Delphi/delphidemo.cfg lcms/python/testbed/createmsh.py lcms/python/testbed/lab2adobe.py lcms/Delphi/Samples/testfrm.pas lcms/Delphi/Samples/testwp.pas lcms/src/lcms.def lcms/Delphi/Samples/getxyz.pas]</p> +</blockquote> + +<p><strong><a name="2010-05-24T222637.131050Z"></a> +2010-05-24T22:26:37.131050Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +manually fixing the last few files which escaped fileutils' identification. + +</pre> +<p>[lcms/python/lcms.py lcms/COPYING lcms/src/cmscam97.c lcms/aclocal.m4 lcms/ltmain.sh lcms/README.1ST lcms/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-24T222052.689626Z"></a> +2010-05-24T22:20:52.689626Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Changes c/c++/shell script/english text to native text and strip off CR. + +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs dos2unix +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs svn propset svn:eol-style native + + +</pre> +<p>[lcms/doc/TUTORIAL.TXT lcms/matlab/icctrans.c lcms/src/cmswtpnt.c lcms/tifficc/getopt.c lcms/src/cmsgamma.c lcms/src/cmsnamed.c lcms/samples/vprf.c lcms/src/cmserr.c lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/src/cmsxform.c.orig lcms/samples/icc2ps.c lcms/python/lcms_wrap.cxx lcms/tifficc/tiffdiff.c lcms/src/cmssamp.c lcms/samples/xgetopt.c lcms/Delphi/lcmsdll.pas lcms/include/icc34.h.in lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/jpegicc/jpegicc.c lcms/jpegicc/iccjpeg.c lcms/samples/icctrans.c lcms/testbed/testcms.c lcms/samples/mktiff8.c lcms/jpegicc/iccjpeg.h lcms/tifficc/tifficc.c lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/src/cmsio0.c lcms/src/cmsio1.c lcms/samples/mkgrayer.c lcms/filter.c lcms/python/lcms.i lcms/src/cmsxform.c lcms/src/cmsintrp.c lcms/src/cmscnvrt.c lcms/include/lcms.h lcms/doc/LCMSAPI.TXT lcms/src/cmscgats.c lcms/src/cmscam02.c lcms/include/icc34.h lcms/src/cmslut.c lcms/src/cmsps2.c lcms/samples/wtpt.c lcms/samples/itufax.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T220741.207483Z"></a> +2010-05-24T22:07:41.207483Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove executable bits from files which don't need them. + +find . -type f -executable -exec file {} \; \ +| grep -v 'shell script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propdel svn:executable + +The last commit was created by: + + +find . -type f -executable -exec file {} \; \ +| grep 'script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[lcms/Projects/VC6/lcms.rc lcms/Projects/VC7/lcms.rc lcms/bin/Bin.txt lcms/Delphi/Samples/create.pas lcms/samples/vprf.c lcms/configure.ac lcms/README.1ST lcms/lcms.pc.in lcms/Projects/VC2008/lcms.sln lcms/testbed/sRGBSpac.icm lcms/Projects/VC2008/lcms.vcproj lcms/python/testbed/lab2adobe.py lcms/Delphi/demo1.dfm lcms/samples/xgetopt.c lcms/Projects/VC2005/icclink.vcproj lcms/Projects/VC6/icclink.dsp lcms/Projects/VC7/lcms.vcproj lcms/src/cmscam97.c lcms/testbed/testcms.c lcms/Projects/VC6/icc2ps.dsp lcms/Projects/VC7/icctrans.vcproj lcms/python/testbed/srgb2lab.py lcms/Projects/VC7/tifficc.vcproj lcms/filter.c lcms/Projects/VC6/lcms.dsp lcms/Delphi/delphidemo.cfg lcms/Projects/VC7/icc2ps.vcproj lcms/Projects/VC6/lcms.dsw lcms/Delphi/Samples/testwp.pas lcms/Projects/VC7/lcms.sln lcms/Projects/VC2008/tifficc.vcproj lcms/Projects/VC2005/resource.h lcms/python/testbed/whtpnt.py lcms/doc/TUTORIAL.TXT lcms/src/cmswtpnt.c lcms/Projects/VC2005/Python.vcproj lcms/Projects/BorlandC_5.5/mklcmsdll.bat lcms/include/Makefile.am lcms/Projects/VC7/jpegicc.vcproj lcms/install.gcc lcms/samples/wtpt.1 lcms/Projects/BorlandC_5.5/lcmsdll.lk lcms/src/cmserr.c lcms/makefile.simple lcms/Projects/BorlandC_5.5/lcms.rc lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/Makefile.am lcms/python/testbed/sRGB Color Space Profile.icm lcms/Projects/VC2008/jpegicc.vcproj lcms/Projects/VC7/lcmsdll.vcproj lcms/AUTHORS lcms/samples/icc2ps.1 lcms/Projects/VC2008/resource.h lcms/src/makefile.simple lcms/samples/mktiff8.c lcms/python/testbed/virtprf.py lcms/python/testbed/clamp.py lcms/Projects/BorlandC_5.5/lcmsdll.lst lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/src/cmsio0.c lcms/python/testbed/cam02.py lcms/Projects/VC6/resource.h lcms/src/cmsxform.c lcms/python/lcms.i lcms/src/cmsintrp.c lcms/Projects/VC2008/lcmsdll.vcproj lcms/jpegicc/jpegicc.1 lcms/COPYING lcms/Projects/VC2005/lcms.rc lcms/samples/icctrans.1 lcms/Projects/VC7/tiffdiff.vcproj lcms/src/cmscgats.c lcms/Projects/VC2008/lcms.rc lcms/tifficc/tifficc.1 lcms/src/cmscam02.c lcms/matlab/icctrans.matlab.pdf lcms/python/testbed/createmsh.py lcms/src/cmslut.c lcms/tifficc/Makefile.am lcms/Lib/MS/MS.TXT lcms/samples/wtpt.c lcms/Projects/VC6/tifficc.dsp lcms/Projects/VC7/Testbed.vcproj lcms/python/testbed/gamma.py lcms/samples/itufax.c lcms/python/Makefile.am lcms/Delphi/demo1.pas lcms/src/cmsgamma.c lcms/Projects/VC6/Python.dsp lcms/Projects/VC2008/Python.vcproj lcms/src/cmsnamed.c lcms/src/cmsxform.c.orig lcms/Projects/VC6/lcmsdll.dsp lcms/Projects/VC2008/Testbed.vcproj lcms/Projects/VC2005/lcms.vcproj lcms/python/testbed/AdobeRGB1998.icc lcms/samples/icc2ps.c lcms/tifficc/tiffdiff.c lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/src/cmssamp.c lcms/NEWS lcms/samples/Makefile.am lcms/Projects/VC2005/icctrans.vcproj lcms/Projects/VC2005/tifficc.vcproj lcms/Delphi/lcmsdll.pas lcms/Projects/VC2008/icctrans.vcproj lcms/include/icc34.h.in lcms/Delphi/delphidemo.dof lcms/Projects/VC6/lcms.opt lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/Projects/VC6/Python.plg lcms/jpegicc/jpegicc.c lcms/samples/icctrans.c lcms/Delphi/Samples/MAKETEST.BAT lcms/Projects/VC2005/icc2ps.vcproj lcms/ltmain.sh lcms/Delphi/Samples/gamutchk.pas lcms/tifficc/tifficc.c lcms/Projects/VC2005/lcms.sln lcms/src/cmsio1.c lcms/Projects/VC6/Testbed.dsp lcms/INSTALL lcms/Projects/VC7/icclink.vcproj lcms/jpegicc/makefile.simple lcms/jpegicc/Makefile.am lcms/Projects/VC2005/jpegicc.vcproj lcms/samples/icclink.1 lcms/Delphi/Samples/testfrm.pas lcms/Projects/VC6/jpegicc.dsp lcms/Projects/VC6/icctrans.dsp lcms/src/lcms.def lcms/Delphi/demo1.dcu lcms/Delphi/Samples/getxyz.pas lcms/matlab/icctrans.c lcms/ChangeLog lcms/Projects/VC2008/icclink.vcproj lcms/tifficc/getopt.c lcms/Lib/BC/BC.txt lcms/testbed/makefile.simple lcms/Projects/VC6/Testbed.plg lcms/Delphi/delphidemo.dpr lcms/testbed/Makefile.am lcms/Projects/VC2005/lcmsdll.vcproj lcms/Projects/VC7/resource.h lcms/Projects/VC7/Python.vcproj lcms/Delphi/demo1.ddp lcms/python/testbed/cam97.py lcms/jpegicc/iccjpeg.c lcms/python/testbed/constant.py lcms/Projects/VC2005/tiffdiff.vcproj lcms/python/testbed/srgb2xyz.py lcms/python/testbed/info.py lcms/jpegicc/iccjpeg.h lcms/Projects/VC2008/tiffdiff.vcproj lcms/Projects/VC2008/icc2ps.vcproj lcms/src/Makefile.am lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/Projects/VC2005/Testbed.vcproj lcms/samples/mkgrayer.c lcms/include/lcms.h lcms/Delphi/delphidemo.res lcms/src/cmscnvrt.c lcms/python/swig_lcms lcms/doc/LCMSAPI.TXT lcms/python/testbed/sRGB2adobe.py lcms/tifficc/makefile.simple lcms/include/icc34.h lcms/src/cmsps2.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T220213.500457Z"></a> +2010-05-24T22:02:13.500457Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make all shell scripts in the lcms directory eol-style native. +</pre> +<p>[lcms/depcomp lcms/compile lcms/missing lcms/config.guess lcms/config.sub lcms/install-sh lcms/mkinstalldirs lcms/configure]</p> +</blockquote> + +<p><strong><a name="2010-05-24T183616.496917Z"></a> +2010-05-24T18:36:16.496917Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing EOL to the last line in one of the new ICC files +because MSVC 6 requires this. +</pre> +<p>[base/gsiccmanage.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T163158.315172Z"></a> +2010-05-24T16:31:58.315172Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Merge of icc_work branch into trunk. + +These changes make the color architecture of the graphics library ICC-based. All colors are now managed in terms of ICC profiles including PS CIE color spaces, for which equivalent ICC profiles are created. A big feature of this change is that it makes it very easy to interface a color management module (CMM) to ghostscript. The default CMM is now littleCMS and the interface to littleCMS is contained in gsicc_littlecms.c . + +New member variables were added to the imager state including an ICC manager, which stores the default ICC profiles; a link cache, which reduces the cost of creating links between ICC profiles, and a profile cache which stores color spaces created from PS CIE, PDF CalRGB and PDF CalGray colors spaces. + +A new directory named iccprofiles has been added. It contains the default ICC profiles used if none are specified in the command line. If COMPILE_INITS=1, these will be included in the ROM file system. The new command line options related to ICC profiles are described in the Use.htm documentation. + +For c-list based rendering, all ICC profiles used in the rendering are stored in the c-list. During multi-threaded c-list reading, a link cache is associated with the primary reader device and is shared amongst the various threads. + +Efficiency improvements were made in the handling of soft mask groups, shading smoothness calculations, and color image rendering. + +For details on the branch, please see the commits that were made within the branch. There remain indeterminisms to fix. The files affected include Bug688807.pdf, Bug688845.eps, Bug690208.pdf, 09-34.PS, CATX0988.pdf, CATX1028.pdf, CATX1101.pdf, CATX5529.pdf. + +Rendering issues to investigate include Bug689830.pdf, fts43xx.xps (page 3) (shopping cart image), Bug689880.pdf, Bug691002.pdf, Bug689968.pdf, Bug688584.ps (page 4), catx4949.pdf. + +Note that the number of differences generated with the merge amounts to pretty much every file. + +Thanks to everyone who helped and provided input in this work, especially Ray Johnston. +</pre> +<p>[base/gdevpdfk.c base/gxclimag.c doc/Use.htm base/gdevdflt.c psi/icie.h base/gxpcmap.c base/gxpcolor.h lcms base/gscsepr.c base/gxshade4.c base/gxclthrd.c base/gxcmap.c base/gscscie.c base/gdevwts.c base/gsistate.c base/msvclib.mak base/gxclpage.c base/gscolor2.c base/gsicc_profilecache.c base/gxistate.h base/gscolor2.h base/gsicc_profilecache.h iccprofiles base/gdevp14.c base/gsicc_create.c base/gdevp14.h base/gsicc_create.h psi/write_t2.c psi/zusparam.c base/gdevpbm.c psi/zcolor.c psi/ztrans.c base/gdevpdft.c base/gxshade1.c /trunk/gs base/gdevpsdi.c psi/ireclaim.c psi/os2.mak base/watclib.mak Resource/Init/gs_lev2.ps base/gdevpsdu.c base/gscie.c base/gxclutil.c base/gscolor3.c base/gdevpsd.c base/gscie.h base/gxiscale.c base/gxcldev.h Resource/Init/gs_res.ps base/gxifast.c base/gxdevcli.h base/openvms.mak base/watcw32.mak base/gscms.h psi/msvc32.mak base/gsalloc.c base/lcms.mak base/gxp1fill.c base/gximage.h base/gsciemap.c base/gdevpx.c psi/zcsdevn.c base/ugcclib.mak base/unix-gcc.mak base/gsovrc.c base/gxcie.h base/macos-mcp.mak base/gxshade6.c base/macosx.mak base/gsccolor.h base/gdevrinkj.c base/unixansi.mak base/devs.mak base/gsicc.c base/gxipixel.c base/lib.mak psi/zimage.c base/gsicc.h psi/dxmain.c psi/dxmainc.c Resource/Init/pdf_draw.ps base/gscolor.c Resource/Init/pdf_ops.ps psi/zdevice.c psi/zcie.c psi/zdpnext.c base/gxclist.c psi/zcie.h base/gximono.c base/gxidata.c base/gstrans.c psi/iimage.h base/gdevpdfb.c base/gxclist.h base/gxshade.c base/gstrans.h base/gxclrast.c psi/zncdummy.c base/gxshade.h toolbin/color base/gsiccmanage.c base/Makefile.in base/gdevpdfv.c base/gsiccmanage.h base/gsicc_littlecms.c base/gxclpath.c base/gsicc_littlecms.h psi/icontext.c base/gxclpath.h base/gsstruct.h base/gdevxcf.c base/gxicolor.c base/gscspace.c base/gdevimdi.c base/gscdevn.c base/gscolor1.c base/gxclread.c base/gscspace.h base/bcwin32.mak base/gsdparam.c base/gs.mak psi/zshade.c base/gdevbbox.c psi/int.mak base/gxcspace.h psi/zicc.c base/gsstate.c base/winlib.mak base/gsicccache.c psi/zicc.h psi/zimage3.c base/gsicccache.h base/gdevpdfc.c base/gstparam.h base/gxblend.c base/gdevpdfg.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2010-05-24T020113.653152Z"></a> +2010-05-24T02:01:13.653152Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Recognize Corel tint transform function and replace it with an equivalent +calculator function. Bug 690986. +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2010-05-23T001525.592930Z"></a> +2010-05-23T00:15:25.592930Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Decide whether load a CFF font as a simple font or a CIDFont based on the +/Subtype of the font object instead of the /Subtype of the font stream. +Acrobat appears to ignore the latter. Bug 691334. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-22T091730.088324Z"></a> +2010-05-22T09:17:30.088324Z Ken Sharp</strong></p> +<blockquote> +<pre> +Explicit pointer cast to silence a gcc compiler warning. +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-05-21T151607.910956Z"></a> +2010-05-21T15:16:07.910956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following Acrobat implementation but contrary to TTF spec, consider cmap entry +that has endCode < startCode as an entry with endCode == startCode. +According to the spec, "to use these arrays, it is necessary to search for the +first endCode that is greater than or equal to the character code to be +mapped. If the corresponding startCode is less than or equal to the character +code ...". I.e. an entry with endCode < startCode should have no effect. +Thanks to Ken for the patch. Bug 691326. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-21T081456.354805Z"></a> +2010-05-21T08:14:56.354805Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix: device reference counting problem with patterns and clipping + +Bug #690572 more details here. The problem was caused by installing a clip device while +drawing a pattern tile. This patch initialises the finalize member of the structure +where the clip device will be created to NULL. If a clip device is required, the member +will be initialised to a real routine. After drawing the pattern cell, if the finalize +routine is non-NULL we execute it. + +This correctly dereferences the forwarded device if we create a clipping device. + +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-05-21T063511.431787Z"></a> +2010-05-21T06:35:11.431787Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding missing dependencies so that setupgs and uninstgs can be built ahead or independent of the main targets</pre> +<p>[psi/winint.mak psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-20T073106.101672Z"></a> +2010-05-20T07:31:06.101672Z regression</strong></p> +<blockquote> +<pre> +The clustermaster.pl code now checks the pid in the lock file to see if the +task is running. Also no longer test pdfwrite with the language switch build. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-20T062443.585523Z"></a> +2010-05-20T06:24:43.585523Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fix up the eol-style of the rest of the executable files by hand. +Remove executable bit from toolbin/bmpcmp.c + +</pre> +<p>[toolbin/bmpcmp.c jbig2dec/ltmain.sh tiff/config/ltmain.sh libpng/contrib/pngminim/encoder/gather.sh libpng/contrib/pngminim/preader/gather.sh libpng/scripts/libpng-config-body.in libpng/contrib/pngminim/decoder/gather.sh toolbin/tests/gsvalidate.py]</p> +</blockquote> + +<p><strong><a name="2010-05-20T061020.265063Z"></a> +2010-05-20T06:10:20.265063Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Set other type of shell script as native text. + +find . -type f -executable -exec file {} \; | \ + grep 'script text executable' | grep -v 'POSIX' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/tests/dump_checksum.py toolbin/tests/gscheck_testfiles.py toolbin/tests/dump_checksum_plus.py toolbin/localcluster/readlog.pl toolbin/search-svn-revs toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/clusterpush.pl toolbin/tests/dump_checksum_raw.py toolbin/localcluster/compare.pl toolbin/localcluster/comparerevs.pl toolbin/tests/find_unique_file.py toolbin/localcluster/clustermaster.pl toolbin/localcluster/weekly.sh toolbin/localcluster/build.pl toolbin/tests/build_revision.py toolbin/htmldiff.pl toolbin/tests/compare_checksumdb.py toolbin/tests/update_baseline.py toolbin/tests/make_baselinedb.py toolbin/tests/validate.py toolbin/bugsByEngineer.pl toolbin/localcluster/clusterpull.sh toolbin/tests/regen_filelist.py toolbin/localcluster/pngs2html.pl toolbin/localcluster/nightly.pl freetype/builds/mac/ascii2mpw.py toolbin/tests/compare_checksums.py toolbin/tests/run_nightly.py toolbin/tests/regen_baseline.py toolbin/tests/myoptparse.py toolbin/tests/get_baselines.py toolbin/tests/run_regression.py toolbin/localcluster/setupcluster toolbin/localcluster/clustermonitor.pl toolbin/tests/testdiff.py toolbin/tests/updatelistpdf.py toolbin/tests/run_series.py toolbin/tests/updatelist.py toolbin/localcluster/run.pl toolbin/tests/get_baseline_log.py toolbin/performance.pl toolbin/localcluster/cachearchive.pl toolbin/tests/make_testdb.py toolbin/tests/collate.py]</p> +</blockquote> + +<p><strong><a name="2010-05-20T060141.643170Z"></a> +2010-05-20T06:01:41.643170Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Set all identifiable shell script as native text + +find . -type f -executable -exec file {} \; | \ +grep 'POSIX shell script text executable' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[libpng/missing cups/pstoraster.in libpng/test-pngtest.sh cups/pstopxl.in libpng/install-sh jbig2dec/configure libpng/configure contrib/pcl3/ppd/catppd toolbin/clusterpush.sh libpng/depcomp jpeg/install-sh jbig2dec/config.guess contrib/pcl3/lib/if-pcl3 freetype/configure libpng/config.guess jasper/configure tiff/config/missing jbig2dec/config.sub jpeg/configure libpng/config.sub tiff/config/install-sh jpeg/config.guess zlib/configure jpeg/config.sub tiff/config/depcomp libpng/scripts/libpng-config-head.in tiff/config/compile libpng/scripts/libpng-config.in libpng/autogen.sh tiff/config/config.guess jbig2dec/mkinstalldirs jpeg/ltconfig tiff/config/config.sub libpng/mkinstalldirs contrib/epson740/ps-to-printer.fpi_rh5.2 jasper/acaux/missing jasper/acaux/install-sh tiff/autogen.sh freetype/builds/unix/install-sh freetype/builds/unix/mkinstalldirs tiff/configure jasper/acaux/depcomp jasper/acaux/compile tiff/config/mkinstalldirs jasper/acaux/config.guess contrib/pcl3/lib/cups-pcl3 jasper/acaux/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-05-20T055235.456761Z"></a> +2010-05-20T05:52:35.456761Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Avoid raw carriage returns in configure which confuses svn + +This is a known bug apparently of autoconf 2.63 which was fixed. Here is the upstream log entry: +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb34ecf + + 2008-10-27 Eric Blake <ebb9@byu.net> + + Avoid raw carriage return in scripts. + * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR + via tr, rather than with literal byte. + * THANKS: Update. + Reported by Steven R. Loomis; patch suggested by Thomas Dickey. + + +</pre> +<p>[jbig2dec/configure]</p> +</blockquote> + +<p><strong><a name="2010-05-19T145138.835112Z"></a> +2010-05-19T14:51:38.835112Z Robin Watts</strong></p> +<blockquote> +<pre> +Some work towards (but not a complete cure for) bug 691030. + +Previously XXX_slant_into_trapezoids would check for 2 'simple' cases, +and bale into the fully general fill_slant_adjust function otherwise. +The simple cases were where the top span was a subset of the bottom one, or +vice versa. + +Unfortunately the way the code to test for these cases was originally written, +one of these special cases could be used for shaped with vertical sides, and +the other couldn't. + +By rewriting the test slightly, both cases can be used with trapezoids that +have one vertical side. + +For good measure we also extract the 'rectangle' case out separately. + +Cluster testing shows no differences (barring a couple of indeterminisms). + +This reduces the output from 5 shapes (2 rectangles, 3 traps) to 3 (2 +rectangles, 1 trap). One of the rectangles is still a repeat, but it's +a step in the right direction. + + + +</pre> +<p>[base/gxfillts.h]</p> +</blockquote> + +<p><strong><a name="2010-05-19T100905.486708Z"></a> +2010-05-19T10:09:05.486708Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Bug 691291. Fix reading uninitialized memory. + +The change I made in r10603 had a problem comparing with +uninitialized data when using Roman fonts. +The side effect was slowing down font rendering a little. +In this change I added extra initializer and made +intention of the 'if' condition more clear. +No difference on outputs expected nor observed by localcluster +tests.</pre> +<p>[base/gschar0.c]</p> +</blockquote> + +<p><strong><a name="2010-05-19T074220.717044Z"></a> +2010-05-19T07:42:20.717044Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Follow-up to r11278. Removing jbig2dec/config.h. + +r11278 enabled jbig2dec/configure to be run. +I agree with the change but jbig2dec/config.h was also under +subversion control. With r11278, after someone runs +'configure' or 'autogen.sh', jbig2dec/config.h become +modified status. +jbig2dec/config.h doesn't need to be here. Deleting. + +Related bug: 691304 & 691312.</pre> +<p>[jbig2dec/config.h]</p> +</blockquote> + +<p><strong><a name="2010-05-18T224039.023883Z"></a> +2010-05-18T22:40:39.023883Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +define -DHAVE_CONFIG_H and run jbig2dec/configure from top-level configure. The fixes some portability issues seen on opensolaris; further follow-up to bug 691304</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-18T222947.346946Z"></a> +2010-05-18T22:29:47.346946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo in one word. bug 691323</pre> +<p>[doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-18T222313.250745Z"></a> +2010-05-18T22:23:13.250745Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster code: + + support language switch build testing + recover from disk full errors + automatically create directories needed for new nodes in run.pl +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-18T122248.908526Z"></a> +2010-05-18T12:22:48.908526Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Disabling compiler warnings for discarding 'const'. + +</pre> +<p>[jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-05-18T085518.202611Z"></a> +2010-05-18T08:55:18.202611Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691313: remove the IBM Omni driver from the default build on Linux. Previously it could be excluded by giving configure "--without-omni", this revision reverses the logic, so Omni can be include by giving configure "--with-omni".</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-18T043225.607601Z"></a> +2010-05-18T04:32:25.607601Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Change the order in which jobs that take too long are killed on the cluster nodes to prevent leftover jobs when running bmpcmp. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-17T154838.534341Z"></a> +2010-05-17T15:48:38.534341Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix - type 1/CFF font interpreter. +The gs_type1_piece_codes routine interprets a type 1 or CFF glyph program to determine +whether the glyph is composed of two subglyphs (a SEAC). + +There was a problem with the CFF opcode cntrmask which did not cater for the case where +it is called with a number of operands on the stack. In this case the operands are to +be interpreted as vstem hints. Because this was not done, the interpreter had the wrong +number of hints, and so did not interpret enough of the following bytes as mask data for +the cntrmask operation. This led to attempting to interpret data as operands, which +caused corrupted glyphs as well as potential crashes. + +This does not appear to be tested by any of our current test files (according to a +cluster test), so no differences are expected. +</pre> +<p>[base/gxtype1.c]</p> +</blockquote> + +<p><strong><a name="2010-05-17T082506.874101Z"></a> +2010-05-17T08:25:06.874101Z Ken Sharp</strong></p> +<blockquote> +<pre> +white space change only, committed to make a regression run as the test for the +previous revision was interrupted.</pre> +<p>[psi/write_t1.c]</p> +</blockquote> + +<p><strong><a name="2010-05-17T075543.268496Z"></a> +2010-05-17T07:55:43.268496Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler and make warnings. +</pre> +<p>[psi/write_t1.c psi/int.mak psi/write_t1.h]</p> +</blockquote> + +<p><strong><a name="2010-05-17T043957.140765Z"></a> +2010-05-17T04:39:57.140765Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding check for header stringprep.h; fix bug 691312</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-17T035931.965365Z"></a> +2010-05-17T03:59:31.965365Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fixes portability issue properly with r11256 (which is identical with r11520), +first discovered by Ralph 6 months ago with r10520 +which results in its being reverted in r10540 . + +****************************** + Revert c10520 which causes problems with the MSVC build. + + $(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft + extensions. This often causes problems with 3rd party libraries + which try to take advantage of those extensions. + + This means that the -fPIC flag is again not propagated in the GCC + build; this is just to unbreak the build until I can test a different + solution which works on both platforms. +****************************** +As Ralph explained then, some of libtiff requires non-ansi extensions to work. + +The main culpit is tif_win32.c (which includes <windows.h>) and some of the +file IO flags not being defined. So this commit fix the ansi issue properly. + +</pre> +<p>[tiff/libtiff/tiffiop.h base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-17T034702.654413Z"></a> +2010-05-17T03:47:02.654413Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix windows build breakage in r11249 + +This change (defining TIFFCONFIG_SUFFIX) should have been part of + r11249 (create tif_config.h for non-autoconf build) +which in turn should have been part of + r11241 (hook up libtiff with non-autoconf build via + "make -f base/unix-gcc.mak" and "make -f base/unixansi.mak") + +The explanation is that in r10317 where Lars originally hooked up libtiff, +tif_config.h is generated by libtiff/configure (which is driven by the +top-level configure), but special provision is provided for non-autoconf build +(win32 and VMS) by copying from a canned header file. +If one chooses to bypass the top-level configure, *on every platform* +(win32, VMS, and non-autoconf unix build), one must provide similiar special +provision as well. + +Personally I'll prefer not to support non-autoconf unix build. + +</pre> +<p>[base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-16T183240.253209Z"></a> +2010-05-16T18:32:40.253209Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Changes to the nightly regression testing system to support weekly testing. +</pre> +<p>[toolbin/localcluster/nightly.pl toolbin/localcluster/weekly.sh toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-15T105714.279373Z"></a> +2010-05-15T10:57:14.279373Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +rename PDEP to TIFFDEP to avoid clashing with PDEP from libpng.mak; bug 691299</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T105547.722308Z"></a> +2010-05-15T10:55:47.722308Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +comment out a later duplcate definition; bug 691299</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T095005.378608Z"></a> +2010-05-15T09:50:05.378608Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +latest version of these files from Adobe's web site: http://download.macromedia.com/pub/opensource/cmap/</pre> +<p>[Resource/CMap/UniGB-UTF8-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniCNS-UTF8-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/UniGB-UTF16-H]</p> +</blockquote> + +<p><strong><a name="2010-05-15T094615.270585Z"></a> +2010-05-15T09:46:15.270585Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add skeleton support for the Bitstream font engine. In its current form this only allows +for type 1 PostScritp fonts, CFF is trivial to add, as should be support for Bitstream's +own compressed format. Addition of type 42/TrueType fonts should be patterned after +FreeType, as there is support in Bitstream for a callback to provide TrueType +outlines. There is no such provision for PostScript fonts. + +To build; define BITSTREAM_BRIDGE=1 and BITSTREAM_ROOT="", the root should point one +level above the 'core' directory. In the current code this would be : +"/bitstream/FontFusion 4.5a SDK" +</pre> +<p>[psi/zfapi.c psi/ifapi.h psi/write_t1.c psi/int.mak psi/msvc32.mak psi/fapibstm.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T081759.395641Z"></a> +2010-05-15T08:17:59.395641Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +better way of defining SOC_LOADER when try ing to do "make -f base/unix-gcc.mak so"</pre> +<p>[base/unix-dll.mak base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T080646.613460Z"></a> +2010-05-15T08:06:46.613460Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The final part of trying to "ln -s base/unix-gcc.mak Makefile ; make so" work. + +There were some fundamental problems with the older version: The so target really +should be built in three distinct stages with three different FLAGS - the +utils (genarch, gechogs) executable part, the shared library part, and the two final +executable part. The library should be built with the shared-object flags, but neither +of the utils nor the final executables should be built with "-shared", since they are +executables and not libraries. Hope this is clear. + +There is also a little problem from SOC_LOADER not being defined if this file +is not used from ./configure's Makefile. + +</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T075816.778296Z"></a> +2010-05-15T07:58:16.778296Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +use CC_ instead of CC like everywhere else, to make the "so" target work</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T063020.380857Z"></a> +2010-05-15T06:30:20.380857Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +"-shared" is a linker flag and not a compiler (object code generation) flag; another piece of trying to make "make -f base/unix-gcc.mak" work</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T062741.486639Z"></a> +2010-05-15T06:27:41.486639Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +try to make 'make -f base/unix-gcc.mak so' work +When not run through ./configure, HAVE_CONFIG_H isn't defined and +the jbig2 codes drop through to generic unknown unix platform - so we put some +generic unix values here. + +</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-15T062335.840946Z"></a> +2010-05-15T06:23:35.840946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +correct documentation on how make so should work - ./configure --enable-dynamic is required</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T033629.389869Z"></a> +2010-05-15T03:36:29.389869Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding new header dependencies from the recent remove-globals effort</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031349.664716Z"></a> +2010-05-15T03:13:49.664716Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding a needed include to silent a compiler warning introduced by the recent remove-globals effort</pre> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031231.280935Z"></a> +2010-05-15T03:12:31.280935Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another fix to bug 691306 +This was broken in r2746 (June 2002) which nobody has noticed for 8 years. +This code path is only used for 'make -f unixansi.mak' (very generic unix cc compiler). + +</pre> +<p>[base/gp_unifs.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030909.671905Z"></a> +2010-05-15T03:09:09.671905Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +generate tif_config.h if it is not there. part of fixes to bug 691306</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030653.120732Z"></a> +2010-05-15T03:06:53.120732Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about the vga devices being Linux specific</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030554.250134Z"></a> +2010-05-15T03:05:54.250134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +part of fix to bug 691306. + +These two devices has been broken since r2925 (DeviceN, August 2002), +but not built by default at all. They were blindly enabled in +unix-gcc.mak amongst the ESP merge from Till, and it would appear that +nobody has noticed since the merge (8.57-8.60) until now. + +</pre> +<p>[base/gdevl256.c base/gdevvglb.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025814.802157Z"></a> +2010-05-15T02:58:14.802157Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unixansi.mak to make "make -f base/unixansi.mak" work; another part for bug 691306</pre> +<p>[base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025722.770443Z"></a> +2010-05-15T02:57:22.770443Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unix-gcc.mak to make "make -f base/unix-gcc.mak" work; bug 691306</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025530.474135Z"></a> +2010-05-15T02:55:30.474135Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about the default internal resolution for pdfwrite is 720dpi</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025408.145913Z"></a> +2010-05-15T02:54:08.145913Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about how to force-embedding the basic 14 fonts</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025247.037525Z"></a> +2010-05-15T02:52:47.037525Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix an obvious typo in the makefile</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T164605.198340Z"></a> +2010-05-14T16:46:05.198340Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Added support to unix-gcc.mak and unixansi.mak to build/use libtiff +(also fixed some typos and made the device lists more similar). + +Note because of the FreeType code these files do not work with +the current head (they work with ghostscript-8.71). + +Fixes Bug 691301. + +</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T042314.678757Z"></a> +2010-05-14T04:23:14.678757Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove one extra tab introduced in r10994; non-GNU Make on Tru64 and HP-UX is picky. Bug 688184 and bug 691299</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T042029.682174Z"></a> +2010-05-14T04:20:29.682174Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +HP compiler quirk - apparently the same workaround is needed for SUN Pro C and GCC 1.x (see a few lines before this change) ; bug 688184</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> + +<p><strong><a name="2010-05-14T041842.997881Z"></a> +2010-05-14T04:18:42.997881Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +uint8_t type located in usual header on HP-UX needed for jbig2dec ; bug 688184</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-14T041654.357328Z"></a> +2010-05-14T04:16:54.357328Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix conflicting types against HP-UX system header in jasper; bug 688184</pre> +<p>[jasper/src/libjasper/include/jasper/jas_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-13T200808.900471Z"></a> +2010-05-13T20:08:08.900471Z Robin Watts</strong></p> +<blockquote> +<pre> +Nudge the windows solution/makefiles closer to supporting 64 bit builds +by defining WIN64 and amending makefiles to pass the define on through +recursive calls. + +</pre> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-13T164947.848287Z"></a> +2010-05-13T16:49:47.848287Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding NULL check before closedevice - bug report 691296 and patch from Tim Waugh. Thanks.</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T085542.013750Z"></a> +2010-05-13T08:55:42.013750Z Ken Sharp</strong></p> +<blockquote> +<pre> +Changes only in white space, to provoke another regression test. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T083002.236776Z"></a> +2010-05-13T08:30:02.236776Z Ken Sharp</strong></p> +<blockquote> +<pre> +No changes, just an attempt to provoke some regression runs.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T080516.555333Z"></a> +2010-05-13T08:05:16.555333Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI interface +There is code in the FAPI interface for replacing a font's /FontBBox entry, this +sometimes has to create a new array to insert into the dictionary, if the old array is +not suitable for storing real values. + +The code to do this continued using ref_assign_old, as it had done for replacing the +values in an existing array. This appears to be incorrect, when created the refs in a +new array are uninitialised so attempting to use ref_assign_old tries to use +uninitialised data. + +Modified to use ref_assign_new instead, as indicated by the comments in store.h + +This *may* reduce some of the non-deterministic behaviour, possibly with files such +as ShadowText.eps +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T084416.052741Z"></a> +2010-05-12T08:44:16.052741Z Chris Liddell</strong></p> +<blockquote> +<pre> +Elimate an irksome compiler warning introduced in r11221</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T014318.946640Z"></a> +2010-05-12T01:43:18.946640Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding documentation about the -dDisableFAPI=true switch in various places</pre> +<p>[doc/Use.htm doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-11T220522.389565Z"></a> +2010-05-11T22:05:22.389565Z regression</strong></p> +<blockquote> +<pre> +The local cluster now tests the language switch build (ls). +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> +</blockquote> + +<p><strong><a name="2010-05-11T212119.118628Z"></a> +2010-05-11T21:21:19.118628Z Robin Watts</strong></p> +<blockquote> +<pre> +Add x64 platform target to Visual Studio projects. I can't +test it myself due to not having a 64bit Windows setup, +but it at least starts building and then falls over when +it tries to run a 64bit exe as part of the build process. + + + +</pre> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-11T210209.407086Z"></a> +2010-05-11T21:02:09.407086Z regression</strong></p> +<blockquote> +<pre> +Minor improvement to cluster node log collection code. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-11T204110.123188Z"></a> +2010-05-11T20:41:10.123188Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp was reporting the wrong page number for images, due to me forgetting +to increment the imagecount when images were loaded. Fixed here. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T172501.376580Z"></a> +2010-05-11T17:25:01.376580Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bugs 690356 and 690832: have the colour space object take a copy of string data associated with an indexed colour space lookup table. This prevents the colour space finalising code (gx_final_Indexed) freeing the contents of a Postscript object which may still be in use.</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T154421.967848Z"></a> +2010-05-11T15:44:21.967848Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) +The PDF interpreter, when a font is missing, and it has the 'small caps' flag set, +creates a substitute by altering the CharStrings of the substitute font, replacing +the lower case glyph CharStrings with procedures which 'show' the upper case glyph at a +reduced size. + +This ends up in the FAPI code as a t_mixedarray type which was being missed by the check +for a t_array, added previously to handle arbitrary procedures in a type 1 font. After +extending the check to include t_mixedarray it was clear that the SEAC processing was +also messing up the dictionary lookup, so it was necessary to restore a value which +had been overwritten in case a SEAC turned up. + +zero-length-font.pdf should now work as it does without FAPI, no other differences +expected. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T143432.672494Z"></a> +2010-05-11T14:34:32.672494Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise the UFST interface code for PCL/PXL and GS to work with the changes to eliminate global variables in the Artifex code base. + +NOTE: the UFST_REENTRANT configuration was broken, and still is (it has been since the creation of gxfapiu.[ch] files. To be resolved in the future. At this time, therefore, no build integrating UFST can be thread safe. + + +</pre> +<p>[/trunk/ghostpdl/pl/plulfont.c psi/fapiufst.c base/gxfapiu.c base/gxfapiu.h]</p> +</blockquote> + +<p><strong><a name="2010-05-11T132443.420456Z"></a> +2010-05-11T13:24:43.420456Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691249 - error caused by failing to initialise new member of +libctx that was previously a global. + +We now memset the contents of libctx to 0 after mallocing it, and then +explicitly set the non-zero/NULL/false values. This is safer long term as +it protects us from making the same mistake in future. + +</pre> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T124144.704781Z"></a> +2010-05-11T12:41:44.704781Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +replace "/*" by "<slash><star>" to avoid compiler warning about comments inside comment </pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T115510.416074Z"></a> +2010-05-11T11:55:10.416074Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug code for helping in debug of 689737. The pattern that is created is 1 bpp. With this code the pattern bit map is dumped for opening with photoshop as a raw 8bit image. The source of the problem appears to be incorrect creation of the pattern bit map when GraphicAlphaBits is set to greater than 1.</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T093516.657505Z"></a> +2010-05-11T09:35:16.657505Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (fonts) +Bug #691290 "new freetype code gives error /typecheck in definefont" + +When creating a Decoding from an Encoding array, treat null objects the same as /.notdef +(ie not encoded). + +No differences expected. +</pre> +<p>[Resource/Init/gs_fntem.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-10T151725.103327Z"></a> +2010-05-10T15:17:25.103327Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FreeType) : illegal use of setcurrentpoint not handled as per Adobe. +Bug #691172, file type1-ce1_setcurrentpoint.ps + +The PostScript file includes a font which illegally uses setcurrentpoint to establish an +absolute x/y position. The spec is quite clear that this operator is *only* meaningful +when processing the results of an OtherSubr, so this usage is definitely illegal. + +Not only does it use setcurrentpoint but, unlike previous uses we have seen, it does not +simply establish 0,0 as the initial point, which can be safely ignored, it actually +uses it to displace the outline vertically. + +FreeType normally just puts two uninitialised variables on the stack, ignores the +setcurrentpoint and pops the two dummy values. Instead, we now push the current x and +y co-ordinates when we get a '0 callothersubr'. In setcurrentpoint we then use the +top two values on the stack to set the current point. This now works for the illegal +usage seen here, the previous illegal usage, and does not break well-formed fonts +which actually use the OtherSubrs to set the point. + +</pre> +<p>[freetype/src/psaux/t1decode.c]</p> +</blockquote> + +<p><strong><a name="2010-05-10T122909.676516Z"></a> +2010-05-10T12:29:09.676516Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Retry of fix for Bug 69048 (this one actually builds...) Again this should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/lib.mak base/gxpcmap.c base/gxdevmem.h base/gdevabuf.c base/gspaint.c]</p> +</blockquote> + +<p><strong><a name="2010-05-10T015742.574530Z"></a> +2010-05-10T01:57:42.574530Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Reversion to 11210 until I figure out what went wrong...</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-05-09T231059.799862Z"></a> +2010-05-09T23:10:59.799862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 690487. This should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T223046.926748Z"></a> +2010-05-08T22:30:46.926748Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update license headers of a few retaining files with AFPL header. +Bug 691285. +</pre> +<p>[Resource/Decoding/StandardEncoding Resource/Decoding/Latin1]</p> +</blockquote> + +<p><strong><a name="2010-05-08T212213.614092Z"></a> +2010-05-08T21:22:13.614092Z regression</strong></p> +<blockquote> +<pre> +Whitespace changes only. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-08T211223.981766Z"></a> +2010-05-08T21:12:23.981766Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster software: + + Check svn commands for errors and retry. + + Gather individual logs and md5sums after each job is completed + rather than at the end of all jobs. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-08T204725.658412Z"></a> +2010-05-08T20:47:25.658412Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Minor changes to the cluster software: + + Added a lock file to the clusterpull.sh task + Updated the documentation to explain how to temporarily disable a node. + +</pre> +<p>[toolbin/localcluster/clusterpull.sh toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-05-08T155646.469253Z"></a> +2010-05-08T15:56:46.469253Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and break an infinite loop when some of the image data source are +at EOF, some are not, and the image code doesn't take more data. +Bug 691285. +</pre> +<p>[psi/zimage.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T095955.023824Z"></a> +2010-05-08T09:59:55.023824Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise a structure to silence a Coverity warning.</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T085757.923764Z"></a> +2010-05-08T08:57:57.923764Z Ken Sharp</strong></p> +<blockquote> +<pre> +Really, properly, silence the gcc compiler this time....</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T143008.276765Z"></a> +2010-05-07T14:30:08.276765Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix clist_band_height to use the macro defined in gxband.h as other code does to prevent future bitrot. Also use macros for the clist_ cfname, cfile, bfname, bfile.</pre> +<p>[base/gxclist.h]</p> +</blockquote> + +<p><strong><a name="2010-05-07T142318.978837Z"></a> +2010-05-07T14:23:18.978837Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix number of elements in the BAND_PARAMS_INITIAL initializer macro to correspond to the size of gx_band_params_t (needed since rev 5751).</pre> +<p>[base/gxband.h]</p> +</blockquote> + +<p><strong><a name="2010-05-07T121650.113521Z"></a> +2010-05-07T12:16:50.113521Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler warnings about not checking the return value from fread.</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T121247.989467Z"></a> +2010-05-07T12:12:47.989467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise the members of a local structure to silence a (spurious) compiler and +Coverity warning.</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T081729.050795Z"></a> +2010-05-07T08:17:29.050795Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a GCC compiler warning, no differences expected.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160427.459137Z"></a> +2010-05-06T16:04:27.459137Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove gs_debug_out global variable as it is never used. + +No differences expected or seen with local cluster testing. + +</pre> +<p>[base/bench.c base/gsmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160343.016324Z"></a> +2010-05-06T16:03:43.016324Z Robin Watts</strong></p> +<blockquote> +<pre> +Update overprint device to avoid writing back to 3 global variables +({generic,no,sep}_overptint_procs). We still have those global variables +but each instantiated device takes copies of them and does any writing back +into the copies. This is part of the work for bug 691207. + +No differences expected or shown by local cluster testing. + +</pre> +<p>[base/gsovrc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160028.103268Z"></a> +2010-05-06T16:00:28.103268Z Robin Watts</strong></p> +<blockquote> +<pre> +Move gs_interp_reschedule_proc, gs_interp_time_slice_proc, and +gs_interp_time_slice_ticks into context to avoid global variables as +part of the work for bug 691207. + +No differences expected or seen with local cluster testing. + +</pre> +<p>[psi/icontext.c psi/zcontext.c psi/icstate.h psi/interp.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T152510.815510Z"></a> +2010-05-06T15:25:10.815510Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI & FreeType) + +Bug #691284 "Error: /unknownerror in --.FAPIBuildChar" +The issue is caused because the PostScript file adds to an existing type 1 font a +CharString entry which is not in type 1 CharString format. I would have thought this +to be illegal but other PostScript interpreters (specifically Distiller) are happy +with it. + +Modifed the FAPI interface so that after retrieving a type 1, non-CID, CharString we +test to see if it is a procedure, if it is, then we return an error from the FAPI +code to the caller (in this case the FreeType interface). + +Modified the FreeType interface so that if the CharString retrieval returns an error +we return a specific (otherwise unused) error to the caller, in this case the +FreeType engine. On return from FreeType to the interface we test for the specific +FreeType error (FT_ERR_Invalid_File_Format) and if this is detected then instead of +returning an error to FAPI, we add one to the character index (to ensure it isn't 0) +and return that to FAPI. + +Finally, in the FAPI code, after 'rendering' the glyph, if we were returned a value +> 0 then we assume that 'something went wrong' with the CharString. As a last-ditch +effort we use the return value -1 to retrieve the CharString, and then 'exec' it. + +NB if we fail to retrieve the CharString at this level, we return an invalidfont error. + + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> +</blockquote> + +<p><strong><a name="2010-05-06T030441.737028Z"></a> +2010-05-06T03:04:41.737028Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix compilation errors on Visual C that wants "ui64" suffix instead of "ULL" +for "unsigned long long" numerals. +</pre> +<p>[base/sha2.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T203019.371369Z"></a> +2010-05-05T20:30:19.371369Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove 2 unused globals. These should have been removed as part of 11146. + +No differences expected. + +</pre> +<p>[psi/iinit.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T195805.790577Z"></a> +2010-05-05T19:58:05.790577Z regression</strong></p> +<blockquote> +<pre> +Minor changes to the local cluster: + +Report md5sum differences even in files that generate an error during processing. +Archive the email and log files for all revisions, including those which had compile errors. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-05T181421.583279Z"></a> +2010-05-05T18:14:21.583279Z Robin Watts</strong></p> +<blockquote> +<pre> +More work towards bug 691207 (global variable removal). + +There are 4 places is xps where we do eprintfs that access mem_err_print. +This resolves 1, the other 3 should never be called in files we support. + +Resolve 4 const warnings from jasper. + +Remove 2 calls to gs_lib_ctx_get_non_gc_memory_t from the cups driver. This +means the only places left calling this are devices in gs\contrib. + +Convert calls to errprint_nomem to calls to errprint (in gdevx.c, gxttb.c, +gdevupd.c) + +The only places using mem_err_print are therefore: + + * calls to debug printing functions + * devices in gs/contrib calling gs_lib_gtx_get_non_gc_memory, errprint_nomem, + and eprintf. + * jasper calling eprintf. + * gdevsco.c (but that seems intrinsically single threaded to me as only one + thing can be using the console at a time, presumably) + * signal handlers in os2 and iwatc for catching numeric exceptions. + * Various devices in gs/base still call errprintf_nomem - some in DEBUG only + code, but some not. + * The gs_throw_imp function. + +I think this may be as good as we can get at this point. + +No differences expected, or shown by local cluster testing. + +</pre> +<p>[/trunk/ghostpdl/xps/xpsfont.c base/gdevx.c base/gdevupd.c base/gxttfb.c cups/gdevcups.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-05-05T162549.238174Z"></a> +2010-05-05T16:25:49.238174Z Robin Watts</strong></p> +<blockquote> +<pre> +More work for bug 691207 (remove global vars). Change the gp_ interface and +all its implementations to pass a gs_memory_t in some cases to allow eprintf +calls to be made safely. + +Also fix a 'const' warning in pxl/pxfont.c and pcl/pcsymbol.c + +No differences expected, or shown by local cluster testing. + +</pre> +<p>[base/gp_os2.c base/gdevos2p.c base/gsdevice.c psi/zfile.c base/gp_os2pr.c base/gp_vms.c base/gdevwprn.c base/gxclfile.c base/gp_iwatc.c base/gp_os2.h base/gp_os9.c base/gdevwpr2.c /trunk/ghostpdl/pcl/pcsymbol.c /trunk/ghostpdl/xps/xpstop.c base/gp_unix.c /trunk/ghostpdl/psi/psitop.c base/gp_unifs.c base/gp.h base/gp_macio.c base/bench.c base/gdevpdf.c base/gp_os2fs.c /trunk/ghostpdl/pxl/pxfont.c base/gp_mswin.c base/gp_dvx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T064720.379288Z"></a> +2010-05-05T06:47:20.379288Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 691164 "PDF loads blank when not Administrator on Vista using GS 8.7". + +The problem was in JasPer library. It tried to create temporary file in +current directory (HAVE_MKSTEMP), or root directory (Windows and others). +When those directories are read only, it failed to decode images. + +This patch introduces searching of TMPDIR, TEMP and TMP environment varibales +and use them for temporary files. + +Localcluster test reported no differences. + +</pre> +<p>[jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/include/jasper/jas_stream.h]</p> +</blockquote> + +<p><strong><a name="2010-05-05T030800.170436Z"></a> +2010-05-05T03:08:00.170436Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding --ldflags to cups.mak ; bug 690268</pre> +<p>[cups/cups.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-04T231146.700325Z"></a> +2010-05-04T23:11:46.700325Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Incoporate the reporter's suggested change to config.guess , bug 69020 + +It appears that the same change is already in automake-1.11 (and after 1.7), +so the change is correct. If we merge with upstream again, it is possible that +this might be overwritten. Hopefully when that happens, the config.guess from +newer upstream will have this change. +</pre> +<p>[jasper/acaux/config.guess]</p> +</blockquote> + +<p><strong><a name="2010-05-04T225233.245666Z"></a> +2010-05-04T22:52:33.245666Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +minor wording and grammar corrections. Bug 690005</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-04T190537.567635Z"></a> +2010-05-04T19:05:37.567635Z Robin Watts</strong></p> +<blockquote> +<pre> +A couple of calls to eprintf missed from the previous commit. + +No expected changes. + +</pre> +<p>[base/gsfcid.c]</p> +</blockquote> + +<p><strong><a name="2010-05-04T190451.514942Z"></a> +2010-05-04T19:04:51.514942Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Improved the localcluster readme instructions. +</pre> +<p>[toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-05-04T184712.330141Z"></a> +2010-05-04T18:47:12.330141Z Robin Watts</strong></p> +<blockquote> +<pre> +As part of the work for bug 691207 (remove global variables) we introduce +a new set of macros, "emprintfX". These do the same as the "eprintfX" +macros, except they take an explicit memory reference rather than using +the mem_err_print global. + +The plan is to move everything possible over to using emprintf, leaving +callers of eprintf as 'unsafe' in multithreaded builds. + +This review changes all callers of eprintf in ghostscript except: +gdevsco.c, gp_iwatc.c, gp_macio.c, gp_mswin.c, gp_os2.c, gp_os2pr.c, +gp_unifs.c, gp_vms.c, gsfid.c, contrib\*, jasper\*. + +1 instance in gzspotan.c remains unchanged, but it should never be used. + +Local cluster testing shows no build problems. + +</pre> +<p>[psi/fapi_ft.c base/gdevpdfj.c base/gsdevice.c base/gdevos2p.c psi/zfapi.c base/gdevijs.c base/gdevpdfm.c base/gdevpx.c base/gxclfile.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c psi/fapiufst.c base/gdevpdtf.c base/gdevpdfu.c base/gxblend1.c base/gspaint.c base/gdevxini.c base/gxcmap.c base/gxclthrd.c base/gdevpsdu.c base/gdevpdtt.c base/gstype42.c base/gdevpsft.c base/gsmisc.c base/gdevsgi.c base/gxclmem.c base/gxttfb.c base/std.h base/gslib.c base/gxtype1.c base/gzspotan.c psi/imainarg.c base/gdevpe.c base/gdevsun.c base/gdevxcmp.c psi/imain.c base/gsiorom.c base/gdevpdf.c base/gdevtsep.c contrib/japanese/gdevdmpr.c base/gxclrast.c base/gdevpdfi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-04T160329.077971Z"></a> +2010-05-04T16:03:29.077971Z regression</strong></p> +<blockquote> +<pre> +Changed casper3.ghostscript.com to casper.ghostscript.com (no reason to test this, how can it possibly fail?). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-04T123427.748154Z"></a> +2010-05-04T12:34:27.748154Z Robin Watts</strong></p> +<blockquote> +<pre> +As part of the efforts towards bug 691207 (global variables must be removed) +this commit reduces the reliance on mem_err_print. + +Currently all calls to errwrite and errflush get the stdin/out/err details +from a global mem_err_print. For multithreaded gs this will result in output +going to the wrong place if any of them are redirected. This review splits +errwrite into 2 variants, errwrite and errwrite_nomem. The first takes an +explicit mem pointer. The second continues to assume a global one. + +The plan is to make everything possible use the first. Currently debugging +calls and some 'stubborn' devices continue to call errwrite_nomem. + +Local cluster testing shows no differences. + + +</pre> +<p>[base/gdevos2p.c base/gdevsppr.c base/gdevpdfm.c base/gdevsunr.c base/gdevpx.c base/gdevupd.c base/gdevimgn.c base/gdevwpr2.c base/ttfmain.c base/ttfoutl.h base/gp_unifs.c /trunk/ghostpdl/psi/psitop.c base/gdev4693.c /trunk/ghostpdl/xps/xpsfont.c base/strmio.c /trunk/ghostpdl/pxl/pxtop.c contrib/pcl3/src/gdevpcl3.c base/gsmisc.c base/gdevwddb.c base/gsargs.c base/szlibd.c /trunk/ghostpdl/pl/plmain.c base/gxttfb.c base/std.h base/gdevifno.c /trunk/ghostpdl/xps/xpscff.c /trunk/ghostpdl/pcl/pctop.c contrib/pcl3/eprn/gdeveprn.c base/gdevcdj.c psi/ziodevsc.c base/gdevx.c base/gslibctx.c contrib/pcl3/eprn/eprnparm.c toolbin/localcluster/run.pl base/gdevhl7x.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T165735.641421Z"></a> +2010-05-03T16:57:35.641421Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix compiler warning (return from incompatible pointer type) +introduced with making the font cache part of the library context, +revision 11165. +</pre> +<p>[psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T164816.934577Z"></a> +2010-05-03T16:48:16.934577Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Applied Michael Constant's patch to support reading 256-bit AES encrypted PDFs +(bug #690702). + +Minor modifications were made to the original patch to make it work with the +current trunk. + +Aaron Gifford's SHA-2 implementation is included (BSD licensed). + +Libidn is added as an optional dependency to support unicode passwords. If it +is not installed, only ASCII passwords are supported. + + +</pre> +<p>[base/errno_.h psi/zfaes.c psi/gs.c base/saes.c base/lib.mak base/sha2.c doc/Use.htm base/saes.h base/Makefile.in psi/int.mak psi/zutf8.c base/sha2.h base/locale_.h psi/zpdfops.c psi/zfsha2.c psi/zwinutf8.c psi/winint.mak base/ssha2.c base/configure.ac Resource/Init/pdf_sec.ps psi/msvc32.mak base/ssha2.h]</p> +</blockquote> + +<p><strong><a name="2010-05-03T132552.802113Z"></a> +2010-05-03T13:25:52.802113Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) incorrect ToUnicode CMap. +Bug #691274 "Missing or incorrect ToUnicode when using Identity ordering" + +pdfwrite emits ToUnicode CMaps in PDF files which always use 2 bytes for the key +length. That is 0x21 is represented as <0021>, since these are hex strings there should +in fact be no difference between <21> and <0021>. It is clear from the ToUnicode +Mapping file tutorial that this is correct for mapping files. + +However, a PDF file is not a CMap file. It appears that Acrobat does not like +beginbfrange data which is padded with zeros (it seems happy with codespacerange and +destination codes which are 0 padded though). + +This patch outputs ToUnicode CMaps which are not padded with 0, ie 0x21 is emitted as +<0021>, for the srcCodeLo and SrcCodeHi parameters in a beginbfrange operation. The +destination codes remain zero-padded. + +Technically this would be incorrect for a real CMap file, but we don't write those +out so this should not be an issue. The change is limited to ToUnicode CMaps and does +not affect any other kind of CMap. + +I believe the change will affect the data emitted for the beginbfrange, +beginbfchar, begincidchar, beginnotdefchar, beginnotdefrange and begincidrange +operators. It does *not* affect the begincodespacerange operator; although Acrobat +Distiller writes this without zero padding tests show that Acrobat is happy reading +zero-padded code space ranges. + +ToUnicode information is not used in rendering PDF files, so regression testing should +show no differences. Local testing of a limited number of files doesn't reveal any +problems, but this change has not been well tested. +</pre> +<p>[base/gsfcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T041330.766321Z"></a> +2010-05-03T04:13:30.766321Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fix unix so build regression; fixes regression from r9948 which was committed for bug 690695</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-03T035903.969165Z"></a> +2010-05-03T03:59:03.969165Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fixes multiple jpeg devices listed in gs -h (bug 691176)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-03T031434.052929Z"></a> +2010-05-03T03:14:34.052929Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Rewording build instructions for unix systems, and adding more warnings about +instructions for legacy old systems being deprecated; bug 691264. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-02T001952.718987Z"></a> +2010-05-02T00:19:52.718987Z Robin Watts</strong></p> +<blockquote> +<pre> +Script to generate an html page that graphically show the differences +between local cluster regression run results between arbitrary revisions. + +Usage information given in file. Must be run on the cluster master machine +(i.e. casper). + + +</pre> +<p>[toolbin/localcluster/comparerevs.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-01T232233.008186Z"></a> +2010-05-01T23:22:33.008186Z Henry Stiles</strong></p> +<blockquote> +<pre> +Continue work to remove globals (691207). The font cache is no longer +global but part of the library context. +</pre> +<p>[psi/isave.h psi/bfont.h base/gslibctx.c psi/zfcid0.c psi/zfcid1.c psi/zfont.c psi/zfont0.c psi/zfont1.c psi/zbfont.c psi/zusparam.c base/gslibctx.h psi/zfont32.c psi/zfont42.c psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-05-01T092324.281883Z"></a> +2010-05-01T09:23:24.281883Z Ken Sharp</strong></p> +<blockquote> +<pre> +Modify the 'C' defaults of the pdfwrite device + +Bug #691259 "HPGL graphic followed by raster graphic results in incorrect pdf" +The pdfwrite device is initialised in 'C', and then partly overridden by PostScript +initialisation. The problem is that non-PostScript input does not (cannot) execute the +PostScript initialisation, and so the defaults are left as those done in 'C'. + +Not only do these defaults not match the documented defaults in ps2pdf.htm, they are +not particularly well selected. In this case the problem was caused by sending image +data at 150 dpi, but only a single scan line at a time. The default setting for +pdfwrite was to downsample image data to 72 dpi, this caused us to subsample (the +default downsampling) by a factor of more than 2, which led to our single scan line +becoming less than half a scan line, and so disappearing altogether. + +This patch addresses this issue by altering a number of the defaults to more sensible +values. In particular we disable downsampling and enable image compression for gray +and colour images. This has the fortunate result of making most PDF output files +smaller than before, even though we are now storing more image data. + +</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> + +<p><strong><a name="2010-05-01T015946.738263Z"></a> +2010-05-01T01:59:46.738263Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check all PDF files for transparency features because some files have +incorrect version number but Acrobat renders them just fine. Bug 691273. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-30T155408.117709Z"></a> +2010-04-30T15:54:08.117709Z Ken Sharp</strong></p> +<blockquote> +<pre> +Testing a white space change for cluster regression tests, this will be overwritten later.</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> + +<p><strong><a name="2010-04-29T215134.733741Z"></a> +2010-04-29T21:51:34.733741Z Till Kamppeter</strong></p> +<blockquote> +<pre> +rev 11149 for fixing bug 691014 had still some compiler warnings. This rev fixes them. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-29T183244.398974Z"></a> +2010-04-29T18:32:44.398974Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove the 'parent' parameter from gs_malloc_init calls. It only serves to +allow libctx's to be shared between instances, and we'll never want to do +that. It's unused at the moment anyway, so this doesn't impact anything. + +No expected differences. + +</pre> +<p>[psi/gs.c base/gsinit.c base/gslib.c base/gsmalloc.c /trunk/ghostpdl/pl/plalloc.c psi/iapi.c base/gsmalloc.h]</p> +</blockquote> + +<p><strong><a name="2010-04-29T041915.713592Z"></a> +2010-04-29T04:19:15.713592Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Doubling the arbitrary 0x100000 alloc size limit; the alloc_size_is_ok() check is +complied out and replaced with DO_NOTHING in release build so this has effect only +on debug builds. Fixes Bug 691271 . + +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T231901.308642Z"></a> +2010-04-28T23:19:01.308642Z Robin Watts</strong></p> +<blockquote> +<pre> +Eliminate some warnings in gxcht.c (keep shifts < size of uint). + +No local cluster differences reported, or expected. + +</pre> +<p>[base/gxcht.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T223701.089543Z"></a> +2010-04-28T22:37:01.089543Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed segfaults caused by setting and changing the page geometry parameters incorrectly (bug #691014). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T215729.180527Z"></a> +2010-04-28T21:57:29.180527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Associate cached font instance with PDF font resource dictionary instead of +font descriptor. The latter may be shared by font resource dictionaries with +different encodings causing incorrect rendering. Bug 690714. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-28T202441.808400Z"></a> +2010-04-28T20:24:41.808400Z Robin Watts</strong></p> +<blockquote> +<pre> +Move op_array_table_global and op_array_table_local away from being +globals and into i_ctx_p. This requires various knock on changes +throughout the code to enable them to be recovered from the context +(which may itself need to be recovered from a memory pointer). + +Also, the garbage collection is altered slightly; rather than the +op_arrays being special cased (as special objects that have to have +their component parts registered as roots for the garbage collection) we +move them inline into i_ctx_t and amend the gc routines for that +structure. Thanks to Alex for his help with this. + +No differences expected, or shown with local cluster testing. + +</pre> +<p>[psi/iinit.c psi/icontext.c psi/imain.c psi/idebug.c psi/icstate.h psi/interp.c psi/igc.c psi/opdef.h psi/zmisc.c psi/iutil.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T201940.848310Z"></a> +2010-04-28T20:19:40.848310Z Robin Watts</strong></p> +<blockquote> +<pre> +Simple fix to remove dict_default_pack from being a global bool. +(Make it an enum instead). + +No changes expected or shown by local cluster testing. + +</pre> +<p>[psi/idict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T171852.709002Z"></a> +2010-04-28T17:18:52.709002Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that multiplication gets applied prior to type casting.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T144102.575217Z"></a> +2010-04-28T14:41:02.575217Z Robin Watts</strong></p> +<blockquote> +<pre> +Add missing cast to fapi_ft.c to quiet a warning. This was missed out of +yesterdays commit of such fixes. + +No expected diffs. + +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T114024.316225Z"></a> +2010-04-28T11:40:24.316225Z Robin Watts</strong></p> +<blockquote> +<pre> +Small tweaks to Ghostscript initialisation to check for malloc failures etc. +This would very rarely have been a problem in current code, but would be +more of an issue in multithreaded operation as running out of memory +while forking a new instance is more likely. + +No expected differences, but the local cluster code seems to be claiming +differences for an unchanged tree at the moment, so if 3 or so non-pdfwrite +errors and 1800ish pdfwrite errors show up, it's not because of this. + +</pre> +<p>[psi/gs.c psi/imain.c base/gsmalloc.c psi/iapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T160605.631664Z"></a> +2010-04-27T16:06:05.631664Z Chris Liddell</strong></p> +<blockquote> +<pre> +Add back in a call removed in (a merging) error in my previous commit (11137).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T145314.939131Z"></a> +2010-04-27T14:53:14.939131Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691260: make the FAPI and Freetype related warning messages debug only, and depend on -Zm for the FAPI warnings or -Z1 for the Freetype warnings. Also address compiler warnings in fapi_ft.c.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T142708.849186Z"></a> +2010-04-27T14:27:08.849186Z Robin Watts</strong></p> +<blockquote> +<pre> +Silence some warnings, either by including new headers or by introducing +explicit casts. + +No differences shown by local cluster testing (of pcl and gs only as xps is +currently broken). + +</pre> +<p>[base/gxdcconv.c base/gsptype1.c base/gdevpx.c base/gstrans.c base/gdevrinkj.c base/gxfill.c base/gxstroke.c psi/zmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T095626.779813Z"></a> +2010-04-27T09:56:26.779813Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS Raster output device working in a multi-threaded mode, removing all global variables. Thanks to James Cloos for the patch. Fixes bug #691241. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-26T152928.937213Z"></a> +2010-04-26T15:29:28.937213Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remember the allocator in the dynamically allocated scanner_state to ensure +proper deallocation. Current allocation may be reset when a PS error occurs. +Bug 691167. +</pre> +<p>[psi/ztoken.c psi/iscan.c psi/iscan.h]</p> +</blockquote> + +<p><strong><a name="2010-04-26T090435.569612Z"></a> +2010-04-26T09:04:35.569612Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that the BuildChar object is not the null object before trying access its contents. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-26T055846.519692Z"></a> +2010-04-26T05:58:46.519692Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Change so that when a graphic state is restored, the overprint compositor action only occurs if there is a change from the current overprint state. This fixes a problem in one of the files associated with bug 691014. In the particular file, overprint compositor actions were getting placed into a pattern clist. The file in fact had no overprint settings. Ran regression test, no differences expected.</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T234756.048527Z"></a> +2010-04-25T23:47:56.048527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add ANSI/ASME Y14.1 A - F paper sizes named ANSI_A - ANSI_F for completeness. +Bug 691217. +</pre> +<p>[Resource/Init/gs_statd.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-25T224548.099475Z"></a> +2010-04-25T22:45:48.099475Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Minor clean-ups: Added some parantheses to casts and initialized allocated memory. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T223209.854994Z"></a> +2010-04-25T22:32:09.854994Z Michael Vrhel</strong></p> +<blockquote> +<pre> +(empty)</pre> +<p>[base/gximono.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T215242.447453Z"></a> +2010-04-25T21:52:42.447453Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Introduced a real get_color_comp_index() method, to fix bug #690338 correctly. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T184728.775496Z"></a> +2010-04-25T18:47:28.775496Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add -dNONATIVEFONTMAP option to disable the use of font map and corresponding +fonts installed on underlying platform. This may be needed to ensure consistent +rendering on the platforms with different fonts, for instance, +during regression testing. Bug 691240. +</pre> +<p>[doc/Use.htm Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-25T004140.540207Z"></a> +2010-04-25T00:41:40.540207Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691014. Problem was caused by the fact that we had a soft mask present and a pattern with no transparency. This means the PDF14 device is installed and more importantly that transparency state pushes and pops occur to keep the softmask in sync with the graphic state. This particular files pattern is installed as a clist, which happens to not have any transparency. The transparency state pushes and pops were getting placed into the pattern clist when the Q and q operations occurred in the pattern, which was causing problems since the pattern clist device had no pdf14 device installed to handle such commands. + +The solution is to check, when a transparency compositor action is to occur, if the current device is a pattern accumulator or a pattern-clist device. If it is, then the pattern instance is checked to see if it has transparency. If it does not, then the transparency state chance is ignored. This all occurs on the clist writing phase in the gs_trans functions. + +In addition, a fix was made so that the pdf14custom device sets up it's color information correctly. For subtractive devices that do not have cmyk process colorants the custompdf14 device is installed. This pdf14 device was obtaining its color_info from the target device. The pdf14 device must be continuous tone even if the target device is not. + +Ran a regression test and saw no differences.</pre> +<p>[base/gdevp14.c base/lib.mak base/gstrans.c]</p> +</blockquote> + +<p><strong><a name="2010-04-24T222126.893815Z"></a> +2010-04-24T22:21:26.893815Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove rudimentary code that maps out-of-range character codes to 0 causing +dictionary overflow in some cases. Unlike earlier array, dictionary +representation of 'cmap' table doesn't need this. Bug 691253, customer 780. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-23T125600.372874Z"></a> +2010-04-23T12:56:00.372874Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build. +</pre> +<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/psi/psitop.c psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-23T041050.732099Z"></a> +2010-04-23T04:10:50.732099Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix of minor memory leak found by Ray. maskbuf entry of transparency ctx object was not getting freed. The large mask buffer, which is a member variable of maskbuf was getting freed but not this 12 byte structure. No expected differences.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-04-23T032533.581070Z"></a> +2010-04-23T03:25:33.581070Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Always load CFF font as a CIDFont when it is used as a descendant font of a +composite font in PDF file. Bug 691253. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-22T122816.186930Z"></a> +2010-04-22T12:28:16.186930Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Trap errors that happen in the font reader, issue a warning, and proceed as +if the font was not embedded. Bug 691242. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-22T042000.389442Z"></a> +2010-04-22T04:20:00.389442Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't use precompiled headers on MSVC 6 and 7 because it causes compilation +error C2006 in freetype, which uses #include MACRO . +</pre> +<p>[base/msvccmd.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-21T195107.227636Z"></a> +2010-04-21T19:51:07.227636Z Robin Watts</strong></p> +<blockquote> +<pre> +Add missing header file from revision 11097. + +</pre> +<p>[base/gdevpdtd.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T192613.171574Z"></a> +2010-04-21T19:26:13.171574Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert macro magic from gserror.h introduced in r11097, due to it being +broken when used as an expression. Sorry. + +</pre> +<p>[base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T181256.928835Z"></a> +2010-04-21T18:12:56.928835Z Robin Watts</strong></p> +<blockquote> +<pre> +Another set of very simple tweaks to a range of source files to remove +warnings. Nothing contentious in here I hope! + +base/gdevpdf.c: Make the fact we're ignoring the return value of fread +explicit by casting to void. + +base/gdevsj48.c: Remove unused var. + +base/gdevtknk.c: Avoid gcc warning by not needlessly assigning within +expression. + +base/gdevimgn.c: Fix type declaration, make function static. + +base/gxdcolor.c: Remove unused var. + +base/gdevwts.c: Comment out unused function, cast unused return value from +fread to void, remove unused vars. + +base/gdevo182.c: Be more explicit in type definition to stop warning. + +base/gdevlp8k.c: Remove unused var. + +base/gdevpdfu.c: Cast unused return value from fread to void. + +base/gdevlbp8.c: Cast unused return value from fread to void. + +base/gdevokii.c: Explicit cast to int to shut up stupid compiler. + +base/gdevpdtd.c: Add const to arg to avoid warning. + +base/gserror.h: Do some macro magic to ensure that the macro always evaluates +it's arg strictly once, insists on being followed by a semicolon, and behaves +well with surrounding if/else structures etc. + +base/gxp1fill.c: Remove unused var. + +</pre> +<p>[base/gdevlbp8.c base/gdevtknk.c base/gdevsj48.c base/gdevo182.c base/gdevpdf.c base/gdevimgn.c base/gdevokii.c base/gdevpdtd.c base/gxdcolor.c base/gdevwts.c base/gdevlp8k.c base/gdevpdfu.c base/gxp1fill.c base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T175508.584502Z"></a> +2010-04-21T17:55:08.584502Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for a problem in the rinkj driver for Epson Stylus Photo 2200. +The code was accessing indexes 4,5,6 in plane_offsets[6] and hence was +running off the end of the array. This was causing a warning at compile time +but never caused a segv as it was merely corrupting the next entry in the +structure which was reset to 0 shortly afterwards. + +Presumably the offset for one of the planes would be wrong though causing +a loss of quality. + +</pre> +<p>[base/rinkj/rinkj-epson870.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T172331.243056Z"></a> +2010-04-21T17:23:31.243056Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove several occurrences of calls to gs_lib_ctx_get_non_gc_memory_t(). +The only code that now needs this is gp_macpoll.c and gp_mspol.c for when +CHECK_INTERRUPTS is defined. This reduces the need for mem_err_print. + +The only other code that uses mem_err_print is errflush() and errwrite(). +Potentially these could be nobbled for a multithreaded build. + +The changes here rely on the memory pointers being set up correctly. While +local cluster testing gives this a clean bill of health, it's possible that +problems will appear with files in the wider world - we'll just have to fix +these as they are reported. + +</pre> +<p>[base/gdevjpeg.c base/sjpx_luratech.c base/strmio.c base/gxttfb.c psi/zfdctd.c base/sdctc.c psi/zfdcte.c psi/zfjpx.c base/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T150847.471495Z"></a> +2010-04-21T15:08:47.471495Z Robin Watts</strong></p> +<blockquote> +<pre> +Move CPSI_mode from being a global to living in the libctx, as part of the +efforts for bug 691207 (remove global variables). + +I originally tried moving CPSI_mode into the imager state, which would have +been slightly nicer, but had to abandon this due to problems interacting +with the command list code. My first thought to make this work was to +push the value of CPSI_mode into the clist at initial clist creation time. +As the setting of CPSI_mode isn't vectored through the device, we can't +detect changes in its setting, but then changing CPSI_mode during the +lifespan of a clist would give unpredictable results anyway in many cases. + +Sadly this was doomed to failure as if a page device is started up that +uses the clist code to do banding, then the command list is created before +CPSI_mode is enabled, and we'd operate with the incorrect value. + +Moving CPSI_mode into libctx means we keep exactly the same behaviour as +we have now. This has required various functions throughout the code to +pass a gs_memory_t * around. + +Localcluster testing reveals no problems. + +</pre> +<p>[psi/zfunc3.c psi/zupath.c base/gsdps1.c base/gdevdevn.c base/gxblend1.c base/gspaint.c base/gxstroke.c psi/zmisc.c base/gdevperm.c base/gxdcconv.c base/gdevpsds.c base/gxcmap.c base/gxdcconv.h psi/zfont.c base/gdevrinkj.c base/gdevbit.c base/gsmisc.c base/gxfill.c base/gdevxcf.c base/gxicolor.c base/gdevpsd.c psi/zimage.c base/gsfont.c contrib/opvp/gdevopvp.c base/gsfont.h base/gsstate.c base/gslibctx.c base/gsstate.h psi/zcharx.c psi/zusparam.c base/gslibctx.h base/gsequivc.c psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T072014.808042Z"></a> +2010-04-21T07:20:14.808042Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for a regression introduced by r11074 (bug 690094). + +As I changed image number to be incremented when 'exflag' is false, +the problem of 'exrunlength' when SDHUFF == 1 was unveiled. +This fixes it. +JBIG2 images with SDHUFF == 1 should have been having trouble +between r11074 and this revision. No other difference expected. + +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-20T185236.186732Z"></a> +2010-04-20T18:52:36.186732Z Robin Watts</strong></p> +<blockquote> +<pre> +A series of tiny changes to various files to stop compiler warnings. +Nothing contentious in here, so I hope component owners don't object. + +psi/zpdfops.c: Make zpdfinkpath function static. + +psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note. + +psi/zicc.c: Remove 2 unused variables from a function. + +psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB +might be used uninitialised' warning. Remove out of date comment and make +zswapcolors static. + +psi/zfcid1.c: Convert some unused variables to comments. + +base/gp_unix_cache.c: Make the fact we are ignoring the return value from +fread explicit by casting to void. + +base/gstype42.c: Move an unused var into a #if 0 section, comment out an +unused function. + +base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used +without definition). + +base/gxshade6.c: Remove unused function + +base/gxclfile.c: Make the fact we are ignoring the return value to freopen +explicit by casting to void. + +</pre> +<p>[base/gxshade6.c psi/zcolor.c psi/zicc.c psi/zcie.c base/gp_unix_cache.c base/gxclfile.c base/gstrans.c base/gstype42.c psi/zfcid1.c psi/zpdfops.c base/echogs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T161513.462842Z"></a> +2010-04-19T16:15:13.462842Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Made oog_encode in tif_luv.c reentrant by precalculating oog_tables. + +oog_tables was calculated on-demand when writing TIFF files in LogLuv Encoding. +Since it didn't depend on anything dynamic, I replaced this code with a static +const array. The array only consisted of 100 ints - the net library size +actually went down a few bytes after this change. + +This is part of bug #691207 (global variables must be removed). + +</pre> +<p>[tiff/libtiff/oog_table.h tiff/libtiff/tif_luv.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T115627.260655Z"></a> +2010-04-19T11:56:27.260655Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Removed global variables in libtiff's tif_pixarlog.c. + +This is part of #691207 (global variables must be removed). + +</pre> +<p>[tiff/libtiff/tif_pixarlog.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T094714.697946Z"></a> +2010-04-19T09:47:14.697946Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Removed TIFFReassignTagToIgnore in the local libtiff copy. + +It wasn't reentrant due to static variables and has been deprecated for a while +now. GhostScript does not use it at all. Libtiff HEAD also has this function +removed, it was only kept in 3.x for backwards compatibility. + +</pre> +<p>[tiff/libtiff/tif_dir.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T185800.960218Z"></a> +2010-04-15T18:58:00.960218Z Robin Watts</strong></p> +<blockquote> +<pre> +New Visual Stdio project file for building ufst version of ghostscript. + +Currently assumes that the ufst code will be found in C:\ufst, but this can +be edited in the nmake invocation lines within the Project settings. + +</pre> +<p>[ghostscript-ufst.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-04-15T184131.569934Z"></a> +2010-04-15T18:41:31.569934Z Robin Watts</strong></p> +<blockquote> +<pre> +Update msvc32.mak with various ufst make targets. This allows a +ghostscript-ufst Visual Studio project to be constructed. + +No differences to existing builds. + +</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-15T171330.072845Z"></a> +2010-04-15T17:13:30.072845Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove invalid_file_stream and invalid_file_entry global variables, +as part of the effort for bug 691207 (remove global variables). + +We move invalid_file_stream to be a non-gc chunk allocated to be in +i_ctx_t, and invalid_file_entry can then be replaced by +i_ctx_p->invalid_file_stream. The only tricky bits are a) the need to ensure +that i_ctx_p is available everywhere where it is needed, and b) making sure +that invalid_file_stream doesn't move when i_ctx_p is relocated. + +No changes shown by localcluster testing (though a previous version of the +patch did fail during gc, so the relavent code is getting tested). + +</pre> +<p>[psi/zfile.c psi/ztoken.c psi/zcontrol.c psi/zshade.c psi/zcontext.c psi/zfcid0.c psi/zfcid1.c psi/zicc.c psi/zfrsd.c psi/icontext.c psi/zvmem.c psi/ziodev.c psi/zfileio.c psi/interp.c psi/icstate.h psi/files.h]</p> +</blockquote> + +<p><strong><a name="2010-04-15T161310.848189Z"></a> +2010-04-15T16:13:10.848189Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Backported and applied libtiff patches from libtiff bugs #2125 and #2125. +These get rid of some of the global variables in libtiff (in particular +rgb_refblackwhite and whitepoint in tif_aux.c). + +This is part of the multi-threaded gs effort (bug #691207). + +</pre> +<p>[tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_aux.c tiff/libtiff/tif_dir.c tiff/man/TIFFGetField.3tiff tiff/libtiff/tif_dir.h tiff/libtiff/tif_ojpeg.c tiff/libtiff/tif_jpeg.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T144836.373936Z"></a> +2010-04-15T14:48:36.373936Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691244, reported/patch supplied by Norbert Janssen. In +revision 11045, I'd moved some globals into the libctx, which is +accessed via the gs_memory_t pointer. This has required certain +functions to now take a gs_memory_t pointer as an extra arg. In +this particular case the gs_memory_t pointer in question could be +NULL. The fix is to use one obtained from gs_lib_ctx_get_non_gc_memory_t, +a call to which happens conveniently to be on the previous line. + +gs_lib_ctx_get_non_gs_memory_t is going to be painful to remove later on, +but at least this fix gets us up and running again now. + +No expected differences. + +</pre> +<p>[base/strmio.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T095333.313864Z"></a> +2010-04-15T09:53:33.313864Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 690094, "missing letters replaced by little vertical lines". + +This problem was in jbig2dec function jbig2_decode_symbol_dict(). +The image number was not incremented correctly when it built +symbol dictionary. +No difference expected, other than JBIG2 pdf files suffered by +this problem. +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T083048.171463Z"></a> +2010-04-15T08:30:48.171463Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve a Freetype build problem on Mac - solution suggested by Tor and Henry. + +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-14T192956.362613Z"></a> +2010-04-14T19:29:56.362613Z Robin Watts</strong></p> +<blockquote> +<pre> +Update the clist band list compressor code to work without using global +variables as part of the workd for bug 691207 (remove global variables). + +The old code used to call a function to read an initialise global structure, +then based on that allocate storage and copy the structure into it. The new +code essentially does 2 calls; one that serves to get the size, and another +that serves to initialise the newly allocated structure. + +To facilitate testing, this introduces a new TEST_BAND_LIST_COMPRESSION +define. If built with this as a define, the code sets the compression +threshold to 1K, thus forcing the use of compression. A local cluster +push with this in reveals just one problem, and that seems to be in the +existing code whereby inflateEnd can be incorectly called on a NULL derived +pointer. A fix for that is included too. + +No expected differences. + +</pre> +<p>[base/gxcllzw.c base/gxclmem.c base/lib.mak base/gxclzlib.c base/gxclmem.h base/szlibd.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T162511.391305Z"></a> +2010-04-14T16:25:11.391305Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reverse the previous build options for Freetype integration: now --disable-freetype for configure on Unix type systems or pass FT_BRIDGE=0 to nmake on Windows if you do not want to integrate Freetype. +</pre> +<p>[base/configure.ac psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-14T160329.953276Z"></a> +2010-04-14T16:03:29.953276Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType FAPI +No bug for this (probably should be). Noticed while testing that using a TrueType to +replace a missing CIDFont (ie entry in cidfmap) was rendering the wrong glyphs, and +applying a vertical advance. + +The incorrect glyph seems to be because we were incorrectly stating that the character +index was not a glyph ID, which it is in this case. + +The second problem was more difficult. FreeType manufactures vertical advance metrics +for all TrueType glyphs, we override those in the incremental interface callback, but +when the TT is a CIDFont on disk, we don't use the incremental interface and so have +no opportunity to override the metric. + +Addressed this by checking in load_glyph to see if the current font is not type 1 +(ie its TT), *is* a CIDFont, and is not a vertical font (WMode is 0). In this case +we simply override the vertical advance and maek it 0. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T141119.891045Z"></a> +2010-04-14T14:11:19.891045Z Robin Watts</strong></p> +<blockquote> +<pre> +Move real_time_0 from being a static variable in zmisc.c to being an entry +int libctx. Instead of initialisation happening in zmisc it now happens in +gslibctx.c. Part of the effort for bug 691027 (remove global vars). + +This variable isn't strictly speaking necessary, but apparently some FTS +tests behave better if realtime starts from 0, and it isn't a big problem. + +No differences shown in localcluster testing. + +</pre> +<p>[base/gslibctx.c base/gslibctx.h psi/zmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T100331.189133Z"></a> +2010-04-14T10:03:31.189133Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +a few more comments about some microsoft CJK fonts</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-14T023158.209185Z"></a> +2010-04-14T02:31:58.209185Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fixed jbig2dec command getopt() parameter for -v option. Not used by ghostscript itself but worth for standalone debugging.</pre> +<p>[jbig2dec/jbig2dec.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T022616.603254Z"></a> +2010-04-14T02:26:16.603254Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fixed an indent. No influence on code.</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T145216.370358Z"></a> +2010-04-13T14:52:16.370358Z Henry Stiles</strong></p> +<blockquote> +<pre> +Gets rid us of 2 global variables in jasper (jas_image_numfmts and +jas_image_fmtinfos). In so doing we take the liberty of simplifiying +jasper's startup. The configured codecs (we only use 2: jpc and jp2) +were set at compile time anyway so the the methods to "add formats" +and "clear formats" have been replaced with a static table. + +</pre> +<p>[jasper/src/appl/imgcmp.c jasper/src/appl/jasper.c jasper/src/appl/imginfo.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-04-13T142959.699580Z"></a> +2010-04-13T14:29:59.699580Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove BITTAG global variable by moving it into the libctx, as part of +efforts towards bug 691207 (multithreaded gs). This has required several +accessor functions to gain gs_memory_t * arguments. + +No differences expected, or shown by localcluster testing. + +</pre> +<p>[base/gsnamecl.c base/gsutil.h base/gslibctx.c base/gdevbit.c base/gslibctx.h base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T130654.792469Z"></a> +2010-04-13T13:06:54.792469Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +A prior update which re-initialised a glyph index to prevent old Metrics override +values persisting after a glyph was discarded did not check the ft_inc_int member of +the 'FF_face' structure before dereferncing it, leading to a potential crash if the +font was not incrementally loaded. + +The code now checks the value before attempting to dereference the pointer. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T125040.024266Z"></a> +2010-04-13T12:50:40.024266Z Ken Sharp</strong></p> +<blockquote> +<pre> +Modify FAPI support files +Moved FAPIConfig, FAPIcidfmap and FAPIfontmap from the 'lib' directory to the +'Resource/Init' directory, so that they get built in when COMPILE_INITS=1. + +Also modified gs_fapi.ps to contain default values for the contents of FAPIConfig which +map all fonts to the FAPI engine (FreeType for now). Modified FAPIConfig so that the +usual contents are commented out. This should allow the possibility of overriding the +default values by putting new values in FAPIConfig. +</pre> +<p>[lib/FAPIcidfmap lib/FAPIfontmap lib/FAPIconfig Resource/Init/FAPIcidfmap Resource/Init/FAPIfontmap Resource/Init/FAPIconfig Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-13T121542.067350Z"></a> +2010-04-13T12:15:42.067350Z Robin Watts</strong></p> +<blockquote> +<pre> +Move global variables from gshtscr.c (screen_accurate_screens, +screen_min_screen_levels, screen_use_wts) into libctx. This has +meant updating the functions to read/write these to take a +gs_memory_t pointer too. Part of the efforts for bug 691207. + +No differences shown by localcluster testing. + +</pre> +<p>[base/gshtscr.c base/gxht.h psi/zusparam.c base/gslibctx.h base/gsht.c base/gsht1.c psi/zht.c psi/zht2.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T095008.611008Z"></a> +2010-04-13T09:50:08.611008Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 691081, 691206, and part of 690094. + +From r9769, jbig2dec wasn't capable of decoding some JBIG2 files and throwing a error "jbig2dec FATAL ERROR runlength too large in export symbol table (XXX > XX - XX) (segment 0xXX)". +This was caused by accidentaly bound checking export symbol table size with number of non-export symbol. This fixes it. +No differences expected, other than JBIG2 files suffered from this problem. +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T093822.017180Z"></a> +2010-04-13T09:38:22.017180Z Chris Liddell</strong></p> +<blockquote> +<pre> +Minor revision to FAPI code to better ensure GS errors in callbacks survive through the font renderer library.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T032558.022387Z"></a> +2010-04-13T03:25:58.022387Z Henry Stiles</strong></p> +<blockquote> +<pre> +Make the CIESpaces array and its elements constant so it is not +confused with global modifiable data. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-04-12T104443.428786Z"></a> +2010-04-12T10:44:43.428786Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the hardcoded identity matrix in the Type 1 serialization code in favour of the new FAPI call allowing the interface code to dictate the matrix to be used.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-10T093554.039788Z"></a> +2010-04-10T09:35:54.039788Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove extraneous debug statement in revision 11050.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-10T092850.393011Z"></a> +2010-04-10T09:28:50.393011Z Ken Sharp</strong></p> +<blockquote> +<pre> +FAPI Enhancement +We need a way in the initial release where we set FreeType as the default font scaler to +switch it off and revert back to the Ghostscript internal font scaler, in case there +are significant problems. Bug #691237 + +This allows the user to either send PostScript or set a command line value to create +a key called DisableFAPI, if the value is true then FAPI will no longer be active, and +so the GS font scaler will be used. + +Can also be set with -dDisableFAPI=true at the command line. +</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-09T182238.657773Z"></a> +2010-04-09T18:22:38.657773Z regression</strong></p> +<blockquote> +<pre> +Fixed a recently introduced bug in the cluster that caused gs head to +be used when compiling GhostPCL/GhostXPS even if a previous revision +should have been used (as is the case when two or more commits occur +while the cluster is busy). +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-04-09T174920.410599Z"></a> +2010-04-09T17:49:20.410599Z regression</strong></p> +<blockquote> +<pre> +Minor tweaks/improvements to the cluster code: + +Fixed bug which occasionally left jobs running on macpro. + +Clusterpush.pl when run with user==mvrhel now compares to icc_work branch. + +Report all icc_work branch errors (not just new ones). + +Collect time to run information. + +No longer cache mupdf results. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-04-09T145126.314389Z"></a> +2010-04-09T14:51:26.314389Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix UFST and enhance FAPI +Define a new API call for FAPI to allow font engines to replace a FontMatrix. This is +to allow FreeType to replace the FotnMatrix with the identity as it makes the 2-step +scaling performed by FreeType simpler. + +Modified compute_em_scale so that it uses the new API call instead of blindly replacing +the FontMatrix. + +Restored the calculation in FAPI_do_char which unwinds the FontMatrix from the CTM +when calculating the scale factor. Use the new API call to retrieve the desired +FontMatrix rather than pulling it directly from the font as before. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-04-09T081356.362732Z"></a> +2010-04-09T08:13:56.362732Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix Bug #691180 +This alters the described 'odd behaviour' of the font substitution code whereby fonts +whose name does not contain either 'Serif' or 'Sans' are substituted with Helvetica, +but those which contain 'Italic' are substituted with Times. Italic fonts are now +treated the same as Oblique fonts, and substituted with Helvetica, unless the font +is identified as a serif font. + +This may cause some substitution differences with regression files.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-08T214254.260278Z"></a> +2010-04-08T21:42:54.260278Z Robin Watts</strong></p> +<blockquote> +<pre> +Move io_device_table from being a global static in gsiodev.c into +the library context. In order to retrieve it we need to update +lots of functions to take a gs_memory_t * as well. + +Localcluster testing shows no expected differences. + +</pre> +<p>[base/gsdevice.c psi/zfile.c base/gdevupd.c base/gsiodev.c base/gxdevice.h psi/ziodev2.c base/gdevprn.c psi/ziodevsc.c base/sfxcommon.c psi/zfrsd.c base/gxiodev.h base/strmio.c base/gslibctx.c base/gsfname.c psi/ziodev.c base/gdevtsep.c psi/zcrd.c base/gslibctx.h base/gsfname.h base/gdevps.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T160550.601517Z"></a> +2010-04-08T16:05:50.601517Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix TrueType interpreter Bug #691227 +Another nasty hack for another broken TrueType font. In this case the font tries to +execute a DeltaP instruction with an argument greater than the number of points in the +glyph, which is an error. + +FreeType's interpreter has this comment + + /* XXX: Because some popular fonts contain some invalid DeltaP */ + /* instructions, we simply ignore them when the stacked */ + /* point reference is off limit, rather than returning an */ + /* error. As a delta instruction doesn't change a glyph */ + /* in great ways, this shouldn't be a problem. */ + +This patch more or less mimics this in our code. +</pre> +<p>[base/ttinterp.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T155431.828558Z"></a> +2010-04-08T15:54:31.828558Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the commented out invocations of autoheader and aclocal/automake +in the autotools bootstrap script. + +The various autotools modules must be invoked in a specific order, and +usually with non-default options. We only use autoconf in our build, +not any of the other tools which layer on top of it, but I had left +their invocations in the script, but commented out, so make it easier +to add them at a later date. + +It's been some years since autogen.sh was added, and we still have no +plans to adopt automake. Also, the script didn't include support for +libtoolize (which is glibtoolize of MacOS X) nor for detecting the +appropriate automake version, so it seems simpler to just remove the +commented out lines to avoid confusion. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2010-04-08T153926.443280Z"></a> +2010-04-08T15:39:26.443280Z Robin Watts</strong></p> +<blockquote> +<pre> +Stop a function scope static from being static as nothing was gained by it, +and this removes it from the list of global variables as part of the efforts +for bug 691207 (multithreaded safety). + +No expected differences. + +</pre> +<p>[base/gdevupd.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T152926.540666Z"></a> +2010-04-08T15:29:26.540666Z Robin Watts</strong></p> +<blockquote> +<pre> +Change a static (that happens to be const) to be a static const to remove +it from the global variable list for bug 691207. + +No expected differences. + +</pre> +<p>[base/gdevifno.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T152228.719732Z"></a> +2010-04-08T15:22:28.719732Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove globals from gdevmgr.c as part of efforts on bug 691207 (multithreaded +safety). + +Move 5 tables from being file level statics to living in the device structure. + +Checked by doing back to back builds and verifying that the same output is +given for tiger.eps in both cases. + +No expected differences. + +</pre> +<p>[base/gdevmgr.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T151651.654028Z"></a> +2010-04-08T15:16:51.654028Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove the function scope static variables from gdevcdj.c as part of the +efforts for bug 691207 (multithreaded safety). These only affect the +ESC/P driver. + +There are 4 variables in play here. real_rows doesn't actually need to be +static at all as it is always set before being used. The other 3 (ln_idx, +vskip1 and vskip2) all go into the 'ep_globals' structure. + +There is a subtle change in behaviour here; previously these variables were +initialised to zero on execution start (and again on every flush). Now they +are initialised to zero at the start of every page (and again on every flush). +This means that leftover vskips are no longer carried forwards from page to +page. This seems like a good thing to me. + +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T143041.679319Z"></a> +2010-04-08T14:30:41.679319Z Robin Watts</strong></p> +<blockquote> +<pre> +Make a table of 4 zeros be static const, and update the cast where they are +used to also be static const. This should remove them from the global variable +list in bug 691207. + +</pre> +<p>[contrib/japanese/gdev10v.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T115629.059369Z"></a> +2010-04-08T11:56:29.059369Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove global variables in gdevcdj.c as part of the effort for bug 691207. + +The ESC/P based printing code in gdevcdj.c uses various global variables; we +gather them into a struct here, and pass the struct between the 2 functions +concerned. + +This device isn't used in the default build, so no point in testing with the +localcluster. Enabling it locally and doing before/after tests shows that +identical results are given for rendering tiger.eps. + +A side effect of this commit is to remove the nasty shadowing of the img_rows +variable (doubly nasty because of it's use within a macro). This meant that I +had the code wrong for a while, so I know the test is actually testing the +right thing. + +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T171846.406090Z"></a> +2010-04-07T17:18:46.406090Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove global variable lbp8_end from gdevlbp8.c - it was permanently NULL +so removing it isn't hard, or risky. This will help towards the "No global +variables" goal (bug 691207). + +No expected differences. + +</pre> +<p>[base/gdevlbp8.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T132337.938542Z"></a> +2010-04-07T13:23:37.938542Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise the interface code and the use of FT so that both use GS managed memory, rather than the stdlib memory routines (malloc/free and co.).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T131357.741241Z"></a> +2010-04-07T13:13:57.741241Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691228, problems with wide strokes with round caps/joins with +antialiasing enabled. + +2 small problems in the same code. In the antialiased case, we stroke by +forming 2 paths (one up either side of the line) and then reverse one and +concatenate it. This should happen whenever we meet a closepath, but due to +a misplaced return, was being missed out in some round join cases. + +Also, when using a round join in the case where 2 lines meet 'in-line' we +would inadvertently leave the point on the wrong side of the line. + +No changes in localcluster testing as this only affects antialiased results +and that's not tested currently. + +</pre> +<p>[base/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T192640.921375Z"></a> +2010-04-06T19:26:40.921375Z Robin Watts</strong></p> +<blockquote> +<pre> +Another attempt to fix Bug 691115. This corrects the clipping of a trapezoid +to a rectangle within the shading code. My previous attempt had failed to +allow for one case. + +This causes 116 non-pdfwrite diffs, and 23 pdfwrite ones, all checked using +bmpcmp and found to be acceptable. + +</pre> +<p>[base/gxshade6.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T171554.520182Z"></a> +2010-04-06T17:15:54.520182Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of fuzzy to report average and max color errors. This is useful for continuous tone images only. If the max error reaches the largest possible, the calculations for these values are not performed.</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T141443.252652Z"></a> +2010-04-06T14:14:43.252652Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI and FreeType interface. +The Metrics override was broken, the code to retrieve the /Metrics entries (1 to 4 +values) stored the results in an array in a different order to the code which read the +values back. + +In addition the FreeType code did not reset the 'glyph_metrics_index' if a glyph had no +metrics override, which could lead to us using the metrics overrides from a prior glyph +if we had already encountered one using an override. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T100831.160988Z"></a> +2010-04-06T10:08:31.160988Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType. +The revision 11012 fixed a problem with an invalid font but accidentally introduced a +regression because an 'else' clause was missed. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T081444.802475Z"></a> +2010-04-06T08:14:44.802475Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve two compiler warnings - no behaviour change expected</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T235000.539571Z"></a> +2010-04-05T23:50:00.539571Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about using globs not expandable by shell; bug 691229</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T172412.188391Z"></a> +2010-04-05T17:24:12.188391Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219</pre> +<p>[lib/pdf2ps lib/eps2eps lib/pfbtopfa lib/ps2epsi lib/ps2pdfwr lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +</blockquote> + +<p><strong><a name="2010-04-05T172210.077618Z"></a> +2010-04-05T17:22:10.077618Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "dirname $0" ; bug 691219</pre> +<p>[lib/printafm lib/eps2eps lib/pdf2dsc lib/gsbj lib/ps2epsi lib/gsdj lib/dumphint lib/gsnd lib/font2c lib/pdfopt lib/pdf2ps lib/ps2pdf lib/gslj lib/pfbtopfa lib/bdftops lib/ps2pdf12 lib/ps2pdf13 lib/ps2pdf14 lib/gslp lib/wftopfa lib/ps2pdfwr lib/ps2ps lib/pphs lib/pf2afm lib/gsdj500]</p> +</blockquote> + +<p><strong><a name="2010-04-05T171334.259627Z"></a> +2010-04-05T17:13:34.259627Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding reference to msmin04, msgoth04 and ngulim,nbantang; fixes the remaining issues in bug 689456</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-05T154847.768122Z"></a> +2010-04-05T15:48:47.768122Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix line endings. The previous commit (11012) accidentally used DOS line endings which +made it appear every line in the file was different. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T153111.441559Z"></a> +2010-04-05T15:31:11.441559Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +When using bitmaps from a TrueType/Type42 font FreeType uses a heuristic approach to +synthesize vertical metrics for the glyphs, including a horizontal advance. As in the +past, this works well as long as the client knows whether the advance direction is +horizontal or vertical and uses the correct advance. + +However we don't know that, so we don't want the vertical advance. + +Its easiest jut to have FreeType ignore embedded bitmaps and use the outlines, in which +case we don't get the invented vertical advance. Not only that but the rendered bitmap +is a better match for the cases where we don't have a pre-built bitmap, so consistency +is improved with this patch as well. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T152725.365922Z"></a> +2010-04-05T15:27:25.365922Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +The test file objlune_font2_mine.ps contains a Type 1 font which has a technically + invalid glyph. The glyph executes a 'lineto' class operation before a 'moveto' class +operation. + +Although illegal it seems that all other PostScript RIPs ignore this requirement, this +patch removes the error check in FreeType to conform with other interpreters. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T113332.361294Z"></a> +2010-04-05T11:33:32.361294Z Chris Liddell</strong></p> +<blockquote> +<pre> +Update the to latest FT code from the FT git repository.</pre> +<p>[freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/src/type1/t1objs.h freetype/docs/INSTALL.CROSS freetype/src/truetype/ttgload.c freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/src/raster/ftrend1.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/src/psaux/psaux.c freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/src/pcf/pcfread.h freetype/include/freetype/ftcache.h freetype/src/raster/Jamfile freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/ftincrem.h freetype/include/freetype/internal/services/svcid.h freetype/src/pshinter/pshalgo.h freetype/src/psnames/psnamerr.h freetype/src/tools/test_afm.c freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/include/freetype/freetype.h freetype/vms_make.com freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/docs/INSTALL.UNIX freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfr.c freetype/src/pfr/pfrload.c freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/src/type1/t1gload.c freetype/src/base/ftbbox.c freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/src/bdf/bdferror.h freetype/src/gxvalid/rules.mk freetype/src/pcf/pcf.c freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/include/freetype/internal/services/svotval.h freetype/src/otvalid/rules.mk freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/builds/win32/vc2005/freetype.vcproj freetype/src/base/ftbase.h freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/src/bdf/bdf.h freetype/src/gxvalid/gxvalid.c freetype/src/cff/cff.c freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/src/autofit/afmodule.c freetype/src/autofit/afmodule.h freetype/src/pfr/pfrcmap.c freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/src/type1/t1afm.c freetype/src/raster/module.mk freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/src/type1/t1tokens.h freetype/src/type1/t1afm.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/src/pshinter/pshrec.h freetype/src/truetype/ttobjs.c freetype/src/autofit/autofit.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/truetype/ttobjs.h freetype/src/otvalid/otvgsub.c freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/include/freetype/ftglyph.h freetype/builds/win32/vc2005/index.html freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/src/autofit/aflatin2.h freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/src/pshinter/pshinter.c freetype/src/cache/ftcglyph.h freetype/src/tools/test_bbox.c freetype/src/cache/Jamfile freetype/src/type42/t42types.h freetype/include/freetype/internal/services/svpsinfo.h freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/tools/docmaker/docbeauty.py freetype/src/raster/rastpic.h freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/src/sfnt/module.mk freetype/src/type1/t1load.c freetype/docs/INSTALL freetype/src/gzip/inftrees.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/cff/cfftoken.h freetype/src/gxvalid/gxvfeat.c freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/src/pfr/pfrsbit.h freetype/src/gxvalid/gxvfeat.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/src/base/ftglyph.c freetype/include/freetype/ftmm.h freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/psaux/afmparse.c freetype/src/sfnt/sfdriver.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/psaux/afmparse.h freetype/src/sfnt/sfdriver.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/pshinter/pshpic.h freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/PATENTS freetype/docs/raster.txt freetype/src/autofit/afpic.h freetype/src/cff/cffdrivr.c freetype/src/otvalid/otvgpos.c freetype/src/cid/cidriver.c freetype/src/cff/cffdrivr.h freetype/include/freetype/ftgasp.h freetype/src/autofit/afindic.c freetype/src/otvalid/otvgpos.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/src/gzip/zconf.h freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/src/otvalid/otvalid.c freetype/src/otvalid/otvcommn.c freetype/include/freetype/config/ftmodule.h freetype/include/freetype/ftxf86.h freetype/src/otvalid/otvalid.h freetype/src/otvalid/otvcommn.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/include/freetype/ftstroke.h freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/builds/win32/visualce/freetype.dsp freetype/src/cid/ciderrs.h freetype/ChangeLog.20 freetype/ChangeLog.21 freetype/src/type42/t42parse.h freetype/ChangeLog.22 freetype/src/bdf/bdfdrivr.h freetype/include/freetype/tttables.h freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/include/freetype/internal/ftobjs.h freetype/src/pcf/pcfdrivr.c freetype/src/gxvalid/gxvmort5.c freetype/src/pcf/pcfdrivr.h freetype/src/psnames/Jamfile freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/include/freetype/internal/services/svpostnm.h freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/src/autofit/afloader.c freetype/src/otvalid/Jamfile freetype/include/freetype/internal/services/svkern.h freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/psaux/psobjs.c freetype/src/sfnt/Jamfile freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/src/base/ftcalc.c freetype/src/pshinter/pshnterr.h freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/pshinter/module.mk freetype/src/tools/ftrandom/Makefile freetype/src/type42/rules.mk freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/src/cff/cffobjs.h freetype/include/freetype/ftoutln.h freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/tools/ftrandom/README freetype/src/winfonts/rules.mk freetype/docs/CHANGES freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/src/gxvalid/gxvtrak.c freetype/src/pcf/README freetype/include/freetype/internal/ftdriver.h freetype/include/freetype/ftgzip.h freetype/src/base/ftrfork.c freetype/include/freetype/internal/services/svbdf.h freetype/src/smooth/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/base/rules.mk freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/include/freetype/ftlcdfil.h freetype/src/tools/docmaker/sources.py freetype/src/type42/type42.c freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/truetype/ttdriver.h freetype/src/autofit/aflatin.c freetype/src/pfr/pfrgload.h freetype/src/base/ftsnames.c freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/docs/TRUETYPE freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/src/base/ftsynth.c freetype/src/base/ftwinfnt.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/sfnt/ttbdf.h freetype/src/lzw/ftlzw.c freetype/builds/win32/vc2008/freetype.vcproj freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/truetype/ttinterp.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/sfnt/ttcmap.c freetype/include/freetype/internal/services/svmm.h freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/src/truetype/tterrors.h freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/include/freetype/internal/pshints.h freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/src/psaux/psauxmod.c freetype/builds/wince/vc2008-ce/index.html freetype/src/pfr/module.mk freetype/src/psnames/psmodule.h freetype/src/base/ftcid.c freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/sfnt/ttcmapc.h freetype/src/gzip/inffixed.h freetype/include/freetype/ftwinfnt.h freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/include/freetype/ftimage.h freetype/docs/release freetype/src/pfr/pfrobjs.h freetype/src/lzw/ftzopen.c freetype/src/truetype/truetype.c freetype/src/lzw/Jamfile freetype/Makefile freetype/src/lzw/ftzopen.h freetype/src/base/fttrigon.c freetype/src/autofit/afhints.c freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/src/smooth/Jamfile freetype/src/gzip/adler32.c freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/src/sfnt/sfntpic.c freetype/src/gzip/zutil.c freetype/src/winfonts/winfnt.h freetype/src/smooth/smooth.c freetype/src/sfnt/sfntpic.h freetype/src/gzip/zutil.h freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/src/gxvalid/gxvmorx4.c freetype/src/winfonts/Jamfile freetype/include/freetype/internal/pcftypes.h freetype/src/smooth/ftgrays.h freetype/src/pfr/pfrerror.h freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/src/otvalid/module.mk freetype/ChangeLog freetype/include/freetype/internal/services/svpscmap.h freetype/include/freetype/fttrigon.h freetype/docs/FTL.TXT freetype/src/cache/ftcmanag.c freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/services/svtteng.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/include/freetype/internal/ftpic.h freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/src/psnames/psnames.c freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/type42/t42objs.h freetype/src/smooth/ftsmerrs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/src/psaux/t1decode.c freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/src/type42/module.mk freetype/src/otvalid/otvjstf.c freetype/src/autofit/aferrors.h freetype/src/cff/cffgload.c freetype/src/gxvalid/gxvlcar.c freetype/include/freetype/internal/services/svsfnt.h freetype/src/base/ftinit.c freetype/src/bdf/README freetype/src/cache/ftccback.h freetype/src/cff/cffgload.h freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/src/tools/Jamfile freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/cff/cffload.c freetype/src/gxvalid/gxvcommn.c freetype/src/autofit/afangles.h freetype/src/cff/cffload.h freetype/src/gxvalid/gxvcommn.h freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> + +<p><strong><a name="2010-04-05T100359.155794Z"></a> +2010-04-05T10:03:59.155794Z Chris Liddell</strong></p> +<blockquote> +<pre> +Fix the FAPI implementation of finding the appropriate bytes for a given character code from an array of strings representing a CMap.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T123123.439338Z"></a> +2010-04-02T12:31:23.439338Z Ken Sharp</strong></p> +<blockquote> +<pre> +'Fix' FAPI with FreeType. + +FreeType's hinting is worse than useless for type 1 fonts, its actually harmful. It +distorts the glyph shape because it hints an unscaled outline. While it would be best +to fix FreeType's hinting this is a large project. For now this patch disables FreeType +hinting when handling type 1 fonts. + +This resolves many spacing issues as well as fixing the stroke/fill mismatch with +ia3z3519.pdf and the incorrectly scaled outline in womanface.pdf. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T091923.286738Z"></a> +2010-04-02T09:19:23.286738Z Chris Liddell</strong></p> +<blockquote> +<pre> +Extend Ken's change to avoid using FT's "synthetic" vertical metrics for Type42 fonts to cover all fonts using TTF outlines (so CIDType 2 fonts, as well).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T090653.941441Z"></a> +2010-04-02T09:06:53.941441Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a bug in the FreeType scan conversion. + +A multiply and divide to calculate the slope of a line did not account for the +possibility of overflow during multiplication. Using the supplied SMulDiv routine fixes +the problem. + +The patch has been supplied upstream to the FreeType development team. +</pre> +<p>[freetype/src/raster/ftraster.c]</p> +</blockquote> + +<p><strong><a name="2010-04-01T133252.153614Z"></a> +2010-04-01T13:32:52.153614Z Robin Watts</strong></p> +<blockquote> +<pre> +Slight tidy up to gs_2_colors code: Given that the cie_joint_caches_alt is +now kept in the imager state rather than the graphics state, move the +reference counting/initialisation for the same into the imager state +too. No difference in operation, but just a bit tidier. + +No expected differences, though the cluster may show 2colCIEtest.pdf as +failing if it hasn't propogated around the nodes yet. + +</pre> +<p>[base/gsstate.c base/gsistate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T154306.179195Z"></a> +2010-03-31T15:43:06.179195Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bounds check the correct object when looking up a CID map</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T144031.704728Z"></a> +2010-03-31T14:40:31.704728Z Chris Liddell</strong></p> +<blockquote> +<pre> +Correct a logical error/typo in the fallback to non-hinted condition.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T132201.442343Z"></a> +2010-03-31T13:22:01.442343Z Chris Liddell</strong></p> +<blockquote> +<pre> +Prevent applying the nominalWidthX for T2 fonts, when FT already applies it for us. Previously, the code was actually erroneously adding the defaultWidthX. Since this use of nominalWidthX *may* be renderer dependent, it is now controlled by the can_replace_metrics() call.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T131641.790764Z"></a> +2010-03-31T13:16:41.790764Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the even a glyph name is not found in the CharStrings dictionary, fall back to using the .notdef (instead of returning an error).</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T130744.152960Z"></a> +2010-03-31T13:07:44.152960Z Chris Liddell</strong></p> +<blockquote> +<pre> +For certain errors from FT, retry interpretting the glyph without hinting - this more closely matches the existing behaviour.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T113210.299125Z"></a> +2010-03-31T11:32:10.299125Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable. No expected differences. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T012018.778513Z"></a> +2010-03-31T01:20:18.778513Z Ray Johnston</strong></p> +<blockquote> +<pre> +Temporary reversion of previous mkromfs commit to remove -g until it works +correctly (fooled by a GS_LIB environment variable during testing) +</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-30T225953.311321Z"></a> +2010-03-30T22:59:53.311321Z Ray Johnston</strong></p> +<blockquote> +<pre> +Implement '-g' option in mkromfs to fold in some of the older 'genint' +functions (collect all init files into a single gs_init.ps, strip +whitespace and comments). Also change mkromfs so that wildcard expansion +must be specified using '*' on the command line which also means that +single explicit files can now be put into the %rom% file system. + +Add many missed dependencies to the list for the 'gsromfs.c' %rom% file +system (CMap, ColorSpace, Decoding, Encoding, Font, IdiomSet, ProcSet, +SubstCID) and separate out miscellenaeous files. + +Remove old geninit references from makefiles: psi/int.mak psi/os2.mak, +base/bcwin32.mak, base/msvctail.mak, base/winlib.mak, base/macos-mcp.mak, +base/openvms.mak, base/lib.mak, base/unix-aux.mak base/watcw32.mak, +base/wctail.mak +</pre> +<p>[base/wctail.mak psi/os2.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/mkromfs.c base/gs.mak base/watcw32.mak psi/psromfs.mak psi/int.mak base/unix-aux.mak base/macos-mcp.mak base/msvctail.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-30T184034.337393Z"></a> +2010-03-30T18:40:34.337393Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug 691132 by ensuring that whenever we set a line width, we set +it to the absolute value of the line width. This seems consistent with +PDF, and cures the clipping problem in PCL referred to by the bug. + +No expected differences. + +</pre> +<p>[base/gxline.h]</p> +</blockquote> + +<p><strong><a name="2010-03-30T144656.884951Z"></a> +2010-03-30T14:46:56.884951Z Robin Watts</strong></p> +<blockquote> +<pre> +In the gs_2_colors branch I had made 2 copies of the color state and swapped +between them. I had included dev_ht as part of this 'split' state, which +was a significant contributor to the slowdown due to it forcing repeated +writing of the halftone data to the clist. Also, it required significant +extra work on every setscreen or setcolorscreen operation. + +Discussions with Henry/Ray/Kens et al lead to the realisation this wasn't +required. This patch therefore backs out the dev_ht split, and the changes +to zsetscreen and zsetcolorscreen. Additional code is however required to +clear the 'alternative' dev_color when a halftone is installed to stop the +'swapped out' color pointing to an illegal halftone cache. + +This runs through local testing with no diffs showing (though some +strangeness was observed with an earlier version of this patch in +regression testing - Marcos has captured this with bug 691223). + +This seems to have helped with the largest slowdowns, but there are still +significant differences in some cases. Very preliminary investigations seem +to show more time being spent in the interpreter/gc mechanism. Continuing +to investigate. + + +</pre> +<p>[base/gsstate.c base/gxistate.h base/gsht.c base/gxdcolor.h base/gzstate.h psi/zht.c psi/zht1.c]</p> +</blockquote> + +<p><strong><a name="2010-03-30T101657.091024Z"></a> +2010-03-30T10:16:57.091024Z Ken Sharp</strong></p> +<blockquote> +<pre> +New Fontmap files for the URW fonts, both type 1 and TrueType formats. + +The file Fontmap.URW-136.T1 contains definitions for the type 1 fonts (the URW PFB +fonts must be in the search path). + +The file Fontmap.URW-136.TT contains definitions for the TrueType fonts (the URW TTF +fonts must be in the search path). + +Currently neither of these work 100% because of problems with the URW font sets +(several incorrectly named fonts, and in one case an illegal type 1 font) + +</pre> +<p>[lib/Fontmap.URW-136.T1 lib/Fontmap.URW-136.TT]</p> +</blockquote> + +<p><strong><a name="2010-03-29T191049.447074Z"></a> +2010-03-29T19:10:49.447074Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Drop 'loca' entries that point beyond 'glyf' table during re-spliting +sfnts glyfs strings. Bug 691221. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-29T075249.284823Z"></a> +2010-03-29T07:52:49.284823Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change the FT interface code so we always use metrics retrieved from Freetype, rather than attempting to "fabricate" metrics (which have already been handled correctly by FT).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-27T015955.922560Z"></a> +2010-03-27T01:59:55.922560Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix compilation error in pngs2html.pl (forgot to define variable). + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-26T102856.873949Z"></a> +2010-03-26T10:28:56.873949Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A leftover from r10603 (Makefile change).</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-26T002016.302228Z"></a> +2010-03-26T00:20:16.302228Z Robin Watts</strong></p> +<blockquote> +<pre> +Updated localcluster bmpcmp html generation script. Bitmaps produced are now +zoomable. + + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-24T124759.902550Z"></a> +2010-03-24T12:47:59.902550Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691115. + +In some circumstances, the shading code can get all the way to the point of +marking the screen/page without ever clipping to the relavent region. This +produces cases where we "draw outside the lines". Often this is masked by +the fact that we only ever draw as far out of the lines as would be covered +by an area of constant color (typically a small area). + +The fix for this is to spot the unclipped case when we come to render +trapezoids to the screen, and to clip the trapezoid into (at most) 3 +smaller trapezoids. + +This causes 104 non-pdfwrite differences, and 24 pdfwrite ones. Examination +using localcuster bmpcmp shows them all to be acceptable. + +</pre> +<p>[base/gxshade6.c]</p> +</blockquote> + +<p><strong><a name="2010-03-24T120547.469905Z"></a> +2010-03-24T12:05:47.469905Z Robin Watts</strong></p> +<blockquote> +<pre> +Tweak to bmpcmp: Darken the third image (the diff image) to make changes +stand out better. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-24T001027.875727Z"></a> +2010-03-24T00:10:27.875727Z Robin Watts</strong></p> +<blockquote> +<pre> +Correct DOS line endings in bmpcmp.c. + +Fix bug whereby areas with no changes in were still be saved out. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T191432.177681Z"></a> +2010-03-23T19:14:32.177681Z Robin Watts</strong></p> +<blockquote> +<pre> +Correct problem with bmpcmp whereby certain sizes of changed areas within +images could cause overlapping output bitmaps. This causes problems with +the output of bitmaps now due to the new 'in-place' generation of the diff +bitmap. Fixed by choosing sizes more smartly. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T090216.120692Z"></a> +2010-03-23T09:02:16.120692Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Error out correctly with the return_error() macro and not with "gs_exit(); exit()", force banding mode as there are files which do not render otherwise (Bug #691170). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T000659.853037Z"></a> +2010-03-23T00:06:59.853037Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Code clean-ups in the "cups" output device to fix the segfaults in bug #691170 and bug #691014 (but does not fix the bugs yet). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-22T141842.718453Z"></a> +2010-03-22T14:18:42.718453Z Chris Liddell</strong></p> +<blockquote> +<pre> +Handle CID fonts whose GDBytes != 2 - previously GDBytes was hardcoded as 2.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-22T064308.806820Z"></a> +2010-03-22T06:43:08.806820Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Added the ability to specify bmpcmp options when running clusterpush.pl, e.g.: + + clusterpush.pl bmpcmp -w 9 -t 10 + +No validation is done on the options; bad options will result in no bmpcmp output being generated. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-21T050150.135122Z"></a> +2010-03-21T05:01:50.135122Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed maxdiffs argument in bmpcmp.c (was acting as maxpage). +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-21T032353.245152Z"></a> +2010-03-21T03:23:53.245152Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed a couple of compiler warnings in bmpcmp.c +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-19T183004.447497Z"></a> +2010-03-19T18:30:04.447497Z Ralph Giles</strong></p> +<blockquote> +<pre> +Compute AES cypher tables at compile time instead of run time. + +The aes implementation needs some tables of data to perform its +calculations. In a thread-safety review, Henry spotted that the +tables were global variables with no mutex isolation. + +I believe this is actually ok. There is a static flag marking whether +the tables are initialized. If they are not, a call to aes_setkey_* +will invoke aes_gen_tables to initialize them, then set the flag. +However, aes_gen_tables operates deterministically, always writing +the same data sequence to the globals. So while there is a race +where two threads could be executing aes_gen_tables at the same time, +or while another thread is accessing the same tables, there is no +read-modify-write step which could create inconsistent data. + +Nevertheless, the tables are small relative to our application, and +there is a compile time option XYSSL_AES_ROM_TABLES which generates +the data at compile time and stores it static const. This commit +turns on that option, allowing the compiler to put the data in a +non-writable segment and making the careful thread safety analysis +above unnecessary. + +There should be no difference in behaviour, and Henry has verified +that the two code paths result in identical table data.</pre> +<p>[base/aes.c]</p> +</blockquote> + +<p><strong><a name="2010-03-18T113938.599047Z"></a> +2010-03-18T11:39:38.599047Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the list of face substitutions in .substitutefaces to include all the fonts we +define in Fontmap.GS (if not already defined). + +Bug #691180, if we have a font defined in the Fontmap then we don't use the additional +information in a PDF file FontDescriptor. Instead we stick with whatever font the PS +substitution comes up with (if the font is not present). If a member of the family is +not defined we do use the FontDescriptor. This can lead to different choices for the +substitute font. By defining the font in the substitutefaces array we can attempt to get +a consistent result. + +This *will* lead to differences in the regression suite as we are now substituting +different fonts for some missing faces. Apparently only with the test file for this +bug though.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-18T005710.529905Z"></a> +2010-03-18T00:57:10.529905Z Robin Watts</strong></p> +<blockquote> +<pre> +Merge gs_2_colors branch down to trunk. + +This adds a new set of color state information to the graphics/imager +state, along with a new non-standard postscript operator .swapcolors to +toggle between them. + +The Postscript interpreter is updated to use one set of color information +for stroking, and the other for all non-stroking colors. + +This produces differences in just 2 pdfwrite tests, due to rounding errors +due to changes in the way pdf with non-zero rendering modes is emitted now. + +</pre> +<p>[psi/zcolor.c base/gsdps1.c base/gdevpdft.c base/gxccache.c /trunk/gs base/gspaint.c base/gscsepr.c base/gsimage.c base/gxchar.c base/gsptype1.c base/gxcmap.c psi/interp.c base/gzstate.h psi/dmmain.c base/gscspace.c base/gscolor1.c base/gscdevn.c base/gscolor2.c base/gscie.c base/gxistate.h psi/psromfs.mak psi/dxmain.c base/gxcspace.h base/gxhldevc.c psi/dxmainc.c psi/dmmain.r Resource/Init/pdf_draw.ps psi/zht1.c base/gscolor.c psi/zicc.c psi/zchar1.c base/gxpaint.c base/gsstate.c Resource/Init/pdf_ops.ps psi/zcie.c base/gstext.c Resource/Init/pdf_font.ps base/gstrans.c psi/zht.c base/gsequivc.c base/gxdcolor.h psi/igstate.h base/gspcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T214113.190501Z"></a> +2010-03-17T21:41:13.190501Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp tweak to allow maximum/minimum bitmap sizes to be set from the +command line. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T201225.972208Z"></a> +2010-03-17T20:12:25.972208Z Robin Watts</strong></p> +<blockquote> +<pre> +MSVC whinges when asked to shift by 32 or more bits at once. Simple tweaks +to fool the compiler and eliminate warnings. + +No expected differences. + +</pre> +<p>[base/gdevm64.c base/gdevm56.c base/gdevm48.c base/gdevm40.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T185412.480084Z"></a> +2010-03-17T18:54:12.480084Z Robin Watts</strong></p> +<blockquote> +<pre> +Tweak to gxcmap.c to remove warnings about shifting by more than 32 bits on +MSVC builds. + +No expected differences. + +</pre> +<p>[base/gxcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T173027.541399Z"></a> +2010-03-17T17:30:27.541399Z Robin Watts</strong></p> +<blockquote> +<pre> +Revised bmpcmp. + * Redone command line handling + * Ability to read PAMs (so we can read CMYK stuff now) + * "Fuzzy" behaviour (both compatible and exhaustive modes) + * New behaviour using map bitmap to avoid rediffing multiple times. + * CMYK -> RGB conversion as last step before PNG/BMP writing. + +Still to do: + * Output number of fuzzy matches etc to the meta file. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T191855.825828Z"></a> +2010-03-15T19:18:55.825828Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Change default TIFF strip size to one megabyte. + +Many fax readers have problems reading TIFF images which are chunked into +strips, and one megabyte is larger than the biggest expected fax page. Hence, +ghostscript's default TIFF output will be accepted by those readers. + + +</pre> +<p>[base/gdevtifs.h]</p> +</blockquote> + +<p><strong><a name="2010-03-15T190043.589302Z"></a> +2010-03-15T19:00:43.589302Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Write TIFF directories before the page data. This might help bug #691172 and +probably some other non-conforming TIFF readers. + +</pre> +<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T152155.436137Z"></a> +2010-03-15T15:21:55.436137Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't throw an error when a filter returns 0 bytes and a normal return code. +This often happens with eexecDecode filter, which has to return the control +to the interpreter after every space character since Adobe no longer adds +zeros at the end of the encoded block. Document new return code 2 used by +eexecDecode filter. Bug 690909. +</pre> +<p>[base/sstring.c base/seexec.c psi/iscan.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T145615.278449Z"></a> +2010-03-15T14:56:15.278449Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Partial fix for bug #691172: The tiff resolution tags are floating point values +and need to be passed as such to TIFFSetField. + +</pre> +<p>[base/gdevtifs.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T074438.447170Z"></a> +2010-03-15T07:44:38.447170Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Applied Tim Waugh's patch from bug #691171: A NULL check for the argument of +TIFFCleanup was missing, which caused a segfault when opening the output device +failed for any of the devices in gdevtfax.c. + +</pre> +<p>[base/gdevtfax.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T063434.317078Z"></a> +2010-03-15T06:34:34.317078Z regression</strong></p> +<blockquote> +<pre> +Added support for mupdf testing in local regression suite. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-15T063125.268888Z"></a> +2010-03-15T06:31:25.268888Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Changes to the local cluster code: + +added bmpcmp documentation to clusterpush.txt +new file, runNightly.pl, for nightly regression testing +readlog.pl, build.pl, and run.pl changes for nightly regression use +</pre> +<p>[toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> +</blockquote> + +<p><strong><a name="2010-03-11T173630.596061Z"></a> +2010-03-11T17:36:30.596061Z Chris Liddell</strong></p> +<blockquote> +<pre> +Apply a change submitted to FT and accepted - see FT bug #27442</pre> +<p>[freetype/src/raster/ftraster.c]</p> +</blockquote> + +<p><strong><a name="2010-03-11T050122.057384Z"></a> +2010-03-11T05:01:22.057384Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Run svn update on the ghostscript source even for clusterpush runs to make sure that bmpcmp.c is current. + +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T174109.765460Z"></a> +2010-03-10T17:41:09.765460Z regression</strong></p> +<blockquote> +<pre> + +Minor cleanup of the local cluster code. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T164226.014885Z"></a> +2010-03-10T16:42:26.014885Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug in bmpcmp.c: When reading images from multi-image sets, we stop +the comparison process as soon as we fail to find any differences in the +current image. With this fix we correctly keep searching to the end. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T150557.116970Z"></a> +2010-03-10T15:05:57.116970Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change how we derive the glyph metrics from FT: we now interpret the glyph description only once, scaled and hinted, and then calculate the metrics from that. It's more accurate, accounts for hints that extend the glyph outline, and should be a worthwhile speed improvement.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T125150.027959Z"></a> +2010-03-10T12:51:50.027959Z Robin Watts</strong></p> +<blockquote> +<pre> +Change the condition under which we update the overprint device when restoring +a graphics state to be more relaxed; rather than updating if the overprint +state has changed we now update if it was enabled, or it if it is enabled. + +The logic behind this is that it will still fire in all the same conditions +it did before, but will also fire when we restore from a state that had it +enabled to another state that had it enabled. This should be entirely +harmless, but will allow the state to be updated in the case where a +colorspace has been updated. + +This causes 2 differences in the tests, that only show up in psd files. +All indications seem to be that these files really are identical. But if +they aren't, I believe they should be progressions, rather than regressions. + +This moves the trunk more into line with the output of the gs_2_colors branch. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T061323.278865Z"></a> +2010-03-10T06:13:23.278865Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added local modes to build.pl and run.pl in preparation for use as part of the nightly regression. + +</pre> +<p>[toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T051959.535554Z"></a> +2010-03-10T05:19:59.535554Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix for SEGV with the psdcmyk device on 258-01.ps. This was a fundamental memory +problem with any device that used the compressed_color_list functions in gdevdevn.c +since a 'restore' could free structures which were still needed by the device. +Use stable_memory to avoid this. Bug 691150. +</pre> +<p>[base/gdevdevn.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172707.400171Z"></a> +2010-03-09T17:27:07.400171Z Robin Watts</strong></p> +<blockquote> +<pre> +Another tweak to the local cluster bmpcmp html page generation. I managed to +miss renaming the images in the second column. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172239.470336Z"></a> +2010-03-09T17:22:39.470336Z Robin Watts</strong></p> +<blockquote> +<pre> +Another tweak to the localcluster bmpcmp html page generation javascript; +quote the string to avoid it being converted to an int. + + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172235.452303Z"></a> +2010-03-09T17:22:35.452303Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Let pdftoraster not exit before the Ghostscript sub-process finishes. Thanks to Tim Waugh from Red Hat for the patch. +</pre> +<p>[cups/pdftoraster.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T171522.155871Z"></a> +2010-03-09T17:15:22.155871Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix pngs2html.pl to number images according to both directory and image +number (needed now as images restart from 0 within each directory). This +really should fix the bmpcmp html output. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T170842.132281Z"></a> +2010-03-09T17:08:42.132281Z Robin Watts</strong></p> +<blockquote> +<pre> +More fixes for the bmpcmp html page generations javascript. + +Change code to pass numbers to swap() rather than strings as javascripts +conversion of strings to ints is... unhelpful. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T165048.278966Z"></a> +2010-03-09T16:50:48.278966Z Robin Watts</strong></p> +<blockquote> +<pre> +Misplaced bracket in the javascript meant that only the first images would +swap on mouseover properly. Fixed here. + + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T163921.328229Z"></a> +2010-03-09T16:39:21.328229Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix javascript problems in bmpcmp output page generation. What sort of +stupid broken language depends on whitespace? + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T163506.527087Z"></a> +2010-03-09T16:35:06.527087Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixes on CUPS Raster output device: +- Fixed memory reallocation on bitmap size change. Reallocation is not only + needed when dimendions and margins change, but also when the color depth + changes. Fixes bugs #691029 and #691108. +- Fixed arrayoption() macro in cups_put_params() function. Array values did + not get actually set in cups.header data structure. Bug only showed via + a compiler warning. +- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T162931.666786Z"></a> +2010-03-09T16:29:31.666786Z Robin Watts</strong></p> +<blockquote> +<pre> +Attempted fix for bmpcmp output javascript problems with the coordinate +tracking. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T161159.669918Z"></a> +2010-03-09T16:11:59.669918Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix typos in the javascript code for pngs2html.pl and bmps2html.pl; this should +get at least some of it working, but the coord stuff still baffles me. + +Also fix a typo that was causing the wrong "third image" to appear. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T014606.865448Z"></a> +2010-03-09T01:46:06.865448Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Fixed longstanding bug fuzzy.c that caused pbm files to be misread. + +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T215705.576067Z"></a> +2010-03-08T21:57:05.576067Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating documentation to mention how to run mkcidfm.ps manually; bug 688437</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-03-08T215437.005008Z"></a> +2010-03-08T21:54:37.005008Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +convert font file name to lowser case before matching; make it possible for upper case ARIALUNI.TTF to match; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T214956.216990Z"></a> +2010-03-08T21:49:56.216990Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating windows CJK font substitution list for more commonly found MS CJK fonts; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T214715.240330Z"></a> +2010-03-08T21:47:15.240330Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert to r8185 version of the korean example - it was removed in r8190 and a corrupted version r9325 was subsequently checked in; found during fixing bug 688437 (incompete font substitution list)</pre> +<p>[examples/cjk/gscjk_ak.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T162053.842289Z"></a> +2010-03-08T16:20:53.842289Z Ken Sharp</strong></p> +<blockquote> +<pre> +Ongoing bug fixes for #690448. +The FreeType code will synthesize vertical metrics for TrueType (Type 42) fonts which do +not contain a vmtx table. This includes the vertical advance, which will be returned +to the FAPI code, and used even if there were originally no vertical metrics and the +font should not have any vertical advance. + +Modified the metrics override callback, called by FT, so that if the font is a TT font, +and this is a vertical metrics call, we set the advance to 0. This prevents the +synthesized metrics from incorrectly advancing the glyph vertically. + +This may eventually be a problem if we find a CIDFont with Type42 outlines which relies +on the vmtx table in the font rather than the Metrics2 or CDevProc overrides to position +the glyphs. Since this facility was only added in CPSI 3011 it is unlikely we will ever +encounter such a font. THis has not been done at present, as the information (WMode=1) +is not currently available to the code called from FreeType to override the metrics, +and would need to be added. + +Also, fixed an issue where the 'advance_v' member of the metrics structure was left +uninitialised if a horizontal override took place. This could cause glyphs to be +mis-positioned vertically. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T154120.817468Z"></a> +2010-03-08T15:41:20.817468Z Ken Sharp</strong></p> +<blockquote> +<pre> +revert revision 10871, we will tackle this problem in the FAPI FreeType interface code +instead of in FreeType itself. + +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T152257.356559Z"></a> +2010-03-08T15:22:57.356559Z Ken Sharp</strong></p> +<blockquote> +<pre> +revert revision 10871, we will address the matter of FreeType creating synthetic vertical +metrics when none exist by overriding the synthetic metrics in the FAPI FreeType interface +code instead. +</pre> +<p>[freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> +</blockquote> + +<p><strong><a name="2010-03-08T092849.484133Z"></a> +2010-03-08T09:28:49.484133Z Chris Liddell</strong></p> +<blockquote> +<pre> +Latest improvements to the FAPI/FT bridge code. This code resolves the issues with font matrices which do more than just scale. It is not yet "finished", but is too big a step forward to risk losing.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T210134.974121Z"></a> +2010-03-05T21:01:34.974121Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added bmpcmp option to clusterpush.pl. + +</pre> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T192534.812546Z"></a> +2010-03-05T19:25:34.812546Z regression</strong></p> +<blockquote> +<pre> + +Export results of local cluster bmpcmp command to web. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T165000.654216Z"></a> +2010-03-05T16:50:00.654216Z regression</strong></p> +<blockquote> +<pre> + +Update the local cluster code to use the new pbm->png mode of bmpcmp. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T164710.049203Z"></a> +2010-03-05T16:47:10.049203Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Minor changes due to bugzilla update. + +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T132434.158774Z"></a> +2010-03-05T13:24:34.158774Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +Ongoing fixes for bug #690448. In this case FreeType generates vertical metrics for +TrueType (in our case Type 42) fonts which lack vhea/vmtx tables, which is generally +the case. + +These metrics are useful to a 'normal' TrueType consumer which has a notion of the +orientation of the writing direction. However in PostScript we don;t know that, so we +apply both the horizontal and vertical advance widths. + +If the vertical advance should be 0 (because its not specified) then creating one causes +the glyphs to be misplaced. + +This code adds a new load flag to FreeType 'FT_LOAD_NO_SYNTHETIC_METRICS', and sets +this flag in the FAPI FreeType interface code, which prevents FreeType from manufacturing a bogus vertical advance. +</pre> +<p>[psi/fapi_ft.c freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> +</blockquote> + +<p><strong><a name="2010-03-05T092347.698736Z"></a> +2010-03-05T09:23:47.698736Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Open tiffsep and tiffsep1 output files as seekable. + +All files written by libtiff have to be seekable when writing multiple pages, +because libtiff tries to access previously written page dictionaries. This +fixes bug 691160. + +</pre> +<p>[base/gdevtsep.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T070113.637667Z"></a> +2010-03-05T07:01:13.637667Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Fix pbm reading and png writing in bmpcmp.c. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T053224.962092Z"></a> +2010-03-05T05:32:24.962092Z regression</strong></p> +<blockquote> +<pre> + +Added pngs2html.pl to repository: take a directory full of png files +generated by the increasingly poorly named bmpcmp.c and generate web pages +(like bmps2html.pl but without the bmp->png conversion). + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-03T212107.833457Z"></a> +2010-03-03T21:21:07.833457Z Ralph Giles</strong></p> +<blockquote> +<pre> +Flip images from RGB to BGR pixel format when reading ppm files, +and flip them back to RGB when writing png files. + +This adapts all the current routines to assume the BGRx storage +format used by the bmp image format for the internal representation, +as is already done with the row order.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T212104.624166Z"></a> +2010-03-03T21:21:04.624166Z Ralph Giles</strong></p> +<blockquote> +<pre> +Also save the difference image as a png when bmpcmp is compiled with HAVE_LIBPNG.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T203001.695369Z"></a> +2010-03-03T20:30:01.695369Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix stupid memory overwrite bug on bmp load. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T200329.767395Z"></a> +2010-03-03T20:03:29.767395Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp.c tweaks: Add (largely untested) code to allow "plain" (ascii) ppm, +pgm, pbm files. Also fix some compile warnings on 64bit platforms. Now +compiles cleanly with -Wall. + + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T190712.236947Z"></a> +2010-03-03T19:07:12.236947Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add optional support for png output to the bmpcmp utility. + +When compiled with the HAVE_LIBPNG preprocessor symbol defined, and +linking with libpng, the utility will save its output focus images +in RGB png format. Currently, only 32 bit RGBx pixel data is supported.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-02T224902.357333Z"></a> +2010-03-02T22:49:02.357333Z Robin Watts</strong></p> +<blockquote> +<pre> +Attempt to fix the javascript in the created files. The change to use +numeric filenames padded to 5 chars had broken the javascript. This +might fix it. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-02T212636.100914Z"></a> +2010-03-02T21:26:36.100914Z regression</strong></p> +<blockquote> +<pre> + +More changes towards having a bmpcmp running on the local cluster. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-02T211259.888859Z"></a> +2010-03-02T21:12:59.888859Z Robin Watts</strong></p> +<blockquote> +<pre> +Updated bmpcmp to avoid inverting pnms on reading. + +Also improve reading of non 32bpp bitmaps - still not quite right. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-02T001558.939654Z"></a> +2010-03-02T00:15:58.939654Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added partial support for "clusterpush.pl bmpcmp" (which will allow +users to generate bitmap comparisons of their most recent clusterpush +job and trunk). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-01T174440.662743Z"></a> +2010-03-01T17:44:40.662743Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add support to the autoconf and msvc builds to compile in a copy of +the FreeType2 library from local source. + +Previously, the FAPI bridge for freetype required that the library +be compiled externally and include and link flags passed through +the FT_CFLAGS and FT_LIBS makefile variables. We now include a copy +of the freetype source in the tree, to make it easier to find a +compatible version of the source and to simplify building for +platforms that don't provide a system freetype. + +Now, to enable both freetype and the FAPI bridge, pass --enable-freetype +to the configure script. This will set FT_BRIDGE=1 and the other required +variables. The configure script will prefer local source in gs/freetype2 +to the copy in gs/freetype to simplify testing against upstream. + +To enable freetype in the msvc build, pass FT_BRIDGE=1 on the nmake command +line. + +Note that the fallback is now FT_BRIDGE=0, not FT_BRIDGE undefined; this +will require changes in any custom top-level makefiles. +</pre> +<p>[base/winlib.mak doc/Make.htm base/gs.mak base/Makefile.in psi/int.mak base/configure.ac psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-01T153456.724940Z"></a> +2010-03-01T15:34:56.724940Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #691154 and the regressions associated with revision 10823. +Unfortunately, performance-wise, the wtsimdi device must always use a +contone buffer until we've had a chance to see which raster operations +can be eliminated correctly. +</pre> +<p>[base/gdevwts.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T225702.883228Z"></a> +2010-02-28T22:57:02.883228Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +First half of patch from John Wehle for bug 691149 - vac C compiler on AIX 5.2 does +not like function with a void prototype returning a void function e.g. + +------------------ +void func1(); + +void funct2() { +return funct1(); +} +------------------ + +The 2nd half of the submitted patch was committed as part of r10826 . + +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T172609.949555Z"></a> +2010-02-28T17:26:09.949555Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes part of 691149 - void function returning value, thanks to John +Wehle for the fix. Also, there were several compiler warnings in this +file related to the casting of the gs memory type pointer which have +been cleaned up as well. +</pre> +<p>[base/gsnogc.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T145200.838160Z"></a> +2010-02-28T14:52:00.838160Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The distclean make target should call pgclean to clean up profile build also.</pre> +<p>[base/Makefile.in]</p> +</blockquote> + +<p><strong><a name="2010-02-28T011926.994088Z"></a> +2010-02-28T01:19:26.994088Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following PDF reference, version 1.7, section 10.10, crop /TrimBox and /CropBox +by the /MediaBox. Bug 691145. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-27T232931.437722Z"></a> +2010-02-27T23:29:31.437722Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #691147 customer 861, the optimization to strength reduce +the raster operation here is wrong, it is premised on the assumption +the colors are opaque. If either texture or source is transparent the +strength reduction which effectively ignores the source or pattern is +wrong and it will subsequently cause opaque painting. We've simply +removed the optimization instead of conditionalizing on opaque cases, +because tests indicate the reduction not that significant. The +example in the bug report was reduced from a file in the XL ATS 305 +test suite. The following customer reported bugs in that test suite +are fixed by this change: + +FH905UJ1.BIN pp 1,2,3,4 +FH906UJ1.BIN pp 1-6 +MA2K7UJ2.BIN pp 1-10 +PW2K6UJ1.BIN pp 2 +PWTTDUJ3.BIN pp 1 +</pre> +<p>[base/gxipixel.c]</p> +</blockquote> + +<p><strong><a name="2010-02-27T202413.417473Z"></a> +2010-02-27T20:24:13.417473Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Upgrade Adobe Glyph List to v. 2.0. AGL is used for character mapping in +non-symbolic TrueType fonts in PDF files. Bug 691116. +</pre> +<p>[Resource/Init/gs_agl.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-27T165647.050522Z"></a> +2010-02-27T16:56:47.050522Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing newline in a TTF debug message. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-26T171128.684024Z"></a> +2010-02-26T17:11:28.684024Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in the freetype makefile which prevented the inclusion +of ftlzw.c. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-26T064131.056673Z"></a> +2010-02-26T06:41:31.056673Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fixes to our makefile for the third-party freetype library. + +I'd missed a number of "optional" files in the original commit, but +didn't notice because other dependencies, which themselves link to +the system freetype library on linux were providing definitions of +the missing symbols. These are now included in our build. + +We now generate freetype.dev by copying freetype_$(SHARE_FT) within +freetype.mak, the same was this option is handled in the other third- +party makefiles. + +We set native line endings and Id keyword substitution for this file +in the Subversion repository. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-25T110459.765077Z"></a> +2010-02-25T11:04:59.765077Z Chris Liddell</strong></p> +<blockquote> +<pre> +add quotes around the expansion of DEVSTUDIO variable when it's used for the recursive nmake call for debug targets - in case it has white space in it.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-25T082146.259499Z"></a> +2010-02-25T08:21:46.259499Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fix for bug 691103. The pdfwrite device now considers FDArray fonts' FontMatrix and writes correct W/W2/DW/DW2 widths for CIDFont with unusual FontMatrix. This also fixes a problem gs_font::orig_FontMatrix not being initialized for CIDFont. +Bug687832.pdf and Bug690834.ps will show differences which are improvements. +</pre> +<p>[Resource/Init/gs_cidfn.ps base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2010-02-24T202657.347460Z"></a> +2010-02-24T20:26:57.347460Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a generic makefile for compiling the freetype library +as part of the Ghostscript monolithic build. + +Including makefiles should define FTSRCDIR, FTGENDIR and FTOBJDIR, +similar to other third party libraries. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T195905.197182Z"></a> +2010-02-24T19:59:05.197182Z Ralph Giles</strong></p> +<blockquote> +<pre> +Copy our local branch of the freetype library source into the gs tree. + +This was the intended result of commit 10804, but an ommitted path element +placed it in the repository root instead. +</pre> +<p>[freetype]</p> +</blockquote> + +<p><strong><a name="2010-02-24T193811.435012Z"></a> +2010-02-24T19:38:11.435012Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in a dependency specification for wrfont.c. + +The typo (stdio_h for stdio__h) prevented the dependency on arch.h +from being declared, generating a temporary error in a sufficiently +parallel make invocation. +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T192711.525322Z"></a> +2010-02-24T19:27:11.525322Z regression</strong></p> +<blockquote> +<pre> + +Changed naming scheme for regressions from 00000-00000 to 00000 (i.e. no longer treat Ghostscript and GhostPDL revisions independently). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-24T182235.905364Z"></a> +2010-02-24T18:22:35.905364Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the fontconfig check into the libraries section of the configure script. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-02-24T181645.225914Z"></a> +2010-02-24T18:16:45.225914Z Chris Liddell</strong></p> +<blockquote> +<pre> +ensure the DEVSTUDIO value is propagated when we recursively nmake for the debug targets.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T172823.116518Z"></a> +2010-02-24T17:28:23.116518Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious circular symlink accidentally included in the libpng-1.2.42 +source import. +</pre> +<p>[libpng/libpng]</p> +</blockquote> + +<p><strong><a name="2010-02-24T095802.654907Z"></a> +2010-02-24T09:58:02.654907Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix, ignore a class of broken TrueType font. +Bug #691121 "gs stops in interpreting tt instructions". The font executes an MDRP +instruction with point number 28, the glyph only contains 28 points numbered 0 to 27 so +the interpreter (correctly) flags an error. + +Windows and FT both appear to silently ignore the error and the instruction (definitely +the case for FreeType). Modified Ins_MDRP to simply return if the indicated point is +outside the number of points in this case. +</pre> +<p>[base/ttinterp.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T222918.142249Z"></a> +2010-02-23T22:29:18.142249Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug 690967, a diagnostic problem with dumping memory the debug +-ZA option. See the comment in the code for details, the change has +no effect on production builds. +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T215815.181686Z"></a> +2010-02-23T21:58:15.181686Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix obviously wrong code in .fixsethalftonescreen procedure that is used by +the setscreen (and setcolorscreen) procedure and caused a PS error if the +third 'proc' argument to setscreen is a read-only Halftone type 1 dictionary. +Thanks to Jonathan Dagresta for the patch. Bug 691130, customer 1130. +</pre> +<p>[Resource/Init/gs_dps2.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-23T205621.262529Z"></a> +2010-02-23T20:56:21.262529Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify sed script that extracts libTiff version number for compatibility +with AIX sed. Include our portable header before tiff.h to make sure that +all stdint types are found. Bug 691102. +</pre> +<p>[base/gdevtifs.c base/gdevtsep.c base/configure.ac base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T100154.545437Z"></a> +2010-02-23T10:01:54.545437Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) +Bug #691133. If producing PDF/A output. and a DOCINFO pdfmark string was UTF_16BE +encoded *and* contained a numeric character, then decode_escape incorrectly consumed +any numeric characters following the first octal byte of the UTF16 code. + +This was caused by decode_escape assuming that octal sequences are terminated by +non-numeric characters which is clearly wrong. The octal escape decoding loop is now +terminated when : +1) 3 numeric characters are read from the string +2) No more data is available in the string +3) A non-numeric character is encountered in the string. + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-22T114533.943563Z"></a> +2010-02-22T11:45:33.943563Z Chris Liddell</strong></p> +<blockquote> +<pre> +resolve inappropriate variable type (signed vs unsigned) and comparisons with the wrong variable when writing the local subrs info to the serialized T2 Private dictionary.</pre> +<p>[psi/write_t2.c]</p> +</blockquote> + +<p><strong><a name="2010-02-21T175724.841443Z"></a> +2010-02-21T17:57:24.841443Z regression</strong></p> +<blockquote> +<pre> + +Added regression testing of the icc_work branch to the local cluster. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-21T035726.068286Z"></a> +2010-02-21T03:57:26.068286Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Add cast to bmpcmp.c to quiet useless compiler warning. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-02-21T035151.891247Z"></a> +2010-02-21T03:51:51.891247Z regression</strong></p> +<blockquote> +<pre> +Several minor changes to local cluster code to improve reliability and increase performance. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-21T033829.059238Z"></a> +2010-02-21T03:38:29.059238Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update pdf2dsc.ps to match the changes in pdf_main.ps introduced by +the rev. 10341. Thanks to William Bader for the patch. Bug 691124. +</pre> +<p>[lib/pdf2dsc.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-21T025705.611462Z"></a> +2010-02-21T02:57:05.611462Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Include stat_.h before estack.h, which defines esp macro. +Prevent a spurious macro substitution in Cygwin version of signal.h. +Bug 691123, customers 661. +</pre> +<p>[psi/zfapi.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-17T170227.004947Z"></a> +2010-02-17T17:02:27.004947Z Henry Stiles</strong></p> +<blockquote> +<pre> +Adds placeholder files to trunk so the other languages (pcl, xps and +svg) can built with the icc branch and trunk. Each of these files +will be replaced with real files when the icc branch is merged into +the trunk. +</pre> +<p>[base/lcms.mak base/gsiccmanage.h]</p> +</blockquote> + +<p><strong><a name="2010-02-16T181257.832463Z"></a> +2010-02-16T18:12:57.832463Z Robin Watts</strong></p> +<blockquote> +<pre> +Tiny tweaks to clusterpush.pl to make it work on windows. First, wrap the +$HOME directory in additional quotes to allow for awkward windows users +with spaces in their names. Secondly, add a crude mapping for people whos +windows names are not the same as the usernames. This can unquestionably +be done more nicely, but the simple version will do for now. + +</pre> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-16T170749.079920Z"></a> +2010-02-16T17:07:49.079920Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing dereferencing of indirect objects in /Mask array. +Bug 691112, customers 870. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-12T152723.315268Z"></a> +2010-02-12T15:27:23.315268Z Ken Sharp</strong></p> +<blockquote> +<pre> +Sort out some minor benign compiler warnings. No differences expected. +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-12T151716.629322Z"></a> +2010-02-12T15:17:16.629322Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix colour processing. It was possible for nested ICCBased colour spaces (ie an ICCBased +space whose Alternate is another ICCBased space) to cause segmentation faults. + +This was due to the fact that the conversion to base colour continuation procedure +'currentbasecolor_cont' was supposed to scan the space from the initial declaration +each time round a loop. However a reassignment of an array pointer caused it to +rescan from the last processed colour array instead. + +Normally this does not cause problems, but in the case of nested ICCBased it caused +us to generate an error. + +Fixed by re-initialising the array pointer at the start of the loop. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-02-11T162820.347398Z"></a> +2010-02-11T16:28:20.347398Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) bug #691104 "pdfwrite emits garbage in the XMP metadata when DOCINFO +pdfmarks contain UTF-16BE text strings" + +There were several problems. Firstly the undoing of PostScript string escapes was wrong, +Octal escapes consumed too many characters, and several escape sequences weren't +recognised. + +Secondly the XMP emission didn't expect to receive UTF-16BE strings and didn't convert +them to UTF-8 for inclusion in the metadata. + +This patch fixes the broken octal escapes, adds teh unprocessed escapes and checks the +DOCINFo strings before sending to XMP. If they include the UTF-16BE Byte Order Mark +then convert the strings to UTF-8. +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-10T202733.989189Z"></a> +2010-02-10T20:27:33.989189Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump the versioning after the 8.71 release. +</pre> +<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> +</blockquote> + + +<!-- [2.0 end contents] ==================================================== --> + +<!-- [3.0 begin visible trailer] =========================================== --> +<hr> + +<p> +<small>Copyright © 2000-2006 Artifex Software, Inc. All rights reserved.</small> + +<p> +This software is provided AS-IS with no warranty, either express or +implied. + +This software is distributed under license and may not be copied, modified +or distributed except as expressly authorized under the terms of that +license. Refer to licensing information at http://www.artifex.com/ +or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, +San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. + +<p> +<small>Ghostscript version 9.00, 24 August 2010 + +<!-- [3.0 end visible trailer] ============================================= --> + +</body> +</html> diff --git a/gs/doc/Develop.htm b/gs/doc/Develop.htm index a3fd0ed53..2a33c3b53 100644 --- a/gs/doc/Develop.htm +++ b/gs/doc/Develop.htm @@ -2772,6 +2772,8 @@ Font name mapping: <a href="../lib/Fontmap.Sol">lib/Fontmap.Sol</a>, <a href="../lib/Fontmap.Ult">lib/Fontmap.Ult</a>, <a href="../lib/Fontmap.VMS">lib/Fontmap.VMS</a>, +<a href="../lib/Fontmap.URW-136.T1">lib/Fontmap.URW-136.T1</a>, +<a href="../lib/Fontmap.URW-136.TT">lib/Fontmap.URW-136.TT</a>, <a href="../lib/cidfmap">lib/cidfmap</a>, <a href="../lib/FAPIcidfmap">lib/FAPIcidfmap</a>, <a href="../lib/FAPIfontmap">lib/FAPIfontmap</a>, @@ -4868,7 +4870,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Devices.htm b/gs/doc/Devices.htm index 6aa3f4570..a8d38df8c 100644 --- a/gs/doc/Devices.htm +++ b/gs/doc/Devices.htm @@ -1628,7 +1628,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Drivers.htm b/gs/doc/Drivers.htm index a15ff4b5b..2ebc9d3ac 100644 --- a/gs/doc/Drivers.htm +++ b/gs/doc/Drivers.htm @@ -3261,7 +3261,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Fonts.htm b/gs/doc/Fonts.htm index 9e4cd065b..4345b46e0 100644 --- a/gs/doc/Fonts.htm +++ b/gs/doc/Fonts.htm @@ -774,7 +774,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Helpers.htm b/gs/doc/Helpers.htm index f8dc0dda0..5f437e196 100644 --- a/gs/doc/Helpers.htm +++ b/gs/doc/Helpers.htm @@ -300,7 +300,7 @@ contact Artifex Software, Inc., 101 Lucas Valley Road #110, San Rafael, CA 94903, U.S.A., +1(415)492-9861. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History1.htm b/gs/doc/History1.htm index 08a606d8a..1d104c15d 100644 --- a/gs/doc/History1.htm +++ b/gs/doc/History1.htm @@ -430,7 +430,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History2.htm b/gs/doc/History2.htm index 8a003a24a..c4612a464 100644 --- a/gs/doc/History2.htm +++ b/gs/doc/History2.htm @@ -5224,7 +5224,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History3.htm b/gs/doc/History3.htm index fc5349c69..25f88c301 100644 --- a/gs/doc/History3.htm +++ b/gs/doc/History3.htm @@ -8589,7 +8589,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History4.htm b/gs/doc/History4.htm index a84d95f66..43335676c 100644 --- a/gs/doc/History4.htm +++ b/gs/doc/History4.htm @@ -3973,7 +3973,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History5.htm b/gs/doc/History5.htm index 028021715..5c8a5c690 100644 --- a/gs/doc/History5.htm +++ b/gs/doc/History5.htm @@ -13447,7 +13447,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History6.htm b/gs/doc/History6.htm index 8635ca46d..c297473e5 100644 --- a/gs/doc/History6.htm +++ b/gs/doc/History6.htm @@ -7329,7 +7329,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History7.htm b/gs/doc/History7.htm index c0c4f4505..05228db7b 100644 --- a/gs/doc/History7.htm +++ b/gs/doc/History7.htm @@ -15715,7 +15715,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History8.htm b/gs/doc/History8.htm index 16c478328..e4801f0d6 100644 --- a/gs/doc/History8.htm +++ b/gs/doc/History8.htm @@ -62049,7 +62049,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/History9.htm b/gs/doc/History9.htm index a3775bc17..b8a80ab68 100644 --- a/gs/doc/History9.htm +++ b/gs/doc/History9.htm @@ -67,6 +67,37 @@ overview</a>. <p>This is the first release in the stable 9.x series. +<p>This release includes a move to an ICC-based color rendering workflow. The +design allows easy integration of 3rd party color management modules (CMMs) +and management of DeviceN and spot source colors with ICC profiles as well +as with non-ICC proprietary methods. The default CMM is the well known littleCMS. +Postscript color objects and non-ICC CIE-based PDF color spaces are converted to +equivalent ICC profiles enabling complete color management for all color spaces by +an ICC-based CMM. New command line options enable the specification of gray, rgb +and cmyk default ICC profiles as well as output device ICC profiles. The new +work flow provides performance improvements in the rendering of images, shadings +and transparencies. In addition, the color conversions are designed to work +efficiently in multithreaded display list (c-list) rendering through the use of a +shared link cache. Finally, proper ICC based rendering now occurs for ALL XPS +objects including Named colors, N-Channel colors and images with internally embedded +ICC profiles. + +<p>The second major change in this release is that glyph rendering for all font types +except Type 3 is now handled by Freetype (via a much improved and enhanced Font API). +The most obvious benefit of this is a complete, and proven implementation of the +TrueType byte code interpreter (now unencumbered by patents). + +<p> Another major change is that the Postscript interpreter's graphics state now +stores two separate colour space settings for stroking and filling, to better +support the stroke and fill colours required by the PDF interpreter. + +<p>Finally, support for optional content has bee added to the PDF interpreter. + +<p> This release also includes a number of improvements to the pdfwrite device +to improve reliability and quality with PCL and XPS input. Many improvements to +the support of JPX images in PDF files, PDF annotation rendering and the usual +number of general bug and robustness fixes. + <p>For a list of open issues, or to report problems with this release, please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>. @@ -76,6 +107,7630 @@ please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>. No recorded incompatible changes. <h3><a name="9.00_changelog"></a>Changelog</h3> +<p><strong><a name="2010-08-24T123334.461027Z"></a> +2010-08-24T12:33:34.461027Z Chris Liddell</strong></p> +<blockquote> +<pre> +merge changes from the trunk doc directory to the 9.00 release tag. +</pre> +<p>[/tags/ghostscript-9.00/doc /tags/ghostscript-9.00/doc/History9.htm /tags/ghostscript-9.00/doc/News.htm /tags/ghostscript-9.00/doc/AUTHORS]</p> +</blockquote> + +<p><strong><a name="2010-08-20T175448.049092Z"></a> +2010-08-20T17:54:48.049092Z Chris Liddell</strong></p> +<blockquote> +<pre> +When we produce a glyph uncached, and it's to be filled with a +pattern colour space *and* there is PDF transparency involved +force FAPI to (try to) produce an outline (for lower level +code to use as a clip) instead of a bitmap (to use as a +mask). + +This does produce some pixel level differences in a few +cluster files, but improves a load of PDF 1.7 FTS jobs. + +Bug 691550 + +Merge from trunk r11645 + +</pre> +<p>[/tags/ghostscript-9.00/psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-18T100340.871603Z"></a> +2010-08-18T10:03:40.871603Z Chris Liddell</strong></p> +<blockquote> +<pre> +Tag the ghostscript 9.00 release + +</pre> +<p>[/tags/ghostscript-9.00]</p> +</blockquote> + +<p><strong><a name="2010-08-17T143158.354019Z"></a> +2010-08-17T14:31:58.354019Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Skip opacity and unknown components during reading of JPX image data. This +improves image quality (compared to the previous state that interpreted an +opacity channel as yet another data sample) and serves as a transition to full +support of opacity in JPX images. Bug 691489, customer 532. +</pre> +<p>[base/sjpx.h psi/zfjpx.c base/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2010-08-17T012218.729560Z"></a> +2010-08-17T01:22:18.729560Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't include opacity channels in the number-of-components count. +Recognize general ICC profile (type 3) and construct a corresponding +ICC-based color space. Bug 691470, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-15T094903.044306Z"></a> +2010-08-15T09:49:03.044306Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure we only check the compatibility of the system libtiff +if we're actually going to use it. + +No cluster differences expected. + +Bug 691548 +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-08-15T094221.565047Z"></a> +2010-08-15T09:42:21.565047Z Chris Liddell</strong></p> +<blockquote> +<pre> +The "shortcut" for rendering masks use by the FAPI code for uncached +glyph bitmaps (gx_image_fill_masked) is only safe, in the general case +when drawing "plain" colours to the output. For complex colour spaces +(like patterns) we must use the "long hand" version. + +This causes minor pixel level differences in some cluster tests (due +to rounding differences), and some (very small) progressions: there +are differences in about 20 cluster jobs. + +Bug 691549. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-14T211029.198491Z"></a> +2010-08-14T21:10:29.198491Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory corruption problem introduced by the rev. 11588 on some systems. +Free the string returned by systempapername() but don't free the static string +returned by defaultpapername() . Bug 691557. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-13T194628.340691Z"></a> +2010-08-13T19:46:28.340691Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite( : Invalid compression filter emitted. + +Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in +gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a +trailing comma if the filter was RunLength. + +No differences expected +</pre> +<p>[base/gdevpdfx.h]</p> +</blockquote> + +<p><strong><a name="2010-08-12T181430.164084Z"></a> +2010-08-12T18:14:30.164084Z Till Kamppeter</strong></p> +<blockquote> +<pre> +pstoraster: Removed unneeded "-dDEBUG" from Ghostscript command line. +</pre> +<p>[cups/pstoraster.in]</p> +</blockquote> + +<p><strong><a name="2010-08-12T181047.335830Z"></a> +2010-08-12T18:10:47.335830Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Do verbose degug logging only if compiled in debug mode. Bug 690581. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-08-12T063908.575092Z"></a> +2010-08-12T06:39:08.575092Z regression</strong></p> +<blockquote> +<pre> +Added support for regression testing of the cups device. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-08-12T025540.283339Z"></a> +2010-08-12T02:55:40.283339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix to handle case where the profiledir is NOT set AND there is a change in the process color model for the device AFTER a profile had already been set. </pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-08-12T014217.270497Z"></a> +2010-08-12T01:42:17.270497Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement variable text rendering for widget annotations. +Bug 691536, customer 532. +</pre> +<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-11T233148.385487Z"></a> +2010-08-11T23:31:48.385487Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminism issue that was introduced with changes in 16bit image handling. Last subpixel element was not getting unpacked properly. </pre> +<p>[base/gxi16bit.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T230548.288399Z"></a> +2010-08-11T23:05:48.288399Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Another compiler complaint fix. Proper cast of device.</pre> +<p>[base/gdevpsdi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T213103.877037Z"></a> +2010-08-11T21:31:03.877037Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for compiler error due to implicit declaration</pre> +<p>[base/gdevpsdi.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-08-11T185451.837319Z"></a> +2010-08-11T18:54:51.837319Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that if the device process color model changes the profile is updated accordingly.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T161745.421152Z"></a> +2010-08-11T16:17:45.421152Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix bug # 691532. Do not attempt to clone an image that does not exist, each completed page should have an associated image. We'd like to handle this corrupt file with a better fix, for example the absence of an end page segement is clearly a problem with respect to the specification, but Adobe and Artifex have chosen to support other "off spec" streams so more subtle and less obvious error checking is needed. Thanks to Tim Waugh for analysis on this problem. +</pre> +<p>[jbig2dec/jbig2_page.c]</p> +</blockquote> + +<p><strong><a name="2010-08-11T152222.427529Z"></a> +2010-08-11T15:22:22.427529Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add some words about the ps2write device to the devices documentation. +</pre> +<p>[doc/Devices.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-10T164420.491267Z"></a> +2010-08-10T16:44:20.491267Z regression</strong></p> +<blockquote> +<pre> + +Several minor changes to the cluster regression system, the most +signifcant of which are: + +seg. faults are now reported for every case (previously they were only +reported if they were new) + +skip.lst files are now checked for errors + +changes to gs/psi now test the pcl/pxl/xps products since changes to +Ghostscript can affect the pdfwrite path + +the tests_private/pdf/PDF_1.7_FTS repository was added + + +</pre> +<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-08-10T162019.775613Z"></a> +2010-08-10T16:20:19.775613Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf. </pre> +<p>[base/gxi12bit.c base/gsdevice.c base/gdevpdfk.c base/gxpcmap.c base/gxdevice.h /trunk/ghostpdl/xps/xpsgradient.c base/gdevprn.c base/gdevpsdi.c base/gscsepr.c base/gscpixel.c base/gxcmap.c base/gdevbit.c base/gxclip.c base/gxicolor.c base/gximag3x.c base/gscspace.c base/gsicc.c base/gscdevn.c base/gscolor2.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcspace.h base/gscicach.c base/gdevnfwd.c base/gxdevcli.h base/gdevp14.c psi/zdevice.c base/gsicc_create.c base/gsicc_cache.c base/gdevp14.h base/gsicc_cache.h base/gxccman.c base/gscms.h base/gxclist.h psi/zusparam.c base/gxshade.c base/gxblend.c base/gsequivc.c base/gsciemap.c]</p> +</blockquote> + +<p><strong><a name="2010-08-10T091550.312005Z"></a> +2010-08-10T09:15:50.312005Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement : pdfwrite + +performance enhancement for pdfwrite when handling files with large amounts of text. + +Bug #689859 "Performance comparison versions 7.07 and 8.62 on HP-UX ia64" Alex's +analysis shows that pdfwrite was spending a lot of time trying to to see if two type 1 +fonts were the same before deciding whether a glyph could be added to a font, or was +already present in a font copy. + +Most of the time was spent extracting and comparing /Subrs. The new code creates a hash +(MD5) of both the local and global Subrs (if present) and stores that in the type 1 +'data' field in the font (16 bytes). The hashes are created by pdfwrite only as they +are required, so there is no performance penalty for rendering. The hash comparison is +considerably quicker than the long winded Subrs comparison. + +For many files the performance difference is minimal but for file containing lots of +pages, mostly composed of text, there is a considerable saving. The text files run in +about 60% of the time they did before this change. + +</pre> +<p>[base/gxfont1.h base/gxfcopy.c psi/zfont1.c]</p> +</blockquote> + +<p><strong><a name="2010-08-10T081335.250205Z"></a> +2010-08-10T08:13:35.250205Z Chris Liddell</strong></p> +<blockquote> +<pre> +A small revision to the fix for Bug 691326: the glyphs array must have +at least one entry. + +No cluster differences expected. + +Bug 691343 +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-09T004131.173587Z"></a> +2010-08-09T00:41:31.173587Z Ray Johnston</strong></p> +<blockquote> +<pre> +Free the pattern-clist devices that are created (and left for the GC to +free) when pattern-clist patterns are used with a device that is using the +clist for the page. Those that were allocated during the print_page clist +playback would be those that leaked. Since the devices were closed, this +could lead to GC referencing objects that were invalid. Related to, but +not the final fix to Bug 691527. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-08-09T000727.505245Z"></a> +2010-08-09T00:07:27.505245Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove spurious "cvx" operators after .pushextendedgstate and +.popextendedgstate . Do .popextendedgstate after checking that "Q" +has a correspondingh "q". Bug 691538. +</pre> +<p>[Resource/Init/pdf_ops.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-07T155808.066501Z"></a> +2010-08-07T15:58:08.066501Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of Widget annotation border background specified by +/BC and /BG entries of the appearance characteristics dictionary /MK. +Bug 691524, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-06T202111.891509Z"></a> +2010-08-06T20:21:11.891509Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix segfault seen with fts_17_1704.pdf when the clist playback of patterns +that had been stored as clists were attempted to be read from the clist +as bitmaps. This happened when -dMaxPatternBitmap=1000000 was used which +is smaller than the default, confusing a HACK that attempted to force +the use of the pattern-clist mode. Also remove some #if 0 idle code. +</pre> +<p>[base/gsptype1.c base/gxpcmap.c base/gxcolor2.h]</p> +</blockquote> + +<p><strong><a name="2010-08-06T172216.521958Z"></a> +2010-08-06T17:22:16.521958Z Chris Liddell</strong></p> +<blockquote> +<pre> +I missed a couple of now unused variables in the previous commit. +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T154921.355481Z"></a> +2010-08-06T15:49:21.355481Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add documentation on -dMaxPatternBitmap=# parameter in the 'Improving +Performance' section of the Use.htm file. The actual parameter was +added in rev 11605. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-06T150300.994141Z"></a> +2010-08-06T15:03:00.994141Z Chris Liddell</strong></p> +<blockquote> +<pre> +Prevent doing a gc "unmark" on memory already (potentially) +freed. + +Relates to Bug 691380. I could not reproduce the seg fault +as reported, but valgrind reported the write to freed memory +in the same place as the reported seg fault. + +</pre> +<p>[psi/iname.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T111522.616992Z"></a> +2010-08-06T11:15:22.616992Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite +There is a hack in type 3 font creation in pdfwrite which increases the FontMatrix if +all the elements are very small, apparently Acrobat is unable to cope with very small +FontMatrix entries. + +However, if all the entries are 0, it ends up running round a loop multiplying by 10 +indefinitely. This change simply avoids the loop if all the matrix elements are 0. +Naturally this isn't a useful font, its a Quality Logic test file. + +</pre> +<p>[base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T111140.511965Z"></a> +2010-08-06T11:11:40.511965Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 11600 introduced a sever regression with text in XPS files. This revision +addresses that by only applying the fix to preserve glyph data when the text operation +is TEXT_FROM_SINGLE_GLYPH as this is the only case where the affected union is a glyph +not a pointer to a series of glyphs, and is therefore the only case which is affected. + +Expected Differences: All XPS files with text should again work correctly. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-08-06T082720.529691Z"></a> +2010-08-06T08:27:20.529691Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise some of the FAPI related information. + +</pre> +<p>[doc/Use.htm doc/Make.htm doc/Develop.htm doc/Psfiles.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-06T055342.503244Z"></a> +2010-08-06T05:53:42.503244Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of standard Stamp and Text annotations. Ghostscript uses +different font than Acrobat in Stamp icons and uses the same icon for the Text +annotation regardless of the /Name attribute. Bug 691525, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-06T042459.663647Z"></a> +2010-08-06T04:24:59.663647Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a new paramter MaxPatternBitmap with a default value of 8Mb. Formerly +the pattern_clist mode would be used when the bitmap size exceeded 1Mb +and prior to rev 11___ this calculation was flawed and could allow pattern +bitmaps as large as 64Mb to avoid the pattern_clist mode. While the clist +based pattern tiling is slow, setting the threshold to 8Mb should be rare +enough to minimize performance impact. Bug 691512. +</pre> +<p>[base/gsdevice.c base/gdevp14.c base/gxdevcli.h base/gsdparam.c base/gxpcmap.c base/gxdevice.h base/gdevbit.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T232612.261846Z"></a> +2010-08-05T23:26:12.261846Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Segmentation fault on mid-job changes of the color depth. + +This patch prevents the crash by forcing a memory reallocation on +color depth changes. The approach principally works but we did not +decide yet whether it is the final solution, as Michael Vrhel is still +doing major changes in the color handling. Bug 690435. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T191611.698734Z"></a> +2010-08-05T19:16:11.698734Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix comment about no support for BITS=4 +</pre> +<p>[lib/viewrgb.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-05T191400.403158Z"></a> +2010-08-05T19:14:00.403158Z Ray Johnston</strong></p> +<blockquote> +<pre> +Minor correction to usage string left over from when this was split out +from setupgs. +</pre> +<p>[psi/mkfilelt.cpp]</p> +</blockquote> + +<p><strong><a name="2010-08-05T174036.908437Z"></a> +2010-08-05T17:40:36.908437Z Chris Liddell</strong></p> +<blockquote> +<pre> +The "show" machinery expected that even non-marking text operations +(such as stringwidth) would result in a glyph bitmap which +could be cached (assuming the glyph would be a candidate for the +cache with a normal marking operation, like show). + +FAPI, however, did not create a glyph bitmap for non-marking +operations, thus the cache would receive a valid, but +"empty" glyph. This caused Postscript that used stringwidth +before a show to sometimes "lose" glyphs, by using the empty +cached glyph. + +FAPI's behaviour now matches the expectations of the show/cache +management code. + +Causes cluster differences in Bug688372.ps, fts_31_3111.pdf, and +14-08.PS, these are all progressions. + +Bug 691517 + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-05T154939.430735Z"></a> +2010-08-05T15:49:39.430735Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) +A piece of data (pointer to glyph data) was stored and passed into a routine +'process_text_modify_width' which expected the glyph data to remain unchanged but +modified the text enumerator data. This doesn't work if the glyph data is a pointer +to the text enumerator data. NB the text enumerator is saved and restored around the +call. + +Modified so that the calling routine makes a copy of the glyph data before calling +'process_text_modify_width'. + +This should prevent 13-10.ps from entering an infinite loop. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-08-04T231524.779084Z"></a> +2010-08-04T23:15:24.779084Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for Bug 691504 (gs taking a long time to render a file). + +Revision 8694 changes code from using a simple cast to an int to using +a call to (int)floor. This fixes problems, but costs a factor of 3 in +processing time for heavily tiled files. + +Here we change to using a macro version of floor instead. This removes +the function call and NaN handling overheads and returns us to the +same kind of performance as we had before. + +We apply the same change throughout the file (i.e. all the calls to (int)floor, +not just the two changed in r8694. + +There is still scope for optimising this code further, but this closes the +regression. + +No differences seen in local cluster testing. + +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-08-04T225904.842835Z"></a> +2010-08-04T22:59:04.842835Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement rendering of Underline and StrikeOut annotations without +appearance streams. Bug 691526, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-03T120247.197684Z"></a> +2010-08-03T12:02:47.197684Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix : FAPI (no bug number, discovered working on a different problem) + +Another place where the FAPI code assumes that a text enumerator is a show_enum and +casts it as such. While this is true for rendering, it is not the case when capturing +glyphs for pdfwrite. + +Altered the code to test if the enumerator is a show_enum and if not, to get the +graphics state from the enumerator 'pis' pointer instead if possible. Signal an error +if this is not possible. + +No differences expected. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-08-03T080213.862491Z"></a> +2010-08-03T08:02:13.862491Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement : PDF interpreter. Bug #691503 + +When creating an outline (/OUT pdfmark), especially for the pdfwrite device, check the +destination page to see that it lies between FirstPage and LastPage; if it does not, then +don't emit it. This is an extension to the existing control which checked that the +destination page wasn't greater than the number of pages in the PDF file.</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-03T075650.987568Z"></a> +2010-08-03T07:56:50.987568Z Ken Sharp</strong></p> +<blockquote> +<pre> +In the section 'Using Unicode True Type fonts', replace the example CSI array with one +whose values are strings, not names. These must be string values. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-08-02T213029.939498Z"></a> +2010-08-02T21:30:29.939498Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Partly revert rev. 11392 that over-simplified the check for a valid obj line +in the PDF file. Use --search-- to reject impossible cases but revert to the +old logic to verify the results. Bug 691502. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2010-08-02T164500.756282Z"></a> +2010-08-02T16:45:00.756282Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a compiler warning about a missing prototype for free() +caused by my previous commit. +</pre> +<p>[base/lib.mak base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T134903.975996Z"></a> +2010-08-02T13:49:03.975996Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix a memory leak. Free the paper name string allocated amd +returned by libpaper. +</pre> +<p>[base/gp_upapr.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T092004.666066Z"></a> +2010-08-02T09:20:04.666066Z Ken Sharp</strong></p> +<blockquote> +<pre> +Missing ';' in r11586 replaced. Should build now.</pre> +<p>[base/gdevpdfx.h]</p> +</blockquote> + +<p><strong><a name="2010-08-02T090647.523074Z"></a> +2010-08-02T09:06:47.523074Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a few minor compiler warnings from gcc. No differences expected. +</pre> +<p>[base/gdevpdfx.h base/gdevpdf.c]</p> +</blockquote> + +<p><strong><a name="2010-08-02T063925.229115Z"></a> +2010-08-02T06:39:25.229115Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Applied patch to fix "imagen" output device (bug 690561). +</pre> +<p>[base/gdevimgn.c]</p> +</blockquote> + +<p><strong><a name="2010-08-01T085915.942136Z"></a> +2010-08-01T08:59:15.942136Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the now redundant --disable-cairo directives. + +</pre> +<p>[toolbin/localcluster/readme toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-07-31T160737.431496Z"></a> +2010-07-31T16:07:37.431496Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the "dead" devcairo device. + +No cluster differences expected. + +Bug 690009 + +</pre> +<p>[ghostscript.vcproj base/configure.ac base/gdevcairo.c base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-31T154539.194094Z"></a> +2010-07-31T15:45:39.194094Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reapply r11570 + +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-31T150424.124204Z"></a> +2010-07-31T15:04:24.124204Z Till Kamppeter</strong></p> +<blockquote> +<pre> +No need to install Resources and iccprofiles if COMPILE_INITS=1 + +When COMPILE_INITS=1, the mentioned directories are not used and just waste +disk space and also confusing. Bug 689253. + +</pre> +<p>[base/unixinst.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-31T003707.940018Z"></a> +2010-07-31T00:37:07.940018Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix the calculation of the size of the pattern bitmap by correcting the +calculation of the effective depth (bits per pixel). PaintType 2 is the +uncolored (mask == 1 bit per pixel) mode, PaintType 1 is colored, thus +needs the full target device color_info.depth bits per pixel. Bug 691514 +detected running the PDF 1.7 FTS for customer 532. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T231352.534878Z"></a> +2010-07-30T23:13:52.534878Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. + +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T213419.596701Z"></a> +2010-07-30T21:34:19.596701Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) + +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T203848.303275Z"></a> +2010-07-30T20:38:48.303275Z Till Kamppeter</strong></p> +<blockquote> +<pre> +configure script: Hide error message when "sed" does not have a "--version" option. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T200921.607711Z"></a> +2010-07-30T20:09:21.607711Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Tips about cross-compiling 64-bit ghostscript on 32-bit windows + +This procedure is slightly simplier(?) than the cross-compiling instruction +which Russell removed with r9807 about a year ago. Note that +ARCH_STRUCT_ALIGN_MOD mentioned in Russell's instruction was removed +r6773 (in 2006) and note also that all the "genconf" references in r9807 +should be "genarch" instead. + +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-30T171523.787490Z"></a> +2010-07-30T17:15:23.787490Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. + +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. + + +</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T171346.325084Z"></a> +2010-07-30T17:13:46.325084Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for double to float conversion warnings. Bug 691498. </pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T170659.251898Z"></a> +2010-07-30T17:06:59.251898Z Henry Stiles</strong></p> +<blockquote> +<pre> +rollback to revision 11564, 11565 broke the build</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c contrib/gdevbjc_.h base/gdevbbox.c base/gxpcolor.h Resource/Init/gs_res.ps Resource/Init/pdf_draw.ps base/gsovrc.h base/gdevpdtf.h base/gsicc_create.c autogen.sh Resource/Init/gs_lev2.ps base/strmio.h base/configure.ac base/gdevrinkj.c base/sjpx.c base/gdevbit.c base/gximage.h base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T142707.462183Z"></a> +2010-07-30T14:27:07.462183Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691488. + +This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470. + +With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp. + + +</pre> +<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T140814.058178Z"></a> +2010-07-30T14:08:14.058178Z Chris Liddell</strong></p> +<blockquote> +<pre> +Copying converted samples to the output raster used the byte +length of the input raster, rather than the byte length of +the converted data. Change to use the correct length. + +Bug 691494 - credit to SaGS for the patch. + +</pre> +<p>[base/gdevdbit.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T135952.334818Z"></a> +2010-07-30T13:59:52.334818Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for double to float conversion warnings. Bug 691498</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T113715.489627Z"></a> +2010-07-30T11:37:15.489627Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463). + +This causes a warning when building with gcc, msvc, and also DEC CC. + +</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T112007.130600Z"></a> +2010-07-30T11:20:07.130600Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Suppressed error message during ./configure if "sed" does not support "--version" (bug 691463) +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111617.321612Z"></a> +2010-07-30T11:16:17.321612Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463) +</pre> +<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111247.691429Z"></a> +2010-07-30T11:12:47.691429Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed unneeded quotes in autogen.sh. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2010-07-30T111035.977735Z"></a> +2010-07-30T11:10:35.977735Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 stdint.h does not exist but the types required by jbig2 are in inttypes.h there (bug 691463). + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T110327.732163Z"></a> +2010-07-30T11:03:27.732163Z Till Kamppeter</strong></p> +<blockquote> +<pre> +On Tru64 the integer types are in inttypes.h and not in stdint.h as in VMS + +Bug 691463, required for jbig2dec. + +</pre> +<p>[base/stdint_.h jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T110025.895059Z"></a> +2010-07-30T11:00:25.895059Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Replace "==" bashism by "=" in configure.ac + +"==" is a bash extension. See bash's manpage recommending "=" for posix +compliance (bug 691463). This causes various tests to fail and resulted +in the link failure from mis-detecting omni. + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T105644.338677Z"></a> +2010-07-30T10:56:44.338677Z Till Kamppeter</strong></p> +<blockquote> +<pre> +'%' in printf() needs to be '%%' + +Tru64 C issues a warning (bug 691463). +</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T105330.576036Z"></a> +2010-07-30T10:53:30.576036Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Removed duplicate AC_PATH_PROG(pkg-config) check in ./configure. + +The extra check caused + +./configure: !: not found + +messages on some platforms. Bug 691463. + +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-30T101447.310782Z"></a> +2010-07-30T10:14:47.310782Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Update documentation as --enable-dynamics is no longer required for "make so" to work. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-30T101041.906626Z"></a> +2010-07-30T10:10:41.906626Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Added some missing initializations in DeviceN + +This should have been part of the DeviceN change. If left unset, +the code path assumes color display and goes down the color display +path and eventually segfaults. Bug 690428. +</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T095623.737093Z"></a> +2010-07-30T09:56:23.737093Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fix time-struct related build failure with SunStudio (bug 691453). + +Apparently many platforms and compilers, including gcc and intel C, +require both <sys/time.h> and <time.h>. This patch just adds Sun Pro C +to the list of such platforms and compilers. + +</pre> +<p>[base/time_.h]</p> +</blockquote> + +<p><strong><a name="2010-07-30T094551.500432Z"></a> +2010-07-30T09:45:51.500432Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Avoid that the x11 output device can create huge windows which crash the X server. Bug 690444. +</pre> +<p>[base/gdevxini.c]</p> +</blockquote> + +<p><strong><a name="2010-07-30T085817.493418Z"></a> +2010-07-30T08:58:17.493418Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Assorted fixes for the modularized X11 output device + +All object files destined for shared libraries needed to be compiled +with -fPIC but this is not the case for gsparamx.c, gdevemap.c, and +gdevxcmp.c which are required by other parts to be built as standard. + +This change makes x11 not depend on gsparamx.c and gdevemap.c (and not +geeting them included in the shared library X11.so). gsparamx.c is +part of psdf and is usually included and available, and gdevemap.c is +small enough to be inserted completely where it is used. + +gdevxcmp.c is addressed by building it with $(GLCCSHARED) and not with +$(GLCC). + +In addition, $(CC_SHARED) is only used for object files, rather than +for linking, so DYNAMIC_CFLAGS is more appropiate here than +DYNAMIC_LDLAGS. + +Bug 691510 + +</pre> +<p>[base/gdevxxf.c base/Makefile.in base/devs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-29T182806.621749Z"></a> +2010-07-29T18:28:06.621749Z Ray Johnston</strong></p> +<blockquote> +<pre> +Add a comment recommending -sstdout=%stderr with -sOutputFile=- to prevent +PostScript files that print from messing up the output. Bug 691507. +</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-29T142919.627579Z"></a> +2010-07-29T14:29:19.627579Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable left over from removal of pattern_cache_alt. + +No expected changes. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-07-29T140539.594612Z"></a> +2010-07-29T14:05:39.594612Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : try not to write out invalid xref + +Exposed by bug #691503. There are circumstances under which we create a reference to a +/Page object which does not yet exist (creating an outline tree for example). In this +case we create a reference to the page, and set its initial offset to the current +position in the PDF file. When we later write the real object we update the position +to reflect the point in the file where it is actually stored. + +However, if we don't actually ever write the object (in the case above, because +LastPage is set before the destination page), then the object remains pointing to the +wrong location in the file. This is then written into the xref table, and this confuses +the current version of Ghostscript. + +The patch creates new pages with an offset of 0 (which is always invalid because the +PDF header means the minimum offset for any object is 15). If the page is later +created then the offset gets updated. If it is not written, however, we now check in +the xref writing code to see if an object has an offset of 0. If it does, then we +break the xref table up and do not write an xref entry for the missing object. + +Ghostscript is happy with this and processes the file. + +NB the proper fix is to not emit the Outline entry for the page which will not be +present in the output, and a patch has been suggested to achieve this. This code has +some uses, however, as it may prevent this kind of problem in the future. It also +permits objects to be created and never referenced (presumably because they are never +used) without leaving invalid entries in the xref, which might be useful. + +No expected differences. +</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2010-07-29T135953.090810Z"></a> +2010-07-29T13:59:53.090810Z Chris Liddell</strong></p> +<blockquote> +<pre> +Two changes for two primarily pdfwrite problems with FAPI/FT. + +The first is to only replace whichever of BuildGlyph or BuildChar +procedures the original font actually contained, replacing both +regardless confused some of "decoding" code elsewhere in GS +(op_show_continue_dispatch()) and we ended up receiving a valid +glyph to render instead of notdef. In this case we ended up incorrectly +stroking a charpath (this was seen with Quark's Type 3 "special effects" +font). With rendering output this resulted in a boldening effect on the glyph, +in pdfwrite, the result was strange extra lines through the glyph. + +The second change is to due pdfwrite's use of a unit matrix for some of +its work. This resulted in small glyph metrics rounding to zero within +Freetype, and pdfwrite thinking a glyph had a width of zero. So make +the scale value at which we consider a glyph to be "small" an order of magnitude +larger, which gets compensated for in the calculation of Freetype's final +matrix. + +Unfortunately this does cause ~2600 differences in the cluster tests: some +are progressions, most are pixel differences due to rounding differences +because the scaling numbers have changed in Freetype. + +Fixes Bug 691383 + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T184446.282683Z"></a> +2010-07-28T18:44:46.282683Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug #691493. Revert some of the work done for gs_2_colors. + +I had needlessly attempted to have 2 pattern_cache's, one for stroking +colors and one for non-stroking colors. Given that the pattern_cache is +indexed by color id number, this is not necessary as all the data can +live happily in just one instance. + +This removes the problem seen in the bug (where it was getting into an +infinite loop trying to populate the cache). + +Local cluster testing shows this produces 57 differences, all (I think) +non-determinisms. + + +</pre> +<p>[base/gsstate.c base/gxistate.h base/gsistate.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T123751.588339Z"></a> +2010-07-28T12:37:51.588339Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device "cups": Improved support for rendering jobs with high memory demands. + +Let Ghostscript determine the memory buffer sizes automatically (as it +does with all the other output devices) if the environment variable +RIP_MAX_CACHE is not set, zero, or does not begin with a number (like +"auto"). If RIP_MAX_CACHE defines a valid value, use the actual value +for BufferSpace and not 1/10 of it. MaxBitmap is the maximum buffer +size to be used when rendering in full page mode, BufferSpace is the +buffer size used in banding mode. Banding mode is used if MaxBitmap is +too small to hold one page. Bug 691499. + +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-07-28T092249.016213Z"></a> +2010-07-28T09:22:49.016213Z Robin Watts</strong></p> +<blockquote> +<pre> +Add new gp_thread_start, gp_thread_finish abstraction, and deprecate old +gs_create_thread function. Adapt multiple rendering thread code to use +this new style instead. Hopefully this should solve the problems seen +in rare cases when a test thread doesn't get scheduled until after the +DLL has exited and the code isn't around any more. + +No expected differences. + +This code has been tested with MSVC and on linux with pthreads. While it +should work with Borland and Watcom (as all the headers appear consistent) +I have not been able to properly test it. Therefore the code is currently +configured to fall back to the old code, thus hopefully guaranteeing that +this commit won't make the operation under Borland/Watcom any worse than +it is now. This fallback is controlled by a single define for each of +these systems in gp_wsync.c, so it's easy to test. If users can report +success with the new code we can remove the fallback trivially. + + +</pre> +<p>[base/gp_wsync.c base/gxclthrd.c base/gp_nsync.c base/gp_psync.c base/gxclthrd.h base/gpsync.h]</p> +</blockquote> + +<p><strong><a name="2010-07-28T073652.403693Z"></a> +2010-07-28T07:36:52.403693Z Ken Sharp</strong></p> +<blockquote> +<pre> +As pointed out by SaGS in Bug #691440, comment 5(C) there was a typo in revision 11498, +a '>>' was accidentally dropped form the batch file. +</pre> +<p>[lib/ps2pdf.bat]</p> +</blockquote> + +<p><strong><a name="2010-07-27T071003.221027Z"></a> +2010-07-27T07:10:03.221027Z Chris Liddell</strong></p> +<blockquote> +<pre> +Add missing free of the new bitmap data. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-27T070247.392994Z"></a> +2010-07-27T07:02:47.392994Z Chris Liddell</strong></p> +<blockquote> +<pre> +Slightly revise comment for why we might need to create a new bitmap +in fapi_finish_render_aux() + +No cluster differences expected. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-26T084833.786696Z"></a> +2010-07-26T08:48:33.786696Z Chris Liddell</strong></p> +<blockquote> +<pre> +A much better solution for Bug 691328. + +The bitmap data coming from a font scaler/renderer may not have its raster +alignment as Ghostscript expects, so in the event that is the case, create +a bitmap which is GS compatible in the FAPI layer, before calling any +further operations on it. + +This reverts the previous "hack" from r11362. + +No cluster differences expected. + +</pre> +<p>[base/gsbitops.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-24T225746.607791Z"></a> +2010-07-24T22:57:46.607791Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Render 3D annotations (using appearance stream) on the printer device even +if Print flag (0x4) is not set. This is done following AR8 and AR9 example +but contrary to PDF 1.7 spec. Bug 691486, customer 532. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-23T200128.232264Z"></a> +2010-07-23T20:01:28.232264Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Make *clean targets remove generated tif*.h files. Bug 691485. +</pre> +<p>[base/gs.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T190145.196186Z"></a> +2010-07-23T19:01:45.196186Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove .dividesfnts procedure, which is not needed by PS interpreter after +the introduction and use of string_array_access_proc() way back in +revision 176. FreeType doesn't require a particular way to split sfnts +either. ps2write includes procedures to create a well formed Type 42 from +a TrueType font. + +The error is caused by .dividesfnts only spliting strings when the split +offset is even. The sample file has a *long* run of cases where the split +offsets are odd. When an even offset is finally found, the number of buffered +bytes exceeds the maximum length of the string causing /rangecheck error. +Thanks to Chris Liddell for the analysis of the problem. +Bug 691473, customer 532. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-23T092028.484085Z"></a> +2010-07-23T09:20:28.484085Z Chris Liddell</strong></p> +<blockquote> +<pre> +Commit the correct change for Bug 691427 + + + +</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T082243.299979Z"></a> +2010-07-23T08:22:43.299979Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change the gsicc* targets from using GCFLAGS to CFLAGS. This ensure that the +options for building .so objects are correct. + +Additionally, add the extra dependencies to the sodebug target so it works +correctly. + +No cluster differences expected. + +Bug 691427 + +</pre> +<p>[base/lib.mak base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-23T025737.996803Z"></a> +2010-07-23T02:57:37.996803Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Handle the case when, contrary to the spec, default viewing optional content +configuration dictionary has /BaseState attribute equal /OFF. Mark all OCGs +/OFF and unmark ON UCGs. Bug 691491, customer 532. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-21T192614.458296Z"></a> +2010-07-21T19:26:14.458296Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691478 + +Note that string objects that are maintained as user params must be either allocated in non-gc memory or be a constant in the executable. The problem stems from the way userparams are retained during garbage collection in a param_list (collected by currentuserparams). For some reason this param_list does not get the pointers to strings relocated during the GC. Note that the param_dict itself is correctly updated by reloc, it is just the pointers to the strings in the param_list that are not traced and updated. In this particular case, ICCProfilesDir sets a string in the icc_manager. When a reclaim occurs, the string is relocated (when in non-gc memory and when it is noted to the gc with the proper object descriptor). Then if a set_icc_directory occurs, the user params pointer has NOT been updated and validation problems will occur. Fix for this was to make the string not known to the GC and to allocate in non-gc memory. When icc manager is deallocated, the string is also deallocated.</pre> +<p>[base/gsicc_manage.c psi/zusparam.c]</p> +</blockquote> + +<p><strong><a name="2010-07-21T000316.900862Z"></a> +2010-07-21T00:03:16.900862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that non-isolated transparency groups are rendered correctly. This fixes a rendering issue with fts_25_2524 and with a few in the test suite. A future optimization will be to avoid the extra buffer push if the blend mode is normal, since in that case we can draw directly into the parent buffer.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-20T094634.095118Z"></a> +2010-07-20T09:46:34.095118Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Add support for user defined huffman table. + +This code adds support for segment type 53 segments, which supplies +inline huffman code table. Bug 689853. + +Many thanks to Justin Greer. + + +</pre> +<p>[jbig2dec/jbig2_segment.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_huffman.h]</p> +</blockquote> + +<p><strong><a name="2010-07-20T082305.218485Z"></a> +2010-07-20T08:23:05.218485Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Catching up to the latest jbig2dec source. + +This includes following jbig2dec git commits: + +commit d26c7e4f39f76fe70cc61d6dc14d05a042a9be48 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Tue Jul 20 08:01:29 2010 +0000 + + Fix jbig2_image_set_pixel function prototype + + The declaration of jbig2_image_set_pixel was differenct between + jbig2_image.h and jbig2_image.c (int value vs bool value). And + prevented compiling it by MSVC comiler in C++ mode. + This patch fixes it. Bug #691461. + +commit c5d61c78c0de785b74b86d4e5298e3cc7b9e2b68 +Author: Masaki Ushizaka <masaki@ghostscript.com> +Date: Fri Jul 16 09:13:41 2010 +0000 + + A little fix to allocating memory size + +commit e12fa07da845515911db8be2f7cfa8ef551061ba +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:49:09 2010 +0200 + + Use the jbig2_new and jbig2_renew macros instead of calling + jbig2_alloc and jbig2_realloc directly. Also adds a few typecasts + and #defines required to compile the source as C++. + +commit 31dd7ef66dbd1c34df08365aa3c36e6391617f37 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:42:38 2010 +0200 + + Update VERSION define in config_win32.h + +commit 941b73315a166fe07e0f1a1b81171477285280f7 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:41:46 2010 +0200 + + Add Makefile.unix -- a simple makefile for unix-like systems. + +commit f6066822041bbffd7169fd4bfc19c48daae8f155 +Author: Tor Andersson <tor.andersson@gmail.com> +Date: Thu Jul 15 00:35:58 2010 +0200 + + Fix memory leak of the word stream struct. + + +No visible difference expected. + + + + +</pre> +<p>[jbig2dec/config_win32.h jbig2dec/jbig2.c jbig2dec/jbig2_image_pbm.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_priv.h jbig2dec/jbig2_image.h jbig2dec/jbig2_refinement.c jbig2dec/jbig2dec.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_halftone.c jbig2dec/Makefile.unix jbig2dec/jbig2_segment.c jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_generic.c jbig2dec/jbig2_page.c]</p> +</blockquote> + +<p><strong><a name="2010-07-20T055604.938511Z"></a> +2010-07-20T05:56:04.938511Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Remove noisy warnings if embedded icc profile is not valid. In those cases, we use the default and move on. </pre> +<p>[psi/zicc.c]</p> +</blockquote> + +<p><strong><a name="2010-07-19T212235.957060Z"></a> +2010-07-19T21:22:35.957060Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug691474. Source of error was due to icc hash code being read from clist after the transfer function. It should have been read prior to the transfer function. This was the first file we have seen that had a soft mask with a transfer function. Also fix for rendering of this file. The softmasks only uses the alpha channel as opposed to the luminosity of the object. Progression with CityMap-evnice.pdf in test suite. That file must have a alpha style softmask.</pre> +<p>[base/gdevp14.c base/gstparam.h]</p> +</blockquote> + +<p><strong><a name="2010-07-19T154536.535276Z"></a> +2010-07-19T15:45:36.535276Z Chris Liddell</strong></p> +<blockquote> +<pre> + +Update trunk to FreeType 2.4.1 + +The important change (from Ghostscript's point of view) is that the previously +patented TrueType hinting operations have been enabled by default after the +expiration of the patents in question. + +This change (the hinting being enabled) causes 3060 non-pdfwrite cluster +changes, and 655 pdfwrite changes - these are expected, and are +progressions. + +</pre> +<p>[freetype/builds/unix/config.sub freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/builds/win32/w32-dev.mk freetype/src/type1/t1objs.h freetype/docs/reference/ft2-gasp_table.html freetype/src/pshinter freetype/docs/INSTALL.CROSS freetype/src freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/builds/win32/win32-def.mk freetype/src/type1 freetype/builds/wince/vc2005-ce freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/docs/reference/ft2-glyph_stroker.html freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/raster/ftrend1.h freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/builds/mac/ftmac.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/builds/amiga/include/freetype freetype/builds/mac/FreeType.m68k_cfm.make.txt freetype/src/psaux/psaux.c freetype/builds/ansi freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/docs/reference/ft2-list_processing.html freetype/include/freetype/ftcache.h freetype/src/pcf/pcfread.h freetype/builds/unix/ft2unix.h freetype/src/raster/Jamfile freetype/builds/atari/FREETYPE.PRJ freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/internal/services/svcid.h freetype/include/freetype/ftincrem.h freetype/src/lzw freetype/builds/compiler/bcc-dev.mk freetype/src/pshinter/pshalgo.h freetype/src/tools/test_afm.c freetype/src/psnames/psnamerr.h freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/vms_make.com freetype/include/freetype/freetype.h freetype/docs/INSTALL.UNIX freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfrload.c freetype/src/pfr/pfr.c freetype/builds/amiga/src freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/builds/detect.mk freetype/src/tools/ftrandom freetype/docs/reference/ft2-cache_subsystem.html freetype/builds/win32/vc2005 freetype/src/type1/t1gload.c freetype/builds/win32/vc2008 freetype/src/base/ftbbox.c freetype/builds/dos freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/docs/reference/ft2-glyph_variants.html freetype/src/bdf/bdferror.h freetype/builds/unix/aclocal.m4 freetype/src/gxvalid/rules.mk freetype/docs/reference/ft2-bdf_fonts.html freetype/src/pcf/pcf.c freetype/src/otvalid/rules.mk freetype/include/freetype/internal/services/svotval.h freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/builds/compiler/win-lcc.mk freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/builds/mac/FreeType.ppc_classic.make.txt freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/docs freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/.gitignore freetype/src/base/ftbase.h freetype/builds/compiler freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/builds/amiga/src/base/ftsystem.c freetype/src/bdf/bdf.h freetype/src/cff/cff.c freetype/src/gxvalid/gxvalid.c freetype/builds/win32/w32-lcc.mk freetype/include/freetype/internal/services freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/docs/reference/ft2-type1_tables.html freetype/src/autofit/afmodule.c freetype/builds/unix/detect.mk freetype/include freetype/src/autofit/afmodule.h freetype/builds/vms freetype/src/pfr/pfrcmap.c freetype/objs/README freetype/builds/dos/dos-wat.mk freetype/builds/exports.mk freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/builds/amiga/smakefile freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/builds/win32/vc2005/freetype.sln freetype/builds/mac freetype/builds/atari freetype/builds/compiler/visualage.mk freetype/builds/newline freetype/builds/vms/ftsystem.c freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/builds/mac/ascii2mpw.py freetype/builds/unix/.gitignore freetype/src/raster/module.mk freetype/src/type1/t1afm.c freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/builds/win32/ftdebug.c freetype/src/tools freetype/src/type1/t1afm.h freetype/src/type1/t1tokens.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/builds/dos/dos-emx.mk freetype/src/pshinter/pshrec.h freetype/src/autofit/autofit.c freetype/builds/win32/w32-wat.mk freetype/builds/wince/vc2008-ce freetype/src/truetype/ttobjs.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/otvalid/otvgsub.c freetype/src/truetype/ttobjs.h freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/builds/win32/visualc/freetype.sln freetype/include/freetype/ftglyph.h freetype/docs/reference/ft2-gx_validation.html freetype/builds/vms/ftconfig.h freetype/builds/win32/vc2005/index.html freetype/builds/unix/unixddef.mk freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/builds/dos/detect.mk freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/builds/wince freetype/src/autofit/aflatin2.h freetype/builds/win32/w32-mingw32.mk freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/builds/link_std.mk freetype/src/cache/ftcglyph.h freetype/src/pshinter/pshinter.c freetype/src/cache/Jamfile freetype/src/tools/test_bbox.c freetype/include/freetype/internal/services/svpsinfo.h freetype/src/type42/t42types.h freetype/builds/os2/os2-dev.mk freetype/builds/mac/ftlib.prj.xml freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/raster/rastpic.h freetype/src/tools/docmaker/docbeauty.py freetype/builds/amiga/include freetype/docs/reference/ft2-incremental.html freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/builds/compiler/watcom.mk freetype/builds/dos/dos-gcc.mk freetype/src/sfnt/module.mk freetype/src/psnames freetype/docs/INSTALL freetype/src/type1/t1load.c freetype/src/gzip/inftrees.c freetype/src/gzip freetype/builds/amiga/src/base/ftdebug.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/gxvalid/gxvfeat.c freetype/src/cff/cfftoken.h freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/builds/wince/vc2008-ce/freetype.sln freetype/src/pfr/pfrsbit.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvfeat.h freetype/builds/unix/configure freetype/docs/reference/ft2-basic_types.html freetype/src/otvalid freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/include/freetype/ftmm.h freetype/builds/symbian/freetype.mmp freetype/src/base/ftglyph.c freetype/src/sfnt freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/sfnt/sfdriver.c freetype/src/psaux/afmparse.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/sfnt/sfdriver.h freetype/src/psaux/afmparse.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/docs/reference/ft2-sfnt_names.html freetype/builds/win32/visualc/freetype.vcproj freetype/builds/atari/deflinejoiner.awk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/winfonts freetype/builds/dos/dos-def.mk freetype/src/pshinter/pshpic.h freetype/builds/win32/w32-gcc.mk freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/raster.txt freetype/builds/atari/FNames.SIC freetype/builds/atari/ATARI.H freetype/src/autofit/afpic.h freetype/src/otvalid/otvgpos.c freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffdrivr.c freetype/docs/reference/ft2-base_interface.html freetype/src/cid/cidriver.c freetype/builds/mac/README freetype/src/otvalid/otvgpos.h freetype/include/freetype/ftgasp.h freetype/builds/unix/unix-cc.in freetype/src/autofit/afindic.c freetype/src/cff/cffdrivr.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/raster freetype/builds/unix/ft-munmap.m4 freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/docs/reference/ft2-index.html freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/builds/os2/detect.mk freetype/src/gzip/zconf.h freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/truetype freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/builds/unix/unix-dev.mk freetype/src/otvalid/otvcommn.c freetype/src/otvalid/otvalid.c freetype/include/freetype/config/ftmodule.h freetype/src/otvalid/otvcommn.h freetype/src/otvalid/otvalid.h freetype/include/freetype/ftxf86.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/builds/win32/vc2008/freetype.sln freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/docs/reference/ft2-gzip.html freetype/builds/compiler/emx.mk freetype/include/freetype/ftstroke.h freetype/builds/unix/unix.mk freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/objs/.gitignore freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/win32/visualce/freetype.dsp freetype/ChangeLog.20 freetype/src/cid/ciderrs.h freetype/src/type42/t42parse.h freetype/ChangeLog.21 freetype/builds/unix/configure.ac freetype/ChangeLog.22 freetype/builds/unix/ftconfig.in freetype/builds/beos freetype/ChangeLog.23 freetype/src/bdf/bdfdrivr.h freetype/builds/win32/visualce/freetype.dsw freetype/include/freetype/tttables.h freetype/docs/reference/ft2-quick_advance.html freetype/builds/unix/freetype2.in freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/gxvalid freetype/docs/reference/ft2-mac_specific.html freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/src/pcf/pcfdrivr.c freetype/include/freetype/internal/ftobjs.h freetype/builds/symbian/bld.inf freetype/src/gxvalid/gxvmort5.c freetype/src/psnames/Jamfile freetype/src/pcf/pcfdrivr.h freetype/builds/unix/ftsystem.c freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/builds/compiler/gcc-dev.mk freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/builds freetype/include/freetype/internal/services/svpostnm.h freetype/builds/unix/mkinstalldirs freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/docs/reference/ft2-truetype_tables.html freetype/builds/compiler/gcc.mk freetype/builds/unix/config.guess freetype/src/otvalid/Jamfile freetype/src/autofit/afloader.c freetype/include/freetype/internal/services/svkern.h freetype/builds/beos/beos-def.mk freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/sfnt/Jamfile freetype/src/psaux/psobjs.c freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/docs/reference/ft2-header_file_macros.html freetype/src/pshinter/pshnterr.h freetype/docs/reference/ft2-ot_validation.html freetype/src/base/ftcalc.c freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/psaux freetype/builds/unix/freetype2.m4 freetype/docs/reference/ft2-outline_processing.html freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/builds/win32/visualc/freetype.dsw freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/type42/rules.mk freetype/src/tools/ftrandom/Makefile freetype/src/pshinter/module.mk freetype/builds/amiga/include/freetype/config/ftmodule.h freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/builds/amiga/makefile.os4 freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/include/freetype/ftoutln.h freetype/src/cff/cffobjs.h freetype/docs/reference/ft2-truetype_engine.html freetype/builds/beos/detect.mk freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/winfonts/rules.mk freetype/src/tools/ftrandom/README freetype/src/pcf freetype/docs/CHANGES freetype freetype/src/base freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/autofit freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/builds/atari/gen-purec-patch.sh freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/docs/reference/ft2-system_interface.html freetype/builds/win32/w32-bcc.mk freetype/src/pcf/README freetype/src/gxvalid/gxvtrak.c freetype/include/freetype/internal/ftdriver.h freetype/objs freetype/include/freetype/ftgzip.h freetype/include/freetype/internal/services/svbdf.h freetype/src/base/ftrfork.c freetype/src/smooth/rules.mk freetype/src/base/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/builds/win32/w32-intl.mk freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/src/type42/type42.c freetype/src/tools/docmaker/sources.py freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/builds/unix/unix-lcc.mk freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/autofit/aflatin.c freetype/src/truetype/ttdriver.h freetype/src/base/ftsnames.c freetype/src/pfr/pfrgload.h freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/builds/unix freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/builds/compiler/intelc.mk freetype/src/base/ftwinfnt.c freetype/src/base/ftsynth.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/lzw/ftlzw.c freetype/src/sfnt/ttbdf.h freetype/builds/win32/vc2008/freetype.vcproj freetype/builds/win32/w32-bccd.mk freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/src/sfnt/ttcmap.c freetype/builds/ansi/ansi.mk freetype/include/freetype/internal/services/svmm.h freetype/src/pfr freetype/builds/compiler/ansi-cc.mk freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/builds/toplevel.mk freetype/src/truetype/tterrors.h freetype/builds/win32 freetype/builds/symbian freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/builds/win32/visualce freetype/include/freetype/internal/pshints.h freetype/builds/amiga freetype/builds/amiga/src/base freetype/builds/win32/w32-icc.mk freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/builds/wince/vc2008-ce/index.html freetype/src/psaux/psauxmod.c freetype/src/pfr/module.mk freetype/src/base/ftcid.c freetype/src/psnames/psmodule.h freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/gzip/inffixed.h freetype/src/bdf freetype/docs/reference/ft2-pfr_fonts.html freetype/src/sfnt/ttcmapc.h freetype/docs/reference freetype/builds/os2/os2-gcc.mk freetype/builds/compiler/bcc.mk freetype/builds/link_dos.mk freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/ftwinfnt.h freetype/builds/unix/freetype-config.in freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/docs/release freetype/include/freetype/ftimage.h freetype/src/lzw/ftzopen.c freetype/src/pfr/pfrobjs.h freetype/src/lzw/Jamfile freetype/src/truetype/truetype.c freetype/Makefile freetype/src/base/fttrigon.c freetype/builds/win32/w32-vcc.mk freetype/src/lzw/ftzopen.h freetype/src/autofit/afhints.c freetype/builds/unix/install.mk freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/builds/atari/README.TXT freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/docs/reference/ft2-version.html freetype/src/smooth/Jamfile freetype/src/tools/docmaker freetype/src/gzip/adler32.c freetype/src/tools/docmaker/.gitignore freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/builds/compiler/unix-lcc.mk freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/wince/ftdebug.c freetype/src/gzip/zutil.c freetype/src/sfnt/sfntpic.c freetype/builds/unix/unix-def.in freetype/src/winfonts/winfnt.h freetype/builds/os2/os2-def.mk freetype/src/smooth/smooth.c freetype/src/gzip/zutil.h freetype/src/sfnt/sfntpic.h freetype/devel freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/docs/reference/ft2-module_management.html freetype/src/gxvalid/gxvmorx4.c freetype/include/freetype/internal/pcftypes.h freetype/src/pfr/pfrerror.h freetype/src/smooth/ftgrays.h freetype/src/winfonts/Jamfile freetype/builds/beos/beos.mk freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/include/freetype/config freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-font_formats.html freetype/src/otvalid/module.mk freetype/include/freetype/internal/services/svpscmap.h freetype/ChangeLog freetype/include/freetype/fttrigon.h freetype/builds/win32/visualc freetype/src/cache/ftcmanag.c freetype/docs/FTL.TXT freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/builds/mac/FreeType.ppc_carbon.make.txt freetype/builds/wince/vc2005-ce/freetype.sln freetype/docs/reference/ft2-sizes_management.html freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/cff freetype/include/freetype/internal/services/svtteng.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/builds/modules.mk freetype/src/smooth freetype/docs/reference/ft2-bitmap_handling.html freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/builds/freetype.mk freetype/include/freetype/internal/ftpic.h freetype/src/type42 freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/builds/unix/install-sh freetype/src/psnames/psnames.c freetype/builds/os2 freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/cache freetype/src/smooth/ftsmerrs.h freetype/src/type42/t42objs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/builds/amiga/include/freetype/config/ftconfig.h freetype/src/psaux/t1decode.c freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/builds/ansi/ansi-def.mk freetype/src/otvalid/otvjstf.c freetype/src/type42/module.mk freetype/src/cff/cffgload.c freetype/src/autofit/aferrors.h freetype/src/gxvalid/gxvlcar.c freetype/builds/amiga/makefile freetype/include/freetype/internal/services/svsfnt.h freetype/src/bdf/README freetype/src/base/ftinit.c freetype/src/cff/cffgload.h freetype/src/cache/ftccback.h freetype/include/freetype/internal freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/docs/reference/ft2-lzw.html freetype/src/tools/Jamfile freetype/builds/win32/detect.mk freetype/builds/unix/ltmain.sh freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/gxvalid/gxvcommn.c freetype/src/cff/cffload.c freetype/include/freetype freetype/src/autofit/afangles.h freetype/builds/compiler/visualc.mk freetype/src/gxvalid/gxvcommn.h freetype/src/cff/cffload.h freetype/builds/mac/FreeType.m68k_far.make.txt freetype/builds/amiga/include/freetype/config freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cid freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/builds/amiga/README freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> + +<p><strong><a name="2010-07-18T053008.091459Z"></a> +2010-07-18T05:30:08.091459Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Implement halftones type 6, 10, 16 in PDF interpreter. +Use default halftone when the halftone type is incorrect. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-18T000337.786299Z"></a> +2010-07-18T00:03:37.786299Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Recognize enumerated color space #12 as CMYK following JPX baseline spec. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-17T212339.853613Z"></a> +2010-07-17T21:23:39.853613Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Re-implement handling of named page sizes to avoid dependence on +the definitions of compatibility operators (a4, letter, etc.) +in userdict. Bug 691458. +</pre> +<p>[Resource/Init/gs_init.ps Resource/Init/gs_setpd.ps Resource/Init/gs_statd.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-17T000709.985181Z"></a> +2010-07-17T00:07:09.985181Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove unused variables CC_D and CC_INT from all makefiles. +</pre> +<p>[psi/os2.mak base/unixhead.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/msvccmd.mak base/wccommon.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-16T204049.337914Z"></a> +2010-07-16T20:40:49.337914Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix the bug that prevented recognition of GenericResourceDir/Category/Name +as a valid resource path and required inclusion of GenericResourceDir in +the search path to find the same resource by searching. + +New procedure does the following: +1. Returns GenericResourceDir/Category/Name if it exists. +2. Searches for Category/Name in LIBPATH. Returns actual path if found. +3. For non-existing resources return the same path as (1). + +Old implementation added GenericResourceDir twice, didn't close files, +used system memory, called expensive procedures twice, etc. + +Regression testing shows trivial differences in 23-07.ps, which prints +the length of ResourceFileName procedure. +This is a partial fix for bug 691408. +</pre> +<p>[Resource/Init/gs_res.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-16T195803.971410Z"></a> +2010-07-16T19:58:03.971410Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Prepend icc directory to device profile name if the default name is used so that we have it during clist reading. This is a fix for the iccprofiles/ problem in 691408 when compile inits is not used. Also, fix so that the profile name is allocated in non-gc memory. This was a source of issues with the userparams dict not seeming to be traced or at least not getting its members relocated if a profile in the icc manager was relocated. This fixes the breaking of the psdcmyk device in rev 11499. Also removal of spurious warning messages.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-07-15T204206.487509Z"></a> +2010-07-15T20:42:06.487509Z Ray Johnston</strong></p> +<blockquote> +<pre> +Change pdf14_put_image so that the gx_default_begin_typed_image will +be able to call the device's 'begin_image' which is often hooked for +device specific (hardware accelerated) image rendering. This avoids +the default image rendering which results in LOTS of fill_rectangle +calls. Found with customer 532. +</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-15T192838.670595Z"></a> +2010-07-15T19:28:38.670595Z Ray Johnston</strong></p> +<blockquote> +<pre> +The other half of the version.mak change. +</pre> +<p>[Resource/Init/gs_init.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-15T181417.190964Z"></a> +2010-07-15T18:14:17.190964Z Ray Johnston</strong></p> +<blockquote> +<pre> +Update version to 9.00 PRE-RELEASE (with a bogus date, but before Aug 1) +This will serve to notify folks what the next release will be (not 8.72) +</pre> +<p>[base/version.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-15T144939.770856Z"></a> +2010-07-15T14:49:39.770856Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Improve Ghostscript operation when current directory is not included in the +search path. +1. Make file path separators at the end of LIBPATH entries optional to reduce + the number of trivial configuration errors. +2. Search LIBPATH list for valid iccprofiles/ directory as a sibling to + (Resource) and set it as a default to ensure a valid default. + This code follows /GenericResourceDir example. +3. Make sure that the path name derived from /GenericFontDir is is not + searched but other font file names are searched. Earlier code relied on + a feature of .libfile not searching for an absolute path and failed + when the path was relative. +Partial fix for bugs 691350, 691408. +</pre> +<p>[Resource/Init/gs_lev2.ps Resource/Init/gs_fonts.ps Resource/Init/gs_res.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-15T054255.376283Z"></a> +2010-07-15T05:42:55.376283Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add copying default ICC profiles to disk-install location. This is necessary +for the builds with COMPILE_INITS=0, which looks for ICC profiles on disk. +Thanks to Hin-Tak for the patch. Bug 691449. +</pre> +<p>[base/unixinst.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-14T212533.726848Z"></a> +2010-07-14T21:25:33.726848Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Allow the CUPS Raster backend alternatively output compressed (version 2) CUPS Raster data (bug #689885). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T183029.088597Z"></a> +2010-07-13T18:30:29.088597Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure the local variable into which we read Truetype cmap table data (platform ID, encoding ID etc) is actually large enough to hold all the data we read into it. + +Bug 691452 (part 1) + +No cluster differences expected.</pre> +<p>[base/gsfcid2.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T082456.010563Z"></a> +2010-07-13T08:24:56.010563Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the documentation on producing PDF/X to make it clear that -sProcessColorModel +is an absolute requirement, even when using -dUseCIEColor, and that the PDFA_def.ps +file must be edited, at the very least to alter the ICCProfile entry. + +Also made some minor syntax changes in PDF/A and PDF/X documentation for greater clarity. +</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-07-13T070459.625768Z"></a> +2010-07-13T07:04:59.625768Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691444. Issue was introduced when interpolation max output range was set to be 65535 so that the output could be fed directly into CMM. Problem was for HT output devices like pbmraw the interpolation filter ignored the max range setting and used a max value of the frac range as output. This fixes a number of files that had regressions. Files checked with bmpcmp.</pre> +<p>[base/sidscale.c]</p> +</blockquote> + +<p><strong><a name="2010-07-13T012010.578834Z"></a> +2010-07-13T01:20:10.578834Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug 691445. pdf14 mapping procs were not paying attention to the trans device in the imager state. bmpcmp showed that this fixed several files.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-07-12T150357.186505Z"></a> +2010-07-12T15:03:57.186505Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the event the FAPI code has to replace the FontBBox array, make sure the new array is marked executable. + +No cluster differences expected.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-07-11T152614.804339Z"></a> +2010-07-11T15:26:14.804339Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for overprint regressions introduced with icc branch merge. Review of bmp compares reveals that this fixes a number of issues hence the large number of differences with the commit. There is one regression introduced with this commit, which is IA3Z0302.pdf.pdf.pkmraw.300 page 2 a bug will be opened for this. Also, review of Atona_Technical_1v1_x3.pdf.pam.72 reveals there some overprint issues may still exist with bitmap and halftone image overprinting on top of spotcolors when Overprint is true and and Overprint mode is set to On. This issue may have existed prior to the icc commit. Will open a bug to investigate.</pre> +<p>[base/gsicc_create.c base/gxcspace.h base/gscspace.c base/gsicc.c]</p> +</blockquote> + +<p><strong><a name="2010-07-10T012854.795367Z"></a> +2010-07-10T01:28:54.795367Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix 'status' operator to return false when the IODevice prefix is +not found instead of undefinedfilename. Found while working on 691408. +</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-07-09T183119.790276Z"></a> +2010-07-09T18:31:19.790276Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix to use stable memory for profiledir in icc_manager structure and change +all 'current_' functions to return the actual value set, the default, or +an empty string if no default. Also set the default ICCProfilesDir to +%rom%iccprofiles which will work if COMPILE_INITS=1. This should also be +set by the PS init code (see bug 691408). +</pre> +<p>[psi/zusparam.c]</p> +</blockquote> + +<p><strong><a name="2010-07-09T094017.170342Z"></a> +2010-07-09T09:40:17.170342Z Ken Sharp</strong></p> +<blockquote> +<pre> +Improve Windows batch files. +Bug #691440 "Windows bat files use relative paths and write to non-temp dir" + +As suggested by Bjorn Martensson in bug #691440. Altered all batch files which call +other batch files so that they prepend the call with the location the original +batch file was executed from. This allows batch files such as ps2pdf.bat to be called +from locations other than the Ghostscript 'lib' directory. + +Also altered the location of temporary files created by the batch files to the Windows +temporary folder by using the %TEMP% environment variable. If this variable is not set +for some reason then this will still default to the current directory, as it does now. +This allows batch files to be run from directories which are read only. + +Since these files are not used by our (Linux) cluster there will be no differences. I +have tested a number of the scripts, but not all of them. The ones I have tested seem +to work well. + +I finally found a reference which states that the %~d batch parameter was introduced +to Windows in NT4, this means that these batch files will likely fail on older versions +of Windows (ie Windows 3.x/95/98). I don't believe we need to support such antiquated +Operating Systems any further.</pre> +<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat toolbin/msvcxml.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/gslp.bat lib/lpgs.bat lib/ps2ps.bat lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-07-08T200159.912724Z"></a> +2010-07-08T20:01:59.912724Z Robin Watts</strong></p> +<blockquote> +<pre> +Extend the experimental ENABLE_TRAP_AMALGAMATION code to the +TEMPLATE_slant_into_trapezoids cases too. The current code generates 3 +trapezoids; the new code will (if the option is enabled) attempt to +amalgamate the top/bottom traps into the middle one. + +Enabling this code (but disabling the existing code for trap amalgamation) +shows no differences. Enabling all the trap amalgamation code shows 888 +differences, all fairly innocuous. + +As this code is going in disabled, no cluster differences are expected. + +</pre> +<p>[base/gxfillts.h base/gxfill.c]</p> +</blockquote> + +<p><strong><a name="2010-07-08T162020.892723Z"></a> +2010-07-08T16:20:20.892723Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update the Ghostscript man page to reflect the new default for -P option +made by the rev. 11494. +</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2010-07-07T212755.422122Z"></a> +2010-07-07T21:27:55.422122Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +clusterpush.pl with no options now tests language_switch build as well as gs, pcl, and xps. + +Also some minor documentation improvements. +</pre> +<p>[toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-07-07T174709.812924Z"></a> +2010-07-07T17:47:09.812924Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Dont't search for initialization files in the current directory first +by default because this leads to well-known security and confusion problems. +Do this only on the user's request by -P switch. Also revert rev. 11468, +which is no longer needed. Bug 691350. +</pre> +<p>[base/openvms.mmk psi/zfile.c doc/Use.htm base/bcwin32.mak base/ugcclib.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak toolbin/msvcxml.bat psi/os2.mak base/watclib.mak base/openvms.mak base/macosx.mak base/watcw32.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-07T134957.894248Z"></a> +2010-07-07T13:49:57.894248Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix : temporary memory device not finalized. + +clist_init_data creates a temporary memory device in order to "get the memory planarity +set up", using a local variable to hold the device. When the function exits the +variable goes out of scope and disappears. + +Because the memory device is a forwarding device it increments the reference count of +its target, but because it is never finalized it does not decrement the reference count +when it is destroyed, leading to an incorrect target reference count. + +This only affects pdfwrite at present, but it prevents valid PDF files being written +because the file is only terminated when the pdfwrite device reference count reaches +0 and the pdfwrite device is closed. + +Added calls to finalize the device before discarding it. + +No expected differences. +</pre> +<p>[base/gxclist.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T222732.077335Z"></a> +2010-07-06T22:27:32.077335Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Increase the max number of color components to 14 to accomodate a new +record (13) found in the wild. Bug 691425. +</pre> +<p>[base/gsccolor.h]</p> +</blockquote> + +<p><strong><a name="2010-07-06T092540.558632Z"></a> +2010-07-06T09:25:40.558632Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : Named destinations with no /Page not working properly + +Bug #691344 "REGRESSION: ps2pdf of 8.70 generates correct hyperlinks but not ps2pdf of +8.71" + +The revisions 9779 and 9788 fixed a problem where DOCVIEW pdfmarks without a /Page or +/View entry were producing invalid PDF files, and a problem with DEST pdfmarks arising +from it. + +Because DOCVIEW and DEST pdfmarks share some common code in pdfwrite to create a +Destination annotation in the outptu PDF, this still left some confusion in the code. +The problem was that DOCVIEW pdfmarks need not contain Page or View data, but named +destinations *must*, but pdfmarks need not specify, in which case the current page is +used. + +Added a parameter to pdf_make_dest which allows us to differentiate the two cases and +use the current page number for a named destination if no page is supplied. + +The regression suite can't test this non-printing feature, so no differences are +expected. +</pre> +<p>[base/gdevpdfm.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T070453.806003Z"></a> +2010-07-06T07:04:53.806003Z Ken Sharp</strong></p> +<blockquote> +<pre> +Improve handling an error condition as suggested by Alex Cherepanov in Bug #691435, +comment 9. </pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-06T001144.270183Z"></a> +2010-07-06T00:11:44.270183Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix BAND_LIST_STORAGE=memory to handle files that create compressed memory +files > 2Gb. Also add code to make the reporting of these file sizes a bit +better, but portability may still be an issue. Reference Bug 690199 for +customers 850 and 531. + +</pre> +<p>[base/gxclmem.c base/gxclist.c]</p> +</blockquote> + +<p><strong><a name="2010-07-05T235146.696108Z"></a> +2010-07-05T23:51:46.696108Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Replace all '==' executable names with '//== exec' in Ghostscript start-up +code because MS driver redefines '==' in a way that requires write access to +the top dictionary, and this is not always the case. Bug 689957. +</pre> +<p>[Resource/Init/gs_cmap.ps Resource/Init/gs_pdfwr.ps Resource/Init/pdf_main.ps Resource/Init/gs_resmp.ps Resource/Init/pdf_font.ps Resource/Init/gs_fonts.ps Resource/Init/pdf_base.ps Resource/Init/pdf_sec.ps Resource/Init/gs_ttf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_cff.ps Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-05T161838.343520Z"></a> +2010-07-05T16:18:38.343520Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Set svn:ignore property for all remaining generated files in jasper, +jbig2dec, and tiff directories. +</pre> +<p>[tiff/contrib/iptcutil tiff/contrib/tags tiff/build tiff/tools tiff tiff/contrib tiff/contrib/mac-mpw tiff/contrib/acorn tiff/html jasper/src/libjasper/include/jasper tiff/contrib/mac-cw tiff/contrib/dbs tiff/html/images tiff/man tiff/contrib/win_dib tiff/html/man tiff/libtiff tiff/test tiff/contrib/addtiffo jbig2dec tiff/port tiff/contrib/ras tiff/contrib/mfs tiff/contrib/pds tiff/contrib/dbs/xtiff tiff/contrib/stream]</p> +</blockquote> + +<p><strong><a name="2010-07-05T151009.278642Z"></a> +2010-07-05T15:10:09.278642Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add a pair of parentheses to silence a gcc compiler warning. Also extend the comment +slightly to be a little more informative. + +No differences expected. +</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-05T051316.304757Z"></a> +2010-07-05T05:13:16.304757Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use the presence of /CIDSystemInfo instead of /Subtype value to decide +whether the object is a CID font. The former is required by Acrobat, the +latter appears to be ignored by Acrobat, and so may be wrong. Bug 691426. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-07-05T012343.139942Z"></a> +2010-07-05T01:23:43.139942Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +test for emptiness of HAVE_FONTCONFIG is better than non-yes-ness of enable_fontconfig; fine-tuning of r11448 to --disable-cairo when fontconfig is not available or user-disabled</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-07-05T011830.861454Z"></a> +2010-07-05T01:18:30.861454Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +new/renamed documentation file libpng-1.2.44.txt missed in r11482 for libpng 1.2.42->1.2.44 upgrade</pre> +<p>[libpng/libpng-1.2.44.txt]</p> +</blockquote> + +<p><strong><a name="2010-07-04T190417.740307Z"></a> +2010-07-04T19:04:17.740307Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Reaplly Hin-Tak's patch, rev. 11453, which was rolled back by the rev. 11462. +Apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug +fixes - CVE-2010-1205. Bug 691438. +</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/projects/wince.txt libpng/libpng.3 libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-07-03T002940.754683Z"></a> +2010-07-03T00:29:40.754683Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +missed linker defines needed to build under 64-bit windows in a previous commit r11388 for bug 691302</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-01T215829.492747Z"></a> +2010-07-01T21:58:29.492747Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Bubble up of error when allocation of default profile cmm handle fails. Fix for bug 691429</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T211355.381754Z"></a> +2010-07-01T21:13:55.381754Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert r11469(r11455) - wrong fix to bug 690428</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T190829.177579Z"></a> +2010-07-01T19:08:29.177579Z Ken Sharp</strong></p> +<blockquote> +<pre> +Enhancement (pdfwrite) : Fall back to Flate instead of JPEG when an image turns out +short. + +Bug #691435 "any PDFSETTINGS besides /default gives dictfull error" + +There are two problems; firstly when an error is encountered closing a filter the +error code (-1 or -2 usually) is returned and interpreted as a regular GS error, +resulting in ridiculous error messages. Modified to return ioerror instead. + +Secondly, when an image terminates with insufficient data and pdfwrite is creating a +DCT encoded image, we can't complete the image. In this case try to fall back to the +simple Flate compressed stream instead. + +No differences expected. +</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T171423.564053Z"></a> +2010-07-01T17:14:23.564053Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691431. This was caused by a PS CIE color space being used for a transparency group color space. That really should not be allowed since those color spaces are unidirectional. They are installed though when -dUseCIEColor is used with a PDF file that has transparency. Solution is to use the default ICC profiles for the group color space when this occurs.</pre> +<p>[base/gstrans.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T121920.914734Z"></a> +2010-07-01T12:19:20.914734Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert revision 11472 as it breaks almost every file in the cluster tests, +and it's preventing other meaningful work being done. + +</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T004157.037474Z"></a> +2010-07-01T00:41:57.037474Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11457</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> + +<p><strong><a name="2010-07-01T004043.889090Z"></a> +2010-07-01T00:40:43.889090Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11456</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-07-01T003616.428446Z"></a> +2010-07-01T00:36:16.428446Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply 11454 for outdated config.guess config.sub. see original commit log</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-07-01T003305.624689Z"></a> +2010-07-01T00:33:05.624689Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo that causes linker error if one does not do make clean between builds</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-07-01T000022.982087Z"></a> +2010-07-01T00:00:22.982087Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +reapply r11455 - see original commit log for details</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-06-30T233411.835858Z"></a> +2010-06-30T23:34:11.835858Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +security patch from Werner Fink, to disable loading init files from group/world-writable directories - bug 691350</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-06-30T221202.295636Z"></a> +2010-06-30T22:12:02.295636Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Initialize profile member variables that are part of serialization. Fix for Bug 691433 + + +</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T180629.735123Z"></a> +2010-06-29T18:06:29.735123Z Henry Stiles</strong></p> +<blockquote> +<pre> +remove obsolete clusterpush scripts. +</pre> +<p>[/trunk/ghostpdl/tools/clusterpush.sh toolbin/clusterpush.sh]</p> +</blockquote> + +<p><strong><a name="2010-06-29T171745.269232Z"></a> +2010-06-29T17:17:45.269232Z Henry Stiles</strong></p> +<blockquote> +<pre> +revert back to 11450. +</pre> +<p>[/trunk/ghostpdl/main/pcl6_gcc.mak libpng/pngrtran.c libpng/scripts/makefile.gcmmx base/ugcclib.mak libpng/contrib/pngminim/encoder/gather.sh /trunk/ghostpdl/xps/xpspath.c base/unix-gcc.mak libpng/scripts/makefile.sgi base/gp_unifn.c base/macos-mcp.mak libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc /trunk/ghostpdl/main/pcl6_msvc.mak libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def base/macosx.mak libpng/scripts/makefile.nommx libpng/scripts/makefile.linux jpeg/config.guess base/unixansi.mak libpng/pngmem.c base/msvclib.mak libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu jpeg/config.sub libpng/scripts/libpng-config-head.in libpng/scripts/makefile.elf libpng/png.h base/lib.mak libpng/CMakeLists.txt libpng/pngrio.c libpng/Y2KINFO libpng/pngpread.c libpng/scripts/makefile.netbsd /trunk/ghostpdl/xps/xps_msvc.mak libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc /trunk/ghostpdl/xps/xpsglyphs.c libpng/README doc/Make.htm libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 /trunk/ghostpdl/language_switch/pspcl6_msvc.mak libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/libpng-1.2.44.txt libpng/scripts/makefile.solaris base/Makefile.in libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh /trunk/ghostpdl/xps/xpstile.c /trunk/ghostpdl/xps/xpsgradient.c libpng/scripts/makefile.hp64 base/gs_dll_call.h libpng/scripts/makefile.aix libpng/scripts/makefile.mingw libpng/scripts/png32ce.def /trunk/ghostpdl/common/msvc_top.mak libpng/scripts/makefile.beos base/watclib.mak /trunk/ghostpdl/xps/xpsopacity.c libpng/scripts/makefile.ne12bsd libpng/pngread.c /trunk/ghostpdl/xps/xpspage.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/example.c libpng/projects/wince.txt base/bcwin32.mak libpng/scripts/makefile.so9 libpng/pngconf.h libpng/pngwrite.c libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c base/openvms.mak base/gdevxcmp.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec base/watcw32.mak base/unix-dll.mak libpng/scripts/README.txt libpng/scripts/makefile.cygwin psi/msvc32.mak libpng/pngtest.c libpng/ANNOUNCE /trunk/ghostpdl/xps/xpsimage.c libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070829.009258Z"></a> +2010-06-29T07:08:29.009258Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +more cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub) ; this one depends on features of GNU make, so it is added as comments to avoid breaking build with non-GNU make</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070545.877229Z"></a> +2010-06-29T07:05:45.877229Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +avoid re-define _Windows if it is already defined; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gs_dll_call.h]</p> +</blockquote> + +<p><strong><a name="2010-06-29T070425.796552Z"></a> +2010-06-29T07:04:25.796552Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +cygwin is one platform which uses the unix file name interface but is sensitive to binary/text mode; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre> +<p>[base/gp_unifn.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T064759.438186Z"></a> +2010-06-29T06:47:59.438186Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +gx_device_has_color() was changed 8 years ago in the deviceN commit (r2925), +from just color_info.numcomponents > 1 to +|| (dev)->color_info.gray_index == GX_CINFO_COMP_NO_INDEX . + +This has some unfortunate side-effect for continuous tone gray devices which +doesn't support transparency, such as a 8-bit gray X11 display, which goes +down the wrong code path. These are quite rare so it took 7 years for the bug +(bug 690428) to be seen. + +</pre> +<p>[base/gdevxcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T060526.121392Z"></a> +2010-06-29T06:05:26.121392Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating jpeg config.sub config.guess to that from libpng 1.2.44; bug 690486</pre> +<p>[jpeg/config.guess jpeg/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-06-29T053019.407679Z"></a> +2010-06-29T05:30:19.407679Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug fixes - CVE-2010-1205</pre> +<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/libpng-1.2.44.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/projects/wince.txt libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p> +</blockquote> + +<p><strong><a name="2010-06-29T052507.282125Z"></a> +2010-06-29T05:25:07.282125Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +change documentation as --enable-dynamics is no longer required for "make so" to work</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-29T052009.043972Z"></a> +2010-06-29T05:20:09.043972Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split lcms code build into arch-specific targets; try to make both windows inline assembly and unix "make so" work simultaneously; bug 691427</pre> +<p>[base/watclib.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/ugcclib.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/msvclib.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T051638.524502Z"></a> +2010-06-29T05:16:38.524502Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +move the DYNAMIC_* defines out of the --enable-dynamic condition so that it applies generally; try to "make so" work with just ./configure ; many bugs ask for make so to work</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T043410.440639Z"></a> +2010-06-29T04:34:10.440639Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +switch autoconf png test away from testing for a soon-to-be-obsolete routine to one we actually use, to smooth over the libpng 1.2.x to 1.4.x transition; bug 691111</pre> +<p>[jbig2dec/configure.ac base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T041547.742872Z"></a> +2010-06-29T04:15:47.742872Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make --disable-fontconfig imples --disable-cairo; bug 690690</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T040453.158322Z"></a> +2010-06-29T04:04:53.158322Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +tries to remove empty *obj/*bin directories when invoking "make distclean"; bug 690871</pre> +<p>[base/unix-end.mak base/Makefile.in base/unix-dll.mak base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034817.519902Z"></a> +2010-06-29T03:48:17.519902Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +check for GNU sed and switch to alternative sed options if sed is non-GNU; bug 691292</pre> +<p>[cups/pstopxl.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034430.895095Z"></a> +2010-06-29T03:44:30.895095Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 2 of update (new files) posted to 687983, corrected for current svn HEAD.</pre> +<p>[contrib/pscolor/black.pdf contrib/pscolor/color.pdf contrib/pscolor/colorsplit.vcproj contrib/pscolor/black.ps contrib/pscolor/color.ps contrib/pscolor/common.mak contrib/pscolor/input.ps contrib/pscolor/windows.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-29T034118.718227Z"></a> +2010-06-29T03:41:18.718227Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Part 1 of the update (modifications to checked-in files) +to the pscolor code posted in 687983, corrected for current svn head. + +</pre> +<p>[contrib/pscolor/Makefile contrib/pscolor/test.c contrib/pscolor/instream.yy]</p> +</blockquote> + +<p><strong><a name="2010-06-29T033846.508455Z"></a> +2010-06-29T03:38:46.508455Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +ijs communication should be all binary; left-over uncommitted patch from past ijs-related work</pre> +<p>[ijs/ijs_server_example.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T033445.878285Z"></a> +2010-06-29T03:34:45.878285Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +implements ./configure --with-ufst=UFST_ROOT_DIR ; bug 691293</pre> +<p>[doc/Make.htm base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-29T023238.254860Z"></a> +2010-06-29T02:32:38.254860Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of static prototype that has no function.</pre> +<p>[base/gsicc_cache.c]</p> +</blockquote> + +<p><strong><a name="2010-06-29T005032.521441Z"></a> +2010-06-29T00:50:32.521441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix lack of end-of-line in file.</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T150431.998704Z"></a> +2010-06-28T15:04:31.998704Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix a typo, thanks to Ken for spotting this in review. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T105053.201708Z"></a> +2010-06-28T10:50:53.201708Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Warnings of problems within lcms only occur now in debug mode. Fix for Bug 691401</pre> +<p>[base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-28T051659.820980Z"></a> +2010-06-28T05:16:59.820980Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Interface with lcms so that the memory allocators make use of ghostscript's allocator. This required fixing a few bugs in littlecms where he was using free instead of _cmsFree and also having lcms.h provide the prototypes if the external mem alloc is defined. Performed cluster push with no problem. Thanks to Henry for helping me track down a 64 bit issue.</pre> +<p>[lcms/include/lcms.h base/lib.mak lcms/src/cmslut.c base/lcms.mak lcms/src/cmsio1.c base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-26T200613.718954Z"></a> +2010-06-26T20:06:13.718954Z Henry Stiles</strong></p> +<blockquote> +<pre> +The ad hoc gstate setup for patterns should not call grestore after +gsave when erasing colored patterns because it results in +"wraparound", creating another gstate (no saved gstate exists when the +pattern is painted), see gsstate.c:gs_grestore() vs +gsstate.c:gs_grestore_only(). Thanks to Ken Sharp for noticing the the +extra gstate. No expected differences. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-26T175906.494303Z"></a> +2010-06-26T17:59:06.494303Z Henry Stiles</strong></p> +<blockquote> +<pre> +This file should have been checked in with revision 11433 which will +not compile without this change. +</pre> +<p>[base/gdevpxat.h]</p> +</blockquote> + +<p><strong><a name="2010-06-25T120050.643763Z"></a> +2010-06-25T12:00:50.643763Z Chris Liddell</strong></p> +<blockquote> +<pre> +Provide more robust behaviour when FT fails to render a glyph. Inistead of silently continuing when FT errors on a glyph, we'll now attempt to use the notdef, if the notdef triggers an error, we signal the error to the GS world. This ensures that any time we expect processing to continue there is valid glyph information available to the cache and other downstream devices. + +This causes one regression difference with 34_all.PS, where an extra TTF notdef is rendered. + +Bug 691416</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-24T071111.011423Z"></a> +2010-06-24T07:11:11.011423Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove a couple of currently unused variables to silence a harmless compiler warning. +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T171440.891928Z"></a> +2010-06-23T17:14:40.891928Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify and fix the implementation of operator --mul--, which mishandled +some cases like "16#80000000 -1 mul". Bug 691412. +</pre> +<p>[psi/zarith.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T155639.786311Z"></a> +2010-06-23T15:56:39.786311Z Ken Sharp</strong></p> +<blockquote> +<pre> +This patch adds limited support for TrueType collection fonts to pdfwrite and ps2write. + +In the PostScript world TTC fonts are never passed down to pdfwrite, we only ever see +TrueType fonts. XPS, however, can pass back TrueType collection SNFTS data. This patch +uses the first font from the TrueType collection and writes that to the output file. +This may be too limited and may require further work in future. + +</pre> +<p>[base/gdevpsft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T143308.852324Z"></a> +2010-06-23T14:33:08.852324Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug691415. When equivalent ICC profile is already created we should just use it. Thanks to Ken for getting the details together.</pre> +<p>[base/gscsepr.c]</p> +</blockquote> + +<p><strong><a name="2010-06-23T050213.734047Z"></a> +2010-06-23T05:02:13.734047Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for 691359. Problem tracked down by Alex. + +What lcms is trying to do is to figure out the best prelinearization for the incoming data prior to doing the CLUT interpolation. In the case when the input is RGB based and the output Gray, lcms was using uninitialized data in constructing is prelinearization. + +Tangentially related, there could still be problems with what lcms is doing here if the number of Input channels is 1 and the number of Output channels is 3. In that case, it is possible (but not likely) that I could have radically different gamma behavior in each of the RGB channels. Trans in such a case would be constructed based upon only one curve based on the red channel. In the real world, this is probably not a problem but ideally it would be optimal to use something that provides the best prelinearization in all three channels. That is an optimization for Marti to do and perhaps is already in lcms2.</pre> +<p>[lcms/src/cmsgmt.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T145459.999510Z"></a> +2010-06-22T14:54:59.999510Z Henry Stiles</strong></p> +<blockquote> +<pre> +Erase patterns with the color white instead of filling the pattern +bitmap with 0 or 255. + +Previously the initialization was only used when anti aliasing was +enabled, now initial erasing is done for all colored patterns, +eliminating a long standing UMR in the pcl code where the pattern was +combined with the destination/source with indeterminate results. The +UMR manifested in frequent regression reports in the pcl tests +(c321.bin for example), these reports should go away with this change, +though (NB) the change only masks the underlying issue. + +</pre> +<p>[psi/zpcolor.c base/gxpcmap.c base/gxpcolor.h]</p> +</blockquote> + +<p><strong><a name="2010-06-22T061254.377174Z"></a> +2010-06-22T06:12:54.377174Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fix for bug 689836 and 691248. + +Bug 689836 - Huffman tables with only positive values are decoded incorrectly +Bug 691248 - jbig2dec doesn't handle 042_11 (Huffman Symbol Region) + +This patch fixes mulfunctions seen on standard huffman table K, L, M and N. +A difference will be seen on tests_private/comparefiles/Bug690360.pdf. +This file was affected by table K mulfunction and this is a improvement. + +</pre> +<p>[jbig2dec/jbig2_hufftab.h]</p> +</blockquote> + +<p><strong><a name="2010-06-22T060012.605983Z"></a> +2010-06-22T06:00:12.605983Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Revert rev. 7964 and use a different approach: allocate all structures +and proceed with their initialization only if all allocations were +successful. Fix memory corruption that happens at the PostScript +stack overflow. Bug 691295. +</pre> +<p>[psi/idosave.h psi/ialloc.c psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T055923.952778Z"></a> +2010-06-22T05:59:23.952778Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Added test code for every line of each standard huffman tables. + +</pre> +<p>[jbig2dec/jbig2_huffman.c]</p> +</blockquote> + +<p><strong><a name="2010-06-22T051553.089456Z"></a> +2010-06-22T05:15:53.089456Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add a /.notdef entry to /CharStrings dictionary if it's missing from an +embedded Type1 font. Bug 691406, customer 130. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-21T164155.147464Z"></a> +2010-06-21T16:41:55.147464Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of improper error message. Source of a potential access violation.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-21T150703.992218Z"></a> +2010-06-21T15:07:03.992218Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add the 'gs_error_Remap_Color' pseudo-error, a duplicate -f e_Remap_Color in the +PostScript interpreter, to the 'base' error list so that PDL clients other than +PostScript can make use of it for high-level pattern support. +</pre> +<p>[base/gserrors.h]</p> +</blockquote> + +<p><strong><a name="2010-06-21T011418.832712Z"></a> +2010-06-21T01:14:18.832712Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +auto-detect host as *BSD and use a differently named obj directory; no effect on non-*BSDs. fixes bug 687214</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-06-21T003243.898825Z"></a> +2010-06-21T00:32:43.898825Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding more borland-related build tips; part of borland build fixes (bug 691400)</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-21T001242.541103Z"></a> +2010-06-21T00:12:42.541103Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +got some garbage in the beginning of the file introduced in an earlier commit</pre> +<p>[doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-21T000112.712437Z"></a> +2010-06-21T00:01:12.712437Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +nsis-based installer script, makefile adaptation, documentation update; bug 691363</pre> +<p>[psi/winint.mak doc/Release.htm psi/nsisinst.nsi doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-20T233847.757390Z"></a> +2010-06-20T23:38:47.757390Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): borland defines P_tmpdir but not _P_tmpdir; similiar difference between borlandc and msvc has been seen with setmode/_setmode in the ijs code in ijs/ijs_server.c</pre> +<p>[jasper/src/libjasper/base/jas_stream.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T233224.162240Z"></a> +2010-06-20T23:32:24.162240Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build fix (bug 691400): update and complete documentation on working around for too-many-warnings-equal-error problem of borland c++</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-20T232934.775566Z"></a> +2010-06-20T23:29:34.775566Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland fix (bug 691400): Borland c++ does not support c99 LL nor ULL, but use i64/ui64 like MSVC for 64-bit integer literals</pre> +<p>[base/sha2.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T231137.618908Z"></a> +2010-06-20T23:11:37.618908Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> + 4 borland build fixes (bug 691400): + +- hook up libtiff +- build mkromfs +- build import library *.lib corresponding to the dll +- build the split-out make_filelist (see also r11388 for Bug 691302, +which does it for msvc) + +</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T230349.551572Z"></a> +2010-06-20T23:03:49.551572Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +borland build does not create the obj and bin directories. part of borland build fix (691400)</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T225732.647408Z"></a> +2010-06-20T22:57:32.647408Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +defines a unix target, since win32 requires specific compiler flags; HP-UX make/MS nmake both issues a warning and borland make issues an error for duplicate targets; fixes bug 691337, and also part of the problems with borland build (bug 691400)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-20T034503.823204Z"></a> +2010-06-20T03:45:03.823204Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix malformed ICC profile generation on big endian systems, which was caused +by confusion between internal and external representation of an integer. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-20T030150.289956Z"></a> +2010-06-20T03:01:50.289956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't leave wild bytes at the end of a generated ICC profile. Fix Valgrind +warnings and spurious hash value differences. +</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T235923.662717Z"></a> +2010-06-18T23:59:23.662717Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that when the CIE color spaces are released, the icc equivalent space is also rc decremented as is the profile.</pre> +<p>[base/gscscie.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T180659.517404Z"></a> +2010-06-18T18:06:59.517404Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for memory leak in creation of icc profile from def(g) objects.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-18T020013.716745Z"></a> +2010-06-18T02:00:13.716745Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Use operator --search-- instead of --token-- during PDF rebuilding +to reduce the load on the name table, slightly improve the speed, and +work around the bug 691005 in a few cases. +</pre> +<p>[Resource/Init/pdf_rbld.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-17T202333.279930Z"></a> +2010-06-17T20:23:33.279930Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adjust self-reference of bswin32.mak to correct location. Part 1 of fix to bug 691400</pre> +<p>[base/bcwin32.mak]</p> +</blockquote> + +<p><strong><a name="2010-06-17T200330.325885Z"></a> +2010-06-17T20:03:30.325885Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +mentioning -P-/-P and further reference to the INITIALIZATION FILES and Use.htm in the man page. bug 691350</pre> +<p>[man/gs.1]</p> +</blockquote> + +<p><strong><a name="2010-06-17T194605.887718Z"></a> +2010-06-17T19:46:05.887718Z Michael Vrhel</strong></p> +<blockquote> +<pre> +add missing type def for gsicc_create_mashed_clut</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T193839.362075Z"></a> +2010-06-17T19:38:39.362075Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +split make_filelist functionality out of setupgs, to allow UAC restriction during packaging of the installer. Bug 691302</pre> +<p>[psi/dwsetup.cpp psi/winint.mak psi/msvc32.mak psi/mkfilelt.cpp]</p> +</blockquote> + +<p><strong><a name="2010-06-17T193128.160475Z"></a> +2010-06-17T19:31:28.160475Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add info about silent batch installation; bug 691268</pre> +<p>[doc/Install.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-17T192820.229863Z"></a> +2010-06-17T19:28:20.229863Z Michael Vrhel</strong></p> +<blockquote> +<pre> +rc_decrement any icc objects that may exist in the imager state that was created for handling the conversion from PS CIE objects to ICC profiles.</pre> +<p>[base/gscie.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T180435.295987Z"></a> +2010-06-17T18:04:35.295987Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Free up tag list when done creating icc profile from PDF cal type.</pre> +<p>[base/gsicc_create.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T171334.616951Z"></a> +2010-06-17T17:13:34.616951Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Change to help track down any memory leaks related to the new icc code. Also fix so that gs_init_iccmanager copies the null character from the default profile string names. There was a mismatch between what happened here and what happens when the default user params are set. This was causing the profiles to reset in the manager when they did not need to be.</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-17T092018.689467Z"></a> +2010-06-17T09:20:18.689467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) move two FAPI related members from the show enumerator structure to the text +enumerator structure. This ensures that these members are always available for rendering +and eliminates a GPF caused when a device's text_begin method returns a text enumerator +rather than the show enumerator returned by gx_default_text_begin. + +No differences expected. +</pre> +<p>[base/gxchar.h base/gxtext.h]</p> +</blockquote> + +<p><strong><a name="2010-06-16T061125.298134Z"></a> +2010-06-16T06:11:25.298134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +a few more CRLF eol and svn property corrections</pre> +<p>[zlib/contrib/dotzlib/LICENSE_1_0.txt zlib/contrib/vstudio/readme.txt zlib/contrib/masmx64/readme.txt base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h zlib/projects/visualc6/README.txt zlib/contrib/dotzlib/readme.txt]</p> +</blockquote> + +<p><strong><a name="2010-06-15T171715.944441Z"></a> +2010-06-15T17:17:15.944441Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Rename of a few functions to match documentation, update of gdevwts.c to use new color architecture, addition of minor utility functions for use in gxps. This should not generate regressions.</pre> +<p>[base/lib.mak base/gsicc_littlecms.h base/gsicc_cache.h base/gsicc_manage.c base/gscms.h base/gdevwts.c base/gsicc_manage.h base/gsicc_littlecms.c]</p> +</blockquote> + +<p><strong><a name="2010-06-15T165440.171304Z"></a> +2010-06-15T16:54:40.171304Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of Color Architecture document in preparation for release of GS 9.0</pre> +<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/GS9_Color_Management.pdf doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/GS9_Color_Management.tex doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps]</p> +</blockquote> + +<p><strong><a name="2010-06-14T231027.633844Z"></a> +2010-06-14T23:10:27.633844Z Henry Stiles</strong></p> +<blockquote> +<pre> +Modified line endings from CRLF -> LF and propset to native. +</pre> +<p>[base/gsicc_cache.c base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h]</p> +</blockquote> + +<p><strong><a name="2010-06-14T184247.881614Z"></a> +2010-06-14T18:42:47.881614Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix yet another case where memcpy() copies a memory block on itself. +This doesn't cause any problems on Linux or Windows but violates the +spec and irks Valgrind. Bug 691394. +</pre> +<p>[base/gsline.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T180749.834071Z"></a> +2010-06-14T18:07:49.834071Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the "<font> is being rendered with FAPI=<renderer>" messages. But leave a warning if we fall back to the old GS renderer.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111907.131026Z"></a> +2010-06-14T11:19:07.131026Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : limit composite object sizes when producing PDF/A + +Bug #691370 "Dictionary size not limited for PDF/A-1" + +The PDF/A specification insists that the implementation limitations of Acrobat as +defined in PDF 1.4 should be followed when producing PDF/A files. Accordingly this +limits the size of dictionaries to 4095 and arrays to 8191 when producing PDF/A output. + +Since there is no way to ignore the problem, setting the PDFACompatibiltyPolicy to 1 +'don't emit the object, carry on producing PDF/A' can't be made to work. Since the +user has expressed a desire for an output file, we fall back to Policy 0 'Produce a +regular PDF file' instead. + +Also extend PDFACompatibilityPolicy to include policy 2 'abort'. + +No test file for this case, no differences expected. +</pre> +<p>[base/gdevpdfo.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111418.794921Z"></a> +2010-06-14T11:14:18.794921Z Ken Sharp</strong></p> +<blockquote> +<pre> +Extend to PDF/X emission the enhancement in revision 11369 which prevents emitting +invalid PDF/A files when glyphs are missing from fonts. +</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-06-14T111240.380849Z"></a> +2010-06-14T11:12:40.380849Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the ps2pdf documenataion to reflect the fact that PDF/X-3 conversion now also +uses the PDFACompatibilityPolicy to control behaviour when a conforming file cannot be +produced. + +Also applied some general grammatical correction to the text. +</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-06-14T093417.990404Z"></a> +2010-06-14T09:34:17.990404Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) : Don't emit invalid PDF/A files + +Bug #691383 "pdfwrite emits invalid PDF/A when glyphs are missing in the input font." + +If the input file references glyphs which are not in the font, then we could emit a +PDF/A file which also referenced glyph which were not present in the fonts embedded +in the PDF file. + +This patch uses the PDFACompatibilityPolicy to control the action in this case, and +avoid emitting invalid PDF/A files. + +Also extended the functionality of the PDFACompatibilityPolicy to allow the user to +abort PDF file production when a valid PDF/A file cannot be produced. + +No expected differences as PDF/A production is not tested by regression code. +</pre> +<p>[base/gdevpdfm.c base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-06-12T151956.267658Z"></a> +2010-06-12T15:19:56.267658Z Henry Stiles</strong></p> +<blockquote> +<pre> +The ICC profile file name buffer was too small to accommodate the +trailing null appended by strcat resulting in an invalid write to +memory. +</pre> +<p>[base/gsicc_manage.c]</p> +</blockquote> + +<p><strong><a name="2010-06-11T172406.899434Z"></a> +2010-06-11T17:24:06.899434Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the event of a FreeType error when scaling a font face, don't clean up the FT data, but leave it to the garbage collector +to call the font object's "finalize" function, which will then clean up the FT data. + +Secondly, add code to deal with very low resolutions underflowing some of FT's fixed point code (similar to code for small +scale factors). + +Bug 691381 +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-06-11T075337.156852Z"></a> +2010-06-11T07:53:37.156852Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite - device reference counting problem with patterns and XPS + +When using XPS as the input PDL, and pdfwrite as the output device, the pdfwrite device +was counted up by pattern accumulator allocation, but the clist accumulator never +counted the device down, leading to a reference count > 1 at EOJ. This meant that +the pdfwrite device wasn't closed, since pdfwrite only emits the PDF file when it is +closed this led to invalid unfinished PDF files. + +The code here modifies the behaviour of the pattern management so that we don't use the +'clist' path for accumulating patterns *if* the device can accumulate patterns itself +*and* the PDL doesn't have_pattern_streams (to avoid pathological PDF file problems) + +This resolves the issue with device reference counts and all the FTS XPS files now +produce complete PDF files. +</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-06-10T161108.241878Z"></a> +2010-06-10T16:11:08.241878Z Chris Liddell</strong></p> +<blockquote> +<pre> +When extracting a path from the FAPI world (for a charpath, for example), only close the path if it has been "opened". + +This prevents empty paths from non-marking glyphs resulting in a point being rendered on the page. + +Another part of Bug 691252. + +This change causes ~195 differences to be reported on the cluster, but they are all progressions. + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-06-10T140640.549557Z"></a> +2010-06-10T14:06:40.549557Z Chris Liddell</strong></p> +<blockquote> +<pre> +Make the rendering of the Truetype notdef glyph optional with the FAPI interface (as per the previous behaviour). + +A few cluster differences are expected as we have test files which use the TTF notdef, I have checked all the differences, and they are correct. + +This is part of Bug 691252 + +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-06-09T185909.419344Z"></a> +2010-06-09T18:59:09.419344Z Robin Watts</strong></p> +<blockquote> +<pre> +Update comparerevs.pl script so that it no longer ignores hash values +on files taht have a non-zero error return. It now only ignores hash +values on timeouts (because runs can easily produce different numbers of +pages on each run). + +Also, the output is updated to show error values together with hash results. +Error values are now always in brackets, on a red background. + +</pre> +<p>[toolbin/localcluster/comparerevs.pl]</p> +</blockquote> + +<p><strong><a name="2010-06-08T162039.058317Z"></a> +2010-06-08T16:20:39.058317Z Chris Liddell</strong></p> +<blockquote> +<pre> +In bytes_copy_rectangle() clamp the length of each row to be copied to the stride of the raster. This takes care of problems copying bitmaps from FT (or potentially other font libraries) which use different alignment to the "internal" rasters. Bug 691328.</pre> +<p>[base/gsbitops.c]</p> +</blockquote> + +<p><strong><a name="2010-06-08T010410.677952Z"></a> +2010-06-08T01:04:10.677952Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check whether the font has /Encoding before trying to use it. Recent FAPI +changes give /BuildChar procedure to all fonts including CIDFont resources. +So the check for non-null pfdata->BuildChar no longer guaranteed that the +font has /Encoding. Bug 691311. +</pre> +<p>[psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2010-06-07T171420.171809Z"></a> +2010-06-07T17:14:20.171809Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691368. + +lcms appears not to check its handles of link transforms when a profile is released, to clear out xform->InputProfile. Probably due to the fact that lcms may not expect a change of the formatters after the link is created. That would imply that we would need to create links based upon data types, which is not so efficient. Disable this check in lcms since it is only related to named color profiles, which we will not run into. Will kick this up to Marti.</pre> +<p>[lcms/src/cmspack.c]</p> +</blockquote> + +<p><strong><a name="2010-06-06T180036.332831Z"></a> +2010-06-06T18:00:36.332831Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691367. Seg fault should no longer occur. If an attempt is made to set a color space in the graphic state and the ICC manager's profiles have not yet been initialized, it will be taken care of. </pre> +<p>[base/gsicc_manage.c base/gscspace.c]</p> +</blockquote> + +<p><strong><a name="2010-06-05T200355.912155Z"></a> +2010-06-05T20:03:55.912155Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't copy memory block into itself; clear a Valgrind warning. +</pre> +<p>[base/gsdparam.c]</p> +</blockquote> + +<p><strong><a name="2010-06-05T192040.615579Z"></a> +2010-06-05T19:20:40.615579Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminisms in some PS files where the alternate tint transform color space for a DeviceN or Separation color space is CIE based. Previously we were returning either CMYK, or RGB based based upon the channel count for the CIE space. Now we are returning an equivalent ICC based color space. Also minor fix for uninitialized memory in generated profile.</pre> +<p>[base/gscdevn.c base/gsicc_create.c base/gscsepr.c]</p> +</blockquote> + +<p><strong><a name="2010-06-03T165717.441589Z"></a> +2010-06-03T16:57:17.441589Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +observe minst->search_here_first condition in file search; bug 691350</pre> +<p>[psi/zfile.c]</p> +</blockquote> + +<p><strong><a name="2010-06-03T003207.629281Z"></a> +2010-06-03T00:32:07.629281Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Adding -P- and -dSAFER to many POSIX shell scripts, win32 and OS/2 batch scripts; bug 691355</pre> +<p>[lib/bjc610b4.upp lib/bjc610b6.upp lib/lp386.bat lib/bjc610b7.upp lib/bjc610b8.upp lib/gsndt.bat lib/pdf2dsc lib/eps2eps.bat lib/st640plg.upp lib/ras8m.upp lib/ras24.upp lib/pv.sh lib/bj8oh06n.upp lib/necp2x.upp lib/stc600p.upp lib/pfbtopfa.bat lib/stc640p.upp lib/wftopfa lib/ps2ps lib/stc2s_h.upp lib/stc500ph.upp lib/ps2ps.cmd lib/pphs lib/stcany_h.upp lib/pf2afm lib/gsdj500 lib/dnj750c.upp lib/pf2afm.cmd lib/stc600pl.upp lib/stc800pl.upp lib/gsbj lib/ps2epsi lib/ps2epsi.cmd lib/dnj750m.upp lib/dumphint lib/gsnd lib/font2c lib/gsdj.bat lib/pdfopt lib/ras32.upp lib/ps2ps2.bat lib/pdf2ps lib/ps2pdf.cmd lib/pdf2ps.cmd lib/stc500p.upp lib/cdj690.upp lib/stc600ih.upp lib/st640p.upp lib/stc_h.upp lib/gslj.bat lib/stcany.upp lib/stc800ih.upp lib/bdftops.bat lib/stc_l.upp lib/ras1.upp lib/gslp.bat lib/lpgs.bat lib/st640ihg.upp lib/ras3.upp lib/stc1520h.upp lib/ras4.upp lib/stc300.upp lib/bj8ts06n.upp lib/eps2eps lib/ps2ascii.bat lib/eps2eps.cmd lib/stc2_h.upp lib/pdf2dsc.bat lib/stc.upp lib/stc300bl.upp lib/stc300bm.upp lib/bj8pp12f.upp lib/pfbtopfa lib/stc800p.upp lib/bjc610a0.upp lib/bj8gc12f.upp lib/st640pg.upp lib/bjc610a1.upp lib/cdj690ec.upp lib/bjc610a2.upp lib/ps2ps.bat lib/bjc610a3.upp lib/bjc610a4.upp lib/bjc610a5.upp lib/bj8hg12f.upp lib/stc2.upp lib/st640pl.upp lib/bjc610a6.upp lib/printafm lib/bjc610a7.upp lib/pf2afm.bat lib/gsdj500.bat lib/bjc610a8.upp lib/ps2pdfxx.bat lib/lpr2.bat lib/lp386r2.bat lib/stc200_h.upp lib/unix-lpr.sh lib/gsdj lib/necp2x6.upp lib/ps2ps2 lib/ps2epsi.bat lib/gsbj.bat lib/bj8pa06n.upp lib/ps2ps2.cmd lib/dumphint.bat lib/cdj550.upp lib/gslj lib/gsnd.bat lib/font2c.bat lib/bdftops lib/pdfopt.bat lib/pdf2ps.bat lib/st640ih.upp lib/gslp lib/ps2pdfwr lib/bjc610b1.upp lib/bjc610b2.upp lib/dvipdf lib/ps2ascii lib/bjc610b3.upp lib/pftogsf.bat]</p> +</blockquote> + +<p><strong><a name="2010-06-02T174539.111970Z"></a> +2010-06-02T17:45:39.111970Z Robin Watts</strong></p> +<blockquote> +<pre> +Introduce new ENABLE_TRAP_AMALGAMATION build define. If set at build time +then code is introduced to gxfillts.h to try to amalgamate some of the +rectangles produced into the surrounding trapezoids. + +This can cause small rendering differences due to the difference in rounding +within scan conversion and trap extraction. + +The option is disabled by default. + +No expected differences with it disabled. 439 non pdfwrite differences, 99 +differences with it enabled. + +</pre> +<p>[base/gxfillts.h]</p> +</blockquote> + +<p><strong><a name="2010-06-02T083707.985901Z"></a> +2010-06-02T08:37:07.985901Z Ken Sharp</strong></p> +<blockquote> +<pre> +Revision 11348 accidentally included a number of font definitions in an updated cidfmap, +This removes those definitions, which should not be present. +</pre> +<p>[Resource/Init/cidfmap]</p> +</blockquote> + +<p><strong><a name="2010-06-02T082923.801870Z"></a> +2010-06-02T08:29:23.801870Z Ken Sharp</strong></p> +<blockquote> +<pre> +Documentation change +Updated the comments at the head of the file to make it plain that the entries in the +CSI array must be strings, not names. Although this is clearly documented in use.htm +we have recently had several reports in which users have been trying to set name values +in the array. + +Also added a pointer to the documentation as a further hint. +</pre> +<p>[Resource/Init/cidfmap]</p> +</blockquote> + +<p><strong><a name="2010-06-02T074657.542525Z"></a> +2010-06-02T07:46:57.542525Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix pdfwrite, faulty matrix transformations for Shading dictionaries + +Bug #691352 "cairo pdf mis-distilled" + +Patterns in PDF are unpleasantly complicated by the need to transform the pattern to +the 'default co-ordinate space'. Normally this means that we undo the resolution scaling +which is normally applied to the CTM. + +For page streams this works well, but for forms the 'default co-ordinate space' is +the space of the parent. For one level of form there is therefore no difference between +the page and the form. When forms are nested however, the lower form's space becomes +that of the parent. This means that patterns inside forms, which are nested inside +another form, need to be transformed to the parent form co-ordinate space, not the +page space. + +Since we don't currently emit forms from pdfwrite for anything except transparency +groups what this means in practice is that we don't undo the CTM transformation if +we are rendering a pattern inside a form, nested inside at least one other form. + +</pre> +<p>[base/gdevpdfx.h base/gdevpdft.c base/gdevpdfv.c base/gdevpdfb.h]</p> +</blockquote> + +<p><strong><a name="2010-06-01T174120.224359Z"></a> +2010-06-01T17:41:20.224359Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Rename of gsicccache.c/h to gsicc_cache.c/h and gsiccmanage.c/h to gsicc_manage.c/h to fall in line with the name space of the other files that came from the icc branch. Currently working on the documentation and it is clear that this is needed (and I wish I had done it earlier).</pre> +<p>[/trunk/ghostpdl/pxl/pxpthr.c /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/xps/ghostxps.h base/gsiccmanage.c base/gxshade1.c base/gsiccmanage.h base/gscsepr.c base/gxshade4.c base/gxshade6.c /trunk/ghostpdl/pxl/pxtop.c base/gxcmap.c ghostscript.vcproj base/gsistate.c /trunk/ghostpdl/pcl/pcl.mak base/gdevrinkj.c base/gdevwts.c base/gdevxcf.c base/gxicolor.c base/devs.mak base/gsicc.c base/gdevimdi.c base/gscdevn.c base/gxclread.c base/gdevpsd.c base/lib.mak base/gxiscale.c base/gsicc_manage.c psi/int.mak /trunk/ghostpdl/pxl/pxgstate.c /trunk/ghostpdl/pcl/pctop.c base/gsicc_manage.h psi/zicc.c psi/zdevice.c base/gdevp14.c base/gsstate.c base/gsicc_cache.c base/gsicc_create.c psi/zcie.c base/gsicccache.c base/gxclist.c base/gsicc_cache.h base/gsicccache.h base/gstrans.c base/gscms.h base/gxidata.c base/gdevpdfc.c base/gxblend.c base/gxshade.c psi/zusparam.c base/gdevpdfg.c base/gxp1fill.c base/gxclrast.c base/gsciemap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-31T144914.514014Z"></a> +2010-05-31T14:49:14.514014Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +for "ln -s base/unix-gcc.mak Makefile; make" builds, do not modularize X, nor build most of the modularzed linux modules, since they depend on the linux GNU linker</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-31T144108.956692Z"></a> +2010-05-31T14:41:08.956692Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another attempt to make "ln -s base/unix-gcc.mak Makefile; make" to work; libtiff really want configure so we hook it in</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-31T095814.532526Z"></a> +2010-05-31T09:58:14.532526Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +more icc branch merge related change to make "make -f base/unix-gcc.mak" and other targets work"</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-28T180708.826907Z"></a> +2010-05-28T18:07:08.826907Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #690793. PJL Formlines was not set correctly if the paper +size changed. Also, refactors such that PXL and PJL get paper sizes +from the same source table. + +</pre> +<p>[/trunk/ghostpdl/pl/pl.mak /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/pl/pjparse.c /trunk/ghostpdl/pxl/pxsessio.c /trunk/ghostpdl/pxl/pxstate.h base/gdevpxen.h base/gdevpxut.c]</p> +</blockquote> + +<p><strong><a name="2010-05-27T210221.460781Z"></a> +2010-05-27T21:02:21.460781Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix so that shading strokes that go through the clist transparency code communicate the transparency device so that the proper color information is used as opposed to the color information related to the final target device. This should fix the indeterminism with bug688807.pdf when going out to a monochrome device.</pre> +<p>[base/gdevp14.c base/gxshade.c]</p> +</blockquote> + +<p><strong><a name="2010-05-27T153001.093150Z"></a> +2010-05-27T15:30:01.093150Z Henry Stiles</strong></p> +<blockquote> +<pre> +Forward declarations for statics functions were accidentally placed in +the header file instead of the c file. +</pre> +<p>[base/gdevp14.c base/gdevp14.h]</p> +</blockquote> + +<p><strong><a name="2010-05-27T004457.701730Z"></a> +2010-05-27T00:44:57.701730Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for indeterminism when using psdcmyk device and interpolated images. For cases where the device profile has fewer components than the actual number of device colorants we need to use the slower interpolation code. Otherwise we end up encoding uninitialized memory. </pre> +<p>[base/gxiscale.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T220150.106123Z"></a> +2010-05-26T22:01:50.106123Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for bug690218. For clist reader the pdf14 device was getting its color information set based upon the number of spot colorants in the page. The real number should be based upon the number of actual components the device is capable of handling. This occurs when using separation device with a limited set of colorants invoked via a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ] +/SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice"</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T181652.113331Z"></a> +2010-05-26T18:16:52.113331Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Improvements and fixes in icc search path description and bolder alert with respect to Windows delimiter \" interpretation . Thanks to Ray.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-26T160836.881438Z"></a> +2010-05-26T16:08:36.881438Z Henry Stiles</strong></p> +<blockquote> +<pre> +The languages (pcl, xps, pclxl) debug builds were broken with the icc +branch merge, gs_abort() is not supported. The code has been changed +similarly to the old exit upon failed assertion code in gsalloc.c +where gs_abort() is replaced with return, fixes bug #691340. +</pre> +<p>[base/gsicc_profilecache.c]</p> +</blockquote> + +<p><strong><a name="2010-05-26T030702.463936Z"></a> +2010-05-26T03:07:02.463936Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Addition of lcms and new icc files to Visual studio solution. Also did a little organizing of the files in the explorer window base folder.</pre> +<p>[ghostscript.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-25T204302.039929Z"></a> +2010-05-25T20:43:02.039929Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of documentation, clarifying the search methods used for finding the icc profiles.</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-25T193823.177347Z"></a> +2010-05-25T19:38:23.177347Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Removal of iccprofiles/ from default icc profile names and post-pend %rom% with iccprofiles/ . This is in preparation for having the ps init code initialize a default value for ICCProfilesDir (which will be ./iccprofiles/ ) so that code works with COMPILE_INITS=0 when not in the base directory and when -sICCProfilesDir is not specified on the command line.</pre> +<p>[base/gsiccmanage.c base/gsiccmanage.h]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171559.119523Z"></a> +2010-05-25T17:15:59.119523Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make static some private functions to remove compiler warnings</pre> +<p>[contrib/gdevgdi.c base/gdevcairo.c contrib/gdevlx50.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171427.480893Z"></a> +2010-05-25T17:14:27.480893Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make private functions static to silence some missing prototype warning</pre> +<p>[imdi/cgen.c imdi/imdi_k.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T171318.238667Z"></a> +2010-05-25T17:13:18.238667Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +silent one compiler warning</pre> +<p>[base/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T135021.339560Z"></a> +2010-05-25T13:50:21.339560Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix copy CIDFontType 2 properly +Bug #690930 "Unicode Output: DEVICE=pdfwrite" + +When making a copy of a CIDFont with TrueType outlines (CIDFontType 2) for the +benefit of pdfwrite, do not simply copy the subst_CID_on_WMode structure member as +this will be restored away along with the font at end of page. Instead make a new +structure and store that in the copied font. + + +No differences expected, local cluster test shows a few but I think (hope) these are +related to the ICC branch merge.</pre> +<p>[base/gxfcopy.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T102209.642632Z"></a> +2010-05-25T10:22:09.642632Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691336: Resolve some confusion between the original global variable removal changes, and subsequent changes, that could result in warning emprintf calls using a memory pointer that could not exist at that stage. +</pre> +<p>[psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-05-25T083157.775100Z"></a> +2010-05-25T08:31:57.775100Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a couple of gcc compiler warnings introduced with the ICC merge. +</pre> +<p>[base/gdevpdfk.c base/gdevpdfc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T230659.017275Z"></a> +2010-05-24T23:06:59.017275Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Another bunch of CRLF to LF's. + +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs -n 1 svn propset svn:eol-style native +find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs dos2unix + +</pre> +<p>[tiff/nmake.opt psi/zcolor.h toolbin/color/icc_creator/ICC_Creator/stdafx.h lib/cat.ps toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp toolbin/color/icc_creator/example/cielab_values.txt toolbin/color/icc_creator/ICC_Creator/icc34.h contrib/lxm3200-tweaked/LICENSE toolbin/color/icc_creator/README.txt toolbin/color/icc_creator/ICC_Creator/ICC_Creator.cpp toolbin/color/named_color/named_color_table.txt zlib/contrib/testzlib/testzlib.txt lib/Fontmap.URW-136.T1 toolbin/color/icc_creator/example/tritone_names.txt zlib/contrib/testzlib/testzlib.c toolbin/color/icc_creator/ICC_Creator/CIELAB.h toolbin/color/icc_creator/ICC_Creator/icc_create.h base/gsicc_profilecache.c toolbin/color/icc_creator/ICC_Creator/stdafx.cpp toolbin/color/icc_creator/ICC_Creator/resource.h base/gsicc_profilecache.h toolbin/color/icc_creator/example/tritone_cielab.txt base/gsicc_create.c toolbin/color/icc_creator/ICC_Creator/targetver.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/res/ICC_Creator.rc2 psi/zcie.h psi/write_t2.c base/gsicc_create.h toolbin/color/icc_creator/example/color_names.txt base/gscms.h toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h psi/fapibstm.c lib/Fontmap.URW-136.TT]</p> +</blockquote> + +<p><strong><a name="2010-05-24T223400.748368Z"></a> +2010-05-24T22:34:00.748368Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove some more CR's and more eol-style native. + +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 svn propset svn:eol-style native +find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 dos2unix + +</pre> +<p>[lcms/Delphi/delphidemo.dof lcms/src/makefile.simple lcms/Delphi/demo1.pas lcms/python/testbed/srgb2xyz.py lcms/Delphi/Samples/create.pas lcms/python/testbed/srgb2lab.py lcms/Delphi/delphidemo.dpr lcms/python/testbed/cam02.py lcms/makefile.simple lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/Delphi/delphidemo.cfg lcms/python/testbed/createmsh.py lcms/python/testbed/lab2adobe.py lcms/Delphi/Samples/testfrm.pas lcms/Delphi/Samples/testwp.pas lcms/src/lcms.def lcms/Delphi/Samples/getxyz.pas]</p> +</blockquote> + +<p><strong><a name="2010-05-24T222637.131050Z"></a> +2010-05-24T22:26:37.131050Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +manually fixing the last few files which escaped fileutils' identification. + +</pre> +<p>[lcms/python/lcms.py lcms/COPYING lcms/src/cmscam97.c lcms/aclocal.m4 lcms/ltmain.sh lcms/README.1ST lcms/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-24T222052.689626Z"></a> +2010-05-24T22:20:52.689626Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Changes c/c++/shell script/english text to native text and strip off CR. + +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs dos2unix +find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs svn propset svn:eol-style native + + +</pre> +<p>[lcms/doc/TUTORIAL.TXT lcms/matlab/icctrans.c lcms/src/cmswtpnt.c lcms/tifficc/getopt.c lcms/src/cmsgamma.c lcms/src/cmsnamed.c lcms/samples/vprf.c lcms/src/cmserr.c lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/src/cmsxform.c.orig lcms/samples/icc2ps.c lcms/python/lcms_wrap.cxx lcms/tifficc/tiffdiff.c lcms/src/cmssamp.c lcms/samples/xgetopt.c lcms/Delphi/lcmsdll.pas lcms/include/icc34.h.in lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/jpegicc/jpegicc.c lcms/jpegicc/iccjpeg.c lcms/samples/icctrans.c lcms/testbed/testcms.c lcms/samples/mktiff8.c lcms/jpegicc/iccjpeg.h lcms/tifficc/tifficc.c lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/src/cmsio0.c lcms/src/cmsio1.c lcms/samples/mkgrayer.c lcms/filter.c lcms/python/lcms.i lcms/src/cmsxform.c lcms/src/cmsintrp.c lcms/src/cmscnvrt.c lcms/include/lcms.h lcms/doc/LCMSAPI.TXT lcms/src/cmscgats.c lcms/src/cmscam02.c lcms/include/icc34.h lcms/src/cmslut.c lcms/src/cmsps2.c lcms/samples/wtpt.c lcms/samples/itufax.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T220741.207483Z"></a> +2010-05-24T22:07:41.207483Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove executable bits from files which don't need them. + +find . -type f -executable -exec file {} \; \ +| grep -v 'shell script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propdel svn:executable + +The last commit was created by: + + +find . -type f -executable -exec file {} \; \ +| grep 'script text executable' \ +| cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[lcms/Projects/VC6/lcms.rc lcms/Projects/VC7/lcms.rc lcms/bin/Bin.txt lcms/Delphi/Samples/create.pas lcms/samples/vprf.c lcms/configure.ac lcms/README.1ST lcms/lcms.pc.in lcms/Projects/VC2008/lcms.sln lcms/testbed/sRGBSpac.icm lcms/Projects/VC2008/lcms.vcproj lcms/python/testbed/lab2adobe.py lcms/Delphi/demo1.dfm lcms/samples/xgetopt.c lcms/Projects/VC2005/icclink.vcproj lcms/Projects/VC6/icclink.dsp lcms/Projects/VC7/lcms.vcproj lcms/src/cmscam97.c lcms/testbed/testcms.c lcms/Projects/VC6/icc2ps.dsp lcms/Projects/VC7/icctrans.vcproj lcms/python/testbed/srgb2lab.py lcms/Projects/VC7/tifficc.vcproj lcms/filter.c lcms/Projects/VC6/lcms.dsp lcms/Delphi/delphidemo.cfg lcms/Projects/VC7/icc2ps.vcproj lcms/Projects/VC6/lcms.dsw lcms/Delphi/Samples/testwp.pas lcms/Projects/VC7/lcms.sln lcms/Projects/VC2008/tifficc.vcproj lcms/Projects/VC2005/resource.h lcms/python/testbed/whtpnt.py lcms/doc/TUTORIAL.TXT lcms/src/cmswtpnt.c lcms/Projects/VC2005/Python.vcproj lcms/Projects/BorlandC_5.5/mklcmsdll.bat lcms/include/Makefile.am lcms/Projects/VC7/jpegicc.vcproj lcms/install.gcc lcms/samples/wtpt.1 lcms/Projects/BorlandC_5.5/lcmsdll.lk lcms/src/cmserr.c lcms/makefile.simple lcms/Projects/BorlandC_5.5/lcms.rc lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/Makefile.am lcms/python/testbed/sRGB Color Space Profile.icm lcms/Projects/VC2008/jpegicc.vcproj lcms/Projects/VC7/lcmsdll.vcproj lcms/AUTHORS lcms/samples/icc2ps.1 lcms/Projects/VC2008/resource.h lcms/src/makefile.simple lcms/samples/mktiff8.c lcms/python/testbed/virtprf.py lcms/python/testbed/clamp.py lcms/Projects/BorlandC_5.5/lcmsdll.lst lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/src/cmsio0.c lcms/python/testbed/cam02.py lcms/Projects/VC6/resource.h lcms/src/cmsxform.c lcms/python/lcms.i lcms/src/cmsintrp.c lcms/Projects/VC2008/lcmsdll.vcproj lcms/jpegicc/jpegicc.1 lcms/COPYING lcms/Projects/VC2005/lcms.rc lcms/samples/icctrans.1 lcms/Projects/VC7/tiffdiff.vcproj lcms/src/cmscgats.c lcms/Projects/VC2008/lcms.rc lcms/tifficc/tifficc.1 lcms/src/cmscam02.c lcms/matlab/icctrans.matlab.pdf lcms/python/testbed/createmsh.py lcms/src/cmslut.c lcms/tifficc/Makefile.am lcms/Lib/MS/MS.TXT lcms/samples/wtpt.c lcms/Projects/VC6/tifficc.dsp lcms/Projects/VC7/Testbed.vcproj lcms/python/testbed/gamma.py lcms/samples/itufax.c lcms/python/Makefile.am lcms/Delphi/demo1.pas lcms/src/cmsgamma.c lcms/Projects/VC6/Python.dsp lcms/Projects/VC2008/Python.vcproj lcms/src/cmsnamed.c lcms/src/cmsxform.c.orig lcms/Projects/VC6/lcmsdll.dsp lcms/Projects/VC2008/Testbed.vcproj lcms/Projects/VC2005/lcms.vcproj lcms/python/testbed/AdobeRGB1998.icc lcms/samples/icc2ps.c lcms/tifficc/tiffdiff.c lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/src/cmssamp.c lcms/NEWS lcms/samples/Makefile.am lcms/Projects/VC2005/icctrans.vcproj lcms/Projects/VC2005/tifficc.vcproj lcms/Delphi/lcmsdll.pas lcms/Projects/VC2008/icctrans.vcproj lcms/include/icc34.h.in lcms/Delphi/delphidemo.dof lcms/Projects/VC6/lcms.opt lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/Projects/VC6/Python.plg lcms/jpegicc/jpegicc.c lcms/samples/icctrans.c lcms/Delphi/Samples/MAKETEST.BAT lcms/Projects/VC2005/icc2ps.vcproj lcms/ltmain.sh lcms/Delphi/Samples/gamutchk.pas lcms/tifficc/tifficc.c lcms/Projects/VC2005/lcms.sln lcms/src/cmsio1.c lcms/Projects/VC6/Testbed.dsp lcms/INSTALL lcms/Projects/VC7/icclink.vcproj lcms/jpegicc/makefile.simple lcms/jpegicc/Makefile.am lcms/Projects/VC2005/jpegicc.vcproj lcms/samples/icclink.1 lcms/Delphi/Samples/testfrm.pas lcms/Projects/VC6/jpegicc.dsp lcms/Projects/VC6/icctrans.dsp lcms/src/lcms.def lcms/Delphi/demo1.dcu lcms/Delphi/Samples/getxyz.pas lcms/matlab/icctrans.c lcms/ChangeLog lcms/Projects/VC2008/icclink.vcproj lcms/tifficc/getopt.c lcms/Lib/BC/BC.txt lcms/testbed/makefile.simple lcms/Projects/VC6/Testbed.plg lcms/Delphi/delphidemo.dpr lcms/testbed/Makefile.am lcms/Projects/VC2005/lcmsdll.vcproj lcms/Projects/VC7/resource.h lcms/Projects/VC7/Python.vcproj lcms/Delphi/demo1.ddp lcms/python/testbed/cam97.py lcms/jpegicc/iccjpeg.c lcms/python/testbed/constant.py lcms/Projects/VC2005/tiffdiff.vcproj lcms/python/testbed/srgb2xyz.py lcms/python/testbed/info.py lcms/jpegicc/iccjpeg.h lcms/Projects/VC2008/tiffdiff.vcproj lcms/Projects/VC2008/icc2ps.vcproj lcms/src/Makefile.am lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/Projects/VC2005/Testbed.vcproj lcms/samples/mkgrayer.c lcms/include/lcms.h lcms/Delphi/delphidemo.res lcms/src/cmscnvrt.c lcms/python/swig_lcms lcms/doc/LCMSAPI.TXT lcms/python/testbed/sRGB2adobe.py lcms/tifficc/makefile.simple lcms/include/icc34.h lcms/src/cmsps2.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T220213.500457Z"></a> +2010-05-24T22:02:13.500457Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +make all shell scripts in the lcms directory eol-style native. +</pre> +<p>[lcms/depcomp lcms/compile lcms/missing lcms/config.guess lcms/config.sub lcms/install-sh lcms/mkinstalldirs lcms/configure]</p> +</blockquote> + +<p><strong><a name="2010-05-24T183616.496917Z"></a> +2010-05-24T18:36:16.496917Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing EOL to the last line in one of the new ICC files +because MSVC 6 requires this. +</pre> +<p>[base/gsiccmanage.c]</p> +</blockquote> + +<p><strong><a name="2010-05-24T163158.315172Z"></a> +2010-05-24T16:31:58.315172Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Merge of icc_work branch into trunk. + +These changes make the color architecture of the graphics library ICC-based. All colors are now managed in terms of ICC profiles including PS CIE color spaces, for which equivalent ICC profiles are created. A big feature of this change is that it makes it very easy to interface a color management module (CMM) to ghostscript. The default CMM is now littleCMS and the interface to littleCMS is contained in gsicc_littlecms.c . + +New member variables were added to the imager state including an ICC manager, which stores the default ICC profiles; a link cache, which reduces the cost of creating links between ICC profiles, and a profile cache which stores color spaces created from PS CIE, PDF CalRGB and PDF CalGray colors spaces. + +A new directory named iccprofiles has been added. It contains the default ICC profiles used if none are specified in the command line. If COMPILE_INITS=1, these will be included in the ROM file system. The new command line options related to ICC profiles are described in the Use.htm documentation. + +For c-list based rendering, all ICC profiles used in the rendering are stored in the c-list. During multi-threaded c-list reading, a link cache is associated with the primary reader device and is shared amongst the various threads. + +Efficiency improvements were made in the handling of soft mask groups, shading smoothness calculations, and color image rendering. + +For details on the branch, please see the commits that were made within the branch. There remain indeterminisms to fix. The files affected include Bug688807.pdf, Bug688845.eps, Bug690208.pdf, 09-34.PS, CATX0988.pdf, CATX1028.pdf, CATX1101.pdf, CATX5529.pdf. + +Rendering issues to investigate include Bug689830.pdf, fts43xx.xps (page 3) (shopping cart image), Bug689880.pdf, Bug691002.pdf, Bug689968.pdf, Bug688584.ps (page 4), catx4949.pdf. + +Note that the number of differences generated with the merge amounts to pretty much every file. + +Thanks to everyone who helped and provided input in this work, especially Ray Johnston. +</pre> +<p>[base/gdevpdfk.c base/gxclimag.c doc/Use.htm base/gdevdflt.c psi/icie.h base/gxpcmap.c base/gxpcolor.h lcms base/gscsepr.c base/gxshade4.c base/gxclthrd.c base/gxcmap.c base/gscscie.c base/gdevwts.c base/gsistate.c base/msvclib.mak base/gxclpage.c base/gscolor2.c base/gsicc_profilecache.c base/gxistate.h base/gscolor2.h base/gsicc_profilecache.h iccprofiles base/gdevp14.c base/gsicc_create.c base/gdevp14.h base/gsicc_create.h psi/write_t2.c psi/zusparam.c base/gdevpbm.c psi/zcolor.c psi/ztrans.c base/gdevpdft.c base/gxshade1.c /trunk/gs base/gdevpsdi.c psi/ireclaim.c psi/os2.mak base/watclib.mak Resource/Init/gs_lev2.ps base/gdevpsdu.c base/gscie.c base/gxclutil.c base/gscolor3.c base/gdevpsd.c base/gscie.h base/gxiscale.c base/gxcldev.h Resource/Init/gs_res.ps base/gxifast.c base/gxdevcli.h base/openvms.mak base/watcw32.mak base/gscms.h psi/msvc32.mak base/gsalloc.c base/lcms.mak base/gxp1fill.c base/gximage.h base/gsciemap.c base/gdevpx.c psi/zcsdevn.c base/ugcclib.mak base/unix-gcc.mak base/gsovrc.c base/gxcie.h base/macos-mcp.mak base/gxshade6.c base/macosx.mak base/gsccolor.h base/gdevrinkj.c base/unixansi.mak base/devs.mak base/gsicc.c base/gxipixel.c base/lib.mak psi/zimage.c base/gsicc.h psi/dxmain.c psi/dxmainc.c Resource/Init/pdf_draw.ps base/gscolor.c Resource/Init/pdf_ops.ps psi/zdevice.c psi/zcie.c psi/zdpnext.c base/gxclist.c psi/zcie.h base/gximono.c base/gxidata.c base/gstrans.c psi/iimage.h base/gdevpdfb.c base/gxclist.h base/gxshade.c base/gstrans.h base/gxclrast.c psi/zncdummy.c base/gxshade.h toolbin/color base/gsiccmanage.c base/Makefile.in base/gdevpdfv.c base/gsiccmanage.h base/gsicc_littlecms.c base/gxclpath.c base/gsicc_littlecms.h psi/icontext.c base/gxclpath.h base/gsstruct.h base/gdevxcf.c base/gxicolor.c base/gscspace.c base/gdevimdi.c base/gscdevn.c base/gscolor1.c base/gxclread.c base/gscspace.h base/bcwin32.mak base/gsdparam.c base/gs.mak psi/zshade.c base/gdevbbox.c psi/int.mak base/gxcspace.h psi/zicc.c base/gsstate.c base/winlib.mak base/gsicccache.c psi/zicc.h psi/zimage3.c base/gsicccache.h base/gdevpdfc.c base/gstparam.h base/gxblend.c base/gdevpdfg.c base/gxblend.h]</p> +</blockquote> + +<p><strong><a name="2010-05-24T020113.653152Z"></a> +2010-05-24T02:01:13.653152Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Recognize Corel tint transform function and replace it with an equivalent +calculator function. Bug 690986. +</pre> +<p>[psi/zfunc4.c]</p> +</blockquote> + +<p><strong><a name="2010-05-23T001525.592930Z"></a> +2010-05-23T00:15:25.592930Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Decide whether load a CFF font as a simple font or a CIDFont based on the +/Subtype of the font object instead of the /Subtype of the font stream. +Acrobat appears to ignore the latter. Bug 691334. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-22T091730.088324Z"></a> +2010-05-22T09:17:30.088324Z Ken Sharp</strong></p> +<blockquote> +<pre> +Explicit pointer cast to silence a gcc compiler warning. +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-05-21T151607.910956Z"></a> +2010-05-21T15:16:07.910956Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following Acrobat implementation but contrary to TTF spec, consider cmap entry +that has endCode < startCode as an entry with endCode == startCode. +According to the spec, "to use these arrays, it is necessary to search for the +first endCode that is greater than or equal to the character code to be +mapped. If the corresponding startCode is less than or equal to the character +code ...". I.e. an entry with endCode < startCode should have no effect. +Thanks to Ken for the patch. Bug 691326. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-21T081456.354805Z"></a> +2010-05-21T08:14:56.354805Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix: device reference counting problem with patterns and clipping + +Bug #690572 more details here. The problem was caused by installing a clip device while +drawing a pattern tile. This patch initialises the finalize member of the structure +where the clip device will be created to NULL. If a clip device is required, the member +will be initialised to a real routine. After drawing the pattern cell, if the finalize +routine is non-NULL we execute it. + +This correctly dereferences the forwarded device if we create a clipping device. + +</pre> +<p>[base/gxp1fill.c]</p> +</blockquote> + +<p><strong><a name="2010-05-21T063511.431787Z"></a> +2010-05-21T06:35:11.431787Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding missing dependencies so that setupgs and uninstgs can be built ahead or independent of the main targets</pre> +<p>[psi/winint.mak psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-20T073106.101672Z"></a> +2010-05-20T07:31:06.101672Z regression</strong></p> +<blockquote> +<pre> +The clustermaster.pl code now checks the pid in the lock file to see if the +task is running. Also no longer test pdfwrite with the language switch build. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-20T062443.585523Z"></a> +2010-05-20T06:24:43.585523Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fix up the eol-style of the rest of the executable files by hand. +Remove executable bit from toolbin/bmpcmp.c + +</pre> +<p>[toolbin/bmpcmp.c jbig2dec/ltmain.sh tiff/config/ltmain.sh libpng/contrib/pngminim/encoder/gather.sh libpng/contrib/pngminim/preader/gather.sh libpng/scripts/libpng-config-body.in libpng/contrib/pngminim/decoder/gather.sh toolbin/tests/gsvalidate.py]</p> +</blockquote> + +<p><strong><a name="2010-05-20T061020.265063Z"></a> +2010-05-20T06:10:20.265063Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Set other type of shell script as native text. + +find . -type f -executable -exec file {} \; | \ + grep 'script text executable' | grep -v 'POSIX' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/tests/dump_checksum.py toolbin/tests/gscheck_testfiles.py toolbin/tests/dump_checksum_plus.py toolbin/localcluster/readlog.pl toolbin/search-svn-revs toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/clusterpush.pl toolbin/tests/dump_checksum_raw.py toolbin/localcluster/compare.pl toolbin/localcluster/comparerevs.pl toolbin/tests/find_unique_file.py toolbin/localcluster/clustermaster.pl toolbin/localcluster/weekly.sh toolbin/localcluster/build.pl toolbin/tests/build_revision.py toolbin/htmldiff.pl toolbin/tests/compare_checksumdb.py toolbin/tests/update_baseline.py toolbin/tests/make_baselinedb.py toolbin/tests/validate.py toolbin/bugsByEngineer.pl toolbin/localcluster/clusterpull.sh toolbin/tests/regen_filelist.py toolbin/localcluster/pngs2html.pl toolbin/localcluster/nightly.pl freetype/builds/mac/ascii2mpw.py toolbin/tests/compare_checksums.py toolbin/tests/run_nightly.py toolbin/tests/regen_baseline.py toolbin/tests/myoptparse.py toolbin/tests/get_baselines.py toolbin/tests/run_regression.py toolbin/localcluster/setupcluster toolbin/localcluster/clustermonitor.pl toolbin/tests/testdiff.py toolbin/tests/updatelistpdf.py toolbin/tests/run_series.py toolbin/tests/updatelist.py toolbin/localcluster/run.pl toolbin/tests/get_baseline_log.py toolbin/performance.pl toolbin/localcluster/cachearchive.pl toolbin/tests/make_testdb.py toolbin/tests/collate.py]</p> +</blockquote> + +<p><strong><a name="2010-05-20T060141.643170Z"></a> +2010-05-20T06:01:41.643170Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Set all identifiable shell script as native text + +find . -type f -executable -exec file {} \; | \ +grep 'POSIX shell script text executable' | \ +cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native + +</pre> +<p>[libpng/missing cups/pstoraster.in libpng/test-pngtest.sh cups/pstopxl.in libpng/install-sh jbig2dec/configure libpng/configure contrib/pcl3/ppd/catppd toolbin/clusterpush.sh libpng/depcomp jpeg/install-sh jbig2dec/config.guess contrib/pcl3/lib/if-pcl3 freetype/configure libpng/config.guess jasper/configure tiff/config/missing jbig2dec/config.sub jpeg/configure libpng/config.sub tiff/config/install-sh jpeg/config.guess zlib/configure jpeg/config.sub tiff/config/depcomp libpng/scripts/libpng-config-head.in tiff/config/compile libpng/scripts/libpng-config.in libpng/autogen.sh tiff/config/config.guess jbig2dec/mkinstalldirs jpeg/ltconfig tiff/config/config.sub libpng/mkinstalldirs contrib/epson740/ps-to-printer.fpi_rh5.2 jasper/acaux/missing jasper/acaux/install-sh tiff/autogen.sh freetype/builds/unix/install-sh freetype/builds/unix/mkinstalldirs tiff/configure jasper/acaux/depcomp jasper/acaux/compile tiff/config/mkinstalldirs jasper/acaux/config.guess contrib/pcl3/lib/cups-pcl3 jasper/acaux/config.sub]</p> +</blockquote> + +<p><strong><a name="2010-05-20T055235.456761Z"></a> +2010-05-20T05:52:35.456761Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Avoid raw carriage returns in configure which confuses svn + +This is a known bug apparently of autoconf 2.63 which was fixed. Here is the upstream log entry: +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb34ecf + + 2008-10-27 Eric Blake <ebb9@byu.net> + + Avoid raw carriage return in scripts. + * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR + via tr, rather than with literal byte. + * THANKS: Update. + Reported by Steven R. Loomis; patch suggested by Thomas Dickey. + + +</pre> +<p>[jbig2dec/configure]</p> +</blockquote> + +<p><strong><a name="2010-05-19T145138.835112Z"></a> +2010-05-19T14:51:38.835112Z Robin Watts</strong></p> +<blockquote> +<pre> +Some work towards (but not a complete cure for) bug 691030. + +Previously XXX_slant_into_trapezoids would check for 2 'simple' cases, +and bale into the fully general fill_slant_adjust function otherwise. +The simple cases were where the top span was a subset of the bottom one, or +vice versa. + +Unfortunately the way the code to test for these cases was originally written, +one of these special cases could be used for shaped with vertical sides, and +the other couldn't. + +By rewriting the test slightly, both cases can be used with trapezoids that +have one vertical side. + +For good measure we also extract the 'rectangle' case out separately. + +Cluster testing shows no differences (barring a couple of indeterminisms). + +This reduces the output from 5 shapes (2 rectangles, 3 traps) to 3 (2 +rectangles, 1 trap). One of the rectangles is still a repeat, but it's +a step in the right direction. + + + +</pre> +<p>[base/gxfillts.h]</p> +</blockquote> + +<p><strong><a name="2010-05-19T100905.486708Z"></a> +2010-05-19T10:09:05.486708Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Bug 691291. Fix reading uninitialized memory. + +The change I made in r10603 had a problem comparing with +uninitialized data when using Roman fonts. +The side effect was slowing down font rendering a little. +In this change I added extra initializer and made +intention of the 'if' condition more clear. +No difference on outputs expected nor observed by localcluster +tests.</pre> +<p>[base/gschar0.c]</p> +</blockquote> + +<p><strong><a name="2010-05-19T074220.717044Z"></a> +2010-05-19T07:42:20.717044Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Follow-up to r11278. Removing jbig2dec/config.h. + +r11278 enabled jbig2dec/configure to be run. +I agree with the change but jbig2dec/config.h was also under +subversion control. With r11278, after someone runs +'configure' or 'autogen.sh', jbig2dec/config.h become +modified status. +jbig2dec/config.h doesn't need to be here. Deleting. + +Related bug: 691304 & 691312.</pre> +<p>[jbig2dec/config.h]</p> +</blockquote> + +<p><strong><a name="2010-05-18T224039.023883Z"></a> +2010-05-18T22:40:39.023883Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +define -DHAVE_CONFIG_H and run jbig2dec/configure from top-level configure. The fixes some portability issues seen on opensolaris; further follow-up to bug 691304</pre> +<p>[base/Makefile.in base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-18T222947.346946Z"></a> +2010-05-18T22:29:47.346946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +typo in one word. bug 691323</pre> +<p>[doc/Readme.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-18T222313.250745Z"></a> +2010-05-18T22:23:13.250745Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster code: + + support language switch build testing + recover from disk full errors + automatically create directories needed for new nodes in run.pl +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-18T122248.908526Z"></a> +2010-05-18T12:22:48.908526Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Disabling compiler warnings for discarding 'const'. + +</pre> +<p>[jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-05-18T085518.202611Z"></a> +2010-05-18T08:55:18.202611Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691313: remove the IBM Omni driver from the default build on Linux. Previously it could be excluded by giving configure "--without-omni", this revision reverses the logic, so Omni can be include by giving configure "--with-omni".</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-18T043225.607601Z"></a> +2010-05-18T04:32:25.607601Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Change the order in which jobs that take too long are killed on the cluster nodes to prevent leftover jobs when running bmpcmp. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-17T154838.534341Z"></a> +2010-05-17T15:48:38.534341Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix - type 1/CFF font interpreter. +The gs_type1_piece_codes routine interprets a type 1 or CFF glyph program to determine +whether the glyph is composed of two subglyphs (a SEAC). + +There was a problem with the CFF opcode cntrmask which did not cater for the case where +it is called with a number of operands on the stack. In this case the operands are to +be interpreted as vstem hints. Because this was not done, the interpreter had the wrong +number of hints, and so did not interpret enough of the following bytes as mask data for +the cntrmask operation. This led to attempting to interpret data as operands, which +caused corrupted glyphs as well as potential crashes. + +This does not appear to be tested by any of our current test files (according to a +cluster test), so no differences are expected. +</pre> +<p>[base/gxtype1.c]</p> +</blockquote> + +<p><strong><a name="2010-05-17T082506.874101Z"></a> +2010-05-17T08:25:06.874101Z Ken Sharp</strong></p> +<blockquote> +<pre> +white space change only, committed to make a regression run as the test for the +previous revision was interrupted.</pre> +<p>[psi/write_t1.c]</p> +</blockquote> + +<p><strong><a name="2010-05-17T075543.268496Z"></a> +2010-05-17T07:55:43.268496Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler and make warnings. +</pre> +<p>[psi/write_t1.c psi/int.mak psi/write_t1.h]</p> +</blockquote> + +<p><strong><a name="2010-05-17T043957.140765Z"></a> +2010-05-17T04:39:57.140765Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding check for header stringprep.h; fix bug 691312</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-05-17T035931.965365Z"></a> +2010-05-17T03:59:31.965365Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fixes portability issue properly with r11256 (which is identical with r11520), +first discovered by Ralph 6 months ago with r10520 +which results in its being reverted in r10540 . + +****************************** + Revert c10520 which causes problems with the MSVC build. + + $(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft + extensions. This often causes problems with 3rd party libraries + which try to take advantage of those extensions. + + This means that the -fPIC flag is again not propagated in the GCC + build; this is just to unbreak the build until I can test a different + solution which works on both platforms. +****************************** +As Ralph explained then, some of libtiff requires non-ansi extensions to work. + +The main culpit is tif_win32.c (which includes <windows.h>) and some of the +file IO flags not being defined. So this commit fix the ansi issue properly. + +</pre> +<p>[tiff/libtiff/tiffiop.h base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-17T034702.654413Z"></a> +2010-05-17T03:47:02.654413Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix windows build breakage in r11249 + +This change (defining TIFFCONFIG_SUFFIX) should have been part of + r11249 (create tif_config.h for non-autoconf build) +which in turn should have been part of + r11241 (hook up libtiff with non-autoconf build via + "make -f base/unix-gcc.mak" and "make -f base/unixansi.mak") + +The explanation is that in r10317 where Lars originally hooked up libtiff, +tif_config.h is generated by libtiff/configure (which is driven by the +top-level configure), but special provision is provided for non-autoconf build +(win32 and VMS) by copying from a canned header file. +If one chooses to bypass the top-level configure, *on every platform* +(win32, VMS, and non-autoconf unix build), one must provide similiar special +provision as well. + +Personally I'll prefer not to support non-autoconf unix build. + +</pre> +<p>[base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-16T183240.253209Z"></a> +2010-05-16T18:32:40.253209Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Changes to the nightly regression testing system to support weekly testing. +</pre> +<p>[toolbin/localcluster/nightly.pl toolbin/localcluster/weekly.sh toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-15T105714.279373Z"></a> +2010-05-15T10:57:14.279373Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +rename PDEP to TIFFDEP to avoid clashing with PDEP from libpng.mak; bug 691299</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T105547.722308Z"></a> +2010-05-15T10:55:47.722308Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +comment out a later duplcate definition; bug 691299</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T095005.378608Z"></a> +2010-05-15T09:50:05.378608Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +latest version of these files from Adobe's web site: http://download.macromedia.com/pub/opensource/cmap/</pre> +<p>[Resource/CMap/UniGB-UTF8-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniCNS-UTF8-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/UniGB-UTF16-H]</p> +</blockquote> + +<p><strong><a name="2010-05-15T094615.270585Z"></a> +2010-05-15T09:46:15.270585Z Ken Sharp</strong></p> +<blockquote> +<pre> +Add skeleton support for the Bitstream font engine. In its current form this only allows +for type 1 PostScritp fonts, CFF is trivial to add, as should be support for Bitstream's +own compressed format. Addition of type 42/TrueType fonts should be patterned after +FreeType, as there is support in Bitstream for a callback to provide TrueType +outlines. There is no such provision for PostScript fonts. + +To build; define BITSTREAM_BRIDGE=1 and BITSTREAM_ROOT="", the root should point one +level above the 'core' directory. In the current code this would be : +"/bitstream/FontFusion 4.5a SDK" +</pre> +<p>[psi/zfapi.c psi/ifapi.h psi/write_t1.c psi/int.mak psi/msvc32.mak psi/fapibstm.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T081759.395641Z"></a> +2010-05-15T08:17:59.395641Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +better way of defining SOC_LOADER when try ing to do "make -f base/unix-gcc.mak so"</pre> +<p>[base/unix-dll.mak base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T080646.613460Z"></a> +2010-05-15T08:06:46.613460Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The final part of trying to "ln -s base/unix-gcc.mak Makefile ; make so" work. + +There were some fundamental problems with the older version: The so target really +should be built in three distinct stages with three different FLAGS - the +utils (genarch, gechogs) executable part, the shared library part, and the two final +executable part. The library should be built with the shared-object flags, but neither +of the utils nor the final executables should be built with "-shared", since they are +executables and not libraries. Hope this is clear. + +There is also a little problem from SOC_LOADER not being defined if this file +is not used from ./configure's Makefile. + +</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T075816.778296Z"></a> +2010-05-15T07:58:16.778296Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +use CC_ instead of CC like everywhere else, to make the "so" target work</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T063020.380857Z"></a> +2010-05-15T06:30:20.380857Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +"-shared" is a linker flag and not a compiler (object code generation) flag; another piece of trying to make "make -f base/unix-gcc.mak" work</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T062741.486639Z"></a> +2010-05-15T06:27:41.486639Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +try to make 'make -f base/unix-gcc.mak so' work +When not run through ./configure, HAVE_CONFIG_H isn't defined and +the jbig2 codes drop through to generic unknown unix platform - so we put some +generic unix values here. + +</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-15T062335.840946Z"></a> +2010-05-15T06:23:35.840946Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +correct documentation on how make so should work - ./configure --enable-dynamic is required</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T033629.389869Z"></a> +2010-05-15T03:36:29.389869Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding new header dependencies from the recent remove-globals effort</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031349.664716Z"></a> +2010-05-15T03:13:49.664716Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding a needed include to silent a compiler warning introduced by the recent remove-globals effort</pre> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T031231.280935Z"></a> +2010-05-15T03:12:31.280935Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +another fix to bug 691306 +This was broken in r2746 (June 2002) which nobody has noticed for 8 years. +This code path is only used for 'make -f unixansi.mak' (very generic unix cc compiler). + +</pre> +<p>[base/gp_unifs.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030909.671905Z"></a> +2010-05-15T03:09:09.671905Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +generate tif_config.h if it is not there. part of fixes to bug 691306</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030653.120732Z"></a> +2010-05-15T03:06:53.120732Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about the vga devices being Linux specific</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T030554.250134Z"></a> +2010-05-15T03:05:54.250134Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +part of fix to bug 691306. + +These two devices has been broken since r2925 (DeviceN, August 2002), +but not built by default at all. They were blindly enabled in +unix-gcc.mak amongst the ESP merge from Till, and it would appear that +nobody has noticed since the merge (8.57-8.60) until now. + +</pre> +<p>[base/gdevl256.c base/gdevvglb.c]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025814.802157Z"></a> +2010-05-15T02:58:14.802157Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unixansi.mak to make "make -f base/unixansi.mak" work; another part for bug 691306</pre> +<p>[base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025722.770443Z"></a> +2010-05-15T02:57:22.770443Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +freetype2 dependency in base/unix-gcc.mak to make "make -f base/unix-gcc.mak" work; bug 691306</pre> +<p>[base/unix-gcc.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025530.474135Z"></a> +2010-05-15T02:55:30.474135Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about the default internal resolution for pdfwrite is 720dpi</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025408.145913Z"></a> +2010-05-15T02:54:08.145913Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +add documentation about how to force-embedding the basic 14 fonts</pre> +<p>[doc/Ps2pdf.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-15T025247.037525Z"></a> +2010-05-15T02:52:47.037525Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix an obvious typo in the makefile</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T164605.198340Z"></a> +2010-05-14T16:46:05.198340Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Added support to unix-gcc.mak and unixansi.mak to build/use libtiff +(also fixed some typos and made the device lists more similar). + +Note because of the FreeType code these files do not work with +the current head (they work with ghostscript-8.71). + +Fixes Bug 691301. + +</pre> +<p>[base/unix-gcc.mak base/unixansi.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T042314.678757Z"></a> +2010-05-14T04:23:14.678757Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +remove one extra tab introduced in r10994; non-GNU Make on Tru64 and HP-UX is picky. Bug 688184 and bug 691299</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-14T042029.682174Z"></a> +2010-05-14T04:20:29.682174Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +HP compiler quirk - apparently the same workaround is needed for SUN Pro C and GCC 1.x (see a few lines before this change) ; bug 688184</pre> +<p>[contrib/opvp/opvp.h]</p> +</blockquote> + +<p><strong><a name="2010-05-14T041842.997881Z"></a> +2010-05-14T04:18:42.997881Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +uint8_t type located in usual header on HP-UX needed for jbig2dec ; bug 688184</pre> +<p>[jbig2dec/os_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-14T041654.357328Z"></a> +2010-05-14T04:16:54.357328Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fix conflicting types against HP-UX system header in jasper; bug 688184</pre> +<p>[jasper/src/libjasper/include/jasper/jas_types.h]</p> +</blockquote> + +<p><strong><a name="2010-05-13T200808.900471Z"></a> +2010-05-13T20:08:08.900471Z Robin Watts</strong></p> +<blockquote> +<pre> +Nudge the windows solution/makefiles closer to supporting 64 bit builds +by defining WIN64 and amending makefiles to pass the define on through +recursive calls. + +</pre> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-13T164947.848287Z"></a> +2010-05-13T16:49:47.848287Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding NULL check before closedevice - bug report 691296 and patch from Tim Waugh. Thanks.</pre> +<p>[base/gdevbbox.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T085542.013750Z"></a> +2010-05-13T08:55:42.013750Z Ken Sharp</strong></p> +<blockquote> +<pre> +Changes only in white space, to provoke another regression test. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T083002.236776Z"></a> +2010-05-13T08:30:02.236776Z Ken Sharp</strong></p> +<blockquote> +<pre> +No changes, just an attempt to provoke some regression runs.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-13T080516.555333Z"></a> +2010-05-13T08:05:16.555333Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI interface +There is code in the FAPI interface for replacing a font's /FontBBox entry, this +sometimes has to create a new array to insert into the dictionary, if the old array is +not suitable for storing real values. + +The code to do this continued using ref_assign_old, as it had done for replacing the +values in an existing array. This appears to be incorrect, when created the refs in a +new array are uninitialised so attempting to use ref_assign_old tries to use +uninitialised data. + +Modified to use ref_assign_new instead, as indicated by the comments in store.h + +This *may* reduce some of the non-deterministic behaviour, possibly with files such +as ShadowText.eps +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T084416.052741Z"></a> +2010-05-12T08:44:16.052741Z Chris Liddell</strong></p> +<blockquote> +<pre> +Elimate an irksome compiler warning introduced in r11221</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-05-12T014318.946640Z"></a> +2010-05-12T01:43:18.946640Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding documentation about the -dDisableFAPI=true switch in various places</pre> +<p>[doc/Use.htm doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-11T220522.389565Z"></a> +2010-05-11T22:05:22.389565Z regression</strong></p> +<blockquote> +<pre> +The local cluster now tests the language switch build (ls). +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> +</blockquote> + +<p><strong><a name="2010-05-11T212119.118628Z"></a> +2010-05-11T21:21:19.118628Z Robin Watts</strong></p> +<blockquote> +<pre> +Add x64 platform target to Visual Studio projects. I can't +test it myself due to not having a 64bit Windows setup, +but it at least starts building and then falls over when +it tries to run a 64bit exe as part of the build process. + + + +</pre> +<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-05-11T210209.407086Z"></a> +2010-05-11T21:02:09.407086Z regression</strong></p> +<blockquote> +<pre> +Minor improvement to cluster node log collection code. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-11T204110.123188Z"></a> +2010-05-11T20:41:10.123188Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp was reporting the wrong page number for images, due to me forgetting +to increment the imagecount when images were loaded. Fixed here. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T172501.376580Z"></a> +2010-05-11T17:25:01.376580Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bugs 690356 and 690832: have the colour space object take a copy of string data associated with an indexed colour space lookup table. This prevents the colour space finalising code (gx_final_Indexed) freeing the contents of a Postscript object which may still be in use.</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T154421.967848Z"></a> +2010-05-11T15:44:21.967848Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI) +The PDF interpreter, when a font is missing, and it has the 'small caps' flag set, +creates a substitute by altering the CharStrings of the substitute font, replacing +the lower case glyph CharStrings with procedures which 'show' the upper case glyph at a +reduced size. + +This ends up in the FAPI code as a t_mixedarray type which was being missed by the check +for a t_array, added previously to handle arbitrary procedures in a type 1 font. After +extending the check to include t_mixedarray it was clear that the SEAC processing was +also messing up the dictionary lookup, so it was necessary to restore a value which +had been overwritten in case a SEAC turned up. + +zero-length-font.pdf should now work as it does without FAPI, no other differences +expected. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T143432.672494Z"></a> +2010-05-11T14:34:32.672494Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise the UFST interface code for PCL/PXL and GS to work with the changes to eliminate global variables in the Artifex code base. + +NOTE: the UFST_REENTRANT configuration was broken, and still is (it has been since the creation of gxfapiu.[ch] files. To be resolved in the future. At this time, therefore, no build integrating UFST can be thread safe. + + +</pre> +<p>[/trunk/ghostpdl/pl/plulfont.c psi/fapiufst.c base/gxfapiu.c base/gxfapiu.h]</p> +</blockquote> + +<p><strong><a name="2010-05-11T132443.420456Z"></a> +2010-05-11T13:24:43.420456Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691249 - error caused by failing to initialise new member of +libctx that was previously a global. + +We now memset the contents of libctx to 0 after mallocing it, and then +explicitly set the non-zero/NULL/false values. This is safer long term as +it protects us from making the same mistake in future. + +</pre> +<p>[base/gslibctx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T124144.704781Z"></a> +2010-05-11T12:41:44.704781Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +replace "/*" by "<slash><star>" to avoid compiler warning about comments inside comment </pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T115510.416074Z"></a> +2010-05-11T11:55:10.416074Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Debug code for helping in debug of 689737. The pattern that is created is 1 bpp. With this code the pattern bit map is dumped for opening with photoshop as a raw 8bit image. The source of the problem appears to be incorrect creation of the pattern bit map when GraphicAlphaBits is set to greater than 1.</pre> +<p>[base/gxpcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-11T093516.657505Z"></a> +2010-05-11T09:35:16.657505Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (fonts) +Bug #691290 "new freetype code gives error /typecheck in definefont" + +When creating a Decoding from an Encoding array, treat null objects the same as /.notdef +(ie not encoded). + +No differences expected. +</pre> +<p>[Resource/Init/gs_fntem.ps]</p> +</blockquote> + +<p><strong><a name="2010-05-10T151725.103327Z"></a> +2010-05-10T15:17:25.103327Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FreeType) : illegal use of setcurrentpoint not handled as per Adobe. +Bug #691172, file type1-ce1_setcurrentpoint.ps + +The PostScript file includes a font which illegally uses setcurrentpoint to establish an +absolute x/y position. The spec is quite clear that this operator is *only* meaningful +when processing the results of an OtherSubr, so this usage is definitely illegal. + +Not only does it use setcurrentpoint but, unlike previous uses we have seen, it does not +simply establish 0,0 as the initial point, which can be safely ignored, it actually +uses it to displace the outline vertically. + +FreeType normally just puts two uninitialised variables on the stack, ignores the +setcurrentpoint and pops the two dummy values. Instead, we now push the current x and +y co-ordinates when we get a '0 callothersubr'. In setcurrentpoint we then use the +top two values on the stack to set the current point. This now works for the illegal +usage seen here, the previous illegal usage, and does not break well-formed fonts +which actually use the OtherSubrs to set the point. + +</pre> +<p>[freetype/src/psaux/t1decode.c]</p> +</blockquote> + +<p><strong><a name="2010-05-10T122909.676516Z"></a> +2010-05-10T12:29:09.676516Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Retry of fix for Bug 69048 (this one actually builds...) Again this should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/lib.mak base/gxpcmap.c base/gxdevmem.h base/gdevabuf.c base/gspaint.c]</p> +</blockquote> + +<p><strong><a name="2010-05-10T015742.574530Z"></a> +2010-05-10T01:57:42.574530Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Reversion to 11210 until I figure out what went wrong...</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-05-09T231059.799862Z"></a> +2010-05-09T23:10:59.799862Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 690487. This should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre> +<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T223046.926748Z"></a> +2010-05-08T22:30:46.926748Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update license headers of a few retaining files with AFPL header. +Bug 691285. +</pre> +<p>[Resource/Decoding/StandardEncoding Resource/Decoding/Latin1]</p> +</blockquote> + +<p><strong><a name="2010-05-08T212213.614092Z"></a> +2010-05-08T21:22:13.614092Z regression</strong></p> +<blockquote> +<pre> +Whitespace changes only. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-08T211223.981766Z"></a> +2010-05-08T21:12:23.981766Z regression</strong></p> +<blockquote> +<pre> +Minor changes to cluster software: + + Check svn commands for errors and retry. + + Gather individual logs and md5sums after each job is completed + rather than at the end of all jobs. +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-08T204725.658412Z"></a> +2010-05-08T20:47:25.658412Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Minor changes to the cluster software: + + Added a lock file to the clusterpull.sh task + Updated the documentation to explain how to temporarily disable a node. + +</pre> +<p>[toolbin/localcluster/clusterpull.sh toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-05-08T155646.469253Z"></a> +2010-05-08T15:56:46.469253Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Detect and break an infinite loop when some of the image data source are +at EOF, some are not, and the image code doesn't take more data. +Bug 691285. +</pre> +<p>[psi/zimage.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T095955.023824Z"></a> +2010-05-08T09:59:55.023824Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise a structure to silence a Coverity warning.</pre> +<p>[base/gdevpdfj.c]</p> +</blockquote> + +<p><strong><a name="2010-05-08T085757.923764Z"></a> +2010-05-08T08:57:57.923764Z Ken Sharp</strong></p> +<blockquote> +<pre> +Really, properly, silence the gcc compiler this time....</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T143008.276765Z"></a> +2010-05-07T14:30:08.276765Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix clist_band_height to use the macro defined in gxband.h as other code does to prevent future bitrot. Also use macros for the clist_ cfname, cfile, bfname, bfile.</pre> +<p>[base/gxclist.h]</p> +</blockquote> + +<p><strong><a name="2010-05-07T142318.978837Z"></a> +2010-05-07T14:23:18.978837Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix number of elements in the BAND_PARAMS_INITIAL initializer macro to correspond to the size of gx_band_params_t (needed since rev 5751).</pre> +<p>[base/gxband.h]</p> +</blockquote> + +<p><strong><a name="2010-05-07T121650.113521Z"></a> +2010-05-07T12:16:50.113521Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence some compiler warnings about not checking the return value from fread.</pre> +<p>[base/gdevpdf.c base/gdevpdfu.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T121247.989467Z"></a> +2010-05-07T12:12:47.989467Z Ken Sharp</strong></p> +<blockquote> +<pre> +Initialise the members of a local structure to silence a (spurious) compiler and +Coverity warning.</pre> +<p>[base/gdevpdte.c]</p> +</blockquote> + +<p><strong><a name="2010-05-07T081729.050795Z"></a> +2010-05-07T08:17:29.050795Z Ken Sharp</strong></p> +<blockquote> +<pre> +Silence a GCC compiler warning, no differences expected.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160427.459137Z"></a> +2010-05-06T16:04:27.459137Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove gs_debug_out global variable as it is never used. + +No differences expected or seen with local cluster testing. + +</pre> +<p>[base/bench.c base/gsmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160343.016324Z"></a> +2010-05-06T16:03:43.016324Z Robin Watts</strong></p> +<blockquote> +<pre> +Update overprint device to avoid writing back to 3 global variables +({generic,no,sep}_overptint_procs). We still have those global variables +but each instantiated device takes copies of them and does any writing back +into the copies. This is part of the work for bug 691207. + +No differences expected or shown by local cluster testing. + +</pre> +<p>[base/gsovrc.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T160028.103268Z"></a> +2010-05-06T16:00:28.103268Z Robin Watts</strong></p> +<blockquote> +<pre> +Move gs_interp_reschedule_proc, gs_interp_time_slice_proc, and +gs_interp_time_slice_ticks into context to avoid global variables as +part of the work for bug 691207. + +No differences expected or seen with local cluster testing. + +</pre> +<p>[psi/icontext.c psi/zcontext.c psi/icstate.h psi/interp.c]</p> +</blockquote> + +<p><strong><a name="2010-05-06T152510.815510Z"></a> +2010-05-06T15:25:10.815510Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (FAPI & FreeType) + +Bug #691284 "Error: /unknownerror in --.FAPIBuildChar" +The issue is caused because the PostScript file adds to an existing type 1 font a +CharString entry which is not in type 1 CharString format. I would have thought this +to be illegal but other PostScript interpreters (specifically Distiller) are happy +with it. + +Modifed the FAPI interface so that after retrieving a type 1, non-CID, CharString we +test to see if it is a procedure, if it is, then we return an error from the FAPI +code to the caller (in this case the FreeType interface). + +Modified the FreeType interface so that if the CharString retrieval returns an error +we return a specific (otherwise unused) error to the caller, in this case the +FreeType engine. On return from FreeType to the interface we test for the specific +FreeType error (FT_ERR_Invalid_File_Format) and if this is detected then instead of +returning an error to FAPI, we add one to the character index (to ensure it isn't 0) +and return that to FAPI. + +Finally, in the FAPI code, after 'rendering' the glyph, if we were returned a value +> 0 then we assume that 'something went wrong' with the CharString. As a last-ditch +effort we use the return value -1 to retrieve the CharString, and then 'exec' it. + +NB if we fail to retrieve the CharString at this level, we return an invalidfont error. + + +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p> +</blockquote> + +<p><strong><a name="2010-05-06T030441.737028Z"></a> +2010-05-06T03:04:41.737028Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix compilation errors on Visual C that wants "ui64" suffix instead of "ULL" +for "unsigned long long" numerals. +</pre> +<p>[base/sha2.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T203019.371369Z"></a> +2010-05-05T20:30:19.371369Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove 2 unused globals. These should have been removed as part of 11146. + +No differences expected. + +</pre> +<p>[psi/iinit.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T195805.790577Z"></a> +2010-05-05T19:58:05.790577Z regression</strong></p> +<blockquote> +<pre> +Minor changes to the local cluster: + +Report md5sum differences even in files that generate an error during processing. +Archive the email and log files for all revisions, including those which had compile errors. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-05T181421.583279Z"></a> +2010-05-05T18:14:21.583279Z Robin Watts</strong></p> +<blockquote> +<pre> +More work towards bug 691207 (global variable removal). + +There are 4 places is xps where we do eprintfs that access mem_err_print. +This resolves 1, the other 3 should never be called in files we support. + +Resolve 4 const warnings from jasper. + +Remove 2 calls to gs_lib_ctx_get_non_gc_memory_t from the cups driver. This +means the only places left calling this are devices in gs\contrib. + +Convert calls to errprint_nomem to calls to errprint (in gdevx.c, gxttb.c, +gdevupd.c) + +The only places using mem_err_print are therefore: + + * calls to debug printing functions + * devices in gs/contrib calling gs_lib_gtx_get_non_gc_memory, errprint_nomem, + and eprintf. + * jasper calling eprintf. + * gdevsco.c (but that seems intrinsically single threaded to me as only one + thing can be using the console at a time, presumably) + * signal handlers in os2 and iwatc for catching numeric exceptions. + * Various devices in gs/base still call errprintf_nomem - some in DEBUG only + code, but some not. + * The gs_throw_imp function. + +I think this may be as good as we can get at this point. + +No differences expected, or shown by local cluster testing. + +</pre> +<p>[/trunk/ghostpdl/xps/xpsfont.c base/gdevx.c base/gdevupd.c base/gxttfb.c cups/gdevcups.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-05-05T162549.238174Z"></a> +2010-05-05T16:25:49.238174Z Robin Watts</strong></p> +<blockquote> +<pre> +More work for bug 691207 (remove global vars). Change the gp_ interface and +all its implementations to pass a gs_memory_t in some cases to allow eprintf +calls to be made safely. + +Also fix a 'const' warning in pxl/pxfont.c and pcl/pcsymbol.c + +No differences expected, or shown by local cluster testing. + +</pre> +<p>[base/gp_os2.c base/gdevos2p.c base/gsdevice.c psi/zfile.c base/gp_os2pr.c base/gp_vms.c base/gdevwprn.c base/gxclfile.c base/gp_iwatc.c base/gp_os2.h base/gp_os9.c base/gdevwpr2.c /trunk/ghostpdl/pcl/pcsymbol.c /trunk/ghostpdl/xps/xpstop.c base/gp_unix.c /trunk/ghostpdl/psi/psitop.c base/gp_unifs.c base/gp.h base/gp_macio.c base/bench.c base/gdevpdf.c base/gp_os2fs.c /trunk/ghostpdl/pxl/pxfont.c base/gp_mswin.c base/gp_dvx.c]</p> +</blockquote> + +<p><strong><a name="2010-05-05T064720.379288Z"></a> +2010-05-05T06:47:20.379288Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 691164 "PDF loads blank when not Administrator on Vista using GS 8.7". + +The problem was in JasPer library. It tried to create temporary file in +current directory (HAVE_MKSTEMP), or root directory (Windows and others). +When those directories are read only, it failed to decode images. + +This patch introduces searching of TMPDIR, TEMP and TMP environment varibales +and use them for temporary files. + +Localcluster test reported no differences. + +</pre> +<p>[jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/include/jasper/jas_stream.h]</p> +</blockquote> + +<p><strong><a name="2010-05-05T030800.170436Z"></a> +2010-05-05T03:08:00.170436Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding --ldflags to cups.mak ; bug 690268</pre> +<p>[cups/cups.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-04T231146.700325Z"></a> +2010-05-04T23:11:46.700325Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Incoporate the reporter's suggested change to config.guess , bug 69020 + +It appears that the same change is already in automake-1.11 (and after 1.7), +so the change is correct. If we merge with upstream again, it is possible that +this might be overwritten. Hopefully when that happens, the config.guess from +newer upstream will have this change. +</pre> +<p>[jasper/acaux/config.guess]</p> +</blockquote> + +<p><strong><a name="2010-05-04T225233.245666Z"></a> +2010-05-04T22:52:33.245666Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +minor wording and grammar corrections. Bug 690005</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-04T190537.567635Z"></a> +2010-05-04T19:05:37.567635Z Robin Watts</strong></p> +<blockquote> +<pre> +A couple of calls to eprintf missed from the previous commit. + +No expected changes. + +</pre> +<p>[base/gsfcid.c]</p> +</blockquote> + +<p><strong><a name="2010-05-04T190451.514942Z"></a> +2010-05-04T19:04:51.514942Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Improved the localcluster readme instructions. +</pre> +<p>[toolbin/localcluster/readme]</p> +</blockquote> + +<p><strong><a name="2010-05-04T184712.330141Z"></a> +2010-05-04T18:47:12.330141Z Robin Watts</strong></p> +<blockquote> +<pre> +As part of the work for bug 691207 (remove global variables) we introduce +a new set of macros, "emprintfX". These do the same as the "eprintfX" +macros, except they take an explicit memory reference rather than using +the mem_err_print global. + +The plan is to move everything possible over to using emprintf, leaving +callers of eprintf as 'unsafe' in multithreaded builds. + +This review changes all callers of eprintf in ghostscript except: +gdevsco.c, gp_iwatc.c, gp_macio.c, gp_mswin.c, gp_os2.c, gp_os2pr.c, +gp_unifs.c, gp_vms.c, gsfid.c, contrib\*, jasper\*. + +1 instance in gzspotan.c remains unchanged, but it should never be used. + +Local cluster testing shows no build problems. + +</pre> +<p>[psi/fapi_ft.c base/gdevpdfj.c base/gsdevice.c base/gdevos2p.c psi/zfapi.c base/gdevijs.c base/gdevpdfm.c base/gdevpx.c base/gxclfile.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c psi/fapiufst.c base/gdevpdtf.c base/gdevpdfu.c base/gxblend1.c base/gspaint.c base/gdevxini.c base/gxcmap.c base/gxclthrd.c base/gdevpsdu.c base/gdevpdtt.c base/gstype42.c base/gdevpsft.c base/gsmisc.c base/gdevsgi.c base/gxclmem.c base/gxttfb.c base/std.h base/gslib.c base/gxtype1.c base/gzspotan.c psi/imainarg.c base/gdevpe.c base/gdevsun.c base/gdevxcmp.c psi/imain.c base/gsiorom.c base/gdevpdf.c base/gdevtsep.c contrib/japanese/gdevdmpr.c base/gxclrast.c base/gdevpdfi.c]</p> +</blockquote> + +<p><strong><a name="2010-05-04T160329.077971Z"></a> +2010-05-04T16:03:29.077971Z regression</strong></p> +<blockquote> +<pre> +Changed casper3.ghostscript.com to casper.ghostscript.com (no reason to test this, how can it possibly fail?). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-04T123427.748154Z"></a> +2010-05-04T12:34:27.748154Z Robin Watts</strong></p> +<blockquote> +<pre> +As part of the efforts towards bug 691207 (global variables must be removed) +this commit reduces the reliance on mem_err_print. + +Currently all calls to errwrite and errflush get the stdin/out/err details +from a global mem_err_print. For multithreaded gs this will result in output +going to the wrong place if any of them are redirected. This review splits +errwrite into 2 variants, errwrite and errwrite_nomem. The first takes an +explicit mem pointer. The second continues to assume a global one. + +The plan is to make everything possible use the first. Currently debugging +calls and some 'stubborn' devices continue to call errwrite_nomem. + +Local cluster testing shows no differences. + + +</pre> +<p>[base/gdevos2p.c base/gdevsppr.c base/gdevpdfm.c base/gdevsunr.c base/gdevpx.c base/gdevupd.c base/gdevimgn.c base/gdevwpr2.c base/ttfmain.c base/ttfoutl.h base/gp_unifs.c /trunk/ghostpdl/psi/psitop.c base/gdev4693.c /trunk/ghostpdl/xps/xpsfont.c base/strmio.c /trunk/ghostpdl/pxl/pxtop.c contrib/pcl3/src/gdevpcl3.c base/gsmisc.c base/gdevwddb.c base/gsargs.c base/szlibd.c /trunk/ghostpdl/pl/plmain.c base/gxttfb.c base/std.h base/gdevifno.c /trunk/ghostpdl/xps/xpscff.c /trunk/ghostpdl/pcl/pctop.c contrib/pcl3/eprn/gdeveprn.c base/gdevcdj.c psi/ziodevsc.c base/gdevx.c base/gslibctx.c contrib/pcl3/eprn/eprnparm.c toolbin/localcluster/run.pl base/gdevhl7x.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T165735.641421Z"></a> +2010-05-03T16:57:35.641421Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fix compiler warning (return from incompatible pointer type) +introduced with making the font cache part of the library context, +revision 11165. +</pre> +<p>[psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T164816.934577Z"></a> +2010-05-03T16:48:16.934577Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Applied Michael Constant's patch to support reading 256-bit AES encrypted PDFs +(bug #690702). + +Minor modifications were made to the original patch to make it work with the +current trunk. + +Aaron Gifford's SHA-2 implementation is included (BSD licensed). + +Libidn is added as an optional dependency to support unicode passwords. If it +is not installed, only ASCII passwords are supported. + + +</pre> +<p>[base/errno_.h psi/zfaes.c psi/gs.c base/saes.c base/lib.mak base/sha2.c doc/Use.htm base/saes.h base/Makefile.in psi/int.mak psi/zutf8.c base/sha2.h base/locale_.h psi/zpdfops.c psi/zfsha2.c psi/zwinutf8.c psi/winint.mak base/ssha2.c base/configure.ac Resource/Init/pdf_sec.ps psi/msvc32.mak base/ssha2.h]</p> +</blockquote> + +<p><strong><a name="2010-05-03T132552.802113Z"></a> +2010-05-03T13:25:52.802113Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) incorrect ToUnicode CMap. +Bug #691274 "Missing or incorrect ToUnicode when using Identity ordering" + +pdfwrite emits ToUnicode CMaps in PDF files which always use 2 bytes for the key +length. That is 0x21 is represented as <0021>, since these are hex strings there should +in fact be no difference between <21> and <0021>. It is clear from the ToUnicode +Mapping file tutorial that this is correct for mapping files. + +However, a PDF file is not a CMap file. It appears that Acrobat does not like +beginbfrange data which is padded with zeros (it seems happy with codespacerange and +destination codes which are 0 padded though). + +This patch outputs ToUnicode CMaps which are not padded with 0, ie 0x21 is emitted as +<0021>, for the srcCodeLo and SrcCodeHi parameters in a beginbfrange operation. The +destination codes remain zero-padded. + +Technically this would be incorrect for a real CMap file, but we don't write those +out so this should not be an issue. The change is limited to ToUnicode CMaps and does +not affect any other kind of CMap. + +I believe the change will affect the data emitted for the beginbfrange, +beginbfchar, begincidchar, beginnotdefchar, beginnotdefrange and begincidrange +operators. It does *not* affect the begincodespacerange operator; although Acrobat +Distiller writes this without zero padding tests show that Acrobat is happy reading +zero-padded code space ranges. + +ToUnicode information is not used in rendering PDF files, so regression testing should +show no differences. Local testing of a limited number of files doesn't reveal any +problems, but this change has not been well tested. +</pre> +<p>[base/gsfcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-05-03T041330.766321Z"></a> +2010-05-03T04:13:30.766321Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Fix unix so build regression; fixes regression from r9948 which was committed for bug 690695</pre> +<p>[base/unix-dll.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-03T035903.969165Z"></a> +2010-05-03T03:59:03.969165Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +fixes multiple jpeg devices listed in gs -h (bug 691176)</pre> +<p>[base/libtiff.mak]</p> +</blockquote> + +<p><strong><a name="2010-05-03T031434.052929Z"></a> +2010-05-03T03:14:34.052929Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Rewording build instructions for unix systems, and adding more warnings about +instructions for legacy old systems being deprecated; bug 691264. +</pre> +<p>[doc/Make.htm]</p> +</blockquote> + +<p><strong><a name="2010-05-02T001952.718987Z"></a> +2010-05-02T00:19:52.718987Z Robin Watts</strong></p> +<blockquote> +<pre> +Script to generate an html page that graphically show the differences +between local cluster regression run results between arbitrary revisions. + +Usage information given in file. Must be run on the cluster master machine +(i.e. casper). + + +</pre> +<p>[toolbin/localcluster/comparerevs.pl]</p> +</blockquote> + +<p><strong><a name="2010-05-01T232233.008186Z"></a> +2010-05-01T23:22:33.008186Z Henry Stiles</strong></p> +<blockquote> +<pre> +Continue work to remove globals (691207). The font cache is no longer +global but part of the library context. +</pre> +<p>[psi/isave.h psi/bfont.h base/gslibctx.c psi/zfcid0.c psi/zfcid1.c psi/zfont.c psi/zfont0.c psi/zfont1.c psi/zbfont.c psi/zusparam.c base/gslibctx.h psi/zfont32.c psi/zfont42.c psi/isave.c]</p> +</blockquote> + +<p><strong><a name="2010-05-01T092324.281883Z"></a> +2010-05-01T09:23:24.281883Z Ken Sharp</strong></p> +<blockquote> +<pre> +Modify the 'C' defaults of the pdfwrite device + +Bug #691259 "HPGL graphic followed by raster graphic results in incorrect pdf" +The pdfwrite device is initialised in 'C', and then partly overridden by PostScript +initialisation. The problem is that non-PostScript input does not (cannot) execute the +PostScript initialisation, and so the defaults are left as those done in 'C'. + +Not only do these defaults not match the documented defaults in ps2pdf.htm, they are +not particularly well selected. In this case the problem was caused by sending image +data at 150 dpi, but only a single scan line at a time. The default setting for +pdfwrite was to downsample image data to 72 dpi, this caused us to subsample (the +default downsampling) by a factor of more than 2, which led to our single scan line +becoming less than half a scan line, and so disappearing altogether. + +This patch addresses this issue by altering a number of the defaults to more sensible +values. In particular we disable downsampling and enable image compression for gray +and colour images. This has the fortunate result of making most PDF output files +smaller than before, even though we are now storing more image data. + +</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> + +<p><strong><a name="2010-05-01T015946.738263Z"></a> +2010-05-01T01:59:46.738263Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Check all PDF files for transparency features because some files have +incorrect version number but Acrobat renders them just fine. Bug 691273. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-30T155408.117709Z"></a> +2010-04-30T15:54:08.117709Z Ken Sharp</strong></p> +<blockquote> +<pre> +Testing a white space change for cluster regression tests, this will be overwritten later.</pre> +<p>[base/gdevpsdf.h]</p> +</blockquote> + +<p><strong><a name="2010-04-29T215134.733741Z"></a> +2010-04-29T21:51:34.733741Z Till Kamppeter</strong></p> +<blockquote> +<pre> +rev 11149 for fixing bug 691014 had still some compiler warnings. This rev fixes them. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-29T183244.398974Z"></a> +2010-04-29T18:32:44.398974Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove the 'parent' parameter from gs_malloc_init calls. It only serves to +allow libctx's to be shared between instances, and we'll never want to do +that. It's unused at the moment anyway, so this doesn't impact anything. + +No expected differences. + +</pre> +<p>[psi/gs.c base/gsinit.c base/gslib.c base/gsmalloc.c /trunk/ghostpdl/pl/plalloc.c psi/iapi.c base/gsmalloc.h]</p> +</blockquote> + +<p><strong><a name="2010-04-29T041915.713592Z"></a> +2010-04-29T04:19:15.713592Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +Doubling the arbitrary 0x100000 alloc size limit; the alloc_size_is_ok() check is +complied out and replaced with DO_NOTHING in release build so this has effect only +on debug builds. Fixes Bug 691271 . + +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T231901.308642Z"></a> +2010-04-28T23:19:01.308642Z Robin Watts</strong></p> +<blockquote> +<pre> +Eliminate some warnings in gxcht.c (keep shifts < size of uint). + +No local cluster differences reported, or expected. + +</pre> +<p>[base/gxcht.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T223701.089543Z"></a> +2010-04-28T22:37:01.089543Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixed segfaults caused by setting and changing the page geometry parameters incorrectly (bug #691014). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T215729.180527Z"></a> +2010-04-28T21:57:29.180527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Associate cached font instance with PDF font resource dictionary instead of +font descriptor. The latter may be shared by font resource dictionaries with +different encodings causing incorrect rendering. Bug 690714. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-28T202441.808400Z"></a> +2010-04-28T20:24:41.808400Z Robin Watts</strong></p> +<blockquote> +<pre> +Move op_array_table_global and op_array_table_local away from being +globals and into i_ctx_p. This requires various knock on changes +throughout the code to enable them to be recovered from the context +(which may itself need to be recovered from a memory pointer). + +Also, the garbage collection is altered slightly; rather than the +op_arrays being special cased (as special objects that have to have +their component parts registered as roots for the garbage collection) we +move them inline into i_ctx_t and amend the gc routines for that +structure. Thanks to Alex for his help with this. + +No differences expected, or shown with local cluster testing. + +</pre> +<p>[psi/iinit.c psi/icontext.c psi/imain.c psi/idebug.c psi/icstate.h psi/interp.c psi/igc.c psi/opdef.h psi/zmisc.c psi/iutil.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T201940.848310Z"></a> +2010-04-28T20:19:40.848310Z Robin Watts</strong></p> +<blockquote> +<pre> +Simple fix to remove dict_default_pack from being a global bool. +(Make it an enum instead). + +No changes expected or shown by local cluster testing. + +</pre> +<p>[psi/idict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T171852.709002Z"></a> +2010-04-28T17:18:52.709002Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that multiplication gets applied prior to type casting.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T144102.575217Z"></a> +2010-04-28T14:41:02.575217Z Robin Watts</strong></p> +<blockquote> +<pre> +Add missing cast to fapi_ft.c to quiet a warning. This was missed out of +yesterdays commit of such fixes. + +No expected diffs. + +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-28T114024.316225Z"></a> +2010-04-28T11:40:24.316225Z Robin Watts</strong></p> +<blockquote> +<pre> +Small tweaks to Ghostscript initialisation to check for malloc failures etc. +This would very rarely have been a problem in current code, but would be +more of an issue in multithreaded operation as running out of memory +while forking a new instance is more likely. + +No expected differences, but the local cluster code seems to be claiming +differences for an unchanged tree at the moment, so if 3 or so non-pdfwrite +errors and 1800ish pdfwrite errors show up, it's not because of this. + +</pre> +<p>[psi/gs.c psi/imain.c base/gsmalloc.c psi/iapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T160605.631664Z"></a> +2010-04-27T16:06:05.631664Z Chris Liddell</strong></p> +<blockquote> +<pre> +Add back in a call removed in (a merging) error in my previous commit (11137).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T145314.939131Z"></a> +2010-04-27T14:53:14.939131Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bug 691260: make the FAPI and Freetype related warning messages debug only, and depend on -Zm for the FAPI warnings or -Z1 for the Freetype warnings. Also address compiler warnings in fapi_ft.c.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T142708.849186Z"></a> +2010-04-27T14:27:08.849186Z Robin Watts</strong></p> +<blockquote> +<pre> +Silence some warnings, either by including new headers or by introducing +explicit casts. + +No differences shown by local cluster testing (of pcl and gs only as xps is +currently broken). + +</pre> +<p>[base/gxdcconv.c base/gsptype1.c base/gdevpx.c base/gstrans.c base/gdevrinkj.c base/gxfill.c base/gxstroke.c psi/zmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-27T095626.779813Z"></a> +2010-04-27T09:56:26.779813Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Made the CUPS Raster output device working in a multi-threaded mode, removing all global variables. Thanks to James Cloos for the patch. Fixes bug #691241. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-26T152928.937213Z"></a> +2010-04-26T15:29:28.937213Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remember the allocator in the dynamically allocated scanner_state to ensure +proper deallocation. Current allocation may be reset when a PS error occurs. +Bug 691167. +</pre> +<p>[psi/ztoken.c psi/iscan.c psi/iscan.h]</p> +</blockquote> + +<p><strong><a name="2010-04-26T090435.569612Z"></a> +2010-04-26T09:04:35.569612Z Chris Liddell</strong></p> +<blockquote> +<pre> +Ensure that the BuildChar object is not the null object before trying access its contents. +</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-26T055846.519692Z"></a> +2010-04-26T05:58:46.519692Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Change so that when a graphic state is restored, the overprint compositor action only occurs if there is a change from the current overprint state. This fixes a problem in one of the files associated with bug 691014. In the particular file, overprint compositor actions were getting placed into a pattern clist. The file in fact had no overprint settings. Ran regression test, no differences expected.</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T234756.048527Z"></a> +2010-04-25T23:47:56.048527Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add ANSI/ASME Y14.1 A - F paper sizes named ANSI_A - ANSI_F for completeness. +Bug 691217. +</pre> +<p>[Resource/Init/gs_statd.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-25T224548.099475Z"></a> +2010-04-25T22:45:48.099475Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Minor clean-ups: Added some parantheses to casts and initialized allocated memory. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T223209.854994Z"></a> +2010-04-25T22:32:09.854994Z Michael Vrhel</strong></p> +<blockquote> +<pre> +(empty)</pre> +<p>[base/gximono.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T215242.447453Z"></a> +2010-04-25T21:52:42.447453Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Introduced a real get_color_comp_index() method, to fix bug #690338 correctly. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-04-25T184728.775496Z"></a> +2010-04-25T18:47:28.775496Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add -dNONATIVEFONTMAP option to disable the use of font map and corresponding +fonts installed on underlying platform. This may be needed to ensure consistent +rendering on the platforms with different fonts, for instance, +during regression testing. Bug 691240. +</pre> +<p>[doc/Use.htm Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-25T004140.540207Z"></a> +2010-04-25T00:41:40.540207Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix for Bug 691014. Problem was caused by the fact that we had a soft mask present and a pattern with no transparency. This means the PDF14 device is installed and more importantly that transparency state pushes and pops occur to keep the softmask in sync with the graphic state. This particular files pattern is installed as a clist, which happens to not have any transparency. The transparency state pushes and pops were getting placed into the pattern clist when the Q and q operations occurred in the pattern, which was causing problems since the pattern clist device had no pdf14 device installed to handle such commands. + +The solution is to check, when a transparency compositor action is to occur, if the current device is a pattern accumulator or a pattern-clist device. If it is, then the pattern instance is checked to see if it has transparency. If it does not, then the transparency state chance is ignored. This all occurs on the clist writing phase in the gs_trans functions. + +In addition, a fix was made so that the pdf14custom device sets up it's color information correctly. For subtractive devices that do not have cmyk process colorants the custompdf14 device is installed. This pdf14 device was obtaining its color_info from the target device. The pdf14 device must be continuous tone even if the target device is not. + +Ran a regression test and saw no differences.</pre> +<p>[base/gdevp14.c base/lib.mak base/gstrans.c]</p> +</blockquote> + +<p><strong><a name="2010-04-24T222126.893815Z"></a> +2010-04-24T22:21:26.893815Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Remove rudimentary code that maps out-of-range character codes to 0 causing +dictionary overflow in some cases. Unlike earlier array, dictionary +representation of 'cmap' table doesn't need this. Bug 691253, customer 780. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-23T125600.372874Z"></a> +2010-04-23T12:56:00.372874Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build. +</pre> +<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/psi/psitop.c psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-23T041050.732099Z"></a> +2010-04-23T04:10:50.732099Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Fix of minor memory leak found by Ray. maskbuf entry of transparency ctx object was not getting freed. The large mask buffer, which is a member variable of maskbuf was getting freed but not this 12 byte structure. No expected differences.</pre> +<p>[base/gdevp14.c]</p> +</blockquote> + +<p><strong><a name="2010-04-23T032533.581070Z"></a> +2010-04-23T03:25:33.581070Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Always load CFF font as a CIDFont when it is used as a descendant font of a +composite font in PDF file. Bug 691253. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-22T122816.186930Z"></a> +2010-04-22T12:28:16.186930Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Trap errors that happen in the font reader, issue a warning, and proceed as +if the font was not embedded. Bug 691242. +</pre> +<p>[Resource/Init/pdf_font.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-22T042000.389442Z"></a> +2010-04-22T04:20:00.389442Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't use precompiled headers on MSVC 6 and 7 because it causes compilation +error C2006 in freetype, which uses #include MACRO . +</pre> +<p>[base/msvccmd.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-21T195107.227636Z"></a> +2010-04-21T19:51:07.227636Z Robin Watts</strong></p> +<blockquote> +<pre> +Add missing header file from revision 11097. + +</pre> +<p>[base/gdevpdtd.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T192613.171574Z"></a> +2010-04-21T19:26:13.171574Z Robin Watts</strong></p> +<blockquote> +<pre> +Revert macro magic from gserror.h introduced in r11097, due to it being +broken when used as an expression. Sorry. + +</pre> +<p>[base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T181256.928835Z"></a> +2010-04-21T18:12:56.928835Z Robin Watts</strong></p> +<blockquote> +<pre> +Another set of very simple tweaks to a range of source files to remove +warnings. Nothing contentious in here I hope! + +base/gdevpdf.c: Make the fact we're ignoring the return value of fread +explicit by casting to void. + +base/gdevsj48.c: Remove unused var. + +base/gdevtknk.c: Avoid gcc warning by not needlessly assigning within +expression. + +base/gdevimgn.c: Fix type declaration, make function static. + +base/gxdcolor.c: Remove unused var. + +base/gdevwts.c: Comment out unused function, cast unused return value from +fread to void, remove unused vars. + +base/gdevo182.c: Be more explicit in type definition to stop warning. + +base/gdevlp8k.c: Remove unused var. + +base/gdevpdfu.c: Cast unused return value from fread to void. + +base/gdevlbp8.c: Cast unused return value from fread to void. + +base/gdevokii.c: Explicit cast to int to shut up stupid compiler. + +base/gdevpdtd.c: Add const to arg to avoid warning. + +base/gserror.h: Do some macro magic to ensure that the macro always evaluates +it's arg strictly once, insists on being followed by a semicolon, and behaves +well with surrounding if/else structures etc. + +base/gxp1fill.c: Remove unused var. + +</pre> +<p>[base/gdevlbp8.c base/gdevtknk.c base/gdevsj48.c base/gdevo182.c base/gdevpdf.c base/gdevimgn.c base/gdevokii.c base/gdevpdtd.c base/gxdcolor.c base/gdevwts.c base/gdevlp8k.c base/gdevpdfu.c base/gxp1fill.c base/gserror.h]</p> +</blockquote> + +<p><strong><a name="2010-04-21T175508.584502Z"></a> +2010-04-21T17:55:08.584502Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for a problem in the rinkj driver for Epson Stylus Photo 2200. +The code was accessing indexes 4,5,6 in plane_offsets[6] and hence was +running off the end of the array. This was causing a warning at compile time +but never caused a segv as it was merely corrupting the next entry in the +structure which was reset to 0 shortly afterwards. + +Presumably the offset for one of the planes would be wrong though causing +a loss of quality. + +</pre> +<p>[base/rinkj/rinkj-epson870.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T172331.243056Z"></a> +2010-04-21T17:23:31.243056Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove several occurrences of calls to gs_lib_ctx_get_non_gc_memory_t(). +The only code that now needs this is gp_macpoll.c and gp_mspol.c for when +CHECK_INTERRUPTS is defined. This reduces the need for mem_err_print. + +The only other code that uses mem_err_print is errflush() and errwrite(). +Potentially these could be nobbled for a multithreaded build. + +The changes here rely on the memory pointers being set up correctly. While +local cluster testing gives this a clean bill of health, it's possible that +problems will appear with files in the wider world - we'll just have to fix +these as they are reported. + +</pre> +<p>[base/gdevjpeg.c base/sjpx_luratech.c base/strmio.c base/gxttfb.c psi/zfdctd.c base/sdctc.c psi/zfdcte.c psi/zfjpx.c base/sjpx.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T150847.471495Z"></a> +2010-04-21T15:08:47.471495Z Robin Watts</strong></p> +<blockquote> +<pre> +Move CPSI_mode from being a global to living in the libctx, as part of the +efforts for bug 691207 (remove global variables). + +I originally tried moving CPSI_mode into the imager state, which would have +been slightly nicer, but had to abandon this due to problems interacting +with the command list code. My first thought to make this work was to +push the value of CPSI_mode into the clist at initial clist creation time. +As the setting of CPSI_mode isn't vectored through the device, we can't +detect changes in its setting, but then changing CPSI_mode during the +lifespan of a clist would give unpredictable results anyway in many cases. + +Sadly this was doomed to failure as if a page device is started up that +uses the clist code to do banding, then the command list is created before +CPSI_mode is enabled, and we'd operate with the incorrect value. + +Moving CPSI_mode into libctx means we keep exactly the same behaviour as +we have now. This has required various functions throughout the code to +pass a gs_memory_t * around. + +Localcluster testing reveals no problems. + +</pre> +<p>[psi/zfunc3.c psi/zupath.c base/gsdps1.c base/gdevdevn.c base/gxblend1.c base/gspaint.c base/gxstroke.c psi/zmisc.c base/gdevperm.c base/gxdcconv.c base/gdevpsds.c base/gxcmap.c base/gxdcconv.h psi/zfont.c base/gdevrinkj.c base/gdevbit.c base/gsmisc.c base/gxfill.c base/gdevxcf.c base/gxicolor.c base/gdevpsd.c psi/zimage.c base/gsfont.c contrib/opvp/gdevopvp.c base/gsfont.h base/gsstate.c base/gslibctx.c base/gsstate.h psi/zcharx.c psi/zusparam.c base/gslibctx.h base/gsequivc.c psi/zchar.c]</p> +</blockquote> + +<p><strong><a name="2010-04-21T072014.808042Z"></a> +2010-04-21T07:20:14.808042Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for a regression introduced by r11074 (bug 690094). + +As I changed image number to be incremented when 'exflag' is false, +the problem of 'exrunlength' when SDHUFF == 1 was unveiled. +This fixes it. +JBIG2 images with SDHUFF == 1 should have been having trouble +between r11074 and this revision. No other difference expected. + +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-20T185236.186732Z"></a> +2010-04-20T18:52:36.186732Z Robin Watts</strong></p> +<blockquote> +<pre> +A series of tiny changes to various files to stop compiler warnings. +Nothing contentious in here, so I hope component owners don't object. + +psi/zpdfops.c: Make zpdfinkpath function static. + +psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note. + +psi/zicc.c: Remove 2 unused variables from a function. + +psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB +might be used uninitialised' warning. Remove out of date comment and make +zswapcolors static. + +psi/zfcid1.c: Convert some unused variables to comments. + +base/gp_unix_cache.c: Make the fact we are ignoring the return value from +fread explicit by casting to void. + +base/gstype42.c: Move an unused var into a #if 0 section, comment out an +unused function. + +base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used +without definition). + +base/gxshade6.c: Remove unused function + +base/gxclfile.c: Make the fact we are ignoring the return value to freopen +explicit by casting to void. + +</pre> +<p>[base/gxshade6.c psi/zcolor.c psi/zicc.c psi/zcie.c base/gp_unix_cache.c base/gxclfile.c base/gstrans.c base/gstype42.c psi/zfcid1.c psi/zpdfops.c base/echogs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T161513.462842Z"></a> +2010-04-19T16:15:13.462842Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Made oog_encode in tif_luv.c reentrant by precalculating oog_tables. + +oog_tables was calculated on-demand when writing TIFF files in LogLuv Encoding. +Since it didn't depend on anything dynamic, I replaced this code with a static +const array. The array only consisted of 100 ints - the net library size +actually went down a few bytes after this change. + +This is part of bug #691207 (global variables must be removed). + +</pre> +<p>[tiff/libtiff/oog_table.h tiff/libtiff/tif_luv.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T115627.260655Z"></a> +2010-04-19T11:56:27.260655Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Removed global variables in libtiff's tif_pixarlog.c. + +This is part of #691207 (global variables must be removed). + +</pre> +<p>[tiff/libtiff/tif_pixarlog.c]</p> +</blockquote> + +<p><strong><a name="2010-04-19T094714.697946Z"></a> +2010-04-19T09:47:14.697946Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Removed TIFFReassignTagToIgnore in the local libtiff copy. + +It wasn't reentrant due to static variables and has been deprecated for a while +now. GhostScript does not use it at all. Libtiff HEAD also has this function +removed, it was only kept in 3.x for backwards compatibility. + +</pre> +<p>[tiff/libtiff/tif_dir.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T185800.960218Z"></a> +2010-04-15T18:58:00.960218Z Robin Watts</strong></p> +<blockquote> +<pre> +New Visual Stdio project file for building ufst version of ghostscript. + +Currently assumes that the ufst code will be found in C:\ufst, but this can +be edited in the nmake invocation lines within the Project settings. + +</pre> +<p>[ghostscript-ufst.vcproj]</p> +</blockquote> + +<p><strong><a name="2010-04-15T184131.569934Z"></a> +2010-04-15T18:41:31.569934Z Robin Watts</strong></p> +<blockquote> +<pre> +Update msvc32.mak with various ufst make targets. This allows a +ghostscript-ufst Visual Studio project to be constructed. + +No differences to existing builds. + +</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-15T171330.072845Z"></a> +2010-04-15T17:13:30.072845Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove invalid_file_stream and invalid_file_entry global variables, +as part of the effort for bug 691207 (remove global variables). + +We move invalid_file_stream to be a non-gc chunk allocated to be in +i_ctx_t, and invalid_file_entry can then be replaced by +i_ctx_p->invalid_file_stream. The only tricky bits are a) the need to ensure +that i_ctx_p is available everywhere where it is needed, and b) making sure +that invalid_file_stream doesn't move when i_ctx_p is relocated. + +No changes shown by localcluster testing (though a previous version of the +patch did fail during gc, so the relavent code is getting tested). + +</pre> +<p>[psi/zfile.c psi/ztoken.c psi/zcontrol.c psi/zshade.c psi/zcontext.c psi/zfcid0.c psi/zfcid1.c psi/zicc.c psi/zfrsd.c psi/icontext.c psi/zvmem.c psi/ziodev.c psi/zfileio.c psi/interp.c psi/icstate.h psi/files.h]</p> +</blockquote> + +<p><strong><a name="2010-04-15T161310.848189Z"></a> +2010-04-15T16:13:10.848189Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Backported and applied libtiff patches from libtiff bugs #2125 and #2125. +These get rid of some of the global variables in libtiff (in particular +rgb_refblackwhite and whitepoint in tif_aux.c). + +This is part of the multi-threaded gs effort (bug #691207). + +</pre> +<p>[tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_aux.c tiff/libtiff/tif_dir.c tiff/man/TIFFGetField.3tiff tiff/libtiff/tif_dir.h tiff/libtiff/tif_ojpeg.c tiff/libtiff/tif_jpeg.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T144836.373936Z"></a> +2010-04-15T14:48:36.373936Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691244, reported/patch supplied by Norbert Janssen. In +revision 11045, I'd moved some globals into the libctx, which is +accessed via the gs_memory_t pointer. This has required certain +functions to now take a gs_memory_t pointer as an extra arg. In +this particular case the gs_memory_t pointer in question could be +NULL. The fix is to use one obtained from gs_lib_ctx_get_non_gc_memory_t, +a call to which happens conveniently to be on the previous line. + +gs_lib_ctx_get_non_gs_memory_t is going to be painful to remove later on, +but at least this fix gets us up and running again now. + +No expected differences. + +</pre> +<p>[base/strmio.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T095333.313864Z"></a> +2010-04-15T09:53:33.313864Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 690094, "missing letters replaced by little vertical lines". + +This problem was in jbig2dec function jbig2_decode_symbol_dict(). +The image number was not incremented correctly when it built +symbol dictionary. +No difference expected, other than JBIG2 pdf files suffered by +this problem. +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-15T083048.171463Z"></a> +2010-04-15T08:30:48.171463Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve a Freetype build problem on Mac - solution suggested by Tor and Henry. + +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-14T192956.362613Z"></a> +2010-04-14T19:29:56.362613Z Robin Watts</strong></p> +<blockquote> +<pre> +Update the clist band list compressor code to work without using global +variables as part of the workd for bug 691207 (remove global variables). + +The old code used to call a function to read an initialise global structure, +then based on that allocate storage and copy the structure into it. The new +code essentially does 2 calls; one that serves to get the size, and another +that serves to initialise the newly allocated structure. + +To facilitate testing, this introduces a new TEST_BAND_LIST_COMPRESSION +define. If built with this as a define, the code sets the compression +threshold to 1K, thus forcing the use of compression. A local cluster +push with this in reveals just one problem, and that seems to be in the +existing code whereby inflateEnd can be incorectly called on a NULL derived +pointer. A fix for that is included too. + +No expected differences. + +</pre> +<p>[base/gxcllzw.c base/gxclmem.c base/lib.mak base/gxclzlib.c base/gxclmem.h base/szlibd.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T162511.391305Z"></a> +2010-04-14T16:25:11.391305Z Chris Liddell</strong></p> +<blockquote> +<pre> +Reverse the previous build options for Freetype integration: now --disable-freetype for configure on Unix type systems or pass FT_BRIDGE=0 to nmake on Windows if you do not want to integrate Freetype. +</pre> +<p>[base/configure.ac psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-04-14T160329.953276Z"></a> +2010-04-14T16:03:29.953276Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType FAPI +No bug for this (probably should be). Noticed while testing that using a TrueType to +replace a missing CIDFont (ie entry in cidfmap) was rendering the wrong glyphs, and +applying a vertical advance. + +The incorrect glyph seems to be because we were incorrectly stating that the character +index was not a glyph ID, which it is in this case. + +The second problem was more difficult. FreeType manufactures vertical advance metrics +for all TrueType glyphs, we override those in the incremental interface callback, but +when the TT is a CIDFont on disk, we don't use the incremental interface and so have +no opportunity to override the metric. + +Addressed this by checking in load_glyph to see if the current font is not type 1 +(ie its TT), *is* a CIDFont, and is not a vertical font (WMode is 0). In this case +we simply override the vertical advance and maek it 0. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T141119.891045Z"></a> +2010-04-14T14:11:19.891045Z Robin Watts</strong></p> +<blockquote> +<pre> +Move real_time_0 from being a static variable in zmisc.c to being an entry +int libctx. Instead of initialisation happening in zmisc it now happens in +gslibctx.c. Part of the effort for bug 691027 (remove global vars). + +This variable isn't strictly speaking necessary, but apparently some FTS +tests behave better if realtime starts from 0, and it isn't a big problem. + +No differences shown in localcluster testing. + +</pre> +<p>[base/gslibctx.c base/gslibctx.h psi/zmisc.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T100331.189133Z"></a> +2010-04-14T10:03:31.189133Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +a few more comments about some microsoft CJK fonts</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-14T023158.209185Z"></a> +2010-04-14T02:31:58.209185Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fixed jbig2dec command getopt() parameter for -v option. Not used by ghostscript itself but worth for standalone debugging.</pre> +<p>[jbig2dec/jbig2dec.c]</p> +</blockquote> + +<p><strong><a name="2010-04-14T022616.603254Z"></a> +2010-04-14T02:26:16.603254Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fixed an indent. No influence on code.</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T145216.370358Z"></a> +2010-04-13T14:52:16.370358Z Henry Stiles</strong></p> +<blockquote> +<pre> +Gets rid us of 2 global variables in jasper (jas_image_numfmts and +jas_image_fmtinfos). In so doing we take the liberty of simplifiying +jasper's startup. The configured codecs (we only use 2: jpc and jp2) +were set at compile time anyway so the the methods to "add formats" +and "clear formats" have been replaced with a static table. + +</pre> +<p>[jasper/src/appl/imgcmp.c jasper/src/appl/jasper.c jasper/src/appl/imginfo.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/include/jasper/jas_image.h]</p> +</blockquote> + +<p><strong><a name="2010-04-13T142959.699580Z"></a> +2010-04-13T14:29:59.699580Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove BITTAG global variable by moving it into the libctx, as part of +efforts towards bug 691207 (multithreaded gs). This has required several +accessor functions to gain gs_memory_t * arguments. + +No differences expected, or shown by localcluster testing. + +</pre> +<p>[base/gsnamecl.c base/gsutil.h base/gslibctx.c base/gdevbit.c base/gslibctx.h base/gsutil.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T130654.792469Z"></a> +2010-04-13T13:06:54.792469Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +A prior update which re-initialised a glyph index to prevent old Metrics override +values persisting after a glyph was discarded did not check the ft_inc_int member of +the 'FF_face' structure before dereferncing it, leading to a potential crash if the +font was not incrementally loaded. + +The code now checks the value before attempting to dereference the pointer. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T125040.024266Z"></a> +2010-04-13T12:50:40.024266Z Ken Sharp</strong></p> +<blockquote> +<pre> +Modify FAPI support files +Moved FAPIConfig, FAPIcidfmap and FAPIfontmap from the 'lib' directory to the +'Resource/Init' directory, so that they get built in when COMPILE_INITS=1. + +Also modified gs_fapi.ps to contain default values for the contents of FAPIConfig which +map all fonts to the FAPI engine (FreeType for now). Modified FAPIConfig so that the +usual contents are commented out. This should allow the possibility of overriding the +default values by putting new values in FAPIConfig. +</pre> +<p>[lib/FAPIcidfmap lib/FAPIfontmap lib/FAPIconfig Resource/Init/FAPIcidfmap Resource/Init/FAPIfontmap Resource/Init/FAPIconfig Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-13T121542.067350Z"></a> +2010-04-13T12:15:42.067350Z Robin Watts</strong></p> +<blockquote> +<pre> +Move global variables from gshtscr.c (screen_accurate_screens, +screen_min_screen_levels, screen_use_wts) into libctx. This has +meant updating the functions to read/write these to take a +gs_memory_t pointer too. Part of the efforts for bug 691207. + +No differences shown by localcluster testing. + +</pre> +<p>[base/gshtscr.c base/gxht.h psi/zusparam.c base/gslibctx.h base/gsht.c base/gsht1.c psi/zht.c psi/zht2.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T095008.611008Z"></a> +2010-04-13T09:50:08.611008Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A fix for 691081, 691206, and part of 690094. + +From r9769, jbig2dec wasn't capable of decoding some JBIG2 files and throwing a error "jbig2dec FATAL ERROR runlength too large in export symbol table (XXX > XX - XX) (segment 0xXX)". +This was caused by accidentaly bound checking export symbol table size with number of non-export symbol. This fixes it. +No differences expected, other than JBIG2 files suffered from this problem. +</pre> +<p>[jbig2dec/jbig2_symbol_dict.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T093822.017180Z"></a> +2010-04-13T09:38:22.017180Z Chris Liddell</strong></p> +<blockquote> +<pre> +Minor revision to FAPI code to better ensure GS errors in callbacks survive through the font renderer library.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-04-13T032558.022387Z"></a> +2010-04-13T03:25:58.022387Z Henry Stiles</strong></p> +<blockquote> +<pre> +Make the CIESpaces array and its elements constant so it is not +confused with global modifiable data. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-04-12T104443.428786Z"></a> +2010-04-12T10:44:43.428786Z Chris Liddell</strong></p> +<blockquote> +<pre> +Remove the hardcoded identity matrix in the Type 1 serialization code in favour of the new FAPI call allowing the interface code to dictate the matrix to be used.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-10T093554.039788Z"></a> +2010-04-10T09:35:54.039788Z Ken Sharp</strong></p> +<blockquote> +<pre> +Remove extraneous debug statement in revision 11050.</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-10T092850.393011Z"></a> +2010-04-10T09:28:50.393011Z Ken Sharp</strong></p> +<blockquote> +<pre> +FAPI Enhancement +We need a way in the initial release where we set FreeType as the default font scaler to +switch it off and revert back to the Ghostscript internal font scaler, in case there +are significant problems. Bug #691237 + +This allows the user to either send PostScript or set a command line value to create +a key called DisableFAPI, if the value is true then FAPI will no longer be active, and +so the GS font scaler will be used. + +Can also be set with -dDisableFAPI=true at the command line. +</pre> +<p>[Resource/Init/gs_fapi.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-09T182238.657773Z"></a> +2010-04-09T18:22:38.657773Z regression</strong></p> +<blockquote> +<pre> +Fixed a recently introduced bug in the cluster that caused gs head to +be used when compiling GhostPCL/GhostXPS even if a previous revision +should have been used (as is the case when two or more commits occur +while the cluster is busy). +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-04-09T174920.410599Z"></a> +2010-04-09T17:49:20.410599Z regression</strong></p> +<blockquote> +<pre> +Minor tweaks/improvements to the cluster code: + +Fixed bug which occasionally left jobs running on macpro. + +Clusterpush.pl when run with user==mvrhel now compares to icc_work branch. + +Report all icc_work branch errors (not just new ones). + +Collect time to run information. + +No longer cache mupdf results. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-04-09T145126.314389Z"></a> +2010-04-09T14:51:26.314389Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix UFST and enhance FAPI +Define a new API call for FAPI to allow font engines to replace a FontMatrix. This is +to allow FreeType to replace the FotnMatrix with the identity as it makes the 2-step +scaling performed by FreeType simpler. + +Modified compute_em_scale so that it uses the new API call instead of blindly replacing +the FontMatrix. + +Restored the calculation in FAPI_do_char which unwinds the FontMatrix from the CTM +when calculating the scale factor. Use the new API call to retrieve the desired +FontMatrix rather than pulling it directly from the font as before. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p> +</blockquote> + +<p><strong><a name="2010-04-09T081356.362732Z"></a> +2010-04-09T08:13:56.362732Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix Bug #691180 +This alters the described 'odd behaviour' of the font substitution code whereby fonts +whose name does not contain either 'Serif' or 'Sans' are substituted with Helvetica, +but those which contain 'Italic' are substituted with Times. Italic fonts are now +treated the same as Oblique fonts, and substituted with Helvetica, unless the font +is identified as a serif font. + +This may cause some substitution differences with regression files.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-08T214254.260278Z"></a> +2010-04-08T21:42:54.260278Z Robin Watts</strong></p> +<blockquote> +<pre> +Move io_device_table from being a global static in gsiodev.c into +the library context. In order to retrieve it we need to update +lots of functions to take a gs_memory_t * as well. + +Localcluster testing shows no expected differences. + +</pre> +<p>[base/gsdevice.c psi/zfile.c base/gdevupd.c base/gsiodev.c base/gxdevice.h psi/ziodev2.c base/gdevprn.c psi/ziodevsc.c base/sfxcommon.c psi/zfrsd.c base/gxiodev.h base/strmio.c base/gslibctx.c base/gsfname.c psi/ziodev.c base/gdevtsep.c psi/zcrd.c base/gslibctx.h base/gsfname.h base/gdevps.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T160550.601517Z"></a> +2010-04-08T16:05:50.601517Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix TrueType interpreter Bug #691227 +Another nasty hack for another broken TrueType font. In this case the font tries to +execute a DeltaP instruction with an argument greater than the number of points in the +glyph, which is an error. + +FreeType's interpreter has this comment + + /* XXX: Because some popular fonts contain some invalid DeltaP */ + /* instructions, we simply ignore them when the stacked */ + /* point reference is off limit, rather than returning an */ + /* error. As a delta instruction doesn't change a glyph */ + /* in great ways, this shouldn't be a problem. */ + +This patch more or less mimics this in our code. +</pre> +<p>[base/ttinterp.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T155431.828558Z"></a> +2010-04-08T15:54:31.828558Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove the commented out invocations of autoheader and aclocal/automake +in the autotools bootstrap script. + +The various autotools modules must be invoked in a specific order, and +usually with non-default options. We only use autoconf in our build, +not any of the other tools which layer on top of it, but I had left +their invocations in the script, but commented out, so make it easier +to add them at a later date. + +It's been some years since autogen.sh was added, and we still have no +plans to adopt automake. Also, the script didn't include support for +libtoolize (which is glibtoolize of MacOS X) nor for detecting the +appropriate automake version, so it seems simpler to just remove the +commented out lines to avoid confusion. +</pre> +<p>[autogen.sh]</p> +</blockquote> + +<p><strong><a name="2010-04-08T153926.443280Z"></a> +2010-04-08T15:39:26.443280Z Robin Watts</strong></p> +<blockquote> +<pre> +Stop a function scope static from being static as nothing was gained by it, +and this removes it from the list of global variables as part of the efforts +for bug 691207 (multithreaded safety). + +No expected differences. + +</pre> +<p>[base/gdevupd.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T152926.540666Z"></a> +2010-04-08T15:29:26.540666Z Robin Watts</strong></p> +<blockquote> +<pre> +Change a static (that happens to be const) to be a static const to remove +it from the global variable list for bug 691207. + +No expected differences. + +</pre> +<p>[base/gdevifno.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T152228.719732Z"></a> +2010-04-08T15:22:28.719732Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove globals from gdevmgr.c as part of efforts on bug 691207 (multithreaded +safety). + +Move 5 tables from being file level statics to living in the device structure. + +Checked by doing back to back builds and verifying that the same output is +given for tiger.eps in both cases. + +No expected differences. + +</pre> +<p>[base/gdevmgr.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T151651.654028Z"></a> +2010-04-08T15:16:51.654028Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove the function scope static variables from gdevcdj.c as part of the +efforts for bug 691207 (multithreaded safety). These only affect the +ESC/P driver. + +There are 4 variables in play here. real_rows doesn't actually need to be +static at all as it is always set before being used. The other 3 (ln_idx, +vskip1 and vskip2) all go into the 'ep_globals' structure. + +There is a subtle change in behaviour here; previously these variables were +initialised to zero on execution start (and again on every flush). Now they +are initialised to zero at the start of every page (and again on every flush). +This means that leftover vskips are no longer carried forwards from page to +page. This seems like a good thing to me. + +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T143041.679319Z"></a> +2010-04-08T14:30:41.679319Z Robin Watts</strong></p> +<blockquote> +<pre> +Make a table of 4 zeros be static const, and update the cast where they are +used to also be static const. This should remove them from the global variable +list in bug 691207. + +</pre> +<p>[contrib/japanese/gdev10v.c]</p> +</blockquote> + +<p><strong><a name="2010-04-08T115629.059369Z"></a> +2010-04-08T11:56:29.059369Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove global variables in gdevcdj.c as part of the effort for bug 691207. + +The ESC/P based printing code in gdevcdj.c uses various global variables; we +gather them into a struct here, and pass the struct between the 2 functions +concerned. + +This device isn't used in the default build, so no point in testing with the +localcluster. Enabling it locally and doing before/after tests shows that +identical results are given for rendering tiger.eps. + +A side effect of this commit is to remove the nasty shadowing of the img_rows +variable (doubly nasty because of it's use within a macro). This meant that I +had the code wrong for a while, so I know the test is actually testing the +right thing. + +</pre> +<p>[base/gdevcdj.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T171846.406090Z"></a> +2010-04-07T17:18:46.406090Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove global variable lbp8_end from gdevlbp8.c - it was permanently NULL +so removing it isn't hard, or risky. This will help towards the "No global +variables" goal (bug 691207). + +No expected differences. + +</pre> +<p>[base/gdevlbp8.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T132337.938542Z"></a> +2010-04-07T13:23:37.938542Z Chris Liddell</strong></p> +<blockquote> +<pre> +Revise the interface code and the use of FT so that both use GS managed memory, rather than the stdlib memory routines (malloc/free and co.).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-07T131357.741241Z"></a> +2010-04-07T13:13:57.741241Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691228, problems with wide strokes with round caps/joins with +antialiasing enabled. + +2 small problems in the same code. In the antialiased case, we stroke by +forming 2 paths (one up either side of the line) and then reverse one and +concatenate it. This should happen whenever we meet a closepath, but due to +a misplaced return, was being missed out in some round join cases. + +Also, when using a round join in the case where 2 lines meet 'in-line' we +would inadvertently leave the point on the wrong side of the line. + +No changes in localcluster testing as this only affects antialiased results +and that's not tested currently. + +</pre> +<p>[base/gxstroke.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T192640.921375Z"></a> +2010-04-06T19:26:40.921375Z Robin Watts</strong></p> +<blockquote> +<pre> +Another attempt to fix Bug 691115. This corrects the clipping of a trapezoid +to a rectangle within the shading code. My previous attempt had failed to +allow for one case. + +This causes 116 non-pdfwrite diffs, and 23 pdfwrite ones, all checked using +bmpcmp and found to be acceptable. + +</pre> +<p>[base/gxshade6.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T171554.520182Z"></a> +2010-04-06T17:15:54.520182Z Michael Vrhel</strong></p> +<blockquote> +<pre> +Update of fuzzy to report average and max color errors. This is useful for continuous tone images only. If the max error reaches the largest possible, the calculations for these values are not performed.</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T141443.252652Z"></a> +2010-04-06T14:14:43.252652Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FAPI and FreeType interface. +The Metrics override was broken, the code to retrieve the /Metrics entries (1 to 4 +values) stored the results in an array in a different order to the code which read the +values back. + +In addition the FreeType code did not reset the 'glyph_metrics_index' if a glyph had no +metrics override, which could lead to us using the metrics overrides from a prior glyph +if we had already encountered one using an override. +</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T100831.160988Z"></a> +2010-04-06T10:08:31.160988Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType. +The revision 11012 fixed a problem with an invalid font but accidentally introduced a +regression because an 'else' clause was missed. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-06T081444.802475Z"></a> +2010-04-06T08:14:44.802475Z Chris Liddell</strong></p> +<blockquote> +<pre> +Resolve two compiler warnings - no behaviour change expected</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T235000.539571Z"></a> +2010-04-05T23:50:00.539571Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding comments about using globs not expandable by shell; bug 691229</pre> +<p>[base/mkromfs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T172412.188391Z"></a> +2010-04-05T17:24:12.188391Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219</pre> +<p>[lib/pdf2ps lib/eps2eps lib/pfbtopfa lib/ps2epsi lib/ps2pdfwr lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p> +</blockquote> + +<p><strong><a name="2010-04-05T172210.077618Z"></a> +2010-04-05T17:22:10.077618Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding escaped quotes around $0 in "dirname $0" ; bug 691219</pre> +<p>[lib/printafm lib/eps2eps lib/pdf2dsc lib/gsbj lib/ps2epsi lib/gsdj lib/dumphint lib/gsnd lib/font2c lib/pdfopt lib/pdf2ps lib/ps2pdf lib/gslj lib/pfbtopfa lib/bdftops lib/ps2pdf12 lib/ps2pdf13 lib/ps2pdf14 lib/gslp lib/wftopfa lib/ps2pdfwr lib/ps2ps lib/pphs lib/pf2afm lib/gsdj500]</p> +</blockquote> + +<p><strong><a name="2010-04-05T171334.259627Z"></a> +2010-04-05T17:13:34.259627Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +adding reference to msmin04, msgoth04 and ngulim,nbantang; fixes the remaining issues in bug 689456</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-04-05T154847.768122Z"></a> +2010-04-05T15:48:47.768122Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix line endings. The previous commit (11012) accidentally used DOS line endings which +made it appear every line in the file was different. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T153111.441559Z"></a> +2010-04-05T15:31:11.441559Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +When using bitmaps from a TrueType/Type42 font FreeType uses a heuristic approach to +synthesize vertical metrics for the glyphs, including a horizontal advance. As in the +past, this works well as long as the client knows whether the advance direction is +horizontal or vertical and uses the correct advance. + +However we don't know that, so we don't want the vertical advance. + +Its easiest jut to have FreeType ignore embedded bitmaps and use the outlines, in which +case we don't get the invented vertical advance. Not only that but the rendered bitmap +is a better match for the cases where we don't have a pre-built bitmap, so consistency +is improved with this patch as well. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T152725.365922Z"></a> +2010-04-05T15:27:25.365922Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +The test file objlune_font2_mine.ps contains a Type 1 font which has a technically + invalid glyph. The glyph executes a 'lineto' class operation before a 'moveto' class +operation. + +Although illegal it seems that all other PostScript RIPs ignore this requirement, this +patch removes the error check in FreeType to conform with other interpreters. +</pre> +<p>[freetype/src/psaux/psobjs.c]</p> +</blockquote> + +<p><strong><a name="2010-04-05T113332.361294Z"></a> +2010-04-05T11:33:32.361294Z Chris Liddell</strong></p> +<blockquote> +<pre> +Update the to latest FT code from the FT git repository.</pre> +<p>[freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/src/type1/t1objs.h freetype/docs/INSTALL.CROSS freetype/src/truetype/ttgload.c freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/src/raster/ftrend1.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/src/psaux/psaux.c freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/src/pcf/pcfread.h freetype/include/freetype/ftcache.h freetype/src/raster/Jamfile freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/ftincrem.h freetype/include/freetype/internal/services/svcid.h freetype/src/pshinter/pshalgo.h freetype/src/psnames/psnamerr.h freetype/src/tools/test_afm.c freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/include/freetype/freetype.h freetype/vms_make.com freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/docs/INSTALL.UNIX freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfr.c freetype/src/pfr/pfrload.c freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/src/type1/t1gload.c freetype/src/base/ftbbox.c freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/src/bdf/bdferror.h freetype/src/gxvalid/rules.mk freetype/src/pcf/pcf.c freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/include/freetype/internal/services/svotval.h freetype/src/otvalid/rules.mk freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/builds/win32/vc2005/freetype.vcproj freetype/src/base/ftbase.h freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/src/bdf/bdf.h freetype/src/gxvalid/gxvalid.c freetype/src/cff/cff.c freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/src/autofit/afmodule.c freetype/src/autofit/afmodule.h freetype/src/pfr/pfrcmap.c freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/src/type1/t1afm.c freetype/src/raster/module.mk freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/src/type1/t1tokens.h freetype/src/type1/t1afm.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/src/pshinter/pshrec.h freetype/src/truetype/ttobjs.c freetype/src/autofit/autofit.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/truetype/ttobjs.h freetype/src/otvalid/otvgsub.c freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/include/freetype/ftglyph.h freetype/builds/win32/vc2005/index.html freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/src/autofit/aflatin2.h freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/src/pshinter/pshinter.c freetype/src/cache/ftcglyph.h freetype/src/tools/test_bbox.c freetype/src/cache/Jamfile freetype/src/type42/t42types.h freetype/include/freetype/internal/services/svpsinfo.h freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/tools/docmaker/docbeauty.py freetype/src/raster/rastpic.h freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/src/sfnt/module.mk freetype/src/type1/t1load.c freetype/docs/INSTALL freetype/src/gzip/inftrees.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/cff/cfftoken.h freetype/src/gxvalid/gxvfeat.c freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/src/pfr/pfrsbit.h freetype/src/gxvalid/gxvfeat.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/src/base/ftglyph.c freetype/include/freetype/ftmm.h freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/psaux/afmparse.c freetype/src/sfnt/sfdriver.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/psaux/afmparse.h freetype/src/sfnt/sfdriver.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/pshinter/pshpic.h freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/PATENTS freetype/docs/raster.txt freetype/src/autofit/afpic.h freetype/src/cff/cffdrivr.c freetype/src/otvalid/otvgpos.c freetype/src/cid/cidriver.c freetype/src/cff/cffdrivr.h freetype/include/freetype/ftgasp.h freetype/src/autofit/afindic.c freetype/src/otvalid/otvgpos.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/src/gzip/zconf.h freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/src/otvalid/otvalid.c freetype/src/otvalid/otvcommn.c freetype/include/freetype/config/ftmodule.h freetype/include/freetype/ftxf86.h freetype/src/otvalid/otvalid.h freetype/src/otvalid/otvcommn.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/include/freetype/ftstroke.h freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/builds/win32/visualce/freetype.dsp freetype/src/cid/ciderrs.h freetype/ChangeLog.20 freetype/ChangeLog.21 freetype/src/type42/t42parse.h freetype/ChangeLog.22 freetype/src/bdf/bdfdrivr.h freetype/include/freetype/tttables.h freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/include/freetype/internal/ftobjs.h freetype/src/pcf/pcfdrivr.c freetype/src/gxvalid/gxvmort5.c freetype/src/pcf/pcfdrivr.h freetype/src/psnames/Jamfile freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/include/freetype/internal/services/svpostnm.h freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/src/autofit/afloader.c freetype/src/otvalid/Jamfile freetype/include/freetype/internal/services/svkern.h freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/psaux/psobjs.c freetype/src/sfnt/Jamfile freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/src/base/ftcalc.c freetype/src/pshinter/pshnterr.h freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/pshinter/module.mk freetype/src/tools/ftrandom/Makefile freetype/src/type42/rules.mk freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/src/cff/cffobjs.h freetype/include/freetype/ftoutln.h freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/tools/ftrandom/README freetype/src/winfonts/rules.mk freetype/docs/CHANGES freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/src/gxvalid/gxvtrak.c freetype/src/pcf/README freetype/include/freetype/internal/ftdriver.h freetype/include/freetype/ftgzip.h freetype/src/base/ftrfork.c freetype/include/freetype/internal/services/svbdf.h freetype/src/smooth/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/base/rules.mk freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/include/freetype/ftlcdfil.h freetype/src/tools/docmaker/sources.py freetype/src/type42/type42.c freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/truetype/ttdriver.h freetype/src/autofit/aflatin.c freetype/src/pfr/pfrgload.h freetype/src/base/ftsnames.c freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/docs/TRUETYPE freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/src/base/ftsynth.c freetype/src/base/ftwinfnt.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/sfnt/ttbdf.h freetype/src/lzw/ftlzw.c freetype/builds/win32/vc2008/freetype.vcproj freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/truetype/ttinterp.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/sfnt/ttcmap.c freetype/include/freetype/internal/services/svmm.h freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/src/truetype/tterrors.h freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/include/freetype/internal/pshints.h freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/src/psaux/psauxmod.c freetype/builds/wince/vc2008-ce/index.html freetype/src/pfr/module.mk freetype/src/psnames/psmodule.h freetype/src/base/ftcid.c freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/sfnt/ttcmapc.h freetype/src/gzip/inffixed.h freetype/include/freetype/ftwinfnt.h freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/include/freetype/ftimage.h freetype/docs/release freetype/src/pfr/pfrobjs.h freetype/src/lzw/ftzopen.c freetype/src/truetype/truetype.c freetype/src/lzw/Jamfile freetype/Makefile freetype/src/lzw/ftzopen.h freetype/src/base/fttrigon.c freetype/src/autofit/afhints.c freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/src/smooth/Jamfile freetype/src/gzip/adler32.c freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/src/sfnt/sfntpic.c freetype/src/gzip/zutil.c freetype/src/winfonts/winfnt.h freetype/src/smooth/smooth.c freetype/src/sfnt/sfntpic.h freetype/src/gzip/zutil.h freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/src/gxvalid/gxvmorx4.c freetype/src/winfonts/Jamfile freetype/include/freetype/internal/pcftypes.h freetype/src/smooth/ftgrays.h freetype/src/pfr/pfrerror.h freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/src/otvalid/module.mk freetype/ChangeLog freetype/include/freetype/internal/services/svpscmap.h freetype/include/freetype/fttrigon.h freetype/docs/FTL.TXT freetype/src/cache/ftcmanag.c freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/services/svtteng.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/include/freetype/internal/ftpic.h freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/src/psnames/psnames.c freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/type42/t42objs.h freetype/src/smooth/ftsmerrs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/src/psaux/t1decode.c freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/src/type42/module.mk freetype/src/otvalid/otvjstf.c freetype/src/autofit/aferrors.h freetype/src/cff/cffgload.c freetype/src/gxvalid/gxvlcar.c freetype/include/freetype/internal/services/svsfnt.h freetype/src/base/ftinit.c freetype/src/bdf/README freetype/src/cache/ftccback.h freetype/src/cff/cffgload.h freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/src/tools/Jamfile freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/cff/cffload.c freetype/src/gxvalid/gxvcommn.c freetype/src/autofit/afangles.h freetype/src/cff/cffload.h freetype/src/gxvalid/gxvcommn.h freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p> +</blockquote> + +<p><strong><a name="2010-04-05T100359.155794Z"></a> +2010-04-05T10:03:59.155794Z Chris Liddell</strong></p> +<blockquote> +<pre> +Fix the FAPI implementation of finding the appropriate bytes for a given character code from an array of strings representing a CMap.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T123123.439338Z"></a> +2010-04-02T12:31:23.439338Z Ken Sharp</strong></p> +<blockquote> +<pre> +'Fix' FAPI with FreeType. + +FreeType's hinting is worse than useless for type 1 fonts, its actually harmful. It +distorts the glyph shape because it hints an unscaled outline. While it would be best +to fix FreeType's hinting this is a large project. For now this patch disables FreeType +hinting when handling type 1 fonts. + +This resolves many spacing issues as well as fixing the stroke/fill mismatch with +ia3z3519.pdf and the incorrectly scaled outline in womanface.pdf. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T091923.286738Z"></a> +2010-04-02T09:19:23.286738Z Chris Liddell</strong></p> +<blockquote> +<pre> +Extend Ken's change to avoid using FT's "synthetic" vertical metrics for Type42 fonts to cover all fonts using TTF outlines (so CIDType 2 fonts, as well).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-04-02T090653.941441Z"></a> +2010-04-02T09:06:53.941441Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix a bug in the FreeType scan conversion. + +A multiply and divide to calculate the slope of a line did not account for the +possibility of overflow during multiplication. Using the supplied SMulDiv routine fixes +the problem. + +The patch has been supplied upstream to the FreeType development team. +</pre> +<p>[freetype/src/raster/ftraster.c]</p> +</blockquote> + +<p><strong><a name="2010-04-01T133252.153614Z"></a> +2010-04-01T13:32:52.153614Z Robin Watts</strong></p> +<blockquote> +<pre> +Slight tidy up to gs_2_colors code: Given that the cie_joint_caches_alt is +now kept in the imager state rather than the graphics state, move the +reference counting/initialisation for the same into the imager state +too. No difference in operation, but just a bit tidier. + +No expected differences, though the cluster may show 2colCIEtest.pdf as +failing if it hasn't propogated around the nodes yet. + +</pre> +<p>[base/gsstate.c base/gsistate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T154306.179195Z"></a> +2010-03-31T15:43:06.179195Z Chris Liddell</strong></p> +<blockquote> +<pre> +Bounds check the correct object when looking up a CID map</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T144031.704728Z"></a> +2010-03-31T14:40:31.704728Z Chris Liddell</strong></p> +<blockquote> +<pre> +Correct a logical error/typo in the fallback to non-hinted condition.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T132201.442343Z"></a> +2010-03-31T13:22:01.442343Z Chris Liddell</strong></p> +<blockquote> +<pre> +Prevent applying the nominalWidthX for T2 fonts, when FT already applies it for us. Previously, the code was actually erroneously adding the defaultWidthX. Since this use of nominalWidthX *may* be renderer dependent, it is now controlled by the can_replace_metrics() call.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T131641.790764Z"></a> +2010-03-31T13:16:41.790764Z Chris Liddell</strong></p> +<blockquote> +<pre> +In the even a glyph name is not found in the CharStrings dictionary, fall back to using the .notdef (instead of returning an error).</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T130744.152960Z"></a> +2010-03-31T13:07:44.152960Z Chris Liddell</strong></p> +<blockquote> +<pre> +For certain errors from FT, retry interpretting the glyph without hinting - this more closely matches the existing behaviour.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T113210.299125Z"></a> +2010-03-31T11:32:10.299125Z Robin Watts</strong></p> +<blockquote> +<pre> +Remove unused variable. No expected differences. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-31T012018.778513Z"></a> +2010-03-31T01:20:18.778513Z Ray Johnston</strong></p> +<blockquote> +<pre> +Temporary reversion of previous mkromfs commit to remove -g until it works +correctly (fooled by a GS_LIB environment variable during testing) +</pre> +<p>[psi/psromfs.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-30T225953.311321Z"></a> +2010-03-30T22:59:53.311321Z Ray Johnston</strong></p> +<blockquote> +<pre> +Implement '-g' option in mkromfs to fold in some of the older 'genint' +functions (collect all init files into a single gs_init.ps, strip +whitespace and comments). Also change mkromfs so that wildcard expansion +must be specified using '*' on the command line which also means that +single explicit files can now be put into the %rom% file system. + +Add many missed dependencies to the list for the 'gsromfs.c' %rom% file +system (CMap, ColorSpace, Decoding, Encoding, Font, IdiomSet, ProcSet, +SubstCID) and separate out miscellenaeous files. + +Remove old geninit references from makefiles: psi/int.mak psi/os2.mak, +base/bcwin32.mak, base/msvctail.mak, base/winlib.mak, base/macos-mcp.mak, +base/openvms.mak, base/lib.mak, base/unix-aux.mak base/watcw32.mak, +base/wctail.mak +</pre> +<p>[base/wctail.mak psi/os2.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/mkromfs.c base/gs.mak base/watcw32.mak psi/psromfs.mak psi/int.mak base/unix-aux.mak base/macos-mcp.mak base/msvctail.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-30T184034.337393Z"></a> +2010-03-30T18:40:34.337393Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug 691132 by ensuring that whenever we set a line width, we set +it to the absolute value of the line width. This seems consistent with +PDF, and cures the clipping problem in PCL referred to by the bug. + +No expected differences. + +</pre> +<p>[base/gxline.h]</p> +</blockquote> + +<p><strong><a name="2010-03-30T144656.884951Z"></a> +2010-03-30T14:46:56.884951Z Robin Watts</strong></p> +<blockquote> +<pre> +In the gs_2_colors branch I had made 2 copies of the color state and swapped +between them. I had included dev_ht as part of this 'split' state, which +was a significant contributor to the slowdown due to it forcing repeated +writing of the halftone data to the clist. Also, it required significant +extra work on every setscreen or setcolorscreen operation. + +Discussions with Henry/Ray/Kens et al lead to the realisation this wasn't +required. This patch therefore backs out the dev_ht split, and the changes +to zsetscreen and zsetcolorscreen. Additional code is however required to +clear the 'alternative' dev_color when a halftone is installed to stop the +'swapped out' color pointing to an illegal halftone cache. + +This runs through local testing with no diffs showing (though some +strangeness was observed with an earlier version of this patch in +regression testing - Marcos has captured this with bug 691223). + +This seems to have helped with the largest slowdowns, but there are still +significant differences in some cases. Very preliminary investigations seem +to show more time being spent in the interpreter/gc mechanism. Continuing +to investigate. + + +</pre> +<p>[base/gsstate.c base/gxistate.h base/gsht.c base/gxdcolor.h base/gzstate.h psi/zht.c psi/zht1.c]</p> +</blockquote> + +<p><strong><a name="2010-03-30T101657.091024Z"></a> +2010-03-30T10:16:57.091024Z Ken Sharp</strong></p> +<blockquote> +<pre> +New Fontmap files for the URW fonts, both type 1 and TrueType formats. + +The file Fontmap.URW-136.T1 contains definitions for the type 1 fonts (the URW PFB +fonts must be in the search path). + +The file Fontmap.URW-136.TT contains definitions for the TrueType fonts (the URW TTF +fonts must be in the search path). + +Currently neither of these work 100% because of problems with the URW font sets +(several incorrectly named fonts, and in one case an illegal type 1 font) + +</pre> +<p>[lib/Fontmap.URW-136.T1 lib/Fontmap.URW-136.TT]</p> +</blockquote> + +<p><strong><a name="2010-03-29T191049.447074Z"></a> +2010-03-29T19:10:49.447074Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Drop 'loca' entries that point beyond 'glyf' table during re-spliting +sfnts glyfs strings. Bug 691221. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-29T075249.284823Z"></a> +2010-03-29T07:52:49.284823Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change the FT interface code so we always use metrics retrieved from Freetype, rather than attempting to "fabricate" metrics (which have already been handled correctly by FT).</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-27T015955.922560Z"></a> +2010-03-27T01:59:55.922560Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix compilation error in pngs2html.pl (forgot to define variable). + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-26T102856.873949Z"></a> +2010-03-26T10:28:56.873949Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +A leftover from r10603 (Makefile change).</pre> +<p>[base/lib.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-26T002016.302228Z"></a> +2010-03-26T00:20:16.302228Z Robin Watts</strong></p> +<blockquote> +<pre> +Updated localcluster bmpcmp html generation script. Bitmaps produced are now +zoomable. + + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-24T124759.902550Z"></a> +2010-03-24T12:47:59.902550Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix for bug 691115. + +In some circumstances, the shading code can get all the way to the point of +marking the screen/page without ever clipping to the relavent region. This +produces cases where we "draw outside the lines". Often this is masked by +the fact that we only ever draw as far out of the lines as would be covered +by an area of constant color (typically a small area). + +The fix for this is to spot the unclipped case when we come to render +trapezoids to the screen, and to clip the trapezoid into (at most) 3 +smaller trapezoids. + +This causes 104 non-pdfwrite differences, and 24 pdfwrite ones. Examination +using localcuster bmpcmp shows them all to be acceptable. + +</pre> +<p>[base/gxshade6.c]</p> +</blockquote> + +<p><strong><a name="2010-03-24T120547.469905Z"></a> +2010-03-24T12:05:47.469905Z Robin Watts</strong></p> +<blockquote> +<pre> +Tweak to bmpcmp: Darken the third image (the diff image) to make changes +stand out better. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-24T001027.875727Z"></a> +2010-03-24T00:10:27.875727Z Robin Watts</strong></p> +<blockquote> +<pre> +Correct DOS line endings in bmpcmp.c. + +Fix bug whereby areas with no changes in were still be saved out. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T191432.177681Z"></a> +2010-03-23T19:14:32.177681Z Robin Watts</strong></p> +<blockquote> +<pre> +Correct problem with bmpcmp whereby certain sizes of changed areas within +images could cause overlapping output bitmaps. This causes problems with +the output of bitmaps now due to the new 'in-place' generation of the diff +bitmap. Fixed by choosing sizes more smartly. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T090216.120692Z"></a> +2010-03-23T09:02:16.120692Z Till Kamppeter</strong></p> +<blockquote> +<pre> +CUPS Raster output device: Error out correctly with the return_error() macro and not with "gs_exit(); exit()", force banding mode as there are files which do not render otherwise (Bug #691170). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-23T000659.853037Z"></a> +2010-03-23T00:06:59.853037Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Code clean-ups in the "cups" output device to fix the segfaults in bug #691170 and bug #691014 (but does not fix the bugs yet). +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-22T141842.718453Z"></a> +2010-03-22T14:18:42.718453Z Chris Liddell</strong></p> +<blockquote> +<pre> +Handle CID fonts whose GDBytes != 2 - previously GDBytes was hardcoded as 2.</pre> +<p>[psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-22T064308.806820Z"></a> +2010-03-22T06:43:08.806820Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Added the ability to specify bmpcmp options when running clusterpush.pl, e.g.: + + clusterpush.pl bmpcmp -w 9 -t 10 + +No validation is done on the options; bad options will result in no bmpcmp output being generated. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-21T050150.135122Z"></a> +2010-03-21T05:01:50.135122Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed maxdiffs argument in bmpcmp.c (was acting as maxpage). +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-21T032353.245152Z"></a> +2010-03-21T03:23:53.245152Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Fixed a couple of compiler warnings in bmpcmp.c +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-19T183004.447497Z"></a> +2010-03-19T18:30:04.447497Z Ralph Giles</strong></p> +<blockquote> +<pre> +Compute AES cypher tables at compile time instead of run time. + +The aes implementation needs some tables of data to perform its +calculations. In a thread-safety review, Henry spotted that the +tables were global variables with no mutex isolation. + +I believe this is actually ok. There is a static flag marking whether +the tables are initialized. If they are not, a call to aes_setkey_* +will invoke aes_gen_tables to initialize them, then set the flag. +However, aes_gen_tables operates deterministically, always writing +the same data sequence to the globals. So while there is a race +where two threads could be executing aes_gen_tables at the same time, +or while another thread is accessing the same tables, there is no +read-modify-write step which could create inconsistent data. + +Nevertheless, the tables are small relative to our application, and +there is a compile time option XYSSL_AES_ROM_TABLES which generates +the data at compile time and stores it static const. This commit +turns on that option, allowing the compiler to put the data in a +non-writable segment and making the careful thread safety analysis +above unnecessary. + +There should be no difference in behaviour, and Henry has verified +that the two code paths result in identical table data.</pre> +<p>[base/aes.c]</p> +</blockquote> + +<p><strong><a name="2010-03-18T113938.599047Z"></a> +2010-03-18T11:39:38.599047Z Ken Sharp</strong></p> +<blockquote> +<pre> +Update the list of face substitutions in .substitutefaces to include all the fonts we +define in Fontmap.GS (if not already defined). + +Bug #691180, if we have a font defined in the Fontmap then we don't use the additional +information in a PDF file FontDescriptor. Instead we stick with whatever font the PS +substitution comes up with (if the font is not present). If a member of the family is +not defined we do use the FontDescriptor. This can lead to different choices for the +substitute font. By defining the font in the substitutefaces array we can attempt to get +a consistent result. + +This *will* lead to differences in the regression suite as we are now substituting +different fonts for some missing faces. Apparently only with the test file for this +bug though.</pre> +<p>[Resource/Init/gs_fonts.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-18T005710.529905Z"></a> +2010-03-18T00:57:10.529905Z Robin Watts</strong></p> +<blockquote> +<pre> +Merge gs_2_colors branch down to trunk. + +This adds a new set of color state information to the graphics/imager +state, along with a new non-standard postscript operator .swapcolors to +toggle between them. + +The Postscript interpreter is updated to use one set of color information +for stroking, and the other for all non-stroking colors. + +This produces differences in just 2 pdfwrite tests, due to rounding errors +due to changes in the way pdf with non-zero rendering modes is emitted now. + +</pre> +<p>[psi/zcolor.c base/gsdps1.c base/gdevpdft.c base/gxccache.c /trunk/gs base/gspaint.c base/gscsepr.c base/gsimage.c base/gxchar.c base/gsptype1.c base/gxcmap.c psi/interp.c base/gzstate.h psi/dmmain.c base/gscspace.c base/gscolor1.c base/gscdevn.c base/gscolor2.c base/gscie.c base/gxistate.h psi/psromfs.mak psi/dxmain.c base/gxcspace.h base/gxhldevc.c psi/dxmainc.c psi/dmmain.r Resource/Init/pdf_draw.ps psi/zht1.c base/gscolor.c psi/zicc.c psi/zchar1.c base/gxpaint.c base/gsstate.c Resource/Init/pdf_ops.ps psi/zcie.c base/gstext.c Resource/Init/pdf_font.ps base/gstrans.c psi/zht.c base/gsequivc.c base/gxdcolor.h psi/igstate.h base/gspcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T214113.190501Z"></a> +2010-03-17T21:41:13.190501Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp tweak to allow maximum/minimum bitmap sizes to be set from the +command line. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T201225.972208Z"></a> +2010-03-17T20:12:25.972208Z Robin Watts</strong></p> +<blockquote> +<pre> +MSVC whinges when asked to shift by 32 or more bits at once. Simple tweaks +to fool the compiler and eliminate warnings. + +No expected differences. + +</pre> +<p>[base/gdevm64.c base/gdevm56.c base/gdevm48.c base/gdevm40.c base/gxclrast.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T185412.480084Z"></a> +2010-03-17T18:54:12.480084Z Robin Watts</strong></p> +<blockquote> +<pre> +Tweak to gxcmap.c to remove warnings about shifting by more than 32 bits on +MSVC builds. + +No expected differences. + +</pre> +<p>[base/gxcmap.c]</p> +</blockquote> + +<p><strong><a name="2010-03-17T173027.541399Z"></a> +2010-03-17T17:30:27.541399Z Robin Watts</strong></p> +<blockquote> +<pre> +Revised bmpcmp. + * Redone command line handling + * Ability to read PAMs (so we can read CMYK stuff now) + * "Fuzzy" behaviour (both compatible and exhaustive modes) + * New behaviour using map bitmap to avoid rediffing multiple times. + * CMYK -> RGB conversion as last step before PNG/BMP writing. + +Still to do: + * Output number of fuzzy matches etc to the meta file. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T191855.825828Z"></a> +2010-03-15T19:18:55.825828Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Change default TIFF strip size to one megabyte. + +Many fax readers have problems reading TIFF images which are chunked into +strips, and one megabyte is larger than the biggest expected fax page. Hence, +ghostscript's default TIFF output will be accepted by those readers. + + +</pre> +<p>[base/gdevtifs.h]</p> +</blockquote> + +<p><strong><a name="2010-03-15T190043.589302Z"></a> +2010-03-15T19:00:43.589302Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Write TIFF directories before the page data. This might help bug #691172 and +probably some other non-conforming TIFF readers. + +</pre> +<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T152155.436137Z"></a> +2010-03-15T15:21:55.436137Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Don't throw an error when a filter returns 0 bytes and a normal return code. +This often happens with eexecDecode filter, which has to return the control +to the interpreter after every space character since Adobe no longer adds +zeros at the end of the encoded block. Document new return code 2 used by +eexecDecode filter. Bug 690909. +</pre> +<p>[base/sstring.c base/seexec.c psi/iscan.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T145615.278449Z"></a> +2010-03-15T14:56:15.278449Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Partial fix for bug #691172: The tiff resolution tags are floating point values +and need to be passed as such to TIFFSetField. + +</pre> +<p>[base/gdevtifs.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T074438.447170Z"></a> +2010-03-15T07:44:38.447170Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Applied Tim Waugh's patch from bug #691171: A NULL check for the argument of +TIFFCleanup was missing, which caused a segfault when opening the output device +failed for any of the devices in gdevtfax.c. + +</pre> +<p>[base/gdevtfax.c]</p> +</blockquote> + +<p><strong><a name="2010-03-15T063434.317078Z"></a> +2010-03-15T06:34:34.317078Z regression</strong></p> +<blockquote> +<pre> +Added support for mupdf testing in local regression suite. +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-15T063125.268888Z"></a> +2010-03-15T06:31:25.268888Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> +Changes to the local cluster code: + +added bmpcmp documentation to clusterpush.txt +new file, runNightly.pl, for nightly regression testing +readlog.pl, build.pl, and run.pl changes for nightly regression use +</pre> +<p>[toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p> +</blockquote> + +<p><strong><a name="2010-03-11T173630.596061Z"></a> +2010-03-11T17:36:30.596061Z Chris Liddell</strong></p> +<blockquote> +<pre> +Apply a change submitted to FT and accepted - see FT bug #27442</pre> +<p>[freetype/src/raster/ftraster.c]</p> +</blockquote> + +<p><strong><a name="2010-03-11T050122.057384Z"></a> +2010-03-11T05:01:22.057384Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Run svn update on the ghostscript source even for clusterpush runs to make sure that bmpcmp.c is current. + +</pre> +<p>[toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T174109.765460Z"></a> +2010-03-10T17:41:09.765460Z regression</strong></p> +<blockquote> +<pre> + +Minor cleanup of the local cluster code. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T164226.014885Z"></a> +2010-03-10T16:42:26.014885Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix bug in bmpcmp.c: When reading images from multi-image sets, we stop +the comparison process as soon as we fail to find any differences in the +current image. With this fix we correctly keep searching to the end. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T150557.116970Z"></a> +2010-03-10T15:05:57.116970Z Chris Liddell</strong></p> +<blockquote> +<pre> +Change how we derive the glyph metrics from FT: we now interpret the glyph description only once, scaled and hinted, and then calculate the metrics from that. It's more accurate, accounts for hints that extend the glyph outline, and should be a worthwhile speed improvement.</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T125150.027959Z"></a> +2010-03-10T12:51:50.027959Z Robin Watts</strong></p> +<blockquote> +<pre> +Change the condition under which we update the overprint device when restoring +a graphics state to be more relaxed; rather than updating if the overprint +state has changed we now update if it was enabled, or it if it is enabled. + +The logic behind this is that it will still fire in all the same conditions +it did before, but will also fire when we restore from a state that had it +enabled to another state that had it enabled. This should be entirely +harmless, but will allow the state to be updated in the case where a +colorspace has been updated. + +This causes 2 differences in the tests, that only show up in psd files. +All indications seem to be that these files really are identical. But if +they aren't, I believe they should be progressions, rather than regressions. + +This moves the trunk more into line with the output of the gs_2_colors branch. + +</pre> +<p>[base/gsstate.c]</p> +</blockquote> + +<p><strong><a name="2010-03-10T061323.278865Z"></a> +2010-03-10T06:13:23.278865Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added local modes to build.pl and run.pl in preparation for use as part of the nightly regression. + +</pre> +<p>[toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-10T051959.535554Z"></a> +2010-03-10T05:19:59.535554Z Ray Johnston</strong></p> +<blockquote> +<pre> +Fix for SEGV with the psdcmyk device on 258-01.ps. This was a fundamental memory +problem with any device that used the compressed_color_list functions in gdevdevn.c +since a 'restore' could free structures which were still needed by the device. +Use stable_memory to avoid this. Bug 691150. +</pre> +<p>[base/gdevdevn.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172707.400171Z"></a> +2010-03-09T17:27:07.400171Z Robin Watts</strong></p> +<blockquote> +<pre> +Another tweak to the local cluster bmpcmp html page generation. I managed to +miss renaming the images in the second column. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172239.470336Z"></a> +2010-03-09T17:22:39.470336Z Robin Watts</strong></p> +<blockquote> +<pre> +Another tweak to the localcluster bmpcmp html page generation javascript; +quote the string to avoid it being converted to an int. + + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T172235.452303Z"></a> +2010-03-09T17:22:35.452303Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Let pdftoraster not exit before the Ghostscript sub-process finishes. Thanks to Tim Waugh from Red Hat for the patch. +</pre> +<p>[cups/pdftoraster.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T171522.155871Z"></a> +2010-03-09T17:15:22.155871Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix pngs2html.pl to number images according to both directory and image +number (needed now as images restart from 0 within each directory). This +really should fix the bmpcmp html output. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T170842.132281Z"></a> +2010-03-09T17:08:42.132281Z Robin Watts</strong></p> +<blockquote> +<pre> +More fixes for the bmpcmp html page generations javascript. + +Change code to pass numbers to swap() rather than strings as javascripts +conversion of strings to ints is... unhelpful. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T165048.278966Z"></a> +2010-03-09T16:50:48.278966Z Robin Watts</strong></p> +<blockquote> +<pre> +Misplaced bracket in the javascript meant that only the first images would +swap on mouseover properly. Fixed here. + + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T163921.328229Z"></a> +2010-03-09T16:39:21.328229Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix javascript problems in bmpcmp output page generation. What sort of +stupid broken language depends on whitespace? + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T163506.527087Z"></a> +2010-03-09T16:35:06.527087Z Till Kamppeter</strong></p> +<blockquote> +<pre> +Fixes on CUPS Raster output device: +- Fixed memory reallocation on bitmap size change. Reallocation is not only + needed when dimendions and margins change, but also when the color depth + changes. Fixes bugs #691029 and #691108. +- Fixed arrayoption() macro in cups_put_params() function. Array values did + not get actually set in cups.header data structure. Bug only showed via + a compiler warning. +- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero. +</pre> +<p>[cups/gdevcups.c]</p> +</blockquote> + +<p><strong><a name="2010-03-09T162931.666786Z"></a> +2010-03-09T16:29:31.666786Z Robin Watts</strong></p> +<blockquote> +<pre> +Attempted fix for bmpcmp output javascript problems with the coordinate +tracking. + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T161159.669918Z"></a> +2010-03-09T16:11:59.669918Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix typos in the javascript code for pngs2html.pl and bmps2html.pl; this should +get at least some of it working, but the coord stuff still baffles me. + +Also fix a typo that was causing the wrong "third image" to appear. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-09T014606.865448Z"></a> +2010-03-09T01:46:06.865448Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Fixed longstanding bug fuzzy.c that caused pbm files to be misread. + +</pre> +<p>[toolbin/tests/fuzzy.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T215705.576067Z"></a> +2010-03-08T21:57:05.576067Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating documentation to mention how to run mkcidfm.ps manually; bug 688437</pre> +<p>[doc/Use.htm]</p> +</blockquote> + +<p><strong><a name="2010-03-08T215437.005008Z"></a> +2010-03-08T21:54:37.005008Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +convert font file name to lowser case before matching; make it possible for upper case ARIALUNI.TTF to match; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T214956.216990Z"></a> +2010-03-08T21:49:56.216990Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +updating windows CJK font substitution list for more commonly found MS CJK fonts; bug 688437</pre> +<p>[lib/mkcidfm.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T214715.240330Z"></a> +2010-03-08T21:47:15.240330Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +revert to r8185 version of the korean example - it was removed in r8190 and a corrupted version r9325 was subsequently checked in; found during fixing bug 688437 (incompete font substitution list)</pre> +<p>[examples/cjk/gscjk_ak.ps]</p> +</blockquote> + +<p><strong><a name="2010-03-08T162053.842289Z"></a> +2010-03-08T16:20:53.842289Z Ken Sharp</strong></p> +<blockquote> +<pre> +Ongoing bug fixes for #690448. +The FreeType code will synthesize vertical metrics for TrueType (Type 42) fonts which do +not contain a vmtx table. This includes the vertical advance, which will be returned +to the FAPI code, and used even if there were originally no vertical metrics and the +font should not have any vertical advance. + +Modified the metrics override callback, called by FT, so that if the font is a TT font, +and this is a vertical metrics call, we set the advance to 0. This prevents the +synthesized metrics from incorrectly advancing the glyph vertically. + +This may eventually be a problem if we find a CIDFont with Type42 outlines which relies +on the vmtx table in the font rather than the Metrics2 or CDevProc overrides to position +the glyphs. Since this facility was only added in CPSI 3011 it is unlikely we will ever +encounter such a font. THis has not been done at present, as the information (WMode=1) +is not currently available to the code called from FreeType to override the metrics, +and would need to be added. + +Also, fixed an issue where the 'advance_v' member of the metrics structure was left +uninitialised if a horizontal override took place. This could cause glyphs to be +mis-positioned vertically. +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T154120.817468Z"></a> +2010-03-08T15:41:20.817468Z Ken Sharp</strong></p> +<blockquote> +<pre> +revert revision 10871, we will tackle this problem in the FAPI FreeType interface code +instead of in FreeType itself. + +</pre> +<p>[psi/fapi_ft.c]</p> +</blockquote> + +<p><strong><a name="2010-03-08T152257.356559Z"></a> +2010-03-08T15:22:57.356559Z Ken Sharp</strong></p> +<blockquote> +<pre> +revert revision 10871, we will address the matter of FreeType creating synthetic vertical +metrics when none exist by overriding the synthetic metrics in the FAPI FreeType interface +code instead. +</pre> +<p>[freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> +</blockquote> + +<p><strong><a name="2010-03-08T092849.484133Z"></a> +2010-03-08T09:28:49.484133Z Chris Liddell</strong></p> +<blockquote> +<pre> +Latest improvements to the FAPI/FT bridge code. This code resolves the issues with font matrices which do more than just scale. It is not yet "finished", but is too big a step forward to risk losing.</pre> +<p>[psi/fapi_ft.c psi/zfapi.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T210134.974121Z"></a> +2010-03-05T21:01:34.974121Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added bmpcmp option to clusterpush.pl. + +</pre> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T192534.812546Z"></a> +2010-03-05T19:25:34.812546Z regression</strong></p> +<blockquote> +<pre> + +Export results of local cluster bmpcmp command to web. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T165000.654216Z"></a> +2010-03-05T16:50:00.654216Z regression</strong></p> +<blockquote> +<pre> + +Update the local cluster code to use the new pbm->png mode of bmpcmp. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T164710.049203Z"></a> +2010-03-05T16:47:10.049203Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Minor changes due to bugzilla update. + +</pre> +<p>[toolbin/bugsByEngineer.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-05T132434.158774Z"></a> +2010-03-05T13:24:34.158774Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix FreeType +Ongoing fixes for bug #690448. In this case FreeType generates vertical metrics for +TrueType (in our case Type 42) fonts which lack vhea/vmtx tables, which is generally +the case. + +These metrics are useful to a 'normal' TrueType consumer which has a notion of the +orientation of the writing direction. However in PostScript we don;t know that, so we +apply both the horizontal and vertical advance widths. + +If the vertical advance should be 0 (because its not specified) then creating one causes +the glyphs to be misplaced. + +This code adds a new load flag to FreeType 'FT_LOAD_NO_SYNTHETIC_METRICS', and sets +this flag in the FAPI FreeType interface code, which prevents FreeType from manufacturing a bogus vertical advance. +</pre> +<p>[psi/fapi_ft.c freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p> +</blockquote> + +<p><strong><a name="2010-03-05T092347.698736Z"></a> +2010-03-05T09:23:47.698736Z Lars Uebernickel</strong></p> +<blockquote> +<pre> +Open tiffsep and tiffsep1 output files as seekable. + +All files written by libtiff have to be seekable when writing multiple pages, +because libtiff tries to access previously written page dictionaries. This +fixes bug 691160. + +</pre> +<p>[base/gdevtsep.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T070113.637667Z"></a> +2010-03-05T07:01:13.637667Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Fix pbm reading and png writing in bmpcmp.c. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-05T053224.962092Z"></a> +2010-03-05T05:32:24.962092Z regression</strong></p> +<blockquote> +<pre> + +Added pngs2html.pl to repository: take a directory full of png files +generated by the increasingly poorly named bmpcmp.c and generate web pages +(like bmps2html.pl but without the bmp->png conversion). + +</pre> +<p>[toolbin/localcluster/pngs2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-03T212107.833457Z"></a> +2010-03-03T21:21:07.833457Z Ralph Giles</strong></p> +<blockquote> +<pre> +Flip images from RGB to BGR pixel format when reading ppm files, +and flip them back to RGB when writing png files. + +This adapts all the current routines to assume the BGRx storage +format used by the bmp image format for the internal representation, +as is already done with the row order.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T212104.624166Z"></a> +2010-03-03T21:21:04.624166Z Ralph Giles</strong></p> +<blockquote> +<pre> +Also save the difference image as a png when bmpcmp is compiled with HAVE_LIBPNG.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T203001.695369Z"></a> +2010-03-03T20:30:01.695369Z Robin Watts</strong></p> +<blockquote> +<pre> +Fix stupid memory overwrite bug on bmp load. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T200329.767395Z"></a> +2010-03-03T20:03:29.767395Z Robin Watts</strong></p> +<blockquote> +<pre> +bmpcmp.c tweaks: Add (largely untested) code to allow "plain" (ascii) ppm, +pgm, pbm files. Also fix some compile warnings on 64bit platforms. Now +compiles cleanly with -Wall. + + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-03T190712.236947Z"></a> +2010-03-03T19:07:12.236947Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add optional support for png output to the bmpcmp utility. + +When compiled with the HAVE_LIBPNG preprocessor symbol defined, and +linking with libpng, the utility will save its output focus images +in RGB png format. Currently, only 32 bit RGBx pixel data is supported.</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-02T224902.357333Z"></a> +2010-03-02T22:49:02.357333Z Robin Watts</strong></p> +<blockquote> +<pre> +Attempt to fix the javascript in the created files. The change to use +numeric filenames padded to 5 chars had broken the javascript. This +might fix it. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-02T212636.100914Z"></a> +2010-03-02T21:26:36.100914Z regression</strong></p> +<blockquote> +<pre> + +More changes towards having a bmpcmp running on the local cluster. + +</pre> +<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-02T211259.888859Z"></a> +2010-03-02T21:12:59.888859Z Robin Watts</strong></p> +<blockquote> +<pre> +Updated bmpcmp to avoid inverting pnms on reading. + +Also improve reading of non 32bpp bitmaps - still not quite right. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-03-02T001558.939654Z"></a> +2010-03-02T00:15:58.939654Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Added partial support for "clusterpush.pl bmpcmp" (which will allow +users to generate bitmap comparisons of their most recent clusterpush +job and trunk). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-03-01T174440.662743Z"></a> +2010-03-01T17:44:40.662743Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add support to the autoconf and msvc builds to compile in a copy of +the FreeType2 library from local source. + +Previously, the FAPI bridge for freetype required that the library +be compiled externally and include and link flags passed through +the FT_CFLAGS and FT_LIBS makefile variables. We now include a copy +of the freetype source in the tree, to make it easier to find a +compatible version of the source and to simplify building for +platforms that don't provide a system freetype. + +Now, to enable both freetype and the FAPI bridge, pass --enable-freetype +to the configure script. This will set FT_BRIDGE=1 and the other required +variables. The configure script will prefer local source in gs/freetype2 +to the copy in gs/freetype to simplify testing against upstream. + +To enable freetype in the msvc build, pass FT_BRIDGE=1 on the nmake command +line. + +Note that the fallback is now FT_BRIDGE=0, not FT_BRIDGE undefined; this +will require changes in any custom top-level makefiles. +</pre> +<p>[base/winlib.mak doc/Make.htm base/gs.mak base/Makefile.in psi/int.mak base/configure.ac psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-03-01T153456.724940Z"></a> +2010-03-01T15:34:56.724940Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #691154 and the regressions associated with revision 10823. +Unfortunately, performance-wise, the wtsimdi device must always use a +contone buffer until we've had a chance to see which raster operations +can be eliminated correctly. +</pre> +<p>[base/gdevwts.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T225702.883228Z"></a> +2010-02-28T22:57:02.883228Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +First half of patch from John Wehle for bug 691149 - vac C compiler on AIX 5.2 does +not like function with a void prototype returning a void function e.g. + +------------------ +void func1(); + +void funct2() { +return funct1(); +} +------------------ + +The 2nd half of the submitted patch was committed as part of r10826 . + +</pre> +<p>[base/gdevpx.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T172609.949555Z"></a> +2010-02-28T17:26:09.949555Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes part of 691149 - void function returning value, thanks to John +Wehle for the fix. Also, there were several compiler warnings in this +file related to the casting of the gs memory type pointer which have +been cleaned up as well. +</pre> +<p>[base/gsnogc.c]</p> +</blockquote> + +<p><strong><a name="2010-02-28T145200.838160Z"></a> +2010-02-28T14:52:00.838160Z Hin-Tak Leung</strong></p> +<blockquote> +<pre> +The distclean make target should call pgclean to clean up profile build also.</pre> +<p>[base/Makefile.in]</p> +</blockquote> + +<p><strong><a name="2010-02-28T011926.994088Z"></a> +2010-02-28T01:19:26.994088Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Following PDF reference, version 1.7, section 10.10, crop /TrimBox and /CropBox +by the /MediaBox. Bug 691145. +</pre> +<p>[Resource/Init/pdf_main.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-27T232931.437722Z"></a> +2010-02-27T23:29:31.437722Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug #691147 customer 861, the optimization to strength reduce +the raster operation here is wrong, it is premised on the assumption +the colors are opaque. If either texture or source is transparent the +strength reduction which effectively ignores the source or pattern is +wrong and it will subsequently cause opaque painting. We've simply +removed the optimization instead of conditionalizing on opaque cases, +because tests indicate the reduction not that significant. The +example in the bug report was reduced from a file in the XL ATS 305 +test suite. The following customer reported bugs in that test suite +are fixed by this change: + +FH905UJ1.BIN pp 1,2,3,4 +FH906UJ1.BIN pp 1-6 +MA2K7UJ2.BIN pp 1-10 +PW2K6UJ1.BIN pp 2 +PWTTDUJ3.BIN pp 1 +</pre> +<p>[base/gxipixel.c]</p> +</blockquote> + +<p><strong><a name="2010-02-27T202413.417473Z"></a> +2010-02-27T20:24:13.417473Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Upgrade Adobe Glyph List to v. 2.0. AGL is used for character mapping in +non-symbolic TrueType fonts in PDF files. Bug 691116. +</pre> +<p>[Resource/Init/gs_agl.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-27T165647.050522Z"></a> +2010-02-27T16:56:47.050522Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing newline in a TTF debug message. +</pre> +<p>[Resource/Init/gs_ttf.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-26T171128.684024Z"></a> +2010-02-26T17:11:28.684024Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in the freetype makefile which prevented the inclusion +of ftlzw.c. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-26T064131.056673Z"></a> +2010-02-26T06:41:31.056673Z Ralph Giles</strong></p> +<blockquote> +<pre> +Fixes to our makefile for the third-party freetype library. + +I'd missed a number of "optional" files in the original commit, but +didn't notice because other dependencies, which themselves link to +the system freetype library on linux were providing definitions of +the missing symbols. These are now included in our build. + +We now generate freetype.dev by copying freetype_$(SHARE_FT) within +freetype.mak, the same was this option is handled in the other third- +party makefiles. + +We set native line endings and Id keyword substitution for this file +in the Subversion repository. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-25T110459.765077Z"></a> +2010-02-25T11:04:59.765077Z Chris Liddell</strong></p> +<blockquote> +<pre> +add quotes around the expansion of DEVSTUDIO variable when it's used for the recursive nmake call for debug targets - in case it has white space in it.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-25T082146.259499Z"></a> +2010-02-25T08:21:46.259499Z Masaki Ushizaka</strong></p> +<blockquote> +<pre> +Fix for bug 691103. The pdfwrite device now considers FDArray fonts' FontMatrix and writes correct W/W2/DW/DW2 widths for CIDFont with unusual FontMatrix. This also fixes a problem gs_font::orig_FontMatrix not being initialized for CIDFont. +Bug687832.pdf and Bug690834.ps will show differences which are improvements. +</pre> +<p>[Resource/Init/gs_cidfn.ps base/gdevpdtt.c]</p> +</blockquote> + +<p><strong><a name="2010-02-24T202657.347460Z"></a> +2010-02-24T20:26:57.347460Z Ralph Giles</strong></p> +<blockquote> +<pre> +Add a generic makefile for compiling the freetype library +as part of the Ghostscript monolithic build. + +Including makefiles should define FTSRCDIR, FTGENDIR and FTOBJDIR, +similar to other third party libraries. +</pre> +<p>[base/freetype.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T195905.197182Z"></a> +2010-02-24T19:59:05.197182Z Ralph Giles</strong></p> +<blockquote> +<pre> +Copy our local branch of the freetype library source into the gs tree. + +This was the intended result of commit 10804, but an ommitted path element +placed it in the repository root instead. +</pre> +<p>[freetype]</p> +</blockquote> + +<p><strong><a name="2010-02-24T193811.435012Z"></a> +2010-02-24T19:38:11.435012Z Ralph Giles</strong></p> +<blockquote> +<pre> +Correct a typo in a dependency specification for wrfont.c. + +The typo (stdio_h for stdio__h) prevented the dependency on arch.h +from being declared, generating a temporary error in a sufficiently +parallel make invocation. +</pre> +<p>[psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T192711.525322Z"></a> +2010-02-24T19:27:11.525322Z regression</strong></p> +<blockquote> +<pre> + +Changed naming scheme for regressions from 00000-00000 to 00000 (i.e. no longer treat Ghostscript and GhostPDL revisions independently). + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-24T182235.905364Z"></a> +2010-02-24T18:22:35.905364Z Ralph Giles</strong></p> +<blockquote> +<pre> +Move the fontconfig check into the libraries section of the configure script. +</pre> +<p>[base/configure.ac]</p> +</blockquote> + +<p><strong><a name="2010-02-24T181645.225914Z"></a> +2010-02-24T18:16:45.225914Z Chris Liddell</strong></p> +<blockquote> +<pre> +ensure the DEVSTUDIO value is propagated when we recursively nmake for the debug targets.</pre> +<p>[psi/msvc32.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-24T172823.116518Z"></a> +2010-02-24T17:28:23.116518Z Ralph Giles</strong></p> +<blockquote> +<pre> +Remove a spurious circular symlink accidentally included in the libpng-1.2.42 +source import. +</pre> +<p>[libpng/libpng]</p> +</blockquote> + +<p><strong><a name="2010-02-24T095802.654907Z"></a> +2010-02-24T09:58:02.654907Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix, ignore a class of broken TrueType font. +Bug #691121 "gs stops in interpreting tt instructions". The font executes an MDRP +instruction with point number 28, the glyph only contains 28 points numbered 0 to 27 so +the interpreter (correctly) flags an error. + +Windows and FT both appear to silently ignore the error and the instruction (definitely +the case for FreeType). Modified Ins_MDRP to simply return if the indicated point is +outside the number of points in this case. +</pre> +<p>[base/ttinterp.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T222918.142249Z"></a> +2010-02-23T22:29:18.142249Z Henry Stiles</strong></p> +<blockquote> +<pre> +Fixes bug 690967, a diagnostic problem with dumping memory the debug +-ZA option. See the comment in the code for details, the change has +no effect on production builds. +</pre> +<p>[base/gsalloc.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T215815.181686Z"></a> +2010-02-23T21:58:15.181686Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Fix obviously wrong code in .fixsethalftonescreen procedure that is used by +the setscreen (and setcolorscreen) procedure and caused a PS error if the +third 'proc' argument to setscreen is a read-only Halftone type 1 dictionary. +Thanks to Jonathan Dagresta for the patch. Bug 691130, customer 1130. +</pre> +<p>[Resource/Init/gs_dps2.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-23T205621.262529Z"></a> +2010-02-23T20:56:21.262529Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Simplify sed script that extracts libTiff version number for compatibility +with AIX sed. Include our portable header before tiff.h to make sure that +all stdint types are found. Bug 691102. +</pre> +<p>[base/gdevtifs.c base/gdevtsep.c base/configure.ac base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p> +</blockquote> + +<p><strong><a name="2010-02-23T100154.545437Z"></a> +2010-02-23T10:01:54.545437Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) +Bug #691133. If producing PDF/A output. and a DOCINFO pdfmark string was UTF_16BE +encoded *and* contained a numeric character, then decode_escape incorrectly consumed +any numeric characters following the first octal byte of the UTF16 code. + +This was caused by decode_escape assuming that octal sequences are terminated by +non-numeric characters which is clearly wrong. The octal escape decoding loop is now +terminated when : +1) 3 numeric characters are read from the string +2) No more data is available in the string +3) A non-numeric character is encountered in the string. + +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-22T114533.943563Z"></a> +2010-02-22T11:45:33.943563Z Chris Liddell</strong></p> +<blockquote> +<pre> +resolve inappropriate variable type (signed vs unsigned) and comparisons with the wrong variable when writing the local subrs info to the serialized T2 Private dictionary.</pre> +<p>[psi/write_t2.c]</p> +</blockquote> + +<p><strong><a name="2010-02-21T175724.841443Z"></a> +2010-02-21T17:57:24.841443Z regression</strong></p> +<blockquote> +<pre> + +Added regression testing of the icc_work branch to the local cluster. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-21T035726.068286Z"></a> +2010-02-21T03:57:26.068286Z Marcos H. Woehrmann</strong></p> +<blockquote> +<pre> + +Add cast to bmpcmp.c to quiet useless compiler warning. + +</pre> +<p>[toolbin/bmpcmp.c]</p> +</blockquote> + +<p><strong><a name="2010-02-21T035151.891247Z"></a> +2010-02-21T03:51:51.891247Z regression</strong></p> +<blockquote> +<pre> +Several minor changes to local cluster code to improve reliability and increase performance. + +</pre> +<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-21T033829.059238Z"></a> +2010-02-21T03:38:29.059238Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Update pdf2dsc.ps to match the changes in pdf_main.ps introduced by +the rev. 10341. Thanks to William Bader for the patch. Bug 691124. +</pre> +<p>[lib/pdf2dsc.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-21T025705.611462Z"></a> +2010-02-21T02:57:05.611462Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Include stat_.h before estack.h, which defines esp macro. +Prevent a spurious macro substitution in Cygwin version of signal.h. +Bug 691123, customers 661. +</pre> +<p>[psi/zfapi.c psi/int.mak]</p> +</blockquote> + +<p><strong><a name="2010-02-17T170227.004947Z"></a> +2010-02-17T17:02:27.004947Z Henry Stiles</strong></p> +<blockquote> +<pre> +Adds placeholder files to trunk so the other languages (pcl, xps and +svg) can built with the icc branch and trunk. Each of these files +will be replaced with real files when the icc branch is merged into +the trunk. +</pre> +<p>[base/lcms.mak base/gsiccmanage.h]</p> +</blockquote> + +<p><strong><a name="2010-02-16T181257.832463Z"></a> +2010-02-16T18:12:57.832463Z Robin Watts</strong></p> +<blockquote> +<pre> +Tiny tweaks to clusterpush.pl to make it work on windows. First, wrap the +$HOME directory in additional quotes to allow for awkward windows users +with spaces in their names. Secondly, add a crude mapping for people whos +windows names are not the same as the usernames. This can unquestionably +be done more nicely, but the simple version will do for now. + +</pre> +<p>[toolbin/localcluster/clusterpush.pl]</p> +</blockquote> + +<p><strong><a name="2010-02-16T170749.079920Z"></a> +2010-02-16T17:07:49.079920Z Alex Cherepanov</strong></p> +<blockquote> +<pre> +Add missing dereferencing of indirect objects in /Mask array. +Bug 691112, customers 870. +</pre> +<p>[Resource/Init/pdf_draw.ps]</p> +</blockquote> + +<p><strong><a name="2010-02-12T152723.315268Z"></a> +2010-02-12T15:27:23.315268Z Ken Sharp</strong></p> +<blockquote> +<pre> +Sort out some minor benign compiler warnings. No differences expected. +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-12T151716.629322Z"></a> +2010-02-12T15:17:16.629322Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix colour processing. It was possible for nested ICCBased colour spaces (ie an ICCBased +space whose Alternate is another ICCBased space) to cause segmentation faults. + +This was due to the fact that the conversion to base colour continuation procedure +'currentbasecolor_cont' was supposed to scan the space from the initial declaration +each time round a loop. However a reassignment of an array pointer caused it to +rescan from the last processed colour array instead. + +Normally this does not cause problems, but in the case of nested ICCBased it caused +us to generate an error. + +Fixed by re-initialising the array pointer at the start of the loop. +</pre> +<p>[psi/zcolor.c]</p> +</blockquote> + +<p><strong><a name="2010-02-11T162820.347398Z"></a> +2010-02-11T16:28:20.347398Z Ken Sharp</strong></p> +<blockquote> +<pre> +Fix (pdfwrite) bug #691104 "pdfwrite emits garbage in the XMP metadata when DOCINFO +pdfmarks contain UTF-16BE text strings" + +There were several problems. Firstly the undoing of PostScript string escapes was wrong, +Octal escapes consumed too many characters, and several escape sequences weren't +recognised. + +Secondly the XMP emission didn't expect to receive UTF-16BE strings and didn't convert +them to UTF-8 for inclusion in the metadata. + +This patch fixes the broken octal escapes, adds teh unprocessed escapes and checks the +DOCINFo strings before sending to XMP. If they include the UTF-16BE Byte Order Mark +then convert the strings to UTF-8. +</pre> +<p>[base/gdevpdfe.c]</p> +</blockquote> + +<p><strong><a name="2010-02-10T202733.989189Z"></a> +2010-02-10T20:27:33.989189Z Ralph Giles</strong></p> +<blockquote> +<pre> +Bump the versioning after the 8.71 release. +</pre> +<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p> +</blockquote> <!-- [2.0 end contents] ==================================================== --> diff --git a/gs/doc/Install.htm b/gs/doc/Install.htm index 3a5195f5d..8675721c2 100644 --- a/gs/doc/Install.htm +++ b/gs/doc/Install.htm @@ -546,7 +546,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Issues.htm b/gs/doc/Issues.htm index dab462a0d..f01d58fcf 100644 --- a/gs/doc/Issues.htm +++ b/gs/doc/Issues.htm @@ -588,7 +588,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Language.htm b/gs/doc/Language.htm index bcc3c5692..c33fdbf6f 100644 --- a/gs/doc/Language.htm +++ b/gs/doc/Language.htm @@ -2367,7 +2367,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Lib.htm b/gs/doc/Lib.htm index 3a6702280..e3822dd89 100644 --- a/gs/doc/Lib.htm +++ b/gs/doc/Lib.htm @@ -861,7 +861,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Make.htm b/gs/doc/Make.htm index f1de9dbc8..0ef82e3b3 100644 --- a/gs/doc/Make.htm +++ b/gs/doc/Make.htm @@ -2868,7 +2868,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/News.htm b/gs/doc/News.htm index 896594ec7..54a1128b6 100644 --- a/gs/doc/News.htm +++ b/gs/doc/News.htm @@ -56,7 +56,40 @@ overview</a>. <!-- [2.0 begin contents] ================================================== --> -<h3><a name="Version9.00"></a>Version 9.00</h3> +<h2><a name="Version9.00"></a>Version 9.00 (2010-08-24)</h3> + +<p>This is the first release in the stable 9.x series. + +<p>This release includes a move to an ICC-based color rendering workflow. The +design allows easy integration of 3rd party color management modules (CMMs) +and management of DeviceN and spot source colors with ICC profiles as well +as with non-ICC proprietary methods. The default CMM is the well known littleCMS. +Postscript color objects and non-ICC CIE-based PDF color spaces are converted to +equivalent ICC profiles enabling complete color management for all color spaces by +an ICC-based CMM. New command line options enable the specification of gray, rgb +and cmyk default ICC profiles as well as output device ICC profiles. The new +work flow provides performance improvements in the rendering of images, shadings +and transparencies. In addition, the color conversions are designed to work +efficiently in multithreaded display list (c-list) rendering through the use of a +shared link cache. Finally, proper ICC based rendering now occurs for ALL XPS +objects including Named colors, N-Channel colors and images with internally embedded +ICC profiles. + +<p>The second major change in this release is that glyph rendering for all font types +except Type 3 is now handled by Freetype (via a much improved and enhanced Font API). +The most obvious benefit of this is a complete, and proven implementation of the +TrueType byte code interpreter (now unencumbered by patents). + +<p> Another major change is that the Postscript interpreter's graphics state now +stores two separate colour space settings for stroking and filling, to better +support the stroke and fill colours required by the PDF interpreter. + +<p>Finally, support for optional content has bee added to the PDF interpreter. + +<p> This release also includes a number of improvements to the pdfwrite device +to improve reliability and quality with PCL and XPS input. Many improvements to +the support of JPX images in PDF files, PDF annotation rendering and the usual +number of general bug and robustness fixes. <p>For a list of open issues, or to report problems, please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>. @@ -91,7 +124,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 9.00, 11 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Projects.htm b/gs/doc/Projects.htm index f2090e520..807a097da 100644 --- a/gs/doc/Projects.htm +++ b/gs/doc/Projects.htm @@ -669,7 +669,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Ps-style.htm b/gs/doc/Ps-style.htm index 671888528..4c2cce819 100644 --- a/gs/doc/Ps-style.htm +++ b/gs/doc/Ps-style.htm @@ -505,7 +505,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Ps2epsi.htm b/gs/doc/Ps2epsi.htm index 571c42e41..ec5d3e835 100644 --- a/gs/doc/Ps2epsi.htm +++ b/gs/doc/Ps2epsi.htm @@ -176,7 +176,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Ps2pdf.htm b/gs/doc/Ps2pdf.htm index f07631d4b..49d0c6ac0 100644 --- a/gs/doc/Ps2pdf.htm +++ b/gs/doc/Ps2pdf.htm @@ -1078,7 +1078,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Ps2ps2.htm b/gs/doc/Ps2ps2.htm index 27c57bab8..5f9f94c24 100644 --- a/gs/doc/Ps2ps2.htm +++ b/gs/doc/Ps2ps2.htm @@ -268,7 +268,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Psfiles.htm b/gs/doc/Psfiles.htm index af78dc623..242b08782 100644 --- a/gs/doc/Psfiles.htm +++ b/gs/doc/Psfiles.htm @@ -1014,7 +1014,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Readme.htm b/gs/doc/Readme.htm index be1bed428..70079d944 100644 --- a/gs/doc/Readme.htm +++ b/gs/doc/Readme.htm @@ -189,7 +189,7 @@ features in the current release; of changes in the current release; <li> if you wish, History#.htm (currently <a -href="History8.htm">History8.htm</a>), for changes in other releases. +href="History9.htm">History9.htm</a>), for changes in other releases. </ul> <hr> @@ -420,6 +420,7 @@ Hershey fonts, giving the terms of use and describing their encoding. <dt><a name="History"></a><b>History*.htm</b> <dd> The history of changes in all Ghostscript releases: <blockquote> +<a href="History9.htm">History9.htm</a> for Ghostscript versions 9.n<br> <a href="History8.htm">History8.htm</a> for Ghostscript versions 8.n<br> <a href="History7.htm">History7.htm</a> for Ghostscript versions 7.n<br> <a href="History6.htm">History6.htm</a> for Ghostscript versions 6.n<br> @@ -583,7 +584,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Release.htm b/gs/doc/Release.htm index 8f38bb7ea..4dcfb91b4 100644 --- a/gs/doc/Release.htm +++ b/gs/doc/Release.htm @@ -836,7 +836,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Source.htm b/gs/doc/Source.htm index c7a33764c..10568de6a 100644 --- a/gs/doc/Source.htm +++ b/gs/doc/Source.htm @@ -376,7 +376,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Unix-lpr.htm b/gs/doc/Unix-lpr.htm index 6074cf751..02fbb20cd 100644 --- a/gs/doc/Unix-lpr.htm +++ b/gs/doc/Unix-lpr.htm @@ -260,7 +260,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Use.htm b/gs/doc/Use.htm index 5c30d7d0d..457734fbf 100644 --- a/gs/doc/Use.htm +++ b/gs/doc/Use.htm @@ -3846,7 +3846,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/Xfonts.htm b/gs/doc/Xfonts.htm index c038939b4..6d49d5d2a 100644 --- a/gs/doc/Xfonts.htm +++ b/gs/doc/Xfonts.htm @@ -258,7 +258,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. <p> -<small>Ghostscript version 8.71, 10 February 2010 +<small>Ghostscript version 9.00, 24 August 2010 <!-- [3.0 end visible trailer] ============================================= --> diff --git a/gs/doc/gs-vms.hlp b/gs/doc/gs-vms.hlp index 975390d23..091b19234 100644 --- a/gs/doc/gs-vms.hlp +++ b/gs/doc/gs-vms.hlp @@ -1,7 +1,7 @@ 1 gs gs - GPL Ghostscript interpreter/previewer ! $Id$ -! Ghostscript version 8.71, 10 February 2010 +! Ghostscript version 9.00, 24 August 2010 Usage: $ gs [options] [file ...] diff --git a/gs/man/dvipdf.1 b/gs/man/dvipdf.1 index d8a6aa375..7e0ea4188 100644 --- a/gs/man/dvipdf.1 +++ b/gs/man/dvipdf.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH DVIPDF 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH DVIPDF 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME dvipdf \- Convert TeX DVI file to PDF using ghostscript and dvips .SH SYNOPSIS @@ -22,7 +22,7 @@ and any options from the command-line. .SH SEE ALSO gs(1), dvips(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/font2c.1 b/gs/man/font2c.1 index 5d59621e1..81d972919 100644 --- a/gs/man/font2c.1 +++ b/gs/man/font2c.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH FONT2C 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH FONT2C 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME font2c \- Write PostScript Type 0 or Type 1 font as C code .SH SYNOPSIS @@ -18,7 +18,7 @@ that can be linked with the interpreter. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/gs.1 b/gs/man/gs.1 index ffd0182a3..79586f414 100644 --- a/gs/man/gs.1 +++ b/gs/man/gs.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH GS 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH GS 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME gs \- Ghostscript (PostScript and PDF language interpreter and previewer) .SH SYNOPSIS @@ -404,7 +404,7 @@ The various Ghostscript document files (above), especially \fBUse.htm\fR. See http://bugs.ghostscript.com/ and the Usenet news group comp.lang.postscript. .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/gslp.1 b/gs/man/gslp.1 index f9bd9da80..054086da4 100644 --- a/gs/man/gslp.1 +++ b/gs/man/gslp.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH GSLP 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH GSLP 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME gslp \- Format and print text using ghostscript .br @@ -93,7 +93,7 @@ Also, the string %# in a heading or footing is replaced with the page #. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/gsnd.1 b/gs/man/gsnd.1 index 99ad9ac29..f1f64a9d5 100644 --- a/gs/man/gsnd.1 +++ b/gs/man/gsnd.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH GSND 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH GSND 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME gsnd \- Run ghostscript (PostScript and PDF engine) without display .SH SYNOPSIS @@ -13,7 +13,7 @@ flag, followed by any other arguments from the command-line. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/pdf2dsc.1 b/gs/man/pdf2dsc.1 index edd924703..4e058fc84 100644 --- a/gs/man/pdf2dsc.1 +++ b/gs/man/pdf2dsc.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PDF2DSC 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PDF2DSC 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME pdf2dsc \- generate a PostScript page list of a PDF document .SH SYNOPSIS @@ -29,6 +29,6 @@ Ghostscript since release 3.53. .SH SEE ALSO gs(1), ghostview(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Yves Arrouye <yves.arrouye@usa.net> and Russell Lang gsview at ghostgum.com.au diff --git a/gs/man/pdf2ps.1 b/gs/man/pdf2ps.1 index 31789b9b2..1f64a4ae8 100644 --- a/gs/man/pdf2ps.1 +++ b/gs/man/pdf2ps.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PDF2PS 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PDF2PS 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME pdf2ps \- Ghostscript PDF to PostScript translator .SH SYNOPSIS @@ -15,7 +15,7 @@ LanguageLevel 3 in the output. Run "\fBgs -h\fR" to find the location of Ghostscript documentation on your system, from which you can get more details. .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/pdfopt.1 b/gs/man/pdfopt.1 index d73b4b84e..a3d65aeb5 100644 --- a/gs/man/pdfopt.1 +++ b/gs/man/pdfopt.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PDFOPT 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PDFOPT 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME pdfopt \- Ghostscript PDF Optimizer .SH SYNOPSIS @@ -21,7 +21,7 @@ system, from which you can get more details. "Linearized PDF" in Adobe's PDF reference manual, http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/pf2afm.1 b/gs/man/pf2afm.1 index 52f99ea4b..3ef036a2c 100644 --- a/gs/man/pf2afm.1 +++ b/gs/man/pf2afm.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PF2AFM 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH PF2AFM 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME pf2afm \- Make an AFM file from Postscript (PFB/PFA/PFM) font files using ghostscript .SH SYNOPSIS @@ -16,7 +16,7 @@ gs(1) .br pf2afm.ps in the Ghostscript lib directory. .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/pfbtopfa.1 b/gs/man/pfbtopfa.1 index c9098f8ae..0541d65fc 100644 --- a/gs/man/pfbtopfa.1 +++ b/gs/man/pfbtopfa.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PFBTOPFA 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH PFBTOPFA 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME pfbtopfa \- Convert Postscript .pfb fonts to .pfa format using ghostscript .SH SYNOPSIS @@ -11,7 +11,7 @@ to convert a .pfb file into a .pfa file. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/printafm.1 b/gs/man/printafm.1 index df4f5c575..edcd80b2e 100644 --- a/gs/man/printafm.1 +++ b/gs/man/printafm.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PRINTAFM 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH PRINTAFM 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME printafm \- Print the metrics from a Postscript font in AFM format using ghostscript .SH SYNOPSIS @@ -12,7 +12,7 @@ Output goes to stdout. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/ps2ascii.1 b/gs/man/ps2ascii.1 index 86eb34159..4f2e2f547 100644 --- a/gs/man/ps2ascii.1 +++ b/gs/man/ps2ascii.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PS2ASCII 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PS2ASCII 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME ps2ascii \- Ghostscript translator from PostScript or PDF to ASCII .SH SYNOPSIS @@ -23,7 +23,7 @@ system, from which you can get more details. .SH SEE ALSO pstotext(1), http://www.research.digital.com/SRC/virtualpaper/pstotext.html .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/ps2epsi.1 b/gs/man/ps2epsi.1 index 65c7dca55..19810d1a8 100644 --- a/gs/man/ps2epsi.1 +++ b/gs/man/ps2epsi.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PS2EPSI 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PS2EPSI 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME ps2epsi \- generate conforming Encapsulated PostScript .SH SYNOPSIS @@ -60,7 +60,7 @@ ps2epsi.ps>the Ghostscript program which does the work .SH SEE ALSO gs (1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. However, the content may be obsolete, or inconsistent with ps2epsi.txt. .SH AUTHOR George Cameron diff --git a/gs/man/ps2pdf.1 b/gs/man/ps2pdf.1 index 1b7c07da7..7db751a31 100644 --- a/gs/man/ps2pdf.1 +++ b/gs/man/ps2pdf.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PS2PDF 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH PS2PDF 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME ps2pdf \- Convert PostScript to PDF using ghostscript .br @@ -81,7 +81,7 @@ Ps2pdf.htm in the Ghostscript documentation See http://bugs.ghostscript.com/ and the Usenet news group comp.lang.postscript. .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/ps2pdfwr.1 b/gs/man/ps2pdfwr.1 index f4a893630..fde1a37c0 100644 --- a/gs/man/ps2pdfwr.1 +++ b/gs/man/ps2pdfwr.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PS2PDFWR 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH PS2PDFWR 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME ps2pdfwr \- Convert PostScript to PDF without specifying CompatibilityLevel, using ghostscript .SH SYNOPSIS @@ -24,7 +24,7 @@ scripts all invoke this one with the addition of the respective compatibility le .SH SEE ALSO gs(1), ps2pdf(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/ps2ps.1 b/gs/man/ps2ps.1 index 3e052712e..354a1740c 100644 --- a/gs/man/ps2ps.1 +++ b/gs/man/ps2ps.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH PS2PS 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*- +.TH PS2PS 1 "24 August 2010" 9.00 "Ghostscript Tools" \" -*- nroff -*- .SH NAME ps2ps, eps2eps \- Ghostscript PostScript "distiller" .SH SYNOPSIS @@ -27,7 +27,7 @@ lower level output than is desirable. Use with caution. .SH SEE ALSO ps2pdf(1), ps2ascii(1), ps2epsi(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/man/wftopfa.1 b/gs/man/wftopfa.1 index 17d4b915e..64d6cbf0d 100644 --- a/gs/man/wftopfa.1 +++ b/gs/man/wftopfa.1 @@ -1,5 +1,5 @@ .\" $Id$ -.TH WFTOPFA 1 "10 February 2010" 8.71 Ghostscript \" -*- nroff -*- +.TH WFTOPFA 1 "24 August 2010" 9.00 Ghostscript \" -*- nroff -*- .SH NAME wftopfa \- Convert a Wadalab base font to Postscript .PFA (or .PFB) format using ghostscript @@ -13,7 +13,7 @@ format. .SH SEE ALSO gs(1) .SH VERSION -This document was last revised for Ghostscript version 8.71. +This document was last revised for Ghostscript version 9.00. .SH AUTHOR Artifex Software, Inc. are the primary maintainers of Ghostscript. diff --git a/gs/toolbin/tests/check_dirs.py b/gs/toolbin/tests/check_dirs.py index 1855fb39e..7cdf6e30a 100755 --- a/gs/toolbin/tests/check_dirs.py +++ b/gs/toolbin/tests/check_dirs.py @@ -43,7 +43,7 @@ class GSCheckEmptyTopDirectory(GSTestCase): gsFilesInTopDirectory = ['LICENSE', 'autogen.sh', 'Makefile', 'configure', 'config.log', 'config.status', - 'ghostscript.vcproj'] + 'ghostscript.vcproj', 'ghostscript-ufst.vcproj'] # Add the tests defined in this file to a suite. def addTests(suite, gsroot, **args): |