Remove trailing ^M (<cr>) characters from commits by alexcher.[lib/dumphint.ps 1.1.4.2, src/dwdll.c 1.5.2.2, src/dwimg.c 1.8.2.3, src/dwnodll.c 1.4.2.2, src/errors.h 1.7.2.2, src/gp_dosfs.c 1.14.2.2, src/gp_vms.c 1.29.2.2, src/gscolor.c 1.10.2.2, src/gscolor1.c 1.8.2.2, src/windows_.h 1.4.2.2]
Update the change logs for release.[doc/Changes.htm 1.43.2.7, doc/Details.htm 1.1.2.7, doc/Details8.htm 1.5.2.14, doc/History8.htm 1.1.2.14]
Correct an ordering issue and a typo in the header dependencies.[src/lib.mak 1.126.2.10]
Require the lastest zlib-1.2.1 release when compiling in that 3rd party library. Dynamic linking against a separately built zlib 1.1.x still works. Porting change from HEAD.[doc/Make.htm 1.63.2.8, src/zlib.mak 1.7.2.1]
Update the release date and News.[doc/API.htm 1.31.2.7, doc/Bug-form.htm 1.34.2.7, doc/Bug-info.htm 1.32.2.7, doc/C-style.htm 1.40.2.7, doc/Commprod.htm 1.26.2.7, doc/DLL.htm 1.27.2.7, doc/Deprecated.htm 1.6.2.7, doc/Details8.htm 1.5.2.13, doc/Develop.htm 1.110.2.10, doc/Devices.htm 1.63.2.8, doc/Drivers.htm 1.37.2.7, doc/Fonts.htm 1.35.2.7, doc/Helpers.htm 1.29.2.7, doc/History1.htm 1.25.2.7, doc/History2.htm 1.25.2.7, doc/History3.htm 1.25.2.7, doc/History4.htm 1.25.2.7, doc/History5.htm 1.27.2.7, doc/History6.htm 1.42.2.7, doc/History7.htm 1.30.2.7, doc/History8.htm 1.1.2.13, doc/Htmstyle.htm 1.30.2.7, doc/Install.htm 1.39.2.7, doc/Issues.htm 1.34.2.7, doc/Language.htm 1.68.2.8, doc/Lib.htm 1.28.2.7, doc/Maintain.htm 1.36.2.7, doc/Make.htm 1.63.2.7, doc/New-user.htm 1.44.2.7, doc/News.htm 1.123.2.12, doc/Projects.htm 1.49.2.7, doc/Ps-style.htm 1.23.2.7, doc/Ps2epsi.htm 1.27.2.7, doc/Ps2pdf.htm 1.51.2.12, doc/Psfiles.htm 1.43.2.7, doc/Readme.htm 1.48.2.10, doc/Release.htm 1.76.2.7, doc/Source.htm 1.25.2.7, doc/Tester.htm 1.25.2.7, doc/Testing.htm 1.17.2.7, doc/Unix-lpr.htm 1.25.2.7, doc/Use.htm 1.81.2.9, doc/Xfonts.htm 1.25.2.7, doc/gs-vms.hlp 1.24.2.5, man/dvipdf.1 1.22.2.7, man/font2c.1 1.22.2.7, man/gs.1 1.23.2.7, man/gslp.1 1.22.2.7, man/gsnd.1 1.22.2.7, man/pdf2dsc.1 1.21.2.7, man/pdf2ps.1 1.23.2.7, man/pdfopt.1 1.21.2.7, man/pf2afm.1 1.22.2.7, man/pfbtopfa.1 1.23.2.7, man/printafm.1 1.22.2.7, man/ps2ascii.1 1.21.2.7, man/ps2epsi.1 1.20.2.7, man/ps2pdf.1 1.27.2.7, man/ps2pdfwr.1 1.26.2.7, man/ps2ps.1 1.29.2.7, man/wftopfa.1 1.22.2.7, src/version.mak 1.60.2.9]
Add custom page size to PostScript Printer Description file.[lib/ghostpdf.ppd 1.1.2.2]
Ignore MediaPosition when selecting a media type. Adobe CPSI does it this way, and the PLRM suggests that this is advisory only. Bug 687547 for customer 780. DETAILS: Adobe CPSI also ignores this parameter without generating any error or warning. The PLRM says: This parameter does not override the normal media selection process described in the text, but if specified it will be honored--provided it can satisfy the input media request in a manner consistent with normal media selection--even if the media source it specifies is not the best available match for the requested attributes. Since an input PS file is unlikely to have a PPD that accurately reflects the 'slot' numbers of our InputAttributes dictionary, we also ignore this option and instead give the 'best fit' based on size and orientation (and other parameters that may exist).[lib/gs_setpd.ps 1.18.2.3]
Handle arrays as well as name operands to CS/cs in PDF files. Adobe PDF Library + Adobe InDesign create PDFs that violate the spec. Bug 687610 for customer 770 (fix ported from HEAD).[lib/pdf_draw.ps 1.66.2.5]
2004-09-13 07:22 Igor Melichev
Porting a recent patch from HEAD (September 13) : http://www.ghostscript.com/pipermail/gs-cvs/2004-September/004802.html (1075) Fix : Improve the error reporting about a dangling resource map record. DETAILS : When a resource map record pointed to an undefined resource, it printed "undefinedresource in GetSize". With this inprovement it prints the substituted resource name instead GetSize. EXPECTED DIFFERENCES : None.[lib/gs_cidfm.ps 1.5.2.1]
Fixes for security problems not fixed in previous commit and fixes for other problems identified by SaGS in bug report -- detecting recursion, allowing r/w strings in procedures (but not in PermitFile arrays). Bug 687559. Changes ported from HEAD rev,[lib/gs_lev2.ps 1.29.2.5]
2004-09-09 11:45 Igor Melichev
Porting a recent patch from HEAD : 9 Sent 2004 : http://www.ghostscript.com/pipermail/gs-cvs/2004-September/004794.html (1070) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 7). DETAILS : A flag to be reset when going to the next character. Bug 687660 "incorrect font rendering/missing glyphs from ps2pdf" EXPECTED DIFFERENCES : None.[src/gdevpdte.c 1.33.2.12]
Propagate autotools build system changes from HEAD. Corrects some formatting errors in the 'clean' targets. More specific tests for local library source code. Properly pass HAVE_HYPOT to the makefile if it is detected.[src/Makefile.in 1.24.2.5, src/configure.ac 1.28.2.8]
Change regression test flags to use new JOBSERVER flag. Older flags are retained to allow older regression testing to still use this module. Change propagated from HEAD.[toolbin/tests/gstestgs.py 1.19.2.4]
Add some job server related support. The -dJOBSERVER option defines the ^D to start a new encapsulated job, and the ^D is changed to be a self- delimitting token in the scanner. Fixes 687079. DETAILS: For backward compatibility, -dNOOUTERSAVE is retained, but this does *NOT* define the ^D to start a new encapsulated job. As specified in the updates to doc/Use.htm, in order to avoid an /invalidrestore error, the input should be from stdin otherwise the restore done as part of the new job encapsulation (restore returns to the server state) will encounter a file object that was created after the encapsulation save. This allows 289-01.ps to complete IFF the -dJOBSERVER option is used during regression testing. Thus the only (eventual) regression change will be: 289-01.ps[doc/Use.htm 1.81.2.8, lib/gs_init.ps 1.87.2.9, lib/gs_lev2.ps 1.29.2.4, src/scantab.c 1.4.2.1]
Add missing Id lines to files that need them.[doc/gs.css 1.2.2.1, lib/pdf_ops.ps 1.27.2.3, src/gxclrast.c 1.26.2.4]
Fix for 687651 SEGV on GS_8_1X branch with banding Altona_Visual_sb_1v1_x3.pdf. DETAILS: The last update dropped several calls to gs_cspace_init_DeviceXXX. As a result, there were uninitialized color spaces.[src/gxclrast.c 1.26.2.3]
Use the MTIME define from the stat module rather than a numerical index to specify the modification time in python. Propagates a similar change from gscheck_raster.py.[toolbin/tests/gscheck_pdfwrite.py 1.13.2.4]
Fix for 687640 Unable to set default halftones for PDF. DETAILS: To support both PS level 1 and PS level 2 interpreting modes, Ghostscript defines two routines for setting a default halftone. PS level 1 does not support resources. Thus for PS 1 we have .setdefaultscreen which sets a default halftone which is defined inside of gs_init.ps. For PS 2, we have .setdefaulthalftone which is similar to .setdefaultscreen except that it also checks for a default halftone resource. The PDF interpreter's handler for the /HT gstate parameter called .setdefaultscreen if the parameter value was /Default. This fix changes the handler to use .setdefaulthalftone instead. This results in the PDF interpreter using the default halftone resource if it is present.[lib/pdf_draw.ps 1.66.2.4]
Refer to the modification time using the built-in enum, rather than an absolute number. Both more clear and less accident prone. Backported fix from HEAD.[toolbin/tests/gscheck_raster.py 1.3.2.5]
Fix ResourceForAll Category procedure to make sure that the path given by GenericResourceDir systemparam is included in the enumeration. Bug 687641.[lib/gs_res.ps 1.33.2.2]
Add (most of) the new CMap files and updated CMaps from HEAD rev. Problematic CMaps were omitted for now. DETAILS: The CMaps that fail to load with HEAD and this rev are detected by 409-01.ps. These files can be added after a patch is applied for them.[Resource/CMap/83pv-RKSJ-H 1.1.2.1, Resource/CMap/90ms-RKSJ-H 1.1.2.1, Resource/CMap/90ms-RKSJ-UCS2 1.1.2.1, Resource/CMap/90ms-RKSJ-V 1.1.2.1, Resource/CMap/90msp-RKSJ-H 1.1.2.1, Resource/CMap/90msp-RKSJ-V 1.1.2.1, Resource/CMap/90pv-RKSJ-H 1.1.2.1, Resource/CMap/90pv-RKSJ-UCS2 1.1.2.1, Resource/CMap/90pv-RKSJ-UCS2C 1.1.2.1, Resource/CMap/90pv-RKSJ-V 1.1.2.1, Resource/CMap/Add-RKSJ-H 1.1.2.1, Resource/CMap/Add-RKSJ-V 1.1.2.1, Resource/CMap/Adobe-CNS1-B5pc 1.1.2.1, Resource/CMap/Adobe-CNS1-H-CID 1.1.2.1, Resource/CMap/Adobe-CNS1-H-Host 1.1.2.1, Resource/CMap/Adobe-CNS1-H-Mac 1.1.2.1, Resource/CMap/Adobe-GB1-GBK-EUC 1.1.2.1, Resource/CMap/Adobe-GB1-GBpc-EUC 1.1.2.1, Resource/CMap/Adobe-GB1-H-CID 1.1.2.1, Resource/CMap/Adobe-GB1-H-Host 1.1.2.1, Resource/CMap/Adobe-GB1-H-Mac 1.1.2.1, Resource/CMap/Adobe-Japan1-90ms-RKSJ 1.1.2.1, Resource/CMap/Adobe-Japan1-90pv-RKSJ 1.1.2.1, Resource/CMap/Adobe-Japan1-H-CID 1.1.2.1, Resource/CMap/Adobe-Japan1-H-Host 1.1.2.1, Resource/CMap/Adobe-Japan1-H-Mac 1.1.2.1, Resource/CMap/Adobe-Japan1-PS-H 1.1.2.1, Resource/CMap/Adobe-Japan1-PS-V 1.1.2.1, Resource/CMap/Adobe-Japan1-UCS2 1.1.2.1, Resource/CMap/Adobe-Korea1-H-CID 1.1.2.1, Resource/CMap/Adobe-Korea1-H-Host 1.1.2.1, Resource/CMap/Adobe-Korea1-KSCms-UHC 1.1.2.1, Resource/CMap/Adobe-Korea1-KSCpc-EUC 1.1.2.1, Resource/CMap/Adobe-Korea1-UCS2 1.1.2.1, Resource/CMap/B5pc-H 1.1.2.1, Resource/CMap/B5pc-UCS2 1.1.2.1, Resource/CMap/B5pc-UCS2C 1.1.2.1, Resource/CMap/B5pc-V 1.1.2.1, Resource/CMap/CNS-EUC-H 1.1.2.1, Resource/CMap/CNS-EUC-V 1.1.2.1, Resource/CMap/EUC-H 1.1.2.1, Resource/CMap/EUC-V 1.1.2.1, Resource/CMap/Ext-RKSJ-H 1.1.2.1, Resource/CMap/Ext-RKSJ-V 1.1.2.1, Resource/CMap/GB-EUC-H 1.1.2.1, Resource/CMap/GB-EUC-V 1.1.2.1, Resource/CMap/GBK-EUC-H 1.1.2.1, Resource/CMap/GBK-EUC-UCS2 1.1.2.1, Resource/CMap/GBK-EUC-V 1.1.2.1, Resource/CMap/GBK2K-H 1.1.2.1, Resource/CMap/GBK2K-V 1.1.2.1, Resource/CMap/GBKp-EUC-H 1.1.2.1, Resource/CMap/GBKp-EUC-V 1.1.2.1, Resource/CMap/GBT-EUC-H 1.1.2.1, Resource/CMap/GBT-EUC-V 1.1.2.1, Resource/CMap/GBpc-EUC-H 1.1.2.1, Resource/CMap/GBpc-EUC-UCS2 1.1.2.1, Resource/CMap/GBpc-EUC-UCS2C 1.1.2.1, Resource/CMap/GBpc-EUC-V 1.1.2.1, Resource/CMap/H 1.1.2.1, Resource/CMap/HKdla-B5-H 1.1.2.1, Resource/CMap/HKdla-B5-V 1.1.2.1, Resource/CMap/HKdlb-B5-H 1.1.2.1, Resource/CMap/HKdlb-B5-V 1.1.2.1, Resource/CMap/HKgccs-B5-H 1.1.2.1, Resource/CMap/HKgccs-B5-V 1.1.2.1, Resource/CMap/HKm314-B5-H 1.1.2.1, Resource/CMap/HKm314-B5-V 1.1.2.1, Resource/CMap/HKm471-B5-H 1.1.2.1, Resource/CMap/HKm471-B5-V 1.1.2.1, Resource/CMap/HKscs-B5-H 1.1.2.1, Resource/CMap/HKscs-B5-V 1.1.2.1, Resource/CMap/Identity-H 1.1.4.2, Resource/CMap/Identity-V 1.1.4.2, Resource/CMap/KSC-EUC-H 1.1.2.1, Resource/CMap/KSC-EUC-V 1.1.2.1, Resource/CMap/KSCms-UHC-H 1.1.2.1, Resource/CMap/KSCms-UHC-HW-H 1.1.2.1, Resource/CMap/KSCms-UHC-HW-V 1.1.2.1, Resource/CMap/KSCms-UHC-UCS2 1.1.2.1, Resource/CMap/KSCms-UHC-V 1.1.2.1, Resource/CMap/KSCpc-EUC-H 1.1.2.1, Resource/CMap/KSCpc-EUC-UCS2 1.1.2.1, Resource/CMap/KSCpc-EUC-UCS2C 1.1.2.1, Resource/CMap/UCS2-90ms-RKSJ 1.1.2.1, Resource/CMap/UCS2-90pv-RKSJ 1.1.2.1, Resource/CMap/UCS2-B5pc 1.1.2.1, Resource/CMap/UCS2-GBK-EUC 1.1.2.1, Resource/CMap/UCS2-GBpc-EUC 1.1.2.1, Resource/CMap/UCS2-KSCms-UHC 1.1.2.1, Resource/CMap/UCS2-KSCpc-EUC 1.1.2.1, Resource/CMap/UniCNS-UCS2-H 1.1.2.1, Resource/CMap/UniCNS-UCS2-V 1.1.2.1, Resource/CMap/UniGB-UCS2-H 1.1.2.1, Resource/CMap/UniGB-UCS2-V 1.1.2.1, Resource/CMap/UniJIS-UCS2-H 1.1.2.1, Resource/CMap/UniJIS-UCS2-HW-H 1.1.2.1, Resource/CMap/UniJIS-UCS2-HW-V 1.1.2.1, Resource/CMap/UniJIS-UCS2-V 1.1.2.1, Resource/CMap/UniKS-UCS2-H 1.1.2.1, Resource/CMap/UniKS-UCS2-V 1.1.2.1, Resource/CMap/V 1.1.2.1]
Previous commit inadvertently included some changes related to PDF 1.5 extensions. Remove those sections (ObjectStream and xrefstream).[lib/pdf_base.ps 1.34.2.3, lib/pdf_main.ps 1.71.2.5]
Port fixes from the HEAD rev to GS_8_1X branch in preparation for the 8.15 GPL release. Fixes from Ray Johnston and Alex Cherepanov. DETAILS: Fixes are: Resource/ColorSpace/DefaultCMYK, Resource/ColorSpace/DefaultGray, Resource/ColorSpace/DefaultRGB: bug 687608 lib/gs_init.ps: bug 687521 lib/gs_type1.ps: bug 687066. lib/pdf_base.ps, src/iscan.c: bug 687277 for customer 440. lib/pdf_draw.ps: bug 687494 from customer 580. bug 687288 for customer 32. lib/pdf_font.ps: bug 687315. bug 687422 for Artifex customer 670. lib/pdf_main.ps: bug 687293, bug 687277 for customer 440. lib/pdf_ops.ps: bug 687606 for customer number 780. lib/ps2ascii.ps: bug 687466. src/gdevpdf.c: bug 687515 src/gdevpdfg.c: for customer 32 src/gsdevmem.c: bug 687227 src/gsmisc.c: bug 687420. src/gxclrast.c: bug 687425 for customer 1110. src/gxhintn.c: bug 687417. src/gximag3x.c: bug 687411, bug 686843. src/gximage3.c: bug 686843. src/iccfont.c: bug 687444 for customer 531. src/iscan.h, src/iscannum.c, src/ztoken.c: bug 687277 for customer 440. src/stream.c: bug 687505. src/zdevice.c: bug 687223. src/zfileio.c: bug 687374 for customer 310. src/zfont42.c: bug 687340 toolbin/pdfinflt.ps: bug 687363.[Resource/ColorSpace/DefaultCMYK 1.2.2.2, Resource/ColorSpace/DefaultGray 1.2.2.2, Resource/ColorSpace/DefaultRGB 1.2.2.2, lib/gs_init.ps 1.87.2.8, lib/gs_type1.ps 1.14.2.1, lib/pdf_base.ps 1.34.2.2, lib/pdf_draw.ps 1.66.2.3, lib/pdf_font.ps 1.53.2.5, lib/pdf_main.ps 1.71.2.4, lib/pdf_ops.ps 1.27.2.2, lib/ps2ascii.ps 1.7.2.2, src/gdevpdf.c 1.67.2.11, src/gdevpdfg.c 1.31.2.5, src/gsdevmem.c 1.4.2.2, src/gsmisc.c 1.15.2.1, src/gxclrast.c 1.26.2.2, src/gxhintn.c 1.21.2.9, src/gximage3.c 1.11.2.2, src/iccfont.c 1.7.2.2, src/iscan.c 1.13.2.2, src/iscan.h 1.8.2.1, src/iscannum.c 1.6.2.2, src/stream.c 1.21.2.2, src/zdevice.c 1.7.2.1, src/zfileio.c 1.15.2.1, src/zfont42.c 1.14.2.2, src/ztoken.c 1.10.2.2, toolbin/pdfinflt.ps 1.4.2.1]
2004-08-30 20:59 Igor Melichev
Porting recent changes from HEAD to GS_8_1X. August 18-24 : http://www.ghostscript.com/pipermail/gs-cvs/2004-August/004709.html (1053) Fix (pdfwrite) : Wrong glyph positions with CIDFontType2 with no vmtx. http://www.ghostscript.com/pipermail/gs-cvs/2004-August/004714.html (1054) Fix (pdfwrite) : Check for glyph name conflicts while font merging. http://www.ghostscript.com/pipermail/gs-cvs/2004-August/004726.html (1057) Fix (TT interpreter) : A minor portability problem. http://www.ghostscript.com/pipermail/gs-cvs/2004-August/004727.html (1056) Fix (TT interpreter) : Provide a tolerance to an inconsistent cvt length.' http://www.ghostscript.com/pipermail/gs-cvs/2004-August/004730.html (1060) Fix (pdfwrite) : A page compression type change could cause a crash. DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : None.[src/gdevpdf.c 1.67.2.10, src/gdevpdfu.c 1.40.2.8, src/gdevpdfx.h 1.68.2.8, src/gdevpdtt.c 1.43.2.11, src/gxfcopy.c 1.25.2.6, src/ttinterp.c 1.11.2.5, src/ttload.c 1.4.4.2]
Fix for security problems with user parameters, in particular the /PermitFileReading array. Also corrects handling of parameter arrays that contain a 'mark'. Fixes bug 687559. Thanks to mat. Gh. Savulescu (SaGS) for the bug report and for a suggested patch.[lib/gs_lev2.ps 1.29.2.3]
Incoprorate some fixes and changes from the HEAD to the GS_8_1X branch. Bugs 687409, 686949, 629335 and minor spelling and format corrections.[doc/Use.htm 1.81.2.7]
Include the following patches from the head branch; Fix for 687274 White areas appear shaded. Fix for 687337 Zerodivide in cie_cache_mult. Fix for 687364 rangecheck in buildshading2 from Quark XPress PS file. This fix involves the creation of the findcmykcustomcolor and setcustomcolor functions. Fix for 687390 GhostScript 8.11 inserts rendering artifacts with GIFs as source. The actual problem is an error which resulted in a pale yellow being shown as a pale pink. This occurs when dithering on devices which use a 256 color palette. Fix for 687402 Missing color on annots.pdf. This is actually not an error. Instead it is due to some confusion about the displaying of link annotations. Fix 687189 for bbox_forward_add_rect infinite recursion. This problem caused segment faults or apparent hangs with the x11alpha device. This fix also works for 656414 segfault when using x11alpha. Fix for 687441 New: MSVC warnings. Correct some warning messages from MSVC. Fix for 687453 Problem with overprinting and shading. Change the default handling of the MaxSeparations device parameter. This parameter is only used by some of the DeviceN mode devices (which have their own handling of this parameter). The default handler now simply ignores this parameter. However it does read the parameter. Not reading the parameter was causing problems with PDF files and page devices. Fix for 687553 rangecheck in .sethalftone5 and SeparationOrder. Fix for 687572 AFPL Ghostscript 8.14 fails with some PDF files. More work upon 687551 Implement the remaining TN 5044 procedures. This commit implements the setcmykoverprint procedure.[examples/annots.pdf 1.1.10.1, lib/gs_init.ps 1.87.2.7, lib/gs_lev2.ps 1.29.2.2, lib/pdf_draw.ps 1.66.2.2, lib/pdf_main.ps 1.71.2.3, lib/pdf_rbld.ps 1.4.4.2, src/devs.mak 1.91.2.9, src/dwimg.c 1.8.2.2, src/dwmain.c 1.12.2.2, src/dwmainc.c 1.14.2.2, src/gdevbbox.c 1.11.2.3, src/gdevbmp.c 1.8.2.1, src/gdevcgm.c 1.6.2.2, src/gdevdevn.c 1.5.2.4, src/gdevdevn.h 1.2.4.2, src/gdevm64.c 1.1.2.1, src/gdevp2up.c 1.4.2.1, src/gdevpccm.c 1.5.2.1, src/gdevpccm.h 1.6.2.1, src/gdevpcx.c 1.5.2.1, src/gdevpng.c 1.7.2.3, src/gdevpsd.c 1.4.2.3, src/gdevsvga.c 1.5.2.1, src/gdevwdib.c 1.7.2.1, src/gdevwpr2.c 1.15.2.1, src/gscie.c 1.13.2.2, src/gsdparam.c 1.12.2.1, src/gsht.c 1.16.2.3, src/unistd_.h 1.8.2.2]
Add a PPD for PostScript to be used by ghostscript ps2pdf.[doc/Develop.htm 1.110.2.9, doc/Ps2pdf.htm 1.51.2.11, lib/ghostpdf.inf 1.1.2.1, lib/ghostpdf.ppd 1.1.2.1]
Change product name to GPL Ghostscript.[src/dwreg.c 1.3.2.1, src/dwsetup.cpp 1.8.2.1, src/dwsetup.def 1.2.8.2, src/dwsetup.rc 1.10.2.2, src/dwuninst.cpp 1.4.2.1, src/dwuninst.def 1.2.8.2, src/gp_wgetv.c 1.6.2.1, src/winint.mak 1.18.2.3]
Change product name to GPL Ghostscript and update version number for the release.[doc/News.htm 1.123.2.11, lib/gs_init.ps 1.87.2.6, src/gscdef.c 1.33.2.4, src/version.mak 1.60.2.8]
Relicence the 8.1x stable branch under the GNU GPL.[LICENSE 1.2.2.3, doc/COPYING 1.1.8.1, doc/Copying.htm 1.25.2.7, doc/Readme.htm 1.48.2.9]
Remove references to the FreeType license. Artifex Software, Inc. has obtained rights to the FreeType 1 code and the work included here is relicensed under the same terms as the rest of the Ghostscript code.[LICENSE 1.2.2.2, doc/FTL.txt 1.1.2.2]
Import fixes from HEAD branch to 81X branch. Fixes for bugs 687038, 687325, 687436 and 687458. Also added the -dNORANGEPAGESIZE feature since it is zero risk.[lib/gs_pdfwr.ps 1.31.2.3, lib/gs_setpd.ps 1.18.2.2]
Fix missing / in last commit by Igor that caused PS /undefined error. Also apply Alex's 1.38 patch to this branch to handle zero length tables (bug 687457).[lib/gs_ttf.ps 1.28.2.5]
2004-08-02 03:33 Igor Melichev
Fix : .OrigFont was not provided when an embeded font is defined. DETAILS : Bug 687598 "Courier CE font problems". The test case embeds a font with an instandard FontMatrix [ 0.00039 0 0 0.00039 0 0 ]. For passing it to pdfwrite, the procedure .completefont adds the /.OrigFont key to the font dictionary. However the key was added after .buildfont1 is called, and the device did not recieve the information at the time. This patch moves the .OrigFont setting ahead to the .buildfont* call. EXPECTED DIFFERENCES : None.[lib/gs_fonts.ps 1.28.2.3]
2004-07-29 19:26 Igor Melichev
Fix : True Type font loader : numLoca run out the PS string size limit. DETAILS : Bug 687599 "/rangecheck in --string--". This patch increases the maximal 'loca' size to 64528 bytes, which is enough for the customer's file. A further improvement would be to allow more 'loca' segments (currently arbitrary restricted with 2 for a minor code simplification). EXPECTED DIFFERENCES : None.[lib/gs_ttf.ps 1.28.2.4]
2004-07-29 17:53 Igor Melichev
1. Fix (PS interpreter) : The FontBBox validation check was too strong. 2. Fix (pdfwrite) : Explicitely set line parameters in a charproc. DETAILS : Bug 687594 "Barcode Width". See comments in the new code. This solution is a partial one. With the current architecture of the Postscript interpreter, a device can't recognize whether a PS charproc sets line parameters or not. Therefore we copy to PDF the values, which appear at a first use within a charproc. The old code copied only values, which differ from defaults. The new behavior appears closer to Adobe Distiller. A complete solution should copy the PS behavior to PDF, i.e. the PDF charproc should set those and only those parameters, which are set by the PS charproc. For doing that we need flags in the graphic state structure per each graphic state parameter, reset all them before running a charproc, and set whenever a parameter is changed. Without the flag, when the charproc sets a value equal to the old one (which was inherited from the context of the glyph usage), the event of setting is lost and causes a line width and other problems. We don't want such a deep change now, and go with the partial solution, because the partial solution appears enough for customer's needs. Likely Adobe Distiller have same architectural problem, and resolves it in same manner. EXPECTED DIFFERENCES : pdfwrite, 72dpi : 012-09.ps 013-09.ps 014-09.ps 015-09.ps 083-09.ps 123-09.ps 205-09.ps 250-01.ps 296-01.ps 298-09.ps 321-09.ps pdfwrite 300dpi : 012-09.ps 013-09.ps 014-09.ps 015-09.ps 027-05.ps 032-07.ps 034-10.ps 083-09.ps 093-01.ps 123-09.ps 169-09.ps 205-09.ps 212-01.ps 213-01.ps 214-01.ps 222-09.ps 238-01.ps 250-01.ps 296-01.ps 298-09.ps 307-07.ps 321-09.ps[src/gdevpdtt.c 1.43.2.10, src/gslparam.h 1.4.2.1, src/zchar.c 1.10.2.2]
2004-07-15 12:47 Igor Melichev
Fix (pdfwrite) : text.operation was inconsistent after replacing TEXT_FROM_GLYPHS. DETAILS : Bug 687563 "segfault during pdfwrite". text.operation became inconsistent after replacing TEXT_FROM_*_GLYPH* with TEXT_FROM_STRING. Declared a stronger constraint for process_text_modify_width, and documented the trick with text indices in process_plain_text. EXPECTED DIFFERENCES : pdfwtite -r300 tpc2.ps[src/gdevpdtc.c 1.17.2.5, src/gdevpdte.c 1.33.2.11]
In the Windows %printer% IODevice, the existing thread handle is closed automatically when the thread finishes. Duplicate the thread handle so we always have a valid handle for waiting and closing. DETAILS: When the thread finishes, the CRTL _endthread is closing the existing handle. During debugging, it was found that waiting on the thread handle was Ok because the thread was still running, but by the time CloseHandle ran the thread handle was invalid. IODevices are effectively static, so iodev->state is initialized once at the start of the interpreter. There is no need to test if iodev->state is valid.[src/gp_msprn.c 1.3.2.1]
Fixes bug 687562 "vector devices close output file incorrectly". Vector devices open the output file with gx_device_open_output_file, so should close it with gx_device_close_output_file, not fclose. This was preventing pswrite from correctly closing special files such as "%printer%Printer Name" on Windows and OS/2.[src/gdevvec.c 1.18.2.3]
2004-07-01 19:28 Igor Melichev
(pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 6). DETAILS : Bug 687546 pdfwrite : Type 3 glyph variations (was: ps2pdf segfaults) Relates to 687044, 687472, 687489, 687546. charproc_just_accumulated was not properly initialized on some circumstances. EXPECTED DIFFERENCES : Bug687546.ps (new)[src/gdevpdtt.c 1.43.2.9]
2004-07-01 15:24 Igor Melichev
Fix : A dangling pointer from TExecution_Context could cause a memory corruption (continued). DETAILS : The patch http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004583.html was incorrect due to a noize porting a patch from HEAD to GS_8_1X. This patch fixes that. EXPECTED DIFFERENCES : None.[src/ttinterp.c 1.11.2.4]
2004-07-01 15:11 Igor Melichev
Fix (TT interpreter) : The implementation of INSTCTRL did not follow the TT specification by Apple. DETAILS : Porting the patch http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004576.html from HEAD. Bug 687526 /invalidfont in --show-- See http://developer.apple.com/fonts/TTRefMan/RM05/Chap5.html#INSTCTRL The old implementation comes from FreeType. EXPECTED DIFFERENCES : None.[src/ttinterp.c 1.11.2.3]
2004-06-28 17:21 Igor Melichev
Fix : True Type grid fitting must not apply to FAPI fonts. DETAILS : Bug 687543 "FAPI: Type 42 is broken". EXPECTED DIFFERENCES : None.[src/gxccman.c 1.7.2.4, src/lib.mak 1.126.2.9]
2004-06-24 10:28 Igor Melichev
Fix : A dangling pointer from TExecution_Context could cause a memory corruption. DETAILS : The pointed area was never used and the pointer was not listed in the garbager descriptor. Due to the latter it was not relocated and a wrong object was released through it. Bug 687533 "segmentation fault on this PS file" We still keep the pointer defined, because we don't want to change FreeType structures. But now we don't allocate the area for its referent. Minor change (ttinterp.c) : skip allocating a debug data of zero size. EXPECTED DIFFERENCES : None.[src/ttfmemd.c 1.6.2.2, src/ttinterp.c 1.11.2.2, src/ttobjs.c 1.6.4.2]
Add /WhiteIsOpaque page device parameter to provide user interface to the corresponding bbox device flag. Fix a bug introduced in gdevbbox.c v.1.9 (for bug 645531) that left bdev->white and bdev->black uninitialized, resulting in black objects skipped as white. Fixes bugs 687410, 687478.[doc/Devices.htm 1.63.2.7, src/gdevbbox.c 1.11.2.2]
2004-06-23 08:39 Igor Melichev
Porting recent changes from HEAD to GS_8_1X. June 9 : http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004544.html (977) http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004545.html (977) Fix (type 1 hinter) : 1. Ever align the Y-coordinate of a glyph origin to pixels. 2. Improve the unaligned pole interpolation; 3. Set a waeaker angle threshold in t1_hinter__is_stem_hint_applicable. 4. Allow an offset fuzz in t1_hinter__is_stem_hint_applicable. 5. Align upper/lower horizontal stems by the upper/lower edge. 6. A dependency was missed in lib.mak . DETAILS : Bug 687419 "poor font rendering on X11 with gs 8.14". The intention of this change is to improve the rendering quality with TextAlphaBits > 1, but actually it modifies glyph rendering in all cases. 1. The test file of the bug 687419 shows that we had 3 inconsistent requirements : - the analigned glyph origin; - uniform glyph size; - and contrast stems. Since an uniform glyph height looks critical, we drop the analygned Y-coordinate of the glyph origin. In other words, now we ever align the Y-coordinate of the glyph origin to pixels. This also reduces the number of glyph raster variants in the cache. 2. The old interpolation algorithm could cause significant distortions with flex-like serifs, which are not marked with flex. The character 'L' in the test document of the bug 687419 demonstrates that. If the path goes outside the interpolation interval and have no turns, now we shift the "outer" parts rather than breaking the path at extremal poles. (We wanted this change a long ago but haven't got a strong reason for it.) 3. The threshold in t1_hinter__is_stem_hint_applicable changed from 1/3 to 9/10. This makes more stems to recognize. The reason for that is the same character "L". 4. Allowed a blue_fuzz offset t1_hinter__is_stem_hint_applicable. Debugged with comparefiles/tpc2.ps . 5. In the test file of the bug 687419 the small font has no upper alignment zone for lowercase. This caused an uniform glyph height due to wide and norrow horizontal stems aligned ocasionally by top or bottom. Implemented a choice of the aligned edge depending on the Y-coordinate of stem middle relative to the glyph middle. EXPECTED DIFFERENCES : Almost all comparefiles render differently.[src/gxchar.c 1.27.2.4, src/gxhintn.c 1.21.2.8, src/gxhintn.h 1.12.2.2]
2004-06-18 18:02 Igor Melichev
Porting recent changes from HEAD to GS_8_1X. May 26-27 : http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004502.html (964) Fix (pdfwrite) : Wrong /Matrix from /BP pdfmark. http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004506.html (965) (pdfwrite) : Delaying the charproc insertion until it is accumulated. http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004507.html (966) (pdfwrite) : 1. Implementing a dynamic recongnition for Type 3 charproc variations; 2. Bug : Viewer state could desynchronize when entering a charproc accumulation. June 1-16 : http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004533.html (968) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued). http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004534.html (969) High level devices may need a device color while executing stringwidth. http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004535.html (970) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 2). http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004536.html (971) Fix : A Cygwin/gcc warning http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004540.html (973) Fix (pdfwrite) : ConvertCMYKImagesToRGB crashed. http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004541.html (974) Fix (pdfwrite) : 1. After used a process color, continue using it for same client color space. 2. A bug in pdf_set_initial_color could miss some color commands. http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004542.html (975) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 3). http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004543.html (976) Bug 687487 "(pdfwrite) redundant ExtGState objects". http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004549.html (980) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 4). http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004553.html (982) Fix (pdfwrite) : Allow named object reference in the Action key of /ANN pdfmark. http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004560.html (986) (pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 5). DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : 136-01.ps (966) 260-01.ps (966) Bug687207.ps Bug687242.ps mspro.pdf Popafinalrep.pdf prob1.pdf (966) tpc2.ps (966) Type3stringwidth.ps xes2ps-problem.pdf (966)[src/gdevpdf.c 1.67.2.9, src/gdevpdfb.c 1.18.2.3, src/gdevpdfd.c 1.27.2.4, src/gdevpdfg.c 1.31.2.4, src/devs.mak 1.91.2.8, src/gdevpdfg.h 1.21.2.3, src/gdevpdfi.c 1.45.2.5, src/gdevpdfj.c 1.24.2.5, src/gdevpdfm.c 1.28.2.5, src/gdevpdfo.c 1.19.2.7, src/gdevpdfo.h 1.16.2.3, src/gdevpdfp.c 1.30.2.5, src/gdevpdfu.c 1.40.2.7, src/gdevpdfx.h 1.68.2.7, src/gdevpdte.c 1.33.2.10, src/gdevpdtf.c 1.25.2.5, src/gdevpdtf.h 1.16.2.2, src/gdevpdti.c 1.14.2.4, src/gdevpdtt.c 1.43.2.8, src/gdevpdtt.h 1.14.2.3, src/gdevpsdi.c 1.25.2.2, src/gdevvec.h 1.11.2.2, src/gstext.c 1.11.2.4, src/gxpflat.c 1.5.2.2, src/lib.mak 1.126.2.8]
2004-06-18 15:42 Igor Melichev
Porting recent changes from HEAD to GS_8_1X. May 28 : http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004508.html (967) Fix (PDF interpreter) : Wrong processing of a big CIDToGIDMap. DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : None.[lib/pdf_font.ps 1.53.2.4]
2004-06-15 20:31 Igor Melichev
Fix (pdfwrite) : A wrong CFF string index randiomization. DETAILS : Propagates the recent patch from HEAD. Bug 687507 "pdfwrite device closes with -15". 1. Randomization parameters for cff_string_index were computed wrongly, causing the search to skip some items. As a consequence, some strings were added to the table many times, causing a groth of the table while CFF size estimation iterations, and psf_write_type2_font returned error due to "offset > End_offset". 2. If an error happened writing a font after pdf_begin_fontfile is done, unconditionally call pdf_end_fontfile to provide a consistent stream state. EXPECTED DIFFERENCES : None.[src/gdevpdtb.c 1.18.2.4, src/gdevpsf2.c 1.26.2.5, src/lib.mak 1.126.2.7]
2004-06-09 20:47 Igor Melichev
Fix (type 1 hinter) : an indeterministic bug in t1_hinter__simplify_representation. DETAILS : Bug 687508 "segfault with cvs head". 1. An old defect in the code : when contour_count is greater than hint_count, and the hinting is disabled by one axis, random hints could appear, causing indeterministic effects. 2. this->grid_fit_x ans this->grid_fit_y were erroneusely exchanged. EXPECTED DIFFERENCES : 72dpi : 036-01.ps Bug687044.ps Faktura.pdf kazmir.pdf RealCities.pdf test.pdf xgfddg.pdf[src/gxhintn.c 1.21.2.7]
Handle some errors that could halt the regression run. DETAILS: When running a raster comparison, the test case generates a ShortDescription that includes the modification date of the baseline raster date. If no such file exists, the baseline gs is run to create an entry. However, if that insertion attempt fails, there is no baseline raster for reference. While the test case itself handled this properly, the ShortDescription logic did not, throwing an error that terminated the whole run. Also, makesum was returning '0' instead of None on failure, which was incompatible with the use of its return value as a dbm key. It now returns None in that case, and when it cannot stat the file argument at all.[toolbin/tests/gscheck_raster.py 1.3.2.4, toolbin/tests/gssum.py 1.5.2.3]
2004-05-25 10:44 Igor Melichev
Fix (pdfwrite) : Form XObject`s /BBox could contain reals in exponential format. DETAILS : Bug 687429 Form XObject`s /BBox may contain reals in exponential format. EXPECTED DIFFERENCES : None.[src/gdevpdfm.c 1.28.2.4]
2004-05-25 09:24 Igor Melichev
Fix an MSVC compiler warning. EXPECTED DIFFERENCES : None.[src/gdevpdte.c 1.33.2.9]
Add a missing header include for gsutil.h which provides the prototype for bytes_compare(). Corrects a gcc warning.[src/devs.mak 1.91.2.7, src/gdevpdte.c 1.33.2.8]
2004-05-20 17:29 Igor Melichev
Fix (pdfwrite) : Add Encoding element even if the font has no glyph. DETAILS : Propagates the gdevpdte.c rev 1.56 change from HEAD. Debugged with the test file of the bug 687464 "Problem converting from PS to PDF. 2 latin characters did not convert properly." : different PDFs generated with URW fonts and with Soft Horizon fonts rather none of them were embeded. The old code did not add a glyph to Encoding if the PS font has no glyph defined. Due to that, if the source encoding uses an instand glyph, the instandard glyph was not written to Differences, causing a standard glyph erroneusely appeared instead the instandard glyph. With this patch an Encoding element and a ToUnicode element are created in any case : either the glyph is defined in the PS font, or not. EXPECTED DIFFERENCES : None.[src/gdevpdte.c 1.33.2.7]
Propagate changes to the regression suite from HEAD.[toolbin/tests/check_all.py 1.3.2.3, toolbin/tests/check_comments.py 1.2.4.3, toolbin/tests/check_dirs.py 1.6.2.3, toolbin/tests/check_docrefs.py 1.7.2.3, toolbin/tests/check_source.py 1.5.2.3, toolbin/tests/dump_testdb 1.4.2.2, toolbin/tests/fuzzy.c 1.9.2.2, toolbin/tests/get_baselines 1.2.4.2, toolbin/tests/gscheck_all.py 1.3.2.3, toolbin/tests/gscheck_fuzzypdf.py 1.5.2.3, toolbin/tests/gscheck_pdfwrite.py 1.13.2.3, toolbin/tests/gscheck_raster.py 1.3.2.3, toolbin/tests/gsconf.py 1.9.2.2, toolbin/tests/gssum.py 1.5.2.2, toolbin/tests/gstestgs.py 1.19.2.3, toolbin/tests/gstestutils.py 1.9.2.2, toolbin/tests/make_testdb 1.10.2.2, toolbin/tests/make_two_pdfversions 1.6.2.2, toolbin/tests/make_two_versions 1.10.2.2, toolbin/tests/revert_baseline 1.10.2.2, toolbin/tests/revert_pdfbaseline 1.8.2.2, toolbin/tests/run_nightly 1.17.2.2, toolbin/tests/run_regression 1.11.2.2, toolbin/tests/testdiff 1.2.2.2, toolbin/tests/testing.cfg.example 1.2.2.2, toolbin/tests/update_baseline 1.11.2.2, toolbin/tests/update_pdfbaseline 1.7.2.2]
Limit the number of timing runs we're willing to do to detect the cache size, preventing an infinite loop if the os timing calls never measure appreciable elapsed time. After a patch from Patrick TJ McPhee. Closes bug 687095. DETAILS: It looks like there's a bug in some versions of FreeBSD which cause time_clear() to always return 0, even though the loop is being run. This is clearly incorrect behaviour of clock() on these systems, or the user is mistaken in debugging the problem, since we've been unable to reproduce. But in either case our code is arguably wrong. The later measurements will obviously not detect a nonlinearity if the timing loop continues to return 0. However, they will terminate at MAX_BLOCK (4MB) and so the misdetection isn't egregious. It was only the estimation of the measurement error that could loop forever.[src/genarch.c 1.5.2.2]
Also provide a dummy 'make check' target for the 8.1x autoconf build[src/Makefile.in 1.24.2.4]
2004-04-03 18:52 Igor Melichev
Porting recent patches from HEAD to GS_8_1X (step B5) : April 1-2 : Fix : setcachedevice must not depend on a BuildChar color and on gx_show_text_retry. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004378.html (907) Fix : MSVC6 compiler warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004380.html (908) Fix : Cygwin/gcc compiler warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004381.html (909) Fix (Type 1 hinter) : Skip empty hint ranges. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004382.html (910) Fix (Type 1 hinter) : Skip empty hint ranges, improved. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004383.html (911) Fix : Restoring the non-cache-device constraint in setcolor. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004385.html (912) Fix (pdfwrite) : /XObject <<-1 0 R>> was written to a pattern dictionary. http://www.ghostscript.com/pipermail/gs-cvs/2004-April/004386.html (913) DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : None.[src/gdevpdfj.c 1.24.2.4, src/gdevpdfo.c 1.19.2.6, src/gscolor2.c 1.14.2.2, src/gstext.c 1.11.2.3, src/gxccache.c 1.15.2.2, src/gxccman.c 1.7.2.3, src/gxchar.c 1.27.2.3, src/gxhintn.c 1.21.2.6, src/gxtext.h 1.10.2.2, src/isave.c 1.7.2.2]
2004-04-03 17:51 Igor Melichev
Porting recent patches from HEAD to GS_8_1X (step B4) : March 25 (ported separately due to a rendering difference) : Fix (Type 1 hinter) : Use a weaker condition for horizontal stem recognition. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004372.html (904) DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : 72 dpi : 251-01.ps 289-01.ps 455690.pdf 86554321.pdf alphabet.ps dave.pdf NIL_0003.pdf Openhuis_pdf_zw.pdf prob.pdf" RealCities.pdf S2_Digitalproof-Forum_x3k.pdf Svd.pdf test.pdf test2.pdf test2a.pdf 300 dpi : 033-52-5873.pdf 289-01.ps 455690.pdf 86554321.pdf alphabet.ps bulletin.pdf NIL_0003.pdf Openhuis_pdf_zw.pdf pdfopt_bug.pdf prob.pdf S2_Digitalproof-Forum_x3k.pdf Svd.pdf test.pdf test2.pdf test2a.pdf[src/gxhintn.c 1.21.2.5]
2004-04-03 17:37 Igor Melichev
Porting recent patches from HEAD to GS_8_1X (step B3) : March 12-31 : Fix (pdfwrite) : XObject's resources were placed wrongly. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004335.html (891) Fix (pdfwrite) : Crash after adding a glyph over a preallocated limit of a CIDFontType 2. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004336.html (892) Fix (PDF interpreter) : CIDMap was wrongly created from CIDToGIDMap. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004337.html (893) Fix : A Cygwin/gcc warning. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004338.html (894) Fix (pdfwrite) : A floating point interrupt. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004345.html (896) Implementing is_monotonic for cubic interpolation functions. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004354.html (899) Fix (TT interpreter) : Subglyphs could be placed to wrong coordinates. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004355.html (900) Fix : GenericResourceDir was not listed in PermitFileReading. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004361.html (902) Fix (PDF interpreter) : Stack balance was broken when a CID font is not embedded. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004373.html (905) DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : Bug687350.ps (progression) Bug687361.pdf (progression) Testform.v1.0.2.pdf (progression)[lib/gs_init.ps 1.87.2.5, lib/gs_ttf.ps 1.28.2.3, lib/pdf_font.ps 1.53.2.3, src/gdevpdfm.c 1.28.2.3, src/gdevpdtc.c 1.17.2.4, src/gdevpdte.c 1.33.2.6, src/gdevpdtf.c 1.25.2.4, src/gdevpdtt.c 1.43.2.7, src/gdevvec.c 1.18.2.2, src/gstype42.c 1.30.2.3, src/gxfcopy.c 1.25.2.5, src/ttfmain.c 1.19.2.5, src/zpcolor.c 1.7.2.3]
2004-04-03 16:54 Igor Melichev
Porting recent patches from HEAD to GS_8_1X (step B2) : March 1-11 : Fix (type 1 hinter) : small resolutions caused a rangecheck. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004285.html (863) Fix (pdfwrite) : Floating point aritmetic applied to uninitialized data. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004290.html (868) Fix (pdfwrite) : Reject encryption options if no password is specified. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004291.html (869) Fix : "KeyLength" option name was misspelled in the documentation. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004292.html (870) Fix (pdfwrite) : Reject encryption options if no password is specified, improved. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004293.html (871) Fix : Cygwin/gcc warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004305.html (877) (partial) Fix (Type 2 charstrings) : More tolerance and conformity. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004313.html (882) Fix (pdfwrite) : Annotations encrypted with a wrong object id. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004314.html (883) Fix (PDF interpreter) : Wrong metrics when 2 font resources for same embeded font. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004315.html (884) Fix : Some Cygwin/gcc warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004328.html (887) Fix (pdfwrite) : Fall back to the default implementation when the output document can't handle current color. http://www.ghostscript.com/pipermail/gs-cvs/2004-March/004331.html (888) DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : Bug687311.pdf (progression) Bug687361.pdf EmbeddedFontCopies.pdf (progression)[src/devs.mak 1.91.2.6, src/gdevpdf.c 1.67.2.8, src/gdevpdfd.c 1.27.2.3, src/gdevpdfi.c 1.45.2.4, src/gdevpdfm.c 1.28.2.2, src/gdevpdte.c 1.33.2.5, src/gdevpdtt.c 1.43.2.6, src/gstype2.c 1.25.2.2, src/gxhintn.c 1.21.2.4, doc/Ps2pdf.htm 1.51.2.10, lib/pdf_font.ps 1.53.2.2]
2004-04-03 10:55 Igor Melichev
Porting recent patches from HEAD to GS_8_1X (step B1) : February 2004 : Fix (pdfwrite) : provide a compatibility of TEXT_FROM_CHARS to GhostPCL. http://www.ghostscript.com/pipermail/gs-cvs/2004-February/004127.html (775) Fix : Some Intel C compiler warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-February/004149.html (791) Fix : Intel C and Cygwin/gcc compiler warnings. http://www.ghostscript.com/pipermail/gs-cvs/2004-February/004158.html (794) Fix (pdfwrite) : Converting an image type 4 into imagemask, a wrong color was written. http://www.ghostscript.com/pipermail/gs-cvs/2004-February/004210.html (816) Fix: Documented rounding formulas in the character processing. http://www.ghostscript.com/pipermail/gs-cvs/2004-February/004211.html (818) DETAILS : Click a hyperlink above to get details of a particular patch. EXPECTED DIFFERENCES : Bug687361.pdf[src/fapiufst.c 1.22.2.2, src/gdevpdfi.c 1.45.2.3, src/gdevpdtc.c 1.17.2.3, src/gdevpdtt.c 1.43.2.5, src/gxcht.c 1.11.2.1, src/gxdhtserial.c 1.3.2.1, src/gxfcopy.c 1.25.2.4, src/gxhintn.c 1.21.2.3, src/gxht.c 1.14.2.1, src/gxttfb.c 1.19.2.3, src/ttfmain.c 1.19.2.4]
Make proper use of the SYS_TYPES_HAS_STDINT_TYPES define. Allows proper compilation on SunOS 5.9, after a patch by Alex Cherepanov. Bug 687377.[src/stdint_.h 1.1.2.3]
Fix some Sun ONE Studio 7 compiler warnings (Solaris 8). Bug 687355. DETAILS : This propagates a patch by Igor Melichev from HEAD. Bug 687355 "warnings on Solaris (ghostscript-8.14)". This fixes all warnings which I understande, except "implicit function declaration", which probably require a Solaris-dependent fix to "memory_.h".[src/gdevdevn.c 1.5.2.3, src/gdevijs.c 1.6.2.2, src/gdevnfwd.c 1.8.2.2, src/gdevpdfx.h 1.68.2.6, src/gdevpng.c 1.7.2.2, src/gdevpsd.c 1.4.2.2, src/gdevpsdu.c 1.17.2.2, src/gdevpsu.c 1.15.2.2, src/gdevxcf.c 1.5.2.1, src/gsdfilt.c 1.7.2.2, src/gximag3x.c 1.14.2.1, src/szlibd.c 1.5.2.2, src/ttfmain.c 1.19.2.3]
2004-03-24 07:30 Igor Melichev
Fix (pdfwrite) : TK was written into a charproc. DETAILS : Bug 687382 "fonts not printed with pdf 1.4". EXPECTED DIFFERENCES : None. Ghostscript PDF interpreter appears insensible to it. Adobe does.[src/gdevpdfg.c 1.31.2.3]
SunOS 5.9 does not properly replace files with ln -sf. Unlink the existing files instead. Bug 687378.[autogen.sh 1.3.6.1]
Fix problem with dci.max_components introduced with DeviceN changes. Closes bug #677383. Fix problem with dci.max_components introduced with DeviceN changes. Closes bug #677383.[src/gdevijs.c 1.6.2.1]
Fixes bug 687317. Fix pdfwrite allowable Permissions for EncryptionR=2. Fix default Permissions. DETAILS: The code was assuming that the extra permissions should be 0's, when in fact they should be 1's. The fixed code is a bit more conservative and requires that all reserved bits match the PDF specification. Set the default permissions to -4 which allows everything.[src/gdevpdf.c 1.67.2.7]