1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<title>History of Ghostscript versions 7.n</title> 5<!-- $Id: History7.htm,v 1.44 2005/10/20 19:46:23 ray Exp $ --> 6<!-- 7 WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to 8 re-create the table of contents here, because it will replace the 9 hand-edited TOC subheads with a separate subhead for each H2 in 10 the body of the file. Or if you do, first look at the original 11 TOC to see how to edit it for visual conciseness. 12--> 13<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style"> 14</head> 15 16<body> 17<!-- [1.0 begin visible header] ============================================ --> 18 19<!-- [1.1 begin headline] ================================================== --> 20 21<table width="100%" border="0"> 22<tr><th align="center" bgcolor="#CCCC00"><font size=6>History of Ghostscript versions 7.xx</font> 23</table> 24 25<!-- [1.1 end headline] ==================================================== --> 26 27<!-- [1.2 begin table of contents] ========================================= --> 28 29<h2>Table of contents</h2> 30 31<blockquote><ul> 32<li><a href="#Version7.33">Version 7.33 (2002-11-18)</a> 33<ul> 34<li><a href="#7.33_Incompatible_changes">Incompatible changes</a>, 35 <a href="#7.33-Documentation">Documentation</a>, 36 <a href="#7.33-Procedures">Procedures</a>, 37 <a href="#7.33-Utilities">Utilities</a>, 38 <a href="#7.33-Drivers">Drivers</a>, 39 <a href="#7.33-PDF_writer">PDF writer</a>, 40 <a href="#7.33-PDF_Interpreter">PDF Interpreter</a>, 41 <a href="#7.33-Interpreter">Interpreter</a>, 42 <a href="#7.33-Streams">Streams</a>, 43 <a href="#7.33-Library">Library</a>, 44 <a href="#7.33-Other">Other</a> 45</ul> 46<li><a href="#Version7.32">Version 7.32 (2002-11-02)</a> 47<ul> 48<li><a href="#7.32_Incompatible_changes">Incompatible changes</a>, 49 <a href="#7.32-Documentation">Documentation</a>, 50 <a href="#7.32-Procedures">Procedures</a>, 51 <a href="#7.32-Utilities">Utilities</a>, 52 <a href="#7.32-Drivers">Drivers</a>, 53 <a href="#7.32-PDF_writer">PDF writer</a>, 54 <a href="#7.32-PDF_Interpreter">PDF Interpreter</a>, 55 <a href="#7.32-Interpreter">Interpreter</a>, 56 <a href="#7.32-Streams">Streams</a>, 57 <a href="#7.32-Library">Library</a>, 58 <a href="#7.32-Other">Other</a> 59</ul> 60<li><a href="#Version7.31">Version 7.31 (2002-10-17)</a> 61<ul> 62<li><a href="#7.31_Incompatible_changes">Incompatible changes</a>, 63 <a href="#7.31-Documentation">Documentation</a>, 64 <a href="#7.31-Procedures">Procedures</a>, 65 <a href="#7.31-Utilities">Utilities</a>, 66 <a href="#7.31-Drivers">Drivers</a>, 67 <a href="#7.31-PDF_writer">PDF writer</a>, 68 <a href="#7.31-PDF_Interpreter">PDF Interpreter</a>, 69 <a href="#7.31-Interpreter">Interpreter</a>, 70 <a href="#7.31-Streams">Streams</a>, 71 <a href="#7.31-Library">Library</a>, 72 <a href="#7.31-Other">Other</a> 73</ul> 74<li><a href="#Version7.30">Version 7.30 (2002-09-07)</a> 75<ul> 76<li><a href="#7.30_Incompatible_changes">Incompatible changes</a>, 77 <a href="#7.30-Documentation">Documentation</a>, 78 <a href="#7.30-Procedures">Procedures</a>, 79 <a href="#7.30-Utilities">Utilities</a>, 80 <a href="#7.30-Drivers">Drivers</a>, 81 <a href="#7.30-PDF_writer">PDF writer</a>, 82 <a href="#7.30-PDF_Interpreter">PDF Interpreter</a>, 83 <a href="#7.30-Interpreter">Interpreter</a>, 84 <a href="#7.30-Streams">Streams</a>, 85 <a href="#7.30-Library">Library</a>, 86 <a href="#7.30-Other">Other</a>, 87 <a href="#7.30-DeviceN_Source">DeviceN Source (meerkat)</a>, 88 <a href="#7.30-DeviceN_Library">DeviceN Library (meerkat)</a> 89</ul> 90<li><a href="#Version7.22">Version 7.22 (2002-08-06)</a> 91<ul> 92<li><a href="#7.22_Incompatible_changes">Incompatible changes</a>, 93 <a href="#7.22-Documentation">Documentation</a>, 94 <a href="#7.22-Procedures">Procedures</a>, 95 <a href="#7.22-Utilities">Utilities</a>, 96 <a href="#7.22-Drivers">Drivers</a>, 97 <a href="#7.22-PDF_writer">PDF writer</a>, 98 <a href="#7.22-PDF_Interpreter">PDF Interpreter</a>, 99 <a href="#7.22-Interpreter">Interpreter</a>, 100 <a href="#7.22-Library">Library</a> 101</ul> 102<li><a href="#Version7.21">Version 7.21 (2002-07-08)</a> 103<ul> 104<li><a href="#7.21_Incompatible_changes">Incompatible changes</a>, 105 <a href="#7.21-Documentation">Documentation</a>, 106 <a href="#7.21-Procedures">Procedures</a>, 107 <a href="#7.21-Utilities">Utilities</a>, 108 <a href="#7.21-Drivers">Drivers</a>, 109 <a href="#7.21-PDF_writer">PDF writer</a>, 110 <a href="#7.21-PDF_Interpreter">PDF Interpreter</a>, 111 <a href="#7.21-Interpreter">Interpreter</a>, 112 <a href="#7.21-Streams">Streams</a>, 113 <a href="#7.21-Library">Library</a>, 114 <a href="#7.21-Other">Other</a> 115</ul> 116<li><a href="#Version7.20">Version 7.20 (2002-04-03)</a> 117<ul> 118<li><a href="#7.20_Incompatible_changes">Incompatible changes</a>, 119 <a href="#7.20-Documentation">Documentation</a>, 120 <a href="#7.20-Procedures">Procedures</a>, 121 <a href="#7.20-Utilities">Utilities</a>, 122 <a href="#7.20-Drivers">Drivers</a>, 123 <a href="#7.20-PDF_writer">PDF writer</a>, 124 <a href="#7.20-PDF_Interpreter">PDF Interpreter</a>, 125 <a href="#7.20-Interpreter">Interpreter</a>, 126 <a href="#7.20-Streams">Streams</a>, 127 <a href="#7.20-Library">Library</a>, 128 <a href="#7.20-Other">Other</a> 129</ul> 130<li><a href="#Version7.03">Version 7.03 (2001-10-20)</a> 131<ul> 132<li><a href="#7.03_Incompatible_changes">Incompatible changes</a>, 133 <a href="#7.03-Documentation">Documentation</a>, 134 <a href="#7.03-Procedures">Procedures</a>, 135 <a href="#7.03-Utilities">Utilities</a>, 136 <a href="#7.03-Drivers">Drivers</a>, 137 <a href="#7.03-PDF_writer">PDF writer</a>, 138 <a href="#7.03-PDF_Interpreter">PDF Interpreter</a>, 139 <a href="#7.03-Interpreter">Interpreter</a>, 140 <a href="#7.03-Streams">Streams</a>, 141 <a href="#7.03-Library">Library</a>, 142 <a href="#7.03-Other">Other</a> 143</ul> 144<li><a href="#Version7.02">Version 7.02 (2001-09-22)</a> 145<ul> 146<li><a href="#7.02_Incompatible_changes">Incompatible changes</a>, 147 <a href="#7.02-Documentation">Documentation</a>, 148 <a href="#7.02-Procedures">Procedures</a>, 149 <a href="#7.02-Utilities">Utilities</a>, 150 <a href="#7.02-Drivers">Drivers</a>, 151 <a href="#7.02-PDF_writer">PDF writer</a>, 152 <a href="#7.02-PDF_Interpreter">PDF Interpreter</a>, 153 <a href="#7.02-Interpreter">Interpreter</a>, 154 <a href="#7.02-Streams">Streams</a>, 155 <a href="#7.02-Library">Library</a>, 156 <a href="#7.02-Other">Other</a> 157</ul> 158<li><a href="#Version7.00">Version 7.00 (2001-04-08)</a> 159<ul> 160<li><a href="#7.00_Incompatible_changes">Incompatible changes</a>, 161 <a href="#7.00-Documentation">Documentation</a>, 162 <a href="#7.00-Procedures">Procedures</a>, 163 <a href="#7.00-Utilities">Utilities</a>, 164 <a href="#7.00-PDF_writer">PDF writer</a>, 165 <a href="#7.00-Interpreter">Interpreter</a>, 166 <a href="#7.00-Library">Library</a> 167</ul> 168</ul></blockquote> 169 170<!-- [1.2 end table of contents] =========================================== --> 171 172<!-- [1.3 begin hint] ====================================================== --> 173 174<p> 175This document is a record of changes in Ghostscript releases numbered 7.xx. 176For earlier versions, see the the history documents: 177 178<blockquote> 179<a href="History6.htm">History of Ghostscript versions 6.n</a><br> 180<a href="History5.htm">History of Ghostscript versions 5.n</a><br> 181<a href="History4.htm">History of Ghostscript versions 4.n</a><br> 182<a href="History3.htm">History of Ghostscript versions 3.n</a><br> 183<a href="History2.htm">History of Ghostscript versions 2.n</a><br> 184<a href="History1.htm">History of Ghostscript versions 1.n</a> 185</blockquote> 186 187<p>For other information, see the <a href="Readme.htm">Ghostscript 188overview</a>. 189 190<!-- [1.3 end hint] ======================================================== --> 191 192<hr> 193 194<!-- [1.0 end visible header] ============================================== --> 195 196<!-- [2.0 begin contents] ================================================== --> 197 198<p> 199Within each release, news appears in the following order: Incompatible 200changes, Documentation, Procedures, Utilities, Drivers, Platforms, Fonts, 201PDF writer (included under Drivers through fileset 5.88), Interpreter, 202Streams (included under Interpreter through release 2.9.9), Library. 203Changes marked with a * were made available as patches to a previous 204release. 205 206<hr> 207 208<h1><a name="Version7.33"></a>Version 7.33 (2002-11-18)</h1> 209 210<p> 211The 7.33 release is the third, and hopefully final, beta in the series 212leading up to 8.0. This version contains a fix to the filename permissions 213logic. 214 215<p> 216The following SourceForge bug numbers were open at the time of this release: 217405342, 218407342, 219414947, 220414985, 221446344, 222458261, 223458775, 224458780, 225459647, 226465936, 227484752, 228484753, 229487953, 230493348, 231505429, 232510808, 233526099, 234526491, 235530011, 236535366, 237535752, 238535836, 239538033, 240539239, 241546823, 242554076, 243558151, 244558435, 245563287, 246569573, 247570772, 248573744, 249578838, 250578865, 251584990, 252592160, 253592837, 254592841, 255592925, 256592930, 257595760, 258596009, 259598014, 260600288, 261601255, 262601336, 263601694, 264602995, 265603934, 266605830, 267607425, 268607850, 269610356, 270610478, 271610727, 272611694, 273611701, 274611727, 275611898, 276612801, 277614298, 278615165, 279616970, 280616976, 281617077, 282617523, 283621243, 284621246, 285623122, 286623292, 287623989, 288624515, 289625085, 290626059, 291626295, 292626358, 293626419, 2942002-1, 295626464, 296627545, 297628110, 298629335, 299631974, 300633299, 301634036, 302634080, 303634358, 304634514, 305636210, 306637424, 307637954, 308638850, 309640159. 310 311<h3><a name="7.33_Incompatible_changes"></a>Incompatible changes</h3> 312 313<p>No incompatible changes in this release. 314 315<pre> 316</pre> 317 318 319<h2><a name="7.33-Documentation"></a>Documentation</h2><pre> 320 321Fixes problems: 322 - we don't actually include unicode cmaps. Thanks to Jack for 323noticing this. (doc/Fonts.htm [1.33]: 2002/11/12 22:32:35 giles) 324 - Change gp_file_name_is_absolute to gp_pathstring_not_bare in the 325doc's. (doc/Make.htm [1.60]: 2002/11/17 22:52:57 ray) 326 327Correct the documented paper sizes in Use.htm to match gs_statd.ps after fix 328for SF bug # 536877. Change cm units to the more common mm. 329(doc/Use.htm [1.69]: 2002/11/04 22:49:27 ghostgum) 330 331Post-release cleanup for 7.32: increment version number to 7.33. 332(doc/News.htm [1.119]: 2002/11/05 08:31:56 raph) 333 334Some manpage cleanup and simplification. (man/gs.1 [1.21]: 2002/11/11 33516:31:22 giles) 336 337First commit of 7.33 beta release: update dates and version numbers, edits 338to News.htm. (doc/API.htm [1.28], doc/Bug-form.htm [1.32], 339doc/Bug-info.htm [1.31], doc/C-style.htm [1.38], doc/Commprod.htm [1.25], 340doc/Copying.htm [1.24], doc/DLL.htm [1.26], doc/Deprecated.htm [1.5], 341doc/Develop.htm [1.100], doc/Devices.htm [1.57], doc/Drivers.htm [1.36], 342doc/Fonts.htm [1.34], doc/Helpers.htm [1.28], doc/History1.htm [1.24], 343doc/History2.htm [1.24], doc/History3.htm [1.24], doc/History4.htm [1.24], 344doc/History5.htm [1.26], doc/History6.htm [1.41], doc/History7.htm [1.27], 345doc/Htmstyle.htm [1.29], doc/Install.htm [1.38], doc/Issues.htm [1.32], 346doc/Language.htm [1.57], doc/Lib.htm [1.26], doc/Maintain.htm [1.35], 347doc/Make.htm [1.61], doc/New-user.htm [1.43], doc/News.htm [1.120], 348doc/Projects.htm [1.48], doc/Ps-style.htm [1.22], doc/Ps2epsi.htm [1.26], 349doc/Ps2pdf.htm [1.48], doc/Psfiles.htm [1.39], doc/Readme.htm [1.46], 350doc/Release.htm [1.73], doc/Source.htm [1.24], doc/Tester.htm [1.23], 351doc/Testing.htm [1.13], doc/Unix-lpr.htm [1.24], doc/Use.htm [1.70], 352doc/Xfonts.htm [1.24], doc/gs-vms.hlp [1.23], man/dvipdf.1 [1.21], 353man/font2c.1 [1.21], man/gs.1 [1.22], man/gslp.1 [1.21], man/gsnd.1 [1.21], 354man/pdf2dsc.1 [1.20], man/pdf2ps.1 [1.22], man/pdfopt.1 [1.20], 355man/pf2afm.1 [1.21], man/pfbtopfa.1 [1.22], man/printafm.1 [1.21], 356man/ps2ascii.1 [1.20], man/ps2epsi.1 [1.19], man/ps2pdf.1 [1.26], 357man/ps2pdfwr.1 [1.25], man/ps2ps.1 [1.28], man/wftopfa.1 [1.21]: 2002/11/18 35821:41:49 raph) 359 360</pre><h2><a name="7.33-Procedures"></a>Procedures</h2><pre> 361 362Fixes problems: 363 - The '-r' option works differently between Info-Zip ans Winzip 364"wzzip" Removal of this option allows wzzip to be used as well. 365(winint.mak [1.17]: 2002/11/04 22:54:47 ray) 366 367Post-release cleanup for 7.32: increment version number to 7.33. 368(version.mak [1.56]: 2002/11/05 08:31:56 raph) 369 370Add a revision 'id' line to the drawafm script. (toolbin/drawafm.ps [1.2]: 3712002/11/05 16:59:55 giles) 372 373Add a simple script for comparing font metric files. Currently it's only 374useful for sorting the font info and character metric data. 375(toolbin/afmutil.py [1.1]: 2002/11/07 14:10:13 giles) 376 377Skip blank lines in parsing afm files. (toolbin/afmutil.py [1.2]: 2002/11/14 37817:01:38 giles) 379 380First commit of 7.33 beta release: update dates and version numbers, edits 381to News.htm. (version.mak [1.57]: 2002/11/18 21:41:51 raph) 382 383</pre><h2><a name="7.33-Utilities"></a>Utilities</h2><pre> 384 385Fixes problems: 386 - Fix (FAPI) : Improving terminology in header comment to 387lib/xlatmap . (lib/xlatmap [1.7]: 2002/11/02 18:03:06 igor) 388 - remove the unused SYSTIME_H from the mac headers. Prefer "time_.h" 389to <sys/time.h>. Although the Metroworks Standard Library doesn't have 390a sys/time.h, keep the definition of HAVE_SYS_TIME_H for now to avoid a 391multiple definition problem with struct timeval. (gp_mac.c [1.10]: 3922002/11/14 16:55:21 giles) 393 - correct an unitialized variable in the mac stream process. 394(gp_macio.c [1.9]: 2002/11/14 17:12:53 giles) 395 - Replace the previous gp_file_name_is_absolute with 396gp_patshtring_not_bare which generally has the same sense, but is more 397consistently implemented on platforms and indicates whether or not a 398pathstring can be prefixed by a directory and the path_separator string. 399Also, fix check_file_permissions to handle the 'bare' pathstring case when 400the current directory is one of the permitted paths. Fixes SourceForge bug 401#637751. (gp_iwatc.c [1.11], gp_macio.c [1.10], gp_mswin.c [1.14], 402gp_ntfs.c [1.11], gp_os2.c [1.16], gp_vms.c [1.14]: 2002/11/17 22:50:32 ray) 403 404</pre><h2><a name="7.33-Drivers"></a>Drivers</h2><pre> 405 406Fixes problems: 407 - Make gdev_t4693d_map_color_rgb a functinal routine. Previously it 408returned a constant maximum color value. This would cause problems with 409overprint and anti-aliasing. (gdev4693.c [1.8]: 2002/11/13 19:34:56 dan) 410 - Update the encode/decode color procedures when the device is 411openned. This is required since the device can modify its model settings 412inside the open procedure. (gdevstc.c [1.8]: 2002/11/13 19:39:12 dan) 413 - Converted from old map_rgb and map_cmyk to new encode_color 414routines. (gdevbit.c [1.6]: 2002/11/13 20:24:12 dan) 415 - Define a decode_color proc for the cmyk devices. 416(gdevcdj.c [1.13]: 2002/11/13 23:33:05 dan) 417 - Convert old map_color_rgb routines to decode_color routines for 418the stcolor device. Change required due to device API change. 419(gdevstc.c [1.9]: 2002/11/14 20:48:47 dan) 420 421Correct some display device map_color_rgb functions, needed for 422anti-aliasing. (gdevdsp.c [1.13]: 2002/11/13 07:05:43 ghostgum) 423 424Recorrect display device 4-bit native mode after a correction was reversed 425by DeviceN. (gdevdsp.c [1.14]: 2002/11/13 07:24:03 ghostgum) 426 427Remove duplicate call to GlobalLock in Windows printer device. 428(gdevwpr2.c [1.14]: 2002/11/16 22:16:49 ghostgum) 429 430</pre><h2><a name="7.33-PDF_writer"></a>PDF writer</h2><pre> 431 432Fixes problems: 433 - Fix (pdfwrite) : Implement a special check for CMaps which appear 434to be identity, and replace them with a standard CMap name. Source Forge bug 435"[ 615994 ] CMAP is corrupted". (gdevpdtc.c [1.11]: 2002/11/02 19:16:44 436igor) 437 - Fix (pdfwrite) : Removing gx_device_pdf_s::random_offset because 438it is not longer in use. (gdevpdfx.h [1.55], gdevpdtb.c [1.10]: 2002/11/17 43922:18:15 igor) 440 - Fix (pdfwrite) : Removing gx_device_pdf_s::random_offset because 441it is not longer in use. (gdevpdf.c [1.56]: 2002/11/17 22:27:53 igor) 442 - Fix (pdfwrite) : Improving the condition about skipping paths 443outside the clipping path. SourceForge bug "[ 628542 ] (pdfwrite) wrong 444gs5.98-dragon.pdf". (gdevpdfd.c [1.21]: 2002/11/18 02:53:44 igor) 445 - Fix (pdfwrite) : (1) FontMatrix.ty was ignored while computing 446glyph positions. (2) Working around AR4,5 bug which ignores FontMatrix.ty . 447SourceForge bug "[ 629961 ] (PDF interpeter) 'Ghost' text appears again". 448(gdevpdtb.c [1.11], gdevpdtt.c [1.23]: 2002/11/18 03:05:22 igor) 449 - Fix (pdfwrite) : Skipping text outside clip path. SourceForge bug 450"[ 608520 ] PDFWrite failed for PS File". (gdevpdfd.c [1.22], 451gdevpdte.c [1.20]: 2002/11/18 14:29:54 igor) 452 453</pre><h2><a name="7.33-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 454 455Fixes problems: 456 - Fix for #609488 Problems in DeviceN test file. This resolves 457problems that can occur if the transfer function are dependent upon the 458halftone. (Which is true for the default hi res transfer function.) We were 459getting variable (unpredictable) results due to the undefined ordering in 460enumerating graphic state dictionaries via the 'forall' operator. 461(lib/pdf_draw.ps [1.62]: 2002/11/05 00:48:01 dan) 462 - resourcefont procedure didn't handle correctly font descriptor 463without font stream. Bug #633714 (lib/pdf_font.ps [1.51]: 2002/11/14 46421:22:22 alexcher) 465 466Move code from pdfshowpage to pdfshowpage_finish for the benefit of GSview 467which calls pdfshowpage_init and pdfshowpage_finish, but not 468pdfshowpage_setpage. (lib/pdf_main.ps [1.63]: 2002/11/05 20:56:02 ghostgum) 469 470</pre><h2><a name="7.33-Interpreter"></a>Interpreter</h2><pre> 471 472Fixes problems: 473 - Eliminate possible negative discontinuity in default hi resolution 474transfer function. (lib/gs_init.ps [1.71]: 2002/11/05 00:30:59 dan) 475 - The 'bind def' was dropped from the previous commit: Fix: 476Eliminate possible negative discontinuity in default hi resolution transfer 477function. (lib/gs_init.ps [1.72]: 2002/11/05 08:02:17 dan) 478 - When processing an EPS file, remove any left over items on the 479operand and dictionary stacks. (lib/gs_epsf.ps [1.8]: 2002/11/12 20:31:30 480ghostgum) 481 - Use immediate evaluation for forcesetcolorspace operator because 482its definition goes out of scope when bind is delayed or disabled. Bug 483#635747 (lib/gs_devn.ps [1.3], lib/gs_indxd.ps [1.2], lib/gs_patrn.ps [1.2], 484lib/gs_sepr.ps [1.2]: 2002/11/13 20:23:10 alexcher) 485 - Skip /ColorValues processing for devices where it is not defined 486(typically grayscale devices). Fixes SF bug #636213. (lib/gs_dps.ps [1.8]: 4872002/11/14 17:24:00 raph) 488 - Restore silent clip of sethsbcolor values to range [0..1]. 489(lib/gs_cspace.ps [1.4]: 2002/11/15 18:10:24 raph) 490 - Replace the previous gp_file_name_is_absolute with 491gp_patshtring_not_bare which generally has the same sense, but is more 492consistently implemented on platforms and indicates whether or not a 493pathstring can be prefixed by a directory and the path_separator string. 494Also, fix check_file_permissions to handle the 'bare' pathstring case when 495the current directory is one of the permitted paths. Fixes SourceForge bug 496#637751. (lib/gs_fapi.ps [1.17], zfile.c [1.23]: 2002/11/17 22:50:32 ray) 497 - check_file_permissions did not handle the case where no path 498separator is needed after the current_directory_name. PostScript code in 499.locksafe (in gs_init.ps) was already correct. Problem would happen on Mac 500& VMS. (zfile.c [1.24]: 2002/11/18 17:17:20 ray) 501 - Correcting mixed DOS/UNIX line ends introduced in the previous 502version. (zcolor.c [1.14]: 2002/11/18 19:14:57 alexcher) 503 - FrameMaker produces PS file that assumes that the presence of 504/pdfmark in systemdict implies availability of /currentdistillerparams. The 505fix hides /pdfmark for all devices except pdfwrite following 506set/currentdistillerparams pattern. Bug #638982 (lib/gs_pdfwr.ps [1.21]: 5072002/11/18 19:36:57 alexcher) 508 509Modified the setdevice procedure to reset the current halftone (if possible) 510when changing devices. This is necessary in the DeviceN code because the 511number of device halftone components must be the same as the number of 512device color model components. It is also generally a good idea. 513(lib/gs_init.ps [1.70]: 2002/11/05 00:10:37 dan) 514 515Post-release cleanup for 7.32: increment version number to 7.33. 516(lib/gs_init.ps [1.73]: 2002/11/05 08:31:56 raph) 517 518Correct -dEPSFitPage when the device has non-zero margins. 519(lib/gs_epsf.ps [1.7]: 2002/11/07 07:14:28 ghostgum) 520 521Correct some display device map_color_rgb functions, needed for 522anti-aliasing. (gdevdsp.h [1.6]: 2002/11/13 07:05:43 ghostgum) 523 524Prevent access to .forceput and friends. Patch by Alex Cherepanov and 525Russell Lang. (lib/gs_diskn.ps [1.4], lib/gs_epsf.ps [1.9], 526lib/gs_fonts.ps [1.23], lib/gs_res.ps [1.26], lib/gs_resmp.ps [1.6], 527lib/gs_type1.ps [1.13]: 2002/11/18 20:23:18 ghostgum) 528 529</pre><h2><a name="7.33-Streams"></a>Streams</h2><pre> 530 531Fixes problems: 532 - Make init method for ASCII85Encode return 0. Fixes SF #634519. 533(sa85x.h [1.6]: 2002/11/13 08:23:13 raph) 534 535</pre><h2><a name="7.33-Library"></a>Library</h2><pre> 536 537Fixes problems: 538 - param_check_string now checks is_valid before trying to calculate 539the length of the string in question. We now handle a null 540color_info.cm_name in all cases. (gsdparam.c [1.12]: 2002/11/02 17:22:29 541giles) 542 - Fix (pdfwrite) : Implement a special check for CMaps which appear 543to be identity, and replace them with a standard CMap name. Source Forge bug 544"[ 615994 ] CMAP is corrupted". (gdevpsf.h [1.21], gdevpsfm.c [1.11]: 5452002/11/02 19:16:44 igor) 546 - Fixing the "members" logic in gs_type1_glyph_info. Arithmetic 547operations were erroneously used instead logic ones, sometimes causing a 548request of undefined features. Source Forge bug "[ 629116 ] Bad font in 549re-distilled PDF". (gxtype1.c [1.20]: 2002/11/02 20:07:46 igor) 550 - These are a set of fixes required to make the 2 bit memory device 551functional. They are being lumped together since they are all required. The 552fix in gdevm2.c was found by customer #760 and is reported as bug #600281 553mem_mapped2_copy_mono() incorrect. (gdevm2.c [1.5], gxcht.c [1.11]: 5542002/11/05 01:03:14 dan) 555 - Make some debug warning messages only occur for DEBUG build. The 556most common offender seen was "No encode_color proc defined for device." 557(gxcmap.c [1.12]: 2002/11/05 19:13:52 dan) 558 - Define color encode/decode procedures for the nullpage and null 559devices. This eliminates a "No encode color proc defined" message for these 560devices. (gdevnfwd.c [1.8]: 2002/11/13 06:00:29 dan) 561 - Change the substitution logic for the decode_color procedure. This 562change gives preference to the map_color_rgb proc (if it exists) and the 563device is an RGB device. The previous logic gave preference to 564gx_default_decode_color if the device was linear and separable. 565(gdevdflt.c [1.10]: 2002/11/13 19:31:28 dan) 566 - Fix uninitialized memory read; gx_set_device_color_1(pgs) depends 567on the value of pg->in_cachedevice, so move up initialization of the 568latter. (gsstate.c [1.19]: 2002/11/13 21:51:34 raph) 569 - Replace the previous gp_file_name_is_absolute with 570gp_patshtring_not_bare which generally has the same sense, but is more 571consistently implemented on platforms and indicates whether or not a 572pathstring can be prefixed by a directory and the path_separator string. 573Also, fix check_file_permissions to handle the 'bare' pathstring case when 574the current directory is one of the permitted paths. Fixes SourceForge bug 575#637751. (gp.h [1.13], gp_dosfs.c [1.6], gp_unifn.c [1.6], 576gp_unifs.c [1.10]: 2002/11/17 22:50:32 ray) 577 578Post-release cleanup for 7.32: increment version number to 7.33. 579(gscdef.c [1.30]: 2002/11/05 08:31:56 raph) 580 581Suppress the "No encode color proc" warning for the "null" device (a 582forwarding device) where it is expected and acceptable. (gxcmap.c [1.13]: 5832002/11/06 23:11:17 ray) 584 585First commit of 7.33 beta release: update dates and version numbers, edits 586to News.htm. (gscdef.c [1.31]: 2002/11/18 21:41:51 raph) 587 588</pre><h2><a name="7.33-Other"></a>Other</h2><pre> 589 590Fixes problems: 591 - remove the unused SYSTIME_H from the mac headers. Prefer "time_.h" 592to <sys/time.h>. Although the Metroworks Standard Library doesn't have 593a sys/time.h, keep the definition of HAVE_SYS_TIME_H for now to avoid a 594multiple definition problem with struct timeval. (macsystypes.h [1.5]: 5952002/11/14 16:55:21 giles) 596 597Turn on 64 bit color indexes in the MacOS build. (macsystypes.h [1.6]: 5982002/11/14 17:36:21 giles) 599 600</pre> 601<hr> 602 603<h1><a name="Version7.32"></a>Version 7.32 (2002-11-02)</h1> 604 605<p> 606This is the second beta release in preparation for 8.0. The most 607notable new feature is Well Tempered Screening, which now works for 608angles of 0 and 45 degrees as well. 609 610<p> 611To test WTS, set the UseWTS user parameter: 612 613<blockquote><pre> 614<< /UseWTS true >> setuserparams 615</pre></blockquote> 616 617<p> 618Also make sure you're not in a banding mode (setting 619<b><tt>-dMaxBitmap=500000000</tt></b> should work), and that your halftone 620dictionaries set /AccurateScreens. 621 622<p> 623A fair number of bugfixes have also made it into this release, 624including a fix for the slow rendering of PDF's in GhostView-derived 625viewers. 626 627<p> 628The following SourceForge bug numbers were open at the time of this release: 629405342, 630407342, 631414947, 632414985, 633446344, 634458261, 635458775, 636458780, 637459647, 638465936, 639484752, 640484753, 641487953, 642493348, 643505429, 644510808, 645526099, 646526491, 647530011, 648535366, 649535752, 650535836, 651538033, 652539239, 653546823, 654554076, 655558151, 656558435, 657563287, 658569573, 659570772, 660573744, 661578838, 662578865, 663584990, 664592160, 665592837, 666592841, 667592925, 668592930, 669595760, 670596009, 671598014, 672600281, 673600288, 674601255, 675601336, 676601694, 677602995, 678603934, 679605830, 680607425, 681607850, 682608520, 683609488, 684610356, 685610478, 686610727, 687611694, 688611701, 689611727, 690611898, 691612801, 692614298, 693615165, 694615994, 695616970, 696616976, 697617077, 698617523, 699621243, 700621246, 701623122, 702623292, 703623989, 704624515, 705625085, 706626059, 707626295, 708626358, 709626419, 710626464, 711627545, 712628110, 713628542, 714628557, 715629116, 716629335, 717629961, 718631180, 719631974. 720 721 722<h3><a name="7.32_Incompatible_changes"></a>Incompatible changes</h3> 723 724<p> 725The UseWTS user parameter has been added. 726 727<pre> 728</pre> 729 730 731<h2><a name="7.32-Documentation"></a>Documentation</h2><pre> 732 733Fixes problems: 734 - removes an extra parenthesis (doc/API.htm [1.26]: 2002/10/19 73514:50:28 giles) 736 - Language level 3 is added to the list of supported language levels 737in pswrite and epswrite devices. Currently it generates the same code as 2. 738Bug #626497 (doc/Devices.htm [1.55]: 2002/10/24 20:28:43 alexcher) 739 740Removes the unmaintained 'current release' information. The News and Changes 741files provide a reasonable summary. (doc/Readme.htm [1.43], 742doc/Release.htm [1.70]: 2002/10/20 15:28:27 giles) 743 744Removes the 'PageSize cannot use packedarray' issue description. Ghostscript 745no longer fails as described. (doc/Issues.htm [1.27]: 2002/10/20 15:54:42 746giles) 747 748Clean up html. Properly escape dictionary delimiters and blockquote code 749examples. Add Peter's update on SourceForge bug #224134. 750(doc/Issues.htm [1.28]: 2002/10/20 17:14:53 giles) 751 752Updates the usage documentation. The first section is re-written to be 753easier and quicker for new users. The rest has been re-arranged for clarity. 754Moves the bbox documentation to Devices.htm. Adds descriptions of the 755*AlphaBits driver parameters. Removes mention of some obsolete options 756(-sOUTPUTFILE, -_, -sOutputFile=|) from the introduction; they're still 757documented elsewhere. (doc/Deprecated.htm [1.3], doc/Devices.htm [1.54], 758doc/Use.htm [1.60]: 2002/10/21 20:54:01 giles) 759 760Removes the documentation on the no-longer-supported MS-DOS platform. 761(doc/Use.htm [1.61]: 2002/10/21 20:58:10 giles) 762 763Remove pdfwrite testing module zfctest and associated source. 764(doc/Develop.htm [1.96]: 2002/10/22 18:42:24 giles) 765 766Update code policy documentation. (doc/Maintain.htm [1.33]: 2002/10/23 76722:06:49 giles) 768 769additional documentation cleanup related to the new usage sections 770(doc/Commprod.htm [1.23], doc/Readme.htm [1.44]: 2002/10/23 22:09:07 giles) 771 772Adds a documentation stub for the -dUseCIEColor option. (doc/Use.htm [1.62]: 7732002/10/23 22:42:23 giles) 774 775Clarify description of -dUseCIEColor. (doc/Use.htm [1.63]: 2002/10/24 77611:31:59 giles) 777 778Clarify that DOS is not the same as the windows command prompt. 779(doc/Use.htm [1.64]: 2002/10/24 12:47:43 giles) 780 781Update the release documentation now that 'make dist-clean' works reliably. 782(doc/Release.htm [1.71]: 2002/10/24 13:06:10 giles) 783 784Clarify options accepted by ps2ps, and document the current low-level output 785of pswrite. Inspired by SourceForge bug #620865. (man/ps2ps.1 [1.26]: 7862002/10/24 14:21:22 giles) 787 788Clean up build documenation. Correct markup, remove obsolete or irrelevent 789sections, further encourage the use of the autoconf makefile. Resolves 790SourceForge bug #468762. (doc/Make.htm [1.56]: 2002/10/24 15:25:20 giles) 791 792Rename the makefile variable UFST_CFLAG to the more conventional 793UFST_CFLAGS. (doc/Make.htm [1.57]: 2002/10/24 16:07:20 giles) 794 795Document pdfwrite generating truetype font data with incorrect checksums as 796an issue. SourceForge bug #615620. (doc/Issues.htm [1.29]: 2002/10/25 79711:58:19 giles) 798 799Document 'save' 'restore' not working from the interactive prompt as an 800issue. SourceForge bug #603689. (doc/Issues.htm [1.30]: 2002/10/25 12:07:11 801giles) 802 803Removes the alpha storage device. This code is obsolete and has been unused 804for some time. Closes SourceForge bug #592164. (doc/Develop.htm [1.97]: 8052002/10/25 12:14:54 giles) 806 807Bump version after the 7.31 release. (doc/News.htm [1.117]: 2002/10/28 80820:11:08 giles) 809 810Remove documentation for the old watc.mak which is not longer in the 811distribution. (doc/Develop.htm [1.98], doc/Make.htm [1.58]: 2002/10/30 81223:34:57 giles) 813 814Encapsulate EPS files to make sure that at least one page is printed. Add 815command line options -dNOEPS, -dEPSCrop and -dEPSFitPage for customizing 816handling of EPS files. Warn if EPS bounding box does not fit in clipping 817box. Enable EPS and DOS EPS processing for several platforms. 818(doc/Use.htm [1.65]: 2002/10/31 09:22:13 ghostgum) 819 820When ghostscript is given a PDF file on standard input, copy it to a 821temporary file before processing. Prior to version 7, ghostscript could read 822PDF from standard input redirected from a file, but not from a pipe. 823Standard input was changed in version 7 to use callouts, which prevented PDF 824reading from standard input. Fixes SourceForge bug #583413, /ioerror with gs 825- < file.pdf vers 7.xx (doc/Use.htm [1.66]: 2002/10/31 10:23:08 ghostgum) 826 827Minor wording corrections to Russell Lang's recent updates. 828(doc/Use.htm [1.67]: 2002/10/31 15:07:45 giles) 829 830First commit for 7.32 release: update version numbers and dates, News.htm. 831(doc/API.htm [1.27], doc/Bug-form.htm [1.31], doc/Bug-info.htm [1.30], 832doc/C-style.htm [1.37], doc/Commprod.htm [1.24], doc/Copying.htm [1.23], 833doc/DLL.htm [1.25], doc/Deprecated.htm [1.4], doc/Develop.htm [1.99], 834doc/Devices.htm [1.56], doc/Drivers.htm [1.35], doc/Fonts.htm [1.32], 835doc/Helpers.htm [1.27], doc/History1.htm [1.23], doc/History2.htm [1.23], 836doc/History3.htm [1.23], doc/History4.htm [1.23], doc/History5.htm [1.25], 837doc/History6.htm [1.40], doc/History7.htm [1.25], doc/Htmstyle.htm [1.28], 838doc/Install.htm [1.37], doc/Issues.htm [1.31], doc/Language.htm [1.56], 839doc/Lib.htm [1.25], doc/Maintain.htm [1.34], doc/Make.htm [1.59], 840doc/New-user.htm [1.42], doc/News.htm [1.118], doc/Projects.htm [1.47], 841doc/Ps-style.htm [1.21], doc/Ps2epsi.htm [1.25], doc/Ps2pdf.htm [1.47], 842doc/Psfiles.htm [1.38], doc/Readme.htm [1.45], doc/Release.htm [1.72], 843doc/Source.htm [1.23], doc/Tester.htm [1.22], doc/Testing.htm [1.12], 844doc/Unix-lpr.htm [1.23], doc/Use.htm [1.68], doc/Xfonts.htm [1.23], 845doc/gs-vms.hlp [1.22], man/dvipdf.1 [1.20], man/font2c.1 [1.20], 846man/gs.1 [1.20], man/gslp.1 [1.20], man/gsnd.1 [1.20], man/pdf2dsc.1 [1.19], 847man/pdf2ps.1 [1.21], man/pdfopt.1 [1.19], man/pf2afm.1 [1.20], 848man/pfbtopfa.1 [1.21], man/printafm.1 [1.20], man/ps2ascii.1 [1.19], 849man/ps2epsi.1 [1.18], man/ps2pdf.1 [1.25], man/ps2pdfwr.1 [1.24], 850man/ps2ps.1 [1.27], man/wftopfa.1 [1.20]: 2002/11/02 08:11:07 raph) 851 852</pre><h2><a name="7.32-Procedures"></a>Procedures</h2><pre> 853 854Fixes problems: 855 - adds a missing header to gxshade for indexed color routines. 856(lib.mak [1.103]: 2002/10/22 13:31:37 giles) 857 - update the ECHOGS_MAK dependency to ECHOGS_XE. (devs.mak [1.80], 858int.mak [1.86], lib.mak [1.105]: 2002/10/22 18:38:00 giles) 859 - correct some dependencies against the include lists in the 860relevent C files. Also reorder them to facilitate easer checking next time. 861Closes SourceForge bug #607819. (int.mak [1.89], lib.mak [1.108]: 2002/10/28 86219:17:19 giles) 863 - install cidfmap on unix. (unixinst.mak [1.27]: 2002/10/28 19:27:06 864giles) 865 - install the example FAPI configuration files by default. Ideally 866this would be dependent of enabling the fapi feature in the build. 867(unixinst.mak [1.28]: 2002/10/28 19:43:42 giles) 868 - provided a meaningful error message when an immediately evaluated 869name can not be found. Fixes SourceForge bug #543185, Confusing diagnostics 870for //undefined. (int.mak [1.91]: 2002/10/29 09:57:53 ghostgum) 871 - also install the character translation FAPI config file. 872(unixinst.mak [1.29]: 2002/10/31 16:01:12 giles) 873 - Fiddles with makefile parameter quoting so that "make pg" runs 874again. (unix-end.mak [1.5]: 2002/11/02 05:51:00 raph) 875 876Remove the gcc version check from the macosx makefile. That platform is 877unlikely to be running the version in question. (macosx.mak [1.14]: 8782002/10/18 13:17:07 giles) 879 880Use 'gcc2' as the C compiler with the macosx makefile, working around a bug 881in Apple's gcc3 (the default cc). This won't work on pre-10.2 developer 882tools, but users are less likely to encounter that now. (macosx.mak [1.15]: 8832002/10/18 15:48:26 giles) 884 885Corrects various include dependency problems. Closes SourceForge Bug 886#604884. (devs.mak [1.79], int.mak [1.85], lib.mak [1.104]: 2002/10/22 88716:47:30 giles) 888 889Remove pdfwrite testing module zfctest and associated source. 890(int.mak [1.87]: 2002/10/22 18:42:32 giles) 891 892Add real 'make distclean' and 'make maintainer-clean' targets. These are no 893longer general no-ops but are the responsibility of the platform-specific 894makefiles. The autoconf build now removes its generated files from the 895top-level directory when requested. (gs.mak [1.18], unix-gcc.mak [1.38], 896unixansi.mak [1.26]: 2002/10/24 12:57:57 giles) 897 898Rename the makefile variable UFST_CFLAG to the more conventional 899UFST_CFLAGS. (int.mak [1.88], lib.mak [1.106], msvc32.mak [1.35]: 2002/10/24 90016:07:20 giles) 901 902Removes the alpha storage device. This code is obsolete and has been unused 903for some time. Closes SourceForge bug #592164. (lib.mak [1.107]: 2002/10/25 90412:14:54 giles) 905 906Bump version after the 7.31 release. (version.mak [1.54]: 2002/10/28 90720:11:08 giles) 908 909Remove some interpreter references from the graphics library. Partial fix 910for SourceForge bug #542848, "library #includes interpreter headers". 911(lib.mak [1.109], msvclib.mak [1.21], msvctail.mak [1.9], pcwin.mak [1.5]: 9122002/10/29 09:22:29 ghostgum) 913 914Changes to Windows and OS/2 files to allow ghostscript to compile with the 915graphics library and interpreter in separate source directories. Partial fix 916for SourceForge bug #542848, "library #includes interpreter headers". 917(bcwin32.mak [1.22], int.mak [1.90], msvc32.mak [1.36], os2.mak [1.28], 918watcw32.mak [1.19], winint.mak [1.16]: 2002/10/29 09:44:40 ghostgum) 919 920Encapsulate EPS files to make sure that at least one page is printed. Add 921command line options -dNOEPS, -dEPSCrop and -dEPSFitPage for customizing 922handling of EPS files. Warn if EPS bounding box does not fit in clipping 923box. Enable EPS and DOS EPS processing for several platforms. 924(bcwin32.mak [1.23], dvx-gcc.mak [1.21], msvc32.mak [1.37], 925openvms.mak [1.27], os2.mak [1.29], unixansi.mak [1.27], watcw32.mak [1.20]: 9262002/10/31 09:22:13 ghostgum) 927 928Remove the obsolete mswindll and mswinprn devices from the standard Windows 929build. (bcwin32.mak [1.24], msvc32.mak [1.38], watcw32.mak [1.21]: 9302002/10/31 10:11:03 ghostgum) 931 932Reinstate the mswindll device because removing it also requires modifying 933the exports in gsdll32.def. (bcwin32.mak [1.25], msvc32.mak [1.39], 934watcw32.mak [1.22]: 2002/10/31 10:51:29 ghostgum) 935 936Add a utility that draws glyphs on top of the character box defined in the 937given AFM. Goes throuh each glyph in the AFM. (toolbin/drawafm.ps [1.1]: 9382002/10/31 18:08:49 ray) 939 940Module gslib removed from the library archive. Further fix for [ 538311 ] 941files missing from library archive. (ugcclib.mak [1.22]: 2002/11/02 04:28:15 942ghostgum) 943 944First commit for 7.32 release: update version numbers and dates, News.htm. 945(version.mak [1.55]: 2002/11/02 08:11:09 raph) 946 947</pre><h2><a name="7.32-Utilities"></a>Utilities</h2><pre> 948 949Fixes problems: 950 - Several problems have been fixed in pf2afm.ps (1) security code is 951updated to use the new interface (2) PFM encoding is considered during the 952kerning pair table generation (3) string overflow during PFA header printing 953is fixed Bug #567421 (lib/pf2afm.ps [1.7]: 2002/10/25 02:30:04 alexcher) 954 955Add a usage example to make better connection between the script options and 956ghostscript. Closes SourceForge bug #620865. (lib/ps2ps [1.6], 957lib/ps2ps.bat [1.7]: 2002/10/24 14:23:15 giles) 958 959Improve the wording and correct typos in the the comment header. 960(lib/xlatmap [1.6]: 2002/10/31 16:01:58 giles) 961 962</pre><h2><a name="7.32-Drivers"></a>Drivers</h2><pre> 963 964Fixes problems: 965 - Language level 3 is added to the list of supported language levels 966in pswrite and epswrite devices. Currently it generates the same code as 2. 967Bug #626497 (gdevps.c [1.31]: 2002/10/24 20:28:43 alexcher) 968 - This is the change to the permute device to include the 969SeparationColorNames if we are permuting the color components. 970(gdevperm.c [1.3]: 2002/10/25 23:04:16 dan) 971 - correctly initializes the color_info structure when opening the 972ijs device. Closes SourceForge Bug #630542. (gdevijs.c [1.6]: 2002/10/30 97312:35:11 giles) 974 - Propagate error codes from gs_distance_transform_inverse. Patch 975from Forrest Cahoon, improved. (gdevpsdi.c [1.23]: 2002/10/31 09:00:28 igor) 976 977Removed some warning errors. (gdevpsd.c [1.3]: 2002/10/23 19:59:26 jeong) 978 979Remove some interpreter references from the graphics library. Partial fix 980for SourceForge bug #542848, "library #includes interpreter headers". 981(gdevmswn.c [1.9]: 2002/10/29 09:22:29 ghostgum) 982 983OS/2 updates for the DeviceN changes. (gdevos2p.c [1.7], gdevpm.c [1.8]: 9842002/10/29 09:51:33 ghostgum) 985 986Windows updates for the DeviceN changes. (gdevmswn.c [1.10], 987gdevwpr2.c [1.13], gdevwprn.c [1.8]: 2002/10/31 10:06:01 ghostgum) 988 989</pre><h2><a name="7.32-PDF_writer"></a>PDF writer</h2><pre> 990 991Fixes problems: 992 - Fix (pdfwrite) : Encoding was ignored with standard fonts. Source 993Forge bug #624082 "(pdfwrite) Wrong encoding with std fonts". 994(gdevpdtt.c [1.20], gdevpdtw.c [1.9]: 2002/10/18 14:06:27 igor) 995 - Fix (pdfwrite) : Don't write StandardEncoding name, which is 996default one. (gdevpdtw.c [1.10]: 2002/10/18 14:39:58 igor) 997 - Fix (pdfwrite) : Don't fill paths outside the clipping path. 998Source Forge bug "[ 624168 ] poor performance on patterns". 999(gdevpdfd.c [1.20]: 2002/10/18 17:41:51 igor) 1000 - Fix (pdfwrite) : Enhancing font_orig_scale with upside-down font 1001matrices. Source Forge bug "[ 620968 ] text inverted in pdf". 1002(gdevpdtt.c [1.21]: 2002/10/21 17:06:37 igor) 1003 - Fix (pdfwrite) : Account Tc and Tw values while computing TJ 1004offsets. Source Forge bugs "[ 627036 ] (pdfwrite) wrong spacing 1005000040cf.000_60", (gdevpdte.c [1.19], gdevpdts.c [1.19]: 2002/10/25 10:53:33 1006igor) 1007 - Fix (pdfwrite) : Wrong allocator was used for pdfmark objects. 1008Source Forge bug "[ 611463 ] Crash on Adobe Photoshop 7 EPS". Also cleaning 1009up other modules dealing with PDF memory. (gdevpdfm.c [1.27], 1010gdevpdfu.c [1.33], gdevpdtt.c [1.22]: 2002/10/25 15:42:39 igor) 1011 - Propagate error codes from gs_distance_transform_inverse. Patch 1012from Forrest Cahoon, improved. (gdevpdts.c [1.20]: 2002/10/31 09:00:28 igor) 1013 1014</pre><h2><a name="7.32-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 1015 1016Fixes problems: 1017 - Fix to PDF interpreter : Report error and stop on unsupported 1018halftone type. (lib/pdf_draw.ps [1.56]: 2002/10/18 11:32:38 igor) 1019 - Fix to PDF interpreter : Cache original fonts to prevent 1020adjustfont to accumulate changes. Source Forge bug #621293 "(PDF 1021interpreter)Possibly wrong encoding". (lib/pdf_font.ps [1.49]: 2002/10/23 102205:08:50 igor) 1023 - GS didn't restore graphic state after execution of Form XObject 1024leaking PDF graphic state changes out of the form procedure. Bug #626507 1025from customer #1. Fix developed by Alex Cherepanov. (lib/pdf_draw.ps [1.57]: 10262002/10/23 15:15:30 ray) 1027 - Pop useless widget /AP dictionary if missing all of /N, /R, and /D 1028keys to keep opstack from collecting extra elements leading to error during 1029restore. Fixes SF bug #538428 for customer #440. (lib/pdf_draw.ps [1.58]: 10302002/10/23 23:16:20 ray) 1031 - Scale factor for Stamp Annotations was incorrect. The 1032calcstampscale function was quite wrong. Fixes SourceForge bug #628440 for 1033customer #531. (lib/pdf_draw.ps [1.60]: 2002/10/25 04:47:23 ray) 1034 - Optional /Name in Type 3 font is generated from current file 1035position when missing. This is a temporary fix till while are not accessed 1036by PDF resource names. Bug #573744 from lpd (lib/pdf_font.ps [1.50]: 10372002/10/31 23:41:09 alexcher) 1038 - Apply SubFileDecode filter during stream resolution to unfiltered 1039streams (except inline images) to prevent merging of the last token of the 1040stream with endstream operator. (jointly with Ray Johnston) Bug #628097 from 1041customer #1 (lib/pdf_base.ps [1.30], lib/pdf_draw.ps [1.61]: 2002/11/01 104220:00:12 alexcher) 1043 1044Moved the redefinition of the DefaultGray, DefaultRGB, and DefaultCMYK 1045instances of the ColorSpace resource category to the pdfopen procedure, as 1046opposed to the runpdf procedure. This avoids unintended color space 1047substitution when using utilities such as gv, gsview, etc., which do not 1048invoke the runpdf procedure. Thanks to both Raph Levien and Russell Lang for 1049suggesting this modification. (lib/pdf_main.ps [1.58]: 2002/10/17 21:33:03 1050dan) 1051 1052Moved the invocation of pdfshowpage_setcspacesub from pdfshowpage to 1053pdfshowpage_finish. This is done to accommodate gsview, which does not 1054invoke pdfshowpage. Thanks to Russell Lang for pointing this out. 1055(lib/pdf_main.ps [1.59]: 2002/10/18 17:31:26 dan) 1056 1057This is a fix to handle the "slow rendering for PDF files with color space 1058substitution" ("-dUseCIEColor") problem. The code for the patches is the 1059same as in yesterday's message; some comments have been added, and some of 1060the earlier comments made more clear (we hope). Modified Files: 1061lib/gs_cspace.ps Modified the _setcolorspace procedure to ignore redundant 1062settings of the current color space for PDF files, even if color space 1063substitution is in effect. lib/pdf_main.ps Modified pdfshowpage_setcspacesub 1064to "transition" the current color space if color space substitution is in 1065effect and the current color space is a device-dependent color space. 1066(lib/pdf_main.ps [1.60]: 2002/10/24 04:13:50 dan) 1067 1068Change some pdfformaterror messages to "Warning" to avoid user confusion and 1069alleviate concern. Also this should help bug reports to be less misleading. 1070(lib/pdf_base.ps [1.29], lib/pdf_draw.ps [1.59], lib/pdf_main.ps [1.61]: 10712002/10/24 18:29:34 ray) 1072 1073When ghostscript is given a PDF file on standard input, copy it to a 1074temporary file before processing. Prior to version 7, ghostscript could read 1075PDF from standard input redirected from a file, but not from a pipe. 1076Standard input was changed in version 7 to use callouts, which prevented PDF 1077reading from standard input. Fixes SourceForge bug #583413, /ioerror with gs 1078- < file.pdf vers 7.xx (lib/pdf_main.ps [1.62]: 2002/10/31 10:23:08 1079ghostgum) 1080 1081</pre><h2><a name="7.32-Interpreter"></a>Interpreter</h2><pre> 1082 1083Fixes problems: 1084 - A typo in .locksafe procedure left 2 boolean parameters on the 1085stack causing PS errors in some files produced by "dvips(k) 5.86" that 1086depend on empty initial operand stack. Bug #626437 (lib/gs_init.ps [1.67]: 10872002/10/24 20:37:29 alexcher) 1088 - currentcolorspace didn't check whether the current device is a 1089cache device and always returned the value set by setcolorspace in the 1090current graphic state. The fix returns [/DeviceGray] as the current color 1091space in cache device. Bug #627169 (zcolor.c [1.13]: 2002/10/24 22:48:41 1092alexcher) 1093 - provided a meaningful error message when an immediately evaluated 1094name can not be found. Fixes SourceForge bug #543185, Confusing diagnostics 1095for //undefined. (interp.c [1.13], ziodev.c [1.11]: 2002/10/29 09:57:53 1096ghostgum) 1097 - Temporarily disable processing of DSC comments while a font is 1098being loaded. Fixes SourceForge bug #605830, DSC parser shouldn't parse 1099fonts. (lib/gs_fonts.ps [1.22], lib/gs_lev2.ps [1.22]: 2002/10/31 10:26:00 1100ghostgum) 1101 - Restore ps2ascii operation (1) use .bind instead of bind in 1102operator redefinition to support GS operation in NOBIND mode. (2) increase 1103the size of operator procedure tables. Bug #628820 from Ryan Pinto 1104(iinit.c [1.8], lib/gs_cspace.ps [1.3], lib/gs_pdfwr.ps [1.20]: 2002/10/31 110515:53:32 alexcher) 1106 - Adobe interpreters accept numbers as values of /C0 or /C1 1107parameters of Type 2 function contrary to PLRM. Adobe has also published 1108smooth shading examples that use this feature. So GS has to follow. Bug 1109#595375. (ifunc.h [1.10], zfunc.c [1.13], zfunc3.c [1.6]: 2002/10/31 111018:34:25 alexcher) 1111 - Accept any objects as Font, CIDFont, and CMap resource keys, not 1112just strings or names. Ignore keys other than strings or names in 1113<CIDFontName>- -<CMapName> pair construction because it is 1114defined only for strings. Bug #602739 (lib/gs_cidcm.ps [1.10]: 2002/10/31 111520:37:50 alexcher) 1116 - Immediate evaluation of //null. //true, //false prevents PS errors 1117when these names are redefined in the user's program. Bug #539239 1118(lib/gs_setpd.ps [1.17]: 2002/11/01 04:04:10 alexcher) 1119 - Redefine .runstdin with one bound to EPSF 'run' operator so that 1120EPS files are handled correctly from %stdin. Code for skipping DOS EPS 1121header now uses the EPS encapsulating run, instead of directly calling 1122.runexec. (lib/gs_epsf.ps [1.6]: 2002/11/01 23:41:18 ghostgum) 1123 - Provide a meaningful error message when an immediately evaluated 1124name in a procedure can not be found. Additional fix for SourceForge bug 1125#543185, Confusing diagnostics for //undefined. (iscan.c [1.13], 1126ziodev.c [1.12]: 2002/11/01 23:43:09 ghostgum) 1127 1128Corrects some typos in a comment. (zcolor.c [1.12]: 2002/10/23 22:44:31 1129giles) 1130 1131This is a fix to handle the "slow rendering for PDF files with color space 1132substitution" ("-dUseCIEColor") problem. The code for the patches is the 1133same as in yesterday's message; some comments have been added, and some of 1134the earlier comments made more clear (we hope). Modified Files: 1135lib/gs_cspace.ps Modified the _setcolorspace procedure to ignore redundant 1136settings of the current color space for PDF files, even if color space 1137substitution is in effect. lib/pdf_main.ps Modified pdfshowpage_setcspacesub 1138to "transition" the current color space if color space substitution is in 1139effect and the current color space is a device-dependent color space. 1140(lib/gs_cspace.ps [1.2]: 2002/10/24 04:13:50 dan) 1141 1142Bump version after the 7.31 release. (lib/gs_init.ps [1.68]: 2002/10/28 114320:11:08 giles) 1144 1145Changes to Windows and OS/2 files to allow ghostscript to compile with the 1146graphics library and interpreter in separate source directories. Partial fix 1147for SourceForge bug #542848, "library #includes interpreter headers". 1148(dwmain.c [1.12]: 2002/10/29 09:44:40 ghostgum) 1149 1150Encapsulate EPS files to make sure that at least one page is printed. Add 1151command line options -dNOEPS, -dEPSCrop and -dEPSFitPage for customizing 1152handling of EPS files. Warn if EPS bounding box does not fit in clipping 1153box. Enable EPS and DOS EPS processing for several platforms. 1154(lib/gs_epsf.ps [1.5], lib/gs_init.ps [1.69]: 2002/10/31 09:22:13 ghostgum) 1155 1156Proposed log message: According to PLRM 3rd ed, p. 264 "indexed color space 1157is not allowed in any shading whose color values are generated by a 1158function; this applies to any shading dictionary that contains a Function 1159entry." Adobe interpreters follow PLRM in this respect and we follow them. 1160Bug #591768 (zshade.c [1.14]: 2002/10/31 16:19:48 alexcher) 1161 1162Adds UseWTS user parameter to enable WTS, rather than a compile-time #define 1163USE_WTS as before. Also, WTS is now only enabled when AccurateScreens is 1164selected. (zusparam.c [1.8]: 2002/11/02 07:33:48 raph) 1165 1166</pre><h2><a name="7.32-Streams"></a>Streams</h2><pre> 1167 1168Remove some interpreter references from the graphics library. Partial fix 1169for SourceForge bug #542848, "library #includes interpreter headers". 1170(sarc4.c [1.8]: 2002/10/29 09:22:29 ghostgum) 1171 1172</pre><h2><a name="7.32-Library"></a>Library</h2><pre> 1173 1174Fixes problems: 1175 - adds a missing header to gxshade for indexed color routines. 1176(gxshade.c [1.15]: 2002/10/22 13:31:37 giles) 1177 - On gcc 2.95.4 for Alpha all structures are padded to 8 byte 1178boundary but sizeof(bool) == 4. First member of the subclass is restored 1179because it is overwritten by padding data. Bug #613909 (gximage3.c [1.11]: 11802002/10/25 00:27:10 alexcher) 1181 - correct some dependencies against the include lists in the 1182relevent C files. Also reorder them to facilitate easer checking next time. 1183Closes SourceForge bug #607819. (gscolor2.c [1.14], gxclrast.c [1.26]: 11842002/10/28 19:17:19 giles) 1185 - For Type9 fonts (CIDFontType 0 with Type 1 or Type 2 leaf fonts), 1186the leaf's FontMatrix was being ignored. Catch the change of leaf font index 1187in select_descendant_font, and for Type9 (ft_CID_encrypted) concatenate the 1188leaf's FontMatrix in show_state_setup. Fixes SourceForge bug #576591 for 1189Artifex customer #1110 [footnotes rendered too large: badcharsize.pdf] 1190(gschar0.c [1.8], gsfcid.c [1.11], gxchar.c [1.17], gxfcid.h [1.13]: 11912002/10/31 08:34:51 ray) 1192 - Propagate error codes from gs_distance_transform_inverse. Patch 1193from Forrest Cahoon, improved. (gxstroke.c [1.7]: 2002/10/31 09:00:28 igor) 1194 - Fix incorrect calculation of the clipping path around the pattern 1195tile. Old code used bounding box of the tile in device coordinate system as 1196a clippin path. When the tile was not aligned with device coordinates the 1197box extended beyond the tile parallelogram causing incorrect rendering of a 1198pattern depending on clipping path. New code draws correct clipping path by 1199taking advantage of high level functions. Also gs_bbox_transform() was moved 1200out of compute_inst_matrix() to improve readability. Bug #595378 1201(gsptype1.c [1.13]: 2002/10/31 16:34:01 alexcher) 1202 - Default allocator added to the stable allocator because it is used 1203in s_zlib_alloc() when the clist is stored in memory. According to 1204doc/Develop.htm: "Every allocator has an associated stable allocator, which 1205tags pointers with the same VM space number but which is not subject to save 1206and restore. System VM is intrinsically stable (its associated stable 1207allocator is the same allocator)" Bug #530588 (gsmalloc.c [1.11]: 2002/10/31 120816:52:18 alexcher) 1209 1210Bump version after the 7.31 release. (gscdef.c [1.28]: 2002/10/28 20:11:08 1211giles) 1212 1213Remove some interpreter references from the graphics library. Partial fix 1214for SourceForge bug #542848, "library #includes interpreter headers". 1215(gsargs.c [1.8]: 2002/10/29 09:22:29 ghostgum) 1216 1217Revert previous 1.13 patch since it fails on several Genoa tests including 1218012-09.ps (gsptype1.c [1.14]: 2002/11/02 00:23:06 ray) 1219 1220Adds WTS cases for 0 and 45 degree angles, called "Screen H" in the code. 1221(gswts.c [1.4], gswts.h [1.2], gxwts.c [1.5], gxwts.h [1.2]: 2002/11/02 122207:31:45 raph) 1223 1224Adds UseWTS user parameter to enable WTS, rather than a compile-time #define 1225USE_WTS as before. Also, WTS is now only enabled when AccurateScreens is 1226selected. (gsht1.c [1.13], gshtscr.c [1.11], gxht.h [1.8]: 2002/11/02 122707:33:48 raph) 1228 1229First commit for 7.32 release: update version numbers and dates, News.htm. 1230(gscdef.c [1.29]: 2002/11/02 08:11:09 raph) 1231 1232</pre><h2><a name="7.32-Other"></a>Other</h2><pre> 1233 1234Add real 'make distclean' and 'make maintainer-clean' targets. These are no 1235longer general no-ops but are the responsibility of the platform-specific 1236makefiles. The autoconf build now removes its generated files from the 1237top-level directory when requested. (Makefile.in [1.18]: 2002/10/24 12:57:57 1238giles) 1239 1240Remove configure.ac only on maintainer-clean. It's more transparent to 1241distribute this file as well along with configure. (Makefile.in [1.19]: 12422002/10/24 13:25:01 giles) 1243 1244</pre> 1245<hr> 1246 1247<h1><a name="Version7.31"></a>Version 7.31 (2002-10-17)</h1> 1248 1249<p> 1250This is the first beta release in preparation for 8.0. A great many 1251bugs have been fixed since the 7.30 alpha release, and it should be 1252stable for most users. Two features planned for 8.0 are not yet fully 1253functional, however: subpixel positioning of antialiased text, and 1254Well Tempered Screening (the latter can be enabled for experimentation, 1255but does not work for 0 and 45 degree angles). 1256 1257<p> 1258The following SourceForge bug numbers were open at the time of the last release: 1259405342, 1260407342, 1261414947, 1262414985, 1263434277, 1264446344, 1265446672, 1266458261, 1267458775, 1268458780, 1269459647, 1270465720, 1271465936, 1272468762, 1273484752, 1274484753, 1275485510, 1276487953, 1277493348, 1278505429, 1279508081, 1280509646, 1281510808, 1282513905, 1283517349, 1284526099, 1285526491, 1286528647, 1287530011, 1288530588, 1289535366, 1290535752, 1291535836, 1292538033, 1293538428, 1294539239, 1295542848, 1296543185, 1297546823, 1298552989, 1299554076, 1300558151, 1301558435, 1302563287, 1303567421, 1304567773, 1305569573, 1306570772, 1307572119, 1308573744, 1309576591, 1310576591, 1311578838, 1312578865, 1313583413, 1314584990, 1315591768, 1316592160, 1317592164, 1318592837, 1319592841, 1320592925, 1321592930, 1322594582, 1323595375, 1324595378, 1325595760, 1326596009, 1327598014, 1328600281, 1329600288, 1330601255, 1331601336, 1332601694, 1333602739, 1334602995, 1335603577, 1336603689, 1337603934, 1338604884, 1339604886, 1340605830, 1341607425, 1342607819, 1343607850, 1344608520, 1345609488, 1346609494, 1347609809, 1348610040, 1349610356, 1350610359, 1351610478, 1352610727, 1353611463, 1354611694, 1355611701, 1356611727, 1357611898, 1358612801, 1359613165, 1360613909, 1361613909, 1362614298, 1363614299, 1364615165, 1365615620, 1366615994, 1367616970, 1368616976, 1369617077, 1370617523, 1371620420, 1372620865, 1373620968, 1374621243, 1375621246, 1376621293, 1377623122, 1378623292, 1379623989, 1380624082, 1381624168, 1382624493, 1383624515. 1384 1385<p> 1386A few regressions remain. See the <a 1387href="http://www.ghostscript.com/pipermail/gs-regression/2002-October/thread.html">archives</a> 1388of the regression report for more details. Another known issue is slow 1389rendering of PDF's from GSView and Ghostview family viewers. 1390 1391<h3><a name="7.31_Incompatible_changes"></a>Incompatible changes</h3> 1392 1393<p> 1394The <b><tt>-dDOPS</tt></b> flag (to enable DoPS processing) is now 1395disabled by default, as it is a more reasonable default. Thus, any 1396files which depend on DoPS will now break unless this flag is set. 1397 1398<pre> 1399</pre> 1400 1401 1402<h2><a name="7.31-Documentation"></a>Documentation</h2><pre> 1403 1404Fixes problems: 1405 - Mentions the autoconf build method in the installation 1406documentation. Inspired by a user report of having looked there first rather 1407than at Make.htm; an understandible choice based on linux packaging 1408conventions. (doc/Install.htm [1.35]: 2002/09/16 21:15:39 giles) 1409 - Keep pagedevice and device views of .LockSafetyParams correct even 1410after a 'restore' is used to unlock. The dictionary fed to the setpagedevice 1411operator is allocated in the same VM space as currentpagedevice to avoid 1412invalidaccess problems. Fixed SF #580029 and does not revert to the 1413incorrect behaviour of bug #516379. (doc/Language.htm [1.53]: 2002/09/18 141416:58:01 ray) 1415 1416German man page translation updates from Thomas Hoffmann. 1417(man/de/ansi2knr.1 [1.2], man/de/dvipdf.1 [1.3], man/de/font2c.1 [1.3], 1418man/de/gsnd.1 [1.4], man/de/pdf2dsc.1 [1.3], man/de/pdf2ps.1 [1.3], 1419man/de/pdfopt.1 [1.2], man/de/printafm.1 [1.3], man/de/ps2ascii.1 [1.2], 1420man/de/ps2pdf.1 [1.4], man/de/ps2ps.1 [1.3], man/de/wftopfa.1 [1.3]: 14212002/09/09 08:11:44 ghostgum) 1422 1423Update documentation to remove some confusion between Borland C++ 5 and 1424Borland C++Builder 5. (doc/Make.htm [1.54]: 2002/09/09 12:05:59 ghostgum) 1425 1426Bump version numbers after 7.30 release. (doc/News.htm [1.113]: 2002/09/12 142709:52:19 giles) 1428 1429Update the device API documentation to include the changes made for support 1430of various DeviceN related features. (doc/Drivers.htm [1.32]: 2002/09/12 143118:10:54 dan) 1432 1433For Windows printers, change documentation to use the preferred output file 1434name %printer%xyz, not the old confusing \\spool\xyz. 1435(doc/Devices.htm [1.49]: 2002/09/16 20:56:19 ghostgum) 1436 1437For Windows printers, change documentation to use the preferred output file 1438name %printer%xyz, not the old confusing \\spool\xyz. 1439(doc/Devices.htm [1.50]: 2002/09/16 20:58:52 ghostgum) 1440 1441Add documentation to the .setsafe operator that was added to .locksafe 1442operator that says that .setsafe uses setpagedevice, thus it will erase the 1443page. Related to SourceForge bug #580029. (doc/Language.htm [1.54]: 14442002/09/23 06:18:51 ray) 1445 1446Adds -dDONTPS command line option to disable processing of DoPS directives 1447in PDF files. Works around problem rendering S2_Digitalproof-Forum_x3k.pdf. 1448(doc/Use.htm [1.57]: 2002/09/29 17:38:43 raph) 1449 1450document the new testdiff command (doc/Testing.htm [1.10]: 2002/09/29 145123:11:28 giles) 1452 1453More documentation for: 1. Color_info fields related to "linear and 1454separable": comp_shift, comp_bits, and comp_mask. 2. Macros for color_info 1455structure definitions. 3. What to do if the any changes are made to the 1456color_info fields. (doc/Drivers.htm [1.33]: 2002/10/09 07:44:47 dan) 1457 1458Removes references to the no longer supported ansi2knr.c. 1459(doc/Develop.htm [1.91], doc/Release.htm [1.68]: 2002/10/09 23:41:13 giles) 1460 1461Add zht2.h to the file listing in Develop.htm. (doc/Develop.htm [1.92]: 14622002/10/10 00:39:26 giles) 1463 1464Add zht2.h to the correct section of the file listings. Corrects a 1465cut-and-paste error in the previous commit. (doc/Develop.htm [1.93]: 14662002/10/10 00:42:22 giles) 1467 1468Adds PhotoShop (psdcmyk and psdrgb) devices. (doc/Develop.htm [1.94]: 14692002/10/12 12:02:40 jeong) 1470 1471Cleans up output device documentation. Old printer drivers (replaced by 1472hpijs and/or gimpprintijs) are moved to a new file, Deprecated.htm. Stub 1473documentation for file output devices and general re-organization. 1474(doc/Deprecated.htm [1.1], doc/Devices.htm [1.51], doc/Readme.htm [1.41]: 14752002/10/15 15:13:35 giles) 1476 1477Corrects formatting errors and updates the table of contents for the devices 1478documentation. (doc/Devices.htm [1.52]: 2002/10/15 15:31:17 giles) 1479 1480First documentation commit for 7.31 release: edits to News.htm, version and 1481date updates, minor patches to Develop.htm and Deprecated.htm. 1482(doc/API.htm [1.25], doc/Bug-form.htm [1.30], doc/Bug-info.htm [1.29], 1483doc/C-style.htm [1.36], doc/Commprod.htm [1.22], doc/Copying.htm [1.22], 1484doc/Current.htm [1.22], doc/DLL.htm [1.24], doc/Deprecated.htm [1.2], 1485doc/Develop.htm [1.95], doc/Devices.htm [1.53], doc/Drivers.htm [1.34], 1486doc/Fonts.htm [1.31], doc/Helpers.htm [1.26], doc/History1.htm [1.22], 1487doc/History2.htm [1.22], doc/History3.htm [1.22], doc/History4.htm [1.22], 1488doc/History5.htm [1.24], doc/History6.htm [1.39], doc/History7.htm [1.22], 1489doc/Htmstyle.htm [1.27], doc/Install.htm [1.36], doc/Issues.htm [1.26], 1490doc/Language.htm [1.55], doc/Lib.htm [1.24], doc/Maintain.htm [1.32], 1491doc/Make.htm [1.55], doc/New-user.htm [1.41], doc/News.htm [1.114], 1492doc/Projects.htm [1.46], doc/Ps-style.htm [1.20], doc/Ps2epsi.htm [1.24], 1493doc/Ps2pdf.htm [1.46], doc/Psfiles.htm [1.37], doc/Readme.htm [1.42], 1494doc/Release.htm [1.69], doc/Source.htm [1.22], doc/Tester.htm [1.21], 1495doc/Testing.htm [1.11], doc/Unix-lpr.htm [1.22], doc/Use.htm [1.58], 1496doc/Xfonts.htm [1.22], doc/gs-vms.hlp [1.21], man/dvipdf.1 [1.19], 1497man/font2c.1 [1.19], man/gs.1 [1.19], man/gslp.1 [1.19], man/gsnd.1 [1.19], 1498man/pdf2dsc.1 [1.18], man/pdf2ps.1 [1.20], man/pdfopt.1 [1.18], 1499man/pf2afm.1 [1.19], man/pfbtopfa.1 [1.20], man/printafm.1 [1.19], 1500man/ps2ascii.1 [1.18], man/ps2epsi.1 [1.17], man/ps2pdf.1 [1.24], 1501man/ps2pdfwr.1 [1.23], man/ps2ps.1 [1.25], man/wftopfa.1 [1.19]: 2002/10/17 150206:37:28 raph) 1503 1504Second documentation commit for 7.31 release: Changes.htm generated from 1505cvs2hist (then hand-edited because the logs for Jan's commits are not 1506compatible with the script), History7.htm autogenerated, minor edits to News 1507and Use. (doc/Changes.htm [1.38], doc/History7.htm [1.23], 1508doc/News.htm [1.115], doc/Use.htm [1.59]: 2002/10/17 07:37:32 raph) 1509 1510update the open bug list (doc/News.htm [1.116]: 2002/10/17 10:13:38 giles) 1511 1512</pre><h2><a name="7.31-Procedures"></a>Procedures</h2><pre> 1513 1514Fixes problems: 1515 - Fix (pdfwrite): Virtual function same_font cannot work properly if 1516arguments have different representation (particularly for comparing an 1517original font with its stable copy). Due to it pdf_font_resource_t::Widths 1518mixed widths taken from fonts variations with different metrics. Entirely 1519changing the logics of creating font resources with new function 1520gs_copied_can_copy_glyphs. Source Forge bugs : #596394 (pdfwrite) Wrong 1521glyph width (093-01.ps), #567604 missing characters with -c save pop #596284 1522font spacing/ragged edge on text column (devs.mak [1.73], lib.mak [1.96]: 15232002/09/08 20:20:12 igor) 1524 - Fix (pdfwrite) : Completely removing the generation of "space 1525chars", because they can overflow Encoding. (devs.mak [1.74]: 2002/09/15 152613:21:09 igor) 1527 - Fix (pdfwrite) : Completely removing the old PDF text code. 1528(devs.mak [1.75]: 2002/09/15 14:11:51 igor) 1529 - On case-insensitive file systems, sometimes PDF file detection 1530wasn't working. (toolbin/tests/gstestgs.py [1.14]: 2002/09/18 19:17:40 jack) 1531 - Typo in run_nightly. (toolbin/tests/run_nightly [1.7]: 2002/09/19 153219:51:20 jack) 1533 - In dots mode, the DIFFER result had a spurious newline. 1534(toolbin/tests/gstestutils.py [1.5]: 2002/09/23 15:56:31 jack) 1535 - Fix : Providing a virtual path interface for computing glyph bbox 1536without allocating path segments. SourceForge bug "[ 605200 ] pdf_close 1537generates many path segments". (lib.mak [1.100]: 2002/09/23 16:38:28 igor) 1538 - Fix previous commit (marginal python skills) 1539(toolbin/tests/run_nightly [1.9]: 2002/09/26 16:28:15 ray) 1540 - Fix syntax errors and use actual paths for run_regression and 1541testdiff (toolbin/tests/run_nightly [1.11]: 2002/09/29 22:33:17 ray) 1542 - removes duplicate definition of gscspace_h. (lib.mak [1.102]: 15432002/10/10 20:21:38 giles) 1544 - Remove psdrgb.dev and psdcmyk.dev from the MSVC makefile (these 1545crept in by mistake). (msvc32.mak [1.33]: 2002/10/11 15:39:35 ray) 1546 - remove the remainder of the gcc version check hack through the aux 1547dependency. This was missed in initial commit of that changed and prevented 1548normal running of the mcp-generation makefile. (macos-mcp.mak [1.10]: 15492002/10/17 16:12:36 giles) 1550 1551Update documentation to remove some confusion between Borland C++ 5 and 1552Borland C++Builder 5. (bcwin32.mak [1.21]: 2002/09/09 12:05:59 ghostgum) 1553 1554 src/int.mak 1555 src/lib.mak 1556 Updated various dependency lists. 1557(int.mak [1.83], lib.mak [1.97]: 2002/09/10 22:16:07 dan; checkin for Jan) 1558 1559Bump version numbers after 7.30 release. (version.mak [1.52]: 2002/09/12 156009:52:20 giles) 1561 1562 src/lib.mak 1563 Updated the dependency list for gxclrast.$(OBJ). 1564(lib.mak [1.98]: 2002/09/13 22:21:22 dan; checkin for Jan) 1565 1566Implements daily results databases for regression results as well as a new 1567tool 'testdiff' to view the difference between two such databases. Also 1568updates the nightly report output to include a new section of just that 1569day's new regressions. (toolbin/tests/gscheck_pdfwrite.py [1.5], 1570toolbin/tests/gsconf.py [1.8], toolbin/tests/gssum.py [1.4], 1571toolbin/tests/gstestgs.py [1.13], toolbin/tests/gstestutils.py [1.4], 1572toolbin/tests/run_nightly [1.6], toolbin/tests/run_regression [1.7], 1573toolbin/tests/testdiff [1.1]: 2002/09/18 19:15:30 jack) 1574 1575 src/lib.mak 1576 Updated the dependency list for gsbitops.c. 1577(lib.mak [1.99]: 2002/09/21 00:26:04 dan; checkin for Jan) 1578 1579Revive the fuzzy pdfwrite compare test. 1580(toolbin/tests/gscheck_fuzzypdf.py [1.1]: 2002/09/23 16:26:15 jack) 1581 1582Put in log files for the preparation steps: cvs update, make and install. 1583The cvs logs are cumulative (they can be truncated manually if desired). 1584These changes were in the actual running scripts until 9/18 when an update 1585overwrote these changes that were being tested, but were never committed. 1586(toolbin/tests/run_nightly [1.8]: 2002/09/26 16:18:42 ray) 1587 1588The last fixup -- more bad python. (toolbin/tests/run_nightly [1.10]: 15892002/09/26 16:33:01 ray) 1590 1591Move the callback routine, which is used to translate a gs_separation_name 1592into a string pointer and a length, from the graphics state into the device 1593color structure. This is being done to make it available to the pdfwrite 1594device when handling DeviceN or Separation color spaces. (int.mak [1.84]: 15952002/10/04 23:43:38 dan) 1596 1597 src/devs.mak 1598 Updated dependency list for gdevscf.$(OBJ). 1599 src/lib.mak 1600 Updated various dependency lists. 1601(devs.mak [1.76], lib.mak [1.101]: 2002/10/08 00:49:48 dan; checkin 1602for Jan) 1603 1604Prune the dead 'begin' makefile target. This was supposedly removed in 1605release 5.20. (gs.mak [1.16]: 2002/10/09 22:13:17 giles) 1606 1607Remove remaining references to ansi2knr.c. We no longer support building 1608ghostscript with it, but the remaining dead code causes confusion for some 1609users. Inspired by Sourceforge bug #618048. Removes references to the no 1610longer supported ansi2knr.c. (dvx-gcc.mak [1.20], dvx-tail.mak [1.8], 1611gs.mak [1.17], macos-mcp.mak [1.9], macosx.mak [1.13], openvms.mak [1.26], 1612openvms.mmk [1.19], os2.mak [1.27], ugcclib.mak [1.21], unix-aux.mak [1.9], 1613unix-gcc.mak [1.36], unixansi.mak [1.25], wccommon.mak [1.6], 1614winlib.mak [1.18]: 2002/10/09 23:43:58 giles) 1615 1616Change the default on the MSVC build to use 64 bit gx_color_index values. 1617(msvc32.mak [1.32]: 2002/10/11 00:14:23 dan) 1618 1619Adds PhotoShop (psdcmyk and psdrgb) devices. (devs.mak [1.77], 1620msvc32.mak [1.34], unix-gcc.mak [1.37]: 2002/10/12 11:47:11 jeong) 1621 1622This is some clean up on the DeviceN devices: XCF, PSD, and spot devices. 1. 1623Ensuring that the process color model name is correct. 2. removing support 1624of SeparationColorNames from additive devices. 3. Finish removal of variable 1625bits per components (GrayValues) from the devices. None of them had any form 1626of correct support for this feature. (devs.mak [1.78]: 2002/10/16 07:43:46 1627dan) 1628 1629Removes the obsolete 'hpijs' driver. This has been superceeded by the ijs 1630driver interface both in Ghostscript and the hpijs collection of printer 1631drivers. (contrib.mak [1.28]: 2002/10/16 23:26:33 giles) 1632 1633First documentation commit for 7.31 release: edits to News.htm, version and 1634date updates, minor patches to Develop.htm and Deprecated.htm. 1635(version.mak [1.53]: 2002/10/17 06:37:29 raph) 1636 1637</pre><h2><a name="7.31-Utilities"></a>Utilities</h2><pre> 1638 1639Fixes problems: 1640 - code cleanup in macos platform specific routines. (gp_mac.c [1.9]: 16412002/09/17 00:09:26 giles) 1642 - the console stubs are no longer necessary for the macos build. 1643(macgenmcpxml.sh [1.4]: 2002/09/17 00:57:38 giles) 1644 - remove some compiler options that generated spurious warnings. 1645(macgenmcpxml.sh [1.5]: 2002/09/26 19:50:12 giles) 1646 1647Apply casts to remove lots of warnings from MSVC 6. Update some Windows 1648color mapping functions for DeviceN. Change order of arguments for the 1649gs_pdf14_device_filter_push function and the calls to the device filter push 1650procedure to match the prototype. (gp_mswin.c [1.13], gp_ntfs.c [1.10], 1651gp_win32.c [1.5]: 2002/10/07 08:28:56 ghostgum) 1652 1653</pre><h2><a name="7.31-Drivers"></a>Drivers</h2><pre> 1654 1655Fixes problems: 1656 - Introduces "backwards compatible" encode_color routine for 1657grayscale devices which supply map_rgb_color but not encode_color. Fixes 1658gray modes in pdfwrite and ijs devices, among others. (gdevbmpc.c [1.7], 1659gdevijs.c [1.5]: 2002/10/17 06:09:33 raph) 1660 1661Change bmpgray device to use 8-bit 1 component instead of instead of 8-bit 3 1662components. (gdevbmp.c [1.7]: 2002/09/16 20:35:07 ghostgum) 1663 1664Apply casts to remove lots of warnings from MSVC 6. Update some Windows 1665color mapping functions for DeviceN. Change order of arguments for the 1666gs_pdf14_device_filter_push function and the calls to the device filter push 1667procedure to match the prototype. (gdev4693.c [1.7], gdevbj10.c [1.8], 1668gdevbjc.h [1.5], gdevbmp.c [1.8], gdevcdj.c [1.12], gdevdcrd.c [1.5], 1669gdevdjet.c [1.10], gdevdljm.c [1.8], gdevdm24.c [1.7], gdevepsc.c [1.8], 1670gdevepsn.c [1.7], gdevescp.c [1.6], gdevjpeg.c [1.6], gdevlbp8.c [1.6], 1671gdevmswn.c [1.8], gdevmswn.h [1.6], gdevmsxf.c [1.7], gdevpbm.c [1.9], 1672gdevps.c [1.30], gdevpx.c [1.11], gdevpxut.c [1.5], gdevstc.c [1.7], 1673gdevstc2.c [1.5], gdevtifs.c [1.7], gdevupd.c [1.10], gdevwdib.c [1.7], 1674gdevwpr2.c [1.12], gdevwprn.c [1.7]: 2002/10/07 08:28:56 ghostgum) 1675 1676Attached is a updated version of our code release of 4 October, 2002. As 1677before, the primary purpose of this release is to modify the manner in which 1678overprint information is passed to the overprint compositor device. This 1679resolves some difficulties seen when overprinting is used with the command 1680list device. This update incorporates the changes checked in by Dan on 1681October 4th. Since Dan's changes to gxcldev.h and gxclrast.c were identical 1682to ours, we have removed those two files from this release. Jan Modified 1683Files lib/gs_init.ps lib/pdf_draw.ps Change "DONTPS" flag to "DOPS", with 1684the logically inverted function: only if DOPS is defined will "PS" XObjects 1685be rendered. We believe this is the more appropriate default. lib/gs_dps.ps 1686lib/gs_img.ps src/gsdparams.c Modified the deviceinfo and image code to work 1687around a potentially improperly set ColorValues parameter. src/devs.mak 1688Updated dependency list for gdevscf.$(OBJ). src/gdevdflt.c 1. Added 1689initialization of the new color_info.opmode field to 1690gx_device_fill_in_procs. 2. In get_decode_color, added special case handling 1691for canonical 1-bit CMYK devices (e.g.: pkmraw). Previously the decode_color 1692method for this devices would default to gx_default_cmyk_decode_color, which 1693performed an CMYK ==> RGB ==> CMYK conversion. This conversion would 1694defeat overprinting if gray object was placed on top of a colored region. 1695src/gscdevn.c src/gscolor.c src/gscolor2.c src/gscpixel.c src/gscsepr.c 1696src/gscspace.c src/gsovrc.c src/gxovrc.h src/gspcolor.c src/gsptype1.c 1697src/gsptype2.c src/gsstate.c src/gsstate.h src/gxcmap.c src/gxcspace.h 1698src/zcolor.c Modified the overprint code to, when necessary, pass overprint 1699mode information when setting the device color. This is necessary to 1700properly handle overprint mode when using the command list device. NB: This 1701change alters the meaning of the "effective_overprint_mode" field in the 1702imager state. src/gxdevcli.h Added the opmode and process_comps fields to 1703the gx_device_color_info structure. These are required by the new code that 1704passes overprint mode information when the device color is set. 1705src/gsdfilt.h Changed the prototype for the push method in the 1706gs_device_filter structure to match the actual implementation and usage of 1707this method (the third and fourth operands were reversed). src/gsimage.c 1708Modified gx_image_cleanup to check if penum->info field is null before 1709calling gx_image_end. This avoids a crash associated that can occur if an 1710image has zero height or width, as the image enumeration data structure will 1711have been released in such cases before gs_image_cleanup is called. 1712src/lib.mak Updated various dependency lists. src/gdevdevn.c src/gdevnfwd.c 1713src/gdevpdte.c src/gdevxcf.c src/gscrdp.c src/gsdfilt.c src/gsht.c 1714src/gsht1.c src/gswts.c src/gzht.h src/ialloc.c src/imain.c src/iscanbin.c 1715zfapi.c Installed some minor changes to quiet compiler warnings. 1716(gdevdevn.c [1.2], gdevxcf.c [1.3]: 2002/10/08 00:49:48 dan) 1717 1718Adds DeviceCMY (-dMode=1) process color model to permute device. 1719(gdevperm.c [1.2]: 2002/10/08 16:49:59 raph) 1720 1721Add a setup the shift and mask bits in ppm_open. This finishes initializing 1722the device as being "linear and separable". This is needed since the various 1723pxm devices are using the default color encode routine which needs the 1724linear and separable information. (gdevpbm.c [1.10]: 2002/10/09 02:34:11 1725dan) 1726 1727PhotoShop PSD Driver. (gdevpsd.c [1.1]: 2002/10/12 11:43:21 jeong) 1728 1729Removed logic for setting variable number of bits per component. This is not 1730supported on the xcf, spotrgb, or spotcmyk devices. (gdevdevn.c [1.3], 1731gdevxcf.c [1.4]: 2002/10/15 00:36:57 dan) 1732 1733This is some clean up on the DeviceN devices: XCF, PSD, and spot devices. 1. 1734Ensuring that the process color model name is correct. 2. removing support 1735of SeparationColorNames from additive devices. 3. Finish removal of variable 1736bits per components (GrayValues) from the devices. None of them had any form 1737of correct support for this feature. (gdevdevn.c [1.4], gdevpsd.c [1.2], 1738gdevxcf.c [1.5]: 2002/10/16 07:43:46 dan) 1739 1740</pre><h2><a name="7.31-PDF_writer"></a>PDF writer</h2><pre> 1741 1742Fixes problems: 1743 - Fix (pdfwrite): Virtual function same_font cannot work properly if 1744arguments have different representation (particularly for comparing an 1745original font with its stable copy). Due to it pdf_font_resource_t::Widths 1746mixed widths taken from fonts variations with different metrics. Entirely 1747changing the logics of creating font resources with new function 1748gs_copied_can_copy_glyphs. Source Forge bugs : #596394 (pdfwrite) Wrong 1749glyph width (093-01.ps), #567604 missing characters with -c save pop #596284 1750font spacing/ragged edge on text column (gdevpdfx.h [1.50], 1751gdevpdtb.c [1.9], gdevpdtb.h [1.4], gdevpdtc.c [1.9], gdevpdtd.c [1.5], 1752gdevpdte.c [1.11], gdevpdtf.c [1.15], gdevpdtf.h [1.6], gdevpdti.c [1.6], 1753gdevpdtt.c [1.9], gdevpdtt.h [1.6]: 2002/09/08 20:20:12 igor) 1754 - Fixing C style for pdf_font_cache_elem_t definition. 1755(gdevpdfx.h [1.51]: 2002/09/08 20:42:13 igor) 1756 - Correct duplicate definition of pdf_font_cache_elem_t which 1757prevented compilation. (gdevpdfx.h [1.52]: 2002/09/09 16:08:19 giles) 1758 - Fix (pdfwrite) : Completing the logics of the Widths array 1759generation. Now the contents of Widths is taken from embedded font, but 1760widths for glyphs placement (Tj) are from original font. (gdevpdte.c [1.12], 1761gdevpdtt.c [1.10]: 2002/09/11 11:26:13 igor) 1762 - Fix (pdfwrite) : Improving the logics of merging same fonts, and 1763fixing a bug in gs_copied_can_copy_glyphs. (gdevpdtt.c [1.11]: 2002/09/11 176415:10:23 igor) 1765 - Fix (pdfwrite) : (1) gs_glyph_info_t::v was uninitialized if glyph 1766metrics is taken from the outline (thanks to Erik Strik for spotting it). 1767(2) Improving glyph placement. (3) A minor optimization and improving some 1768comments about glyph placament. (gdevpdte.c [1.13], gdevpdtt.c [1.12]: 17692002/09/13 23:43:07 igor) 1770 - Fix (pdfwrite) : (1) The previous fix wrongly processed Metrics. 1771(2) TJ arguments were computed with accounting Tc taken from a desincronized 1772text state. (3) Type 42 missed side bearing. (4) An optimization reduces 1773calls to gs_default_glyph_info. Debugged with 0.pdf . (gdevpdts.c [1.13], 1774gdevpdtt.c [1.13]: 2002/09/14 02:07:33 igor) 1775 - Fix (pdfwrite) : (1) Unwinding the previous change for Tj 1776(gdevpdts.c). (2) sync_text_state now checks the ending position of the text 1777against the starting position of the text continuation (gdevpdts.c); (3) 1778font_orig_scale was erroneusely exchenged for original and copied fonts; (4) 1779Enhancing the hack in font_orig_scale with upside_down FontMatrix, (Source 1780Forge bug "[ 607480 ] 'Ghost' text appears"). (5) Enhancing 1781same_type1_hinting with fonts with nulls in Subrs (gxfcopy.c, test file of 1782#607480). Debugged with 0.pdf and 020-01.ps. (gdevpdts.c [1.14], 1783gdevpdtt.c [1.14]: 2002/09/14 19:29:30 igor) 1784 - Fix (pdfwrite) : Skipping Tj breaks being equal to Tc. 1785(gdevpdts.c [1.15]: 2002/09/14 20:27:07 igor) 1786 - Fix (pdfwrite) : (1) For better precision changing the internal 1787representation of Widths to double, and skipping small noise while writing 1788Tj. (2) Widths for Type 3 fonts were not computed (020-01.ps, 031-01.ps). 1789(gdevpdfx.h [1.53], gdevpdtc.c [1.10], gdevpdte.c [1.14], gdevpdtf.c [1.16], 1790gdevpdtf.h [1.7], gdevpdti.c [1.7], gdevpdts.c [1.16], gdevpdtt.c [1.15], 1791gdevpdtt.h [1.7], gdevpdtw.c [1.8]: 2002/09/15 12:23:07 igor) 1792 - Fix (pdfwrite) : Completely removing the generation of "space 1793chars", because they can overflow Encoding. (gdevpdtf.h [1.8], 1794gdevpdti.c [1.8], gdevpdti.h [1.2], gdevpdts.c [1.17]: 2002/09/15 13:21:09 1795igor) 1796 - Fix (pdfwrite) : Completely removing the old PDF text code. 1797(gdevpdfx.h [1.54]: 2002/09/15 14:11:51 igor) 1798 - Fix (pdfwrite) : Text process fallback now restarts the text from 1799the beginning. (gdevpdtt.c [1.16]: 2002/09/16 05:42:23 igor) 1800 - Fix (pdfwrite) : Text process fallback now restarts the text from 1801the beginning depending on font type. (gdevpdte.c [1.15], gdevpdtt.c [1.17]: 18022002/09/16 06:28:08 igor) 1803 - Fix (pdfwrite) : /notdef characters caused font conversion to 1804bitmap font; (gdevpdte.c [1.16], gdevpdtt.c [1.18]: 2002/09/16 07:01:43 1805igor) 1806 - Fix : Providing a virtual path interface for computing glyph bbox 1807without allocating path segments. SourceForge bug "[ 605200 ] pdf_close 1808generates many path segments". (gdevpdte.c [1.17]: 2002/09/23 16:38:28 igor) 1809 - Fix (pdfwrite) : The font scale was applied twice to MissingWidth. 1810SourceForge bug "[ 613217 ] Misplaced characters after ps2pdf". 1811(gdevpdtt.c [1.19]: 2002/10/02 12:10:11 igor) 1812 - Fix (pdfwrite) : Implementing colorant names after DeviceN merge. 1813(gdevpdfc.c [1.29], gdevpdfg.h [1.18]: 2002/10/07 10:59:09 igor) 1814 - Fix (pdfwrite) : Completing the ProcessColorModel implementation 1815after DeviceN merge. Also fixes SourceForge bug "[ 614705 ] Inverted colos 1816in CMYK PDF writer". Thanks to Alex and Jan for participation. 1817(gdevpdf.c [1.53], gdevpdfp.c [1.30]: 2002/10/07 12:54:12 igor) 1818 - Fix (pdfwrite) : Removing a call to the deprecated map_cmyk_color. 1819Thanks to Daniel Coby for the suggested algorithm. (gdevpdf.c [1.54]: 18202002/10/07 13:56:41 igor) 1821 - Fix (pdfwrite) : Making the text matrix synchronization condition 1822stronger. Also removing some obsolete comments. Source Forge bug "[ 617643 ] 1823math symbol skewed". Thanks to Alex Cherepanov for preliminary analysis. 1824(gdevpdts.c [1.18]: 2002/10/09 13:03:44 igor) 1825 - Fix (pdfwrite) : Skipping zero height images because AR cannot 1826handle them. Patch from Jan Stockenius, improved. (gdevpdfi.c [1.43]: 18272002/10/10 15:24:23 igor) 1828 - Fix : Providing multiple halftone component names for pdfwrite. 1829They were missed with DeviceN merge. (gdevpdfc.c [1.30], gdevpdfg.c [1.25], 1830gdevpdfg.h [1.19]: 2002/10/11 19:01:10 igor) 1831 - Fix : Providing spot halftone params for pdfwrite. They were 1832missed with DeviceN merge. (gdevpdfg.c [1.26]: 2002/10/16 08:46:39 igor) 1833 - Introduces "backwards compatible" encode_color routine for 1834grayscale devices which supply map_rgb_color but not encode_color. Fixes 1835gray modes in pdfwrite and ijs devices, among others. (gdevpdf.c [1.55]: 18362002/10/17 06:09:34 raph) 1837 - We were incorrectly replicating fill color for overprint rectangle 1838fill. This resulted in erroneous color is HeiseiMinStd.pdf with pkmraw 1839device. This regression appeared on 10-9-02. (gxoprect.c [1.4]: 2002/10/17 184007:25:42 dan) 1841 1842Apply casts to remove lots of warnings from MSVC 6. Update some Windows 1843color mapping functions for DeviceN. Change order of arguments for the 1844gs_pdf14_device_filter_push function and the calls to the device filter push 1845procedure to match the prototype. (gdevpdfc.c [1.28], gdevpdfj.c [1.23], 1846gdevpdfk.c [1.7], gdevpdfp.c [1.29], gdevpdfu.c [1.32], gdevpdfv.c [1.19], 1847gdevpdtd.c [1.6]: 2002/10/07 08:28:56 ghostgum) 1848 1849 src/gdevpdte.c 1850(gdevpdte.c [1.18]: 2002/10/08 00:49:49 dan; checkin for Jan) 1851</pre><h2><a name="7.31-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 1852 1853Fixes problems: 1854 - Resolve Function parameters (optional as well as required) when 1855creating the PostScript Function dictionary for shadings. Fixes SourceForge 1856bug #609486. Fixes based on analysis and preliminary fix by Dan Coby. 1857(lib/pdf_draw.ps [1.52]: 2002/09/15 20:40:54 ray) 1858 - If the CIDCount for a font exceeded 32767, building the 1859CIDToGIDMap would exceed the maximum string length. Create an array of two 1860strings for this case. Also issue a warning if the CIDToGIDMap stream did 1861not contain enough characters for the CIDCount. SourceForge bug #611099 for 1862Artifex Customer #350. (lib/pdf_font.ps [1.45]: 2002/09/19 18:10:00 ray) 1863 - Insure that individual color name references are resolved in PDF 1864DeviceN colorspaces. (lib/pdf_draw.ps [1.53]: 2002/09/26 05:26:32 dan) 1865 - Fix to PDF interpreter : 1. Changing the logics of the True Type 1866cmap choice to comply with PDF spec. 2. Making the embedded font parser to 1867create a PS font independently on font resource options, so that the font 1868can associate with the font descriptor. 3. Avoiding the redundant parsing of 1869embedded fonts with removing the hack for SF bug "533467 Missing char on 1870test2a.pdf (regression)". 4. Removing the hack from buildTrueType because it 1871has no effect. 5. Widths and Encoding were ignored for embedded True Type 1872fonts. 6. Adding few warnings about PDF spec violations. 1873(lib/pdf_font.ps [1.46]: 2002/10/03 19:40:27 igor) 1874 - Ignore non-zero wy values to the d1 CharProcs operator in Type3 1875fonts. This is what Adobe Acrobat Readers do, and apparently Adobe Distiller 1876will write fonts with non-zero wy values even though the spec says "wy must 1877be zero". Fixes SourceForge bug #616692 for Artifex customer #561. 1878(lib/pdf_font.ps [1.47]: 2002/10/08 06:08:37 ray) 1879 - Fix to PDF interpreter : Don't rename fonts. Source Forge bug 1880"600855 Distilling a PDF enlarges FontName". (lib/pdf_font.ps [1.48]: 18812002/10/10 09:37:39 igor) 1882 - Fix to PDF interpreter : improve the error message handler. 1883(lib/pdf_main.ps [1.57]: 2002/10/10 09:38:56 igor) 1884 - Fix to PDF interpreter : Properly set up the data stream for 1885shadings which may share PDF streams. Patch from Alex Cherepanov, improved. 1886(lib/pdf_ops.ps [1.25]: 2002/10/10 18:14:33 igor) 1887 - Fixing a spelling in comment. (lib/pdf_ops.ps [1.26]: 2002/10/10 188818:17:59 igor) 1889 1890Adds -dDONTPS command line option to disable processing of DoPS directives 1891in PDF files. Works around problem rendering S2_Digitalproof-Forum_x3k.pdf. 1892(lib/pdf_draw.ps [1.54]: 2002/09/29 17:38:43 raph) 1893 1894 lib/pdf_draw.ps 1895 Change "DONTPS" flag to "DOPS", with the logically inverted function: 1896 only if DOPS is defined will "PS" XObjects be rendered. We believe this 1897 is the more appropriate default. 1898(lib/pdf_draw.ps [1.55]: 2002/10/08 00:49:48 dan; checkin for Dan) 1899 1900</pre><h2><a name="7.31-Interpreter"></a>Interpreter</h2><pre> 1901 1902Fixes problems: 1903 - Fix (pdfwrite) : PDFSETTINGS=screen should embed fonts. 1904SourceForge bug "[ 592833 ] Bad image and font appearance". 1905(lib/gs_pdfwr.ps [1.19]: 2002/09/11 11:18:39 igor) 1906 - removes to unused variables (zcontrol.c [1.10]: 2002/09/16 190717:11:15 giles) 1908 - Keep pagedevice and device views of .LockSafetyParams correct even 1909after a 'restore' is used to unlock. The dictionary fed to the setpagedevice 1910operator is allocated in the same VM space as currentpagedevice to avoid 1911invalidaccess problems. Fixed SF #580029 and does not revert to the 1912incorrect behaviour of bug #516379. (lib/gs_init.ps [1.64]: 2002/09/18 191316:58:01 ray) 1914 - Fix : Overlapping format 4 CMap ranges, while arguably buggy, are 1915commonly found in quite a few popular CJK TrueType fonts. Patch from Anthony 1916Fok Tung-Ling. (lib/gs_ttf.ps [1.18]: 2002/09/20 15:36:53 igor) 1917 - Fix : Unwinding the patch from Anthony Fok Tung-Ling, because it 1918caused regression with comparefiles/fonts.pdf . (lib/gs_ttf.ps [1.19]: 19192002/09/22 12:41:26 igor) 1920 - Fix : (1) Providing cmap format 2 in True Type font reader; (2) 1921Accomodating cmap format 4 for CJK fonts. Code from Hideyuki Suzuki and 1922Taiji Yamada with minor changes. (lib/gs_ttf.ps [1.20]: 2002/09/24 10:43:40 1923igor) 1924 - Fix to PDF interpreter : 1. Changing the logics of the True Type 1925cmap choice to comply with PDF spec. 2. Making the embedded font parser to 1926create a PS font independently on font resource options, so that the font 1927can associate with the font descriptor. 3. Avoiding the redundant parsing of 1928embedded fonts with removing the hack for SF bug "533467 Missing char on 1929test2a.pdf (regression)". 4. Removing the hack from buildTrueType because it 1930has no effect. 5. Widths and Encoding were ignored for embedded True Type 1931fonts. 6. Adding few warnings about PDF spec violations. 1932(lib/gs_ttf.ps [1.21]: 2002/10/03 19:40:27 igor) 1933 - .pagetypenames was broken for a long time since the executable 1934array contained the "STRICT { ... } if" logic. Changed to make this a 1935regular array. (lib/gs_statd.ps [1.10]: 2002/10/10 16:30:01 ray) 1936 - Finish changes to make old statusdict stuff actually work. 1937Previous commit was incomplete, causing invalidaccess during initialization. 1938(lib/gs_statd.ps [1.11]: 2002/10/10 17:29:39 ray) 1939 - Fix : Providing multiple halftone component names for pdfwrite. 1940They were missed with DeviceN merge. (zht2.c [1.9]: 2002/10/11 19:01:10 1941igor) 1942 - Adds /Colors /BitsPerPixel and /ColorValues to .dynamicppkeys 1943because they can change dynamically when adding separation colors. 1944(lib/gs_setpd.ps [1.16]: 2002/10/17 06:08:00 raph) 1945 1946The attached code release addresses a number of issues: 1947 1948 1. Most of the code changes are required to turn off overprint mode when 1949 processing images, smooth shading fills (shfill operator), or 1950 when using PatternType 2 (smooth shading) patterns. 1951[...] 1952 1953 lib/gs_img.ps 1954 Added code to turn off overprint mode for images. 1955 1956 lib/gs_ll3.ps 1957 Added code to turn off overprint mode for shfill. 1958 1959 src/zcolor.c 1960 Added code to disable overprint mode for PatternType 2 patterns. 1961(lib/gs_img.ps [1.2], lib/gs_ll3.ps [1.17], zcolor.c [1.10]: 19622002/09/10 22:16:05 dan; checkin for Jan) 1963 1964Bump version numbers after 7.30 release. (lib/gs_init.ps [1.63]: 2002/09/12 196509:52:20 giles) 1966 1967 1968 lib/gs_devn.ps 1969 Modified the cs_install procedure for DeviceN color spaces to 1970 support the component name array "[ All ]". The documentation 1971 indicates that this is not legal ("PDF Reference", 3rd. ed., 1972 p. 206), but beginning with Acrobat 5, DeviceN color spaces with 1973 this component name array are handled in the same manner as 1974 Separation color spaces with the component name All. The modified 1975 code detects this component array and converts the operand color 1976 space to a Separation color space. 1977(lib/gs_devn.ps [1.2]: 2002/09/23 01:21:02 dan; checkin for Jan) 1978 1979The attached code release fixes a variety of memory handling problems 1980discovered by Dan's test with the memory validation enabled. 1981 1982 2. Several problems noted with files 119-01.ps (panel 119-07) and 1983 119-28.ps (panel 119-31) were caused by a problem with the memory 1984 allocator used for the jpeg_compress_data structure used with the 1985 DCTEncode (JPEG) filter. This filter is used by the PDFwriter, the 1986 JPEG device drive, and as a filter accessible from PostScript. 1987 In the first two cases the jpeg_compress_data structure is allocated 1988 using the normal, gs_ref_memory_t structure. When used from 1989 PostScript, however, this structure is allocated using the 1990 gs_memory_default allocator (presumably because the jpeg library 1991 code is not set up to deal with save/restore). 1992 1993 The gs_memory_default allocator is not a gs_ref_memory_t allocator, 1994 so it does not create the hidden obj_header_t structures preceding 1995 each allocated region. The garbage collector is dependent on these 1996 headers, hence the pointer enumeration routines in structure 1997 descriptors must not enumerate any pointers to memory allocated 1998 by non-gs_ref_memory_t headers. 1999 2000 This creates a difficult problem for the pointer enumeration 2001 routine of the stream_DCT_state structure, whose data.compress field 2002 points to a jpeg_compress_data structure. This routine would have 2003 to determine which allocator was used for this structure before 2004 deciding whether or not to "enumerate" the data.compress pointer. 2005 In principle it has enough information to do this (the jpeg_memory 2006 field of the structure), but this seems like a overly complicated 2007 solution. Use of a stable gs_ref_memory_t allocator in place of 2008 the gs_memory_default allocator seems like a simpler solution. 2009 2010 src/zfdcte.c 2011 Modified zDCTE to place the jpeg_compress_data structure into stable 2012 memory rather than use the gs_memory_default allocator. 2013(zfdcte.c [1.8]: 2002/09/26 18:45:02 dan; checkin for Jan) 2014 2015Adds -dDONTPS command line option to disable processing of DoPS directives 2016in PDF files. Works around problem rendering S2_Digitalproof-Forum_x3k.pdf. 2017(lib/gs_init.ps [1.65]: 2002/09/29 17:38:43 raph) 2018 2019Move the callback routine, which is used to translate a gs_separation_name 2020into a string pointer and a length, from the graphics state into the device 2021color structure. This is being done to make it available to the pdfwrite 2022device when handling DeviceN or Separation color spaces. (zcsdevn.c [1.11], 2023zcssepr.c [1.13], zht2.c [1.7], zht2.h [1.1]: 2002/10/04 23:43:38 dan) 2024 2025THis file was missed in the previous commit. Move the callback routine, 2026which is used to translate a gs_separation_name into a string pointer and a 2027length, from the graphics state into the device color structure. This is 2028being done to make it available to the pdfwrite device when handling DeviceN 2029or Separation color spaces. (zgstate.c [1.7]: 2002/10/04 23:48:01 dan) 2030 2031Another change due to the earlier commit. Move the callback routine, which 2032is used to translate a gs_separation_name into a string pointer and a 2033length, from the graphics state into the device color structure. This is 2034being done to make it available to the pdfwrite device when handling DeviceN 2035or Separation color spaces. (zht2.c [1.8]: 2002/10/05 05:52:00 dan) 2036 2037Correct the includsion protestion. (zht2.h [1.2]: 2002/10/05 06:19:45 dan) 2038 2039Apply casts to remove lots of warnings from MSVC 6. Update some Windows 2040color mapping functions for DeviceN. Change order of arguments for the 2041gs_pdf14_device_filter_push function and the calls to the device filter push 2042procedure to match the prototype. (idparam.c [1.7], igc.c [1.9], 2043iutil.c [1.8], zcharx.c [1.6], zpacked.c [1.5], ztype.c [1.7]: 2002/10/07 204408:28:56 ghostgum) 2045 2046 2047Attached is a updated version of our code release of 4 October, 2002. 2048 2049As before, the primary purpose of this release is to modify the manner 2050in which overprint information is passed to the overprint compositor 2051device. This resolves some difficulties seen when overprinting is 2052used with the command list device. 2053 2054This update incorporates the changes checked in by Dan on October 4th. 2055Since Dan's changes to gxcldev.h and gxclrast.c were identical to ours, 2056we have removed those two files from this release. 2057 2058 Jan 2059 2060 2061Modified Files 2062 2063 lib/gs_init.ps 2064 lib/pdf_draw.ps 2065 Change "DONTPS" flag to "DOPS", with the logically inverted function: 2066 only if DOPS is defined will "PS" XObjects be rendered. We believe this 2067 is the more appropriate default. 2068 2069 lib/gs_dps.ps 2070 lib/gs_img.ps 2071 src/gsdparams.c 2072 Modified the deviceinfo and image code to work around a potentially 2073 improperly set ColorValues parameter. 2074 2075 src/devs.mak 2076 Updated dependency list for gdevscf.$(OBJ). 2077 2078 src/gdevdflt.c 2079 1. Added initialization of the new color_info.opmode field to 2080 gx_device_fill_in_procs. 2081 2. In get_decode_color, added special case handling for canonical 1-bit 2082 CMYK devices (e.g.: pkmraw). Previously the decode_color method for 2083 this devices would default to gx_default_cmyk_decode_color, which 2084 performed an CMYK ==> RGB ==> CMYK conversion. This conversion would 2085 defeat overprinting if gray object was placed on top of a colored 2086 region. 2087 2088 src/zcolor.c 2089 Modified the overprint code to, when necessary, pass overprint mode 2090 information when setting the device color. This is necessary to properly 2091 handle overprint mode when using the command list device. 2092 2093 NB: This change alters the meaning of the "effective_overprint_mode" field 2094 in the imager state. 2095 2096 src/ialloc.c 2097 src/imain.c 2098 src/iscanbin.c 2099 zfapi.c 2100 Installed some minor changes to quiet compiler warnings. 2101(ialloc.c [1.5], imain.c [1.27], iscanbin.c [1.12], lib/gs_dps.ps [1.7], 2102lib/gs_img.ps [1.3], lib/gs_init.ps [1.66], zcolor.c [1.11], zfapi.c [1.28]: 21032002/10/08 00:49:48 dan; checkin for Jan) 2104 2105</pre><h2><a name="7.31-Streams"></a>Streams</h2><pre> 2106 2107Apply casts to remove lots of warnings from MSVC 6. Update some Windows 2108color mapping functions for DeviceN. Change order of arguments for the 2109gs_pdf14_device_filter_push function and the calls to the device filter push 2110procedure to match the prototype. (stdio_.h [1.8]: 2002/10/07 08:28:56 2111ghostgum) 2112 2113</pre><h2><a name="7.31-Library"></a>Library</h2><pre> 2114 2115Fixes problems: 2116 - Fix (pdfwrite): Virtual function same_font cannot work properly if 2117arguments have different representation (particularly for comparing an 2118original font with its stable copy). Due to it pdf_font_resource_t::Widths 2119mixed widths taken from fonts variations with different metrics. Entirely 2120changing the logics of creating font resources with new function 2121gs_copied_can_copy_glyphs. Source Forge bugs : #596394 (pdfwrite) Wrong 2122glyph width (093-01.ps), #567604 missing characters with -c save pop #596284 2123font spacing/ragged edge on text column (gsfcid.c [1.10], gxfcid.h [1.12], 2124gxfcopy.c [1.15], gxfcopy.h [1.7]: 2002/09/08 20:20:12 igor) 2125 - Fix : Propagating possible error in type0_from_cidfont_cmap. 2126(gsfont0c.c [1.4]: 2002/09/08 20:29:07 igor) 2127 - temporary workaround for uninitialized reads in 045-01.ps. 2128(gxcmap.c [1.7]: 2002/09/09 07:29:07 henrys) 2129 - Fix (pdfwrite) : Improving the logics of merging same fonts, and 2130fixing a bug in gs_copied_can_copy_glyphs. (gxfcopy.c [1.16]: 2002/09/11 213115:10:23 igor) 2132 - Fix (pdfwrite) : (1) gs_glyph_info_t::v was uninitialized if glyph 2133metrics is taken from the outline (thanks to Erik Strik for spotting it). 2134(2) Improving glyph placement. (3) A minor optimization and improving some 2135comments about glyph placament. (gxtype1.c [1.16]: 2002/09/13 23:43:07 igor) 2136 - Fix (pdfwrite) : (1) The previous fix wrongly processed Metrics. 2137(2) TJ arguments were computed with accounting Tc taken from a desincronized 2138text state. (3) Type 42 missed side bearing. (4) An optimization reduces 2139calls to gs_default_glyph_info. Debugged with 0.pdf . (gstype42.c [1.23], 2140gxtype1.c [1.17]: 2002/09/14 02:07:33 igor) 2141 - Fix (pdfwrite) : (1) Unwinding the previous change for Tj 2142(gdevpdts.c). (2) sync_text_state now checks the ending position of the text 2143against the starting position of the text continuation (gdevpdts.c); (3) 2144font_orig_scale was erroneusely exchenged for original and copied fonts; (4) 2145Enhancing the hack in font_orig_scale with upside_down FontMatrix, (Source 2146Forge bug "[ 607480 ] 'Ghost' text appears"). (5) Enhancing 2147same_type1_hinting with fonts with nulls in Subrs (gxfcopy.c, test file of 2148#607480). Debugged with 0.pdf and 020-01.ps. (gxfcopy.c [1.17]: 2002/09/14 214919:29:30 igor) 2150 - removes unused variables to avoid warnings. (gximono.c [1.9]: 21512002/09/16 23:23:16 giles) 2152 - removes an unused variable to clear a warning. (vdtrace.c [1.6]: 21532002/09/16 23:45:02 giles) 2154 - Part 1 of 2 of a fix for 601694. Remove check for color space ids 2155which was producing erroneous messages. Replace it with code for verifying 2156that DeviceN and Separation info in imager state matches the color space 2157being used. (gscdevn.c [1.11], gscolor2.c [1.12], gscpixel.c [1.7], 2158gscsepr.c [1.18], gxistate.h [1.14]: 2002/09/17 22:09:21 dan) 2159 - Adobe Illustrator 8, 9 and 10 create stitched functions with 2160Bounds arrays that are illegal according to the PLRM 3rd edition, and the 2161PDF 1.4 reference. Adobe Acrobat handles these, so we do as well. Bounds 2162that set zero size ranges are now allowed (Bounds elements equal, or equal 2163to one of the Domain values). SourceForge bug 609024, 594291. 2164(gsfunc3.c [1.12]: 2002/09/19 17:55:20 ray) 2165 - Fix : Providing a virtual path interface for computing glyph bbox 2166without allocating path segments. SourceForge bug "[ 605200 ] pdf_close 2167generates many path segments". (gsfont.c [1.13], gstype1.c [1.12], 2168gstype2.c [1.19], gxhint3.c [1.7], gxpath.c [1.7], gxpath.h [1.7], 2169gxtype1.c [1.18], gzpath.h [1.8]: 2002/09/23 16:38:28 igor) 2170 - 'state.width' could hold negative value and this caused wrong 2171rendering of radial gradient. Now fixed. SF#610359, Wrong rendering of 2172radial gradient (gxshade1.c [1.17]: 2002/09/25 11:51:47 jeong) 2173 - We were incorrectly checking the DeviceN component names due to a 2174misplaced line of code. The result was using the DeviceN colorspace when the 2175alternate should have been used. (gscdevn.c [1.12]: 2002/09/26 19:03:07 dan) 2176 - make use of the return value of gs_forward_map_rgb_color() in a 2177color mapping function. Found through an unused variable warning. Patch from 2178Henry Stiles. (gdevabuf.c [1.7]: 2002/09/28 18:29:40 giles) 2179 - Set uncomputed truetype table checksums to zero. Corrects an 2180undefined variable access and produces deterministic (if still off spec) 2181output. (gdevpsft.c [1.22]: 2002/09/28 19:05:29 giles) 2182 - address both color values in gx_dc_ht_binary_get_nonzero_comps(). 2183(gxht.c [1.14]: 2002/09/29 23:35:06 giles) 2184 - Fix (pdfwrite) : Font type 2 case was missed in compare_glyphs 2185causing an 'unregistered' error. Debugged with 86554321.pdf . 2186(gxfcopy.c [1.18]: 2002/10/01 16:10:12 igor) 2187 - Fix (pdfwrite) : compare_glyphs was not implemented for composite 2188True Type glyphs. Debugged with test_multipage_prob.pdf . (gxfcopy.c [1.19]: 21892002/10/02 12:46:48 igor) 2190 - Bug #615957 undefined variable in gxclrast.c. This removes 2191obsolete cmd_map_ht_transfer command and its related code. 2192(gxcldev.h [1.12], gxclrast.c [1.25]: 2002/10/04 23:31:13 dan) 2193 - Fix : Added code in gs_image_next_planes to increment the 2194penum->y parameter. This parameter is used when penum->dev is zero, 2195which occurs when an image or imagemask is rendered as part of the execution 2196of the charpath operator. Failing to increment this value can result in an 2197infinite loop. Patch from Jan Stockenius. (gsimage.c [1.11]: 2002/10/10 219814:42:50 igor) 2199 - corrects an uninitialized variable warning. (gsfcid2.c [1.4]: 22002002/10/10 19:04:03 giles) 2201 - Fix : Providing multiple halftone component names for pdfwrite. 2202They were missed with DeviceN merge. (gxht.h [1.7]: 2002/10/11 19:01:10 2203igor) 2204 - Place the under color removal and black generation functions into 2205the clist for all images. This corrects a problem found with the permute 2206device, Permute = 1, banding and the RealCities.pdf or foo.pdf test files. 2207The functions were needed but were not present in the imager state. 2208(gxclimag.c [1.10]: 2002/10/16 00:29:39 dan) 2209 - Fix : Providing spot halftone params for pdfwrite. They were 2210missed with DeviceN merge. (gsht.c [1.16]: 2002/10/16 08:46:39 igor) 2211 - Introduces "backwards compatible" encode_color routine for 2212grayscale devices which supply map_rgb_color but not encode_color. Fixes 2213gray modes in pdfwrite and ijs devices, among others. (gdevdflt.c [1.9], 2214gxcmap.c [1.11], gxcmap.h [1.7]: 2002/10/17 06:09:34 raph) 2215 2216 2217The attached code release addresses a number of issues: 2218 2219 1. Most of the code changes are required to turn off overprint mode when 2220 processing images, smooth shading fills (shfill operator), or 2221 when using PatternType 2 (smooth shading) patterns. 2222 2223 2. A few other changes were required to correct improper updating of the 2224 overprint compositor information. 2225 2226 3. The code has been modified to avoid the crash that was observed for 2227 the file 86554321.pdf on MSWindows XP systems. 2228 2229 4. The command list playback code has been modified to handle filling of 2230 thin lines in a manner consistent with the noband case. This allows 2231 files such as mspro.pdf to be rendered consistently in the banded and 2232 noband case. 2233 2234 Jan 2235 2236 2237Modified Files: 2238 2239 src/gscolor2.c 2240 1. Modified gs_setcolorspace to call gs_do_set_overprint rather than 2241 invoking the color space's set_overprint routine directly. This 2242 allows pattern color spaces to be handled (somewhat more) correctly. 2243 2. Modified gs_setcolor to update overprint information. This is 2244 necessary for pattern color spaces, where the color space to be used 2245 for overprint purposes may be part of the color. 2246 2247 src/gscspace.c 2248 Modified gx_set_overprint_DeviceCMYK to use the effective_overprint_mode 2249 parameter in the image state (rather than the overprint_mode parameter 2250 itself). This is part of the change necessary to allow overprint mode to 2251 be turned off when a PatternType2 pattern is used as the current color. 2252 2253 src/gsdevice.c 2254 Modified gs_set_device_no_init to call gs_do_set_overprint rather than 2255 invoking the color space's set_overprint routine directly. 2256 2257 src/gsdps1.c 2258 Modified rectfill to use the effective_overprint_mode parameter in the 2259 imager state (rather than the overprint_mode parameter). 2260 2261 src/gsovrc.c 2262 1. Fixed a bug in overprint_draw_thin_line: the third and fourth 2263 operands in the call to gx_default_draw_thin_line (the y coordinate 2264 of the first point and the x-coordinate of the second) were 2265 in reverse order. This caused random lines to appear on various 2266 overprint mode tests (e.g.: BEST99-00-Path.fh7.pdf, 2267 Testform.v1.0.2.pdf). 2268 2. Fixed typo in comment. 2269 3. Modified the fill_in_procs procedure to initialize the device color 2270 model information for the temporary device used in this routine. 2271 Though the color model information does not affect the output of 2272 the routine, reasonable values must be provided to avoid problems 2273 when gx_device_forward_fill_in_procs calls gx_device_fill_in_procs. 2274 This would cause certain systems to crash with files that involved 2275 overprint/overprint mode (e.g.: 86554321.pdf on MSWinXP/MSVC systems). 2276 4. Modified several checks that treated the separable_and_linear flag 2277 in the device color model information as a boolean to handle this 2278 parameter as an enumeration instead (since it is an enumeration). 2279 2280 src/gsptype1.c 2281 Added gs_pattern1_set_color, the set_color method appropriate for 2282 PatternType 1 patterns. This method performs overprint updating at 2283 setcolor time, a requirement for patterns as the "colorspace" to be 2284 used for overprint purposes is determined (in part) by the current 2285 "color" (pattern). 2286 2287 src/gsptype2.c 2288 Added gs_pattern2_set_color, the set_color method appropriate for 2289 PatternType 2 patterns. 2290 2291 src/gsstate.c 2292 1. Changed the criterion used in gs_grestore_only to determine if the 2293 overprint compositor must be updated. Restoring the graphic state 2294 may change the current color, which in the case of patterns may 2295 change the "colorspace" to be used for overprint purposes. The code 2296 now properly handles this possibility. 2297 2. Added the gs_do_set_overprint routine, and modified various other 2298 routines that directly call the current color space's 2299 set_overprint method to call this procedure instead. The procedure 2300 implements the special handling required for pattern color spaces, 2301 where the current color may need to be considered when determining 2302 which color model components must be retained. 2303 3. Added code to initialize the effective_overprint_mode parameter in 2304 the imager state, and provided two external routines to manipulate 2305 this parameter. The first routine, gs_disable_effective_overprint_mode, 2306 sets the effective_overprint_mode parameter to false, irrespective 2307 of the setting of the overprint_mode parameter. The second, 2308 gs_reset_effective_overprint_mode, sets the effective_overprint_mode 2309 parameter to have the same value as the overprint_mode parameter. 2310 The effective_overprint_mode parameter is used to turn off 2311 overprint_mode when a PatternType 2 pattern is being used. 2312 2313 src/gsstate.h 2314 Added prototypes for gs_do_set_overprint, 2315 gs_disable_effective_overprint_mode, and 2316 gs_reset_effective_overprint_mode. 2317 2318 src/gxccache.c 2319 Modified gx_image_cached_char to invoke gx_set_dev_color before calling 2320 (non-standard) device fill_mask methods. This handles several 2321 situations in which a device color is not set when a cached character 2322 is to be imaged, in particular for the command list device. 2323 2324 src/gxclpath.c 2325 Added a comment to indicate that, though the overprint and 2326 overprint_mode parameters are passed through the command list, they 2327 usually have no effect, as overprint is controlled by the compositor 2328 information that is (also) passed through the command list. 2329 2330 src/gxclrast.c 2331 1. Added a comment to indicate that the overprint and overprint mode 2332 parameters passed through the command list usually have no effect. 2333 2. Added code to initialize the effective_parameter_mode field in the 2334 imager state (though this field is usually in-effective). 2335 3. Initialized the fill_zero_width field of the fill_params structure 2336 in clist_playback_band to have the same value as in the noband case. 2337 This parameter was previously always set to false, which led to 2338 dropped lines for some files (e.g.: mspro.pdf). 2339 2340 src/gxistate.h 2341 Added the effective_overprint_mode parameter. 2342 2343 src/gxpcolor.h 2344 Added a set_color method to the pattern method vector. This method 2345 performs any PatternType-specific actions necessary at setcolor 2346 time. For now, this just updates the overprint compositor as required. 2347(gscolor2.c [1.11], gscspace.c [1.8], gsdevice.c [1.16], gsdps1.c 2348[1.7], gsovrc.c [1.2], gsptype1.c [1.10], gsptype2.c [1.10], gsstate.c 2349[1.17], gsstate.h [1.7], gxccache.c [1.11], gxclpath.c [1.16], 2350gxclrast.c [1.21], gxistate.h [1.13], gxpcolor.h [1.7]: 2002/09/10 235122:16:07 dan; checkin for Jan) 2352 2353The last code change for the this file was incorrect and should be replaced 2354with this entry. The previous log message is still applicable. 2355(gxcmap.c [1.8]: 2002/09/10 23:28:48 henrys) 2356 2357Bump version numbers after 7.30 release. (gscdef.c [1.26]: 2002/09/12 235809:52:20 giles) 2359 2360 2361 src/gxccache.c 2362 1. Fixed numerous problems with compress_alpha_bits and its invocation in 2363 gx_image_cached_char. The former procedure is called only if anti- 2364 aliasing (text alpha bits > 1) is called for a color that requires 2365 halftoning or for a device, such as pbmraw, that does not support the 2366 copy_alpha method. This happens infrequently, and the code was 2367 apparently never used. 2368 2. Moved the invocation of gs_set_dev_color to an earlier location in 2369 gx_image_cached_char, so that the device color will be set before 2370 any check is made to see if it is a pure color. 2371 2372 src/gxclimag.c 2373 1. Added code in clist_fill_mask to return an error if the mask to be 2374 filled has depth > 1 and clist_disable_copy_alpha flag is set in the 2375 disable_mask field. The latter will be the case if the target device 2376 does not support copy alpha. The command list translates fill_mask 2377 calls into copy_alpha calls, which drives this requirement. By 2378 returning an error, the fall-back mechanism included in 2379 gx_image_cached_char (gxccache.c), which is the only client of the 2380 fill_mask method, can function properly. 2381 2. Also modified clist_fill_mask to check that the drawing color is 2382 pure if depth > 1 and use the default fill_mask method if this is 2383 not the case. (The copy_alpha call to which the command list code will 2384 translate the fill_mask works only for pure colors.) In addition, if 2385 the color is pure, the clist_fill_mask routine will now send commands 2386 to set color1 as well as transmit the device color; the code in 2387 clist_playback_band (gxclrast.c) assumes that all "copy_mono" and 2388 "copy_alpha" commands have set color1. 2389 2390 src/gxclist.c 2391 Added code in clist_init_data to set the clist_disable_copy_alpha bit 2392 in the disable_mask field if the target device does not support the 2393 copy_alpha method. This must be done in this rather unintuitive location 2394 because it is impossible to tell if the target device supports copy_alpha 2395 until it has been made into a memory device (via the create_buf_device 2396 buffer device method). 2397 2398 src/gxclist.h 2399 Defined the clist_disable_copy_alpha bit, which is used in the 2400 disable_mask field to indicate that the target device does not support 2401 the copy_alpha method. 2402 2403 src/gxclrast.c 2404 Added include of gzht.h, to silence some compiler complaints. 2405 2406 src/gxclrect.c 2407 Modified clist_copy_alpha to return an error if clist_disable_copy_alpha 2408 bit is set in the disable_mask field. This bit indicates that the target 2409 device does not support the copy_alpha method, so we might as well 2410 return an error now, while there is a chance the client might be able to 2411 do something about it. 2412(gxccache.c [1.12], gxclimag.c [1.9], gxclist.c [1.9], gxclist.h 2413[1.6], gxclrast.c [1.22], gxclrect.c [1.5]: 2002/09/13 22:21:22 dan; 2414checkin for Jan) 2415 2416Add a macro to eliminate compiler warnings if size of gx_color_index is only 24174 bytes. We are defining a table with entry sizes up to 8 bytes. 2418(gxclutil.c [1.9]: 2002/09/13 22:25:07 dan) 2419 2420Add two casts to eliminate warning messages about differing pointer types. 2421(gdevmem.c [1.6]: 2002/09/16 22:04:43 dan) 2422 2423Remove old code inadvertently left within a comment. (gsfunc3.c [1.13]: 24242002/09/19 18:00:01 ray) 2425 2426 2427The modification changes the way tile depth is encoded in the command 2428list as part of the cmd_opv_set_tile_size command. 2429 2430Modified files: 2431 2432 gxcldev.h 2433 Added the macros cmd_depth_to_code and cmd_code_to_depth. These allow 2434 encoding/decoding of the color model depth parameter (bits/pixel) in 2435 such a manner as to support depths up to 120 bits (depths > 15 bits 2436 must be a multiple of 8). 2437 2438 gxclbits.c 2439 Modified cmd_store_tile_params to use the cmd_depth_to_code macro. 2440 2441 gxclrast.c 2442 Modified read_set_tile_size to use the cmd_code_to_depth macro. 2443(gxclbits.c [1.8], gxcldev.h [1.11], gxclrast.c [1.23]: 2002/09/19 244418:36:03 dan; checkin for Jan) 2445 2446 2447The attached code generalizes the sample_load_* and sample_store_* macros 2448in gsbitops.h to handle depths up to 64 bits. In addition to providing 244964 bit versions of these macros, we also added the macros sample_load_any, 2450sample_load_next_any, and sample_store_next_any. These macros are intended 2451to be used in situations in which any supported depth may be used. All of 2452the invocations of the sample_load32, sample_load_next32, etc. macros have 2453been changed to invoke the *_any version of these macros instead. In 2454addition, a few minor changes have been made to silence compiler warning 2455messages. 2456 2457Modified files: 2458 2459 src/gdevalph.c 2460 Changed invocations of the sample_{load|store}_next32 macro to be 2461 invocations of sample_{load|store}_next_any instead. Also made various 2462 changes to allow the code to be compiled with the DeviceN system (the 2463 file has apparently not been compiled for some time). 2464 2465 src/gdevdbit.c 2466 Made a couple of minor changes to silence compiler warning messages. 2467 2468 src/gdevdgbr.c 2469 Changed invocations of the sample_{load|store}_next32 macro to be 2470 invocations of sample_{load|store}_next_any instead. 2471 2472 src/gdevmpla.c 2473 Changed invocations of the sample_{load|store}_next32 macro to be 2474 invocations of sample_{load|store}_next_any instead. 2475 2476 src/gsbitops.c 2477 Changed invocations of the sample_{load|store}_next32 macro to be 2478 invocations of sample_{load|store}_next_any instead. Also made the 2479 value being read/written be of type gx_color_index rather than 2480 type bits32. 2481 2482 src/gsbitops.h 2483 Added 64-bit versions of the sample_load* and sample_store* macros. 2484 Also added *_any versions of these macros, to be used in situations 2485 where any supported color depth may be encountered. 2486 2487 src/gxcindex.h 2488 Changed an invocation of the sample_store_next32 macro to be an 2489 invocation of sample_store_next_any instead. Also updated a comment. 2490(gdevalph.c [1.6], gdevdbit.c [1.8], gdevdgbr.c [1.8], gdevmpla.c 2491[1.5], gsbitops.c [1.7], gsbitops.h [1.7], gxcindex.h [1.6]: 24922002/09/21 00:26:04 dan; checkin for Jan) 2493 2494src/gsht.c 1. Fixed a memory handling problem in gx_imager_dev_ht_install, 2495which could result in objects being freed multiple times. 2. Removed a 2496temporary hack in gx_imager_dev_ht_install that ensured that the halftone 2497cache always had at least one tile per level. This hack is no longer 2498necessary, as binary halftone device colors are now handled correctly. 2499(gsht.c [1.11]: 2002/09/21 07:08:27 dan) 2500 2501 2502Modified Files: 2503 2504 src/gsmisc.c 2505 Fixed an apparently long-standing bug in ilog2. Due to a typo, this 2506 procedure returned 0 for any power of 16. 2507 2508 src/gxoprect.c 2509 Fixed an uninitialized variable problem in 2510 gx_overprint_sep_fill_rectangle_1 and gx_overprint_sep_fill_rectangle_2. 2511(gsmisc.c [1.15], gxoprect.c [1.2]: 2002/09/23 01:21:02 dan; checkin for Jan) 2512 2513Modified Files: src/gsht.c Modified the invocation of 2514gx_device_halftone_release in gx_ht_install to use the memory allocator 2515pointer stored in the device halftone, rather than the one stored in the 2516graphic state. src/gsimage.c Removed what appears to have been an errant 2517optimization in gx_image_cleanup. This procedure will now always invoke 2518gx_image_end, even if the image was not rendered (penum->dev == 0). 2519(gsht.c [1.12], gsimage.c [1.9]: 2002/09/23 21:36:31 dan) 2520 2521 2522The attached code release fixes a variety of memory handling problems 2523discovered by Dan's test with the memory validation enabled. 2524 2525 1. Most of the problems with the FTS were accounted for by a relatively 2526 harmless dangling pointer problem for paths. In order to support the 2527 charpath operator, paths are normally constructed in stable memory 2528 (not subject to save/restore). However, clipping paths were 2529 constructed in normal memory. If the clippath operator was used to 2530 make the clipping path the current path, the top-level 2531 gx_path_segments would be in stable memory, while the rest of the 2532 path would be in normal memory. A restore operation could then 2533 leave dangling pointers. 2534 2535 This is not normally a problem, because the grestore operation 2536 associated with the restore would clear the gx_path_segments 2537 structure. This only works on the graphic state stack, however; 2538 graphic state objects stored in VM would not be reset. 2539 2540 This is harmful only in a very obscure case when the charpath operator 2541 is used on a user-defined font whose BuildGlyph procedure contains 2542 internal save/restore operators and which builds part of its 2543 output with the clippath operator. As far as we know, this has 2544 never occurred in practice. 2545 2546 2. [...zDCTE stable memory...] 2547 2548 3. If an overprint compositor was used with a banding device, the code 2549 in clist_playback_band was not cleaning up this compositor before 2550 exiting. This caused difficulty with the p2b-100.pdf file. This 2551 code has been modified to close the target device if this device 2552 does not match the original target device with which the routine 2553 was invoked. 2554 2555 4. For historical reasons, the link between a halftone order and its 2556 tile cache is a bit peculiar. The order includes a pointer to the 2557 tile cache, and the tile cache keeps a copy of the order, which 2558 points to the same levels/bit data structure of the original order. 2559 Because of these two-way points, the order and its tile cache must 2560 use the same memory allocator to avoid dangling pointer problems. 2561 The code patch modifies gx_imager_dev_ht_install (gsht.c) to 2562 preserve this invariant. The change fixes another problem noted for 2563 p2b-100.pdf. 2564 2565With these changes, we are able to run both the PS3 FTS and the full set 2566of pdf regression files using the '-Z@$?' switch with no reported problems. 2567 2568 2569 Jan 2570 2571Modified files: 2572 2573 src/gspaint.c 2574 src/gspath.c 2575 In gs_strokepath and gs_clippath, cause the newly constructed path to 2576 use the memory allocator of the current path, rather than the memory 2577 of the current graphic state. This is no longer strictly necessary 2578 due to other changes that place path substructure completely in 2579 stable memory (see gxpath.c below). 2580 2581 src/gxpath.c 2582 Modify path_allocs_segments, rc_free_path_segments_local, 2583 gx_path_add_lines_notes, and the path_alloc_segment macro to place 2584 the entire path substructure (from the gx_path_segments structure 2585 down) in stable memory. This is necessary to avoid dangling 2586 pointers, as a list of path segments may be attached to another path, 2587 parts of which were constructed with a different allocator. 2588 2589 src/gsht1.c 2590 Removed obsolete code. 2591 2592 src/gxclrast.c 2593 In clist_playback_band, close and discard the target device on 2594 completion of a band if it is not the same as the target device on 2595 entry. This is necessary to remove an overprint compositor that 2596 may have been created in the course of the band. 2597 2598 src/gsht.c 2599 In gx_imager_dev_ht_install, copy any halftone orders that were not 2600 allocated using the same allocator as used by the graphic state. This 2601 must be done to avoid dangling forward/back pointer between halftone 2602 orders and the associated tile caches. 2603(gsht.c [1.13], gsht1.c [1.11], gspaint.c [1.5], gspath.c [1.7], 2604gxclrast.c [1.24], gxpath.c [1.8]: 2002/09/26 18:45:02 dan; checkin 2605for Jan) 2606 2607Move the callback routine, which is used to translate a gs_separation_name 2608into a string pointer and a length, from the graphics state into the device 2609color structure. This is being done to make it available to the pdfwrite 2610device when handling DeviceN or Separation color spaces. (gscdevn.c [1.13], 2611gscsepr.c [1.19], gscspace.h [1.13], gsht.c [1.14], gxstate.h [1.7]: 26122002/10/04 23:43:38 dan) 2613 2614This file was missed in the previous commit. Move the callback routine, 2615which is used to translate a gs_separation_name into a string pointer and a 2616length, from the graphics state into the device color structure. This is 2617being done to make it available to the pdfwrite device when handling DeviceN 2618or Separation color spaces. (gzht.h [1.10]: 2002/10/05 03:41:42 dan) 2619 2620Apply casts to remove lots of warnings from MSVC 6. Update some Windows 2621color mapping functions for DeviceN. Change order of arguments for the 2622gs_pdf14_device_filter_push function and the calls to the device filter push 2623procedure to match the prototype. (gdevdflt.c [1.7], gdevdgbr.c [1.9], 2624gdevm1.c [1.6], gdevp14.c [1.14], gdevpsf1.c [1.16], gdevpsf2.c [1.26], 2625gdevpsft.c [1.23], gdevpsfx.c [1.16], gsbitops.c [1.8], gsciemap.c [1.12], 2626gscrdp.c [1.5], gsdevice.c [1.17], gsdfilt.c [1.7], gsfont.c [1.14], 2627gsfunc0.c [1.10], gsfunc4.c [1.13], gsicc.c [1.9], gspaint.c [1.6], 2628gsparam.c [1.7], gsptype1.c [1.11], gstype2.c [1.20], gstype42.c [1.24], 2629gsutil.c [1.9], gswts.c [1.2], gxccache.c [1.13], gxclpath.c [1.17], 2630gxcmap.c [1.9], gxdhtserial.c [1.3], gxifast.c [1.8], gximag3x.c [1.13], 2631gximage.c [1.6], gximage3.c [1.10], gxipixel.c [1.8], gxistate.h [1.15], 2632gxline.h [1.6], gxoprect.c [1.3], gxpcopy.c [1.7], gxshade4.c [1.10], 2633gxtype1.c [1.19], gxwts.c [1.4]: 2002/10/07 08:28:56 ghostgum) 2634 2635 2636Attached is a updated version of our code release of 4 October, 2002. 2637 2638As before, the primary purpose of this release is to modify the manner 2639in which overprint information is passed to the overprint compositor 2640device. This resolves some difficulties seen when overprinting is 2641used with the command list device. 2642 2643This update incorporates the changes checked in by Dan on October 4th. 2644Since Dan's changes to gxcldev.h and gxclrast.c were identical to ours, 2645we have removed those two files from this release. 2646 2647 Jan 2648 2649 2650Modified Files 2651 2652 lib/gs_init.ps 2653 lib/pdf_draw.ps 2654 Change "DONTPS" flag to "DOPS", with the logically inverted function: 2655 only if DOPS is defined will "PS" XObjects be rendered. We believe this 2656 is the more appropriate default. 2657 2658 lib/gs_dps.ps 2659 lib/gs_img.ps 2660 src/gsdparams.c 2661 Modified the deviceinfo and image code to work around a potentially 2662 improperly set ColorValues parameter. 2663 2664 src/devs.mak 2665 Updated dependency list for gdevscf.$(OBJ). 2666 2667 src/gdevdflt.c 2668 1. Added initialization of the new color_info.opmode field to 2669 gx_device_fill_in_procs. 2670 2. In get_decode_color, added special case handling for canonical 1-bit 2671 CMYK devices (e.g.: pkmraw). Previously the decode_color method for 2672 this devices would default to gx_default_cmyk_decode_color, which 2673 performed an CMYK ==> RGB ==> CMYK conversion. This conversion would 2674 defeat overprinting if gray object was placed on top of a colored 2675 region. 2676 2677 src/gscdevn.c 2678 src/gscolor.c 2679 src/gscolor2.c 2680 src/gscpixel.c 2681 src/gscsepr.c 2682 src/gscspace.c 2683 src/gsovrc.c 2684 src/gxovrc.h 2685 src/gspcolor.c 2686 src/gsptype1.c 2687 src/gsptype2.c 2688 src/gsstate.c 2689 src/gsstate.h 2690 src/gxcmap.c 2691 src/gxcspace.h 2692 src/zcolor.c 2693 Modified the overprint code to, when necessary, pass overprint mode 2694 information when setting the device color. This is necessary to properly 2695 handle overprint mode when using the command list device. 2696 2697 NB: This change alters the meaning of the "effective_overprint_mode" field 2698 in the imager state. 2699 2700 src/gxdevcli.h 2701 Added the opmode and process_comps fields to the gx_device_color_info 2702 structure. These are required by the new code that passes overprint mode 2703 information when the device color is set. 2704 2705 src/gsdfilt.h 2706 Changed the prototype for the push method in the gs_device_filter 2707 structure to match the actual implementation and usage of this method 2708 (the third and fourth operands were reversed). 2709 2710 src/gsimage.c 2711 Modified gx_image_cleanup to check if penum->info field is null before 2712 calling gx_image_end. This avoids a crash associated that can occur if 2713 an image has zero height or width, as the image enumeration data structure 2714 will have been released in such cases before gs_image_cleanup is called. 2715 2716 src/lib.mak 2717 Updated various dependency lists. 2718 2719 src/gdevdevn.c 2720 src/gdevnfwd.c 2721 src/gdevpdte.c 2722 src/gdevxcf.c 2723 src/gscrdp.c 2724 src/gsdfilt.c 2725 src/gsht.c 2726 src/gsht1.c 2727 src/gswts.c 2728 src/gzht.h 2729 src/ialloc.c 2730 src/imain.c 2731 src/iscanbin.c 2732 zfapi.c 2733 Installed some minor changes to quiet compiler warnings. 2734 2735(gdevdflt.c [1.8], gdevnfwd.c [1.7], gscdevn.c [1.14], gscolor.c 2736[1.10], gscolor2.c [1.13], gscpixel.c [1.8], gscrdp.c [1.6], gscsepr.c 2737[1.20], gscspace.c [1.9], gsdfilt.h [1.7], gsdparam.c [1.11], gsht.c 2738[1.15], gsht1.c [1.12], gsimage.c [1.10], gsovrc.h [1.2], gsovrc.c 2739[1.3], gspcolor.c [1.8], gsptype1.c [1.12], gsptype2.c [1.11], 2740gsstate.c [1.18], gsstate.h [1.8], gswts.c [1.3], gxcmap.c [1.10], 2741gxcspace.h [1.9], gxdevcli.h [1.14], gzht.h [1.11]: 2002/10/08 274200:49:49 dan; checkin for Jan) 2743 2744Due to a combination of corrections by Russell Lang and Jan Stoeckenius, we 2745have corrected a problem - twice. Unfortunately this is an example of two 2746rights making a wrong. Thanks to Jan for noticing this. (gsdfilt.h [1.8]: 27472002/10/08 23:02:31 dan) 2748 2749Corrects an unitialized variable warning in image_render_color(). The 2750routine now falls back to landscape scan parameters in the unhandled 'skew' 2751posture case. (gxicolor.c [1.7]: 2002/10/10 19:30:42 giles) 2752 2753Correct handling of text when the pixel depth is 56 bits. (gdevm56.c [1.2]: 27542002/10/11 05:58:22 dan) 2755 2756Modified the dci_alpha_values macro to assume that devices with depth >= 275716 have a separable and linear color encoding. (gxdevcli.h [1.15]: 27582002/10/16 00:47:55 dan) 2759 2760First documentation commit for 7.31 release: edits to News.htm, version and 2761date updates, minor patches to Develop.htm and Deprecated.htm. 2762(gscdef.c [1.27]: 2002/10/17 06:37:29 raph) 2763 2764</pre><h2><a name="7.31-Other"></a>Other</h2><pre> 2765 2766Adds sobin and soobj to .cvsignore. (.cvsignore [1.5]: 2002/09/29 17:24:43 2767giles) 2768 2769Adds some missing files to the ijs .cvsignore. (ijs/.cvsignore [1.2]: 27702002/09/29 17:54:28 giles) 2771 2772Remove remaining references to ansi2knr.c. We no longer support building 2773ghostscript with it, but the remaining dead code causes confusion for some 2774users. Inspired by Sourceforge bug #618048. Removes references to the no 2775longer supported ansi2knr.c. (Makefile.in [1.17]: 2002/10/09 23:43:58 giles) 2776 2777</pre> 2778<hr> 2779 2780<h1><a name="Version7.30"></a>Version 7.30 (2002-09-07)</h1> 2781 2782<p> 2783This is an alpha testing release of the new DeviceN 2784implementation. In addition, there have been numerous bug fixes and 2785further cleanup in the pdfwrite device. 2786 2787<p> 2788Unfortunately, documentation for the DeviceN changes was not available 2789in time for this release. 2790 2791<p> 2792The following SourceForge bug numbers were open at the time of the last release: 2793405342, 2794407342, 2795414947, 2796414985, 2797423838, 2798434277, 2799446344, 2800446672, 2801458261, 2802458775, 2803458780, 2804459647, 2805465720, 2806465936, 2807468762, 2808484752, 2809484753, 2810485510, 2811487953, 2812493348, 2813495319, 2814505429, 2815508081, 2816509646, 2817510808, 2818513905, 2819517349, 2820526099, 2821526491, 2822528647, 2823530011, 2824530588, 2825533467, 2826535366, 2827535752, 2828535836, 2829538033, 2830538428, 2831542848, 2832543185, 2833546823, 2834552989, 2835554076, 2836557177, 2837558151, 2838558435, 2839560508, 2840562103, 2841563287, 2842567421, 2843567487, 2844567487, 2845567604, 2846567773, 2847569573, 2848570772, 2849572119, 2850573744, 2851576591, 2852578838, 2853578865, 2854580029, 2855582471, 2856583413, 2857584990, 2858590979, 2859591768, 2860592160, 2861592164, 2862592833, 2863592837, 2864592841, 2865592925, 2866592930, 2867594291, 2868594582, 2869595375, 2870595378, 2871595760, 2872596009, 2873596228, 2874596284, 2875596394, 2876598014, 2877598746, 2878600281, 2879600288, 2880600855, 2881601255, 2882601336, 2883601694, 2884601704, 2885602016, 2886602739, 2887602995, 2888603003, 2889603157, 2890603577, 2891603689, 2892603934, 2893604884 2894604886, 2895605200, 2896605830. 2897 2898<p> 2899In addition, a significant number of regressions remain. See the <a 2900href="http://www.ghostscript.com/pipermail/gs-regression/2002-September/thread.html">archives</a> 2901of the regression report for more details. 2902 2903<h3><a name="7.30_Incompatible_changes"></a>Incompatible changes</h3> 2904 2905<p> 2906A number of DeviceN changes can cause incompatibility. They are 2907summarized below. 2908 2909<pre> 2910* gx_color_index may now be 32 or 64 bits, determined at compile time. 2911 2912* The gx_device_color_info field has been updated to include 2913 significantly more information about the encoding from colors in the 2914 process color model to gx_color_index colors. New fields include: 2915 polarity, gray_index, separable_and_linear, comp_shift, and comp_bits. 2916 Devices are strongly encouraged to set these new fields correctly. 2917 See gxdevcli.h for more information. 2918 2919* Some existing device procedures for color mapping have changed. 2920 map_rgb_color now takes a cv[] array rather than separate red, green, 2921 and blue scalar color values, and similarly for map_cmyk_color. 2922 2923* New device procedures: get_color_mapping_procs, get_color_comp_index, 2924 encode_color, decode_color. These device procedures are required for 2925 devices defining additional colorant planes, and may be desirable for 2926 finer control over color mapping. See gxdevcli.h and gxcmap.c for 2927 more information. 2928</pre> 2929 2930 2931<h2><a name="7.30-Documentation"></a>Documentation</h2><pre> 2932 2933Fixes problems: 2934 - byte* filearg should be a char* and copied to the heap. Fixes SF 2935bug #509646. Also adds byte */char * string convention to C-style.htm. 2936(doc/C-style.htm [1.34]: 2002/08/28 00:16:14 raph) 2937 - Fixes incorrect links in the previous commit. 2938(doc/Develop.htm [1.88]: 2002/09/07 18:05:08 giles) 2939 2940Third and final commit of 7.22 release: bump version numbers to 7.23. 2941(doc/News.htm [1.110]: 2002/08/07 06:58:52 raph) 2942 2943Prefer {} to () for optional commandline arguments. Patch from Eric S. 2944Raymond. (man/de/ps2pdf.1 [1.3], man/ps2pdf.1 [1.22], man/ps2pdfwr.1 [1.21]: 29452002/08/08 12:22:57 giles) 2946 2947Added description of files added while implementing DeviceN color handling. 2948(doc/Psfiles.htm [1.35]: 2002/09/04 07:21:26 dan) 2949 2950Add documentation for new files added during DeviceN support development. 2951(doc/Develop.htm [1.85]: 2002/09/05 04:18:47 dan) 2952 2953Delete all temporary files when the interpreter closes. 2954(doc/Language.htm [1.51]: 2002/09/05 12:20:48 ghostgum) 2955 2956Include more DeviceN files. Correct a few typos in the previous commit. 2957(doc/Develop.htm [1.86]: 2002/09/06 05:16:58 dan) 2958 2959Update versions, news and bug list for 7.30 alpha release. 2960(doc/News.htm [1.111]: 2002/09/07 17:57:09 giles) 2961 2962Add the well-tempered screening source files to the developer documentation. 2963(doc/Develop.htm [1.87]: 2002/09/07 18:03:07 giles) 2964 2965Update version numbers for 7.30 release. (doc/API.htm [1.24], 2966doc/Bug-form.htm [1.29], doc/Bug-info.htm [1.28], doc/C-style.htm [1.35], 2967doc/Commprod.htm [1.21], doc/Copying.htm [1.21], doc/Current.htm [1.21], 2968doc/DLL.htm [1.23], doc/Develop.htm [1.89], doc/Devices.htm [1.47], 2969doc/Drivers.htm [1.31], doc/Fonts.htm [1.30], doc/Helpers.htm [1.25], 2970doc/History1.htm [1.21], doc/History2.htm [1.21], doc/History3.htm [1.21], 2971doc/History4.htm [1.21], doc/History5.htm [1.23], doc/History6.htm [1.38], 2972doc/History7.htm [1.20], doc/Htmstyle.htm [1.26], doc/Install.htm [1.34], 2973doc/Issues.htm [1.25], doc/Language.htm [1.52], doc/Lib.htm [1.23], 2974doc/Maintain.htm [1.31], doc/Make.htm [1.53], doc/New-user.htm [1.40], 2975doc/Projects.htm [1.45], doc/Ps-style.htm [1.19], doc/Ps2epsi.htm [1.23], 2976doc/Ps2pdf.htm [1.45], doc/Psfiles.htm [1.36], doc/Readme.htm [1.40], 2977doc/Release.htm [1.64], doc/Source.htm [1.21], doc/Tester.htm [1.20], 2978doc/Testing.htm [1.9], doc/Unix-lpr.htm [1.21], doc/Use.htm [1.56], 2979doc/Xfonts.htm [1.21], doc/gs-vms.hlp [1.20]: 2002/09/07 18:11:42 giles) 2980 2981Update version numbers for 7.30 release. (man/dvipdf.1 [1.18], 2982man/font2c.1 [1.18], man/gs.1 [1.18], man/gslp.1 [1.18], man/gsnd.1 [1.18], 2983man/pdf2dsc.1 [1.17], man/pdf2ps.1 [1.19], man/pdfopt.1 [1.17], 2984man/pf2afm.1 [1.18], man/pfbtopfa.1 [1.19], man/printafm.1 [1.18], 2985man/ps2ascii.1 [1.17], man/ps2epsi.1 [1.16], man/ps2pdf.1 [1.23], 2986man/ps2pdfwr.1 [1.22], man/ps2ps.1 [1.24], man/wftopfa.1 [1.18]: 2002/09/07 298718:11:58 giles) 2988 2989Update the stress-test buffer size for the smoke test to a value which works 2990with the devicen code (100k vs 50k). (doc/Release.htm [1.65]: 2002/09/07 299119:09:40 giles) 2992 2993Documentation to accompany gdevperm.c (permute device). 2994(doc/Develop.htm [1.90], doc/Devices.htm [1.48]: 2002/09/07 20:33:04 raph) 2995 2996Adds a description of our release numbering scheme and clarifies the 2997updating process. Based on a patch from L. Peter Deutsch. 2998(doc/Release.htm [1.66]: 2002/09/07 22:12:27 giles) 2999 3000Minor tweaking to version numbering language. (doc/Release.htm [1.67]: 30012002/09/07 22:45:57 raph) 3002 3003</pre><h2><a name="7.30-Procedures"></a>Procedures</h2><pre> 3004 3005Fixes problems: 3006 - Fixing syntax errors and potentially dangerous warnings with MSVC 3007after DeviceN merge. (lib.mak [1.91]: 2002/08/22 10:00:48 igor) 3008 - Logic to invoke banding was confused. Banding gets used when the 3009bandsize is too small for the full page raster. A bandsize of 10000 causes 3010banding. (toolbin/tests/gstestgs.py [1.12]: 2002/09/04 23:09:12 ray) 3011 - Provide an implementation of popen for Windows, to avoid the 3012broken implementation in MSVC++ 5 and 6. This allows pswrite to output to a 3013pipe on Windows. Fixes SourceForge bug #482038, pswrite does not write to 3014pipe. (winlib.mak [1.17]: 2002/09/05 08:34:00 ghostgum) 3015 - Fix : The "Fix: add missing header for isxdigit()." missed the 3016dependency update in devs.mak . (devs.mak [1.71]: 2002/09/05 08:50:53 igor) 3017 3018Third and final commit of 7.22 release: bump version numbers to 7.23. 3019(version.mak [1.50]: 2002/08/07 06:58:53 raph) 3020 3021Remove unused defines for the gtk client. (macos-fw.mak [1.6]: 2002/08/07 302213:01:18 giles) 3023 3024DeviceN. (devs.mak [1.70], gs.mak [1.15], int.mak [1.82], lib.mak [1.90], 3025msvc32.mak [1.30], openvms.mak [1.24], unix-gcc.mak [1.34], 3026watclib.mak [1.18]: 2002/08/22 07:12:28 henrys) 3027 3028Modified files: 3029 src/lib.mak 3030 Updated varius dependency lists. 3031(lib.mak [1.92]: 2002/08/26 23:00:07 dan) 3032 3033Re corrected a problem with an illegal (from the point of view of MSVC) 3034period in a marcro name. Problem previously fixed by Igor. It came back in 3035the previous commit which came from ORIMP. (lib.mak [1.93]: 2002/08/26 303623:02:24 dan) 3037 3038Remove gdevht.c and gdevht.h. Also delete outdated references in lib.mak and 3039a few other files. (lib.mak [1.94]: 2002/09/04 06:36:36 dan) 3040 3041Changes required for compilation on HPUX and Tru64. Add missing header in 3042lib.mak after gxdcolor.h added to gscolor3.c. Change dci_std_color_bits 3043macro to prevent a divide by zero, caused by the compiler not using shortcut 3044evaluation in an initializer. (lib.mak [1.95]: 2002/09/04 21:44:14 ghostgum) 3045 3046Update versions, news and bug list for 7.30 alpha release. 3047(version.mak [1.51]: 2002/09/07 17:57:09 giles) 3048 3049Update libpng versions to latest release. (all-arch.mak [1.13], 3050bcwin32.mak [1.20], dvx-gcc.mak [1.19], macos-mcp.mak [1.8], 3051macosx.mak [1.11], msvc32.mak [1.31], msvclib.mak [1.20], 3052openvms.mak [1.25], os2.mak [1.26], ugcclib.mak [1.20], unix-gcc.mak [1.35], 3053unixansi.mak [1.24], watc.mak [1.20], watclib.mak [1.19], 3054watcw32.mak [1.18]: 2002/09/07 18:28:37 giles) 3055 3056</pre><h2><a name="7.30-Utilities"></a>Utilities</h2><pre> 3057 3058Fixes problems: 3059 - update MacOS build for changes in gs_abort(). (gp_mac.c [1.8]: 30602002/08/27 20:27:26 giles) 3061 - Provide an implementation of popen for Windows, to avoid the 3062broken implementation in MSVC++ 5 and 6. This allows pswrite to output to a 3063pipe on Windows. Fixes SourceForge bug #482038, pswrite does not write to 3064pipe. (gp_mswin.c [1.12]: 2002/09/05 08:34:00 ghostgum) 3065 3066DeviceN. (genconf.c [1.9]: 2002/08/22 07:12:28 henrys) 3067 3068Update project file generation script to support Metrowerks CodeWarrior 7. 3069(macgenmcpxml.sh [1.3]: 2002/09/04 08:57:03 giles) 3070 3071Code cleanup and warning fixes for macos platform-specific routines. 3072(gp_macio.c [1.8]: 2002/09/04 10:15:33 giles) 3073 3074</pre><h2><a name="7.30-Drivers"></a>Drivers</h2><pre> 3075 3076Fixes problems: 3077 - FILE_IMPLEMENTATION=fd results in mixed use of unbuffered and 3078buffered output but the rest of the driver always uses buffered output. 3079Flushing the buffer in several places solves the problem. Fixes bug #427347. 3080Fix and analysis by Alex Cherepanov. (gdevps.c [1.29], gdevpsu.c [1.12]: 30812002/08/28 15:19:12 ray) 3082 3083DeviceN. (gdev4693.c [1.6], gdevbit.c [1.5], gdevbmpc.c [1.6], 3084gdevcdj.c [1.11], gdevdevn.c [1.1], gdevdsp.c [1.12], gdevepsc.c [1.7], 3085gdevpbm.c [1.8], gdevpccm.c [1.5], gdevpcl.c [1.8], gdevps.c [1.28], 3086gdevpsdf.h [1.18], gdevpsdi.c [1.22], gdevpsdu.c [1.17], gdevstc.c [1.6], 3087gdevtknk.c [1.6], gdevupd.c [1.9], gdevx.c [1.14], gdevxalt.c [1.8], 3088gdevxcf.c [1.1], gdevxcmp.c [1.8]: 2002/08/22 07:12:28 henrys) 3089 3090Removes dead code harking back from the old, broken x11alpha device. 3091(gdevxalt.c [1.9]: 2002/09/03 17:48:28 raph) 3092 3093Adds "permute" device for testing consistency between DeviceCMYK and DeviceN 3094color models. (gdevperm.c [1.1], gdevxcf.c [1.2]: 2002/09/07 20:02:26 raph) 3095 3096Removes just a bit more dead code from the old x11alpha driver. 3097(gdevxalt.c [1.10]: 2002/09/07 20:02:54 raph) 3098 3099</pre><h2><a name="7.30-PDF_writer"></a>PDF writer</h2><pre> 3100 3101Fixes problems: 3102 - Fix (pdfwrite): Widths for /.notdef was not cached, perhaps 3103Pscript.dll Version 5.0 generates an Encoding, in which /space is replaced 3104with /.notdef . Source Forge bug #590979 "Spaces drop out". 3105(gdevpdtt.c [1.8]: 2002/08/07 11:10:56 igor) 3106 - Fix (pdfwrite): Widths were missed (written as zeros) for Type 3 3107fonts. Source Forge bug #591808 "Scrambled spacing, chars superimposed" 3108(gdevpdti.c [1.5]: 2002/08/07 11:33:58 igor) 3109 - AR5 fails in image when CTM is singular. Skipping such images. 3110Source Forge bug #453969. Patch from Alex Cherepanov. (gdevpdfi.c [1.42]: 31112002/08/14 15:56:19 igor) 3112 - Fix (pdfwrite): Widths for different WMode's were mixed in same 3113cache. Discovered with CompareFiles/093-01.ps . (gdevpdte.c [1.10]: 31142002/08/16 15:11:05 igor) 3115 - Fix (pdfwrite) : When device resolution is reduced to keep numbers 3116within Acrobat Reader limits, the device closed and re-opened. This 3117re-opened the output PDF file, dropping all preceding pages. The fix removes 3118the closing of the device. Source Forge Bug #593124. Patch from Alex 3119Cherepanov. (gdevpdfp.c [1.28]: 2002/08/26 06:29:15 igor) 3120 - Fix (pdfwrite): Implementing settransfer after DeviceN merge. 3121(gdevpdfg.c [1.24]: 2002/08/30 09:30:27 igor) 3122 - Write named COS objects which go out of scope with the local 3123namespace. Source Forge bug #600243. Patch from Alex Cherepanov. 3124(gdevpdfm.c [1.26]: 2002/09/01 01:44:15 igor) 3125 - Fix (pdfwrite) : 'Td' sometimes was missed due to sync_text_state 3126wrondly checked text position. Discovered with 129-01.ps . 3127(gdevpdts.c [1.12]: 2002/09/01 16:02:12 igor) 3128 - add missing header for isxdigit(). (gdevpdtb.c [1.8]: 2002/09/02 312922:01:20 giles) 3130 - Fix (pdfwrite) : pdf_font_resource_enum_ptrs was buggy since 3131revision 1.9 . (gdevpdtf.c [1.13]: 2002/09/03 19:45:23 igor) 3132 - Fix (pdfwrite) : (1) Moving the temporary CID font wrapper from 3133stable to non-stable memory, because its descendent font is non-stable; (2) 3134Removing pdf_font_resource::glyphshow_font, because after (1) it points from 3135stable to non-stable memory. (3) representing the "glyphshow_font" 3136association with a search through gs_font_dir::orig_fonts by font id. 3137Introducing a new graphics library function gs_find_font_by_id for (3). 3138Source Forge bug "[603955] (pdfwrite) wrong memory allocation, segv" 3139(gdevpdtf.c [1.14], gdevpdtf.h [1.5]: 2002/09/05 09:03:42 igor) 3140 - Fix (pdfwrite) : (1) Moving the temporary CID font wrapper from 3141stable to non-stable memory, because its descendent font is non-stable; (2) 3142Removing pdf_font_resource::glyphshow_font, because after (1) it points from 3143stable to non-stable memory. (3) representing the "glyphshow_font" 3144association with a search through gs_font_dir::orig_fonts by font id. 3145Introducing a new graphics library function gs_find_font_by_id for (3). 3146Source Forge bug "[603955] (pdfwrite) wrong memory allocation, segv" 3147(gdevpdtc.c [1.8]: 2002/09/05 09:12:30 igor) 3148 - Fix : (1) ioerror was missed after opening a stream; (2) 3149pdfwrite/epswrite missed ioerror writing a CFF. Source Forge bug #601238 3150"segv due to s_init_filter ignores errors". (gdevpdf.c [1.52]: 2002/09/05 315118:07:59 igor) 3152 3153Skipping 0-size images in pdfwrite because AR5 doesn't support them. Patch 3154from Alex Cherepanov. (gdevpdfi.c [1.41]: 2002/08/13 10:15:38 igor) 3155 3156DeviceN. (gdevpdf.c [1.51], gdevpdfc.c [1.27], gdevpdfg.c [1.23]: 2002/08/22 315707:12:28 henrys) 3158 3159Move the module back to the same as rev 1.5 as the basis for future fixes. 3160Rev 1.6 was reinstated to avoid a spurious tag for 7.22, but the 1.6 version 3161was flawed and removed by Igor Melichev. (gdevpdtw.c [1.7]: 2002/08/27 316206:55:54 ray) 3163 3164</pre><h2><a name="7.30-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 3165 3166Fixes problems: 3167 - Dereference indirect objects used as numbers in /Differences array 3168by pdfTeX-1.0-pdfcrypt. SourceForge bug #580873. Fix by Alex Cherepanov. 3169(lib/pdf_font.ps [1.42]: 2002/08/13 15:32:51 ray) 3170 - Extra 'ifelse' in a pdfformaterror case when the Widths array was 3171smaller than the character range. No SF bug, but fixes George.pdf for 3172Artifex customer #1 (their support ticket 1-2398). (lib/pdf_font.ps [1.43]: 31732002/08/28 07:07:08 ray) 3174 - Improve accuracy of transparency detection logic. Fixes SF bug 3175#586595. (lib/pdf_main.ps [1.56]: 2002/08/28 17:34:16 raph) 3176 - Partial fix to 600855 to allow the pdfwrite (Distiller) to learn 3177the original font name as well as the unique font name generated by the PDF 3178interpreter when it copies a font and changes the Metrics and/or Encoding. 3179The FontName was made unique by appending a series of ? chars until a unique 3180name was generated. Now the suffix string itself is also defined in the 3181modified font dictionary with the /FontNameSuffix key. The pdfwrite text 3182handling needs to be modified to use this information. 3183(lib/pdf_font.ps [1.44]: 2002/08/29 06:26:22 ray) 3184 - Initialize graphic state (except CTM) before rendering annotation 3185appearance stream as stated in 7.4.4 of the PDF reference. Bug #576586, 3186customer #580. Fix by Alex Cherepanov. (lib/pdf_draw.ps [1.51]: 2002/09/01 318723:42:32 ray) 3188 - Apparently filters that expect EOD throw an ioerror if no data is 3189received. Just processes without invoking any filter and everything works as 3190Adobe Acrobat Reader does. SourceForge bug #605236 for customer 561. 3191(lib/pdf_base.ps [1.28]: 2002/09/05 20:04:27 ray) 3192 3193DeviceN. (lib/pdf_draw.ps [1.50], lib/pdf_main.ps [1.55]: 2002/08/22 319407:12:28 henrys) 3195 3196</pre><h2><a name="7.30-Interpreter"></a>Interpreter</h2><pre> 3197 3198Fixes problems: 3199 - Fix (FAPI): Embedded Type 2 was misidentified as a non-embedded 3200font. (zfapi.c [1.24]: 2002/08/17 08:04:42 igor) 3201 - Fix (FAPI): Allowing servers to substitute glyph name for 3202FAPI_FF_get_glyph callback. (fapiufst.c [1.18], ifapi.h [1.13], 3203zfapi.c [1.25]: 2002/08/17 09:17:15 igor) 3204 - Fix (FAPI): Type 1 instruction seac did not work with embedded 3205fonts. (ifapi.h [1.14], zfapi.c [1.26]: 2002/08/17 10:36:55 igor) 3206 - Fixing syntax errors and potentially dangerous warnings with MSVC 3207after DeviceN merge. (dwmain.c [1.11], dwmainc.c [1.14], dwtrace.c [1.3]: 32082002/08/22 10:00:48 igor) 3209 - Fix (FAPI): Improving comments about the 'get_glyph' callback. 3210(zfapi.c [1.27]: 2002/08/24 09:16:28 igor) 3211 - Undocumented procedure /setweightvector added to internaldict. 3212Source Forge bug #593355. Patch from Alex Cherepanov. 3213(lib/gs_type1.ps [1.12]: 2002/08/26 06:51:01 igor) 3214 - byte* filearg should be a char* and copied to the heap. Fixes SF 3215bug #509646. Also adds byte */char * string convention to C-style.htm. 3216(icstate.h [1.9], imainarg.c [1.22]: 2002/08/28 00:16:14 raph) 3217 - The technique used to prevent PageSize dimension of 0 silently set 3218the page size to 6 points whenever the dimension was < 6. Now either 3219dimension of 0 causes configurationerror from setpagedevice, but small 3220non-zero values are allowed if the InputAttributes allows it. Fixes 3221SourceForge bug 521916. Fix mostly by Alex Cherepanov. 3222(lib/gs_setpd.ps [1.14], zmedia2.c [1.9]: 2002/08/28 14:32:28 ray) 3223 - Unbound null in the PostScript setup code (gs_init.ps) allowed 3224redef of /null to cause problems. Replace null with //null immediate name 3225binding to prevent this. Fixes SF bug #539239. Fix by Alex Cherepanov. 3226(lib/gs_init.ps [1.61]: 2002/08/28 16:20:19 ray) 3227 - Fix : z1_glyph_info missed side bearing for WMode 0. 3228(zchar1.c [1.22]: 2002/08/30 13:40:56 igor) 3229 - process comment lines when they straddle a buffer boundary, so 3230that all DSC comments can be processed by the PDF writer. Fixes SourceForge 3231bug #432040, DSC ignored when reading stdin. (iscan.c [1.11]: 2002/09/05 323208:28:48 ghostgum) 3233 - Corrected the ID line. (Missing $ sign at the end.) 3234(zcolor3.c [1.2]: 2002/09/06 18:42:16 dan) 3235 - copy comment lines inside a procedure which require a scanner 3236refill to the operand stack, not the execution stack. Fixes SourceForge bug 3237#605240, 070-01.ps fails in .parse_dsc_comments. (iscan.c [1.12]: 2002/09/06 323820:52:19 ghostgum) 3239 3240Third and final commit of 7.22 release: bump version numbers to 7.23. 3241(lib/gs_init.ps [1.59]: 2002/08/07 06:58:53 raph) 3242 3243As some PostScript files act differently when /currentdistillerparams is 3244defined, patched 'known' to hide the systemdict version of the 3245set/currentdistillerparams unless the currentdevice is pdfwrite. The patch 3246was done by Ray. Fixes SF#584713, Gradient ignores CRD 3247(lib/gs_pdfwr.ps [1.17]: 2002/08/17 09:16:34 jeong) 3248 3249DeviceN. (idparam.c [1.6], igstate.h [1.7], iimage.h [1.6], iimage2.h [1.6], 3250iutil.c [1.7], iutil.h [1.6], lib/gs_ciecs2.ps [1.1], 3251lib/gs_ciecs3.ps [1.1], lib/gs_devcs.ps [1.1], lib/gs_devn.ps [1.1], 3252lib/gs_devpxl.ps [1.1], lib/gs_dpnxt.ps [1.5], lib/gs_icc.ps [1.6], 3253lib/gs_img.ps [1.1], lib/gs_indxd.ps [1.1], lib/gs_init.ps [1.60], 3254lib/gs_lev2.ps [1.21], lib/gs_ll3.ps [1.16], lib/gs_patrn.ps [1.1], 3255lib/gs_pdfwr.ps [1.18], lib/gs_res.ps [1.25], lib/gs_sepr.ps [1.1], 3256lib/gs_setpd.ps [1.13], zcolor.c [1.9], zcolor1.c [1.6], zcolor2.c [1.10], 3257zcolor3.c [1.1], zcsdevn.c [1.10], zcssepr.c [1.12], zdevice.c [1.7], 3258zdfilter.c [1.6], zdpnext.c [1.7], zfsample.c [1.8], zgstate.c [1.6], 3259zht.c [1.6], zht1.c [1.6], zht2.c [1.6], zimage.c [1.10], zimage2.c [1.7], 3260zimage3.c [1.6], zmisc.c [1.5], zmisc3.c [1.5], zpcolor.c [1.7], 3261zshade.c [1.13], ztrans.c [1.19]: 2002/08/22 07:12:28 henrys) 3262 3263This file was left out of the DeviceN checkin. (lib/gs_cspace.ps [1.1]: 32642002/08/22 13:37:47 henrys) 3265 3266This file was evidently dropped from the DeviceN merge. This eliminates a 3267loop that can occur in non-sepqxd2distiller.pdf. lib/gs_icc.ps Modified the 3268cs_substitute routine to suppress color space substitution if the resulting 3269color space cannot be an Alternate color space for an ICCBased color space. 3270This situation arises with some frequency in PDF files. 3271(lib/gs_icc.ps [1.7]: 2002/08/23 04:15:00 dan) 3272 3273Modified files: src/gstext.h src/gstext.c Added the routine 3274gs_text_update_dev_color, to update the color used for drawing text if this 3275changes during a text operation (e.g.: due to the action of a kshow or cshow 3276procedure). src/zchar.c Modified op_show_continue to call 3277gs_text_update_dev_color in case a cshow or kshow procedure changed the 3278current color (strictly speaking, this is only a problem with kshow). 3279(zchar.c [1.9]: 2002/08/26 22:51:53 dan) 3280 3281Modified files: 3282 src/gstext.c, 3283 src/gxtext.h 3284 src/zchar.c 3285 These files are identical to the set released on Aug. 23rd (the fix 3286 for color changes in a kshow procedure). We are releasing them again 3287 here to make certain the rest of this code is not committed without 3288 the former change. 3289(zchar.c [1.10]: 2002/08/26 23:00:07 dan) 3290 3291Merge page device Policies from the driver and defaults during the device 3292initialization to avoid duplication of code for default policies in the 3293driver (no devices yet do this). Previously, the whole /Policies dictionary 3294was replaced forcing the driver to duplicate code. Improvement developed by 3295Alex Cherepanov. (lib/gs_setpd.ps [1.15]: 2002/08/29 05:41:30 ray) 3296 3297Delete all temporary files when the interpreter closes. (imain.c [1.26]: 32982002/09/05 10:23:00 ghostgum) 3299 3300Update version numbers for 7.30 release. (lib/gs_init.ps [1.62]: 2002/09/07 330118:11:53 giles) 3302 3303</pre><h2><a name="7.30-Streams"></a>Streams</h2><pre> 3304 3305Fixes problems: 3306 - Don't skip '\f' or '\0' after eexec but still skip \r', '\n', 3307'\t', ' ' because Adobe interpreters do this. Bug #594741 from a free user. 3308Fix by Alex Cherepanov. (seexec.c [1.8]: 2002/09/02 22:09:15 ray) 3309 - Fix : (1) ioerror was missed after opening a stream; (2) 3310pdfwrite/epswrite missed ioerror writing a CFF. Source Forge bug #601238 3311"segv due to s_init_filter ignores errors". (stream.c [1.20]: 2002/09/05 331218:07:59 igor) 3313 3314</pre><h2><a name="7.30-Library"></a>Library</h2><pre> 3315 3316Fixes problems: 3317 - Increase fineness of subdivision in axial and radial shadings. 3318Fixes visible banding as reported in SF bug #586178. (gxshade.c [1.12]: 33192002/08/07 07:02:27 raph) 3320 - Radial shading with 2 circles having same origins is not rendered 3321properly. Now it works correctly. (gxshade1.c [1.16]: 2002/08/09 05:44:56 3322jeong) 3323 - Make rectfill of shadings always take gs_fill path, ensuring high 3324level pdfwrite rendering. (gsdps1.c [1.5]: 2002/08/21 17:41:00 raph) 3325 - Go back to old max_error precision values for Type 1 (function 3326based) shadings, as increased precision (still enabled for Types 2 and 3, 3327axial and radial) caused a performance hit. (gxshade.c [1.13]: 2002/08/21 332817:41:21 raph) 3329 - Fixing syntax errors and potentially dangerous warnings with MSVC 3330after DeviceN merge. (gsht1.c [1.8]: 2002/08/22 10:00:48 igor) 3331 - Fix (pdfwrite) : Uninitialized variable in psf_write_type2_font(). 3332(gdevpsf2.c [1.24]: 2002/08/27 13:22:24 igor) 3333 - Yesterday's commit of the delayed loading of a binary halftone 3334cache created some memory management problems. Clear b_tile pointer until 3335the cache is loaded. Modify pointer enum routines to allow for null cache 3336pointer. (gxht.c [1.13]: 2002/08/30 23:37:12 dan) 3337 - Fixing an uninitialized pointer in gs_type0_data_s. 3338(gsfont0c.c [1.2]: 2002/09/02 16:47:37 igor) 3339 - cleanup the new code for the metrowerks compiler on macos. 3340(gdevdgbr.c [1.7], gscolor3.c [1.7], gxwts.c [1.3]: 2002/09/02 21:09:29 3341giles) 3342 - Detect overflow in gs_point_transform2fixed and return limitcheck 3343if overflow would occur. Thanks to Jeong Kim for analysis and suggesting a 3344solution. Final solution uses integer operations. Fixes bug #570181 for 3345Artifex customer #870. (gsmatrix.c [1.7], gxfixed.h [1.7]: 2002/09/04 334606:40:50 ray) 3347 - Remove trailing comma from enum declaration. Some compilers 3348complain about this. (gxclpath.h [1.12]: 2002/09/04 19:55:05 giles) 3349 - Provide an implementation of popen for Windows, to avoid the 3350broken implementation in MSVC++ 5 and 6. This allows pswrite to output to a 3351pipe on Windows. Fixes SourceForge bug #482038, pswrite does not write to 3352pipe. (pipe_.h [1.6]: 2002/09/05 08:34:00 ghostgum) 3353 - Fix (pdfwrite) : (1) Moving the temporary CID font wrapper from 3354stable to non-stable memory, because its descendent font is non-stable; (2) 3355Removing pdf_font_resource::glyphshow_font, because after (1) it points from 3356stable to non-stable memory. (3) representing the "glyphshow_font" 3357association with a search through gs_font_dir::orig_fonts by font id. 3358Introducing a new graphics library function gs_find_font_by_id for (3). 3359Source Forge bug "[603955] (pdfwrite) wrong memory allocation, segv" 3360(gsfont.c [1.12], gsfont.h [1.7], gsfont0c.c [1.3]: 2002/09/05 09:03:42 3361igor) 3362 - Fix : (1) ioerror was missed after opening a stream; (2) 3363pdfwrite/epswrite missed ioerror writing a CFF. Source Forge bug #601238 3364"segv due to s_init_filter ignores errors". (gdevpsf2.c [1.25]: 2002/09/05 336518:07:59 igor) 3366 3367Third and final commit of 7.22 release: bump version numbers to 7.23. 3368(gscdef.c [1.24]: 2002/08/07 06:58:53 raph) 3369 3370Regression testing showed a difference when built with gcc 2.95.4 between 3371-DDEBUG and non DEBUG builds. This showed up as some minor pixel diffs. 3372Change to 'double' from 'float' for some precision sensitive variables so 3373that -DDEBUG matches non DEBUG results. (gxstroke.c [1.6]: 2002/08/16 337400:32:56 ray) 3375 3376DeviceN. (gconf.c [1.6], gdevabuf.c [1.6], gdevbbox.c [1.8], 3377gdevcmap.c [1.5], gdevdbit.c [1.6], gdevdflt.c [1.6], gdevdgbr.c [1.6], 3378gdevdrop.c [1.7], gdevm1.c [1.5], gdevm16.c [1.5], gdevm40.c [1.1], 3379gdevm48.c [1.1], gdevm56.c [1.1], gdevm64.c [1.1], gdevmem.c [1.5], 3380gdevmem.h [1.7], gdevmr1.c [1.5], gdevnfwd.c [1.6], gdevp14.c [1.13], 3381gdevplnx.c [1.5], gdevprn.c [1.11], gdevprn.h [1.12], gdevrops.c [1.6], 3382gdevvec.c [1.16], gsalphac.c [1.6], gsbitops.c [1.6], gsbitops.h [1.6], 3383gsccolor.h [1.5], gscdevn.c [1.10], gscdevn.h [1.7], gscolor.c [1.9], 3384gscolor1.c [1.8], gscolor2.c [1.10], gscolor2.h [1.7], gscpixel.c [1.6], 3385gscscie.c [1.7], gscsepr.c [1.17], gscsepr.h [1.8], gscspace.c [1.7], 3386gscspace.h [1.12], gsdcolor.h [1.8], gsdevice.c [1.15], gsdfilt.c [1.6], 3387gsdfilt.h [1.6], gsdparam.c [1.10], gsdps1.c [1.6], gsht.c [1.6], 3388gsht1.c [1.7], gshtscr.c [1.10], gshtx.c [1.5], gshtx.h [1.6], 3389gsicc.c [1.8], gsimage.c [1.8], gsiparam.h [1.8], gsistate.c [1.7], 3390gslib.c [1.11], gsovrc.c [1.1], gspcolor.c [1.7], gsptype1.c [1.8], 3391gsptype2.c [1.8], gsserial.c [1.1], gsserial.h [1.1], gsshade.c [1.8], 3392gsstate.c [1.16], gsstate.h [1.6], gswts.c [1.1], gswts.h [1.1], 3393gxacpath.c [1.6], gxbitfmt.h [1.5], gxcdevn.h [1.6], gxcht.c [1.8], 3394gxcindex.h [1.5], gxclbits.c [1.7], gxcldev.h [1.9], gxclimag.c [1.7], 3395gxclip.c [1.9], gxclip2.c [1.6], gxclipm.c [1.7], gxclist.c [1.7], 3396gxclpath.c [1.13], gxclpath.h [1.10], gxclrast.c [1.17], gxclread.c [1.8], 3397gxclutil.c [1.8], gxcmap.c [1.6], gxcmap.h [1.6], gxcomp.h [1.6], 3398gxcspace.h [1.8], gxdcconv.c [1.6], gxdcolor.c [1.7], gxdcolor.h [1.7], 3399gxdevcli.h [1.11], gxdevice.h [1.10], gxdevmem.h [1.6], gxdevndi.c [1.1], 3400gxdevndi.h [1.1], gxdht.h [1.8], gxdhtserial.c [1.1], gxdhtserial.h [1.1], 3401gxdither.h [1.6], gxht.c [1.8], gxht.h [1.6], gxicolor.c [1.6], 3402gximag3x.c [1.12], gximage2.c [1.5], gximono.c [1.7], gxipixel.c [1.7], 3403gxiscale.c [1.7], gxistate.h [1.12], gxoprect.c [1.1], gxoprect.h [1.1], 3404gxpcmap.c [1.7], gxpcolor.h [1.6], gxshade.c [1.14], gxstate.h [1.6], 3405gxwts.c [1.1], gxwts.h [1.1], gzht.h [1.9], gzstate.h [1.8]: 2002/08/22 340607:12:28 henrys) 3407 3408From ORIMP: Modified files: src/gsht.c: In gx_imager_dev_ht_install, the 3409comp_number field in the entries for the newly allocated components_array 3410was improperly assigned, due to a typo. Later code checks if the comp_number 3411value matches the component index and, if not, uses the default halftone 3412order for this component. This would cause a typical 4-color device to 3413always use the default halftone component (and leak memory). As part of the 3414same fix, some redundant code in gx_imager_dev_ht_install has been removed, 3415and the code that updates the "used_default" variable in this procedure has 3416been corrected. (gsht.c [1.7]: 2002/08/23 07:43:30 dan) 3417 3418Modified files: src/gstext.h src/gstext.c Added the routine 3419gs_text_update_dev_color, to update the color used for drawing text if this 3420changes during a text operation (e.g.: due to the action of a kshow or cshow 3421procedure). src/zchar.c Modified op_show_continue to call 3422gs_text_update_dev_color in case a cshow or kshow procedure changed the 3423current color (strictly speaking, this is only a problem with kshow). 3424(gstext.c [1.10], gstext.h [1.7]: 2002/08/26 22:51:53 dan) 3425 3426Modified files: 3427 3428 src/gdevdbit.c: 3429 Changed gx_default_fill_mask to use the fill_masked routine of the 3430 device color. This avoids an instance in which a possibly 3431 uninitialized halftone tile is used for drawing. It also makes the 3432 code considerably cleaner. 3433 3434 src/gscdefs.h 3435 Re-installed the definition of extern_gs_find_compositor, which had 3436 in-advertently been lost in a recent code merge. 3437 3438 src/gsdcolor.h 3439 Added the colors.binary.b_level field to the gx_device_color_saved 3440 structure. Also added a comment explaining why this structure is 3441 used rather than the gx_device_color structure itself. 3442 3443 src/gsht.c 3444 This file should be identical to the version released on Aug. 22nd. 3445 We are releasing again here just to guard against this code being 3446 committed without the former change. 3447 3448 src/gsht1.c 3449 Modified the check for "binaryness" of a device color model in 3450 gs_sethalftone_try_wts to handle cases in which not all of the depth 3451 bits are used. 3452 3453 src/gstext.c, 3454 src/gxtext.h 3455 src/zchar.c 3456 These files are identical to the set released on Aug. 23rd (the fix 3457 for color changes in a kshow procedure). We are releasing them again 3458 here to make certain the rest of this code is not committed without 3459 the former change. 3460 3461 src/gxacpath.c 3462 Modified gx_cpath_accum_end to set the new bbox_accurate field rather 3463 than the bbox_set field. This avoids overloading the bbox_set field 3464 in a way that can lead to inconsistent output when the setbbox 3465 operator is used with a path. 3466 3467 src/gxcht.c 3468 src/gxht.c 3469 src/gxdcolor.c 3470 src/gxdcolor.h 3471 Modified the "write" methods for various color spaces so that their 3472 return value can indicate that the operand and last transmitted 3473 colors are the same. Also fixed various bugs uncovered when the 3474 modular device color serialization/de-serialization was first used. 3475 The changes to gxdcolor.h involve only comments. 3476 3477 src/gxcldev.h 3478 1. Added a saved device color (gx_device_color_saved) to the band 3479 state structure. 3480 2. Removed the (long since unnecessary) type operand from the 3481 cmd_put_halftone procedure. 3482 3. Commented out some now obsolete command codes. 3483 3484 src/gxclimag.c 3485 1. Modified clist_fill_mask to work with the new, modular drawing 3486 color serialization/de-serialization routines. 3487 2. Rewrote cmd_put_halftone as required by the new mechanism for 3488 serializing/de-serializing device halftones. 3489 3. Modified various invocations of cmd_put_halftone to discard the 3490 the type operand. 3491 3492 Note: The existing code impose a requirement that image objects that 3493 used a device color (e.g.: image masks) would only be passed 3494 through the command list if that color is pure. We do not 3495 know why this limitation was necessary, and suspect it is no 3496 longer necessary, but we have left it in place for now. 3497 3498 src/gxclist.c 3499 Added gxdcolor.h to the included file list. 3500 3501 src/gxclpath.c 3502 1. Rewrote cmd_put_drawing_color to use the new mechanism for 3503 serialization/de-serialization of device colors. 3504 2. Removed the device color type information from the stroke/ 3505 fill/polyfill commands. 3506 3. Modified cmd_put_path so that "moveto closepath" is not 3507 passed through the command list as just "moveto". 3508 3509 src/gxclpath.h 3510 1. Added the cmd_opv_ext_put_ht_seg, to allow device halftones to be 3511 split across multiple command buffers. Also added the macro 3512 cbuf_ht_seg_max_size, to indicate the largest halftone segment to 3513 be put in a single command buffer. 3514 2. Commented out some now obsolete command codes. 3515 src/gxclrast.c 3516 1. Modified the code to read device halftones and device colors to 3517 use the new serialization/de-serialization methods for these 3518 structures. 3519 2. Modified various locations in which partial/temporary device 3520 colors are used to use the current color for the band. 3521 3. Removed code for the various stroke/fill/polyfill commands that 3522 encode device color type as part of the command. 3523 4. Added code to save the current color when a pure color must be 3524 set to generate a clip region using the fill procedure. 3525 5. Modified the clip path reading code to flatten the clip path 3526 before passing it to the fill operation. This is necessary to 3527 ensure consistent results between the banded and non-banded 3528 cases (the non-banded case also flattens a clip path before 3529 passing it to the fill operation). 3530 3531 src/gxdhtserial.c 3532 1. Updated gx_ht_read_tf and gx_ht_read_and_install to properly 3533 use the reference count in a transfer function. 3534 2. Fixed various other errors discovered when this code was first 3535 used. 3536 3537 src/gxdhtserial.h 3538 Fixed typo. 3539 3540 src/gxpath.c 3541 Initialize the new bbox_accurate field of the gx_path structure to 3542 false in gx_path_init_contents. 3543 3544 src/gxpath2.c 3545 Modified gx_path_bbox to use the bbox_accurate rather than bbox_set 3546 field to determine if the bounding box of a path needs to be 3547 explicitly calculated. If bbox_set is true, the bounding box 3548 in the bbox field will contain the current path, but may be larger 3549 than necessary. Due to a problem in the clip/fill code, the larger 3550 bounding box may generate slightly inconsistent results. 3551 3552 src/gzpath.h 3553 Added the bbox_accurate field to the gx_path_s structure. This field 3554 is used by the clip accumulator device, which avoids the need to 3555 overload the bbox_set field (which is also used by the setbbox 3556 operator). 3557 3558 src/lib.mak 3559 Updated varius dependency lists. 3560(gdevdbit.c [1.7], gscdefs.h [1.6], gsdcolor.h [1.9], gsht.c [1.8], 3561gsht1.c [1.9], gstext.c [1.11], gstext.h [1.8], gxacpath.c [1.7], 3562gxcht.c [1.9], gxcldev.h [1.10], gxclimag.c [1.8], gxclist.c [1.8], 3563gxclpath.c [1.14], gxclpath.h [1.11], gxclrast.c [1.18], gxdcolor.c 3564[1.8], gxdcolor.h [1.8], gxdhtserial.h [1.2], gxht.c [1.9], gxpath.c 3565[1.6], gxpath2.c [1.5], gzpath.h [1.7]: 2002/08/26 23:00:07 dan) 3566 3567Another fix of a problem that had been previously fixed and lost due to a 3568commit of files from ORIMP. MSVC will not accept { } for a structure 3569initializer. Added a zero to keep MSVC happy. Problem previously fixed by 3570Igor. (gsht1.c [1.10]: 2002/08/26 23:07:00 dan) 3571 3572We have traced the difficulties with multiple-band processing in the code 3573we released on Aug. 26 to two problems: 3574 3575 1. The halftone phase information is not adjusted for bands that 3576 start at locations other than the top of the page. 3577 3578 2. The "moveto closepath" style of degenerate path, which our code 3579 allows to be passed through the band list, is used in the path 3580 encoding code to indicate that a path lies entirely outside the 3581 current band (i.e.: all of the path operators between the initial 3582 moveto and the final closepath have been skipped because they are 3583 outside of the band). This resulted in the code passing isolated 3584 "closepath" segments through the command list, which much confused 3585 the band list renderer. 3586 3587The attached code release fixes both of these problems, and a couple of 3588other more minor issues we discovered. With this change, our system has 3589identical output for the banded and unbanded case for the pkmraw device 3590at 300 dpi, for all but one FTS file (027-09.ps). In that one case, the 3591banded and unbanded output are visually identical, so the output difference 3592may not be significant. We will look into this situation, and test some 3593of the other devices in the next day or so. 3594 3595As best we can tell, halftone phase adjustment has never been correctly 3596implemented for the command list device. The pre-DeviceN code handles 3597binary halftone colors properly, but does not set the phase for general 3598colored halftones. General colored halftones are much more common in the 3599DeviceN code, which probably is the reason Dan first noticed the problem 3600with FTS file 245-07.ps (and others) with the DeviceN code. 3601 3602 Jan 3603 3604Modified Files: 3605 3606 src/gsht.c 3607 Modified the code that calculates the lcm_height field of a device 3608 halftone in gx_imager_dev_ht_install to use the full_height rather 3609 than the height of a halftone order. This typo was introduced sometime 3610 during the DeviceN development; the pre-DeviceN code was correct. 3611 3612 src/gsptype1.c 3613 src/gsptype2.c 3614 src/gxwts.c 3615 Added the "get_phase" method to various gx_device_color_type_t 3616 instances. 3617 src/gxcht.c 3618 src/gxht.c 3619 Added the "get_phase" method to a pair of gx_device_color_type_t 3620 instances. Also modified the "write" and "read" methods of these 3621 structures to ignore halftone phase information. This information 3622 must be passed to and be directly handled by the command list 3623 writer code, so that the command list renderer code may correct it 3624 for the band starting coordinates. 3625 3626 src/gxclpath.c 3627 1. Modified cmd_put_drawing_color to directly handle halftone phase 3628 information, using the new "get_phase" method of device colors. 3629 The passing of this information must be perfomed at the command 3630 list level, so that the command list renderer can correct the 3631 phase for the starting point of the band. 3632 2. Also in cmd_put_drawing_color, "unset" the saved color information 3633 if the halftone id does not match the most recently set halftone, 3634 rather than setting the saved color pointer to 0. 3635 3. In cmd_put_path, when processing a segment containing a 3636 moveto followed by a closepath, check if the moveto was to a point 3637 outside of the current band, and discard the closepath if this 3638 is the case. This is necessary to avoid inserting isolated 3639 closepath segments into the command list. 3640 3641 src/gxclrast.c 3642 Added code to initialize the dev_color variable to clist_playback_band 3643 to "no color". 3644 3645 src/gxdcolor.c 3646 src/gxdcolor.h 3647 Added the "get_phase" method to the gx_device_color_type_t structure, 3648 and installed this method in various instances of the structure. Also 3649 provided the two canonical implementations of this method. 3650(gsht.c [1.9], gsptype1.c [1.9], gsptype2.c [1.9], gxcht.c [1.10], 3651gxclpath.c [1.15], gxclrast.c [1.19], gxdcolor.c [1.9], gxht.c [1.10], 3652gxwts.c [1.2]: 2002/08/28 23:11:06 dan) 3653 3654The two files were missed in earlier commits. Missing from the 8-28-02 3655commit form ORIMP. src/gxdcolor.c Added the "get_phase" method to the 3656gx_device_color_type_t structure, and installed this method in various 3657instances of the structure. Also provided the two canonical implementations 3658of this method. Missing from the 8-26-02 commit from ORIMP. 3659src/gxdhtserial.c 1. Updated gx_ht_read_tf and gx_ht_read_and_install to 3660properly use the reference count in a transfer function. 2. Fixed various 3661other errors discovered when this code was first used. (gxdcolor.h [1.9], 3662gxdhtserial.c [1.2]: 2002/08/29 00:11:30 dan) 3663 3664The attached code fixes a minor problem introduced in our release 3665of August 26th. That release changed the behavior of the gx_path_bbox 3666procedure (gxpath2.c) so as to make the banding and non-banding cases 3667consistent. In the process we inadvertently also changed the behavior 3668of the pathbbox operator. This fix restores the proper behavior of 3669that operator. 3670 3671Also included is a modified version of gsht.c for interim use. This is 3672not intended for final release. The gx_imager_dev_ht_install routine 3673is modified in this code to ensure that the halftone caches are also 3674made large enough to provide (at least) one tile per level. Doing so 3675avoids the cache overwrite bug that Dan has described, which avoids 3676many spurious differences in the regression test. Once Dan's fix for 3677the handling of the halftone tile in binary halftone colors is 3678installed, this version of gsht.c may be discarded. 3679 3680Modified files: 3681 src/gspath1.c 3682 Modified gs_upathbbox to call gx_path_bbox_set rather than 3683 gx_path_bbox. The former will return the bounding box set via the 3684 setbbox operator, if that operator has been used for the current 3685 path; otherwise it will return the actual path bounding box. The 3686 latter will always return the actual path bounding box. 3687 3688 src/gxpath.h 3689 src/gxpath2.c 3690 Added the gx_path_bbox_set procedure, which will return the 3691 bounding box set by the setbbox operator if that operator has been 3692 used for the current path. 3693 3694Temporary Files: 3695 3696 src/gsht.c 3697 Modified the gx_imager_dev_ht_install procedure to always allocate 3698 caches large enough to provide (at least) one tile per level. This 3699 is a temporary hack to avoid a bug with the handling of tiles for 3700 binary halftone colors. It is not intended for the final release. 3701(gsht.c [1.10], gspath1.c [1.7], gxpath.h [1.6], gxpath2.c [1.6]: 37022002/08/30 02:38:24 dan) 3703 3704This is a repeat of an earlier commit that was backed out. Its back. Split 3705the binary half tone cache initialization into two pieces. The halftone 3706cache is now initialized just prior to being used in the various halftone 3707render routines. This was done to prevent a problem with cache conflicts. If 3708the half tone cache is not large enough for a separate tile for each level 3709then there could be a problem if two different device colors used the same 3710cache entry but with different level values. (gxht.c [1.11], 3711gximono.c [1.8]: 2002/08/30 04:39:10 dan) 3712 3713A line was left out of the previous commit. This is part of the splitting of 3714the load the binary halftone cache until it is ready to be used. 3715(gxht.c [1.12]: 2002/08/30 06:19:54 dan) 3716 3717Modified File: src/gxdevndi.c Modified gx_render_device_DeviceN to always 3718perform the conversion from color component intensity values to halftone 3719levels in an additive sense, if the gray_colorspace operand is true. This is 3720necessary for compatibility with the pre-DeviceN code. (gxdevndi.c [1.2]: 37212002/09/03 02:58:48 dan) 3722 3723Remove gdevht.c and gdevht.h. Also delete outdated references in lib.mak and 3724a few other files. (gxclrast.c [1.20], gxclread.c [1.9]: 2002/09/04 06:36:36 3725dan) 3726 3727Changes required for compilation on HPUX and Tru64. Add missing header in 3728lib.mak after gxdcolor.h added to gscolor3.c. Change dci_std_color_bits 3729macro to prevent a divide by zero, caused by the compiler not using shortcut 3730evaluation in an initializer. (gxdevcli.h [1.12]: 2002/09/04 21:44:14 3731ghostgum) 3732 3733Add redundant parentheses to dci_std_color_bits macro to work around MSVC 7 3734internal compiler error. (gxdevcli.h [1.13]: 2002/09/05 21:19:20 ghostgum) 3735 3736Update versions, news and bug list for 7.30 alpha release. (gscdef.c [1.25]: 37372002/09/07 17:57:09 giles) 3738 3739</pre><h2><a name="7.30-Other"></a>Other</h2><pre> 3740 3741DeviceN. (gsovrc.h [1.1]: 2002/08/22 07:12:29 henrys) 3742 3743Adds support for the GX_COLOR_INDEX_TYPE define to the autoconf build. The 3744script tries a variety of likely candidates for a 64-bit type and passes the 3745first one found through the GCFLAGS makefile variable. If no such type is 3746found, it does nothing special, allowing the code in gxcindex.h to fallback 3747to a 32-bit type. (configure.ac [1.19]: 2002/09/05 08:54:08 giles) 3748 3749Adds the new devicen-specific devices to the autoconf build. 3750(Makefile.in [1.16]: 2002/09/06 13:41:37 giles) 3751 3752</pre><h2><a name="7.30-DeviceN_Source"></a>DeviceN Source (meerkat)</h2><pre> 3753 3754Wed Aug 21 07:00:00 2002 GMT Henry Stiles henrys@meerkat 3755 3756 * gdevm1.c [1.5] (+2 -2): 3757 gx_default_encode_color() improperly called with non separable and 3758 linear device. Fixes 045-01.ps regression problems. 3759 3760 3761Wed Aug 21 06:00:00 2002 GMT Henry Stiles henrys@meerkat 3762 3763 * zdfilter.c [1.5] (+2 -2), gsdfilt.h [1.4] (+6 -4), gsdfilt.c [1.5] (+7 -3), 3764 gdevp14.c [1.7] (+249 -8): 3765 non-transfer mapped cmap-procs for gdevp14.c. (Raph) 3766 3767 * gxshade.c [1.5] (+2 -2), gsht.c [1.16] (+9 -2), gdevpdfg.c [1.8] (+5 -5): 3768 Modified Files: 3769 src/gdevpdfg.c 3770 Changed various references to the default order component of a device 3771 halftone to refer to the order of the initial component instead. This 3772 avoids use of the (no longer initialized) default order. 3773 3774 src/gsht.c 3775 Modified gs_currentscreenlevels to use the gray component of the current 3776 device halftone (if it exists) rather than the default component. If 3777 the gray component does not exist, the initial component will be used. 3778 3779 src/gxshade.c 3780 Modified shade_init_fill_state to use the order of the initial component 3781 of the current device halftone, rather than the default order. This avoids 3782 use of the (no longer initialized) default order. 3783 3784 3785Mon Aug 19 05:00:00 2002 GMT Henry Stiles henrys@meerkat 3786 3787 * lib.mak [1.24] (+3 -3): 3788 fixes minor merge discrepancy and a typo. 3789 3790 3791Sun Aug 18 08:00:00 2002 GMT Henry Stiles henrys@meerkat 3792 3793 * lib.mak [1.23] (+21 -7), gxwts.c [1.2] (+58 -5), gxpcolor.h [1.5] (+8 -1), 3794 gxht.c [1.9] (+270 -3), gxdhtserial.h [1.1] (+81 -0), gxdhtserial.c [1.1] (+625 -0), 3795 gxdcolor.h [1.7] (+113 -2), gxdcolor.c [1.9] (+301 -5), 3796 gxclpath.h [1.7] (+5 -2), gxcht.c [1.18] (+361 -1), gsserial.h [1.1] (+253 -0), 3797 gsserial.c [1.1] (+365 -0), gsptype2.c [1.4] (+15 -1), gsptype1.c [1.7] (+88 -4), 3798 gsdcolor.h [1.8] (+49 -5): 3799 Attached is the second installment of the code for modular serialization 3800 of device color in the command list. This release includes all of the 3801 necessary support code, but this code has not yet been hooked into the 3802 command list devices (writer and reader). That should be accomplished in 3803 a few days. 3804 3805 Jan 3806 3807 3808 Files Added: 3809 3810 gsserial.c These two files provide a extended and public version 3811 gsserial.h of the little-endian integer encoding used by the 3812 command list. Since serialization can occur 3813 outside of the command list, it is reasonable to have 3814 this facility become a general utility. (For now, 3815 at least, the command-list specific version of this 3816 encoding remains as well.) 3817 3818 gsserial.c includes a unit-test. 3819 3820 3821 gxdhtserial.c Code to serialize device halftones. These are serialized 3822 gxdhtserial.h as a unit, rather than using separate commands for 3823 separate pieces. 3824 3825 3826 Files Modified: 3827 3828 gsdcolor.h Removed the no longer used screens field from the wts 3829 field of the colors union of the gx_device_color 3830 structure. 3831 3832 Added the gx_device_color_saved structure, which may be 3833 used by the command list device to retain information 3834 about the last device color placed in a band. Using this 3835 information can reduce the size of the newly encoded 3836 color. 3837 3838 gxdcolor.h Added methods to the gx_device_color_type_t method 3839 vector to support serialization of device colors. The 3840 new methods are: 3841 3842 save_dc 3843 Create a "saved" version of the device color. The 3844 saved version contains information about the 3845 device color, but does not include any pointers. 3846 It can be used to reduce the amount of information 3847 encoded with a device color. 3848 3849 get_dev_halftone 3850 Return the device halftone used by a device color 3851 (or a null pointer if no device halftone is used). 3852 3853 write 3854 Serialize the device color. 3855 3856 read 3857 Reconstruct the device color from its serial 3858 representation. 3859 3860 Also added prototypes for two utilities to be used 3861 when serializing device colors: gx_dc_write_color 3862 and gx_dc_read_color. These work on color indices. 3863 3864 gxclpath.h Added the codes for cmd_opv_ext_put_halftone and 3865 cmd_opv_ext_put_drawing_color. 3866 3867 gxpcolor.h Added prototypes for gx_dc_pattern_save_dc, 3868 gx_pattern_dc_write, and gx_dc_pattern_read. Since 3869 patterns cannot be passed through the command list, 3870 all of these just return errors. 3871 3872 gsptype1.c Added stubs for the new device color methods. The 3873 gsptype2.c get_dev_halftone method is supported to the extent 3874 possible; it cannot be supported for color 3875 PatternType 1 patterns as their PaintProc procedures 3876 may use multiple patterns. 3877 3878 gxcht.c Added support for the new device color methods for 3879 general (colored halftone ) device colors, including 3880 full serialization support. 3881 3882 gxht.c Added support for the new device color methods for 3883 binary halftone device colors, including full 3884 serialization support. 3885 3886 gxdcolor.c Added support for the new device color methods for 3887 the "no color", transparent, and pure device colors, 3888 including serialization support. Also added the two 3889 utility routines gx_dc_write_color and 3890 gx_dc_read_color, which work on color indices. 3891 3892 gxwts.c Added stubs to support the new device color methods. 3893 Also corrected a few minor compiler complaints. 3894 3895 lib.mak Added targets for gsserial.$(OBJ) and 3896 gxdhtserial.$(OBJ). Also updated some dependency 3897 lists. 3898 3899 * zcolor.c [1.8] (+1 -2): 3900 Modified Files: (jan) 3901 3902 lib/gs_cspace.ps 3903 Added _setcolorspace_nosub, a variation of the setcolorspace operation that 3904 avoids color space substitution. This is required for ICCBased color spaces, 3905 as they may be used to substitute for a device-specific color space, but 3906 use that same device-specific color space as an alternative space. If the 3907 alternative space was used (or even if it wasn't, in the prior code), an 3908 infinite loop would result (the eventual error is execstackoverflow). 3909 3910 lib/gs_icc.ps 3911 Modified the cs_install routine for ICCBased color spaces to use the new 3912 _setcolorspace_nosub procedure. 3913 3914 lib/pdf_draw.ps 3915 Removed the color substitution scheme used by resolvecolorspace. This has 3916 been superseded by the PostScript-based scheme. 3917 3918 lib/pdf_main.ps 3919 Implemented color space substitution using PostScript's method. This works 3920 for all color spaces and, with the above noted modifications to 3921 gs_cspace.ps and gs_icc.ps, avoids infinite-loop problems. The 3922 earlier code did not implement color space substitution for 3923 DeviceCMYK (the code was just missing) and in rare cases could 3924 suffer from infinite loops. 3925 3926 src/zcolor.c 3927 Correct a typo: the .setdevcspace operator was included twice in the 3928 zcolor_op_defs array. 3929 3930 3931Wed Aug 14 04:00:00 2002 GMT Henry Stiles henrys@meerkat 3932 3933 * zusparam.c [1.5] (+2 -1), zfdcte.c [1.4] (+2 -2), zfapi.c [1.4] (+35 -22), 3934 zcsdevn.c [1.8] (+2 -3), zcolor.c [1.7] (+3 -4), zchar1.c [1.4] (+16 -7), 3935 watc.mak [1.3] (+2 -2), version.mak [1.4] (+5 -5), unixinst.mak [1.4] (+5 -5), 3936 unixansi.mak [1.4] (+2 -2), os2.mak [1.4] (+2 -1), openvms.mak [1.4] (+2 -2), 3937 msvclib.mak [1.3] (+2 -2), msvc32.mak [1.8] (+2 -2), macos-fw.mak [1.3] (+3 -10), 3938 libpng.mak [1.4] (+2 -2), gxsync.h [1.4] (+8 -8), gxshade1.c [1.4] (+5 -2), 3939 gxfont.h [1.4] (+2 -1), gxdevice.h [1.11] (+7 -6), gsptype1.c [1.6] (+5 -3), 3940 gsmisc.c [1.4] (+2 -2), gslib.c [1.7] (+6 -7), gsimage.c [1.6] (+5 -2), 3941 gsht1.c [1.10] (+3 -3), gp_macio.c [1.4] (+12 -14), gdevpxat.h [1.4] (+1 -3), 3942 gdevpsft.c [1.4] (+6 -6), gdevpsf2.c [1.4] (+21 -13), gdevpsf.h [1.4] (+3 -2), 3943 gdevprn.h [1.5] (+16 -16), gdevpdtw.c [1.2] (+20 -5), gdevpdtt.h [1.2] (+2 -1), 3944 gdevpdtt.c [1.2] (+4 -6), gdevpdts.c [1.2] (+4 -2), gdevpdti.c [1.2] (+2 -2), 3945 gdevpdtf.h [1.2] (+2 -1), gdevpdtf.c [1.2] (+24 -5), gdevpdte.c [1.2] (+67 -1), 3946 gdevpdtd.c [1.2] (+3 -2), gdevpdtc.c [1.2] (+3 -3), gdevpdtb.h [1.2] (+3 -2), 3947 gdevpdtb.c [1.2] (+72 -5), gdevpdfs.c [1.4] (+3 -3), gdevpdfj.c [1.4] (+4 -4), 3948 gdevpdfi.c [1.4] (+26 -24), gdevpdfg.c [1.7] (+6 -4), gdevpdff.c [1.4] (+10 -5), 3949 gdevpdfe.c [1.4] (+12 -7), gdevp14.c [1.6] (+8 -4), gdevbmpc.c [1.4] (+3 -3), 3950 dwinst.h [1.4] (+2 -2), dwinst.cpp [1.4] (+2 -2), devs.mak [1.14] (+6 -6): 3951 backward forward merge. 3952 3953 3954Mon Aug 12 20:00:00 2002 GMT August Daniel Coby dan@meerkat 3955 3956 * gzht.h [1.7] (+4 -6), gxclrast.c [1.19] (+9 -11), gswts.h [1.2] (+7 -1), 3957 gswts.c [1.2] (+13 -1), gshtx.c [1.9] (+4 -2), gshtscr.c [1.6] (+5 -2), 3958 gsht1.c [1.9] (+31 -14), gsht.c [1.15] (+556 -190): 3959 3960 This is the first part of the code we are providing to allow device 3961 colors to be passed through the command list in a modular manner. The 3962 rest of the code should be released within a couple of days. We are 3963 providing this code first because we need to fix these leaks in order 3964 for the rest of the code to function correctly, but these fixes are 3965 otherwise independent of that code. 3966 3967 src/gsht.c: 3968 3969 a. Added a (moderately hack-ish) mechanism to allow halftone 3970 components to share well-tempered screens. This mechanism uses the 3971 width field of the halftone component, which is nominally not used 3972 for well-tempered screens, to indicate which component "owns" the 3973 screen and can release it. 3974 3975 b. Modified gx_ht_alloc_ht_order and gx_ht_copy_ht_order to handle well- 3976 tempered screens, which do not have levels or bid_data arrays. 3977 3978 c. Created gx_ht_move_ht_order, an analog to gx_ht_copy_ht_order, that 3979 assumes ownership of the structure's reference by a source halftone 3980 order rather than copying them. 3981 3982 d. Modified gx_ht_order_release to handle well-tempered screen 3983 component orders, and to decrement the transfer function 3984 referenced by a halftone order (as opposed to blindly releasing 3985 it). 3986 3987 e. Completely re-wrote gx_imager_dev_ht_install, to fix various memory 3988 leaks and better handle well-tempered screens. See the comments 3989 in the procedure for additional information. 3990 3991 f. Modified gx_ht_install to take ownership of all structures referenced 3992 by the operand device halftone, if it returns successfully. This 3993 matches the behavior of the pre-DeviceN code and is required by 3994 various clients to avoid memory leaks. Any referenced structures 3995 that are not required by the device halftone in the imager state 3996 will be released (again, only on successful completion). 3997 3998 g. Modified gx_imager_set_effective_xfer to ignore the "default" 3999 order in a device halftone. This order is not used for device 4000 halftones installed in the imager state, and 4001 gx_imager_set_effective_xfer should only be called for device 4002 halftones installed in the imager state. 4003 4004 src/gsht1.c: 4005 a. Modified gs_sethalftone_allocated to release any unused parts 4006 of the device halftone in the event that gx_ht_install returns 4007 with an error code. 4008 4009 b. Modified gs_sethalftone_prepare to not allocate a cache for 4010 (traditional) halftone orders. 4011 4012 c. Modified process_transfer to set a reference count of 1 in the 4013 transfer functions. This is appropriate, as the routine 4014 sets a reference to these structures (in the halftone component 4015 order). 4016 4017 d. Simplified the check for bi-level device in gs_sethalftone_try_wts. 4018 4019 e. Used gs_alloc_struct_array in place of malloc for allocating the 4020 component order array in gs_sethalftone_try_wts. 4021 4022 f. Set the num_bits and num_levels values in well-tempered screening 4023 halftone orders to 0. This setting is required to allow them to 4024 be correctly handled by gx_ht_copy_ht_order. 4025 4026 g. Added processing of halftones to gx_sethalftone_try_wts. 4027 4028 4029 src/gshtscr.c: 4030 Modified gs_screen_install to discard any structures referenced by 4031 a device halftone if gx_ht_install returns an error code. 4032 4033 src/gshtx.c 4034 Modified gs_ht_install to discard any structures referenced by 4035 a device halftone if gx_ht_install returns an error code. 4036 4037 src/gswts.c 4038 Added the procedures gs_wts_free_enum and gs_wts_free_screen, to 4039 free gs_wts_screen_enum_t and wts_screen_t structures. 4040 4041 src/gswts.h 4042 Added prototypes for the procedures gs_wts_free_enum and 4043 gs_wts_free_screen. These are used by the device halftone 4044 code to free gs_wts_screen_enum_t and wts_screen_t structures. 4045 4046 src/gxclrast.c 4047 Added code in read_set_ht_data to discard just the allocated 4048 halftone components array, but not any of the structures 4049 it references, after gx_imager_dev_ht_install returns. This is 4050 necessary as gx_imager_dev_ht_install will always copy this 4051 structure, and cannot release the original. 4052 4053 NB: This is an interim change. The mechanism by which halftones 4054 are passed through the command list will change shortly. 4055 4056 src/gzht.h 4057 Modified the prototypes for gx_imager_dev_ht_install and 4058 gx_ht_install to remove the const qualifier for the device 4059 halftone operand. 4060 4061 4062Thu Aug 8 17:00:00 2002 GMT August Daniel Coby dan@meerkat 4063 4064 * int.mak [1.7] (+8 -3): 4065 The zcolor3.c module was accidently dropped. THis module is needed for 4066 the UseCIEColor feature. 4067 4068 4069Sun Aug 4 05:00:00 2002 GMT August Daniel Coby dan@meerkat 4070 4071 * gsht.c [1.14] (+2 -1): 4072 Increment the reference count for the transfer function when a halftone 4073 is copied. 4074 4075 4076Sat Aug 3 20:00:00 2002 GMT August Daniel Coby dan@meerkat 4077 4078 * gsht.c [1.13] (+2 -1): 4079 The halftone transfer function was lost when the "copy halftone" routine 4080 was created. 4081 4082 4083Fri Aug 2 08:00:00 2002 GMT August Daniel Coby dan@meerkat 4084 4085 * zht1.c [1.6] (+1 -2): 4086 This file was left out of the last commit 4087 4088 * zht.c [1.5] (+1 -2), zcolor.c [1.6] (+4 -5), igstate.h [1.7] (+2 -2), 4089 gxistate.h [1.13] (+5 -8), gxclrast.c [1.18] (+3 -6), gxclist.h [1.5] (+2 -2), 4090 gxclimag.c [1.9] (+14 -22), gsistate.c [1.8] (+7 -11), gsht.c [1.12] (+5 -10), 4091 gscolor1.c [1.8] (+3 -3), gscolor.c [1.7] (+5 -7): 4092 The data section of the gray transfer component (from the setcolortransfer 4093 operator) and the 'default_comp' were not both being updated properly. 4094 This resulted in gray transfer functions not being transfered properly 4095 through the clist. The fix involves simply removing the 'default_comp' 4096 and using the gray component for the default and for the settransfer 4097 operator. 4098 4099 4100Thu Aug 1 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4101 4102 * gxicolor.c [1.6] (+2 -2): 4103 A correction to the earlier color image fix. There was a typo in the 4104 CMYK processing which was found in the regression testing. 4105 4106 4107Thu Aug 1 05:00:00 2002 GMT August Daniel Coby dan@meerkat 4108 4109 * gxclimag.c [1.8] (+2 -2): 4110 There was an improper check which was excluding the zeroth component 4111 (which is valid) when putting transfer functions from a setcolortransfer 4112 into the clist. 4113 4114 * gximono.c [1.6] (+2 -22), gxicolor.c [1.5] (+35 -9): 4115 This is the fix for Orimp's image.ps test file. The image processing 4116 routine were special casing 1, 3, and 4 components cases and assuming 4117 that there were Gray, RGB, and CMYK. This did not work for DeviceN 4118 colorspaces. The fix involves using the colorspace remap_color 4119 routine instead of going directly to the cmap_procs. This should be 4120 slightly slower (but will work in all cases). 4121 4122 4123Wed Jul 31 05:00:00 2002 GMT August Daniel Coby dan@meerkat 4124 4125 * gxclrast.c [1.17] (+6 -2): 4126 The component number for transfer functions was not being set properly 4127 in the clist. This was causing an ERROR in dina3_watermark.pdf under 4128 WIndows and MSVC. 4129 4130 4131Thu Jul 25 08:00:00 2002 GMT Henry Stiles henrys@meerkat 4132 4133 * gdevpsdu.c [1.4] (+46 -1), gdevpsdf.h [1.4] (+8 -1), gdevps.c [1.4] (+8 -3), 4134 gdevpdf.c [1.8] (+4 -4), devs.mak [1.13] (+2 -2): 4135 (Jan) Implements the overprint and overprint mode features for the 4136 PostScript and PDF writer devices. These devices have supported the 4137 overprint feature for some time. The modifications allow them to 4138 intercept and discard the create_compositor invocation for the 4139 overprint compositor, as they don't need the compositor and already 4140 access overprint information from the imager state. 4141 4142 Note: This set of changes is quite simple, but we have no easy way to 4143 test the result. Hence, while we believe it very unlikely the 4144 changes will cause discrepancies, we have not actually tested 4145 them (other than to verify compilation). 4146 4147 Modified files: 4148 4149 src/devs.mak 4150 Updated dependency list for gdevpsdu.$(OBJ). 4151 4152 src/gdevpdf.c 4153 Added the methods psdf_get_bits, psdf_get_bits_rectangle, and 4154 psdf_create_compositor to the method vector initialization of the 4155 gs_pdfwrite_device. 4156 4157 src/gdevps.c 4158 Added the methods psdf_get_bits, psdf_get_bits_rectangle, and 4159 psdf_create_compositor to the method vector initialization of the 4160 gs_pswrite_device and gs_epswrite_device. 4161 4162 src/gdevpsdf.h 4163 Added prototypes for the psdf_get_bits, psdf_get_bits_rectangle, 4164 and psdf_create_compositor procedures. 4165 4166 src/gdevpsdu.c 4167 Added the psdf_get_bits, psdf_get_bits_rectangle, and 4168 psdf_create_compositor procedures. The first of these just returns 4169 an unregistered error. The prior code also generated an error if 4170 these methods were called, but via a much more obscure and round- 4171 about route. The psdf_create_compositor procedure recognizes and 4172 discards invocations of the create_compositor method for the overprint 4173 compositor. The PostScript and PDF writers do not need this compositor 4174 to support overprint, and would fail if it were present as it 4175 requires support for the get_bits/get_bits_rectangle methods. 4176 4177 4178Thu Jul 25 07:00:00 2002 GMT Henry Stiles henrys@meerkat 4179 4180 * zht2.c [1.7] (+22 -22), lib.mak [1.22] (+22 -8), gxwts.h [1.1] (+72 -0), 4181 gxwts.c [1.1] (+438 -0), gxshade.c [1.4] (+7 -3), gxdht.h [1.7] (+22 -1), 4182 gxdevndi.c [1.13] (+52 -4), gswts.h [1.1] (+68 -0), gswts.c [1.1] (+1138 -0), 4183 gshtscr.c [1.5] (+72 -55), gsht1.c [1.8] (+121 -2), gsht.c [1.11] (+36 -4), 4184 gsdcolor.h [1.7] (+17 -1): 4185 Raph's well tempered screening code. 4186 4187 * gxdevice.h [1.10] (+3 -1), gxcmap.c [1.27] (+25 -1), gdevdsp.c [1.11] (+8 -5), 4188 gdevdbit.c [1.5] (+19 -10): 4189 Patch from Russel Lang (gsview@ghostgum.com.au) 4190 4191 Anti-aliasing for CMYK devices did not work because 4192 gx_default_copy_alpha converted the new and existing pixel 4193 values to RGB, merged them then remapped the result. This 4194 patch uses decode_color on the two pixels, merges the pixel 4195 color values individually, then uses encode_color on the 4196 result. 4197 4198 To avoid flashes of incorrect colour begin displayed when 4199 the display device size is changed, the display device 4200 erases the page to white immediately after bitmap 4201 allocation. Actually, it was erasing the colour to 4202 RGB(1.0,1.0.1.0) by calling map_rgb_color, which actually 4203 calls encode_color which is expecting CMYK as input. This 4204 resulted in a black background. This patch changes the code 4205 to use encode_color with appropriate values for DeviceGray, 4206 DeviceRGB or DeviceCMYK. 4207 4208 The display device did not work with CMYK anti-aliasing 4209 because the decode_color procedure was decoding to RGB, not 4210 CMYK. This patch adds new cmyk_[18]bit_map_color_cmyk 4211 functions for decode_color. 4212 4213 4214Sun Jul 21 03:00:00 2002 GMT August Daniel Coby dan@meerkat 4215 4216 * gxcmap.h [1.13] (+7 -0): 4217 This file was not included in the previous commit. This file is part of a 4218 fix for restoring the setting othe cmap_procs in the imager state. 4219 4220 4221Sat Jul 20 23:00:00 2002 GMT August Daniel Coby dan@meerkat 4222 4223 * gxcmap.c [1.26] (+8 -1), gxclrast.c [1.16] (+2 -0), gsstate.c [1.9] (+1 -0), 4224 gsdevice.c [1.5] (+6 -1): 4225 The last commit went too far. Not only did it delete the setup of the 4226 cm_color_map_procs, it also deleted the setup of cmap_procs. 4227 This commit corrects that. 4228 4229 4230Sat Jul 20 08:00:00 2002 GMT August Daniel Coby dan@meerkat 4231 4232 * gxistate.h [1.12] (+1 -5), gxcmap.h [1.12] (+1 -8), gxcmap.c [1.25] (+8 -19), 4233 gxclrast.c [1.15] (+1 -3), gsstate.c [1.8] (+1 -2), gsdevice.c [1.4] (+2 -7): 4234 Remove the cm_color_mapping_procs from the imager state. 4235 Instead we are getting the mapping procs directly from the 4236 device as needed. 4237 4238 4239Sat Jul 20 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4240 4241 * gdevx.c [1.5] (+5 -1): 4242 Fixed a problem in x_copy_image. If the image passed to this routine 4243 contains more than one pixel, the colors_and and colors_or fields were 4244 not updated. Because these fields are only used for optimization, and 4245 properly updating them in this situation is potentially expensive, 4246 they are now just set to safe values (colors_and = 0; 4247 colors_or = (x_pixel)(-1)). 4248 4249 4250Thu Jul 18 06:00:00 2002 GMT August Daniel Coby dan@meerkat 4251 4252 * msvc32.mak [1.7] (+14 -7): 4253 Add a conditional to enable 64 bit gx_color_index values. 4254 4255 4256Thu Jul 18 04:00:00 2002 GMT August Daniel Coby dan@meerkat 4257 4258 * gxcmap.c [1.24] (+12 -4): 4259 The previous changes for Seprations color spaces and additive process color 4260 models where only applied to contone devices. This extends it to half tone 4261 devices. 4262 4263 4264Thu Jul 18 01:00:00 2002 GMT August Daniel Coby dan@meerkat 4265 4266 * gscsepr.c [1.14] (+10 -1), gscdevn.c [1.15] (+9 -1): 4267 Always use the alternate tint transform logic if the device color space 4268 is additive. This seem to match both the specification and the action of 4269 Adobe Acrobat. 4270 4271 4272Wed Jul 17 22:00:00 2002 GMT August Daniel Coby dan@meerkat 4273 4274 * gsdll32.rc [1.3] (+3 -3), dwsetup.rc [1.3] (+2 -2), dwmain.rc [1.3] (+3 -3): 4275 Added a couple of changes that Henry missed from the CVS head merge. These 4276 are required so that the MSVC version will build. 4277 4278 4279Wed Jul 17 06:00:00 2002 GMT August Daniel Coby dan@meerkat 4280 4281 * gdevdsp.c [1.10] (+0 -44): 4282 Removed a pair of routines that were not used and caused compile errors 4283 under MSVC. 4284 4285 4286Tue Jul 16 18:00:00 2002 GMT Henry Stiles henrys@meerkat 4287 4288 * gsdps1.c [1.3] (+3 -2): 4289 The following should be prominently posted in full view of all 4290 software engineers: 4291 4292 ***Do not use caches to hold unreplaceable data*** 4293 4294 Failure to follow that rule of good programming is the heart of the 4295 problem with FTS panel 245-04 (file 245-01.ps). 4296 4297 The immediate cause of the problem is the optimization put in the 4298 setcolorspace code to avoid repeatedly setting the same color space. 4299 The steps that lead to the error are the following: 4300 4301 1. The job sets a CIEBasedABC color space as the current color 4302 space. The white and black point information from the color 4303 space dictionary is combined with the white and black point 4304 information in the color rendering dictionary to sample the 4305 TransformPQR procedures in that dictionary. The resulting 4306 data is placed in the joint CIE cache. All of this activity 4307 ends with an execution of the internal operator cie_tpqr_finish 4308 (zcrd.c). This operator has two side-effects: 4309 4310 The TransformPQR data structure in the cie_render structure 4311 of the current state is set to TransformPQR_from_cache, which 4312 indicates that the PQR phase of the CIE color mapping (the 4313 white point point adjustment) is to be done via the joint CIE 4314 cache. 4315 4316 The gs_cie_cs_complete procedure is invoked with the "init" 4317 argument set to false, indicating that no further 4318 initialization is required for the joint CIE caches. This 4319 causes the status flag in those caches to be set to 4320 CIE_JC_STATUS_INITED, indicating that the caches are ready 4321 to use. 4322 4323 2. The job calls gsave. Since the joint CIE caches can be shared by 4324 multiple graphic states, the cache reference count is incremented. 4325 4326 3. The job sets a pattern color space, whose base color space is the 4327 current (CIEBasedABC) color space. 4328 4329 The PostScript interpreter in Ghostscript uses the convention that 4330 a base or alternative color space will always be set as the current 4331 color space immediately before the enclosing color space is set. 4332 The cs_install procedure for the pattern color space 4333 (lib/gs_patrn.ps) invokes setcolorspace on the base space. Because 4334 this is already the current color space, nothing happens. 4335 4336 4. Immediately afterwards, the cs_install procedure invokes the 4337 .setpatternspace operator on the enclosing pattern color space. 4338 Through a couple of layers, this will invoke the "install_cspace" 4339 method for pattern color spaces, the gx_install_Pattern 4340 (gspcolor.c). This will in turn invoke the "install_cspace" method 4341 for the base color space, in this case gx_install_CIE. 4342 4343 5. Through a few additional layers, gx_install_CIE will also call 4344 gs_cie_cs_complete (see (1) above), but this time the "init" 4345 variable will be set to true, indicating that additional 4346 initialization is required. 4347 4348 gs_cie_cs_complete will invoke gx_currentciecaches, whose purpose 4349 is to make sure that new copies of the joint CIE cache is created 4350 when necessary. Since the reference count on the existing cache is 4351 larger than 1 (see (2) above), a unique copy of the cache is created 4352 and is marked as invalid. 4353 4354 6. Subsequently, when drawing is attempted in the base color (the 4355 pattern has PaintType 2), the code will note that the cache is 4356 not yet valid and invoke cie_joint_caches_init (gscie.c). This 4357 routine can do nothing, however, because the TransformPQR structure 4358 for the cie_render structure in the graphic state is set to 4359 TransformPQR_from_cache, indicating that the only data available 4360 for the TransformPQR procedure is in the (now invalidated) cache. 4361 4362 As a fall-back, the CIE color is mapped to RGB by setting all 4363 components to 0, which yields the black output. 4364 4365 The proper fix for this problem is re-designing both the CIE color space 4366 and the color rendering structures so that they retain enough information 4367 to regenerate the joint CIE cache when necessary. Since that is a big 4368 change, the attached modifications take the more modest approach of adding 4369 a "forcesetcolorspace" operator, which will set a color space even if it 4370 is identical to the current color space. 4371 4372 Also included in the set of changes is a minor modification to gs_rectfill 4373 (gsdps1.c) that suppresses direct access to the device's fill_rectangle 4374 procedure if both overprint and overprint mode are true. Since 4375 overprintmode must be applied prior to halftoning, the code must be forced 4376 through one of the higher-level methods which include the pre-halftoned 4377 device color information. 4378 4379 Modified files: 4380 4381 lib/gs_cspace.ps 4382 Added the _setcolorspace procedure, which accepts both a boolean and 4383 a color space dictionary. If the boolean is true, the color space 4384 will not be set if it is the same as the current color space (via a 4385 conservative evaluation). 4386 4387 The setcolorspace pseudo-operator now invokes _setcolorspace with the 4388 boolean operand set to true. A new operator, forcesetcolorspace, 4389 invokes _setcolorspace with boolean set to false. 4390 4391 lib/gs_devn.ps 4392 lib/gs_icc.ps 4393 lib/gs_indxd.ps 4394 lib/gs_patrn.ps 4395 lib/gs_sepr.ps 4396 Replaced setcolorspace with forcesetcolorspace when setting a base or 4397 alternative color space. This is necessary due to some problems in the 4398 handling of the the joint CIE cache in the graphic library. 4399 4400 src/gsdps1.c 4401 Modify gs_rectfill to suppress direct access of a device's 4402 fill_rectangle method if both overprint and overprint mode are set 4403 to true. This is required to make sure the overprint compositor has 4404 access to pre-halftoned device color information with which to 4405 implement overprint mode. 4406 4407 4408Tue Jul 16 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4409 4410 * gxcmap.c [1.23] (+5 -5): 4411 Transfer functions were not be correctly applied when the source colorspace 4412 was CMYK and we were halftoning. 4413 4414 4415Tue Jul 16 04:00:00 2002 GMT Henry Stiles henrys@meerkat 4416 4417 * zvmem2.c [1.3] (+3 -3), zvmem.c [1.3] (+4 -4), zusparam.c [1.4] (+10 -10), 4418 zupath.c [1.3] (+25 -16), ztype.c [1.3] (+3 -3), ztrans.c [1.4] (+38 -9), 4419 ztoken.c [1.3] (+8 -7), zshade.c [1.4] (+52 -36), zrelbit.c [1.3] (+2 -2), 4420 zpcolor.c [1.5] (+5 -5), zpath1.c [1.3] (+8 -8), zpath.c [1.3] (+7 -7), 4421 zmisc2.c [1.3] (+5 -5), zmisc1.c [1.3] (+11 -6), zmedia2.c [1.3] (+22 -18), 4422 zmatrix.c [1.3] (+6 -6), zlib.mak [1.3] (+8 -7), ziodevs.c [1.3] (+3 -3), 4423 ziodev2.c [1.3] (+2 -2), ziodev.c [1.3] (+2 -1), zimage.c [1.4] (+17 -12), 4424 zht2.c [1.6] (+9 -10), zht1.c [1.5] (+3 -3), zht.c [1.4] (+6 -6), 4425 zgstate.c [1.7] (+7 -7), zgeneric.c [1.3] (+9 -9), zfunc4.c [1.3] (+2 -2), 4426 zfunc.c [1.3] (+74 -37), zfsample.c [1.3] (+3 -3), zfrsd.c [1.3] (+17 -10), 4427 zfproc.c [1.3] (+3 -3), zfont42.c [1.3] (+31 -24), zfont0.c [1.3] (+4 -4), 4428 zfont.c [1.3] (+3 -3), zfilter.c [1.3] (+2 -2), zfileio.c [1.3] (+12 -12), 4429 zfile.c [1.3] (+91 -46), zfctest.c [1.1] (+105 -0), zfcmap.c [1.4] (+44 -95), 4430 zfcid1.c [1.3] (+24 -7), zfcid0.c [1.4] (+7 -45), zfapi.c [1.3] (+8 -15), 4431 zdscpars.c [1.3] (+3 -3), zdps1.c [1.3] (+4 -4), zdps.c [1.3] (+2 -2), 4432 zdpnext.c [1.5] (+6 -6), zdouble.c [1.3] (+8 -8), zdfilter.c [1.4] (+2 -23), 4433 zdevice2.c [1.3] (+3 -3), zcsindex.c [1.3] (+2 -2), zcrd.c [1.4] (+72 -11), 4434 zcontrol.c [1.3] (+64 -40), zcontext.c [1.3] (+28 -28), 4435 zcolor.c [1.5] (+40 -47), zcie.c [1.3] (+28 -40), zcidtest.c [1.1] (+145 -0), 4436 zcharout.c [1.3] (+17 -4), zchar42.c [1.3] (+7 -6), zchar1.c [1.3] (+91 -63), 4437 zchar.c [1.3] (+13 -8), zcfont.c [1.3] (+23 -3), zbfont.c [1.3] (+53 -86), 4438 winlib.mak [1.5] (+1 -7), winint.mak [1.3] (+22 -20), watcw32.mak [1.3] (+2 -2), 4439 watclib.mak [1.4] (+2 -2), version.mak [1.3] (+4 -4), vdtrace.h [1.3] (+31 -31), 4440 vdtrace.c [1.3] (+2 -5), unixlink.mak [1.3] (+10 -18), unixinst.mak [1.3] (+23 -23), 4441 unixansi.mak [1.3] (+8 -12), unix-gcc.mak [1.9] (+10 -14), 4442 unix-dll.mak [1.3] (+12 -12), unix-aux.mak [1.3] (+2 -1), 4443 unistd_.h [1.3] (+2 -2), ugcclib.mak [1.3] (+24 -5), szlibxx.h [1.3] (+5 -5), 4444 strimpl.h [1.3] (+3 -3), stream.h [1.3] (+47 -47), stream.c [1.3] (+14 -14), 4445 stdpre.h [1.3] (+15 -29), stdpn.h [1.1] (+51 -0), stdio_.h [1.3] (+2 -2), 4446 std.h [1.3] (+15 -17), srdline.h [1.3] (+5 -5), spsdf.h [1.3] (+10 -12), 4447 spprint.h [1.3] (+27 -27), slzwx.h [1.3] (+3 -3), sjpegc.c [1.3] (+46 -2), 4448 sjpeg.h [1.3] (+26 -30), siscale.c [1.3] (+2 -2), siinterp.c [1.3] (+2 -2), 4449 shcgen.h [1.3] (+9 -9), shc.h [1.3] (+3 -3), sfxstdio.c [1.3] (+12 -12), 4450 sfxfd.c [1.3] (+15 -15), seexec.c [1.3] (+16 -4), sdct.h [1.3] (+2 -2), 4451 sdcparam.h [1.3] (+19 -19), scommon.h [1.3] (+19 -11), scfetab.c [1.3] (+2 -2), 4452 scfe.c [1.3] (+6 -6), scfdtab.c [1.2] (+3 -3), scfdgen.c [1.3] (+11 -17), 4453 scfd.c [1.3] (+5 -5), sbwbs.c [1.3] (+2 -2), sbcp.h [1.3] (+3 -3), 4454 sa85d.c [1.3] (+2 -2), pipe_.h [1.3] (+3 -3), os2.mak [1.3] (+7 -8), 4455 opextern.h [1.3] (+86 -86), oper.h [1.3] (+2 -2), openvms.mmk [1.3] (+14 -2), 4456 openvms.mak [1.3] (+7 -6), opdef.h [1.3] (+3 -3), opcheck.h [1.3] (+2 -2), 4457 oparc.h [1.3] (+4 -4), msvc32.mak [1.6] (+32 -19), memory_.h [1.3] (+14 -8), 4458 md5main.c [1.1] (+139 -0), md5.h [1.2] (+18 -21), md5.c [1.3] (+73 -108), 4459 math_.h [1.3] (+2 -2), malloc_.h [1.3] (+2 -2), main.h [1.3] (+2 -2), 4460 macosx.mak [1.2] (+8 -13), macos-mcp.mak [1.3] (+2 -2), 4461 macos-fw.mak [1.2] (+7 -2), libpng.mak [1.3] (+2 -2), lib.mak [1.21] (+124 -63), 4462 jpeg.mak [1.3] (+2 -2), ivmem2.h [1.3] (+3 -3), iutil2.h [1.3] (+6 -6), 4463 iutil.h [1.4] (+29 -29), iutil.c [1.6] (+2 -2), itoken.h [1.3] (+7 -7), 4464 istruct.h [1.3] (+2 -2), istream.h [1.3] (+7 -7), istack.h [1.3] (+27 -28), 4465 istack.c [1.3] (+4 -4), iscannum.h [1.3] (+3 -3), iscannum.c [1.3] (+28 -4), 4466 iscanbin.h [1.3] (+3 -3), iscanbin.c [1.3] (+11 -7), iscan.h [1.3] (+16 -13), 4467 iscan.c [1.3] (+7 -5), isave.h [1.3] (+16 -16), isave.c [1.3] (+14 -14), 4468 iref.h [1.3] (+189 -108), ireclaim.c [1.3] (+4 -4), iplugin.h [1.3] (+7 -7), 4469 ipcolor.h [1.3] (+3 -3), iparray.h [1.3] (+3 -3), iparam.h [1.3] (+18 -18), 4470 iparam.c [1.3] (+18 -18), interp.h [1.3] (+15 -15), interp.c [1.3] (+15 -14), 4471 int.mak [1.6] (+112 -59), inames.h [1.3] (+17 -17), inamedef.h [1.3] (+4 -4), 4472 iname.c [1.3] (+4 -4), imemory.h [1.3] (+12 -12), imainarg.h [1.3] (+3 -4), 4473 imainarg.c [1.3] (+21 -21), imain.h [1.3] (+47 -50), imain.c [1.3] (+11 -15), 4474 ilocate.c [1.3] (+5 -4), iinit.h [1.3] (+5 -5), iinit.c [1.3] (+6 -4), 4475 iimage2.h [1.4] (+4 -4), iimage.h [1.4] (+10 -10), iht.h [1.3] (+5 -5), 4476 igstate.h [1.6] (+2 -2), igcstr.h [1.3] (+7 -7), igcstr.c [1.3] (+2 -2), 4477 igc.h [1.3] (+11 -11), igc.c [1.3] (+14 -14), ifwpred.h [1.3] (+4 -4), 4478 ifunc.h [1.3] (+12 -16), ifrpred.h [1.3] (+4 -4), ifont42.h [1.3] (+8 -8), 4479 ifont2.h [1.3] (+3 -3), ifont1.h [1.3] (+12 -12), ifont.h [1.3] (+4 -13), 4480 ifilter2.h [1.3] (+5 -5), ifilter.h [1.3] (+18 -18), ifcid.h [1.3] (+5 -5), 4481 ifapi.h [1.3] (+1 -2), idstack.h [1.3] (+3 -3), idstack.c [1.3] (+2 -2), 4482 idparam.h [1.3] (+37 -37), idosave.h [1.3] (+5 -5), idict.h [1.3] (+23 -23), 4483 idict.c [1.3] (+3 -3), idebug.h [1.3] (+9 -9), idebug.c [1.3] (+5 -5), 4484 iddstack.h [1.3] (+3 -3), icsmap.h [1.3] (+5 -5), icontext.h [1.3] (+8 -8), 4485 icontext.c [1.3] (+2 -1), icolor.h [1.3] (+7 -7), icie.h [1.3] (+31 -31), 4486 icid.h [1.3] (+2 -2), icharout.h [1.3] (+15 -15), ichar1.h [1.3] (+5 -5), 4487 ichar.h [1.3] (+14 -14), icclib.mak [1.3] (+2 -2), iccfont.c [1.3] (+9 -4), 4488 ibnum.h [1.3] (+9 -9), iapi.h [1.3] (+45 -75), iapi.c [1.3] (+3 -3), 4489 ialloc.h [1.3] (+8 -8), gzpath.h [1.3] (+11 -11), gzline.h [1.3] (+2 -2), 4490 gzht.h [1.6] (+47 -47), gzacpath.h [1.3] (+7 -7), gxxfont.h [1.3] (+19 -21), 4491 gxtype1.h [1.3] (+22 -22), gxtype1.c [1.3] (+41 -26), gxttf.h [1.3] (+2 -2), 4492 gxtmap.h [1.3] (+5 -5), gxtext.h [1.3] (+20 -20), gxsync.h [1.3] (+13 -13), 4493 gxstroke.c [1.3] (+18 -18), gxstate.h [1.4] (+14 -14), gxshade6.c [1.3] (+3 -3), 4494 gxshade4.h [1.3] (+10 -10), gxshade4.c [1.3] (+2 -3), gxshade1.c [1.3] (+242 -22), 4495 gxshade.h [1.3] (+30 -22), gxshade.c [1.3] (+31 -15), gxsample.h [1.3] (+3 -3), 4496 gxrplane.h [1.3] (+3 -3), gxropc.h [1.3] (+3 -3), gxpdash.c [1.3] (+4 -4), 4497 gxpcopy.c [1.3] (+4 -4), gxpcolor.h [1.4] (+23 -23), gxpcmap.c [1.5] (+3 -3), 4498 gxpcache.h [1.3] (+2 -2), gxpath.h [1.3] (+82 -83), gxpath.c [1.3] (+4 -4), 4499 gxpaint.h [1.3] (+15 -15), gxpageq.h [1.3] (+24 -24), gxpageq.c [1.3] (+4 -4), 4500 gxp1impl.h [1.3] (+3 -3), gxp1fill.c [1.3] (+3 -3), gxop1.h [1.3] (+5 -5), 4501 gxmclip.h [1.3] (+5 -5), gxmatrix.h [1.3] (+7 -7), gxline.h [1.3] (+4 -5), 4502 gxistate.h [1.11] (+54 -40), gxipixel.c [1.4] (+9 -9), gxiparam.h [1.3] (+26 -26), 4503 gxiodev.h [1.3] (+42 -27), gximage3.h [1.3] (+25 -25), gximage3.c [1.3] (+2 -2), 4504 gximage.h [1.3] (+12 -12), gximage.c [1.3] (+3 -3), gximag3x.h [1.3] (+27 -27), 4505 gximag3x.c [1.4] (+8 -8), gxifast.c [1.3] (+2 -2), gxidata.c [1.3] (+7 -7), 4506 gxiclass.h [1.3] (+4 -4), gxht.h [1.5] (+11 -11), gxht.c [1.8] (+3 -3), 4507 gxhint3.c [1.3] (+4 -4), gxhint2.c [1.3] (+4 -4), gxhint1.c [1.3] (+7 -7), 4508 gxgetbit.h [1.3] (+9 -9), gxfunc.h [1.3] (+30 -8), gxfont42.h [1.3] (+36 -16), 4509 gxfont1.h [1.3] (+18 -10), gxfont0c.h [1.1] (+59 -0), gxfont0.h [1.3] (+8 -3), 4510 gxfont.h [1.3] (+62 -40), gxfmap.h [1.3] (+5 -5), gxfixed.h [1.3] (+8 -8), 4511 gxfill.c [1.3] (+20 -20), gxfcopy.h [1.1] (+142 -0), gxfcopy.c [1.1] (+1618 -0), 4512 gxfcmap1.h [1.1] (+119 -0), gxfcmap.h [1.3] (+231 -94), 4513 gxfcid.h [1.3] (+9 -7), gxfcache.h [1.3] (+17 -12), gxfarith.h [1.3] (+5 -5), 4514 gxfapi.h [1.3] (+5 -5), gxfapi.c [1.3] (+4 -4), gxdither.h [1.6] (+2 -2), 4515 gxdhtres.h [1.3] (+2 -2), gxdht.h [1.6] (+9 -10), gxdevmem.h [1.6] (+29 -29), 4516 gxdevice.h [1.9] (+32 -32), gxdevcli.h [1.11] (+114 -114), 4517 gxdevbuf.h [1.3] (+11 -11), gxdcolor.h [1.6] (+14 -14), 4518 gxdcconv.h [1.3] (+9 -9), gxctable.h [1.3] (+5 -5), gxcspace.h [1.6] (+23 -23), 4519 gxcpath.h [1.3] (+9 -9), gxcpath.c [1.3] (+4 -4), gxcoord.h [1.3] (+4 -4), 4520 gxcomp.h [1.4] (+7 -8), gxcolor2.h [1.3] (+6 -6), gxcmap.h [1.11] (+16 -16), 4521 gxclread.c [1.3] (+12 -12), gxclrast.c [1.14] (+47 -47), 4522 gxclpath.h [1.6] (+13 -13), gxclpath.c [1.4] (+5 -5), gxclpage.h [1.3] (+5 -5), 4523 gxclmem.h [1.3] (+3 -3), gxclmem.c [1.3] (+3 -3), gxclist.h [1.4] (+11 -11), 4524 gxclist.c [1.4] (+2 -2), gxclipm.c [1.4] (+2 -2), gxclip2.h [1.3] (+6 -6), 4525 gxclip.h [1.3] (+15 -15), gxclip.c [1.4] (+6 -5), gxclio.h [1.3] (+15 -17), 4526 gxclimag.c [1.7] (+25 -28), gxcldev.h [1.6] (+56 -59), gxcie.h [1.3] (+13 -13), 4527 gxcid.h [1.3] (+9 -5), gxcht.c [1.17] (+5 -5), gxchrout.h [1.3] (+2 -2), 4528 gxchar.h [1.3] (+16 -16), gxchar.c [1.3] (+44 -23), gxcdevn.h [1.5] (+5 -5), 4529 gxccman.c [1.3] (+7 -7), gxccache.c [1.4] (+24 -19), gxbcache.h [1.3] (+8 -8), 4530 gxarith.h [1.3] (+5 -5), gxalloc.h [1.3] (+19 -17), gswin386.rc [1.2] (+2 -2), 4531 gswin32.rc [1.2] (+2 -2), gswin16.icx [1.1] (+34 -0), gswin.rc [1.3] (+3 -3), 4532 gswin.icx [1.1] (+787 -0), gsutil.h [1.3] (+9 -9), gsutil.c [1.4] (+24 -13), 4533 gsuid.h [1.3] (+5 -3), gstypes.h [1.3] (+10 -1), gstype42.c [1.5] (+51 -25), 4534 gstype2.c [1.3] (+5 -8), gstype1.h [1.3] (+9 -9), gstrap.h [1.3] (+2 -2), 4535 gstrap.c [1.3] (+2 -2), gstrans.h [1.3] (+25 -25), gstrans.c [1.3] (+11 -11), 4536 gstparam.h [1.3] (+2 -2), gstext.h [1.3] (+53 -53), gstext.c [1.3] (+33 -4), 4537 gsstype.h [1.3] (+8 -8), gsstruct.h [1.3] (+23 -10), gsstate.h [1.4] (+24 -26), 4538 gsstate.c [1.7] (+8 -8), gsshade.h [1.3] (+34 -34), gsshade.c [1.3] (+8 -18), 4539 gsropt.h [1.3] (+2 -2), gsropc.h [1.3] (+4 -4), gsrop.h [1.3] (+9 -9), 4540 gsrefct.h [1.3] (+7 -7), gsrect.h [1.3] (+3 -3), gsptype2.h [1.3] (+2 -3), 4541 gsptype1.h [1.3] (+31 -31), gsptype1.c [1.5] (+6 -6), gspcolor.h [1.3] (+7 -7), 4542 gspath2.h [1.3] (+6 -6), gspath1.c [1.3] (+2 -2), gspath.h [1.3] (+32 -33), 4543 gspath.c [1.3] (+3 -3), gsparamx.h [1.3] (+11 -11), gsparams.h [1.3] (+5 -5), 4544 gsparams.c [1.3] (+11 -11), gsparam2.c [1.3] (+12 -6), gsparam.h [1.3] (+66 -66), 4545 gspaint.h [1.3] (+7 -7), gsnotify.h [1.3] (+12 -12), gsnotify.c [1.3] (+2 -2), 4546 gsnogc.c [1.3] (+2 -2), gsmemret.h [1.3] (+11 -11), gsmemraw.h [1.3] (+10 -10), 4547 gsmemory.h [1.3] (+32 -32), gsmemlok.h [1.3] (+7 -7), gsmdebug.h [1.3] (+2 -2), 4548 gsmatrix.h [1.3] (+20 -19), gsmatrix.c [1.3] (+9 -9), gsmalloc.h [1.3] (+7 -7), 4549 gsmalloc.c [1.4] (+2 -12), gsline.h [1.3] (+31 -31), gslib.h [1.3] (+5 -5), 4550 gslib.c [1.6] (+15 -16), gsiparm4.h [1.3] (+2 -2), gsiparm3.h [1.3] (+3 -3), 4551 gsiparm2.h [1.3] (+2 -2), gsiparam.h [1.4] (+21 -20), gsipar3x.h [1.3] (+2 -3), 4552 gsiodisk.c [1.1] (+886 -0), gsiodevs.c [1.3] (+2 -2), gsimpath.c [1.3] (+4 -4), 4553 gsimage.h [1.3] (+20 -21), gsimage.c [1.5] (+2 -2), gsicc.h [1.3] (+4 -4), 4554 gshtx.h [1.6] (+6 -6), gshtscr.c [1.4] (+3 -3), gsht1.h [1.3] (+6 -6), 4555 gsht1.c [1.7] (+10 -11), gsht.h [1.3] (+10 -11), gsht.c [1.10] (+2 -2), 4556 gshsb.h [1.3] (+3 -3), gshsb.c [1.3] (+3 -3), gsgc.h [1.3] (+2 -2), 4557 gsfuncv.h [1.3] (+6 -6), gsfunc4.h [1.3] (+6 -6), gsfunc4.c [1.3] (+67 -3), 4558 gsfunc3.h [1.3] (+16 -16), gsfunc3.c [1.3] (+195 -4), gsfunc0.h [1.3] (+6 -6), 4559 gsfunc0.c [1.3] (+36 -3), gsfunc.h [1.3] (+40 -14), gsfunc.c [1.3] (+98 -2), 4560 gsfont0c.c [1.1] (+130 -0), gsfont.h [1.3] (+27 -23), gsfont.c [1.3] (+41 -27), 4561 gsfname.h [1.3] (+7 -7), gsflip.h [1.3] (+4 -4), gsflip.c [1.3] (+3 -3), 4562 gsfcmap1.c [1.1] (+670 -0), gsfcmap.h [1.3] (+20 -7), gsfcmap.c [1.3] (+268 -502), 4563 gsfcid2.c [1.1] (+325 -0), gsfcid.c [1.3] (+8 -1), gsexit.h [1.3] (+18 -6), 4564 gserver.c [1.3] (+14 -14), gserror.h [1.3] (+2 -2), gsdsrc.h [1.3] (+3 -3), 4565 gsdps.h [1.3] (+5 -5), gsdps.c [1.3] (+2 -2), gsdparam.c [1.5] (+9 -10), 4566 gsdfilt.h [1.3] (+1 -8), gsdevice.h [1.3] (+34 -34), gsdcolor.h [1.6] (+5 -5), 4567 gscssub.h [1.3] (+8 -8), gscspace.h [1.10] (+27 -20), gscsepr.h [1.6] (+11 -11), 4568 gscsepr.c [1.13] (+10 -10), gscrypt1.h [1.3] (+5 -5), gscrdp.h [1.3] (+13 -13), 4569 gscrd.h [1.3] (+30 -30), gscpixel.h [1.3] (+2 -2), gscoord.h [1.3] (+19 -12), 4570 gscoord.c [1.3] (+3 -3), gscompt.h [1.3] (+2 -2), gscolor3.h [1.3] (+4 -4), 4571 gscolor2.h [1.4] (+7 -7), gscolor2.c [1.6] (+2 -2), gscolor1.h [1.4] (+18 -12), 4572 gscolor1.c [1.7] (+3 -3), gscolor.h [1.4] (+9 -7), gscolor.c [1.6] (+3 -4), 4573 gsclipsr.h [1.3] (+3 -3), gscindex.h [1.3] (+20 -20), gsciemap.c [1.3] (+3 -3), 4574 gscie.h [1.3] (+67 -46), gscie.c [1.3] (+110 -78), gschar0.c [1.3] (+35 -4), 4575 gschar.h [1.3] (+31 -31), gschar.c [1.3] (+3 -3), gscencs.h [1.1] (+70 -0), 4576 gscencs.c [1.1] (+181 -0), gscedata.h [1.1] (+31 -0), gscedata.c [1.1] (+3633 -0), 4577 gscdevn.h [1.7] (+12 -12), gscdevn.c [1.14] (+6 -6), gscdefs.h [1.4] (+3 -7), 4578 gscdef.c [1.3] (+3 -3), gsccode.h [1.3] (+56 -42), gsbittab.c [1.3] (+2 -2), 4579 gsbitops.h [1.5] (+21 -21), gsargs.h [1.3] (+9 -9), gsargs.c [1.3] (+2 -2), 4580 gsalphac.h [1.3] (+4 -4), gsalphac.c [1.6] (+5 -5), gsalpha.h [1.3] (+3 -3), 4581 gsalloc.h [1.3] (+10 -10), gsalloc.c [1.3] (+17 -24), gs16spl.rc [1.3] (+2 -2), 4582 gs.mak [1.7] (+8 -1), gs.c [1.3] (+11 -3), gpsync.h [1.3] (+13 -13), 4583 gpmisc.h [1.3] (+3 -3), gpgetenv.h [1.3] (+2 -2), gpcheck.h [1.3] (+3 -3), 4584 gp_vms.c [1.3] (+2 -2), gp_unix.c [1.3] (+4 -3), gp_unifs.c [1.3] (+2 -2), 4585 gp_strdl.c [1.3] (+2 -2), gp_os9.c [1.3] (+4 -3), gp_os2.c [1.3] (+4 -3), 4586 gp_mswin.c [1.3] (+4 -3), gp_msio.c [1.3] (+2 -2), gp_macio.c [1.3] (+10 -10), 4587 gp_mac.c [1.3] (+5 -5), gp_iwatc.c [1.3] (+5 -4), gp_getnv.c [1.3] (+2 -2), 4588 gp_dvx.c [1.3] (+3 -2), gp.h [1.3] (+29 -29), geninit.c [1.3] (+6 -6), 4589 gendev.c [1.3] (+2 -2), genconf.c [1.4] (+15 -15), genarch.c [1.3] (+6 -4), 4590 gdevxxf.c [1.3] (+2 -2), gdevxini.c [1.6] (+3 -3), gdevxcmp.c [1.4] (+4 -1), 4591 gdevxcf.c [1.8] (+4 -11), gdevxalt.c [1.4] (+4 -4), gdevx.h [1.3] (+10 -10), 4592 gdevx.c [1.4] (+12 -16), gdevwprn.c [1.3] (+4 -4), gdevwddb.c [1.3] (+4 -4), 4593 gdevvec.h [1.3] (+74 -74), gdevupd.c [1.4] (+42 -42), gdevtifs.h [1.3] (+12 -12), 4594 gdevtfax.h [1.3] (+3 -3), gdevtfax.c [1.3] (+3 -3), gdevsvga.h [1.3] (+8 -8), 4595 gdevsvga.c [1.3] (+13 -13), gdevstc.h [1.3] (+2 -2), gdevstc.c [1.4] (+7 -7), 4596 gdevsco.c [1.3] (+5 -5), gdevs3ga.c [1.3] (+3 -3), gdevpxut.h [1.3] (+23 -23), 4597 gdevpx.c [1.3] (+3 -5), gdevpsu.h [1.3] (+13 -13), gdevpsu.c [1.3] (+2 -2), 4598 gdevpsim.c [1.3] (+7 -8), gdevpsfx.c [1.3] (+3 -2), gdevpsft.c [1.3] (+257 -122), 4599 gdevpsfm.c [1.3] (+68 -42), gdevpsf2.c [1.3] (+94 -39), 4600 gdevpsf1.c [1.3] (+15 -13), gdevpsf.h [1.3] (+88 -63), gdevpsdu.c [1.3] (+3 -5), 4601 gdevpsds.h [1.3] (+32 -4), gdevpsds.c [1.3] (+232 -1), gdevpsdp.c [1.3] (+68 -68), 4602 gdevpsdi.c [1.4] (+45 -16), gdevpsdf.h [1.3] (+57 -48), 4603 gdevps.c [1.3] (+128 -66), gdevprna.h [1.3] (+5 -5), gdevprna.c [1.3] (+10 -10), 4604 gdevprn.h [1.4] (+49 -49), gdevprn.c [1.5] (+4 -4), gdevppla.h [1.3] (+14 -14), 4605 gdevpm.c [1.3] (+1 -2), gdevplnx.h [1.3] (+4 -5), gdevpjet.c [1.3] (+3 -3), 4606 gdevpdtx.h [1.1] (+95 -0), gdevpdtw.h [1.1] (+68 -0), gdevpdtw.c [1.1] (+452 -0), 4607 gdevpdtt.h [1.1] (+203 -0), gdevpdtt.c [1.1] (+876 -0), 4608 gdevpdts.h [1.1] (+142 -0), gdevpdts.c [1.1] (+558 -0), 4609 gdevpdti.h [1.1] (+81 -0), gdevpdti.c [1.1] (+360 -0), gdevpdtf.h [1.1] (+364 -0), 4610 gdevpdtf.c [1.1] (+751 -0), gdevpdte.c [1.1] (+568 -0), 4611 gdevpdtd.h [1.1] (+132 -0), gdevpdtd.c [1.1] (+586 -0), 4612 gdevpdtc.c [1.1] (+519 -0), gdevpdtb.h [1.1] (+129 -0), 4613 gdevpdtb.c [1.1] (+557 -0), gdevpdt.h [1.1] (+99 -0), gdevpdt.c [1.1] (+57 -0), 4614 gdevpdfx.h [1.3] (+206 -167), gdevpdfw.c [1.3] (+30 -39), 4615 gdevpdfv.c [1.3] (+176 -86), gdevpdfu.c [1.3] (+168 -103), 4616 gdevpdft.h [1.1] (+106 -0), gdevpdft.c [1.3] (+192 -48), 4617 gdevpdfs.c [1.3] (+202 -119), gdevpdfr.c [1.3] (+58 -5), 4618 gdevpdfp.c [1.3] (+83 -78), gdevpdfo.h [1.3] (+74 -61), 4619 gdevpdfo.c [1.3] (+107 -20), gdevpdfm.c [1.3] (+166 -48), 4620 gdevpdfk.c [1.2] (+111 -67), gdevpdfj.c [1.3] (+204 -33), 4621 gdevpdfi.c [1.3] (+113 -52), gdevpdfg.h [1.3] (+101 -62), 4622 gdevpdfg.c [1.6] (+40 -45), gdevpdff.h [1.3] (+53 -63), 4623 gdevpdff.c [1.3] (+90 -58), gdevpdfe.c [1.3] (+11 -12), 4624 gdevpdfd.c [1.3] (+37 -30), gdevpdfc.h [1.2] (+2 -2), gdevpdfc.c [1.4] (+85 -24), 4625 gdevpdfb.c [1.3] (+35 -47), gdevpdf.c [1.7] (+99 -110), 4626 gdevpcx.c [1.3] (+3 -3), gdevpcl.h [1.3] (+6 -6), gdevpcfb.h [1.3] (+7 -7), 4627 gdevpcfb.c [1.3] (+8 -8), gdevpccm.h [1.3] (+2 -2), gdevpbm.c [1.8] (+60 -5), 4628 gdevp14.c [1.5] (+12 -2), gdevokii.c [1.3] (+2 -2), gdevmsxf.c [1.3] (+6 -6), 4629 gdevmswn.h [1.3] (+8 -8), gdevmswn.c [1.3] (+2 -2), gdevmrun.h [1.3] (+2 -2), 4630 gdevmrop.h [1.3] (+16 -16), gdevmpla.h [1.3] (+3 -3), gdevmgr.c [1.3] (+3 -3), 4631 gdevmem.h [1.5] (+2 -2), gdevmeds.h [1.3] (+3 -3), gdevmacxf.c [1.3] (+3 -3), 4632 gdevm8.c [1.3] (+7 -7), gdevijs.c [1.2] (+3 -3), gdevifno.c [1.2] (+8 -8), 4633 gdevhl7x.c [1.3] (+2 -2), gdevherc.c [1.3] (+3 -3), gdevfax.h [1.3] (+10 -10), 4634 gdevepsn.c [1.3] (+2 -2), gdevepsc.c [1.4] (+2 -2), gdevdsp.c [1.9] (+49 -3), 4635 gdevdrop.c [1.4] (+2 -2), gdevdm24.c [1.3] (+3 -3), gdevdljm.h [1.2] (+5 -5), 4636 gdevdljm.c [1.2] (+4 -1), gdevdjtc.c [1.3] (+3 -3), gdevdjet.c [1.2] (+8 -4), 4637 gdevdgbr.c [1.6] (+10 -10), gdevdevn.c [1.10] (+12 -11), 4638 gdevdcrd.h [1.3] (+3 -3), gdevdbit.c [1.4] (+2 -2), gdevcmap.h [1.3] (+3 -3), 4639 gdevcgml.h [1.3] (+97 -71), gdevcgml.c [1.3] (+15 -15), 4640 gdevcdj.c [1.4] (+20 -20), gdevbmpa.c [1.3] (+5 -5), gdevbmp.h [1.3] (+3 -3), 4641 gdevbjcl.h [1.3] (+33 -35), gdevbj10.c [1.3] (+44 -4), gdevbbox.h [1.3] (+12 -12), 4642 gdevalph.c [1.3] (+2 -2), gdev8bcm.h [1.3] (+6 -6), gdev8510.c [1.3] (+3 -3), 4643 gdebug.h [1.3] (+8 -8), files.h [1.3] (+28 -28), fapiufst.c [1.3] (+14 -14), 4644 estack.h [1.3] (+2 -2), errors.h [1.3] (+7 -1), echogs.c [1.3] (+5 -5), 4645 dxmain.c [1.3] (+105 -47), dwuninst.rc [1.3] (+2 -2), dwtrace.h [1.2] (+6 -3), 4646 dwtext.c [1.3] (+26 -53), dwmainc.c [1.3] (+9 -1), dwinst.h [1.3] (+2 -1), 4647 dwinst.cpp [1.3] (+10 -1), dwimg.h [1.4] (+2 -1), dwimg.c [1.3] (+10 -6), 4648 dvx-gcc.mak [1.3] (+6 -10), dscparse.h [1.3] (+23 -35), 4649 dscparse.c [1.3] (+42 -42), dpmain.c [1.3] (+10 -6), devs.mak [1.12] (+215 -64), 4650 contrib.mak [1.3] (+5 -3), ccfont.h [1.3] (+16 -18), btoken.h [1.3] (+5 -5), 4651 bfont.h [1.3] (+26 -27), bench.c [1.3] (+2 -3), bcwin32.mak [1.3] (+49 -8), 4652 bcc32.cfg [1.2] (+1 -1), all-arch.mak [1.3] (+6 -7), Makefile.in [1.1] (+420 -0): 4653 backward merge of 7.22 to the devicen branch. 4654 4655 4656Sun Jul 14 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4657 4658 * gxcmap.c [1.22] (+8 -8): 4659 Limit the last commit to only affecting the /All separation. A /Blue 4660 separation is set to its component value without inversion. See the 4661 MagicEye.pdf test file for an example. 4662 4663 4664Sat Jul 13 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4665 4666 * gxcmap.c [1.21] (+13 -4): 4667 Invert the sense of Separation component values if the the device is 4668 using an additive color model. Separation colors are always subtractive. 4669 4670 4671Fri Jul 12 23:00:00 2002 GMT August Daniel Coby dan@meerkat 4672 4673 * gximono.c [1.5] (+29 -2), gxht.c [1.7] (+75 -42), gxdcolor.h [1.5] (+0 -2): 4674 Back out the last commit. The theory is good and I still have hope for 4675 the concept. However it currently creates 532 errors in the regression 4676 testing. Thus it is being backed out (for now). 4677 4678 4679Fri Jul 12 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4680 4681 * gximono.c [1.4] (+3 -30), gxht.c [1.6] (+43 -76), gxdcolor.h [1.4] (+3 -1): 4682 Split the half tone cache initialization into two pieces. The halftone 4683 cache is now initialized just prior to being used in the various 4684 halftone render routines. This was doe to prevent a problem with cache 4685 conflicts. If the half tone cache is not large enough for a separate 4686 tile for each level then there could be a problem if two different 4687 device colors used the same cache entry but with different level values. 4688 4689 4690Tue Jul 9 02:00:00 2002 GMT August Daniel Coby dan@meerkat 4691 4692 * gxicolor.c [1.4] (+13 -25): 4693 This commit is to remove the change from yesterday. That commit has 4694 some serious flaws. It fixed a small problem by creating some larger ones. 4695 4696 There is still a flaw in the logic of image_render_color. It is creating 4697 a pair of device colors. Unfortunately, the process of creating the second 4698 one can change a half tone cache used by the first. This affects the final 4699 image when the first color is then used to image pixels. 4700 4701 4702Mon Jul 8 20:00:00 2002 GMT Henry Stiles henrys@meerkat 4703 4704 * gdevxini.c [1.5] (+1 -5): 4705 (Jan) fixes infinite recursion in x11alpha device. 4706 4707 4708Mon Jul 8 19:00:00 2002 GMT Henry Stiles henrys@meerkat 4709 4710 * gdevmem.c [1.7] (+3 -1): 4711 memory devices are now processed thought the "expert system". 4712 4713 * unix-gcc.mak [1.8] (+2 -2): 4714 adds in the bbox device for testing... not sure why it was ever taken 4715 out. 4716 4717 4718Mon Jul 8 06:00:00 2002 GMT August Daniel Coby dan@meerkat 4719 4720 * gxicolor.c [1.3] (+27 -15): 4721 image_render_color creates a pair of device colors and then compares them. 4722 Unfortunately the process of creating the second device color can alter 4723 the halftone cache used by the first. This can occur when the halftone 4724 cache is small (4096 bytes) and there is not enough room for a cache 4725 entry for each level. The fix is to reload the cache by remapping the 4726 first color before it is used to render a pixel. 4727 4728 Note: This problem also affects non DeviceN code but is less visible 4729 since a large cache (100000 bytes) is used for many situations. 4730 4731 4732Wed Jul 3 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4733 4734 * gxht.c [1.5] (+2 -2): 4735 Change the return code from gx_check_tile_size to indicate that there is 4736 no imager state half tone cache. 4737 4738 4739Thu Jun 27 22:00:00 2002 GMT August Daniel Coby dan@meerkat 4740 4741 * gxclbits.c [1.4] (+2 -2): 4742 We were off by one in the map data written into the clist. 4743 4744 4745Tue Jun 25 18:00:00 2002 GMT Henry Stiles henrys@meerkat 4746 4747 * lib.mak [1.20] (+6 -4), gxoprect.h [1.2] (+1 -1), gxoprect.c [1.2] (+2 -2), 4748 gxcomp.h [1.3] (+30 -2), gxcmap.c [1.20] (+5 -2), gxclutil.c [1.4] (+5 -4), 4749 gxclrast.c [1.13] (+91 -12), gxclpath.h [1.5] (+12 -2), 4750 gxclimag.c [1.6] (+35 -6), gsstate.c [1.6] (+9 -4), gsovrc.c [1.3] (+40 -18), 4751 gscolor.c [1.5] (+3 -1), gscdefs.h [1.3] (+5 -1), gsalphac.c [1.5] (+8 -7), 4752 gs.mak [1.6] (+3 -1), genconf.c [1.3] (+17 -2), gdevx.c [1.3] (+5 -1), 4753 gdevdgbr.c [1.5] (+6 -2), gconf.c [1.3] (+25 -1): 4754 Modified Files: 4755 4756 lib/gs_ll3.ps 4757 Added code to create the setoverprintmode and currentoverprintmode 4758 operators. 4759 4760 src/gconf.c 4761 Add the gx_compositor_list array, to list the set of compositor 4762 types compiled into the system. Also provided the gs_find_compositor 4763 procedure, to locate a compositor method vector based on its 4764 type identifier. 4765 4766 src/gdevdgbr.c 4767 Fixed several bugs in gx_get_bits_copy, for cases in which the 4768 transfer of output data involves a skew (bit shift) but no color 4769 conversion (a case that is apparently used only by the overprint 4770 facility). This case uses the copy_mono method for the 1-bit 4771 memory device. The invocation of this method had two problems: 4772 4773 1. The temporary device created for the transfer had uninitialized 4774 width and height fields. Because copy_mono will invoke the 4775 fit_copy macro, these fields must be set to reasonable values. 4776 4777 2. The width passed to copy_mono must be bit-width, as the 4778 method for a depth == 1 device is used. Previously, the 4779 pixel width was used. 4780 4781 src/gdevx.c 4782 Fixed a problem in x_copy_image. If the image passed to this routine 4783 contains more than one pixel, the colors_and and colors_or fields were 4784 not updated. Because these fields are only used for optimization, and 4785 properly updating them in this situation is potentially expensive, 4786 they are now just set to safe values (colors_and = 0; 4787 colors_or = (x_pixel)(-1)). 4788 4789 src/genconf.c 4790 Added to "-comp" option to support construction of a list of 4791 compositors compiled into the system. 4792 4793 src/gs.mak 4794 Added the SETCOMP and ADDCOMP macros, to provide access to the 4795 -comp option of genconf.c. 4796 4797 src/gsalphac.c 4798 Exported the gs_composite_alpha_type structure, and added a compositor 4799 type identifier to this structure. Also modified the de-serialization 4800 (read) method for this size so that the data string provided be large 4801 enough but not necessarily exactly the right size, and to return the 4802 number of bytes actually read (or an error code). 4803 4804 src/gscdefs.h 4805 Added a prototye for gs_find_compositor (see gconf.c above). 4806 4807 src/gscolor.c 4808 Modified gx_set_device_color_1 to turn off overprint (and overprint 4809 mode). 4810 4811 src/gsovc.c: 4812 1. Modified the de-serialization method (read) to return the number of 4813 bytes actually read (or an error code). 4814 2. Renamed gs_overprint_type to be gs_composite_overprint_type, so as 4815 to conform to the new convention for compositor names. 4816 3. For the overprint devices, set the get_xfont_procs, get_xfont_device, 4817 and text_begin methods to use the corresponding default methods, 4818 rather than the forwarding methods. Device-supported fonts are 4819 incompatible with overprint, as the required low-level calls may 4820 not be made. While the text_begin method is not itself a rendering 4821 method, it does record an imaging device, and this device must 4822 be the overprint device rather than the target device. If the 4823 forwarding text_begin method is used, the recorded imaging device 4824 would be the target device. 4825 4. Modified update_overprint_params to avoid use of the overprint 4826 devices for cases in which overprint is true, but all color 4827 components are to be drawn. Though the output is not changed, use 4828 of the non-overprint device improves performance in this case. 4829 5. Modified the default overprint compositor creation method 4830 (c_overprint_create_default_compositor) to ignore overprint 4831 requests if the current color model has only a single component. 4832 Overprinting can never have an effect in this situation, and 4833 avoiding these cases also avoids difficulties with mask caching 4834 devices (such as are used with the character cache). 4835 4836 src/gsstate.c 4837 Modified gs_state_update_overprint to update the color model mapping 4838 procedures and unset the device color. Though updating the overprint 4839 status will never change the color model, the overprint devices 4840 require a special set of forwarding color model mapping procedures. 4841 4842 src/gxclimag.c 4843 Implemented the clist_create_compositor procedure (the create_compositor 4844 method for the command list device). 4845 4846 src/gxclpath.c 4847 Replaced the cmd_opv_put_params code (0xdf) with cmd_opv_extend. This 4848 code indicates that the subsequent byte should be read and interpreted 4849 as a command from the gx_cmd_ext_op enumeration. Currently, this 4850 enumeration has two elements, cmd_opv_ext_put_params (the put_params 4851 method) and cmd_opv_ext_create_compositor (the create_compositor 4852 method). 4853 4854 src/gxclrast.c 4855 1. Made the code parsing changes required by the new cmp_opv_extend 4856 code (see gxclpath.h above). 4857 2. Added the read_create_compositor procedure, to interpret the 4858 cmd_opv_ext_create_compositor command. 4859 4860 src/gxclutil.c 4861 Modified cmd_put_params for the new cmp_opv_extend/cmd_opv_ext_put_params 4862 coding techinque. 4863 4864 src/gxcmap.c 4865 Modified gx_set_cmap_procs to handle devices that have no 4866 get_color_mapping_procs method (such as mask caching devices). 4867 4868 src/gxcomp.h 4869 Added the comp_id field to the gs_composite_type_t structure. Also 4870 added macros for the alpha and overprint compositors (the only two 4871 compositors in the current system). 4872 4873 src/gxoprect.c 4874 Fixed typo in pack_scanline_lt8: the source data pointer was not 4875 being advanced. 4876 4877 src/gxoprect.h 4878 Fixed typo in RCS identifier comment. 4879 4880 src/lib.mak 4881 1. Updated several dependency lists. 4882 2. Added code to generate the list of compiled compositors. 4883 4884 4885Sat Jun 22 00:00:00 2002 GMT August Daniel Coby dan@meerkat 4886 4887 * gxcmap.c [1.19] (+2 -3): 4888 Fix an infinite loop in the separation logic. Bug created in the last 4889 commit. I was too carried away with clean up. 4890 4891 4892Fri Jun 21 22:00:00 2002 GMT August Daniel Coby dan@meerkat 4893 4894 * gxcmap.c [1.18] (+9 -5), gscsepr.c [1.12] (+5 -3): 4895 We still were not correctly setting the separation use_alt_cspace flag for 4896 the None and All cases. We also were not correctly setting colorant values 4897 for the All case. 4898 4899 4900Fri Jun 21 19:00:00 2002 GMT August Daniel Coby dan@meerkat 4901 4902 * gscsepr.c [1.11] (+22 -1), gscdevn.c [1.13] (+3 -3): 4903 More clean up on separation color spaces. Report the alternate color space 4904 as the concrete space if we are using the alternate space. 4905 4906 4907Fri Jun 21 07:00:00 2002 GMT August Daniel Coby dan@meerkat 4908 4909 * gscsepr.c [1.10] (+32 -5), gscdevn.c [1.12] (+7 -3): 4910 Corrected some problems in the Separation color space. The color cache 4911 assumed that there was only one component. We were not correctly using 4912 the alternate color space in the remap_concrete routine. 4913 4914 4915Thu Jun 20 06:00:00 2002 GMT August Daniel Coby dan@meerkat 4916 4917 * gxdevndi.c [1.12] (+2 -2), gxcmap.c [1.17] (+5 -2): 4918 One more revision about when to use render_gray versus render_color math. 4919 4920 4921Wed Jun 19 05:00:00 2002 GMT August Daniel Coby dan@meerkat 4922 4923 * lib.mak [1.19] (+2 -2), gxcmap.h [1.10] (+8 -1), gxcmap.c [1.16] (+4 -4), 4924 gdevnfwd.c [1.8] (+83 -7): 4925 Changes the forwarding device so that there are forwarding procedures for 4926 the color space to color model mapping procs. Corrects a problem found 4927 by henry with multi4.ps and the spotcmyk device. 4928 4929 4930Tue Jun 18 03:00:00 2002 GMT August Daniel Coby dan@meerkat 4931 4932 * gzht.h [1.5] (+19 -1), gxistate.h [1.10] (+8 -10), gximono.c [1.3] (+4 -1), 4933 gxht.c [1.4] (+14 -3), gxclrast.c [1.12] (+3 -34), gxcht.c [1.16] (+4 -11), 4934 gsstate.c [1.5] (+1 -11), gsistate.c [1.7] (+7 -12), gshtscr.c [1.3] (+2 -2), 4935 gsht1.c [1.6] (+3 -29), gsht.c [1.9] (+84 -43): 4936 Removes the half tone cache from the imager state structure. Changes the 4937 way that half tones are copied. Changes where half tone caches are 4938 allocated. Previously there were problems with half tone elements being 4939 released multiple times. This created havoc with memory management. 4940 4941 4942Tue Jun 11 05:00:00 2002 GMT August Daniel Coby dan@meerkat 4943 4944 * gxdevndi.c [1.11] (+45 -36): 4945 One more revision of the "joint gray and color math". 4946 The last version had a problem in that the gray calculation might miss 4947 the fact that the calculation had produced a solid color (due to rounding 4948 in the calculation). Then it would access an array out of bounds. 4949 4950 4951Tue Jun 4 05:00:00 2002 GMT Henry Stiles henrys@meerkat 4952 4953 * lib.mak [1.18] (+9 -3), gxoprect.h [1.1] (+76 -0), gxoprect.c [1.1] (+621 -0), 4954 gxdcconv.c [1.3] (+3 -3), gsovrc.h [1.2] (+1 -1), gsovrc.c [1.2] (+117 -9), 4955 gscdevn.c [1.11] (+2 -1), gsbitops.h [1.4] (+4 -1), gsbitops.c [1.3] (+135 -76), 4956 gdevdflt.c [1.10] (+153 -5): 4957 code set from ORIMP to enable overprint and overprint mode. 4958 4959 New Files: 4960 4961 src/gxoprect.c 4962 src/gxoprect.h 4963 These files provide the low-level code for the fill_rectangle method 4964 of the overprint compositor device. There are three such procedures, 4965 which are used in different circumstances: 4966 4967 gx_overprint_generic_fill_rectangle is always applicable, but is 4968 very slow as it must decode and re-encode the color for each pixel. 4969 4970 gx_overprint_sep_fill_rectangle_1 is applicable to separable and 4971 linear color encodings whose depth is a divisor of 4972 8 * sizeof(mono_fill_chunk) = 32. This is always the 4973 case if depth <= 8. The code used in this case is, once past a 4974 large amount of setup, about as fast as can be achieved while 4975 using get_bits_rectangle. 4976 4977 gx_overprint_sep_fill_rectangle_2 is applicable to all other 4978 separable and linear color encodings (all of which will have 4979 depth % 8 = 0). This uses a byte-wise method which is in principle 4980 slower than what could be achieved with a chunk-wise method, but 4981 is much easier to code in the general case (i.e.: for multiple 4982 possible depths). It will likely be faster in practice. 4983 4984 Modified Files: 4985 4986 lib/gs_init.ps 4987 lib/gs_setpd.ps 4988 Modified erasepage (and several other bits of code that erase the 4989 page) to turn off overprint before filling the page. This is necessary 4990 to preserve the meaning of erasepage. 4991 4992 src/gsbitops.c 4993 src/gsbitops.h 4994 Added the bits_fill_rectangle_masked procedure, a generalization of 4995 the bits_fill_rectangle procedure that allows for a component mask. 4996 Also generalized bits_fill_rectangle (and bits_fill_rectangle_masked) 4997 to support depth > 8, so long as 4998 (8 * sizeof(mono_fill_chunk)) % depth = 0. 4999 5000 Currently, bits_fill_rectangle_masked is used only by the overprint 5001 compositor device, but it can also be used by devices that can 5002 directly implement overprint (such as the memory device). 5003 5004 src/gscdevn.c 5005 Modified check_DeviceN_component_names to initialize the 5006 component_map.sep_type field of the imager state to SEP_OTHER. 5007 Previously this field was not set for DeviceN color spaces, which 5008 confused some of the overprint code. 5009 5010 src/gsovrc.c 5011 Implemented the real overprint_fill_rectangle procedures. As part of 5012 this work, added the local procedure swap_color_index, that swaps 5013 bytes in a color index as required to work with byte-oriented bitmaps 5014 on little-endian devices (only if depth > 8). 5015 5016 Also fixed a parity bug in the creation of the retain_mask. 5017 5018 src/gsovrc.h 5019 Fixed typo (/* $Id: History7.htm,v 1.44 2005/10/20 19:46:23 ray Exp $Id: History7.htm,v 1.44 2005/10/20 19:46:23 ray Exp $ */). 5020 5021 src/gxdcconv.c 5022 Modified color_rgb_to_cmyk to work if the imager state pointer 5023 operand is a null pointer. Note that in this case full undercolor 5024 removal and black generation will be performed, which is consistent 5025 with other such conversions in the code that do not have access to 5026 the imager state, but differs from the mapping used if the imager 5027 state is available but has no blackgeneration or undercolor removal 5028 map. 5029 5030 src/lib.mak 5031 Added the gxoprect.$(OBJ) target and included this as a dependency 5032 in LIB4s. Also updated some other dependency lists. 5033 5034 5035 Additional file modified (not for overprint but needed for release): 5036 5037 src/gdevdflt.c 5038 Added code to select a reasonable default value for the decode_color 5039 method, as this method is used extensively by the generic overprint 5040 implementation routines. The modifications are just a first pass to 5041 allow us to test the overprint code; they are not intended as a 5042 final solution. 5043 5044 5045Mon Jun 3 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5046 5047 * gxdither.h [1.5] (+5 -2), gxdevndi.c [1.10] (+10 -4), 5048 gxcmap.c [1.15] (+7 -7): 5049 A revised version of the "match the reference version" math for half tone 5050 level calculations. This was done to match the regression reference math. 5051 5052 5053Fri May 31 22:00:00 2002 GMT August Daniel Coby dan@meerkat 5054 5055 * gxdevcli.h [1.10] (+2 -2): 5056 Corrected gx_device_has_color() macro. It was reporting gray scale devices 5057 as color devices. 5058 5059 5060Fri May 31 21:00:00 2002 GMT August Daniel Coby dan@meerkat 5061 5062 * gxdevndi.c [1.9] (+8 -11): 5063 Add a kludge to emulate the different calculations used for gray versus 5064 color halftone levels. This is done to minimize regressions during 5065 regression testing. 5066 5067 * gdevpbm.c [1.7] (+9 -5): 5068 Correct the pgmraw device. The encode color routine was using three 5069 components instead of one for encoding the color. 5070 5071 5072Thu May 30 03:00:00 2002 GMT Henry Stiles henrys@meerkat 5073 5074 * gxcmap.c [1.14] (+11 -4): 5075 fix from ORIMP so that gx_default_b_w_map_rgb_color() can be used as 5076 an encode color procedure with devices of 1 color component. 5077 5078 5079Wed May 29 07:00:00 2002 GMT August Daniel Coby dan@meerkat 5080 5081 * lib.mak [1.17] (+3 -3): 5082 Changed a typo (gsoverc.h vs gsovrc_h). This prevented building under MSVC. 5083 5084 5085Wed May 29 06:00:00 2002 GMT Henry Stiles henrys@meerkat 5086 5087 * gsovrc.h [1.1] (+303 -0), gsovrc.c [1.1] (+1041 -0): 5088 These should have been added in the last checkin. 5089 5090 * zpcolor.c [1.4] (+3 -2), zmisc.c [1.3] (+14 -2), zgstate.c [1.6] (+6 -7), 5091 zfdcte.c [1.3] (+2 -2), lib.mak [1.16] (+18 -7), iutil.c [1.5] (+13 -4), 5092 gxpcolor.h [1.3] (+7 -1), gxpcmap.c [1.4] (+6 -2), gxipixel.c [1.3] (+3 -6), 5093 gxht.c [1.3] (+43 -2), gxdcolor.h [1.3] (+30 -1), gxdcolor.c [1.8] (+39 -4), 5094 gxcspace.h [1.5] (+19 -13), gxclrast.c [1.11] (+13 -7), 5095 gxcht.c [1.15] (+31 -3), gxccache.c [1.3] (+6 -1), gsstate.h [1.3] (+14 -1), 5096 gsstate.c [1.4] (+99 -7), gsptype2.c [1.3] (+3 -2), gsptype1.c [1.4] (+26 -5), 5097 gspcolor.c [1.4] (+15 -2), gslib.c [1.5] (+9 -1), gsimage.c [1.4] (+3 -2), 5098 gsicc.c [1.3] (+2 -55), gsdevice.c [1.3] (+8 -2), gscspace.h [1.9] (+1 -9), 5099 gscspace.c [1.4] (+203 -29), gscsepr.h [1.5] (+1 -7), gscsepr.c [1.9] (+4 -51), 5100 gscscie.c [1.4] (+9 -5), gscpixel.c [1.6] (+16 -10), gscolor2.c [1.5] (+16 -33), 5101 gscdevn.c [1.10] (+3 -21), gdevp14.c [1.4] (+25 -2): 5102 checkin for three separate code set releases from ORIMP, release 5103 notes follow in reverse chronological order. 5104 5105 Notes: 5106 5107 Modified files: 5108 5109 gsstate.c 5110 Added code to ignore an error return from the create_compositor call 5111 in gs_state_update_overprint if the call was made to turn off 5112 overprint. This avoids errors for device configurations that do not 5113 (yet) support the create_compositor call, when running files that do 5114 not require overprint support. 5115 5116 gsovrc.h 5117 Fixed a typo in a commment. 5118 5119 gxclrast.c 5120 Fixed a re-entrancy problem in read_set_color_space that was introduced 5121 by the previous modification to this file. 5122 5123 gsimage.c 5124 Added a comment concerning re-entrancy, and slightly modified another 5125 comment. 5126 5127 gscspace.c 5128 Added some comments concerning re-entrancy. 5129 5130 Notes: 5131 5132 Modified Files: 5133 5134 src/gsovrc.c 5135 Added full compositor device "plumbing". The overprint compositor 5136 now does all of the required device creation and setup work. The 5137 only piece still missing are implementations of the low-level 5138 rendering routines that actually implement overprint. 5139 5140 src/gsptype1.c 5141 src/gsptype2.c 5142 src/gxcht.c 5143 src/gxdcolor.c 5144 src/gxdcolor.h 5145 src/gxht.c 5146 src/gxpcolor.h 5147 Added the method get_nonzero_comps to the gx_device_color_type_t 5148 structure (the gx_device_color methods). This method is used by 5149 the overprint code to determine which color component intensities 5150 have non-zero value, which must be known to implement overprint 5151 mode. 5152 5153 src/gsovrc.h 5154 src/gscspace.c 5155 Changed the drawn_comps field of the gs_overprint_params_t 5156 structure from a byte array to a gx_color_index. This is a bit 5157 ugly, as the value is a bit map rather than an encoded color, 5158 but allows much simpler processing. (As in device colors, a 5159 gx_color_index is used because it is known to be large enough. 5160 5161 src/lib.mak 5162 Updated dependency list for gsovrc.$(OBJ). 5163 5164 Notes: 5165 5166 New Files: 5167 5168 src/gsovrc.c 5169 Implementation of the overprint compositor. For the moment, this is 5170 just a stub. This file will grow considerably in the next two releases. 5171 5172 5173 src/gsovrc.h 5174 Interface to the overprint compositor. This is in essentially final 5175 form, even though only a stub implementation of the compositor is 5176 available. This file also includes a lengthy comment describing when 5177 the compositor must be updated. 5178 5179 5180 Modified Files: 5181 5182 lib/gs_ciecs2.ps 5183 lib/gs_ciecs3.ps 5184 lib/gs_cspace.ps 5185 lib/gs_devcs.ps 5186 lib/gs_devn.ps 5187 lib/gs_devpxl.ps 5188 lib/gs_icc.ps 5189 lib/gs_indxd.ps 5190 lib/gs_patrn.ps 5191 lib/gs_sepr.ps 5192 Incorporated an optimization of setcolorspace from the casper head. 5193 The optimization avoids setting the color space if it is the same as 5194 the current color space. gs_icc.ps also contains a fix for a bug 5195 in the handling of DataSources that are streams (rather than strings; 5196 Dan discovered and analyzed this bug). 5197 5198 Note that this is a fairly complex optimization, and there were many 5199 problems with the head code that needed to be resolved. Among these 5200 were: 5201 5202 1. An invocation of setcolorspace should always set the default 5203 color for the operand color space, even if that color space is 5204 identical to the current color space. 5205 5206 2. If UseCIEColor is true, setcolorspace must be executed if 5207 the operand color space involves device-specific color spaces. 5208 This is because the Default{Gray,RGB,CMYK} instances of the 5209 ColorSpace resource category may have changed. 5210 5211 3. When UseCIEColor is changed from true to false in setpagedevcie, 5212 the implicit initgraphics invocation must perform a setcolorspace 5213 operation, even if the current color space is DeviceGray. This 5214 is necessary to ensure that the un-substituted DeviceGray color 5215 space is set as the current color space. 5216 5217 5218 lib/gs_init.ps 5219 In /showpage, replace the sequence "erasepage ... initgraphics" with 5220 "initgraphics 1 setcolor .fillpage 0 setcolor". This has the desired 5221 effect, and avoids two unnecessay invocations of setcolorspace. 5222 5223 5224 lib/gs_setpd.ps 5225 1. Modified the currentpagedevice pseudo-operator for cases in which 5226 the stored page device must be copied. Previously, the new copy 5227 was allocated in the current VM mode, which could cause 5228 invalidaccess errors if currentpagedevice was invoked while in 5229 global VM mode and composite objects stored in the page device 5230 dictionary were in local VM (this problem is present in the PS3 5231 FTS). The new code will allocate the copy in the save VM as the 5232 original dictionary. 5233 5234 2. In setpagedevice, added code to set current color space to 5235 something other than DeviceGray if modification of the page device 5236 will set UseCIEColor to false. This is necessary for the 5237 setcolorspace optimization to function properly (see above). 5238 5239 3. In the .postinstall pseudo-operator, replaced "erasepage initgraphics" 5240 with "initgraphics 1 setcolor .fillpage 0 setcolor". This avoids 5241 two unnecessary invocations of setcolorspace. 5242 5243 5244 src/gdevp14.c 5245 Added the pdf14_create_compositor method. This method will check if 5246 the compositor to be created is the overprint compositor. If so, 5247 the request to create the compositor will simply be ignored, as 5248 the gs_pdf14_device and its associated marking device must implement 5249 overprint directly. 5250 5251 5252 src/gscdevn.c 5253 1. Removed the equality check method. 5254 5255 2. Added the set_overprint method for DeviceN color spaces. 5256 5257 5258 src/gscolor2.c 5259 1. Removed the equality check method. 5260 5261 2. Added the set_overprint method for Indexed color spaces. 5262 5263 5264 src/gscpixel.c 5265 1. Removed the equality check method. 5266 5267 2. Added the set_overprint method for DevicePixel color spaces. 5268 5269 5270 src/gscscie.c 5271 1. Removed the equality check method. 5272 5273 2. Added the set_overprint method for CIEBased color spaces. 5274 5275 5276 src/gscsepr.c 5277 1. Removed the equality check method. 5278 5279 2. Added the set_overprint method for Separation color spaces. 5280 5281 3. Moved the gs_{set|current}overprint[mode] procedures to gsstate.c. 5282 5283 5284 src/gscsepr.h 5285 Moved prototypes for the gs_{set|current}overprint[mode] procedures 5286 to gsstate.h. 5287 5288 5289 src/gscspace.c 5290 1. Removed the color space equality check methods for the device- 5291 specific color spaces. 5292 5293 2. Added the basic set_overprint procedures, to provide color-space 5294 specific setting of the overprint compositor. 5295 5296 3. Modified the gs_cspace_{build|init}_Device{Gray|RGB|CMYK} 5297 procedures to use the same identifier for all instances of 5298 the parameterless color spaces (i.e.: all DeviceGray instances 5299 will have the same id, as will all DeviceRGB instances, but the 5300 id for any DeviceGray will differ from the id for a DeviceRGB 5301 instance). This enables an optimization in the gs_setcolorspace 5302 routine that had been lost in the previous code modification. 5303 5304 5305 src/gscspace.h 5306 Removed prototype for the gs_color_space_equal procedure. 5307 5308 5309 src/gsicc.c 5310 1. Removed the equality check method. 5311 5312 2. Added the set_overprint method for ICCBased color spaces. 5313 5314 5315 src/gslib.c 5316 Modified test9 to explicitly reset the current color space; this 5317 is no longer done by gs_initgraphics. 5318 5319 5320 src/gspcolor.c 5321 Added set_overprint method for pattern color spaces, removed the 5322 equality check method. 5323 5324 5325 src/gsstate.c 5326 1. Added code to update the overprint compositor when the current 5327 color space, current device, overprint, or overprint mode 5328 settings change. Included in this change is code in gs_grestore_only 5329 that updates the overprint compositor as part of the grestore 5330 operation when this is required. 5331 5332 2. Moved the gs_{set|current}overprint[mode] procedures to this file 5333 from gscsepr.c. This is more convenient for the new code, and 5334 gscsepr.c was never a particularly appropriate place for these 5335 routines. 5336 5337 3. Modified gs_initgraphics to not reset the current color space or 5338 current color. For PostScript this must now be done in the 5339 PostScript code to properly handle color space substitution. 5340 Other clients that use this procedure (the XL interpreter is the 5341 only one (aside from gslib.c)) can easily reset these parameters 5342 as well. 5343 5344 5345 src/gsstate.h 5346 Moved prototypes for the gs_{set|current}overprint[mode] procedures 5347 here from gscsepr.h. 5348 5349 5350 src/gxccache.c 5351 Modified gx_image_cached_char to just return if the current color 5352 is a pure gx_no_color_index (transparent). 5353 5354 5355 src/gxcspace.h 5356 1. Removed the equality check method. 5357 5358 2. Added the set_overprint method. 5359 5360 5361 src/gxipixel.c 5362 Modified the gx_image_enum_begin to allow the Decode array for 5363 imagemasks to have any two distinct numbers, rather than just 0 and 5364 1. This matches the behavior of all Adobe systems (though not the 5365 documentation), and avoids some spurious failures when running the 5366 FTS. 5367 5368 5369 src/gxpcmap.c 5370 Modified pattern_accum_copy_mono to just return if both the foreground 5371 and background colors are gx_no_color_index (transparent). If this is 5372 not done, the mask device's copy_mono procedure may generate an 5373 error when invoked (this is true for mem_mono_copy_mono). 5374 5375 5376 src/iutil.c 5377 Modified obj_eq to consider two 0-length arrays to be equal, 5378 irrespective of their type and their pointers (the latter aren't 5379 meaningful if the array length is 0). This matches the PostScript 5380 documentation and the behavior of Adobe systems. It also fixes 5381 some spurious failures in the FTS. 5382 5383 5384 src/lib.mak 5385 Added an entry for gsovrc (the overprint compositor), and updated 5386 various dependency lists. 5387 5388 5389 src/zfdcte.c 5390 Modified the DCTEncode procedure (zDCTE) to allocate the 5391 jpeg_compress_data and subsidiary memory structures in current VM. 5392 Previously these structures were allocated in gs_default_memory, 5393 which does not support garbage collection. Since the structures 5394 were subject to garbage collection and relocation, chaos could 5395 and, in the case of FTS file 119-28.ps, did ensue. 5396 5397 Note that these structure must be allocated immovable, which 5398 requires a considerable amount of overhead when using VM. A better 5399 approach would be to allocate them in gs_default_memory, and use 5400 a more sophisticated structure descriptor for the stream_DCT_state 5401 structure (st_DCT_state). 5402 5403 5404 src/zgstate.c 5405 Slightly simplified zinitgraphics, and updated a comment in this 5406 procedure. 5407 5408 5409 src/zmisc.c 5410 Modified realtime operator to set a zero point at boot time. This 5411 avoids an annoying delay in running FTS panel 211-01 (206-01.ps). 5412 5413 5414 zpcolor.c 5415 Modified the pattern_paint_prepare procedure to use gs_setdevice_no_int 5416 rather than gx_set_device_only. It is not clear why the latter 5417 procedure was ever used in this location, and it is now important to 5418 use the former procedure so the overprint compositor may be properly 5419 updated. 5420 5421 5422Wed May 29 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5423 5424 * gxclrast.c [1.10] (+13 -3): 5425 Added comments to cmd_select_map. Also corrected setting a pointer to 5426 NULL inside of that routine. (Fix from ORIMP.) 5427 5428 5429Wed May 29 05:00:00 2002 GMT August Daniel Coby dan@meerkat 5430 5431 * zht1.c [1.4] (+3 -2): 5432 Corrects problem with 050-01.ps. setcolorscreen was not correctly setting 5433 the screen procs in the istate. 5434 5435 5436Tue May 28 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5437 5438 * gsht.c [1.8] (+16 -9): 5439 Fix for segment fault while setting device half tones. 5440 5441 5442Thu May 23 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5443 5444 * gsht.c [1.7] (+9 -3): 5445 Fix from ORIMP for preventing a divide error if the halftone structure has 5446 not been initialized. 5447 5448 5449Tue May 21 05:00:00 2002 GMT August Daniel Coby dan@meerkat 5450 5451 * gxistate.h [1.9] (+9 -3): 5452 This file is part of the check color space commit from yesterday. 5453 I somehow managed to not include this file in that commit. 5454 5455 5456Mon May 20 22:00:00 2002 GMT August Daniel Coby dan@meerkat 5457 5458 * lib.mak [1.15] (+2 -2), gscpixel.c [1.5] (+20 -1), gscolor2.c [1.4] (+20 -1), 5459 gscdevn.c [1.9] (+27 -1): 5460 Added checking of color space ID versus ID for color space installed in the 5461 current imager state. (Requested by ORIMP. Debug only.) 5462 5463 5464Thu May 16 08:00:00 2002 GMT August Daniel Coby dan@meerkat 5465 5466 * gxcmap.c [1.13] (+13 -13): 5467 Add casts to reduce various warning messages. 5468 5469 * gdevdevn.c [1.9] (+14 -13), devs.mak [1.11] (+3 -2): 5470 More fixes for the 1 bit CMYK mode. 5471 5472 * gxdevndi.c [1.8] (+14 -4): 5473 Correct calculation of component number from plane mask bit position. 5474 The old calculation only worked for 4 or fewer components. This was 5475 causing halftoning to not work with 5 or more components. 5476 5477 5478Mon May 13 21:00:00 2002 GMT Henry Stiles henrys@meerkat 5479 5480 * ztrans.c [1.3] (+4 -4), zshade.c [1.3] (+2 -2), zpcolor.c [1.3] (+4 -2), 5481 zmisc3.c [1.3] (+1 -22), zimage3.c [1.3] (+5 -5), zimage2.c [1.3] (+3 -132), 5482 zimage.c [1.3] (+137 -97), zgstate.c [1.5] (+3 -3), zdpnext.c [1.4] (+6 -10), 5483 zcolor3.c [1.1] (+58 -0), zcolor2.c [1.7] (+16 -193), zcolor1.c [1.4] (+1 -45), 5484 zcolor.c [1.4] (+335 -132), watclib.mak [1.3] (+2 -2), lib.mak [1.14] (+6 -22), 5485 iutil.h [1.3] (+4 -1), iutil.c [1.4] (+29 -1), int.mak [1.5] (+15 -25), 5486 iimage2.h [1.3] (+2 -20), iimage.h [1.3] (+22 -13), igstate.h [1.5] (+12 -1), 5487 idparam.c [1.3] (+3 -3), gzstate.h [1.3] (+3 -9), gxistate.h [1.8] (+3 -33), 5488 gximage2.c [1.3] (+39 -35), gximag3x.c [1.3] (+2 -2), gxclrast.c [1.9] (+11 -5), 5489 gsstate.c [1.3] (+2 -47), gsptype1.c [1.3] (+23 -13), gspcolor.c [1.3] (+1 -3), 5490 gslib.c [1.4] (+17 -12), gsistate.c [1.6] (+6 -62), gsiparam.h [1.3] (+1 -8), 5491 gsimage.c [1.3] (+13 -4), gscspace.h [1.8] (+1 -15), gscspace.c [1.3] (+1 -17), 5492 gscsepr.c [1.8] (+0 -0), gscscie.c [1.3] (+10 -5), gscolor2.h [1.3] (+1 -6), 5493 gscolor2.c [1.3] (+19 -34), gscolor1.h [1.3] (+2 -2), gscolor1.c [1.6] (+18 -88), 5494 gscolor.h [1.3] (+1 -3), gscolor.c [1.4] (+32 -153), gdevpsdi.c [1.3] (+6 -3), 5495 gdevp14.c [1.3] (+4 -3), gdevnfwd.c [1.7] (+2 -2): 5496 Overprint implementation (Jan Stoeckenius) 5497 5498 This is a preliminary code release for the overprint capability. The 5499 release does not contain the overprint facility itself; it consists 5500 entirely of modifications so that color space changes will occur in a 5501 predictable fashion. 5502 5503 Files removed: 5504 5505 src/gshsb.c 5506 src/gshsb.h 5507 src/gscssub.c 5508 src/gscssub.h 5509 src/zhsb.c 5510 5511 5512 Files added: 5513 5514 lib/gs_cspace.ps PostScript portion of the basic color space handling; 5515 see the extensive comment at the head of the file 5516 for information. Note that color space substitution 5517 and the hue-saturation-brightness (HSB) color space 5518 are now fully implemented in the PostScript code; 5519 the interpreter and the graphic library are no longer 5520 involved in or even aware of these features. 5521 5522 lib/gs_devcs.ps Implementation of the DeviceGray, DeviceRGB, and 5523 DeviceCMYK color spaces. 5524 5525 lib/gs_ciecs2.ps Implementation of the LangaugeLevel 2 CIEBased color 5526 spaces: CIEBasedA and CIEBasedABC. 5527 5528 lib/gs_ciecs3.ps Implementation of the LanguageLevel 3 CIEBased color 5529 spaces: CIEBasedDEF and CIEBasedDEFG 5530 5531 lib/gs_devpxl.ps Implementation of the DevicePixel color spaces 5532 5533 lib/gs_indxd.ps Implementation of the Indexed color space. 5534 5535 lib/gs_sepr.ps Implementaton of the Separation color space. 5536 5537 lib/gs_devn.ps Implementation of the DeviceN color space. 5538 5539 lib/gs_patrn.ps Implementation of the Pattern color space. 5540 5541 5542 lib/gs_img.ps Implementation of the traditional (non-dictionary) 5543 form of the image and imagemask operators, and the 5544 colorimage operator (including the Next alphaimage 5545 facility). The interpreter now provides only the 5546 dictionary form of the image and imagemask operators, 5547 including a variation that provides alpha-channel 5548 support. 5549 5550 Also modified the handling of color spaces for 5551 ImageType 2 images. This slightly changes the behavior 5552 of these images. If PixelCopy is defined to be true 5553 in the image dictionary but such a copy cannot be 5554 supported, an error will be generated. This is in 5555 agreement with Adobe's documentation, but differs 5556 from the earlier behavior. 5557 5558 The code for Indexed, Separation, and DeviceN color spaces 5559 incorporates code, courtesy of Dan, that will invoke the lookup or 5560 tint transform procedure in the appropriate context if this is 5561 appropriate (if there is a lookup procedure for Indexed color spaces 5562 or the alternate color space is in use for Separation and DeviceN 5563 color spaces). Currently this is not done recursively (if an Indexed 5564 color space has a DeviceN base color space, for example), but that 5565 has not proven necessary in practice. If necessary, it can be added. 5566 5567 5568 src/zcolor3.c Code to implement the .setuseciecolor operator. This 5569 operator is used only in the setpagedevice code, and 5570 makes certain that the use_cie_color field in the 5571 interpreter's graphic state mirrors the setting of 5572 the UseCIEColor page device parameter. 5573 5574 5575 Files modified: 5576 5577 lib/gs_dpnxt.ps Added PostScript implementation of the alphaimage 5578 operator. This uses the internal .alphaimage 5579 operator, which is a variation of the image 5580 operator that provide alpha-channel support. 5581 5582 lib/gs_icc.ps Rewritten to implement the ICCBased color space 5583 in the new scheme. See the comments in 5584 lib/gs_cspace.ps for information. 5585 5586 lib/gs_init.ps Modified to include gs_cspace.ps, gs_devcs.ps, 5587 and gs_img.ps, and to remove img_util_dict and 5588 .cspace_util_dict from userdict at the end of 5589 initialization. 5590 5591 lib/gs_lev2.ps All explicit color spaces removed (with one 5592 exception, and replaced by inclusion of gs_devpxl.ps, 5593 gs_ciecs2.ps, gs_indxd.ps, gs_sepr.ps, and 5594 gs_patrn.ps. The only remaining color space support 5595 feature is moving the setcolorspace and setcolor 5596 pseudo-operators, and the colorspacedict dictionary, 5597 to level2dict. This must be done here, as it is not 5598 known that level2dict exists when gs_cspace.ps is 5599 first run. 5600 5601 Also removed all explicit image support. This is 5602 now handled by gs_img.ps (see above). 5603 5604 lib/gs_ll3.ps Removed the old support for color space substitution; 5605 this is now handled directly by the color space 5606 code (see the comments in gs_cspace.ps for 5607 information). Added inclusion of gs_ciecs3.ps and 5608 gs_devn.ps. 5609 5610 lib/gs_setpd.ps Added support for the .getuseciecolor and 5611 .setuseciecolor operators. This maintains a 5612 "mirror" of the UseCIEColor parameter in the 5613 graphic state, to allow fast access. 5614 5615 src/gdevnfwd.c In gx_forward_get_color_mapping_procs, added a check 5616 for the case of a target device which has no 5617 get_color_mapping_procs procedure. This led to a 5618 segmentation violation crash for FTS file 296-01.ps 5619 The fix may not be the correct one, as we are not 5620 certain why a device would lack this method. 5621 5622 src/gdevp14.c Replaced a use of the shared field in the graphic state 5623 with a color space allocated on the C-language stack. 5624 5625 src/gdevpsdi.c Replaced an instance of use of the gs_cspace_DeviceRGB 5626 procedure. 5627 5628 src/gscolor.c Removed gs_currentgray and gs_currentrgbcolor. Modified 5629 gs_setgray and gs_setrgbcolor to use gs_setcolorspace 5630 and gs_setcolor. This eliminates use of the 5631 gs_current_Device*_space routines. 5632 5633 src/gscolor.h Removed prototypes for gs_currentgray and 5634 gs_currentrgbcolor. 5635 5636 src/gscolor1.c Removed gs_currentcmykcolor. Modified gs_setcmykcolor 5637 to use gs_setgray and gs_setcolorspace. 5638 5639 src/gscolor1.h Removed prototype for gs_currentcmykcolor. 5640 5641 src/gscolor2.c Removed gs_currentcolorspace_index. Removed the color 5642 index tracking used as part of the color space 5643 substitution method. 5644 5645 src/gscolor2.h Removed prototype for gs_currentcolorspace_index. 5646 5647 src/gscscie.c Eliminated use of the gs_cspace_Device* routines. 5648 5649 src/gscsepr.c Fixed a pair of typos in revision 1.6 of the code. 5650 In gs_cspace_set_sepr_proc and 5651 gx_concretize_Separation, the code was still accessing 5652 pcspace->params.device_n when it wanted to access 5653 pcspace->params.separation. This caused a crash in 5654 FTS file 245-01.ps. 5655 5656 src/gscspace.c Removed gs_cspace_Device* procedures. 5657 5658 src/gscspace.h Removed prototypes for gs_cspace_Device* procedures. 5659 5660 src/gsimage.c Removed use of the gs_cspace_DeviceGray procedure. 5661 5662 src/gsiparam.h Removed the gs_image_t_int_{gray, rgb, cmyk} macros. 5663 5664 src/gsistate.c Updated code to reflect removal of the shared field in 5665 the imager state. As part of this, the 5666 rc_free_imager_shared and gx_device_color_spaces_free 5667 procedures were removed. 5668 5669 src/gslib.c Removed use of the gs_current_Device*_space and 5670 gs_image_t_init_gray procedures. 5671 5672 src/gspcolor.c Removed reference to the orig_cspace_index field, 5673 which is no longer part of the library's graphic 5674 state. 5675 5676 src/gsptype1.c Eliminated use of the gs_cspace_DeviceGray procedure, 5677 and insured that a color space is set as the current 5678 color space before it is used. 5679 5680 src/gsstate.c Removed code that maintained the device_color_spaces 5681 field (color space substitution), which is no longer 5682 in the library's graphic state. 5683 5684 src/gxclrast.c Removed use of the gs_cspace_Device* procedures. 5685 5686 src/gximage3x.c Removed use of the gs_image_t_init_gray procedure. 5687 5688 src/gximage2.c Modified color space handling for ImageType 2 images. 5689 Note that there was and still is a problem with the 5690 handling of transformations in this code. 5691 5692 src/gxistate.h Removed the shared field of the imager state, all 5693 associated structures and prototypes, and modified 5694 the affected GC macros. The gx_device_color_spaces_t 5695 structure was previously used in the graphic library's 5696 state as well, but that use has been eliminated. 5697 5698 src/gzstate.h Removed the the device_color_spaces field, and modified 5699 the requisite GC macros 5700 5701 src/idparam.c Modified dict_float_array_check_param to handle 5702 packed (short or mixed) arrays. 5703 5704 src/igstate.h Added the use_cie_color field. This is a mirror for 5705 the UseCIEColor parameter of the page device, used 5706 because the currentpagedevice operator is potentially 5707 expensive. 5708 5709 src/iimage.h Modified to restrict the interpreter to just the 5710 dictionary form of the image and imagemask operator. 5711 This removes the zimage_opaque_setup, zimage_data_setup, 5712 and zimage_multiple prototypes, and moves the 5713 image_params structure and the image1_setup 5714 prototypes to this file (from iimage2.h). 5715 5716 src/iimage2.h Moved everything except the prototype for 5717 process_non_source_image to iimage.h. 5718 5719 src/iutil.c Added process_float_array procedure, to allow packed 5720 (short, mixed) arrays of numbers to be handled. 5721 5722 src/iutil.h Added prototype for the process_float_array procedure. 5723 5724 src/zcolor.c Removed: 5725 zcurrentgray, zcurrentrgbcolor, 5726 setgray, setrgbcolor 5727 Moved (from zcolor2.c): 5728 zcurrentcolor, zcurrentcolorspace, 5729 zsetcolor, zsetcolorspace 5730 Added: 5731 zgetuseciecolor queries the use_cie_color field 5732 in the interpreter state 5733 zsetdevcspace sets a DeviceGray, DeviceRGB, or 5734 DeviceCMYK color space 5735 5736 src/zcolor1.c Removed zcurrentcmykcolor, zsetcmykcolor, and 5737 zcolorimage. 5738 5739 src/zcolor2.c Removed everything in prior version. Added 5740 zusealternate, to test if an alternate color space 5741 is being used (for a Separation, DeviceN, or ICCBased 5742 color space), or if a base color space is in use 5743 (for an Indexed or a Pattern color space that uses 5744 a base space). 5745 5746 src/zdpnext.c Replace the alphaimage operator with .alphaimage, 5747 which has the semantics of the dictionary form of 5748 the image operator. 5749 5750 src/zgstate.c Modified the initgraphics operator to set the 5751 colorspace.array field to a legitimate color space 5752 (previously it was set to a null object). Also 5753 inserted code to initialize the use_cie_color field 5754 to false. 5755 5756 src/zimage.c Removed the traditional-form image and imagemask 5757 operators (zimage and zimagemask), and moved the 5758 dictionary form of these operators to this file 5759 from zimage2.c. Also, added the has_alpha parameter 5760 to the data_image_params and pixel_image_params 5761 procedures, to support the .alphaimage operator. 5762 5763 src/zimage2.c Moved everything except the process_non_source_image 5764 procedure to zimage.c. 5765 5766 src/zimage3.c Updated calls to data_image_params and 5767 pixel_image_params to add has_alpha parameter. 5768 5769 src/zmisc3.c Removed .setsubstitutecolorspace operator. 5770 5771 src/zpcolor.c Modified .setpatternspace to handle a packed (short, 5772 mixed) array operand. 5773 5774 src/zshade.c Modified build_mesh_shading to handle a packed (short, 5775 mixed) DataSource array operand. 5776 5777 src/ztrans.c Modified calls to data_image_params and 5778 pixel_image_params to add has_alpha operand. 5779 5780 src/watclib.mak Removed reference to the hsblib.dev, which no longer 5781 exists and which, for some unknown reason, was directly 5782 included in this makefile. Does anyone still use this 5783 file? 5784 5785 src/int.mak Removed hsb.dev and the zimage2_l2 operators, added 5786 zcolor3.c, updated various dependency lists. 5787 5788 src/lib.mak Removed hsblib.dev and gscssub.[ch], updated various 5789 dependency lists. Note that this file has not yet 5790 been modified to always compile with Level 3 support. 5791 5792 5793Sun May 12 03:00:00 2002 GMT August Daniel Coby dan@meerkat 5794 5795 * gscsepr.c [1.7] (+3 -3): 5796 Changed a couple of references to device_n.params to separation.params. 5797 5798 5799Thu May 9 08:00:00 2002 GMT August Daniel Coby dan@meerkat 5800 5801 * gxcmap.c [1.12] (+3 -3): 5802 Correction to the last commit 5803 5804 5805Thu May 9 07:00:00 2002 GMT August Daniel Coby dan@meerkat 5806 5807 * vdtrace.c [1.2] (+1 -2), lib.mak [1.12] (+2 -2), gslib.c [1.3] (+15 -7): 5808 Changes required to get the GS lib to build. 5809 5810 * zcssepr.c [1.4] (+22 -40), zcsdevn.c [1.7] (+6 -6), zcolor2.c [1.6] (+1 -28), 5811 lib.mak [1.13] (+4 -4), gxistate.h [1.7] (+3 -1), gxcmap.h [1.9] (+5 -5), 5812 gxcmap.c [1.11] (+59 -46), gxcht.c [1.14] (+2 -2), gxcdevn.h [1.4] (+2 -3), 5813 gscspace.h [1.7] (+7 -2), gscsepr.h [1.4] (+20 -15), gscsepr.c [1.6] (+137 -57), 5814 gscdevn.h [1.6] (+19 -14), gscdevn.c [1.8] (+61 -25), gdevpdfc.c [1.3] (+2 -2): 5815 1. Revised version of the Separation color space implementation. The /None 5816 case now works. The "normal" case is now implemented as part of the separation 5817 color space instead of using the DeviceN logic. 5818 2. The Separation and DeviceN color space handler for getting the alternate 5819 color space now return NULL if the alternate color space is not being used. 5820 (As pere request from ORIMP.) 5821 3. The DeviceN color space had a problem with an ICC alternate space. Corrected. 5822 5823 5824Thu Apr 25 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5825 5826 * zht2.c [1.5] (+2 -4): 5827 Removed unused variables. 5828 5829 * gsbitops.h [1.3] (+17 -6): 5830 Added casts to reduce warning casting warnings. 5831 5832 5833Thu Apr 25 04:00:00 2002 GMT August Daniel Coby dan@meerkat 5834 5835 * gxiscale.c [1.6] (+2 -2): 5836 The parameters to a call to remap_concrete_color were in the wrong order. 5837 5838 5839Tue Apr 23 16:00:00 2002 GMT Raph Levine raph@meerkat 5840 5841 * gdevxcf.c [1.7] (+65 -22): 5842 Apply RGB->device and CMYK->device profiles only in DeviceN color model; 5843 in DeviceRGB and DeviceCMYK color models, the mapping is defined by 5844 the PostScript spec. Also map DeviceGray colorspace to CMYK. 5845 5846 5847Tue Apr 23 08:00:00 2002 GMT Raph Levine raph@meerkat 5848 5849 * gdevxcf.c [1.6] (+117 -8), gdevdflt.c [1.9] (+9 -6): 5850 Makes xcfcmyk device agile in ProcessColorModel. Changes "expert 5851 system" logic slightly so that is_like_DeviceRGB is only called 5852 when filling in the default is needed. 5853 5854 5855Tue Apr 23 06:00:00 2002 GMT August Daniel Coby dan@meerkat 5856 5857 * lib.mak [1.11] (+3 -2), int.mak [1.4] (+3 -2): 5858 These two files should have been included in the previous commit. 5859 5860 * zfsample.c [1.2] (+22 -21), zcssepr.c [1.3] (+79 -94), 5861 zcsdevn.c [1.6] (+34 -176), gxdevice.h [1.8] (+6 -1), gxcmap.h [1.8] (+7 -1), 5862 gxcmap.c [1.10] (+68 -1), gscspace.h [1.5] (+6 -11), gscsepr.h [1.3] (+32 -40), 5863 gscsepr.c [1.5] (+84 -176), gscdevn.h [1.5] (+9 -6), gscdevn.c [1.7] (+25 -19): 5864 Changed the separation color space to use common logic with the DeviceN 5865 color space. This commit also brings the DeviceN code up to date. This 5866 includes the function sampling logic in zfsample.c. This code handles the 5867 /All case and the normal separation case. The /None case is not handled 5868 correctly. All components are erased (zeroed) when /None is selected. 5869 5870 * gscspace.h [1.6] (+3 -1): 5871 I was over zealous in cleaning up this file. Restored defintion of 5872 gx_indexed_map. 5873 5874 5875Tue Apr 23 04:00:00 2002 GMT August Daniel Coby dan@meerkat 5876 5877 * gdevdsp.c [1.8] (+235 -148), gdevdflt.c [1.8] (+34 -25), 5878 devs.mak [1.10] (+2 -2): 5879 These changes are required to initialize the "display" device to work 5880 with the DeviceN code. This involves setting up the correct color_info 5881 structure for the device and the DeviceN related procs. 5882 5883 5884Tue Apr 16 07:00:00 2002 GMT Henry Stiles henrys@meerkat 5885 5886 * gxdevcli.h [1.9] (+3 -12): 5887 removes duplicate dci_std_color() macro definition. 5888 5889 5890Tue Apr 16 05:00:00 2002 GMT August Daniel Coby dan@meerkat 5891 5892 * gdevdevn.c [1.8] (+2 -3): 5893 Some more corrections to the initialization of the spotrgb and spotcmyk 5894 device structures. Apologies to Henry. I misunderstood the results from 5895 the cvs merge. Henry did not mangle the bpp, etc. in the previous commit. 5896 5897 5898Tue Apr 16 04:00:00 2002 GMT August Daniel Coby dan@meerkat 5899 5900 * gxdither.h [1.4] (+10 -10): 5901 Added prototype for function gx_render_device_DeviceN. 5902 Removed some unused macro definitions. 5903 5904 * lib.mak [1.10] (+2 -2), gxcmap.c [1.9] (+49 -31): 5905 1. Added included of string_.h. This resolves some undefined function 5906 prototypes. 5907 2. Corrected handling of transfer functions and halftoning. (Transfer 5908 functions were not being applied if halftoning was being done.) 5909 3. Finished the half tone code for DeviceN color model devices. 5910 4. Some misc code clean up to remove misc warning messages. 5911 5912 5913Tue Apr 16 03:00:00 2002 GMT August Daniel Coby dan@meerkat 5914 5915 * gsht1.c [1.5] (+2 -2): 5916 We were not allocating a half tone cache for the "gray" component. 5917 5918 * gdevdevn.c [1.7] (+22 -15): 5919 1. Convert the spotcmyk device back to a half toned (1 bit per pixel per 5920 component) device. This had been changed by Henry is the last commit. 5921 2. Corrected the gray color space to cmyk color model handler. This was 5922 corrupting the cmykspot colors. 5923 3. Corrected a couple of problems in the spotcmyk device. (Garbage data 5924 in the last half of byte if a line had an odd number of pixels. Bad bps 5925 and planes in the pcx header - the cmyk pcx output file is really a 4 bit 5926 device with a color mapping table.) 5927 5928 5929Tue Apr 16 00:00:00 2002 GMT Henry Stiles henrys@meerkat 5930 5931 * gstype42.c [1.4] (+4 -2): 5932 conditional compile (hack) to prevent freeing glyph data when library is 5933 built with pcl. This is a long standing issue supported by a thousand 5934 lines of email and 0 lines of code. 5935 5936 5937Mon Apr 15 23:00:00 2002 GMT Henry Stiles henrys@meerkat 5938 5939 * gdevdflt.c [1.7] (+1 -2): 5940 remove a diagnostic message. 5941 5942 5943Mon Apr 15 22:00:00 2002 GMT Henry Stiles henrys@meerkat 5944 5945 * zdfilter.c [1.3] (+1 -21), zdevice.c [1.3] (+2 -2), unix-gcc.mak [1.7] (+2 -2), 5946 lib.mak [1.9] (+4 -4), gxdevice.h [1.7] (+7 -14), gxdevcli.h [1.8] (+142 -47), 5947 gxcmap.h [1.7] (+8 -1), gxcmap.c [1.8] (+173 -12), gxclpath.h [1.4] (+2 -2), 5948 gxcindex.h [1.6] (+1 -2), gxbitfmt.h [1.3] (+1 -4), gsutil.c [1.3] (+13 -5), 5949 gstype42.c [1.3] (+4 -4), gsmalloc.c [1.3] (+11 -1), gshtx.c [1.8] (+4 -4), 5950 gsdfilt.c [1.4] (+1 -83), gsalphac.c [1.4] (+2 -2), gs.mak [1.5] (+1 -2), 5951 gdevxcf.c [1.5] (+2 -2), gdevpdf.c [1.6] (+1 -2), gdevnfwd.c [1.6] (+5 -5), 5952 gdevmem.c [1.6] (+3 -5), gdevm1.c [1.4] (+3 -2), gdevdgbr.c [1.4] (+61 -38), 5953 gdevdflt.c [1.6] (+150 -48), gdevdevn.c [1.6] (+4 -4), gdevcmap.c [1.7] (+132 -131): 5954 - general cleanup tasks detailed in orimp's message 2/11/02 and 2/17/02. 5955 - pcl color mapper support. 5956 - modification for pcl build. 5957 - color info "expert system". 5958 5959 5960Thu Apr 11 22:00:00 2002 GMT August Daniel Coby dan@meerkat 5961 5962 * msvccmd.mak [1.3] (+4 -2): 5963 Create a separate WARNOPT parameter for specifying the warning message 5964 level. This allows the message level to be specified from the command 5965 line. 5966 5967 5968Thu Apr 11 02:00:00 2002 GMT August Daniel Coby dan@meerkat 5969 5970 * gxcldev.h [1.5] (+2 -2): 5971 Correct problem in prototype for cmd_put_color_map. Error created in 5972 the last commit. 5973 5974 5975Tue Apr 9 00:00:00 2002 GMT August Daniel Coby dan@meerkat 5976 5977 * gxdevndi.c [1.7] (+11 -6): 5978 Fixed a debug printout which needed to be updated for a variable number of 5979 components. 5980 5981 * zcolor2.c [1.5] (+2 -5), gxclrast.c [1.8] (+50 -27), gxclist.h [1.3] (+2 -2), 5982 gxclimag.c [1.5] (+69 -26), gxcldev.h [1.4] (+3 -3), gxclbits.c [1.3] (+8 -5), 5983 gxcht.c [1.13] (+1 -3), gxcdevn.h [1.3] (+4 -1), gscdevn.c [1.6] (+10 -1): 5984 Updates related to the placing of transfer maps into the clist. 5985 Also some minor clean ups missing from previous commits. 5986 5987 5988Tue Apr 2 08:00:00 2002 GMT Raph Levine raph@meerkat 5989 5990 * gdevxcf.c [1.4] (+153 -43): 5991 Adds ICC profile paths to RGB->Color Model and CMYK->Color Model 5992 transforms in xcfcmyk device. Use ProfileRgb (3->N) and ProfileCmyk 5993 (4->N) device parameters to install ICC transforms. 5994 5995 5996Tue Apr 2 05:00:00 2002 GMT August Daniel Coby dan@meerkat 5997 5998 * gxdither.h [1.3] (+2 -31), gxdcolor.c [1.7] (+2 -2), gxclrast.c [1.7] (+39 -30), 5999 gxclpath.h [1.3] (+11 -5), gxclpath.c [1.3] (+41 -23), gxclimag.c [1.4] (+10 -19), 6000 gxcht.c [1.12] (+19 -13), gsht.c [1.6] (+25 -19), gdevnfwd.c [1.5] (+11 -6): 6001 Changes to enable the use of the clist device (banding) with the DeviceN 6002 colorspaces and devices. This is still missing the clist commands for 6003 transfer functions and the DeviceN component map. 6004 6005 6006Wed Mar 27 01:00:00 2002 GMT Raph Levine raph@meerkat 6007 6008 * gdevxcf.c [1.3] (+131 -6), devs.mak [1.9] (+6 -3): 6009 Adds some ICC color profile ability to the xcf device, for testing 6010 purposes. 6011 6012 6013Tue Mar 26 21:00:00 2002 GMT August Daniel Coby dan@meerkat 6014 6015 * gxdevndi.c [1.6] (+40 -5), gdevplnx.c [1.3] (+3 -3): 6016 Add definition of fc_color_quo and some other changes that were required 6017 as part of eliminating the gxdither.c module. 6018 6019 6020Tue Mar 26 05:00:00 2002 GMT August Daniel Coby dan@meerkat 6021 6022 * gshtx.h [1.5] (+1 -2), gshtx.c [1.7] (+9 -33): 6023 Removed more references to separation names. 6024 6025 6026Mon Mar 25 23:00:00 2002 GMT August Daniel Coby dan@meerkat 6027 6028 * lib.mak [1.8] (+2 -7), gxdither.c [1.6] (+1 -1): 6029 Removed unused file: gxdither.c Replaced by gxdevndi.c 6030 6031 * gshtx.h [1.4] (+1 -3): 6032 Removed sepr_name parameter from function prototypes. This change 6033 goes with an earlier change to gshtx.c. 6034 6035 6036Tue Mar 19 19:00:00 2002 GMT August Daniel Coby dan@meerkat 6037 6038 * gshtx.c [1.6] (+1 -13): 6039 Changes requested by henry. The separation name has been removed 6040 from the calling sequence for gs_ht_set_threshold_comp and 6041 gs_ht_set_mask_comp. (These routines are used by PCL.) 6042 6043 6044Mon Mar 18 07:00:00 2002 GMT Henry Stiles henrys@meerkat 6045 6046 * gdevpdfc.h [1.1] (+62 -0): 6047 this file was missed in the merge. 6048 6049 6050Mon Mar 18 06:00:00 2002 GMT Henry Stiles henrys@meerkat 6051 6052 * gdevpxat.h [1.3] (+3 -1), gdevmr1.c [1.3] (+6 -5), gdevdrop.c [1.3] (+18 -13), 6053 gdevcmap.c [1.6] (+16 -16): 6054 operand changes and misc. fixes for compiling pcl. I used pcl because 6055 it was not clear how even to compile the gslib target. With 6056 implementations for gs_ht_set_mask_comp() and 6057 gs_ht_set_threshold_comp() it will be possible to build pcl and verify 6058 the changes to these files from pcl. 6059 6060 6061Mon Mar 18 05:00:00 2002 GMT Henry Stiles henrys@meerkat 6062 6063 * gdevpdfg.c [1.5] (+4 -3): 6064 pdf_update_transfer() was not returning a value resulting in the 6065 previously encountered pdf problems. It now retuns 0 and prints a 6066 diagnostic message saying it is not implemented. Setting the 6067 /DeviceGray color model does not work properly in pdfwrite. 6068 6069 6070Sat Mar 16 05:00:00 2002 GMT Henry Stiles henrys@meerkat 6071 6072 * zusparam.c [1.3] (+26 -5), zcrd.c [1.3] (+3 -3), vms_x_fix.h [1.2] (+3 -3), 6073 vdtrace.h [1.2] (+149 -150), unixtrad.mak [1.3] (+1 -1), 6074 png_.h [1.3] (+6 -1), lib.mak [1.7] (+22 -8), gxiscale.c [1.5] (+2 -2), 6075 gsistate.c [1.5] (+2 -1), gscolor1.c [1.5] (+2 -1), gdevvec.c [1.3] (+1 -2), 6076 gdevpdfg.c [1.4] (+5 -4), gdevpdf.c [1.5] (+10 -16), dwreg.h [1.3] (+4 -1), 6077 dwimg.h [1.3] (+3 -1), devs.mak [1.8] (+11 -5): 6078 compile fixes for pdfwrite and miscellaneous post merge problems 6079 fixed. Running the interpreter with pdfwrite fails upon the first 6080 graphics painting operation returning an uninitialized error code, so 6081 this will need more work. 6082 6083 6084Fri Mar 15 23:00:00 2002 GMT Henry Stiles henrys@meerkat 6085 6086 * zvmem2.c [1.2] (+11 -13), zvmem.c [1.2] (+17 -13), zusparam.c [1.2] (+11 -13), 6087 zupath.c [1.2] (+11 -13), ztype.c [1.2] (+11 -13), ztrap.c [1.2] (+11 -13), 6088 ztrans.c [1.2] (+11 -13), ztoken.c [1.2] (+11 -13), zsysvm.c [1.2] (+11 -13), 6089 zstring.c [1.2] (+34 -13), zstack.c [1.2] (+11 -13), zshade.c [1.2] (+37 -36), 6090 zrop.c [1.2] (+11 -13), zrelbit.c [1.2] (+11 -13), zpcolor.c [1.2] (+11 -13), 6091 zpath1.c [1.2] (+11 -13), zpath.c [1.2] (+11 -13), zpaint.c [1.2] (+11 -13), 6092 zpacked.c [1.2] (+11 -13), zmisc3.c [1.2] (+11 -13), zmisc2.c [1.2] (+11 -13), 6093 zmisc1.c [1.2] (+11 -13), zmisc.c [1.2] (+11 -13), zmedia2.c [1.2] (+21 -19), 6094 zmatrix.c [1.2] (+11 -13), zmath.c [1.2] (+11 -13), zlib.mak [1.2] (+11 -13), 6095 ziodevsc.c [1.2] (+11 -16), ziodevs.c [1.2] (+11 -13), ziodev2.c [1.2] (+11 -13), 6096 ziodev.c [1.2] (+13 -15), zimage3.c [1.2] (+11 -13), zimage2.c [1.2] (+11 -13), 6097 zimage.c [1.2] (+11 -13), zicc.c [1.2] (+12 -13), zht2.c [1.4] (+11 -13), 6098 zht1.c [1.3] (+11 -13), zht.c [1.3] (+11 -13), zhsb.c [1.2] (+11 -13), 6099 zgstate.c [1.4] (+11 -13), zgeneric.c [1.2] (+11 -13), zfzlib.c [1.2] (+11 -13), 6100 zfunc4.c [1.2] (+36 -25), zfunc3.c [1.2] (+14 -16), zfunc0.c [1.2] (+12 -14), 6101 zfunc.c [1.2] (+39 -22), zfsample.c [1.1] (+544 -0), zfrsd.c [1.2] (+11 -13), 6102 zfproc.c [1.2] (+11 -13), zfont42.c [1.2] (+11 -13), zfont32.c [1.2] (+11 -13), 6103 zfont2.c [1.2] (+11 -13), zfont1.c [1.2] (+11 -13), zfont0.c [1.2] (+11 -13), 6104 zfont.c [1.2] (+11 -13), zfmd5.c [1.2] (+11 -13), zfilterx.c [1.2] (+11 -13), 6105 zfilter2.c [1.2] (+11 -13), zfilter.c [1.2] (+11 -13), zfileio.c [1.2] (+11 -13), 6106 zfile.c [1.2] (+161 -32), zfdecode.c [1.2] (+11 -13), zfdcte.c [1.2] (+11 -13), 6107 zfdctd.c [1.2] (+11 -13), zfcmap.c [1.3] (+11 -13), zfcid1.c [1.2] (+13 -17), 6108 zfcid0.c [1.3] (+14 -15), zfcid.c [1.2] (+11 -13), zfbcp.c [1.2] (+11 -13), 6109 zfarc4.c [1.2] (+11 -13), zfapi.c [1.2] (+721 -231), zdscpars.c [1.2] (+11 -13), 6110 zdps1.c [1.2] (+11 -13), zdps.c [1.2] (+11 -13), zdpnext.c [1.3] (+12 -13), 6111 zdouble.c [1.2] (+11 -13), zdosio.c [1.2] (+11 -13), zdict.c [1.2] (+11 -13), 6112 zdfilter.c [1.2] (+11 -13), zdevice2.c [1.2] (+19 -15), 6113 zdevice.c [1.2] (+16 -13), zdevcal.c [1.2] (+11 -13), zcssepr.c [1.2] (+11 -13), 6114 zcspixel.c [1.2] (+11 -13), zcsindex.c [1.2] (+11 -13), 6115 zcsdevn.c [1.5] (+11 -13), zcrd.c [1.2] (+11 -13), zcontrol.c [1.2] (+86 -13), 6116 zcontext.c [1.2] (+11 -13), zcolor2.c [1.4] (+12 -13), zcolor1.c [1.3] (+11 -13), 6117 zcolor.c [1.3] (+11 -13), zcie.c [1.2] (+12 -14), zcid.c [1.2] (+11 -13), 6118 zcharx.c [1.2] (+11 -13), zcharout.c [1.2] (+11 -13), zchar42.c [1.2] (+40 -17), 6119 zchar32.c [1.2] (+11 -13), zchar2.c [1.2] (+11 -13), zchar1.c [1.2] (+16 -18), 6120 zchar.c [1.2] (+11 -13), zcfont.c [1.2] (+11 -13), zbseq.c [1.2] (+11 -13), 6121 zbfont.c [1.2] (+11 -17), zarray.c [1.2] (+11 -13), zarith.c [1.2] (+11 -13), 6122 x_.h [1.2] (+11 -13), wmin.mak [1.2] (+11 -13), winplat.mak [1.2] (+11 -13), 6123 winlib.mak [1.4] (+12 -13), winint.mak [1.2] (+38 -21), 6124 windows_.h [1.2] (+11 -13), wctail.mak [1.2] (+12 -13), 6125 wccommon.mak [1.2] (+11 -13), watcw32.mak [1.2] (+18 -13), 6126 watclib.mak [1.2] (+20 -13), watc.mak [1.2] (+11 -13), vmsmath.h [1.2] (+11 -13), 6127 version.mak [1.2] (+11 -13), vdtrace.h [1.1] (+168 -0), 6128 vdtrace.c [1.1] (+168 -0), unixtrad.mak [1.2] (+11 -13), 6129 unixlink.mak [1.2] (+11 -13), unixinst.mak [1.2] (+13 -15), 6130 unixhead.mak [1.2] (+11 -13), unixansi.mak [1.2] (+19 -13), 6131 unix-gcc.mak [1.6] (+20 -14), unix-end.mak [1.2] (+11 -13), 6132 unix-dll.mak [1.2] (+11 -13), unix-aux.mak [1.2] (+11 -13), 6133 unistd_.h [1.2] (+11 -13), ugcclib.mak [1.2] (+19 -13), 6134 time_.h [1.2] (+11 -13), szlibxx.h [1.2] (+11 -13), szlibx.h [1.2] (+11 -13), 6135 szlibe.c [1.2] (+11 -13), szlibd.c [1.2] (+11 -13), szlibc.c [1.2] (+11 -13), 6136 string_.h [1.2] (+11 -13), strimpl.h [1.2] (+11 -13), stream.h [1.2] (+11 -13), 6137 stream.c [1.2] (+22 -24), store.h [1.2] (+11 -13), stdpre.h [1.2] (+36 -54), 6138 stdio_.h [1.2] (+11 -13), std.h [1.2] (+21 -13), stat_.h [1.2] (+11 -13), 6139 sstring.h [1.2] (+12 -14), sstring.c [1.2] (+11 -13), srlx.h [1.2] (+11 -13), 6140 srle.c [1.2] (+11 -13), srld.c [1.2] (+11 -13), srdline.h [1.2] (+11 -13), 6141 spsdf.h [1.2] (+11 -13), spsdf.c [1.2] (+11 -13), spprint.h [1.2] (+11 -13), 6142 spprint.c [1.2] (+11 -13), spngpx.h [1.2] (+11 -13), spngp.c [1.2] (+11 -13), 6143 spdiffx.h [1.2] (+11 -13), spdiff.c [1.2] (+11 -13), smtf.h [1.2] (+11 -13), 6144 smtf.c [1.2] (+11 -13), smd5.h [1.2] (+11 -13), smd5.c [1.2] (+11 -13), 6145 slzwx.h [1.2] (+11 -13), slzwd.c [1.2] (+11 -13), slzwce.c [1.2] (+11 -13), 6146 slzwc.c [1.2] (+11 -13), sjpege.c [1.2] (+11 -13), sjpegd.c [1.2] (+11 -13), 6147 sjpegc.c [1.2] (+11 -13), sjpeg.h [1.2] (+11 -13), sisparam.h [1.2] (+11 -13), 6148 siscale.h [1.2] (+11 -13), siscale.c [1.2] (+11 -13), siinterp.h [1.2] (+11 -13), 6149 siinterp.c [1.2] (+11 -13), shcgen.h [1.2] (+11 -13), shcgen.c [1.2] (+11 -13), 6150 shc.h [1.2] (+11 -13), shc.c [1.2] (+11 -13), sfxstdio.c [1.2] (+11 -13), 6151 sfxfd.c [1.2] (+11 -13), sfxboth.c [1.2] (+11 -13), sfilter2.c [1.2] (+11 -13), 6152 sfilter1.c [1.2] (+11 -13), sfilter.h [1.2] (+11 -13), seexec.c [1.2] (+11 -13), 6153 sdeparam.c [1.2] (+11 -13), sddparam.c [1.2] (+11 -13), 6154 sdcte.c [1.2] (+25 -13), sdctd.c [1.2] (+11 -13), sdctc.c [1.2] (+11 -13), 6155 sdct.h [1.2] (+11 -13), sdcparam.h [1.2] (+11 -13), sdcparam.c [1.2] (+11 -13), 6156 scommon.h [1.2] (+13 -15), scfx.h [1.2] (+13 -15), scfparam.c [1.2] (+11 -13), 6157 scfetab.c [1.2] (+11 -13), scfe.c [1.2] (+11 -13), scfdgen.c [1.2] (+12 -14), 6158 scfd.c [1.2] (+11 -13), scf.h [1.2] (+11 -13), scantab.c [1.2] (+11 -13), 6159 scanchar.h [1.2] (+11 -13), sbwbs.h [1.2] (+11 -13), sbwbs.c [1.2] (+11 -13), 6160 sbtx.h [1.2] (+11 -13), sbhc.h [1.2] (+11 -13), sbhc.c [1.2] (+11 -13), 6161 sbcp.h [1.2] (+11 -13), sbcp.c [1.2] (+11 -13), sarc4.h [1.2] (+11 -13), 6162 sarc4.c [1.2] (+11 -13), sa85x.h [1.2] (+11 -13), sa85d.h [1.2] (+11 -13), 6163 sa85d.c [1.2] (+11 -13), png_.h [1.2] (+11 -13), pipe_.h [1.2] (+11 -13), 6164 pcwin.mak [1.2] (+11 -13), ostack.h [1.2] (+11 -13), os2.mak [1.2] (+22 -13), 6165 opextern.h [1.2] (+11 -13), oper.h [1.2] (+11 -13), openvms.mmk [1.2] (+17 -14), 6166 openvms.mak [1.2] (+28 -14), opdef.h [1.2] (+11 -13), opcheck.h [1.2] (+11 -13), 6167 oparc.h [1.2] (+11 -13), msvctail.mak [1.2] (+11 -13), msvclib.mak [1.2] (+11 -13), 6168 msvccmd.mak [1.2] (+20 -14), msvc32.mak [1.5] (+22 -15), 6169 memory_.h [1.2] (+11 -13), md5.c [1.2] (+9 -3), math_.h [1.2] (+11 -13), 6170 malloc_.h [1.2] (+11 -13), main.h [1.2] (+11 -13), macsystypes.h [1.2] (+11 -13), 6171 macsysstat.h [1.2] (+13 -13), macosx.mak [1.1] (+450 -0), 6172 macos-mcp.mak [1.2] (+22 -13), macos-fw.mak [1.1] (+168 -0), 6173 macgenmcpxml.sh [1.2] (+5 -5), libpng.mak [1.2] (+11 -13), 6174 lib.mak [1.6] (+24 -18), jpeg.mak [1.2] (+11 -13), jerror_.h [1.2] (+16 -13), 6175 ivmspace.h [1.2] (+11 -13), ivmem2.h [1.2] (+11 -13), iutilasm.asm [1.2] (+11 -13), 6176 iutil2.h [1.2] (+12 -14), iutil2.c [1.2] (+17 -14), iutil.h [1.2] (+11 -13), 6177 iutil.c [1.3] (+11 -14), itoken.h [1.2] (+11 -13), istruct.h [1.2] (+11 -13), 6178 istream.h [1.2] (+11 -13), istkparm.h [1.2] (+11 -13), istack.h [1.2] (+11 -13), 6179 istack.c [1.2] (+11 -13), isstate.h [1.2] (+11 -13), isdata.h [1.2] (+11 -13), 6180 iscannum.h [1.2] (+11 -13), iscannum.c [1.2] (+11 -13), 6181 iscanbin.h [1.2] (+11 -13), iscanbin.c [1.2] (+63 -35), 6182 iscan.h [1.2] (+11 -13), iscan.c [1.2] (+11 -13), isave.h [1.2] (+11 -13), 6183 isave.c [1.2] (+57 -61), iref.h [1.2] (+11 -13), ireclaim.c [1.2] (+11 -13), 6184 iplugin.h [1.2] (+11 -13), iplugin.c [1.2] (+11 -13), ipcolor.h [1.2] (+11 -13), 6185 iparray.h [1.2] (+11 -13), iparam.h [1.2] (+11 -13), iparam.c [1.2] (+11 -13), 6186 ipacked.h [1.2] (+11 -13), iostack.h [1.2] (+11 -13), iosdata.h [1.2] (+11 -13), 6187 interp.h [1.2] (+11 -13), interp.c [1.2] (+11 -13), int.mak [1.3] (+34 -29), 6188 inouparm.c [1.2] (+11 -13), inobtokn.c [1.2] (+11 -13), 6189 inamestr.h [1.2] (+11 -13), inames.h [1.2] (+11 -13), inameidx.h [1.2] (+11 -13), 6190 inamedef.h [1.2] (+11 -13), iname.h [1.2] (+11 -13), iname.c [1.2] (+11 -13), 6191 iminst.h [1.2] (+11 -13), imemory.h [1.2] (+11 -13), imainarg.h [1.2] (+11 -13), 6192 imainarg.c [1.2] (+40 -26), imain.h [1.2] (+11 -13), imain.c [1.2] (+17 -19), 6193 ilocate.c [1.2] (+11 -13), ilevel.h [1.2] (+11 -13), ijs.mak [1.1] (+117 -0), 6194 iinit.h [1.2] (+11 -13), iinit.c [1.2] (+11 -13), iimage2.h [1.2] (+11 -13), 6195 iimage.h [1.2] (+11 -13), iht.h [1.2] (+11 -13), igstate.h [1.4] (+11 -13), 6196 igcstr.h [1.2] (+11 -13), igcstr.c [1.2] (+11 -13), igcref.c [1.2] (+11 -13), 6197 igc.h [1.2] (+11 -13), igc.c [1.2] (+11 -13), ifwpred.h [1.2] (+11 -13), 6198 ifunc.h [1.2] (+20 -16), ifrpred.h [1.2] (+11 -13), ifont42.h [1.2] (+11 -13), 6199 ifont2.h [1.2] (+11 -13), ifont1.h [1.2] (+11 -13), ifont.h [1.2] (+11 -13), 6200 ifilter2.h [1.2] (+11 -13), ifilter.h [1.2] (+11 -13), ifcid.h [1.2] (+11 -13), 6201 ifapi.h [1.2] (+53 -56), iestack.h [1.2] (+11 -13), iesdata.h [1.2] (+11 -13), 6202 idstack.h [1.2] (+11 -13), idstack.c [1.2] (+11 -13), idsdata.h [1.2] (+11 -13), 6203 idparam.h [1.2] (+11 -13), idparam.c [1.2] (+11 -13), idosave.h [1.2] (+11 -13), 6204 idisp.h [1.2] (+18 -15), idisp.c [1.2] (+13 -14), idictdef.h [1.2] (+11 -13), 6205 idict.h [1.2] (+11 -13), idict.c [1.2] (+11 -13), idebug.h [1.2] (+11 -13), 6206 idebug.c [1.2] (+11 -13), iddstack.h [1.2] (+11 -13), iddict.h [1.2] (+11 -13), 6207 icstate.h [1.2] (+13 -13), icsmap.h [1.2] (+11 -13), icremap.h [1.2] (+11 -13), 6208 icontext.h [1.2] (+11 -13), icontext.c [1.2] (+14 -14), 6209 iconf.h [1.2] (+11 -13), iconf.c [1.2] (+11 -13), icolor.h [1.2] (+11 -13), 6210 icie.h [1.2] (+11 -13), icid.h [1.2] (+11 -13), icharout.h [1.2] (+11 -13), 6211 ichar1.h [1.2] (+11 -13), ichar.h [1.2] (+11 -13), icfontab.c [1.2] (+11 -13), 6212 icclib.mak [1.2] (+11 -13), iccinit0.c [1.2] (+11 -13), 6213 iccfont.c [1.2] (+14 -13), ibnum.h [1.2] (+35 -20), ibnum.c [1.2] (+39 -30), 6214 iastruct.h [1.2] (+11 -13), iastate.h [1.2] (+11 -13), iapi.h [1.2] (+29 -13), 6215 iapi.c [1.2] (+24 -17), ialloc.h [1.2] (+11 -13), ialloc.c [1.2] (+11 -13), 6216 gzstate.h [1.2] (+11 -13), gzpath.h [1.2] (+11 -13), gzline.h [1.2] (+11 -13), 6217 gzht.h [1.4] (+14 -13), gzcpath.h [1.2] (+11 -13), gzacpath.h [1.2] (+11 -13), 6218 gxxfont.h [1.2] (+11 -13), gxtype1.h [1.2] (+41 -31), gxtype1.c [1.2] (+14 -15), 6219 gxttf.h [1.2] (+23 -13), gxtmap.h [1.2] (+11 -13), gxtext.h [1.2] (+11 -13), 6220 gxsync.h [1.2] (+11 -13), gxsync.c [1.2] (+11 -13), gxstroke.c [1.2] (+11 -13), 6221 gxstdio.h [1.2] (+11 -13), gxstate.h [1.3] (+11 -13), gxshade6.c [1.2] (+11 -13), 6222 gxshade4.h [1.2] (+11 -13), gxshade4.c [1.2] (+11 -13), 6223 gxshade1.c [1.2] (+11 -13), gxshade.h [1.2] (+11 -13), gxshade.c [1.2] (+11 -13), 6224 gxsample.h [1.2] (+11 -13), gxsample.c [1.2] (+11 -13), 6225 gxrplane.h [1.2] (+11 -13), gxropc.h [1.2] (+11 -13), gxpflat.c [1.2] (+11 -13), 6226 gxpdash.c [1.2] (+11 -13), gxpcopy.c [1.2] (+11 -13), gxpcolor.h [1.2] (+11 -13), 6227 gxpcmap.c [1.3] (+11 -13), gxpcache.h [1.2] (+11 -13), gxpath2.c [1.2] (+11 -13), 6228 gxpath.h [1.2] (+11 -13), gxpath.c [1.2] (+11 -13), gxpaint.h [1.2] (+11 -13), 6229 gxpaint.c [1.2] (+11 -13), gxpageq.h [1.2] (+11 -13), gxpageq.c [1.2] (+11 -13), 6230 gxp1impl.h [1.2] (+11 -13), gxp1fill.c [1.2] (+11 -13), 6231 gxop1.h [1.2] (+11 -13), gxobj.h [1.2] (+17 -15), gxmclip.h [1.2] (+11 -13), 6232 gxmclip.c [1.2] (+11 -13), gxmatrix.h [1.2] (+11 -13), gxlum.h [1.2] (+11 -13), 6233 gxline.h [1.2] (+11 -13), gxistate.h [1.6] (+11 -13), gxiscale.c [1.4] (+26 -18), 6234 gxipixel.c [1.2] (+32 -28), gxiparam.h [1.2] (+11 -13), 6235 gxiodev.h [1.2] (+11 -13), gxino12b.c [1.2] (+11 -13), gximono.c [1.2] (+21 -20), 6236 gximage4.c [1.2] (+11 -13), gximage3.h [1.2] (+11 -13), 6237 gximage3.c [1.2] (+11 -13), gximage2.c [1.2] (+11 -13), 6238 gximage1.c [1.2] (+11 -13), gximage.h [1.2] (+18 -13), gximage.c [1.2] (+11 -13), 6239 gximag3x.h [1.2] (+11 -13), gximag3x.c [1.2] (+22 -19), 6240 gxifast.c [1.2] (+11 -13), gxidata.c [1.2] (+11 -13), gxicolor.c [1.2] (+11 -13), 6241 gxiclass.h [1.2] (+11 -13), gxi12bit.c [1.2] (+11 -13), 6242 gxhttype.h [1.2] (+11 -13), gxhttile.h [1.2] (+11 -13), 6243 gxhtbit.c [1.2] (+11 -13), gxht.h [1.4] (+11 -13), gxht.c [1.2] (+25 -13), 6244 gxhint3.c [1.2] (+11 -13), gxhint2.c [1.2] (+19 -17), gxhint1.c [1.2] (+11 -13), 6245 gxgetbit.h [1.2] (+11 -13), gxfunc.h [1.2] (+11 -13), gxftype.h [1.2] (+11 -13), 6246 gxfrac.h [1.2] (+11 -13), gxfont42.h [1.2] (+11 -13), gxfont1.h [1.2] (+11 -13), 6247 gxfont0.h [1.2] (+11 -13), gxfont.h [1.2] (+21 -14), gxfmap.h [1.2] (+11 -13), 6248 gxfixed.h [1.2] (+11 -13), gxfill.c [1.2] (+11 -13), gxfcmap.h [1.2] (+24 -14), 6249 gxfcid.h [1.2] (+11 -13), gxfcache.h [1.2] (+12 -13), gxfarith.h [1.2] (+11 -13), 6250 gxfapi.h [1.2] (+17 -15), gxfapi.c [1.2] (+28 -29), gxdither.h [1.2] (+11 -13), 6251 gxdither.c [1.5] (+11 -13), gxdhtres.h [1.2] (+11 -13), 6252 gxdht.h [1.5] (+11 -13), gxdevrop.h [1.2] (+11 -13), gxdevndi.h [1.3] (+11 -13), 6253 gxdevndi.c [1.5] (+11 -13), gxdevmem.h [1.5] (+11 -13), 6254 gxdevice.h [1.6] (+18 -17), gxdevcli.h [1.7] (+12 -13), 6255 gxdevbuf.h [1.2] (+11 -13), gxdda.h [1.2] (+11 -13), gxdcolor.h [1.2] (+11 -13), 6256 gxdcolor.c [1.6] (+11 -13), gxdcconv.h [1.2] (+11 -13), 6257 gxdcconv.c [1.2] (+11 -13), gxcvalue.h [1.2] (+11 -13), 6258 gxctable.h [1.2] (+11 -13), gxctable.c [1.2] (+11 -13), 6259 gxcspace.h [1.4] (+11 -13), gxcpath.h [1.2] (+11 -13), gxcpath.c [1.2] (+11 -13), 6260 gxcoord.h [1.2] (+11 -13), gxcomp.h [1.2] (+11 -13), gxcolor2.h [1.2] (+11 -13), 6261 gxcmap.h [1.6] (+11 -13), gxcmap.c [1.7] (+11 -13), gxclzlib.c [1.2] (+11 -13), 6262 gxclutil.c [1.3] (+11 -13), gxclrect.c [1.2] (+11 -13), 6263 gxclread.c [1.2] (+11 -13), gxclrast.c [1.6] (+11 -13), 6264 gxclpath.h [1.2] (+11 -13), gxclpath.c [1.2] (+11 -13), 6265 gxclpage.h [1.2] (+11 -13), gxclpage.c [1.2] (+11 -13), 6266 gxclmem.h [1.2] (+11 -13), gxclmem.c [1.2] (+11 -13), gxcllzw.c [1.2] (+11 -13), 6267 gxclist.h [1.2] (+11 -13), gxclist.c [1.3] (+11 -13), gxclipsr.h [1.2] (+11 -13), 6268 gxclipm.h [1.2] (+11 -13), gxclipm.c [1.3] (+11 -13), gxclip2.h [1.2] (+11 -13), 6269 gxclip2.c [1.3] (+11 -13), gxclip.h [1.2] (+11 -13), gxclip.c [1.3] (+11 -13), 6270 gxclio.h [1.2] (+11 -13), gxclimag.c [1.3] (+11 -13), gxclfile.c [1.2] (+11 -13), 6271 gxcldev.h [1.3] (+11 -13), gxclbits.c [1.2] (+11 -13), gxcindex.h [1.5] (+11 -13), 6272 gxcie.h [1.2] (+37 -16), gxcid.h [1.2] (+11 -13), gxcht.c [1.11] (+11 -13), 6273 gxchrout.h [1.2] (+11 -13), gxchrout.c [1.2] (+11 -13), 6274 gxchar.h [1.2] (+16 -16), gxchar.c [1.2] (+63 -57), gxcdevn.h [1.2] (+11 -13), 6275 gxccman.c [1.2] (+11 -13), gxccache.c [1.2] (+11 -13), gxblend.h [1.2] (+11 -13), 6276 gxblend.c [1.2] (+11 -13), gxbitops.h [1.2] (+11 -13), gxbitmap.h [1.2] (+33 -17), 6277 gxbitfmt.h [1.2] (+11 -13), gxbcache.h [1.2] (+11 -13), 6278 gxbcache.c [1.2] (+11 -13), gxband.h [1.2] (+11 -13), gxarith.h [1.2] (+11 -13), 6279 gxalpha.h [1.2] (+11 -13), gxalloc.h [1.2] (+11 -13), gxacpath.c [1.3] (+11 -13), 6280 gx.h [1.2] (+11 -13), gsxfont.h [1.2] (+11 -13), gswin.rc [1.2] (+11 -13), 6281 gsutil.h [1.2] (+12 -13), gsutil.c [1.2] (+15 -15), gsuid.h [1.2] (+11 -13), 6282 gstypes.h [1.2] (+11 -13), gstype42.c [1.2] (+25 -36), gstype2.c [1.2] (+33 -25), 6283 gstype1.h [1.2] (+11 -13), gstype1.c [1.2] (+24 -24), gstrap.h [1.2] (+11 -13), 6284 gstrap.c [1.2] (+11 -13), gstrans.h [1.2] (+11 -13), gstrans.c [1.2] (+11 -13), 6285 gstparam.h [1.2] (+11 -13), gstext.h [1.2] (+11 -13), gstext.c [1.2] (+11 -13), 6286 gsstype.h [1.2] (+11 -13), gsstruct.h [1.2] (+11 -13), gsstate.h [1.2] (+11 -13), 6287 gsstate.c [1.2] (+15 -14), gsshade.h [1.2] (+11 -13), gsshade.c [1.2] (+11 -13), 6288 gsroptab.c [1.2] (+11 -13), gsropt.h [1.2] (+11 -13), gsropc.h [1.2] (+11 -13), 6289 gsropc.c [1.2] (+11 -13), gsrop.h [1.2] (+11 -13), gsrop.c [1.2] (+11 -13), 6290 gsrefct.h [1.2] (+11 -13), gsrect.h [1.2] (+11 -13), gsptype2.h [1.2] (+11 -13), 6291 gsptype2.c [1.2] (+11 -13), gsptype1.h [1.2] (+11 -13), 6292 gsptype1.c [1.2] (+11 -13), gspmdrv.rc [1.2] (+11 -13), 6293 gspmdrv.h [1.2] (+11 -13), gspmdrv.c [1.2] (+11 -13), gspenum.h [1.2] (+11 -13), 6294 gspcolor.h [1.2] (+11 -13), gspcolor.c [1.2] (+11 -13), 6295 gspath2.h [1.2] (+11 -13), gspath1.c [1.2] (+11 -13), gspath.h [1.2] (+11 -13), 6296 gspath.c [1.2] (+12 -14), gsparamx.h [1.2] (+11 -13), gsparamx.c [1.2] (+11 -13), 6297 gsparams.h [1.2] (+11 -13), gsparams.c [1.2] (+11 -13), 6298 gsparam2.c [1.2] (+11 -13), gsparam.h [1.2] (+11 -13), gsparam.c [1.2] (+11 -13), 6299 gspaint.h [1.2] (+11 -13), gspaint.c [1.2] (+11 -13), gsos2.rc [1.2] (+11 -13), 6300 gsnotify.h [1.2] (+11 -13), gsnotify.c [1.2] (+11 -13), 6301 gsnorop.c [1.2] (+11 -13), gsnogc.h [1.2] (+11 -13), gsnogc.c [1.2] (+11 -13), 6302 gsmisc.c [1.3] (+11 -13), gsmemret.h [1.2] (+11 -13), gsmemret.c [1.2] (+11 -13), 6303 gsmemraw.h [1.2] (+35 -13), gsmemory.h [1.2] (+18 -13), 6304 gsmemory.c [1.2] (+11 -13), gsmemlok.h [1.2] (+11 -13), 6305 gsmemlok.c [1.2] (+11 -13), gsmdebug.h [1.2] (+11 -13), 6306 gsmatrix.h [1.2] (+11 -13), gsmatrix.c [1.2] (+11 -13), 6307 gsmalloc.h [1.2] (+11 -13), gsmalloc.c [1.2] (+21 -17), 6308 gslparam.h [1.2] (+11 -13), gsline.h [1.2] (+11 -13), gsline.c [1.2] (+11 -13), 6309 gslib.h [1.2] (+11 -13), gslib.c [1.2] (+11 -13), gsjmorec.h [1.2] (+11 -13), 6310 gsjconf.h [1.2] (+11 -13), gsistate.c [1.4] (+11 -15), gsiparm4.h [1.2] (+11 -13), 6311 gsiparm3.h [1.2] (+11 -13), gsiparm2.h [1.2] (+11 -13), 6312 gsiparam.h [1.2] (+11 -13), gsipar3x.h [1.2] (+16 -14), 6313 gsiodevs.c [1.2] (+11 -13), gsiodev.c [1.2] (+11 -13), gsio.h [1.2] (+11 -13), 6314 gsinit.c [1.2] (+11 -13), gsimpath.c [1.2] (+11 -13), gsimage.h [1.2] (+11 -13), 6315 gsimage.c [1.2] (+11 -13), gsicc.h [1.2] (+11 -13), gsicc.c [1.2] (+11 -13), 6316 gshtx.h [1.3] (+11 -13), gshtx.c [1.5] (+11 -13), gshtscr.c [1.2] (+11 -13), 6317 gsht1.h [1.2] (+11 -13), gsht1.c [1.4] (+11 -13), gsht.h [1.2] (+11 -13), 6318 gsht.c [1.5] (+11 -13), gshsb.h [1.2] (+11 -13), gshsb.c [1.2] (+11 -13), 6319 gsgdata.h [1.2] (+11 -13), gsgdata.c [1.2] (+11 -13), gsgc.h [1.2] (+11 -13), 6320 gsfuncv.h [1.2] (+11 -13), gsfuncv.c [1.2] (+11 -13), gsfunc4.h [1.2] (+11 -13), 6321 gsfunc4.c [1.2] (+11 -13), gsfunc3.h [1.2] (+11 -13), gsfunc3.c [1.2] (+11 -13), 6322 gsfunc0.h [1.2] (+11 -13), gsfunc0.c [1.2] (+11 -13), gsfunc.h [1.2] (+11 -13), 6323 gsfunc.c [1.2] (+11 -13), gsfont0.c [1.2] (+11 -13), gsfont.h [1.2] (+11 -13), 6324 gsfont.c [1.2] (+11 -16), gsfname.h [1.2] (+11 -13), gsfname.c [1.2] (+11 -13), 6325 gsflip.h [1.2] (+11 -13), gsflip.c [1.2] (+11 -13), gsfemu.c [1.2] (+11 -13), 6326 gsfcmap.h [1.2] (+11 -13), gsfcmap.c [1.2] (+12 -14), gsfcid.c [1.2] (+11 -13), 6327 gsexit.h [1.2] (+11 -13), gserver.c [1.2] (+18 -18), gserrors.h [1.2] (+11 -13), 6328 gserror.h [1.2] (+11 -15), gsdsrc.h [1.2] (+11 -13), gsdsrc.c [1.2] (+11 -13), 6329 gsdps1.c [1.2] (+11 -13), gsdps.h [1.2] (+11 -13), gsdps.c [1.2] (+11 -13), 6330 gsdpnext.h [1.2] (+11 -13), gsdparam.c [1.4] (+27 -15), 6331 gsdllwin.h [1.2] (+11 -13), gsdllos2.h [1.2] (+11 -13), 6332 gsdll32.rc [1.2] (+11 -13), gsdll32.def [1.2] (+1 -0), gsdll2.rc [1.2] (+11 -13), 6333 gsdll.h [1.2] (+13 -16), gsdll.c [1.2] (+11 -13), gsdfilt.h [1.2] (+16 -13), 6334 gsdfilt.c [1.3] (+11 -13), gsdevmem.c [1.2] (+11 -13), gsdevice.h [1.2] (+11 -13), 6335 gsdevice.c [1.2] (+11 -15), gsdcolor.h [1.5] (+11 -13), 6336 gscssub.h [1.2] (+11 -13), gscssub.c [1.2] (+11 -13), gscspace.h [1.4] (+11 -13), 6337 gscspace.c [1.2] (+11 -13), gscsepr.h [1.2] (+11 -13), gscsepr.c [1.4] (+11 -13), 6338 gscsel.h [1.2] (+11 -13), gscscie.c [1.2] (+11 -13), gscrypt1.h [1.2] (+11 -13), 6339 gscrypt1.c [1.2] (+11 -13), gscrdp.h [1.2] (+11 -13), gscrdp.c [1.2] (+11 -13), 6340 gscrd.h [1.2] (+11 -13), gscrd.c [1.2] (+15 -17), gscpm.h [1.2] (+11 -13), 6341 gscpixel.h [1.2] (+11 -13), gscpixel.c [1.4] (+11 -13), 6342 gscparam.c [1.2] (+11 -13), gscoord.h [1.2] (+11 -13), gscoord.c [1.2] (+11 -13), 6343 gscompt.h [1.2] (+11 -13), gscolor3.h [1.2] (+11 -13), gscolor3.c [1.2] (+11 -13), 6344 gscolor2.h [1.2] (+11 -13), gscolor2.c [1.2] (+11 -13), 6345 gscolor1.h [1.2] (+11 -13), gscolor1.c [1.4] (+11 -14), 6346 gscolor.h [1.2] (+11 -13), gscolor.c [1.3] (+11 -13), gsclipsr.h [1.2] (+11 -13), 6347 gsclipsr.c [1.2] (+11 -13), gscindex.h [1.2] (+11 -13), 6348 gsciemap.c [1.2] (+201 -88), gscie.h [1.2] (+59 -26), gscie.c [1.2] (+302 -77), 6349 gschar0.c [1.2] (+11 -13), gschar.h [1.2] (+11 -13), gschar.c [1.2] (+11 -13), 6350 gscdevn.h [1.4] (+11 -13), gscdevn.c [1.5] (+11 -13), gscdefs.h [1.2] (+11 -13), 6351 gscdef.c [1.2] (+11 -13), gsccolor.h [1.4] (+11 -13), gsccode.h [1.2] (+11 -13), 6352 gsbittab.h [1.2] (+11 -13), gsbittab.c [1.2] (+11 -13), 6353 gsbitops.h [1.2] (+11 -13), gsbitops.c [1.2] (+11 -13), 6354 gsbitmap.h [1.2] (+11 -13), gsbitcom.c [1.2] (+11 -13), 6355 gsargs.h [1.2] (+11 -13), gsargs.c [1.2] (+11 -13), gsalphac.h [1.2] (+11 -13), 6356 gsalphac.c [1.3] (+11 -13), gsalpha.h [1.2] (+11 -13), gsalpha.c [1.2] (+11 -13), 6357 gsalloc.h [1.2] (+11 -13), gsalloc.c [1.2] (+131 -39), gs16spl.rc [1.2] (+11 -13), 6358 gs16spl.c [1.2] (+11 -13), gs.mak [1.4] (+23 -18), gs.c [1.2] (+11 -13), 6359 gpsync.h [1.2] (+11 -13), gpmisc.h [1.2] (+11 -13), gpmisc.c [1.2] (+11 -13), 6360 gpgetenv.h [1.2] (+11 -13), gpcheck.h [1.2] (+11 -13), gp_wsync.c [1.2] (+11 -13), 6361 gp_win32.c [1.2] (+11 -13), gp_wgetv.c [1.2] (+11 -13), 6362 gp_vms.c [1.2] (+55 -17), gp_unix.c [1.2] (+11 -13), gp_unifs.c [1.2] (+11 -13), 6363 gp_unifn.c [1.2] (+43 -17), gp_sysv.c [1.2] (+11 -13), gp_strdl.c [1.2] (+11 -13), 6364 gp_stdin.c [1.2] (+11 -13), gp_stdia.c [1.2] (+11 -13), 6365 gp_psync.c [1.2] (+11 -13), gp_os9.c [1.2] (+11 -13), gp_os2.c [1.2] (+44 -18), 6366 gp_ntfs.c [1.2] (+39 -16), gp_nsync.c [1.2] (+11 -13), gp_mswin.h [1.2] (+11 -13), 6367 gp_mswin.c [1.2] (+11 -13), gp_msprn.c [1.2] (+11 -13), 6368 gp_mspol.c [1.2] (+11 -13), gp_mslib.c [1.2] (+11 -13), 6369 gp_msio.c [1.2] (+11 -13), gp_mshdl.c [1.2] (+11 -13), gp_msdos.c [1.2] (+11 -13), 6370 gp_msdll.c [1.2] (+11 -13), gp_mktmp.c [1.2] (+11 -13), 6371 gp_macio.c [1.2] (+32 -5), gp_mac.h [1.2] (+12 -13), gp_mac.c [1.2] (+10 -12), 6372 gp_iwatc.c [1.2] (+11 -13), gp_getnv.c [1.2] (+11 -13), 6373 gp_dvx.c [1.2] (+11 -13), gp_dosfs.c [1.2] (+44 -18), gp_dosfe.c [1.2] (+12 -14), 6374 gp.h [1.2] (+19 -16), ghost.h [1.2] (+11 -13), geninit.c [1.2] (+11 -13), 6375 genht.c [1.2] (+11 -13), gendev.c [1.2] (+11 -13), genconf.c [1.2] (+11 -13), 6376 genarch.c [1.2] (+57 -28), gdevxxf.c [1.2] (+11 -13), gdevxres.c [1.2] (+11 -13), 6377 gdevxini.c [1.4] (+11 -13), gdevxcmp.h [1.2] (+11 -13), 6378 gdevxcmp.c [1.3] (+11 -13), gdevxcf.c [1.2] (+11 -13), gdevxalt.c [1.3] (+57 -31), 6379 gdevx.h [1.2] (+11 -13), gdevx.c [1.2] (+168 -157), gdevwprn.c [1.2] (+11 -13), 6380 gdevwpr2.c [1.2] (+11 -13), gdevwdib.c [1.2] (+12 -14), 6381 gdevwddb.c [1.2] (+11 -13), gdevvglb.c [1.2] (+11 -13), 6382 gdevvec.h [1.2] (+11 -13), gdevvec.c [1.2] (+16 -16), gdevupd.c [1.3] (+12 -14), 6383 gdevtrac.c [1.2] (+11 -13), gdevtknk.c [1.3] (+11 -13), 6384 gdevtifs.h [1.2] (+11 -13), gdevtifs.c [1.2] (+11 -13), 6385 gdevtfnx.c [1.2] (+11 -13), gdevtfax.h [1.2] (+11 -13), 6386 gdevtfax.c [1.2] (+11 -13), gdevsvga.h [1.2] (+11 -13), 6387 gdevsvga.c [1.2] (+11 -13), gdevsunr.c [1.2] (+11 -13), 6388 gdevsun.c [1.2] (+11 -13), gdevstc4.c [1.2] (+11 -13), gdevstc3.c [1.2] (+11 -13), 6389 gdevstc2.c [1.2] (+11 -13), gdevstc1.c [1.2] (+11 -13), 6390 gdevstc.h [1.2] (+11 -13), gdevstc.c [1.3] (+11 -13), gdevsppr.c [1.2] (+11 -13), 6391 gdevsnfb.c [1.2] (+11 -13), gdevsj48.c [1.2] (+11 -13), 6392 gdevsco.c [1.2] (+11 -13), gdevs3ga.c [1.2] (+11 -13), gdevrops.c [1.3] (+11 -13), 6393 gdevpxut.h [1.2] (+11 -13), gdevpxut.c [1.2] (+11 -13), 6394 gdevpxop.h [1.2] (+11 -13), gdevpxen.h [1.2] (+11 -13), 6395 gdevpxat.h [1.2] (+11 -13), gdevpx.c [1.2] (+11 -13), gdevpsu.h [1.2] (+11 -13), 6396 gdevpsu.c [1.2] (+13 -15), gdevpsim.c [1.2] (+11 -13), gdevpsfx.c [1.2] (+45 -36), 6397 gdevpsfu.c [1.2] (+11 -13), gdevpsft.c [1.2] (+112 -42), 6398 gdevpsfm.c [1.2] (+23 -20), gdevpsf2.c [1.2] (+11 -13), 6399 gdevpsf1.c [1.2] (+11 -13), gdevpsf.h [1.2] (+11 -13), gdevpsdu.c [1.2] (+13 -18), 6400 gdevpsds.h [1.2] (+11 -13), gdevpsds.c [1.2] (+11 -13), 6401 gdevpsdp.c [1.2] (+12 -14), gdevpsdi.c [1.2] (+11 -17), 6402 gdevpsdf.h [1.2] (+11 -13), gdevps.c [1.2] (+17 -14), gdevprna.h [1.2] (+11 -13), 6403 gdevprna.c [1.2] (+11 -13), gdevprn.h [1.3] (+11 -13), gdevprn.c [1.4] (+18 -14), 6404 gdevppla.h [1.2] (+11 -13), gdevppla.c [1.2] (+11 -13), 6405 gdevpnga.c [1.2] (+11 -13), gdevpng.c [1.2] (+11 -13), gdevpm.h [1.2] (+11 -13), 6406 gdevpm.c [1.2] (+11 -13), gdevplnx.h [1.2] (+11 -13), gdevplnx.c [1.2] (+11 -13), 6407 gdevpjet.c [1.2] (+11 -13), gdevpipe.c [1.2] (+11 -13), 6408 gdevphex.c [1.2] (+20 -20), gdevpe.c [1.2] (+11 -13), gdevpdfx.h [1.2] (+20 -16), 6409 gdevpdfw.c [1.2] (+11 -13), gdevpdfv.c [1.2] (+11 -13), 6410 gdevpdfu.c [1.2] (+27 -26), gdevpdft.c [1.2] (+12 -14), 6411 gdevpdfs.c [1.2] (+130 -101), gdevpdfr.c [1.2] (+30 -17), 6412 gdevpdfp.c [1.2] (+55 -22), gdevpdfo.h [1.2] (+24 -23), 6413 gdevpdfo.c [1.2] (+14 -14), gdevpdfm.c [1.2] (+11 -13), 6414 gdevpdfk.c [1.1] (+714 -0), gdevpdfj.c [1.2] (+15 -16), 6415 gdevpdfi.c [1.2] (+134 -15), gdevpdfg.h [1.2] (+11 -13), 6416 gdevpdfg.c [1.3] (+11 -13), gdevpdff.h [1.2] (+40 -23), 6417 gdevpdff.c [1.2] (+70 -45), gdevpdfe.c [1.2] (+84 -58), 6418 gdevpdfd.c [1.2] (+11 -13), gdevpdfc.c [1.2] (+382 -394), 6419 gdevpdfb.c [1.2] (+11 -13), gdevpdf.c [1.4] (+83 -33), gdevpcx.c [1.2] (+11 -13), 6420 gdevpcl.h [1.2] (+11 -13), gdevpcl.c [1.3] (+11 -13), gdevpcfb.h [1.2] (+11 -13), 6421 gdevpcfb.c [1.2] (+11 -13), gdevpccm.h [1.2] (+11 -13), 6422 gdevpccm.c [1.3] (+11 -13), gdevpbm.c [1.6] (+11 -13), gdevp2up.c [1.2] (+11 -13), 6423 gdevp14.h [1.2] (+11 -13), gdevp14.c [1.2] (+26 -134), gdevos2p.c [1.2] (+11 -13), 6424 gdevokii.c [1.2] (+11 -13), gdevo182.c [1.2] (+11 -13), 6425 gdevnfwd.c [1.4] (+11 -13), gdevn533.c [1.2] (+11 -13), 6426 gdevmsxf.c [1.2] (+11 -13), gdevmswn.h [1.2] (+11 -13), 6427 gdevmswn.c [1.2] (+11 -13), gdevmrun.h [1.2] (+11 -13), 6428 gdevmrun.c [1.2] (+11 -13), gdevmrop.h [1.2] (+11 -13), 6429 gdevmr8n.c [1.2] (+11 -13), gdevmr2n.c [1.2] (+11 -13), 6430 gdevmr1.c [1.2] (+11 -13), gdevmpla.h [1.2] (+11 -13), gdevmpla.c [1.2] (+11 -13), 6431 gdevmiff.c [1.2] (+11 -13), gdevmgr.h [1.2] (+11 -13), gdevmgr.c [1.2] (+11 -13), 6432 gdevmem.h [1.4] (+11 -13), gdevmem.c [1.5] (+11 -13), gdevmeds.h [1.2] (+11 -13), 6433 gdevmeds.c [1.2] (+11 -13), gdevmacxf.c [1.2] (+12 -13), 6434 gdevmacttf.h [1.2] (+6 -0), gdevmacpictop.h [1.2] (+7 -0), 6435 gdevmac.h [1.2] (+11 -12), gdevmac.c [1.2] (+9 -1), gdevm8.c [1.2] (+11 -13), 6436 gdevm64.c [1.4] (+11 -13), gdevm56.c [1.4] (+11 -13), gdevm48.c [1.5] (+11 -13), 6437 gdevm40.c [1.5] (+11 -13), gdevm4.c [1.2] (+11 -13), gdevm32.c [1.2] (+11 -13), 6438 gdevm24.c [1.2] (+11 -13), gdevm2.c [1.2] (+11 -13), gdevm16.c [1.3] (+11 -13), 6439 gdevm1.c [1.3] (+11 -13), gdevlxm.c [1.2] (+11 -13), gdevlp8k.c [1.2] (+11 -13), 6440 gdevlj56.c [1.2] (+11 -13), gdevlbp8.c [1.2] (+11 -13), 6441 gdevl31s.c [1.2] (+11 -13), gdevl256.c [1.2] (+11 -13), 6442 gdevjpeg.c [1.2] (+11 -13), gdevimgn.c [1.2] (+11 -13), 6443 gdevijs.c [1.1] (+1079 -0), gdevht.h [1.2] (+11 -13), gdevht.c [1.4] (+11 -13), 6444 gdevhpij.h [1.2] (+1 -0), gdevhpij.c [1.2] (+8 -7), gdevhl7x.c [1.2] (+16 -18), 6445 gdevhit.c [1.2] (+11 -13), gdevherc.c [1.2] (+11 -13), gdevfax.h [1.2] (+11 -13), 6446 gdevfax.c [1.2] (+11 -13), gdevevga.c [1.2] (+11 -13), gdevescp.c [1.2] (+11 -13), 6447 gdevepsn.c [1.2] (+11 -13), gdevepsc.c [1.3] (+11 -13), 6448 gdevemap.c [1.2] (+11 -13), gdevegaa.asm [1.2] (+11 -13), 6449 gdevdsp2.h [1.2] (+16 -19), gdevdsp.h [1.2] (+17 -18), gdevdsp.c [1.7] (+13 -15), 6450 gdevdrop.c [1.2] (+11 -13), gdevdm24.c [1.2] (+11 -13), 6451 gdevdjtc.c [1.2] (+11 -13), gdevdgbr.c [1.3] (+11 -13), 6452 gdevdflt.c [1.5] (+11 -13), gdevdfax.c [1.2] (+11 -13), 6453 gdevdevn.c [1.5] (+11 -13), gdevddrw.c [1.2] (+11 -13), 6454 gdevdcrd.h [1.2] (+11 -13), gdevdcrd.c [1.2] (+11 -13), 6455 gdevdbit.c [1.3] (+11 -13), gdevcslw.c [1.2] (+11 -13), 6456 gdevcp50.c [1.2] (+11 -13), gdevcmap.h [1.2] (+11 -13), 6457 gdevcmap.c [1.5] (+11 -13), gdevcljc.c [1.2] (+11 -13), 6458 gdevclj.c [1.2] (+11 -13), gdevcif.c [1.2] (+11 -13), gdevcgmx.h [1.2] (+11 -13), 6459 gdevcgml.h [1.2] (+11 -13), gdevcgml.c [1.2] (+11 -13), 6460 gdevcgm.c [1.2] (+17 -13), gdevcfax.c [1.2] (+11 -13), gdevcdj.c [1.3] (+22 -23), 6461 gdevccr.c [1.2] (+11 -13), gdevbmpc.c [1.3] (+11 -13), gdevbmpa.c [1.2] (+11 -13), 6462 gdevbmp.h [1.2] (+11 -13), gdevbmp.c [1.2] (+11 -13), gdevbjcl.h [1.2] (+14 -16), 6463 gdevbjcl.c [1.2] (+11 -13), gdevbjc.h [1.2] (+11 -13), gdevbj10.c [1.2] (+11 -13), 6464 gdevbit.c [1.3] (+11 -13), gdevbbox.h [1.2] (+11 -13), gdevbbox.c [1.3] (+16 -147), 6465 gdevalph.c [1.2] (+11 -13), gdevadmp.c [1.2] (+11 -13), 6466 gdevabuf.c [1.3] (+11 -13), gdev8bcm.h [1.2] (+11 -13), 6467 gdev8bcm.c [1.2] (+11 -13), gdev8510.c [1.2] (+11 -13), 6468 gdev4081.c [1.2] (+11 -13), gdev3b1.c [1.2] (+11 -13), gdev3852.c [1.2] (+11 -13), 6469 gdebug.h [1.2] (+11 -13), gconf.h [1.2] (+11 -13), gconf.c [1.2] (+11 -13), 6470 files.h [1.2] (+11 -13), fcntl_.h [1.2] (+11 -13), fapiufst.c [1.2] (+401 -262), 6471 estack.h [1.2] (+73 -33), errors.h [1.2] (+11 -13), errno_.h [1.2] (+11 -13), 6472 echogs.c [1.2] (+11 -13), dxmainc.c [1.2] (+11 -14), dxmain.c [1.2] (+11 -13), 6473 dwuninst.rc [1.2] (+11 -13), dwuninst.h [1.2] (+17 -13), 6474 dwuninst.cpp [1.2] (+11 -13), dwtrace.h [1.1] (+23 -0), 6475 dwtrace.c [1.1] (+338 -0), dwtext.h [1.2] (+17 -13), dwtext.c [1.2] (+11 -13), 6476 dwsetup.rc [1.2] (+11 -13), dwsetup.h [1.2] (+16 -13), dwsetup.cpp [1.2] (+11 -13), 6477 dwreg.h [1.2] (+13 -13), dwreg.c [1.2] (+11 -13), dwnodll.c [1.2] (+11 -12), 6478 dwmainc.c [1.2] (+23 -13), dwmain.rc [1.2] (+11 -13), dwmain.h [1.2] (+16 -13), 6479 dwmain.c [1.2] (+23 -13), dwinst.h [1.2] (+16 -13), dwinst.cpp [1.2] (+11 -13), 6480 dwimg.h [1.2] (+13 -13), dwimg.c [1.2] (+21 -17), dwdll.h [1.2] (+12 -13), 6481 dwdll.c [1.2] (+19 -13), dvx-tail.mak [1.2] (+11 -13), dvx-head.mak [1.2] (+11 -13), 6482 dvx-gcc.mak [1.2] (+25 -13), dstack.h [1.2] (+11 -13), dscparse.h [1.2] (+16 -13), 6483 dscparse.c [1.2] (+12 -14), dpmain.c [1.2] (+11 -13), dos_.h [1.2] (+11 -13), 6484 dirent_.h [1.2] (+11 -13), devs.mak [1.7] (+31 -17), ctype_.h [1.2] (+11 -13), 6485 contrib.mak [1.2] (+11 -13), cfonts.mak [1.2] (+11 -13), 6486 ccgs [1.2] (+1 -1), ccfont.h [1.2] (+11 -13), btoken.h [1.2] (+11 -13), 6487 bfont.h [1.2] (+11 -14), bench.c [1.2] (+11 -13), bcwin32.mak [1.2] (+18 -13), 6488 all-arch.mak [1.2] (+11 -13), .cvsignore [1.1] (+1 -0): 6489 merges GS head. This will not compile because pdf changes have not 6490 been added. Please wait until the pdf changes are added before 6491 updating local trees. 6492 6493 6494Sat Mar 2 05:00:00 2002 GMT August Daniel Coby dan@meerkat 6495 6496 * gxcht.c [1.10] (+9 -5): 6497 This is an optimization which reduces the number of encode_color calls 6498 required when halftoning 5 or more components. 6499 6500 6501Thu Feb 28 00:00:00 2002 GMT August Daniel Coby dan@meerkat 6502 6503 * gxcindex.h [1.4] (+12 -10): 6504 The value of gx_no_color_index was being forced to be a 'long' value 6505 instead of matching the size of gx_color_index. Change it to use gx_color_index 6506 as its type. (May create a problem on Irix 5.2.) 6507 6508 6509Wed Feb 27 08:00:00 2002 GMT August Daniel Coby dan@meerkat 6510 6511 * gxcht.c [1.9] (+46 -48): 6512 Now the halftoning will work with almost any number of components. 6513 6514 6515Wed Feb 27 02:00:00 2002 GMT August Daniel Coby dan@meerkat 6516 6517 * gxcht.c [1.8] (+6 -5): 6518 THis fix corrects the halftone hander which is used to handle more than four 6519 components. It ws not correctly handling the mixture of a fully saturated 6520 component and some halftoned components. (Worked with zero value components.) 6521 6522 6523Thu Feb 21 07:00:00 2002 GMT August Daniel Coby dan@meerkat 6524 6525 * gxcht.c [1.7] (+13 -6): 6526 This corrects a problem with some magenta coloring around the muzzle of 6527 the tiger.eps file when using the pcxcmyk device. 6528 6529 Note: There is still some stuff to check. This fix primarily uses 6530 special code for 1 bit cmyk colors (same as previous versions of GS). 6531 The non 1 bit routines should produce the same result do not. 6532 6533 6534Thu Feb 21 04:00:00 2002 GMT August Daniel Coby dan@meerkat 6535 6536 * gxcht.c [1.6] (+16 -38): 6537 Corrected problems in set_ht_colors_le_4 which was preventing it from 6538 compiling. This is the halftoner for non single bit 4 or less components. 6539 6540 6541Tue Feb 19 05:00:00 2002 GMT Henry Stiles henrys@meerkat 6542 6543 * unix-gcc.mak [1.5] (+3 -8), gdevm48.c [1.4] (+2 -2): 6544 The pixel size was incorrectly set to 3 instead of six (jan). Adds 6545 CPPFLAG define for the long long so it works properly with raph's xcf 6546 device. 6547 6548 6549Tue Feb 19 05:00:00 2002 GMT August Daniel Coby dan@meerkat 6550 6551 * gxcht.c [1.5] (+13 -14): 6552 Corrects a problem with an unknown error being returned in 'fill' when 6553 drawing tiger.ps using the pcxcmyk device. Some of the color halfoning 6554 code is disabled because it is not compatible with the devicen device 6555 color mapping routines. This fix corrects some of these problems. 6556 6557 6558 Note: There are still more problems in this module related to the DeviceN 6559 implementation. There are many places that that assume 3 or 4 colors 6560 only. 6561 6562 * gdevm40.c [1.4] (+2 -2): 6563 Matching change to the change in gdevm48.c. Changed a hard coded value 6564 of 3 for the pixel size to PIXEL_SIZE. The 3 was a holdover from code 6565 copied from gdevm24.c. Note: gdevm56.c and gdevm64.c are already 6566 correct. 6567 6568 6569Fri Feb 15 06:00:00 2002 GMT August Daniel Coby dan@meerkat 6570 6571 * gxdevcli.h [1.6] (+1 -13): 6572 Removed unnecessary and incorrect dci_deviceN macros that had been 6573 previously inserted. As per request for Jan. S. 6574 6575 6576Tue Feb 12 18:00:00 2002 GMT Raph Levine raph@meerkat 6577 6578 * gdevxcf.c [1.1] (+1047 -0), devs.mak [1.6] (+12 -1): 6579 Adds an "xcf" device, which generates Gimp XCF file format, with 6580 additional channels for DeviceN separations. 6581 6582 6583Tue Feb 12 07:00:00 2002 GMT August Daniel Coby dan@meerkat 6584 6585 * gxdevndi.c [1.4] (+83 -25), gxdcolor.c [1.5] (+7 -40), 6586 gxcmap.c [1.6] (+23 -41), gxclrast.c [1.5] (+3 -1), gsdcolor.h [1.4] (+3 -21), 6587 gdevdsp.c [1.6] (+2 -1): 6588 This commit enables halftoning. Note: The module gsdevndi.c contains 6589 the interface for setting up a halftone. 6590 6591 Also corrects a problem with purple tigers caused by changes in gdevdsp.c 6592 in the last commit. 6593 6594 6595Sat Feb 2 22:00:00 2002 GMT August Daniel Coby dan@meerkat 6596 6597 * gxdht.h [1.4] (+1 -6), gxdevndi.c [1.3] (+2 -2), gxcht.c [1.4] (+10 -10), 6598 gsht.c [1.4] (+36 -21), gdevdsp.c [1.5] (+1 -0), devs.mak [1.5] (+2 -2): 6599 This commit creates a halftone array in the imager state which contains 6600 one halftone (and transfer function) for each device colorant. 6601 6602 6603Thu Jan 24 06:00:00 2002 GMT Henry Stiles henrys@meerkat 6604 6605 * unix-gcc.mak [1.4] (+3 -3), gdevtknk.c [1.2] (+6 -2), 6606 gdevstc.c [1.2] (+29 -17), gdev4693.c [1.2] (+5 -3): 6607 more color operand fixes from the MSVC build as reported by Dan. This 6608 snapshot compiles with msvc ver 6.0. 6609 6610 6611Thu Jan 24 01:00:00 2002 GMT Henry Stiles henrys@meerkat 6612 6613 * unix-gcc.mak [1.3] (+2 -2), gxdevice.h [1.5] (+2 -1), 6614 gdevepsc.c [1.2] (+11 -11), gdevdsp.c [1.4] (+36 -26): 6615 missed color encoding operand changes. These devices were not 6616 dependencies in the unix gcc build. Adds epson device (back) to gcc 6617 makefile. It is unclear why the epson devices were removed. 6618 6619 6620Wed Jan 23 21:00:00 2002 GMT Henry Stiles henrys@meerkat 6621 6622 * zfcmap.c [1.2] (+5 -2), zfcid0.c [1.2] (+8 -2), zdpnext.c [1.2] (+26 -16), 6623 unix-gcc.mak [1.2] (+10 -4), msvc32.mak [1.4] (+2 -2), gxdevice.h [1.4] (+13 -7), 6624 gxdevcli.h [1.5] (+77 -74), gxcmap.h [1.5] (+4 -36), gxcmap.c [1.5] (+63 -253), 6625 gxcht.c [1.3] (+10 -9), gsdfilt.c [1.2] (+6 -2), gsalphac.c [1.2] (+3 -4), 6626 gdevxcmp.c [1.2] (+5 -3), gdevxalt.c [1.2] (+25 -21), gdevupd.c [1.2] (+25 -17), 6627 gdevpcl.c [1.2] (+4 -3), gdevpccm.c [1.2] (+10 -7), gdevpbm.c [1.5] (+13 -15), 6628 gdevnfwd.c [1.3] (+9 -12), gdevmem.c [1.4] (+10 -10), gdevm16.c [1.2] (+5 -6), 6629 gdevm1.c [1.2] (+5 -10), gdevdgbr.c [1.2] (+2 -2), gdevdflt.c [1.4] (+135 -33), 6630 gdevdevn.c [1.4] (+6 -5), gdevdbit.c [1.2] (+2 -3), gdevcdj.c [1.2] (+35 -34), 6631 gdevbmpc.c [1.2] (+5 -3), gdevbit.c [1.2] (+14 -16), gdevabuf.c [1.2] (+8 -5), 6632 devs.mak [1.4] (+2 -2): 6633 devs.mak - adds missing dependencies for devicen device. 6634 gdevabuf.c: - color encoding operand changes. 6635 gdevbit.c - color encoding operand changes. 6636 gdevbmp.c - color encoding operand changes. 6637 gdevcdj.c - color encoding operand changes. 6638 gdevdbit.c - color encoding operand changes. 6639 gdevdevn.c - replaces obsolete encoding flags with linear and seperable boolean. 6640 gdevdflt.c - Initialization with new color mapping defaults and color info 6641 structure initialization (orimp spec.) 6642 6643 TODO: 6644 initialization of component shift, mask, and bits should be moved. 6645 gx_default_DevCMY_get_color_mapping_procs() and 6646 gx_default_DevCMY_get_color_comp_index not implemented - currently 6647 prints a debugging warning. 6648 6649 gdevdgbr.c - color encoding operand changes. 6650 gdevm1.c - color encoding operand changes. 6651 gdevm16.c - color encoding operand changes. 6652 gdevmem.c - color encoding operand changes. 6653 gdevnfwd.c - color encoding operand changes. 6654 gdevpbm.c - color encoding operand changes. 6655 gdevpccm.c - color encoding operand changes. 6656 gdevpcl.c - color encoding operand changes. 6657 gdevupd.c - color encoding operand changes. 6658 gdevxalt.c - color encoding operand changes. 6659 gdevcmap.c - color encoding operand changes. 6660 gsalphac.c - color encoding operand changes. 6661 gsdfilt.c - color encoding operand changes. 6662 gxcht.c - color encoding operand changes. 6663 - removes #ifdef SLOW_CODE nonsense. 6664 - incomplete needs work. 6665 6666 gxcmap.c - adds gx_default_encode_color() and 6667 gx_default_decode_color() from the ORIMP spec. and removes 6668 debug mapping procedures. 6669 - Many of the color mapping procedures redefined to use the 6670 default encode and decode. Several procedures removed 6671 entirely because they are obsolete with other interface 6672 changes. 6673 - color encoding operand changes. 6674 - code cleanup... unused variables removed, etc. 6675 6676 gxcmap.h - removes color mapping debug procedures. 6677 - adds prototype for the default encode procedure. 6678 - removes default gray, cmyk and rgb encode prototypes. 6679 6680 gdevcli.h - color info modifications from the orimp spec. 6681 - removes obsolete encoding flags. 6682 - modifies the swarm of macros to support linear and 6683 - separable and deprecate encoding flags and initialiazion 6684 for component bits shift and mask. 6685 - color encoding operand changes. 6686 6687 gxdevice.h - removed obsolete encode and decoding procedure 6688 prototypes. Remaps default rgb_color and color_rgb to new default 6689 encode and decode procedures. 6690 6691 msvc32.mak and unix-gcc.mak 6692 - removes pdfwrite device for color mapping doesn't work 6693 with new color mapping, device not scheduled for first 6694 devicen release. unix-gcc.mak now has the long long hack, like msvc32.mak 6695 - -O0 for debug *NOT* -O. 6696 - removes -Wtraditional, can't find real warnings in the 6697 sea of messages. 6698 - adds devicen devices to unix-gcc.mak 6699 zpdnext.c - color encoding mapping changes. 6700 zfcid0.c & zfcmap.c 6701 - #ifdefs out profile and debugging code which should not be in 6702 this module as it depends on the pdfwrite device. 6703 6704 6705Tue Jan 22 08:00:00 2002 GMT August Daniel Coby dan@meerkat 6706 6707 * gshtx.c [1.4] (+1 -2): 6708 Correct a line missed in the previous commit. 6709 6710 6711Tue Jan 22 07:00:00 2002 GMT August Daniel Coby dan@meerkat 6712 6713 * zht2.c [1.3] (+91 -57), zgstate.c [1.3] (+2 -2), lib.mak [1.5] (+2 -2), 6714 igstate.h [1.3] (+1 -2), gzht.h [1.3] (+28 -3), gxistate.h [1.5] (+9 -6), 6715 gxht.h [1.3] (+3 -2), gxdht.h [1.3] (+3 -2), gxclrast.c [1.4] (+2 -3), 6716 gshtx.c [1.3] (+3 -4), gsht1.c [1.3] (+9 -20), gsht.c [1.3] (+139 -86), 6717 gscolor1.c [1.3] (+13 -3): 6718 This is a first pass at implementing the transfer functions in the DeviceN 6719 code. This version still has the 'color_indices' array. This should be 6720 removed shortly. 6721 6722 6723Fri Jan 11 09:00:00 2002 GMT Henry Stiles henrys@meerkat 6724 6725 * gsmisc.c [1.2] (+2 -2): 6726 ilog2() had a misplaced parenthesis. Results that were multiples of 6727 4, (like ilog2(16) and ilog2(256)) returned 0. This should get fixed 6728 in the main gs tree as well. 6729 6730 6731Tue Jan 8 00:00:00 2002 GMT August Daniel Coby dan@meerkat 6732 6733 * gxistate.h [1.4] (+9 -6), gsistate.c [1.3] (+7 -1): 6734 6735 Correct GC enumeration and relocation for the trans_comp and effectivei 6736 transfer elements of the graphics state. 6737 6738 6739Fri Jan 4 21:00:00 2002 GMT August Daniel Coby dan@meerkat 6740 6741 * gscsepnm.h [1.2] (+1 -1): 6742 Removed gscsepnm.h. This file is no longer used. It was used to describe 6743 separation names for the standard colors (G, RGB, and CMYK). The DeviceN 6744 effort now allows for any color name. 6745 6746 6747Fri Jan 4 08:00:00 2002 GMT August Daniel Coby dan@meerkat 6748 6749 * zht2.c [1.2] (+94 -63), zht1.c [1.2] (+2 -2), zht.c [1.2] (+32 -17), 6750 zgstate.c [1.2] (+26 -2), zcsdevn.c [1.4] (+10 -23), zcolor1.c [1.2] (+17 -17), 6751 zcolor.c [1.2] (+10 -8), lib.mak [1.4] (+5 -6), iutil.c [1.2] (+2 -1), 6752 int.mak [1.2] (+3 -3), igstate.h [1.2] (+5 -7), gzht.h [1.2] (+2 -2), 6753 gxstate.h [1.2] (+7 -1), gxistate.h [1.3] (+17 -15), gxht.h [1.2] (+3 -3), 6754 gxdither.c [1.4] (+3 -1), gxdht.h [1.2] (+10 -10), gxdevmem.h [1.4] (+5 -1), 6755 gxdevice.h [1.3] (+3 -3), gxdevcli.h [1.4] (+17 -7), gxdcolor.c [1.4] (+2 -5), 6756 gxcmap.h [1.4] (+6 -6), gxcmap.c [1.4] (+94 -60), gxclrast.c [1.3] (+12 -8), 6757 gxclimag.c [1.2] (+7 -1), gxcht.c [1.2] (+12 -1), gsistate.c [1.2] (+26 -23), 6758 gshtx.h [1.2] (+11 -11), gshtx.c [1.2] (+13 -1), gsht1.c [1.2] (+21 -11), 6759 gsht.c [1.2] (+100 -63), gscolor1.c [1.2] (+4 -4), gscolor.c [1.2] (+15 -12), 6760 gscdevn.c [1.4] (+3 -3), gdevpdfg.c [1.2] (+7 -1), gdevpbm.c [1.4] (+2 -2), 6761 gdevm64.c [1.3] (+7 -7), gdevm56.c [1.3] (+8 -8), gdevm48.c [1.3] (+5 -5), 6762 gdevm40.c [1.3] (+8 -8), gdevht.c [1.3] (+2 -2), gdevdevn.c [1.3] (+2 -2), 6763 gdevcmap.c [1.4] (+14 -3): 6764 1. Various fixes for the first update based upon comments from Orimp. 6765 2. First pass at getting the transfer functions (and some of the half 6766 tones) based upon the colorant names. Note: This still does not 6767 work but we want to get a first pass into CVS. 6768 6769 6770Sat Dec 8 01:00:00 2001 GMT August Daniel Coby dan@meerkat 6771 6772 * gspcmodl.h [1.2] (+1 -1), gspcmodl.c [1.2] (+1 -1): 6773 6774 These modules are no longer required after the conversion to compliance 6775 with the Orimp specification. The code that was in these modules was 6776 either made obsolete or moved to other modules. 6777 6778 6779Fri Nov 30 00:00:00 2001 GMT August Daniel Coby dan@meerkat 6780 6781 * zcsdevn.c [1.3] (+2 -19), zcolor2.c [1.3] (+4 -1), winlib.mak [1.3] (+1 -1), 6782 msvc32.mak [1.3] (+1 -1), lib.mak [1.3] (+7 -16), gxpcmap.c [1.2] (+10 -1), 6783 gxistate.h [1.2] (+13 -0), gxiscale.c [1.3] (+2 -2), gxdither.c [1.3] (+7 -1), 6784 gxdevndi.h [1.2] (+43 -43), gxdevndi.c [1.2] (+148 -144), 6785 gxdevmem.h [1.3] (+1 -1), gxdevice.h [1.2] (+11 -0), gxdevcli.h [1.3] (+265 -54), 6786 gxdcolor.c [1.3] (+39 -19), gxcspace.h [1.3] (+2 -2), gxcmap.h [1.3] (+159 -12), 6787 gxcmap.c [1.3] (+465 -519), gxclutil.c [1.2] (+152 -91), 6788 gxclrast.c [1.2] (+80 -58), gxclist.c [1.2] (+10 -1), gxclipm.c [1.2] (+10 -1), 6789 gxclip2.c [1.2] (+10 -1), gxclip.c [1.2] (+10 -1), gxcldev.h [1.2] (+9 -15), 6790 gxcindex.h [1.3] (+1 -1), gxacpath.c [1.2] (+10 -1), gsdparam.c [1.3] (+13 -15), 6791 gsdcolor.h [1.3] (+12 -7), gscspace.h [1.3] (+1 -9), gscsepr.c [1.3] (+2 -2), 6792 gscpixel.c [1.3] (+1 -1), gscdevn.h [1.3] (+2 -2), gscdevn.c [1.3] (+22 -35), 6793 gsccolor.h [1.3] (+1 -1), gs.mak [1.3] (+1 -1), gdevxini.c [1.3] (+5 -5), 6794 gdevrops.c [1.2] (+10 -1), gdevprn.h [1.2] (+16 -0), gdevprn.c [1.3] (+5 -5), 6795 gdevpdf.c [1.3] (+6 -6), gdevpbm.c [1.3] (+3 -3), gdevnfwd.c [1.2] (+60 -2), 6796 gdevmem.h [1.3] (+1 -1), gdevmem.c [1.3] (+1 -1), gdevm64.c [1.2] (+430 -430), 6797 gdevm56.c [1.2] (+527 -527), gdevm48.c [1.2] (+472 -472), 6798 gdevm40.c [1.2] (+503 -503), gdevht.c [1.2] (+10 -1), gdevdsp.c [1.3] (+8 -7), 6799 gdevdflt.c [1.3] (+33 -7), gdevdevn.c [1.2] (+1302 -1174), 6800 gdevcmap.c [1.3] (+3 -2), gdevbbox.c [1.2] (+14 -2), devs.mak [1.3] (+3 -3): 6801 Check in of first pass at DeviceN color complaint with Orimp spec. 6802 6803 6804Thu Nov 1 03:00:00 2001 GMT Henry Stiles henrys@meerkat 6805 6806 * zcsdevn.c [1.2] (+40 -3), zcolor2.c [1.2] (+6 -61), winlib.mak [1.2] (+7 -1), 6807 msvc32.mak [1.2] (+8 -1), lib.mak [1.2] (+41 -9), gxiscale.c [1.2] (+2 -2), 6808 gxdither.c [1.2] (+6 -4), gxdevndi.h [1.1] (+43 -0), gxdevndi.c [1.1] (+144 -0), 6809 gxdevmem.h [1.2] (+22 -2), gxdevcli.h [1.2] (+46 -1), gxdcolor.c [1.2] (+16 -1), 6810 gxcspace.h [1.2] (+3 -3), gxcmap.h [1.2] (+19 -1), gxcmap.c [1.2] (+338 -40), 6811 gxcindex.h [1.2] (+7 -2), gspcmodl.h [1.1] (+160 -0), gspcmodl.c [1.1] (+333 -0), 6812 gsdparam.c [1.2] (+20 -16), gsdcolor.h [1.2] (+5 -1), gscspace.h [1.2] (+10 -1), 6813 gscsepr.c [1.2] (+2 -2), gscpixel.c [1.2] (+2 -2), gscdevn.h [1.2] (+8 -1), 6814 gscdevn.c [1.2] (+141 -47), gsccolor.h [1.2] (+2 -2), gs.mak [1.2] (+6 -3), 6815 gdevxini.c [1.2] (+5 -1), gdevprn.c [1.2] (+5 -1), gdevpdf.c [1.2] (+12 -2), 6816 gdevpbm.c [1.2] (+3 -3), gdevmem.h [1.2] (+13 -1), gdevmem.c [1.2] (+16 -8), 6817 gdevm64.c [1.1] (+430 -0), gdevm56.c [1.1] (+527 -0), gdevm48.c [1.1] (+472 -0), 6818 gdevm40.c [1.1] (+503 -0), gdevdsp.c [1.2] (+10 -1), gdevdflt.c [1.2] (+9 -1), 6819 gdevdevn.c [1.1] (+1174 -0), gdevcmap.c [1.2] (+2 -2), devs.mak [1.2] (+20 -3): 6820 merge of devicen development branch - author Dan Coby 6821 6822 6823Wed Oct 31 23:00:00 2001 GMT Henry Stiles henrys@meerkat 6824 6825 * zvmem2.c [1.1] (+156 -0), zvmem.c [1.1] (+400 -0), zusparam.c [1.1] (+653 -0), 6826 zupath.c [1.1] (+677 -0), ztype.c [1.1] (+523 -0), ztrap.c [1.1] (+67 -0), 6827 ztrans.c [1.1] (+427 -0), ztoken.c [1.1] (+375 -0), zsysvm.c [1.1] (+160 -0), 6828 zstring.c [1.1] (+191 -0), zstack.c [1.1] (+301 -0), zshade.c [1.1] (+611 -0), 6829 zrop.c [1.1] (+115 -0), zrelbit.c [1.1] (+360 -0), zpcolor.c [1.1] (+260 -0), 6830 zpath1.c [1.1] (+281 -0), zpath.c [1.1] (+179 -0), zpaint.c [1.1] (+87 -0), 6831 zpacked.c [1.1] (+258 -0), zmisc3.c [1.1] (+148 -0), zmisc2.c [1.1] (+286 -0), 6832 zmisc1.c [1.1] (+173 -0), zmisc.c [1.1] (+365 -0), zmedia2.c [1.1] (+468 -0), 6833 zmatrix.c [1.1] (+363 -0), zmath.c [1.1] (+281 -0), zlib.mak [1.1] (+151 -0), 6834 ziodevsc.c [1.1] (+308 -0), ziodevs.c [1.1] (+257 -0), ziodev2.c [1.1] (+130 -0), 6835 ziodev.c [1.1] (+301 -0), zimage3.c [1.1] (+137 -0), zimage2.c [1.1] (+174 -0), 6836 zimage.c [1.1] (+521 -0), zicc.c [1.1] (+165 -0), zht2.c [1.1] (+431 -0), 6837 zht1.c [1.1] (+151 -0), zht.c [1.1] (+262 -0), zhsb.c [1.1] (+64 -0), 6838 zgstate.c [1.1] (+545 -0), zgeneric.c [1.1] (+612 -0), zfzlib.c [1.1] (+106 -0), 6839 zfunc4.c [1.1] (+298 -0), zfunc3.c [1.1] (+116 -0), zfunc0.c [1.1] (+97 -0), 6840 zfunc.c [1.1] (+263 -0), zfrsd.c [1.1] (+257 -0), zfproc.c [1.1] (+408 -0), 6841 zfont42.c [1.1] (+343 -0), zfont32.c [1.1] (+73 -0), zfont2.c [1.1] (+119 -0), 6842 zfont1.c [1.1] (+359 -0), zfont0.c [1.1] (+341 -0), zfont.c [1.1] (+552 -0), 6843 zfmd5.c [1.1] (+46 -0), zfilterx.c [1.1] (+329 -0), zfilter2.c [1.1] (+161 -0), 6844 zfilter.c [1.1] (+435 -0), zfileio.c [1.1] (+1010 -0), zfile.c [1.1] (+1108 -0), 6845 zfdecode.c [1.1] (+354 -0), zfdcte.c [1.1] (+144 -0), zfdctd.c [1.1] (+101 -0), 6846 zfcmap.c [1.1] (+496 -0), zfcid1.c [1.1] (+262 -0), zfcid0.c [1.1] (+548 -0), 6847 zfcid.c [1.1] (+80 -0), zfbcp.c [1.1] (+93 -0), zfarc4.c [1.1] (+93 -0), 6848 zfapi.c [1.1] (+992 -0), zdscpars.c [1.1] (+486 -0), zdps1.c [1.1] (+484 -0), 6849 zdps.c [1.1] (+280 -0), zdpnext.c [1.1] (+479 -0), zdouble.c [1.1] (+539 -0), 6850 zdosio.c [1.1] (+110 -0), zdict.c [1.1] (+504 -0), zdfilter.c [1.1] (+97 -0), 6851 zdevice2.c [1.1] (+372 -0), zdevice.c [1.1] (+447 -0), zdevcal.c [1.1] (+73 -0), 6852 zcssepr.c [1.1] (+236 -0), zcspixel.c [1.1] (+58 -0), zcsindex.c [1.1] (+203 -0), 6853 zcsdevn.c [1.1] (+306 -0), zcrd.c [1.1] (+454 -0), zcontrol.c [1.1] (+955 -0), 6854 zcontext.c [1.1] (+1302 -0), zcolor2.c [1.1] (+315 -0), 6855 zcolor1.c [1.1] (+218 -0), zcolor.c [1.1] (+262 -0), zcie.c [1.1] (+691 -0), 6856 zcid.c [1.1] (+52 -0), zcharx.c [1.1] (+166 -0), zcharout.c [1.1] (+385 -0), 6857 zchar42.c [1.1] (+175 -0), zchar32.c [1.1] (+213 -0), zchar2.c [1.1] (+43 -0), 6858 zchar1.c [1.1] (+1058 -0), zchar.c [1.1] (+793 -0), zcfont.c [1.1] (+155 -0), 6859 zbseq.c [1.1] (+153 -0), zbfont.c [1.1] (+674 -0), zarray.c [1.1] (+129 -0), 6860 zarith.c [1.1] (+415 -0), x_.h [1.1] (+175 -0), wmin.mak [1.1] (+61 -0), 6861 winplat.mak [1.1] (+51 -0), winlib.mak [1.1] (+191 -0), 6862 winint.mak [1.1] (+280 -0), windows_.h [1.1] (+50 -0), wctail.mak [1.1] (+94 -0), 6863 wccommon.mak [1.1] (+232 -0), watcw32.mak [1.1] (+501 -0), 6864 watclib.mak [1.1] (+174 -0), watc.mak [1.1] (+331 -0), vmsmath.h [1.1] (+43 -0), 6865 vms_x_fix.h [1.1] (+889 -0), version.mak [1.1] (+31 -0), 6866 unixtrad.mak [1.1] (+395 -0), unixlink.mak [1.1] (+77 -0), 6867 unixinst.mak [1.1] (+151 -0), unixhead.mak [1.1] (+87 -0), 6868 unixansi.mak [1.1] (+393 -0), unix-gcc.mak [1.1] (+458 -0), 6869 unix-end.mak [1.1] (+80 -0), unix-dll.mak [1.1] (+133 -0), 6870 unix-aux.mak [1.1] (+95 -0), unistd_.h [1.1] (+48 -0), ugcclib.mak [1.1] (+157 -0), 6871 turboc.cfg [1.1] (+5 -0), time_.h [1.1] (+95 -0), szlibxx.h [1.1] (+67 -0), 6872 szlibx.h [1.1] (+58 -0), szlibe.c [1.1] (+101 -0), szlibd.c [1.1] (+105 -0), 6873 szlibc.c [1.1] (+131 -0), string_.h [1.1] (+45 -0), strimpl.h [1.1] (+168 -0), 6874 stream.h [1.1] (+406 -0), stream.c [1.1] (+1214 -0), store.h [1.1] (+264 -0), 6875 stdpre.h [1.1] (+470 -0), stdio_.h [1.1] (+73 -0), std.h [1.1] (+319 -0), 6876 stat_.h [1.1] (+98 -0), sstring.h [1.1] (+76 -0), sstring.c [1.1] (+458 -0), 6877 srlx.h [1.1] (+72 -0), srle.c [1.1] (+197 -0), srld.c [1.1] (+127 -0), 6878 srdline.h [1.1] (+50 -0), spsdf.h [1.1] (+87 -0), spsdf.c [1.1] (+268 -0), 6879 spprint.h [1.1] (+83 -0), spprint.c [1.1] (+201 -0), spngpx.h [1.1] (+58 -0), 6880 spngp.c [1.1] (+386 -0), spdiffx.h [1.1] (+56 -0), spdiff.c [1.1] (+479 -0), 6881 smtf.h [1.1] (+44 -0), smtf.c [1.1] (+178 -0), smd5.h [1.1] (+42 -0), 6882 smd5.c [1.1] (+65 -0), slzwx.h [1.1] (+79 -0), slzwd.c [1.1] (+406 -0), 6883 slzwce.c [1.1] (+161 -0), slzwc.c [1.1] (+44 -0), sjpege.c [1.1] (+118 -0), 6884 sjpegd.c [1.1] (+89 -0), sjpegc.c [1.1] (+243 -0), sjpeg.h [1.1] (+75 -0), 6885 sisparam.h [1.1] (+75 -0), siscale.h [1.1] (+30 -0), siscale.c [1.1] (+632 -0), 6886 siinterp.h [1.1] (+30 -0), siinterp.c [1.1] (+261 -0), shcgen.h [1.1] (+55 -0), 6887 shcgen.c [1.1] (+485 -0), shc.h [1.1] (+258 -0), shc.c [1.1] (+68 -0), 6888 sfxstdio.c [1.1] (+304 -0), sfxfd.c [1.1] (+384 -0), sfxboth.c [1.1] (+25 -0), 6889 sfilter2.c [1.1] (+265 -0), sfilter1.c [1.1] (+310 -0), 6890 sfilter.h [1.1] (+108 -0), seexec.c [1.1] (+213 -0), sdeparam.c [1.1] (+314 -0), 6891 sddparam.c [1.1] (+72 -0), sdcte.c [1.1] (+207 -0), sdctd.c [1.1] (+292 -0), 6892 sdctc.c [1.1] (+47 -0), sdct.h [1.1] (+148 -0), sdcparam.h [1.1] (+51 -0), 6893 sdcparam.c [1.1] (+620 -0), scommon.h [1.1] (+170 -0), scfx.h [1.1] (+128 -0), 6894 scfparam.c [1.1] (+93 -0), scfetab.c [1.1] (+165 -0), scfe.c [1.1] (+530 -0), 6895 scfdtab.c [1.1] (+939 -0), scfdgen.c [1.1] (+225 -0), scfd.c [1.1] (+824 -0), 6896 scf.h [1.1] (+210 -0), scantab.c [1.1] (+106 -0), scanchar.h [1.1] (+70 -0), 6897 sbwbs.h [1.1] (+73 -0), sbwbs.c [1.1] (+549 -0), sbtx.h [1.1] (+40 -0), 6898 sbhc.h [1.1] (+93 -0), sbhc.c [1.1] (+286 -0), sbcp.h [1.1] (+48 -0), 6899 sbcp.c [1.1] (+253 -0), sarc4.h [1.1] (+49 -0), sarc4.c [1.1] (+117 -0), 6900 sa85x.h [1.1] (+43 -0), sa85d.h [1.1] (+42 -0), sa85d.c [1.1] (+164 -0), 6901 rm_one.com [1.1] (+9 -0), rm_all.com [1.1] (+15 -0), rm.cmd [1.1] (+10 -0), 6902 rm.bat [1.1] (+10 -0), png_.h [1.1] (+26 -0), pipe_.h [1.1] (+44 -0), 6903 pcwin.mak [1.1] (+102 -0), ostack.h [1.1] (+89 -0), os2.mak [1.1] (+699 -0), 6904 opextern.h [1.1] (+151 -0), oper.h [1.1] (+109 -0), openvms.mmk [1.1] (+530 -0), 6905 openvms.mak [1.1] (+521 -0), opdef.h [1.1] (+145 -0), opcheck.h [1.1] (+81 -0), 6906 oparc.h [1.1] (+34 -0), mv.cmd [1.1] (+2 -0), mv.bat [1.1] (+2 -0), 6907 msvctail.mak [1.1] (+73 -0), msvclib.mak [1.1] (+499 -0), 6908 msvccmd.mak [1.1] (+192 -0), msvc32.mak [1.1] (+623 -0), 6909 memory_.h [1.1] (+111 -0), md5.h [1.1] (+94 -0), md5.c [1.1] (+410 -0), 6910 math_.h [1.1] (+86 -0), malloc_.h [1.1] (+57 -0), main.h [1.1] (+108 -0), 6911 macsystypes.h [1.1] (+42 -0), macsysstat.h [1.1] (+33 -0), 6912 macos-mcp.mak [1.1] (+408 -0), macgenmcpxml.sh [1.1] (+395 -0), 6913 libpng.mak [1.1] (+137 -0), lib.mak [1.1] (+2430 -0), jpeg.mak [1.1] (+391 -0), 6914 jerror_.h [1.1] (+26 -0), ivmspace.h [1.1] (+105 -0), ivmem2.h [1.1] (+29 -0), 6915 iutilasm.asm [1.1] (+697 -0), iutil2.h [1.1] (+50 -0), iutil2.c [1.1] (+148 -0), 6916 iutil.h [1.1] (+153 -0), iutil.c [1.1] (+868 -0), itoken.h [1.1] (+49 -0), 6917 istruct.h [1.1] (+92 -0), istream.h [1.1] (+39 -0), istkparm.h [1.1] (+44 -0), 6918 istack.h [1.1] (+198 -0), istack.c [1.1] (+645 -0), isstate.h [1.1] (+41 -0), 6919 isdata.h [1.1] (+102 -0), iscannum.h [1.1] (+33 -0), iscannum.c [1.1] (+394 -0), 6920 iscanbin.h [1.1] (+37 -0), iscanbin.c [1.1] (+794 -0), iscan.h [1.1] (+171 -0), 6921 iscan.c [1.1] (+1168 -0), isave.h [1.1] (+118 -0), isave.c [1.1] (+1120 -0), 6922 iref.h [1.1] (+489 -0), ireclaim.c [1.1] (+188 -0), iplugin.h [1.1] (+74 -0), 6923 iplugin.c [1.1] (+102 -0), ipcolor.h [1.1] (+42 -0), iparray.h [1.1] (+38 -0), 6924 iparam.h [1.1] (+114 -0), iparam.c [1.1] (+1131 -0), ipacked.h [1.1] (+136 -0), 6925 iostack.h [1.1] (+32 -0), iosdata.h [1.1] (+40 -0), interp.h [1.1] (+94 -0), 6926 interp.c [1.1] (+1774 -0), int.mak [1.1] (+1864 -0), instcopy [1.1] (+44 -0), 6927 inouparm.c [1.1] (+28 -0), inobtokn.c [1.1] (+32 -0), inamestr.h [1.1] (+98 -0), 6928 inames.h [1.1] (+114 -0), inameidx.h [1.1] (+85 -0), inamedef.h [1.1] (+172 -0), 6929 iname.h [1.1] (+97 -0), iname.c [1.1] (+651 -0), iminst.h [1.1] (+109 -0), 6930 imemory.h [1.1] (+103 -0), imainarg.h [1.1] (+46 -0), imainarg.c [1.1] (+974 -0), 6931 imain.h [1.1] (+270 -0), imain.c [1.1] (+946 -0), ilocate.c [1.1] (+511 -0), 6932 ilevel.h [1.1] (+31 -0), iinit.h [1.1] (+40 -0), iinit.c [1.1] (+517 -0), 6933 iimage2.h [1.1] (+55 -0), iimage.h [1.1] (+45 -0), iht.h [1.1] (+31 -0), 6934 igstate.h [1.1] (+204 -0), igcstr.h [1.1] (+37 -0), igcstr.c [1.1] (+424 -0), 6935 igcref.c [1.1] (+733 -0), igc.h [1.1] (+95 -0), igc.c [1.1] (+1336 -0), 6936 ifwpred.h [1.1] (+30 -0), ifunc.h [1.1] (+67 -0), ifrpred.h [1.1] (+30 -0), 6937 ifont42.h [1.1] (+55 -0), ifont2.h [1.1] (+39 -0), ifont1.h [1.1] (+70 -0), 6938 ifont.h [1.1] (+120 -0), ifilter2.h [1.1] (+31 -0), ifilter.h [1.1] (+95 -0), 6939 ifcid.h [1.1] (+33 -0), ifapi.h [1.1] (+168 -0), iestack.h [1.1] (+41 -0), 6940 iesdata.h [1.1] (+55 -0), idstack.h [1.1] (+65 -0), idstack.c [1.1] (+257 -0), 6941 idsdata.h [1.1] (+86 -0), idparam.h [1.1] (+112 -0), idparam.c [1.1] (+398 -0), 6942 idosave.h [1.1] (+42 -0), idisp.h [1.1] (+28 -0), idisp.c [1.1] (+106 -0), 6943 idictdef.h [1.1] (+122 -0), idict.h [1.1] (+273 -0), idict.c [1.1] (+866 -0), 6944 idebug.h [1.1] (+43 -0), idebug.c [1.1] (+319 -0), iddstack.h [1.1] (+40 -0), 6945 iddict.h [1.1] (+48 -0), icstate.h [1.1] (+72 -0), icsmap.h [1.1] (+46 -0), 6946 icremap.h [1.1] (+45 -0), icontext.h [1.1] (+55 -0), icontext.c [1.1] (+294 -0), 6947 iconf.h [1.1] (+34 -0), iconf.c [1.1] (+98 -0), icolor.h [1.1] (+55 -0), 6948 icie.h [1.1] (+93 -0), icid.h [1.1] (+28 -0), icharout.h [1.1] (+73 -0), 6949 ichar1.h [1.1] (+47 -0), ichar.h [1.1] (+77 -0), icfontab.c [1.1] (+53 -0), 6950 icclib.mak [1.1] (+79 -0), iccinit0.c [1.1] (+25 -0), iccfont.c [1.1] (+375 -0), 6951 ibnum.h [1.1] (+66 -0), ibnum.c [1.1] (+216 -0), iastruct.h [1.1] (+28 -0), 6952 iastate.h [1.1] (+30 -0), iapi.h [1.1] (+308 -0), iapi.c [1.1] (+232 -0), 6953 ialloc.h [1.1] (+126 -0), ialloc.c [1.1] (+357 -0), gzstate.h [1.1] (+157 -0), 6954 gzpath.h [1.1] (+385 -0), gzline.h [1.1] (+39 -0), gzht.h [1.1] (+212 -0), 6955 gzcpath.h [1.1] (+99 -0), gzacpath.h [1.1] (+55 -0), gxxfont.h [1.1] (+174 -0), 6956 gxtype1.h [1.1] (+356 -0), gxtype1.c [1.1] (+691 -0), gxttf.h [1.1] (+161 -0), 6957 gxtmap.h [1.1] (+52 -0), gxtext.h [1.1] (+307 -0), gxsync.h [1.1] (+75 -0), 6958 gxsync.c [1.1] (+139 -0), gxstroke.c [1.1] (+1376 -0), gxstdio.h [1.1] (+41 -0), 6959 gxstate.h [1.1] (+80 -0), gxshade6.c [1.1] (+616 -0), gxshade4.h [1.1] (+64 -0), 6960 gxshade4.c [1.1] (+421 -0), gxshade1.c [1.1] (+781 -0), 6961 gxshade.h [1.1] (+206 -0), gxshade.c [1.1] (+336 -0), gxsample.h [1.1] (+75 -0), 6962 gxsample.c [1.1] (+238 -0), gxrplane.h [1.1] (+51 -0), gxropc.h [1.1] (+47 -0), 6963 gxpflat.c [1.1] (+449 -0), gxpdash.c [1.1] (+183 -0), gxpcopy.c [1.1] (+895 -0), 6964 gxpcolor.h [1.1] (+215 -0), gxpcmap.c [1.1] (+688 -0), gxpcache.h [1.1] (+55 -0), 6965 gxpath2.c [1.1] (+519 -0), gxpath.h [1.1] (+326 -0), gxpath.c [1.1] (+834 -0), 6966 gxpaint.h [1.1] (+125 -0), gxpaint.c [1.1] (+87 -0), gxpageq.h [1.1] (+275 -0), 6967 gxpageq.c [1.1] (+361 -0), gxp1impl.h [1.1] (+43 -0), gxp1fill.c [1.1] (+395 -0), 6968 gxop1.h [1.1] (+75 -0), gxobj.h [1.1] (+170 -0), gxmclip.h [1.1] (+105 -0), 6969 gxmclip.c [1.1] (+105 -0), gxmatrix.h [1.1] (+87 -0), gxlum.h [1.1] (+31 -0), 6970 gxline.h [1.1] (+80 -0), gxistate.h [1.1] (+288 -0), gxiscale.c [1.1] (+332 -0), 6971 gxipixel.c [1.1] (+812 -0), gxiparam.h [1.1] (+259 -0), 6972 gxiodev.h [1.1] (+185 -0), gxino12b.c [1.1] (+25 -0), gximono.c [1.1] (+611 -0), 6973 gximage4.c [1.1] (+160 -0), gximage3.h [1.1] (+80 -0), gximage3.c [1.1] (+739 -0), 6974 gximage2.c [1.1] (+317 -0), gximage1.c [1.1] (+208 -0), 6975 gximage.h [1.1] (+303 -0), gximage.c [1.1] (+520 -0), gximag3x.h [1.1] (+81 -0), 6976 gximag3x.c [1.1] (+860 -0), gxifast.c [1.1] (+756 -0), gxidata.c [1.1] (+441 -0), 6977 gxicolor.c [1.1] (+449 -0), gxiclass.h [1.1] (+67 -0), gxi12bit.c [1.1] (+372 -0), 6978 gxhttype.h [1.1] (+43 -0), gxhttile.h [1.1] (+48 -0), gxhtbit.c [1.1] (+276 -0), 6979 gxht.h [1.1] (+233 -0), gxht.c [1.1] (+530 -0), gxhint3.c [1.1] (+556 -0), 6980 gxhint2.c [1.1] (+410 -0), gxhint1.c [1.1] (+269 -0), gxgetbit.h [1.1] (+95 -0), 6981 gxfunc.h [1.1] (+57 -0), gxftype.h [1.1] (+51 -0), gxfrac.h [1.1] (+98 -0), 6982 gxfont42.h [1.1] (+93 -0), gxfont1.h [1.1] (+159 -0), gxfont0.h [1.1] (+80 -0), 6983 gxfont.h [1.1] (+425 -0), gxfmap.h [1.1] (+109 -0), gxfixed.h [1.1] (+260 -0), 6984 gxfill.c [1.1] (+2011 -0), gxfcmap.h [1.1] (+165 -0), gxfcid.h [1.1] (+163 -0), 6985 gxfcache.h [1.1] (+269 -0), gxfarith.h [1.1] (+145 -0), 6986 gxfapi.h [1.1] (+27 -0), gxfapi.c [1.1] (+83 -0), gxdither.h [1.1] (+78 -0), 6987 gxdither.c [1.1] (+578 -0), gxdhtres.h [1.1] (+49 -0), gxdht.h [1.1] (+315 -0), 6988 gxdevrop.h [1.1] (+29 -0), gxdevmem.h [1.1] (+243 -0), gxdevice.h [1.1] (+536 -0), 6989 gxdevcli.h [1.1] (+1053 -0), gxdevbuf.h [1.1] (+119 -0), 6990 gxdda.h [1.1] (+153 -0), gxdcolor.h [1.1] (+185 -0), gxdcolor.c [1.1] (+392 -0), 6991 gxdcconv.h [1.1] (+37 -0), gxdcconv.c [1.1] (+161 -0), gxcvalue.h [1.1] (+42 -0), 6992 gxctable.h [1.1] (+64 -0), gxctable.c [1.1] (+147 -0), gxcspace.h [1.1] (+253 -0), 6993 gxcpath.h [1.1] (+144 -0), gxcpath.c [1.1] (+929 -0), gxcoord.h [1.1] (+39 -0), 6994 gxcomp.h [1.1] (+107 -0), gxcolor2.h [1.1] (+92 -0), gxcmap.h [1.1] (+117 -0), 6995 gxcmap.c [1.1] (+946 -0), gxclzlib.c [1.1] (+53 -0), gxclutil.c [1.1] (+654 -0), 6996 gxclrect.c [1.1] (+702 -0), gxclread.c [1.1] (+527 -0), 6997 gxclrast.c [1.1] (+2581 -0), gxclpath.h [1.1] (+236 -0), 6998 gxclpath.c [1.1] (+1385 -0), gxclpage.h [1.1] (+58 -0), 6999 gxclpage.c [1.1] (+121 -0), gxclmem.h [1.1] (+149 -0), gxclmem.c [1.1] (+1129 -0), 7000 gxcllzw.c [1.1] (+50 -0), gxclist.h [1.1] (+349 -0), gxclist.c [1.1] (+788 -0), 7001 gxclipsr.h [1.1] (+54 -0), gxclipm.h [1.1] (+30 -0), gxclipm.c [1.1] (+366 -0), 7002 gxclip2.h [1.1] (+54 -0), gxclip2.c [1.1] (+301 -0), gxclip.h [1.1] (+72 -0), 7003 gxclip.c [1.1] (+581 -0), gxclio.h [1.1] (+98 -0), gxclimag.c [1.1] (+1360 -0), 7004 gxclfile.c [1.1] (+165 -0), gxcldev.h [1.1] (+727 -0), gxclbits.c [1.1] (+746 -0), 7005 gxcindex.h [1.1] (+131 -0), gxcie.h [1.1] (+120 -0), gxcid.h [1.1] (+52 -0), 7006 gxcht.c [1.1] (+1047 -0), gxchrout.h [1.1] (+38 -0), gxchrout.c [1.1] (+62 -0), 7007 gxchar.h [1.1] (+129 -0), gxchar.c [1.1] (+1319 -0), gxcdevn.h [1.1] (+51 -0), 7008 gxccman.c [1.1] (+800 -0), gxccache.c [1.1] (+452 -0), gxblend.h [1.1] (+259 -0), 7009 gxblend.c [1.1] (+1041 -0), gxbitops.h [1.1] (+136 -0), 7010 gxbitmap.h [1.1] (+136 -0), gxbitfmt.h [1.1] (+207 -0), 7011 gxbcache.h [1.1] (+124 -0), gxbcache.c [1.1] (+147 -0), 7012 gxband.h [1.1] (+92 -0), gxarith.h [1.1] (+89 -0), gxalpha.h [1.1] (+68 -0), 7013 gxalloc.h [1.1] (+473 -0), gxacpath.c [1.1] (+523 -0), gx.h [1.1] (+46 -0), 7014 gsxfont.h [1.1] (+39 -0), gswin386.rc [1.1] (+4 -0), gswin32.rc [1.1] (+36 -0), 7015 gswin.rc [1.1] (+29 -0), gsutil.h [1.1] (+65 -0), gsutil.c [1.1] (+278 -0), 7016 gsuid.h [1.1] (+72 -0), gstypes.h [1.1] (+115 -0), gstype42.c [1.1] (+913 -0), 7017 gstype2.c [1.1] (+806 -0), gstype1.h [1.1] (+259 -0), gstype1.c [1.1] (+585 -0), 7018 gstrap.h [1.1] (+76 -0), gstrap.c [1.1] (+109 -0), gstrans.h [1.1] (+72 -0), 7019 gstrans.c [1.1] (+348 -0), gstparam.h [1.1] (+109 -0), gstext.icx [1.1] (+127 -0), 7020 gstext.h [1.1] (+309 -0), gstext.c [1.1] (+582 -0), gsstype.h [1.1] (+115 -0), 7021 gsstruct.h [1.1] (+1004 -0), gsstate.h [1.1] (+77 -0), gsstate.c [1.1] (+930 -0), 7022 gsshade.h [1.1] (+263 -0), gsshade.c [1.1] (+541 -0), gsroptab.c [1.1] (+365 -0), 7023 gsropt.h [1.1] (+224 -0), gsropc.h [1.1] (+54 -0), gsropc.c [1.1] (+304 -0), 7024 gsrop.h [1.1] (+40 -0), gsrop.c [1.1] (+92 -0), gsrefct.h [1.1] (+190 -0), 7025 gsrect.h [1.1] (+96 -0), gsptype2.h [1.1] (+95 -0), gsptype2.c [1.1] (+212 -0), 7026 gsptype1.h [1.1] (+147 -0), gsptype1.c [1.1] (+840 -0), 7027 gspmdrv.rc [1.1] (+40 -0), gspmdrv.icx [1.1] (+233 -0), 7028 gspmdrv.h [1.1] (+34 -0), gspmdrv.def [1.1] (+3 -0), gspmdrv.c [1.1] (+1249 -0), 7029 gspenum.h [1.1] (+34 -0), gspcolor.h [1.1] (+123 -0), gspcolor.c [1.1] (+319 -0), 7030 gspath2.h [1.1] (+35 -0), gspath1.c [1.1] (+583 -0), gspath.h [1.1] (+99 -0), 7031 gspath.c [1.1] (+499 -0), gsparamx.h [1.1] (+44 -0), gsparamx.c [1.1] (+191 -0), 7032 gsparams.h [1.1] (+71 -0), gsparams.c [1.1] (+413 -0), gsparam2.c [1.1] (+380 -0), 7033 gsparam.h [1.1] (+550 -0), gsparam.c [1.1] (+461 -0), gspaint.h [1.1] (+36 -0), 7034 gspaint.c [1.1] (+389 -0), gsos2.rc [1.1] (+22 -0), gsos2.icx [1.1] (+233 -0), 7035 gsos2.def [1.1] (+3 -0), gsnotify.h [1.1] (+93 -0), gsnotify.c [1.1] (+127 -0), 7036 gsnorop.c [1.1] (+127 -0), gsnogc.h [1.1] (+30 -0), gsnogc.c [1.1] (+360 -0), 7037 gsmisc.c [1.1] (+1216 -0), gsmemret.h [1.1] (+72 -0), gsmemret.c [1.1] (+360 -0), 7038 gsmemraw.h [1.1] (+200 -0), gsmemory.h [1.1] (+308 -0), 7039 gsmemory.c [1.1] (+343 -0), gsmemlok.h [1.1] (+57 -0), gsmemlok.c [1.1] (+394 -0), 7040 gsmdebug.h [1.1] (+49 -0), gsmatrix.h [1.1] (+84 -0), gsmatrix.c [1.1] (+595 -0), 7041 gsmalloc.h [1.1] (+81 -0), gsmalloc.c [1.1] (+507 -0), gslparam.h [1.1] (+46 -0), 7042 gsline.h [1.1] (+69 -0), gsline.c [1.1] (+368 -0), gslib.h [1.1] (+39 -0), 7043 gslib.c [1.1] (+1126 -0), gsjmorec.h [1.1] (+54 -0), gsjconf.h [1.1] (+75 -0), 7044 gsistate.c [1.1] (+285 -0), gsiparm4.h [1.1] (+58 -0), gsiparm3.h [1.1] (+60 -0), 7045 gsiparm2.h [1.1] (+62 -0), gsiparam.h [1.1] (+317 -0), gsipar3x.h [1.1] (+70 -0), 7046 gsiodevs.c [1.1] (+94 -0), gsiodev.c [1.1] (+358 -0), gsio.h [1.1] (+73 -0), 7047 gsinit.c [1.1] (+74 -0), gsimpath.c [1.1] (+186 -0), gsimage.h [1.1] (+197 -0), 7048 gsimage.c [1.1] (+548 -0), gsicc.h [1.1] (+176 -0), gsicc.c [1.1] (+687 -0), 7049 gshtx.h [1.1] (+152 -0), gshtx.c [1.1] (+612 -0), gshtscr.c [1.1] (+595 -0), 7050 gsht1.h [1.1] (+54 -0), gsht1.c [1.1] (+579 -0), gsht.h [1.1] (+72 -0), 7051 gsht.c [1.1] (+716 -0), gshsb.h [1.1] (+28 -0), gshsb.c [1.1] (+165 -0), 7052 gsgraph.icx [1.1] (+127 -0), gsgdata.h [1.1] (+130 -0), 7053 gsgdata.c [1.1] (+135 -0), gsgc.h [1.1] (+105 -0), gsfuncv.h [1.1] (+64 -0), 7054 gsfuncv.c [1.1] (+91 -0), gsfunc4.h [1.1] (+87 -0), gsfunc4.c [1.1] (+781 -0), 7055 gsfunc3.h [1.1] (+108 -0), gsfunc3.c [1.1] (+517 -0), gsfunc0.h [1.1] (+59 -0), 7056 gsfunc0.c [1.1] (+593 -0), gsfunc.h [1.1] (+200 -0), gsfunc.c [1.1] (+109 -0), 7057 gsfont0.c [1.1] (+128 -0), gsfont.h [1.1] (+80 -0), gsfont.c [1.1] (+880 -0), 7058 gsfname.h [1.1] (+60 -0), gsfname.c [1.1] (+114 -0), gsflip.h [1.1] (+38 -0), 7059 gsflip.c [1.1] (+402 -0), gsfemu.c [1.1] (+850 -0), gsfcmap.h [1.1] (+46 -0), 7060 gsfcmap.c [1.1] (+576 -0), gsfcid.c [1.1] (+149 -0), gsexit.h [1.1] (+31 -0), 7061 gserver.c [1.1] (+317 -0), gserrors.h [1.1] (+50 -0), gserror.h [1.1] (+34 -0), 7062 gsdsrc.h [1.1] (+129 -0), gsdsrc.c [1.1] (+113 -0), gsdps1.c [1.1] (+236 -0), 7063 gsdps.h [1.1] (+34 -0), gsdps.c [1.1] (+114 -0), gsdpnext.h [1.1] (+28 -0), 7064 gsdparam.c [1.1] (+859 -0), gsdllwin.h [1.1] (+46 -0), gsdllos2.h [1.1] (+33 -0), 7065 gsdll32w.lnk [1.1] (+11 -0), gsdll32.rc [1.1] (+54 -0), 7066 gsdll32.def [1.1] (+31 -0), gsdll2.rc [1.1] (+22 -0), gsdll2.def [1.1] (+26 -0), 7067 gsdll.h [1.1] (+105 -0), gsdll.c [1.1] (+190 -0), gsdfilt.h [1.1] (+91 -0), 7068 gsdfilt.c [1.1] (+192 -0), gsdevmem.c [1.1] (+232 -0), gsdevice.h [1.1] (+124 -0), 7069 gsdevice.c [1.1] (+833 -0), gsdcolor.h [1.1] (+343 -0), 7070 gscssub.h [1.1] (+73 -0), gscssub.c [1.1] (+122 -0), gscspace.h [1.1] (+496 -0), 7071 gscspace.c [1.1] (+299 -0), gscsepr.h [1.1] (+93 -0), gscsepr.c [1.1] (+450 -0), 7072 gscsepnm.h [1.1] (+48 -0), gscsel.h [1.1] (+38 -0), gscscie.c [1.1] (+352 -0), 7073 gscrypt1.h [1.1] (+50 -0), gscrypt1.c [1.1] (+60 -0), gscrdp.h [1.1] (+110 -0), 7074 gscrdp.c [1.1] (+638 -0), gscrd.h [1.1] (+93 -0), gscrd.c [1.1] (+368 -0), 7075 gscpm.h [1.1] (+40 -0), gscpixel.h [1.1] (+29 -0), gscpixel.c [1.1] (+104 -0), 7076 gscparam.c [1.1] (+596 -0), gscoord.h [1.1] (+49 -0), gscoord.c [1.1] (+540 -0), 7077 gscompt.h [1.1] (+53 -0), gscolor3.h [1.1] (+35 -0), gscolor3.c [1.1] (+92 -0), 7078 gscolor2.h [1.1] (+57 -0), gscolor2.c [1.1] (+528 -0), gscolor1.h [1.1] (+41 -0), 7079 gscolor1.c [1.1] (+263 -0), gscolor.h [1.1] (+39 -0), gscolor.c [1.1] (+376 -0), 7080 gsclipsr.h [1.1] (+28 -0), gsclipsr.c [1.1] (+102 -0), gscindex.h [1.1] (+79 -0), 7081 gsciemap.c [1.1] (+484 -0), gscie.h [1.1] (+750 -0), gscie.c [1.1] (+1281 -0), 7082 gschar0.c [1.1] (+413 -0), gschar.h [1.1] (+125 -0), gschar.c [1.1] (+367 -0), 7083 gscdevn.h [1.1] (+68 -0), gscdevn.c [1.1] (+362 -0), gscdefs.h [1.1] (+87 -0), 7084 gscdef.c [1.1] (+89 -0), gsccolor.h [1.1] (+62 -0), gsccode.h [1.1] (+121 -0), 7085 gsbittab.h [1.1] (+84 -0), gsbittab.c [1.1] (+136 -0), gsbitops.h [1.1] (+250 -0), 7086 gsbitops.c [1.1] (+606 -0), gsbitmap.h [1.1] (+199 -0), 7087 gsbitcom.c [1.1] (+302 -0), gsargs.h [1.1] (+83 -0), gsargs.c [1.1] (+226 -0), 7088 gsalphac.h [1.1] (+65 -0), gsalphac.c [1.1] (+828 -0), gsalpha.h [1.1] (+35 -0), 7089 gsalpha.c [1.1] (+42 -0), gsalloc.h [1.1] (+81 -0), gsalloc.c [1.1] (+1995 -0), 7090 gs16spl.rc [1.1] (+42 -0), gs16spl.def [1.1] (+7 -0), gs16spl.c [1.1] (+220 -0), 7091 gs.mak [1.1] (+409 -0), gs.c [1.1] (+92 -0), gpsync.h [1.1] (+75 -0), 7092 gpmisc.h [1.1] (+43 -0), gpmisc.c [1.1] (+95 -0), gpgetenv.h [1.1] (+44 -0), 7093 gpcheck.h [1.1] (+58 -0), gp_wsync.c [1.1] (+208 -0), gp_win32.c [1.1] (+120 -0), 7094 gp_wgetv.c [1.1] (+133 -0), gp_vms.c [1.1] (+449 -0), gp_unix.c [1.1] (+160 -0), 7095 gp_unifs.c [1.1] (+455 -0), gp_unifn.c [1.1] (+55 -0), gp_sysv.c [1.1] (+68 -0), 7096 gp_strdl.c [1.1] (+45 -0), gp_stdin.c [1.1] (+39 -0), gp_stdia.c [1.1] (+35 -0), 7097 gp_psync.c [1.1] (+231 -0), gp_os9.c [1.1] (+153 -0), gp_os2.c [1.1] (+777 -0), 7098 gp_ntfs.c [1.1] (+236 -0), gp_nsync.c [1.1] (+112 -0), gp_mswin.h [1.1] (+57 -0), 7099 gp_mswin.c [1.1] (+595 -0), gp_msprn.c [1.1] (+217 -0), 7100 gp_mspol.c [1.1] (+47 -0), gp_mslib.c [1.1] (+38 -0), gp_msio.c [1.1] (+230 -0), 7101 gp_mshdl.c [1.1] (+122 -0), gp_msdos.c [1.1] (+130 -0), 7102 gp_msdll.c [1.1] (+52 -0), gp_mktmp.c [1.1] (+49 -0), gp_macio.c [1.1] (+609 -0), 7103 gp_mac.h [1.1] (+29 -0), gp_mac.c [1.1] (+384 -0), gp_iwatc.c [1.1] (+158 -0), 7104 gp_getnv.c [1.1] (+54 -0), gp_dvx.c [1.1] (+113 -0), gp_dosfs.c [1.1] (+103 -0), 7105 gp_dosfe.c [1.1] (+151 -0), gp.h [1.1] (+258 -0), ghost.h [1.1] (+28 -0), 7106 geninit.c [1.1] (+452 -0), genht.c [1.1] (+374 -0), gendev.c [1.1] (+363 -0), 7107 genconf.c [1.1] (+1011 -0), genarch.c [1.1] (+277 -0), gdevxxf.c [1.1] (+473 -0), 7108 gdevxres.c [1.1] (+139 -0), gdevxini.c [1.1] (+1008 -0), 7109 gdevxcmp.h [1.1] (+148 -0), gdevxcmp.c [1.1] (+888 -0), 7110 gdevxalt.c [1.1] (+956 -0), gdevx.h [1.1] (+277 -0), gdevx.c [1.1] (+1258 -0), 7111 gdevwprn.c [1.1] (+676 -0), gdevwpr2.c [1.1] (+1532 -0), 7112 gdevwdib.c [1.1] (+744 -0), gdevwddb.c [1.1] (+633 -0), 7113 gdevvglb.c [1.1] (+375 -0), gdevvec.h [1.1] (+384 -0), gdevvec.c [1.1] (+1195 -0), 7114 gdevupd.c [1.1] (+7622 -0), gdevtrac.c [1.1] (+663 -0), 7115 gdevtknk.c [1.1] (+253 -0), gdevtifs.h [1.1] (+228 -0), 7116 gdevtifs.c [1.1] (+324 -0), gdevtfnx.c [1.1] (+189 -0), 7117 gdevtfax.h [1.1] (+28 -0), gdevtfax.c [1.1] (+361 -0), gdevsvga.h [1.1] (+95 -0), 7118 gdevsvga.c [1.1] (+1046 -0), gdevsunr.c [1.1] (+103 -0), 7119 gdevsun.c [1.1] (+685 -0), gdevstc4.c [1.1] (+301 -0), gdevstc3.c [1.1] (+107 -0), 7120 gdevstc2.c [1.1] (+427 -0), gdevstc1.c [1.1] (+127 -0), 7121 gdevstc.h [1.1] (+252 -0), gdevstc.c [1.1] (+3553 -0), gdevsppr.c [1.1] (+189 -0), 7122 gdevsnfb.c [1.1] (+117 -0), gdevsj48.c [1.1] (+292 -0), 7123 gdevsgi.h [1.1] (+71 -0), gdevsgi.c [1.1] (+220 -0), gdevsco.c [1.1] (+289 -0), 7124 gdevs3ga.c [1.1] (+247 -0), gdevrops.c [1.1] (+195 -0), 7125 gdevpxut.h [1.1] (+83 -0), gdevpxut.c [1.1] (+269 -0), gdevpxop.h [1.1] (+108 -0), 7126 gdevpxen.h [1.1] (+263 -0), gdevpxat.h [1.1] (+144 -0), 7127 gdevpx.c [1.1] (+1587 -0), gdevpsu.h [1.1] (+74 -0), gdevpsu.c [1.1] (+297 -0), 7128 gdevpsim.c [1.1] (+413 -0), gdevpsfx.c [1.1] (+821 -0), 7129 gdevpsfu.c [1.1] (+363 -0), gdevpsft.c [1.1] (+978 -0), 7130 gdevpsfm.c [1.1] (+275 -0), gdevpsf2.c [1.1] (+1730 -0), 7131 gdevpsf1.c [1.1] (+518 -0), gdevpsf.h [1.1] (+285 -0), gdevpsdu.c [1.1] (+416 -0), 7132 gdevpsds.h [1.1] (+152 -0), gdevpsds.c [1.1] (+759 -0), 7133 gdevpsdp.c [1.1] (+852 -0), gdevpsdi.c [1.1] (+415 -0), 7134 gdevpsdf.h [1.1] (+386 -0), gdevps.c [1.1] (+1511 -0), gdevprna.h [1.1] (+182 -0), 7135 gdevprna.c [1.1] (+797 -0), gdevprn.h [1.1] (+666 -0), gdevprn.c [1.1] (+1241 -0), 7136 gdevppla.h [1.1] (+51 -0), gdevppla.c [1.1] (+133 -0), gdevpnga.c [1.1] (+1136 -0), 7137 gdevpng.c [1.1] (+280 -0), gdevpm.h [1.1] (+40 -0), gdevpm.c [1.1] (+1214 -0), 7138 gdevplnx.h [1.1] (+75 -0), gdevplnx.c [1.1] (+1103 -0), 7139 gdevpjet.c [1.1] (+251 -0), gdevpipe.c [1.1] (+74 -0), gdevphex.c [1.1] (+3391 -0), 7140 gdevpe.c [1.1] (+366 -0), gdevpdfx.h [1.1] (+830 -0), gdevpdfw.c [1.1] (+858 -0), 7141 gdevpdfv.c [1.1] (+794 -0), gdevpdfu.c [1.1] (+1095 -0), 7142 gdevpdft.c [1.1] (+486 -0), gdevpdfs.c [1.1] (+1576 -0), 7143 gdevpdfr.c [1.1] (+425 -0), gdevpdfp.c [1.1] (+484 -0), 7144 gdevpdfo.h [1.1] (+310 -0), gdevpdfo.c [1.1] (+1219 -0), 7145 gdevpdfm.c [1.1] (+1828 -0), gdevpdfj.c [1.1] (+400 -0), 7146 gdevpdfi.c [1.1] (+655 -0), gdevpdfg.h [1.1] (+225 -0), 7147 gdevpdfg.c [1.1] (+1078 -0), gdevpdff.h [1.1] (+472 -0), 7148 gdevpdff.c [1.1] (+1400 -0), gdevpdfe.c [1.1] (+373 -0), 7149 gdevpdfd.c [1.1] (+413 -0), gdevpdfc.c [1.1] (+814 -0), 7150 gdevpdfb.c [1.1] (+606 -0), gdevpdf.c [1.1] (+994 -0), gdevpcx.c [1.1] (+462 -0), 7151 gdevpcl.h [1.1] (+67 -0), gdevpcl.c [1.1] (+431 -0), gdevpcfb.h [1.1] (+203 -0), 7152 gdevpcfb.c [1.1] (+933 -0), gdevpccm.h [1.1] (+39 -0), gdevpccm.c [1.1] (+182 -0), 7153 gdevpbm.c [1.1] (+999 -0), gdevp2up.c [1.1] (+148 -0), gdevp14.h [1.1] (+28 -0), 7154 gdevp14.c [1.1] (+1218 -0), gdevos2p.c [1.1] (+704 -0), 7155 gdevokii.c [1.1] (+327 -0), gdevo182.c [1.1] (+311 -0), 7156 gdevnfwd.c [1.1] (+779 -0), gdevn533.c [1.1] (+210 -0), 7157 gdevmsxf.c [1.1] (+468 -0), gdevmswn.h [1.1] (+113 -0), 7158 gdevmswn.c [1.1] (+487 -0), gdevmrun.h [1.1] (+62 -0), gdevmrun.c [1.1] (+657 -0), 7159 gdevmrop.h [1.1] (+85 -0), gdevmr8n.c [1.1] (+376 -0), gdevmr2n.c [1.1] (+180 -0), 7160 gdevmr1.c [1.1] (+288 -0), gdevmpla.h [1.1] (+48 -0), gdevmpla.c [1.1] (+584 -0), 7161 gdevmiff.c [1.1] (+86 -0), gdevmgr.h [1.1] (+121 -0), gdevmgr.c [1.1] (+432 -0), 7162 gdevmem.h [1.1] (+243 -0), gdevmem.c [1.1] (+581 -0), gdevmeds.h [1.1] (+30 -0), 7163 gdevmeds.c [1.1] (+96 -0), gdevmacxf.c [1.1] (+478 -0), 7164 gdevmacttf.h [1.1] (+46 -0), gdevmacpictop.h [1.1] (+665 -0), 7165 gdevmac.h [1.1] (+184 -0), gdevmac.c [1.1] (+832 -0), gdevm8.c [1.1] (+238 -0), 7166 gdevm4.c [1.1] (+311 -0), gdevm32.c [1.1] (+296 -0), gdevm24.c [1.1] (+601 -0), 7167 gdevm2.c [1.1] (+253 -0), gdevm16.c [1.1] (+178 -0), gdevm1.c [1.1] (+745 -0), 7168 gdevlxm.c [1.1] (+423 -0), gdevlp8k.c [1.1] (+412 -0), gdevlj56.c [1.1] (+213 -0), 7169 gdevlbp8.c [1.1] (+213 -0), gdevl31s.c [1.1] (+283 -0), 7170 gdevl256.c [1.1] (+309 -0), gdevjpeg.c [1.1] (+283 -0), 7171 gdevimgn.c [1.1] (+571 -0), gdevifno.c [1.1] (+787 -0), 7172 gdevht.h [1.1] (+46 -0), gdevht.c [1.1] (+400 -0), gdevhpij.h [1.1] (+178 -0), 7173 gdevhpij.c [1.1] (+627 -0), gdevhl7x.c [1.1] (+1073 -0), 7174 gdevhit.c [1.1] (+92 -0), gdevherc.c [1.1] (+482 -0), gdevfax.h [1.1] (+66 -0), 7175 gdevfax.c [1.1] (+281 -0), gdevevga.c [1.1] (+118 -0), gdevescp.c [1.1] (+415 -0), 7176 gdevepsn.c [1.1] (+500 -0), gdevepsc.c [1.1] (+458 -0), 7177 gdevemap.c [1.1] (+61 -0), gdevegaa.asm [1.1] (+278 -0), 7178 gdevdsp2.h [1.1] (+48 -0), gdevdsp.h [1.1] (+203 -0), gdevdsp.c [1.1] (+1203 -0), 7179 gdevdrop.c [1.1] (+726 -0), gdevdm24.c [1.1] (+289 -0), 7180 gdevdljm.h [1.1] (+162 -0), gdevdljm.c [1.1] (+312 -0), 7181 gdevdjtc.c [1.1] (+276 -0), gdevdjet.c [1.1] (+425 -0), 7182 gdevdgbr.c [1.1] (+798 -0), gdevdflt.c [1.1] (+261 -0), 7183 gdevdfax.c [1.1] (+108 -0), gdevddrw.c [1.1] (+654 -0), 7184 gdevdcrd.h [1.1] (+29 -0), gdevdcrd.c [1.1] (+178 -0), gdevdbit.c [1.1] (+710 -0), 7185 gdevcslw.c [1.1] (+149 -0), gdevcp50.c [1.1] (+224 -0), 7186 gdevcmap.h [1.1] (+71 -0), gdevcmap.c [1.1] (+313 -0), gdevcljc.c [1.1] (+103 -0), 7187 gdevclj.c [1.1] (+680 -0), gdevcif.c [1.1] (+101 -0), gdevcgmx.h [1.1] (+188 -0), 7188 gdevcgml.h [1.1] (+384 -0), gdevcgml.c [1.1] (+1158 -0), 7189 gdevcgm.c [1.1] (+496 -0), gdevcfax.c [1.1] (+235 -0), gdevcdj.c [1.1] (+3810 -0), 7190 gdevccr.c [1.1] (+294 -0), gdevbmpc.c [1.1] (+234 -0), gdevbmpa.c [1.1] (+716 -0), 7191 gdevbmp.h [1.1] (+39 -0), gdevbmp.c [1.1] (+219 -0), gdevbjcl.h [1.1] (+401 -0), 7192 gdevbjcl.c [1.1] (+252 -0), gdevbjc.h [1.1] (+288 -0), gdevbj10.c [1.1] (+412 -0), 7193 gdevbit.c [1.1] (+371 -0), gdevbbox.h [1.1] (+146 -0), gdevbbox.c [1.1] (+1324 -0), 7194 gdevatx.c [1.1] (+274 -0), gdevalph.c [1.1] (+609 -0), gdevadmp.c [1.1] (+410 -0), 7195 gdevabuf.c [1.1] (+393 -0), gdev8bcm.h [1.1] (+73 -0), gdev8bcm.c [1.1] (+82 -0), 7196 gdev8510.c [1.1] (+144 -0), gdev4693.c [1.1] (+169 -0), 7197 gdev4081.c [1.1] (+95 -0), gdev3b1.c [1.1] (+799 -0), gdev3852.c [1.1] (+190 -0), 7198 gdebug.h [1.1] (+127 -0), gconf.h [1.1] (+37 -0), gconf.c [1.1] (+159 -0), 7199 files.h [1.1] (+173 -0), fcntl_.h [1.1] (+62 -0), fapiufst.c [1.1] (+947 -0), 7200 estack.h [1.1] (+132 -0), errors.h [1.1] (+164 -0), errno_.h [1.1] (+36 -0), 7201 echogs.c [1.1] (+346 -0), dxmainc.c [1.1] (+117 -0), dxmain.c [1.1] (+827 -0), 7202 dwuninst.rc [1.1] (+40 -0), dwuninst.h [1.1] (+33 -0), dwuninst.def [1.1] (+5 -0), 7203 dwuninst.cpp [1.1] (+860 -0), dwtext.h [1.1] (+144 -0), 7204 dwtext.c [1.1] (+1113 -0), dwsetup.rc [1.1] (+148 -0), dwsetup.h [1.1] (+50 -0), 7205 dwsetup.def [1.1] (+5 -0), dwsetup.cpp [1.1] (+1064 -0), 7206 dwreg.h [1.1] (+23 -0), dwreg.c [1.1] (+109 -0), dwnodll.c [1.1] (+49 -0), 7207 dwmainc.c [1.1] (+408 -0), dwmain32.def [1.1] (+7 -0), dwmain16.def [1.1] (+7 -0), 7208 dwmain.rc [1.1] (+37 -0), dwmain.h [1.1] (+26 -0), dwmain.c [1.1] (+495 -0), 7209 dwinst.h [1.1] (+113 -0), dwinst.cpp [1.1] (+939 -0), dwimg.h [1.1] (+75 -0), 7210 dwimg.c [1.1] (+1401 -0), dwdll.h [1.1] (+55 -0), dwdll.c [1.1] (+192 -0), 7211 dw32c.def [1.1] (+6 -0), dvx-tail.mak [1.1] (+101 -0), dvx-head.mak [1.1] (+76 -0), 7212 dvx-gcc.mak [1.1] (+343 -0), dstack.h [1.1] (+301 -0), dscparse.h [1.1] (+455 -0), 7213 dscparse.c [1.1] (+3240 -0), dpmain.c [1.1] (+1075 -0), 7214 dos_.h [1.1] (+82 -0), dirent_.h [1.1] (+57 -0), devs.mak [1.1] (+1325 -0), 7215 ctype_.h [1.1] (+31 -0), cp.cmd [1.1] (+3 -0), cp.bat [1.1] (+15 -0), 7216 copy_one.com [1.1] (+14 -0), contrib.mak [1.1] (+880 -0), 7217 cfonts.mak [1.1] (+491 -0), ccgs [1.1] (+24 -0), ccfont.h [1.1] (+104 -0), 7218 catmake [1.1] (+15 -0), btoken.h [1.1] (+47 -0), bfont.h [1.1] (+84 -0), 7219 bench.c [1.1] (+443 -0), bcwin32.mak [1.1] (+617 -0), bcc32.cfg [1.1] (+5 -0), 7220 append_l.com [1.1] (+19 -0), ansi2knr.c [1.1] (+739 -0), 7221 all-arch.mak [1.1] (+947 -0): 7222 Initial checkin gs 7.10 7223 7224</pre><h2><a name="7.30-DeviceN_Library"></a>DeviceN Library (meerkat)</h2><pre> 7225 7226Sun Aug 18 08:00:00 2002 GMT Henry Stiles henrys@meerkat 7227 7228 * gs_init.ps [1.8] (+14 -3): 7229 Modified File: (jan) 7230 7231 lib/gs_init.ps Modified .sethireshalftone to ignore components 7232 not present in a device when determining if gamma 7233 correction is required due to (imputed) dot-gain. 7234 This corrects a problem with certain three-color 7235 devices whose nonexistant gray component was 7236 inappropriately causing gamma correction to be 7237 applied. 7238 7239 * pdf_main.ps [1.5] (+53 -2), pdf_draw.ps [1.4] (+3 -7), 7240 gs_icc.ps [1.6] (+7 -3), gs_cspace.ps [1.4] (+27 -1): 7241 Modified Files: (jan) 7242 7243 lib/gs_cspace.ps 7244 Added _setcolorspace_nosub, a variation of the setcolorspace operation that 7245 avoids color space substitution. This is required for ICCBased color spaces, 7246 as they may be used to substitute for a device-specific color space, but 7247 use that same device-specific color space as an alternative space. If the 7248 alternative space was used (or even if it wasn't, in the prior code), an 7249 infinite loop would result (the eventual error is execstackoverflow). 7250 7251 lib/gs_icc.ps 7252 Modified the cs_install routine for ICCBased color spaces to use the new 7253 _setcolorspace_nosub procedure. 7254 7255 lib/pdf_draw.ps 7256 Removed the color substitution scheme used by resolvecolorspace. This has 7257 been superseded by the PostScript-based scheme. 7258 7259 lib/pdf_main.ps 7260 Implemented color space substitution using PostScript's method. This works 7261 for all color spaces and, with the above noted modifications to 7262 gs_cspace.ps and gs_icc.ps, avoids infinite-loop problems. The 7263 earlier code did not implement color space substitution for 7264 DeviceCMYK (the code was just missing) and in rare cases could 7265 suffer from infinite loops. 7266 7267 src/zcolor.c 7268 Correct a typo: the .setdevcspace operator was included twice in the 7269 zcolor_op_defs array. 7270 7271 7272Wed Aug 14 04:00:00 2002 GMT Henry Stiles henrys@meerkat 7273 7274 * pdf_main.ps [1.4] (+5 -5), pdf_base.ps [1.4] (+15 -2), 7275 gs_statd.ps [1.4] (+22 -22), gs_init.ps [1.7] (+2 -2): 7276 backward forward merge. 7277 7278 7279Tue Jul 16 18:00:00 2002 GMT Henry Stiles henrys@meerkat 7280 7281 * gs_sepr.ps [1.3] (+2 -2), gs_patrn.ps [1.3] (+2 -2), gs_indxd.ps [1.3] (+2 -2), 7282 gs_icc.ps [1.5] (+2 -2), gs_devn.ps [1.3] (+2 -2), gs_cspace.ps [1.3] (+21 -7): 7283 The following should be prominently posted in full view of all 7284 software engineers: 7285 7286 ***Do not use caches to hold unreplaceable data*** 7287 7288 Failure to follow that rule of good programming is the heart of the 7289 problem with FTS panel 245-04 (file 245-01.ps). 7290 7291 The immediate cause of the problem is the optimization put in the 7292 setcolorspace code to avoid repeatedly setting the same color space. 7293 The steps that lead to the error are the following: 7294 7295 1. The job sets a CIEBasedABC color space as the current color 7296 space. The white and black point information from the color 7297 space dictionary is combined with the white and black point 7298 information in the color rendering dictionary to sample the 7299 TransformPQR procedures in that dictionary. The resulting 7300 data is placed in the joint CIE cache. All of this activity 7301 ends with an execution of the internal operator cie_tpqr_finish 7302 (zcrd.c). This operator has two side-effects: 7303 7304 The TransformPQR data structure in the cie_render structure 7305 of the current state is set to TransformPQR_from_cache, which 7306 indicates that the PQR phase of the CIE color mapping (the 7307 white point point adjustment) is to be done via the joint CIE 7308 cache. 7309 7310 The gs_cie_cs_complete procedure is invoked with the "init" 7311 argument set to false, indicating that no further 7312 initialization is required for the joint CIE caches. This 7313 causes the status flag in those caches to be set to 7314 CIE_JC_STATUS_INITED, indicating that the caches are ready 7315 to use. 7316 7317 2. The job calls gsave. Since the joint CIE caches can be shared by 7318 multiple graphic states, the cache reference count is incremented. 7319 7320 3. The job sets a pattern color space, whose base color space is the 7321 current (CIEBasedABC) color space. 7322 7323 The PostScript interpreter in Ghostscript uses the convention that 7324 a base or alternative color space will always be set as the current 7325 color space immediately before the enclosing color space is set. 7326 The cs_install procedure for the pattern color space 7327 (lib/gs_patrn.ps) invokes setcolorspace on the base space. Because 7328 this is already the current color space, nothing happens. 7329 7330 4. Immediately afterwards, the cs_install procedure invokes the 7331 .setpatternspace operator on the enclosing pattern color space. 7332 Through a couple of layers, this will invoke the "install_cspace" 7333 method for pattern color spaces, the gx_install_Pattern 7334 (gspcolor.c). This will in turn invoke the "install_cspace" method 7335 for the base color space, in this case gx_install_CIE. 7336 7337 5. Through a few additional layers, gx_install_CIE will also call 7338 gs_cie_cs_complete (see (1) above), but this time the "init" 7339 variable will be set to true, indicating that additional 7340 initialization is required. 7341 7342 gs_cie_cs_complete will invoke gx_currentciecaches, whose purpose 7343 is to make sure that new copies of the joint CIE cache is created 7344 when necessary. Since the reference count on the existing cache is 7345 larger than 1 (see (2) above), a unique copy of the cache is created 7346 and is marked as invalid. 7347 7348 6. Subsequently, when drawing is attempted in the base color (the 7349 pattern has PaintType 2), the code will note that the cache is 7350 not yet valid and invoke cie_joint_caches_init (gscie.c). This 7351 routine can do nothing, however, because the TransformPQR structure 7352 for the cie_render structure in the graphic state is set to 7353 TransformPQR_from_cache, indicating that the only data available 7354 for the TransformPQR procedure is in the (now invalidated) cache. 7355 7356 As a fall-back, the CIE color is mapped to RGB by setting all 7357 components to 0, which yields the black output. 7358 7359 The proper fix for this problem is re-designing both the CIE color space 7360 and the color rendering structures so that they retain enough information 7361 to regenerate the joint CIE cache when necessary. Since that is a big 7362 change, the attached modifications take the more modest approach of adding 7363 a "forcesetcolorspace" operator, which will set a color space even if it 7364 is identical to the current color space. 7365 7366 Also included in the set of changes is a minor modification to gs_rectfill 7367 (gsdps1.c) that suppresses direct access to the device's fill_rectangle 7368 procedure if both overprint and overprint mode are true. Since 7369 overprintmode must be applied prior to halftoning, the code must be forced 7370 through one of the higher-level methods which include the pre-halftoned 7371 device color information. 7372 7373 Modified files: 7374 7375 lib/gs_cspace.ps 7376 Added the _setcolorspace procedure, which accepts both a boolean and 7377 a color space dictionary. If the boolean is true, the color space 7378 will not be set if it is the same as the current color space (via a 7379 conservative evaluation). 7380 7381 The setcolorspace pseudo-operator now invokes _setcolorspace with the 7382 boolean operand set to true. A new operator, forcesetcolorspace, 7383 invokes _setcolorspace with boolean set to false. 7384 7385 lib/gs_devn.ps 7386 lib/gs_icc.ps 7387 lib/gs_indxd.ps 7388 lib/gs_patrn.ps 7389 lib/gs_sepr.ps 7390 Replaced setcolorspace with forcesetcolorspace when setting a base or 7391 alternative color space. This is necessary due to some problems in the 7392 handling of the the joint CIE cache in the graphic library. 7393 7394 src/gsdps1.c 7395 Modify gs_rectfill to suppress direct access of a device's 7396 fill_rectangle method if both overprint and overprint mode are set 7397 to true. This is required to make sure the overprint compositor has 7398 access to pre-halftoned device color information with which to 7399 implement overprint mode. 7400 7401 7402Tue Jul 16 04:00:00 2002 GMT Henry Stiles henrys@meerkat 7403 7404 * wrfont.ps [1.3] (+16 -13), viewpcx.ps [1.3] (+3 -3), viewpbm.ps [1.3] (+2 -2), 7405 viewcmyk.ps [1.3] (+2 -2), unix-lpr.sh [1.2] (+4 -4), traceimg.ps [1.3] (+2 -2), 7406 stcany_h.upp [1.2] (+3 -0), stcany.upp [1.2] (+3 -0), stc_l.upp [1.2] (+3 -0), 7407 stc_h.upp [1.2] (+3 -0), stc800pl.upp [1.2] (+3 -0), stc800p.upp [1.2] (+3 -0), 7408 stc800ih.upp [1.2] (+3 -0), stc640p.upp [1.2] (+3 -0), stc600pl.upp [1.2] (+3 -0), 7409 stc600p.upp [1.2] (+3 -0), stc600ih.upp [1.2] (+3 -0), stc500ph.upp [1.2] (+3 -0), 7410 stc500p.upp [1.2] (+3 -0), stc300bm.upp [1.2] (+3 -0), stc300bl.upp [1.2] (+3 -0), 7411 stc300.upp [1.2] (+3 -0), stc2s_h.upp [1.2] (+3 -0), stc2_h.upp [1.2] (+3 -0), 7412 stc200_h.upp [1.2] (+3 -0), stc2.upp [1.2] (+3 -0), stc1520h.upp [1.2] (+3 -0), 7413 stc.upp [1.2] (+3 -0), st640plg.upp [1.2] (+3 -0), st640pl.upp [1.2] (+3 -0), 7414 st640pg.upp [1.2] (+3 -0), st640p.upp [1.2] (+3 -0), st640ihg.upp [1.2] (+3 -0), 7415 st640ih.upp [1.2] (+3 -0), rollconv.ps [1.2] (+2 -2), ps2epsi.ps [1.3] (+41 -55), 7416 ps2epsi.cmd [1.2] (+4 -1), ps2epsi.bat [1.2] (+4 -1), ps2ascii.ps [1.3] (+6 -6), 7417 prfont.ps [1.2] (+13 -11), pdfopt.ps [1.3] (+3 -3), pdf_sec.ps [1.3] (+2 -2), 7418 pdf_ops.ps [1.3] (+24 -8), pdf_main.ps [1.3] (+27 -14), 7419 pdf_font.ps [1.3] (+275 -49), pdf_draw.ps [1.3] (+55 -39), 7420 pdf_base.ps [1.3] (+50 -16), pdf2dsc.ps [1.3] (+3 -2), packfile.ps [1.3] (+2 -2), 7421 gslp.ps [1.3] (+4 -4), gs_typ32.ps [1.3] (+2 -2), gs_ttf.ps [1.3] (+28 -21), 7422 gs_trap.ps [1.3] (+2 -2), gs_statd.ps [1.3] (+4 -1), gs_setpd.ps [1.6] (+8 -1), 7423 gs_res.ps [1.3] (+12 -29), gs_pdfwr.ps [1.3] (+1 -8), gs_ll3.ps [1.5] (+2 -2), 7424 gs_lev2.ps [1.4] (+10 -26), gs_init.ps [1.6] (+28 -21), 7425 gs_fonts.ps [1.3] (+2 -2), gs_fapi.ps [1.3] (+4 -3), gs_diskn.ps [1.1] (+214 -0), 7426 gs_cmap.ps [1.3] (+72 -7), gs_cidfn.ps [1.3] (+4 -3), gs_cff.ps [1.3] (+54 -44), 7427 gs_btokn.ps [1.3] (+25 -24), font2pcl.ps [1.3] (+7 -7), 7428 fixmswrd.pl [1.2] (+1 -3), cidfmap [1.2] (+2 -2), bdftops.ps [1.3] (+7 -7), 7429 FAPIfontmap [1.2] (+2 -2), FAPIcidfmap [1.2] (+2 -2): 7430 backward merge of 7.22 to the devicen branch. 7431 7432 7433Tue Jun 25 18:00:00 2002 GMT Henry Stiles henrys@meerkat 7434 7435 * gs_ll3.ps [1.4] (+5 -1): 7436 Modified Files: 7437 7438 lib/gs_ll3.ps 7439 Added code to create the setoverprintmode and currentoverprintmode 7440 operators. 7441 7442 src/gconf.c 7443 Add the gx_compositor_list array, to list the set of compositor 7444 types compiled into the system. Also provided the gs_find_compositor 7445 procedure, to locate a compositor method vector based on its 7446 type identifier. 7447 7448 src/gdevdgbr.c 7449 Fixed several bugs in gx_get_bits_copy, for cases in which the 7450 transfer of output data involves a skew (bit shift) but no color 7451 conversion (a case that is apparently used only by the overprint 7452 facility). This case uses the copy_mono method for the 1-bit 7453 memory device. The invocation of this method had two problems: 7454 7455 1. The temporary device created for the transfer had uninitialized 7456 width and height fields. Because copy_mono will invoke the 7457 fit_copy macro, these fields must be set to reasonable values. 7458 7459 2. The width passed to copy_mono must be bit-width, as the 7460 method for a depth == 1 device is used. Previously, the 7461 pixel width was used. 7462 7463 src/gdevx.c 7464 Fixed a problem in x_copy_image. If the image passed to this routine 7465 contains more than one pixel, the colors_and and colors_or fields were 7466 not updated. Because these fields are only used for optimization, and 7467 properly updating them in this situation is potentially expensive, 7468 they are now just set to safe values (colors_and = 0; 7469 colors_or = (x_pixel)(-1)). 7470 7471 src/genconf.c 7472 Added to "-comp" option to support construction of a list of 7473 compositors compiled into the system. 7474 7475 src/gs.mak 7476 Added the SETCOMP and ADDCOMP macros, to provide access to the 7477 -comp option of genconf.c. 7478 7479 src/gsalphac.c 7480 Exported the gs_composite_alpha_type structure, and added a compositor 7481 type identifier to this structure. Also modified the de-serialization 7482 (read) method for this size so that the data string provided be large 7483 enough but not necessarily exactly the right size, and to return the 7484 number of bytes actually read (or an error code). 7485 7486 src/gscdefs.h 7487 Added a prototye for gs_find_compositor (see gconf.c above). 7488 7489 src/gscolor.c 7490 Modified gx_set_device_color_1 to turn off overprint (and overprint 7491 mode). 7492 7493 src/gsovc.c: 7494 1. Modified the de-serialization method (read) to return the number of 7495 bytes actually read (or an error code). 7496 2. Renamed gs_overprint_type to be gs_composite_overprint_type, so as 7497 to conform to the new convention for compositor names. 7498 3. For the overprint devices, set the get_xfont_procs, get_xfont_device, 7499 and text_begin methods to use the corresponding default methods, 7500 rather than the forwarding methods. Device-supported fonts are 7501 incompatible with overprint, as the required low-level calls may 7502 not be made. While the text_begin method is not itself a rendering 7503 method, it does record an imaging device, and this device must 7504 be the overprint device rather than the target device. If the 7505 forwarding text_begin method is used, the recorded imaging device 7506 would be the target device. 7507 4. Modified update_overprint_params to avoid use of the overprint 7508 devices for cases in which overprint is true, but all color 7509 components are to be drawn. Though the output is not changed, use 7510 of the non-overprint device improves performance in this case. 7511 5. Modified the default overprint compositor creation method 7512 (c_overprint_create_default_compositor) to ignore overprint 7513 requests if the current color model has only a single component. 7514 Overprinting can never have an effect in this situation, and 7515 avoiding these cases also avoids difficulties with mask caching 7516 devices (such as are used with the character cache). 7517 7518 src/gsstate.c 7519 Modified gs_state_update_overprint to update the color model mapping 7520 procedures and unset the device color. Though updating the overprint 7521 status will never change the color model, the overprint devices 7522 require a special set of forwarding color model mapping procedures. 7523 7524 src/gxclimag.c 7525 Implemented the clist_create_compositor procedure (the create_compositor 7526 method for the command list device). 7527 7528 src/gxclpath.c 7529 Replaced the cmd_opv_put_params code (0xdf) with cmd_opv_extend. This 7530 code indicates that the subsequent byte should be read and interpreted 7531 as a command from the gx_cmd_ext_op enumeration. Currently, this 7532 enumeration has two elements, cmd_opv_ext_put_params (the put_params 7533 method) and cmd_opv_ext_create_compositor (the create_compositor 7534 method). 7535 7536 src/gxclrast.c 7537 1. Made the code parsing changes required by the new cmp_opv_extend 7538 code (see gxclpath.h above). 7539 2. Added the read_create_compositor procedure, to interpret the 7540 cmd_opv_ext_create_compositor command. 7541 7542 src/gxclutil.c 7543 Modified cmd_put_params for the new cmp_opv_extend/cmd_opv_ext_put_params 7544 coding techinque. 7545 7546 src/gxcmap.c 7547 Modified gx_set_cmap_procs to handle devices that have no 7548 get_color_mapping_procs method (such as mask caching devices). 7549 7550 src/gxcomp.h 7551 Added the comp_id field to the gs_composite_type_t structure. Also 7552 added macros for the alpha and overprint compositors (the only two 7553 compositors in the current system). 7554 7555 src/gxoprect.c 7556 Fixed typo in pack_scanline_lt8: the source data pointer was not 7557 being advanced. 7558 7559 src/gxoprect.h 7560 Fixed typo in RCS identifier comment. 7561 7562 src/lib.mak 7563 1. Updated several dependency lists. 7564 2. Added code to generate the list of compiled compositors. 7565 7566 7567Tue Jun 4 05:00:00 2002 GMT Henry Stiles henrys@meerkat 7568 7569 * gs_setpd.ps [1.5] (+5 -2), gs_init.ps [1.5] (+8 -3): 7570 code set from ORIMP to enable overprint and overprint mode. 7571 7572 New Files: 7573 7574 src/gxoprect.c 7575 src/gxoprect.h 7576 These files provide the low-level code for the fill_rectangle method 7577 of the overprint compositor device. There are three such procedures, 7578 which are used in different circumstances: 7579 7580 gx_overprint_generic_fill_rectangle is always applicable, but is 7581 very slow as it must decode and re-encode the color for each pixel. 7582 7583 gx_overprint_sep_fill_rectangle_1 is applicable to separable and 7584 linear color encodings whose depth is a divisor of 7585 8 * sizeof(mono_fill_chunk) = 32. This is always the 7586 case if depth <= 8. The code used in this case is, once past a 7587 large amount of setup, about as fast as can be achieved while 7588 using get_bits_rectangle. 7589 7590 gx_overprint_sep_fill_rectangle_2 is applicable to all other 7591 separable and linear color encodings (all of which will have 7592 depth % 8 = 0). This uses a byte-wise method which is in principle 7593 slower than what could be achieved with a chunk-wise method, but 7594 is much easier to code in the general case (i.e.: for multiple 7595 possible depths). It will likely be faster in practice. 7596 7597 Modified Files: 7598 7599 lib/gs_init.ps 7600 lib/gs_setpd.ps 7601 Modified erasepage (and several other bits of code that erase the 7602 page) to turn off overprint before filling the page. This is necessary 7603 to preserve the meaning of erasepage. 7604 7605 src/gsbitops.c 7606 src/gsbitops.h 7607 Added the bits_fill_rectangle_masked procedure, a generalization of 7608 the bits_fill_rectangle procedure that allows for a component mask. 7609 Also generalized bits_fill_rectangle (and bits_fill_rectangle_masked) 7610 to support depth > 8, so long as 7611 (8 * sizeof(mono_fill_chunk)) % depth = 0. 7612 7613 Currently, bits_fill_rectangle_masked is used only by the overprint 7614 compositor device, but it can also be used by devices that can 7615 directly implement overprint (such as the memory device). 7616 7617 src/gscdevn.c 7618 Modified check_DeviceN_component_names to initialize the 7619 component_map.sep_type field of the imager state to SEP_OTHER. 7620 Previously this field was not set for DeviceN color spaces, which 7621 confused some of the overprint code. 7622 7623 src/gsovrc.c 7624 Implemented the real overprint_fill_rectangle procedures. As part of 7625 this work, added the local procedure swap_color_index, that swaps 7626 bytes in a color index as required to work with byte-oriented bitmaps 7627 on little-endian devices (only if depth > 8). 7628 7629 Also fixed a parity bug in the creation of the retain_mask. 7630 7631 src/gsovrc.h 7632 Fixed typo (/* $Id: History7.htm,v 1.44 2005/10/20 19:46:23 ray Exp $Id: History7.htm,v 1.44 2005/10/20 19:46:23 ray Exp $ */). 7633 7634 src/gxdcconv.c 7635 Modified color_rgb_to_cmyk to work if the imager state pointer 7636 operand is a null pointer. Note that in this case full undercolor 7637 removal and black generation will be performed, which is consistent 7638 with other such conversions in the code that do not have access to 7639 the imager state, but differs from the mapping used if the imager 7640 state is available but has no blackgeneration or undercolor removal 7641 map. 7642 7643 src/lib.mak 7644 Added the gxoprect.$(OBJ) target and included this as a dependency 7645 in LIB4s. Also updated some other dependency lists. 7646 7647 7648 Additional file modified (not for overprint but needed for release): 7649 7650 src/gdevdflt.c 7651 Added code to select a reasonable default value for the decode_color 7652 method, as this method is used extensively by the generic overprint 7653 implementation routines. The modifications are just a first pass to 7654 allow us to test the overprint code; they are not intended as a 7655 final solution. 7656 7657 7658Wed May 29 06:00:00 2002 GMT Henry Stiles henrys@meerkat 7659 7660 * gs_setpd.ps [1.4] (+21 -4), gs_sepr.ps [1.2] (+2 -1), 7661 gs_patrn.ps [1.2] (+3 -1), gs_init.ps [1.4] (+4 -3), gs_indxd.ps [1.2] (+3 -2), 7662 gs_icc.ps [1.4] (+5 -4), gs_devpxl.ps [1.2] (+2 -1), gs_devn.ps [1.2] (+2 -1), 7663 gs_devcs.ps [1.2] (+4 -1), gs_cspace.ps [1.2] (+87 -37), 7664 gs_ciecs3.ps [1.2] (+3 -1), gs_ciecs2.ps [1.2] (+3 -1): 7665 checkin for three separate code set releases from ORIMP, release 7666 notes follow in reverse chronological order. 7667 7668 Notes: 7669 7670 Modified files: 7671 7672 gsstate.c 7673 Added code to ignore an error return from the create_compositor call 7674 in gs_state_update_overprint if the call was made to turn off 7675 overprint. This avoids errors for device configurations that do not 7676 (yet) support the create_compositor call, when running files that do 7677 not require overprint support. 7678 7679 gsovrc.h 7680 Fixed a typo in a commment. 7681 7682 gxclrast.c 7683 Fixed a re-entrancy problem in read_set_color_space that was introduced 7684 by the previous modification to this file. 7685 7686 gsimage.c 7687 Added a comment concerning re-entrancy, and slightly modified another 7688 comment. 7689 7690 gscspace.c 7691 Added some comments concerning re-entrancy. 7692 7693 Notes: 7694 7695 Modified Files: 7696 7697 src/gsovrc.c 7698 Added full compositor device "plumbing". The overprint compositor 7699 now does all of the required device creation and setup work. The 7700 only piece still missing are implementations of the low-level 7701 rendering routines that actually implement overprint. 7702 7703 src/gsptype1.c 7704 src/gsptype2.c 7705 src/gxcht.c 7706 src/gxdcolor.c 7707 src/gxdcolor.h 7708 src/gxht.c 7709 src/gxpcolor.h 7710 Added the method get_nonzero_comps to the gx_device_color_type_t 7711 structure (the gx_device_color methods). This method is used by 7712 the overprint code to determine which color component intensities 7713 have non-zero value, which must be known to implement overprint 7714 mode. 7715 7716 src/gsovrc.h 7717 src/gscspace.c 7718 Changed the drawn_comps field of the gs_overprint_params_t 7719 structure from a byte array to a gx_color_index. This is a bit 7720 ugly, as the value is a bit map rather than an encoded color, 7721 but allows much simpler processing. (As in device colors, a 7722 gx_color_index is used because it is known to be large enough. 7723 7724 src/lib.mak 7725 Updated dependency list for gsovrc.$(OBJ). 7726 7727 Notes: 7728 7729 New Files: 7730 7731 src/gsovrc.c 7732 Implementation of the overprint compositor. For the moment, this is 7733 just a stub. This file will grow considerably in the next two releases. 7734 7735 7736 src/gsovrc.h 7737 Interface to the overprint compositor. This is in essentially final 7738 form, even though only a stub implementation of the compositor is 7739 available. This file also includes a lengthy comment describing when 7740 the compositor must be updated. 7741 7742 7743 Modified Files: 7744 7745 lib/gs_ciecs2.ps 7746 lib/gs_ciecs3.ps 7747 lib/gs_cspace.ps 7748 lib/gs_devcs.ps 7749 lib/gs_devn.ps 7750 lib/gs_devpxl.ps 7751 lib/gs_icc.ps 7752 lib/gs_indxd.ps 7753 lib/gs_patrn.ps 7754 lib/gs_sepr.ps 7755 Incorporated an optimization of setcolorspace from the casper head. 7756 The optimization avoids setting the color space if it is the same as 7757 the current color space. gs_icc.ps also contains a fix for a bug 7758 in the handling of DataSources that are streams (rather than strings; 7759 Dan discovered and analyzed this bug). 7760 7761 Note that this is a fairly complex optimization, and there were many 7762 problems with the head code that needed to be resolved. Among these 7763 were: 7764 7765 1. An invocation of setcolorspace should always set the default 7766 color for the operand color space, even if that color space is 7767 identical to the current color space. 7768 7769 2. If UseCIEColor is true, setcolorspace must be executed if 7770 the operand color space involves device-specific color spaces. 7771 This is because the Default{Gray,RGB,CMYK} instances of the 7772 ColorSpace resource category may have changed. 7773 7774 3. When UseCIEColor is changed from true to false in setpagedevcie, 7775 the implicit initgraphics invocation must perform a setcolorspace 7776 operation, even if the current color space is DeviceGray. This 7777 is necessary to ensure that the un-substituted DeviceGray color 7778 space is set as the current color space. 7779 7780 7781 lib/gs_init.ps 7782 In /showpage, replace the sequence "erasepage ... initgraphics" with 7783 "initgraphics 1 setcolor .fillpage 0 setcolor". This has the desired 7784 effect, and avoids two unnecessay invocations of setcolorspace. 7785 7786 7787 lib/gs_setpd.ps 7788 1. Modified the currentpagedevice pseudo-operator for cases in which 7789 the stored page device must be copied. Previously, the new copy 7790 was allocated in the current VM mode, which could cause 7791 invalidaccess errors if currentpagedevice was invoked while in 7792 global VM mode and composite objects stored in the page device 7793 dictionary were in local VM (this problem is present in the PS3 7794 FTS). The new code will allocate the copy in the save VM as the 7795 original dictionary. 7796 7797 2. In setpagedevice, added code to set current color space to 7798 something other than DeviceGray if modification of the page device 7799 will set UseCIEColor to false. This is necessary for the 7800 setcolorspace optimization to function properly (see above). 7801 7802 3. In the .postinstall pseudo-operator, replaced "erasepage initgraphics" 7803 with "initgraphics 1 setcolor .fillpage 0 setcolor". This avoids 7804 two unnecessary invocations of setcolorspace. 7805 7806 7807 src/gdevp14.c 7808 Added the pdf14_create_compositor method. This method will check if 7809 the compositor to be created is the overprint compositor. If so, 7810 the request to create the compositor will simply be ignored, as 7811 the gs_pdf14_device and its associated marking device must implement 7812 overprint directly. 7813 7814 7815 src/gscdevn.c 7816 1. Removed the equality check method. 7817 7818 2. Added the set_overprint method for DeviceN color spaces. 7819 7820 7821 src/gscolor2.c 7822 1. Removed the equality check method. 7823 7824 2. Added the set_overprint method for Indexed color spaces. 7825 7826 7827 src/gscpixel.c 7828 1. Removed the equality check method. 7829 7830 2. Added the set_overprint method for DevicePixel color spaces. 7831 7832 7833 src/gscscie.c 7834 1. Removed the equality check method. 7835 7836 2. Added the set_overprint method for CIEBased color spaces. 7837 7838 7839 src/gscsepr.c 7840 1. Removed the equality check method. 7841 7842 2. Added the set_overprint method for Separation color spaces. 7843 7844 3. Moved the gs_{set|current}overprint[mode] procedures to gsstate.c. 7845 7846 7847 src/gscsepr.h 7848 Moved prototypes for the gs_{set|current}overprint[mode] procedures 7849 to gsstate.h. 7850 7851 7852 src/gscspace.c 7853 1. Removed the color space equality check methods for the device- 7854 specific color spaces. 7855 7856 2. Added the basic set_overprint procedures, to provide color-space 7857 specific setting of the overprint compositor. 7858 7859 3. Modified the gs_cspace_{build|init}_Device{Gray|RGB|CMYK} 7860 procedures to use the same identifier for all instances of 7861 the parameterless color spaces (i.e.: all DeviceGray instances 7862 will have the same id, as will all DeviceRGB instances, but the 7863 id for any DeviceGray will differ from the id for a DeviceRGB 7864 instance). This enables an optimization in the gs_setcolorspace 7865 routine that had been lost in the previous code modification. 7866 7867 7868 src/gscspace.h 7869 Removed prototype for the gs_color_space_equal procedure. 7870 7871 7872 src/gsicc.c 7873 1. Removed the equality check method. 7874 7875 2. Added the set_overprint method for ICCBased color spaces. 7876 7877 7878 src/gslib.c 7879 Modified test9 to explicitly reset the current color space; this 7880 is no longer done by gs_initgraphics. 7881 7882 7883 src/gspcolor.c 7884 Added set_overprint method for pattern color spaces, removed the 7885 equality check method. 7886 7887 7888 src/gsstate.c 7889 1. Added code to update the overprint compositor when the current 7890 color space, current device, overprint, or overprint mode 7891 settings change. Included in this change is code in gs_grestore_only 7892 that updates the overprint compositor as part of the grestore 7893 operation when this is required. 7894 7895 2. Moved the gs_{set|current}overprint[mode] procedures to this file 7896 from gscsepr.c. This is more convenient for the new code, and 7897 gscsepr.c was never a particularly appropriate place for these 7898 routines. 7899 7900 3. Modified gs_initgraphics to not reset the current color space or 7901 current color. For PostScript this must now be done in the 7902 PostScript code to properly handle color space substitution. 7903 Other clients that use this procedure (the XL interpreter is the 7904 only one (aside from gslib.c)) can easily reset these parameters 7905 as well. 7906 7907 7908 src/gsstate.h 7909 Moved prototypes for the gs_{set|current}overprint[mode] procedures 7910 here from gscsepr.h. 7911 7912 7913 src/gxccache.c 7914 Modified gx_image_cached_char to just return if the current color 7915 is a pure gx_no_color_index (transparent). 7916 7917 7918 src/gxcspace.h 7919 1. Removed the equality check method. 7920 7921 2. Added the set_overprint method. 7922 7923 7924 src/gxipixel.c 7925 Modified the gx_image_enum_begin to allow the Decode array for 7926 imagemasks to have any two distinct numbers, rather than just 0 and 7927 1. This matches the behavior of all Adobe systems (though not the 7928 documentation), and avoids some spurious failures when running the 7929 FTS. 7930 7931 7932 src/gxpcmap.c 7933 Modified pattern_accum_copy_mono to just return if both the foreground 7934 and background colors are gx_no_color_index (transparent). If this is 7935 not done, the mask device's copy_mono procedure may generate an 7936 error when invoked (this is true for mem_mono_copy_mono). 7937 7938 7939 src/iutil.c 7940 Modified obj_eq to consider two 0-length arrays to be equal, 7941 irrespective of their type and their pointers (the latter aren't 7942 meaningful if the array length is 0). This matches the PostScript 7943 documentation and the behavior of Adobe systems. It also fixes 7944 some spurious failures in the FTS. 7945 7946 7947 src/lib.mak 7948 Added an entry for gsovrc (the overprint compositor), and updated 7949 various dependency lists. 7950 7951 7952 src/zfdcte.c 7953 Modified the DCTEncode procedure (zDCTE) to allocate the 7954 jpeg_compress_data and subsidiary memory structures in current VM. 7955 Previously these structures were allocated in gs_default_memory, 7956 which does not support garbage collection. Since the structures 7957 were subject to garbage collection and relocation, chaos could 7958 and, in the case of FTS file 119-28.ps, did ensue. 7959 7960 Note that these structure must be allocated immovable, which 7961 requires a considerable amount of overhead when using VM. A better 7962 approach would be to allocate them in gs_default_memory, and use 7963 a more sophisticated structure descriptor for the stream_DCT_state 7964 structure (st_DCT_state). 7965 7966 7967 src/zgstate.c 7968 Slightly simplified zinitgraphics, and updated a comment in this 7969 procedure. 7970 7971 7972 src/zmisc.c 7973 Modified realtime operator to set a zero point at boot time. This 7974 avoids an annoying delay in running FTS panel 211-01 (206-01.ps). 7975 7976 7977 zpcolor.c 7978 Modified the pattern_paint_prepare procedure to use gs_setdevice_no_int 7979 rather than gx_set_device_only. It is not clear why the latter 7980 procedure was ever used in this location, and it is now important to 7981 use the former procedure so the overprint compositor may be properly 7982 updated. 7983 7984 7985Mon May 13 21:00:00 2002 GMT Henry Stiles henrys@meerkat 7986 7987 * gs_setpd.ps [1.3] (+15 -1), gs_sepr.ps [1.1] (+264 -0), 7988 gs_patrn.ps [1.1] (+297 -0), gs_ll3.ps [1.3] (+5 -98), gs_lev2.ps [1.3] (+20 -189), 7989 gs_init.ps [1.3] (+25 -2), gs_indxd.ps [1.1] (+203 -0), 7990 gs_img.ps [1.1] (+645 -0), gs_icc.ps [1.3] (+207 -79), gs_dpnxt.ps [1.3] (+23 -1), 7991 gs_devpxl.ps [1.1] (+77 -0), gs_devn.ps [1.1] (+177 -0), 7992 gs_devcs.ps [1.1] (+204 -0), gs_cspace.ps [1.1] (+871 -0), 7993 gs_ciecs3.ps [1.1] (+121 -0), gs_ciecs2.ps [1.1] (+145 -0): 7994 Overprint implementation (Jan Stoeckenius) 7995 7996 This is a preliminary code release for the overprint capability. The 7997 release does not contain the overprint facility itself; it consists 7998 entirely of modifications so that color space changes will occur in a 7999 predictable fashion. 8000 8001 Files removed: 8002 8003 src/gshsb.c 8004 src/gshsb.h 8005 src/gscssub.c 8006 src/gscssub.h 8007 src/zhsb.c 8008 8009 8010 Files added: 8011 8012 lib/gs_cspace.ps PostScript portion of the basic color space handling; 8013 see the extensive comment at the head of the file 8014 for information. Note that color space substitution 8015 and the hue-saturation-brightness (HSB) color space 8016 are now fully implemented in the PostScript code; 8017 the interpreter and the graphic library are no longer 8018 involved in or even aware of these features. 8019 8020 lib/gs_devcs.ps Implementation of the DeviceGray, DeviceRGB, and 8021 DeviceCMYK color spaces. 8022 8023 lib/gs_ciecs2.ps Implementation of the LangaugeLevel 2 CIEBased color 8024 spaces: CIEBasedA and CIEBasedABC. 8025 8026 lib/gs_ciecs3.ps Implementation of the LanguageLevel 3 CIEBased color 8027 spaces: CIEBasedDEF and CIEBasedDEFG 8028 8029 lib/gs_devpxl.ps Implementation of the DevicePixel color spaces 8030 8031 lib/gs_indxd.ps Implementation of the Indexed color space. 8032 8033 lib/gs_sepr.ps Implementaton of the Separation color space. 8034 8035 lib/gs_devn.ps Implementation of the DeviceN color space. 8036 8037 lib/gs_patrn.ps Implementation of the Pattern color space. 8038 8039 8040 lib/gs_img.ps Implementation of the traditional (non-dictionary) 8041 form of the image and imagemask operators, and the 8042 colorimage operator (including the Next alphaimage 8043 facility). The interpreter now provides only the 8044 dictionary form of the image and imagemask operators, 8045 including a variation that provides alpha-channel 8046 support. 8047 8048 Also modified the handling of color spaces for 8049 ImageType 2 images. This slightly changes the behavior 8050 of these images. If PixelCopy is defined to be true 8051 in the image dictionary but such a copy cannot be 8052 supported, an error will be generated. This is in 8053 agreement with Adobe's documentation, but differs 8054 from the earlier behavior. 8055 8056 The code for Indexed, Separation, and DeviceN color spaces 8057 incorporates code, courtesy of Dan, that will invoke the lookup or 8058 tint transform procedure in the appropriate context if this is 8059 appropriate (if there is a lookup procedure for Indexed color spaces 8060 or the alternate color space is in use for Separation and DeviceN 8061 color spaces). Currently this is not done recursively (if an Indexed 8062 color space has a DeviceN base color space, for example), but that 8063 has not proven necessary in practice. If necessary, it can be added. 8064 8065 8066 src/zcolor3.c Code to implement the .setuseciecolor operator. This 8067 operator is used only in the setpagedevice code, and 8068 makes certain that the use_cie_color field in the 8069 interpreter's graphic state mirrors the setting of 8070 the UseCIEColor page device parameter. 8071 8072 8073 Files modified: 8074 8075 lib/gs_dpnxt.ps Added PostScript implementation of the alphaimage 8076 operator. This uses the internal .alphaimage 8077 operator, which is a variation of the image 8078 operator that provide alpha-channel support. 8079 8080 lib/gs_icc.ps Rewritten to implement the ICCBased color space 8081 in the new scheme. See the comments in 8082 lib/gs_cspace.ps for information. 8083 8084 lib/gs_init.ps Modified to include gs_cspace.ps, gs_devcs.ps, 8085 and gs_img.ps, and to remove img_util_dict and 8086 .cspace_util_dict from userdict at the end of 8087 initialization. 8088 8089 lib/gs_lev2.ps All explicit color spaces removed (with one 8090 exception, and replaced by inclusion of gs_devpxl.ps, 8091 gs_ciecs2.ps, gs_indxd.ps, gs_sepr.ps, and 8092 gs_patrn.ps. The only remaining color space support 8093 feature is moving the setcolorspace and setcolor 8094 pseudo-operators, and the colorspacedict dictionary, 8095 to level2dict. This must be done here, as it is not 8096 known that level2dict exists when gs_cspace.ps is 8097 first run. 8098 8099 Also removed all explicit image support. This is 8100 now handled by gs_img.ps (see above). 8101 8102 lib/gs_ll3.ps Removed the old support for color space substitution; 8103 this is now handled directly by the color space 8104 code (see the comments in gs_cspace.ps for 8105 information). Added inclusion of gs_ciecs3.ps and 8106 gs_devn.ps. 8107 8108 lib/gs_setpd.ps Added support for the .getuseciecolor and 8109 .setuseciecolor operators. This maintains a 8110 "mirror" of the UseCIEColor parameter in the 8111 graphic state, to allow fast access. 8112 8113 src/gdevnfwd.c In gx_forward_get_color_mapping_procs, added a check 8114 for the case of a target device which has no 8115 get_color_mapping_procs procedure. This led to a 8116 segmentation violation crash for FTS file 296-01.ps 8117 The fix may not be the correct one, as we are not 8118 certain why a device would lack this method. 8119 8120 src/gdevp14.c Replaced a use of the shared field in the graphic state 8121 with a color space allocated on the C-language stack. 8122 8123 src/gdevpsdi.c Replaced an instance of use of the gs_cspace_DeviceRGB 8124 procedure. 8125 8126 src/gscolor.c Removed gs_currentgray and gs_currentrgbcolor. Modified 8127 gs_setgray and gs_setrgbcolor to use gs_setcolorspace 8128 and gs_setcolor. This eliminates use of the 8129 gs_current_Device*_space routines. 8130 8131 src/gscolor.h Removed prototypes for gs_currentgray and 8132 gs_currentrgbcolor. 8133 8134 src/gscolor1.c Removed gs_currentcmykcolor. Modified gs_setcmykcolor 8135 to use gs_setgray and gs_setcolorspace. 8136 8137 src/gscolor1.h Removed prototype for gs_currentcmykcolor. 8138 8139 src/gscolor2.c Removed gs_currentcolorspace_index. Removed the color 8140 index tracking used as part of the color space 8141 substitution method. 8142 8143 src/gscolor2.h Removed prototype for gs_currentcolorspace_index. 8144 8145 src/gscscie.c Eliminated use of the gs_cspace_Device* routines. 8146 8147 src/gscsepr.c Fixed a pair of typos in revision 1.6 of the code. 8148 In gs_cspace_set_sepr_proc and 8149 gx_concretize_Separation, the code was still accessing 8150 pcspace->params.device_n when it wanted to access 8151 pcspace->params.separation. This caused a crash in 8152 FTS file 245-01.ps. 8153 8154 src/gscspace.c Removed gs_cspace_Device* procedures. 8155 8156 src/gscspace.h Removed prototypes for gs_cspace_Device* procedures. 8157 8158 src/gsimage.c Removed use of the gs_cspace_DeviceGray procedure. 8159 8160 src/gsiparam.h Removed the gs_image_t_int_{gray, rgb, cmyk} macros. 8161 8162 src/gsistate.c Updated code to reflect removal of the shared field in 8163 the imager state. As part of this, the 8164 rc_free_imager_shared and gx_device_color_spaces_free 8165 procedures were removed. 8166 8167 src/gslib.c Removed use of the gs_current_Device*_space and 8168 gs_image_t_init_gray procedures. 8169 8170 src/gspcolor.c Removed reference to the orig_cspace_index field, 8171 which is no longer part of the library's graphic 8172 state. 8173 8174 src/gsptype1.c Eliminated use of the gs_cspace_DeviceGray procedure, 8175 and insured that a color space is set as the current 8176 color space before it is used. 8177 8178 src/gsstate.c Removed code that maintained the device_color_spaces 8179 field (color space substitution), which is no longer 8180 in the library's graphic state. 8181 8182 src/gxclrast.c Removed use of the gs_cspace_Device* procedures. 8183 8184 src/gximage3x.c Removed use of the gs_image_t_init_gray procedure. 8185 8186 src/gximage2.c Modified color space handling for ImageType 2 images. 8187 Note that there was and still is a problem with the 8188 handling of transformations in this code. 8189 8190 src/gxistate.h Removed the shared field of the imager state, all 8191 associated structures and prototypes, and modified 8192 the affected GC macros. The gx_device_color_spaces_t 8193 structure was previously used in the graphic library's 8194 state as well, but that use has been eliminated. 8195 8196 src/gzstate.h Removed the the device_color_spaces field, and modified 8197 the requisite GC macros 8198 8199 src/idparam.c Modified dict_float_array_check_param to handle 8200 packed (short or mixed) arrays. 8201 8202 src/igstate.h Added the use_cie_color field. This is a mirror for 8203 the UseCIEColor parameter of the page device, used 8204 because the currentpagedevice operator is potentially 8205 expensive. 8206 8207 src/iimage.h Modified to restrict the interpreter to just the 8208 dictionary form of the image and imagemask operator. 8209 This removes the zimage_opaque_setup, zimage_data_setup, 8210 and zimage_multiple prototypes, and moves the 8211 image_params structure and the image1_setup 8212 prototypes to this file (from iimage2.h). 8213 8214 src/iimage2.h Moved everything except the prototype for 8215 process_non_source_image to iimage.h. 8216 8217 src/iutil.c Added process_float_array procedure, to allow packed 8218 (short, mixed) arrays of numbers to be handled. 8219 8220 src/iutil.h Added prototype for the process_float_array procedure. 8221 8222 src/zcolor.c Removed: 8223 zcurrentgray, zcurrentrgbcolor, 8224 setgray, setrgbcolor 8225 Moved (from zcolor2.c): 8226 zcurrentcolor, zcurrentcolorspace, 8227 zsetcolor, zsetcolorspace 8228 Added: 8229 zgetuseciecolor queries the use_cie_color field 8230 in the interpreter state 8231 zsetdevcspace sets a DeviceGray, DeviceRGB, or 8232 DeviceCMYK color space 8233 8234 src/zcolor1.c Removed zcurrentcmykcolor, zsetcmykcolor, and 8235 zcolorimage. 8236 8237 src/zcolor2.c Removed everything in prior version. Added 8238 zusealternate, to test if an alternate color space 8239 is being used (for a Separation, DeviceN, or ICCBased 8240 color space), or if a base color space is in use 8241 (for an Indexed or a Pattern color space that uses 8242 a base space). 8243 8244 src/zdpnext.c Replace the alphaimage operator with .alphaimage, 8245 which has the semantics of the dictionary form of 8246 the image operator. 8247 8248 src/zgstate.c Modified the initgraphics operator to set the 8249 colorspace.array field to a legitimate color space 8250 (previously it was set to a null object). Also 8251 inserted code to initialize the use_cie_color field 8252 to false. 8253 8254 src/zimage.c Removed the traditional-form image and imagemask 8255 operators (zimage and zimagemask), and moved the 8256 dictionary form of these operators to this file 8257 from zimage2.c. Also, added the has_alpha parameter 8258 to the data_image_params and pixel_image_params 8259 procedures, to support the .alphaimage operator. 8260 8261 src/zimage2.c Moved everything except the process_non_source_image 8262 procedure to zimage.c. 8263 8264 src/zimage3.c Updated calls to data_image_params and 8265 pixel_image_params to add has_alpha parameter. 8266 8267 src/zmisc3.c Removed .setsubstitutecolorspace operator. 8268 8269 src/zpcolor.c Modified .setpatternspace to handle a packed (short, 8270 mixed) array operand. 8271 8272 src/zshade.c Modified build_mesh_shading to handle a packed (short, 8273 mixed) DataSource array operand. 8274 8275 src/ztrans.c Modified calls to data_image_params and 8276 pixel_image_params to add has_alpha operand. 8277 8278 src/watclib.mak Removed reference to the hsblib.dev, which no longer 8279 exists and which, for some unknown reason, was directly 8280 included in this makefile. Does anyone still use this 8281 file? 8282 8283 src/int.mak Removed hsb.dev and the zimage2_l2 operators, added 8284 zcolor3.c, updated various dependency lists. 8285 8286 src/lib.mak Removed hsblib.dev and gscssub.[ch], updated various 8287 dependency lists. Note that this file has not yet 8288 been modified to always compile with Level 3 support. 8289 8290 8291Fri Mar 15 23:00:00 2002 GMT Henry Stiles henrys@meerkat 8292 8293 * zeroline.ps [1.2] (+11 -13), xlatmap [1.2] (+7 -6), wrfont.ps [1.2] (+11 -13), 8294 winmaps.ps [1.2] (+11 -13), wftopfa.ps [1.2] (+11 -13), 8295 viewps2a.ps [1.2] (+11 -13), viewpcx.ps [1.2] (+11 -13), 8296 viewpbm.ps [1.2] (+11 -13), viewmiff.ps [1.2] (+11 -13), 8297 viewjpeg.ps [1.2] (+15 -1), viewgif.ps [1.2] (+11 -13), 8298 viewcmyk.ps [1.2] (+11 -13), unprot.ps [1.2] (+11 -13), 8299 uninfo.ps [1.2] (+11 -13), type1ops.ps [1.2] (+11 -13), 8300 type1enc.ps [1.2] (+11 -13), traceop.ps [1.2] (+11 -13), 8301 traceimg.ps [1.2] (+11 -13), stocht.ps [1.2] (+13 -15), 8302 stcolor.ps [1.2] (+11 -13), stcinfo.ps [1.2] (+11 -13), 8303 showchar.ps [1.2] (+11 -13), ps2pdfwr [1.2] (+6 -6), ps2epsi.ps [1.2] (+11 -13), 8304 ps2ascii.ps [1.2] (+16 -23), ps2ascii.cmd [1.2] (+4 -4), 8305 ps2ascii.bat [1.2] (+4 -4), ps2ascii [1.2] (+2 -2), ps2ai.ps [1.2] (+11 -13), 8306 printafm.ps [1.2] (+1 -0), pphs.ps [1.2] (+11 -13), ppath.ps [1.2] (+11 -13), 8307 pfbtopfa.ps [1.2] (+11 -13), pdfwrite.ps [1.2] (+11 -13), 8308 pdfopt.ps [1.2] (+62 -35), pdf_sec.ps [1.2] (+14 -11), pdf_ops.ps [1.2] (+45 -18), 8309 pdf_main.ps [1.2] (+72 -46), pdf_font.ps [1.2] (+49 -48), 8310 pdf_draw.ps [1.2] (+43 -25), pdf_base.ps [1.2] (+25 -20), 8311 pdf2dsc.ps [1.2] (+13 -14), pcharstr.ps [1.2] (+11 -13), 8312 packfile.ps [1.2] (+11 -13), markpath.ps [1.2] (+11 -13), 8313 markhint.ps [1.2] (+11 -13), lines.ps [1.2] (+11 -13), landscap.ps [1.2] (+3 -1), 8314 jispaper.ps [1.2] (+11 -13), impath.ps [1.2] (+11 -13), 8315 image-qa.ps [1.2] (+11 -13), gsnup.ps [1.2] (+11 -13), gslp.ps [1.2] (+11 -13), 8316 gs_wl5_e.ps [1.2] (+11 -13), gs_wl2_e.ps [1.2] (+11 -13), 8317 gs_wl1_e.ps [1.2] (+11 -13), gs_wan_e.ps [1.2] (+11 -13), 8318 gs_type1.ps [1.2] (+18 -29), gs_typ42.ps [1.2] (+11 -19), 8319 gs_typ32.ps [1.2] (+11 -13), gs_ttf.ps [1.2] (+17 -13), 8320 gs_trap.ps [1.2] (+11 -13), gs_sym_e.ps [1.2] (+11 -13), 8321 gs_std_e.ps [1.2] (+11 -13), gs_statd.ps [1.2] (+11 -13), 8322 gs_setpd.ps [1.2] (+19 -14), gs_resmp.ps [1.1] (+485 -0), 8323 gs_res.ps [1.2] (+14 -13), gs_rdlin.ps [1.2] (+11 -13), 8324 gs_pfile.ps [1.2] (+11 -13), gs_pdfwr.ps [1.2] (+123 -40), 8325 gs_pdf_e.ps [1.2] (+11 -13), gs_mro_e.ps [1.2] (+11 -13), 8326 gs_mgl_e.ps [1.2] (+11 -13), gs_mex_e.ps [1.2] (+11 -13), 8327 gs_ll3.ps [1.2] (+11 -13), gs_lgx_e.ps [1.2] (+11 -13), 8328 gs_lgo_e.ps [1.2] (+11 -13), gs_lev2.ps [1.2] (+147 -32), 8329 gs_l2img.ps [1.2] (+11 -13), gs_ksb_e.ps [1.2] (+11 -13), 8330 gs_kanji.ps [1.2] (+11 -13), gs_init.ps [1.2] (+120 -86), 8331 gs_il2_e.ps [1.2] (+11 -13), gs_il1_e.ps [1.2] (+11 -13), 8332 gs_icc.ps [1.2] (+11 -13), gs_frsd.ps [1.2] (+11 -13), gs_fonts.ps [1.2] (+33 -27), 8333 gs_fform.ps [1.2] (+11 -13), gs_fapi.ps [1.2] (+476 -299), 8334 gs_epsf.ps [1.2] (+11 -13), gs_dscp.ps [1.2] (+11 -13), 8335 gs_dps2.ps [1.2] (+11 -13), gs_dps1.ps [1.2] (+11 -13), 8336 gs_dps.ps [1.2] (+11 -13), gs_dpnxt.ps [1.2] (+11 -13), 8337 gs_diskf.ps [1.2] (+11 -13), gs_dbt_e.ps [1.2] (+11 -13), 8338 gs_css_e.ps [1.2] (+11 -13), gs_cmdl.ps [1.2] (+11 -13), 8339 gs_cmap.ps [1.2] (+18 -15), gs_cidfn.ps [1.2] (+17 -16), 8340 gs_cidfm.ps [1.1] (+125 -0), gs_ciddc.ps [1.1] (+208 -0), 8341 gs_cidcm.ps [1.2] (+60 -144), gs_cff.ps [1.2] (+11 -13), 8342 gs_ce_e.ps [1.2] (+11 -13), gs_ccfnt.ps [1.2] (+11 -13), 8343 gs_btokn.ps [1.2] (+11 -13), gs_agl.ps [1.2] (+11 -13), 8344 font2pcl.ps [1.2] (+11 -13), font2c.ps [1.2] (+11 -13), 8345 errpage.ps [1.2] (+11 -13), docie.ps [1.2] (+11 -13), decrypt.ps [1.2] (+2 -0), 8346 cidfmap [1.1] (+16 -0), cid2code.ps [1.2] (+11 -13), caption.ps [1.2] (+11 -13), 8347 bdftops.ps [1.2] (+11 -13), align.ps [1.2] (+11 -13), addxchar.ps [1.2] (+11 -13), 8348 Info-macos.plist [1.1] (+14 -0), Fontmap.Ult [1.2] (+11 -13), 8349 Fontmap.Sol [1.2] (+11 -13), Fontmap.SGI [1.2] (+11 -13), 8350 Fontmap.OS2 [1.2] (+11 -13), Fontmap.GS [1.2] (+11 -13), 8351 Fontmap.ATM [1.2] (+11 -13), Fontmap.ATB [1.2] (+11 -13), 8352 FAPIfontmap [1.1] (+33 -0), FAPIconfig [1.1] (+14 -0), FAPIcidfmap [1.1] (+32 -0): 8353 merges GS head. This will not compile because pdf changes have not 8354 been added. Please wait until the pdf changes are added before 8355 updating local trees. 8356 8357 8358Wed Oct 31 23:00:00 2001 GMT Henry Stiles henrys@meerkat 8359 8360 * zeroline.ps [1.1] (+102 -0), xlatmap [1.1] (+48 -0), wrfont.ps [1.1] (+664 -0), 8361 wmakebat.bat [1.1] (+4 -0), winmaps.ps [1.1] (+108 -0), 8362 wftopfa.ps [1.1] (+305 -0), wftopfa [1.1] (+3 -0), viewps2a.ps [1.1] (+34 -0), 8363 viewpcx.ps [1.1] (+152 -0), viewpbm.ps [1.1] (+186 -0), 8364 viewmiff.ps [1.1] (+126 -0), viewjpeg.ps [1.1] (+144 -0), 8365 viewgif.ps [1.1] (+162 -0), viewcmyk.ps [1.1] (+65 -0), 8366 unprot.ps [1.1] (+69 -0), unix-lpr.sh [1.1] (+161 -0), uninfo.ps [1.1] (+222 -0), 8367 type1ops.ps [1.1] (+239 -0), type1enc.ps [1.1] (+67 -0), 8368 traceop.ps [1.1] (+85 -0), traceimg.ps [1.1] (+44 -0), sysvlp.sh [1.1] (+46 -0), 8369 stocht.ps [1.1] (+64 -0), stcolor.ps [1.1] (+173 -0), stcinfo.ps [1.1] (+801 -0), 8370 stcany_h.upp [1.1] (+24 -0), stcany.upp [1.1] (+24 -0), 8371 stc_l.upp [1.1] (+26 -0), stc_h.upp [1.1] (+53 -0), stc800pl.upp [1.1] (+34 -0), 8372 stc800p.upp [1.1] (+34 -0), stc800ih.upp [1.1] (+58 -0), 8373 stc640p.upp [1.1] (+33 -0), stc600pl.upp [1.1] (+34 -0), 8374 stc600p.upp [1.1] (+34 -0), stc600ih.upp [1.1] (+58 -0), 8375 stc500ph.upp [1.1] (+48 -0), stc500p.upp [1.1] (+48 -0), 8376 stc300bm.upp [1.1] (+43 -0), stc300bl.upp [1.1] (+40 -0), 8377 stc300.upp [1.1] (+60 -0), stc2s_h.upp [1.1] (+57 -0), stc2_h.upp [1.1] (+53 -0), 8378 stc200_h.upp [1.1] (+51 -0), stc2.upp [1.1] (+53 -0), stc1520h.upp [1.1] (+58 -0), 8379 stc.upp [1.1] (+53 -0), st640plg.upp [1.1] (+34 -0), st640pl.upp [1.1] (+49 -0), 8380 st640pg.upp [1.1] (+34 -0), st640p.upp [1.1] (+49 -0), st640ihg.upp [1.1] (+42 -0), 8381 st640ih.upp [1.1] (+57 -0), showpage.ps [1.1] (+1 -0), showchar.ps [1.1] (+95 -0), 8382 rollconv.ps [1.1] (+372 -0), ras8m.upp [1.1] (+8 -0), ras4.upp [1.1] (+8 -0), 8383 ras32.upp [1.1] (+8 -0), ras3.upp [1.1] (+8 -0), ras24.upp [1.1] (+8 -0), 8384 ras1.upp [1.1] (+8 -0), quit.ps [1.1] (+1 -0), pv.sh [1.1] (+37 -0), 8385 ps2ps.cmd [1.1] (+36 -0), ps2ps.bat [1.1] (+23 -0), ps2ps [1.1] (+20 -0), 8386 ps2pdfxx.bat [1.1] (+56 -0), ps2pdfwr [1.1] (+36 -0), ps2pdf14.cmd [1.1] (+11 -0), 8387 ps2pdf14.bat [1.1] (+15 -0), ps2pdf14 [1.1] (+5 -0), ps2pdf13.cmd [1.1] (+11 -0), 8388 ps2pdf13.bat [1.1] (+15 -0), ps2pdf13 [1.1] (+5 -0), ps2pdf12.cmd [1.1] (+11 -0), 8389 ps2pdf12.bat [1.1] (+15 -0), ps2pdf12 [1.1] (+5 -0), ps2pdf.cmd [1.1] (+43 -0), 8390 ps2pdf.bat [1.1] (+18 -0), ps2pdf [1.1] (+7 -0), ps2epsi.ps [1.1] (+263 -0), 8391 ps2epsi.cmd [1.1] (+31 -0), ps2epsi.bat [1.1] (+28 -0), 8392 ps2epsi [1.1] (+76 -0), ps2ascii.ps [1.1] (+1510 -0), ps2ascii.cmd [1.1] (+18 -0), 8393 ps2ascii.bat [1.1] (+15 -0), ps2ascii [1.1] (+18 -0), ps2ai.ps [1.1] (+553 -0), 8394 printafm.ps [1.1] (+146 -0), printafm [1.1] (+7 -0), prfont.ps [1.1] (+242 -0), 8395 pphs.ps [1.1] (+223 -0), pphs [1.1] (+7 -0), ppath.ps [1.1] (+56 -0), 8396 pj-gs.sh [1.1] (+289 -0), pftogsf.bat [1.1] (+20 -0), pfbtopfa.ps [1.1] (+36 -0), 8397 pfbtopfa [1.1] (+16 -0), pf2afm.ps [1.1] (+495 -0), pf2afm.cmd [1.1] (+7 -0), 8398 pf2afm.bat [1.1] (+17 -0), pf2afm [1.1] (+8 -0), pdfwrite.ps [1.1] (+285 -0), 8399 pdfopt.ps [1.1] (+1127 -0), pdfopt.bat [1.1] (+22 -0), pdfopt [1.1] (+20 -0), 8400 pdf_sec.ps [1.1] (+361 -0), pdf_ops.ps [1.1] (+522 -0), 8401 pdf_main.ps [1.1] (+787 -0), pdf_font.ps [1.1] (+957 -0), 8402 pdf_draw.ps [1.1] (+1152 -0), pdf_base.ps [1.1] (+641 -0), 8403 pdf2ps.cmd [1.1] (+41 -0), pdf2ps.bat [1.1] (+24 -0), pdf2ps [1.1] (+29 -0), 8404 pdf2dsc.ps [1.1] (+166 -0), pdf2dsc.bat [1.1] (+18 -0), 8405 pdf2dsc [1.1] (+26 -0), pcharstr.ps [1.1] (+128 -0), packfile.ps [1.1] (+335 -0), 8406 necp2x6.upp [1.1] (+35 -0), necp2x.upp [1.1] (+35 -0), markpath.ps [1.1] (+61 -0), 8407 markhint.ps [1.1] (+132 -0), lprsetup.sh [1.1] (+189 -0), 8408 lpr2.bat [1.1] (+5 -0), lpgs.bat [1.1] (+5 -0), lp386r2.bat [1.1] (+2 -0), 8409 lp386.bat [1.1] (+2 -0), lines.ps [1.1] (+167 -0), level1.ps [1.1] (+2 -0), 8410 landscap.ps [1.1] (+29 -0), jispaper.ps [1.1] (+29 -0), 8411 impath.ps [1.1] (+181 -0), image-qa.ps [1.1] (+1828 -0), 8412 ht_ccsto.ps [1.1] (+3171 -0), gstt.bat [1.1] (+5 -0), gst.bat [1.1] (+5 -0), 8413 gssetgs.bat [1.1] (+8 -0), gsnup.ps [1.1] (+90 -0), gsndt.bat [1.1] (+5 -0), 8414 gsnd.bat [1.1] (+5 -0), gsnd [1.1] (+3 -0), gslp.ps [1.1] (+696 -0), 8415 gslp.bat [1.1] (+5 -0), gslp [1.1] (+3 -0), gslj.bat [1.1] (+5 -0), 8416 gslj [1.1] (+3 -0), gsdj500.bat [1.1] (+5 -0), gsdj500 [1.1] (+3 -0), 8417 gsdj.bat [1.1] (+5 -0), gsdj [1.1] (+3 -0), gsbj.bat [1.1] (+5 -0), 8418 gsbj [1.1] (+3 -0), gs_wl5_e.ps [1.1] (+68 -0), gs_wl2_e.ps [1.1] (+68 -0), 8419 gs_wl1_e.ps [1.1] (+68 -0), gs_wan_e.ps [1.1] (+48 -0), 8420 gs_type1.ps [1.1] (+190 -0), gs_typ42.ps [1.1] (+52 -0), 8421 gs_typ32.ps [1.1] (+129 -0), gs_ttf.ps [1.1] (+935 -0), 8422 gs_trap.ps [1.1] (+105 -0), gs_t_m.xbm [1.1] (+8 -0), gs_t.xpm [1.1] (+28 -0), 8423 gs_t.xbm [1.1] (+8 -0), gs_sym_e.ps [1.1] (+85 -0), gs_std_e.ps [1.1] (+75 -0), 8424 gs_statd.ps [1.1] (+367 -0), gs_setpd.ps [1.1] (+769 -0), 8425 gs_s_m.xbm [1.1] (+11 -0), gs_s.xpm [1.1] (+36 -0), gs_s.xbm [1.1] (+11 -0), 8426 gs_res.ps [1.1] (+929 -0), gs_rdlin.ps [1.1] (+22 -0), gs_pfile.ps [1.1] (+129 -0), 8427 gs_pdfwr.ps [1.1] (+496 -0), gs_pdf_e.ps [1.1] (+46 -0), 8428 gs_mro_e.ps [1.1] (+63 -0), gs_mgl_e.ps [1.1] (+66 -0), 8429 gs_mex_e.ps [1.1] (+68 -0), gs_m_m.xbm [1.1] (+16 -0), gs_m.xpm [1.1] (+44 -0), 8430 gs_m.xbm [1.1] (+16 -0), gs_ll3.ps [1.1] (+470 -0), gs_lgx_e.ps [1.1] (+62 -0), 8431 gs_lgo_e.ps [1.1] (+93 -0), gs_lev2.ps [1.1] (+866 -0), 8432 gs_l_m.xbm [1.1] (+29 -0), gs_l2img.ps [1.1] (+186 -0), 8433 gs_l.xpm [1.1] (+58 -0), gs_l.xbm [1.1] (+29 -0), gs_ksb_e.ps [1.1] (+66 -0), 8434 gs_kanji.ps [1.1] (+160 -0), gs_init.ps [1.1] (+1845 -0), 8435 gs_il2_e.ps [1.1] (+65 -0), gs_il1_e.ps [1.1] (+68 -0), 8436 gs_icc.ps [1.1] (+116 -0), gs_frsd.ps [1.1] (+84 -0), gs_fonts.ps [1.1] (+1058 -0), 8437 gs_fform.ps [1.1] (+94 -0), gs_fapi.ps [1.1] (+403 -0), 8438 gs_epsf.ps [1.1] (+61 -0), gs_dscp.ps [1.1] (+120 -0), gs_dps2.ps [1.1] (+218 -0), 8439 gs_dps1.ps [1.1] (+143 -0), gs_dps.ps [1.1] (+204 -0), gs_dpnxt.ps [1.1] (+114 -0), 8440 gs_diskf.ps [1.1] (+226 -0), gs_dbt_e.ps [1.1] (+61 -0), 8441 gs_css_e.ps [1.1] (+116 -0), gs_cmdl.ps [1.1] (+182 -0), 8442 gs_cmap.ps [1.1] (+455 -0), gs_cidfn.ps [1.1] (+393 -0), 8443 gs_cidcm.ps [1.1] (+498 -0), gs_cff.ps [1.1] (+759 -0), 8444 gs_ce_e.ps [1.1] (+49 -0), gs_ccfnt.ps [1.1] (+77 -0), gs_btokn.ps [1.1] (+322 -0), 8445 gs_agl.ps [1.1] (+1071 -0), font2pcl.ps [1.1] (+605 -0), 8446 font2c.ps [1.1] (+677 -0), font2c.cmd [1.1] (+7 -0), font2c.bat [1.1] (+5 -0), 8447 font2c [1.1] (+3 -0), fixmswrd.pl [1.1] (+208 -0), errpage.ps [1.1] (+364 -0), 8448 eps2eps.cmd [1.1] (+36 -0), eps2eps.bat [1.1] (+26 -0), 8449 eps2eps [1.1] (+20 -0), dvipdf [1.1] (+40 -0), docie.ps [1.1] (+220 -0), 8450 dnj750m.upp [1.1] (+59 -0), dnj750c.upp [1.1] (+47 -0), 8451 decrypt.ps [1.1] (+13 -0), cid2code.ps [1.1] (+162 -0), 8452 cdj690ec.upp [1.1] (+54 -0), cdj690.upp [1.1] (+52 -0), 8453 cdj550.upp [1.1] (+48 -0), cbjc800.ppd [1.1] (+389 -0), 8454 cbjc600.ppd [1.1] (+404 -0), caption.ps [1.1] (+58 -0), 8455 bjc610b8.upp [1.1] (+44 -0), bjc610b7.upp [1.1] (+44 -0), 8456 bjc610b6.upp [1.1] (+44 -0), bjc610b4.upp [1.1] (+45 -0), 8457 bjc610b3.upp [1.1] (+44 -0), bjc610b2.upp [1.1] (+44 -0), 8458 bjc610b1.upp [1.1] (+44 -0), bjc610a8.upp [1.1] (+44 -0), 8459 bjc610a7.upp [1.1] (+44 -0), bjc610a6.upp [1.1] (+44 -0), 8460 bjc610a5.upp [1.1] (+44 -0), bjc610a4.upp [1.1] (+45 -0), 8461 bjc610a3.upp [1.1] (+44 -0), bjc610a2.upp [1.1] (+44 -0), 8462 bjc610a1.upp [1.1] (+44 -0), bjc610a0.upp [1.1] (+44 -0), 8463 bj8ts06n.upp [1.1] (+44 -0), bj8pp12f.upp [1.1] (+44 -0), 8464 bj8pa06n.upp [1.1] (+44 -0), bj8oh06n.upp [1.1] (+44 -0), 8465 bj8hg12f.upp [1.1] (+44 -0), bj8gc12f.upp [1.1] (+44 -0), 8466 bj8.rpd [1.1] (+17 -0), bdftops.ps [1.1] (+797 -0), bdftops.cmd [1.1] (+7 -0), 8467 bdftops.bat [1.1] (+5 -0), bdftops [1.1] (+3 -0), align.ps [1.1] (+75 -0), 8468 afmdiff.awk [1.1] (+150 -0), addxchar.ps [1.1] (+359 -0), 8469 acctest.ps [1.1] (+99 -0), Fontmap.VMS [1.1] (+424 -0), 8470 Fontmap.Ult [1.1] (+148 -0), Fontmap.Sol [1.1] (+488 -0), 8471 Fontmap.SGI [1.1] (+407 -0), Fontmap.OSF [1.1] (+163 -0), 8472 Fontmap.OS2 [1.1] (+216 -0), Fontmap.GS [1.1] (+405 -0), 8473 Fontmap.ATM [1.1] (+187 -0), Fontmap.ATB [1.1] (+170 -0), 8474 Fontmap [1.1] (+3 -0): 8475 Initial checkin gs 7.10 8476 8477 8478</pre> 8479<hr> 8480 8481<h1><a name="Version7.22"></a>Version 7.22 (2002-08-06)</h1> 8482 8483<p> 8484This release integrates the rewritten pdfwrite font copying code, 8485fixing a large class of pdfwrite bugs involving incremental font 8486updating. This project was completed before the DeviceN merge was 8487ready, so this release (rather than 7.21 as previously stated) is 8488the final checkpoint prior to the DeviceN merge. 8489 8490<p> 8491Overall, pdfwrite is probably an improvement over previous releases, 8492but there are still known issues. Testing of pdfwrite with real-world 8493files is encouraged. 8494 8495<p> 8496The following SourceForge bug numbers were open at the time of the last release: 8497405342, 8498407342, 8499414947, 8500414985, 8501423838, 8502427347, 8503432040, 8504434277, 8505446344, 8506446672, 8507453969, 8508458261, 8509458775, 8510458780, 8511459647, 8512465720, 8513465936, 8514468762, 8515474745, 8516482038, 8517484752, 8518484753, 8519485510, 8520487953, 8521493348, 8522495319, 8523498595, 8524505429, 8525508081, 8526509646, 8527510808, 8528511232, 8529513905, 8530514616, 8531517349, 8532521916, 8533526099, 8534526491, 8535530011, 8536530588, 8537533467, 8538535366, 8539535752, 8540535836, 8541538033, 8542539239, 8543542848, 8544543185, 8545546823, 8546551565, 8547552989, 8548554076, 8549555496, 8550557177, 8551558151, 8552558435, 8553559614, 8554560508, 8555562103, 8556563287, 8557565790, 8558567421, 8559567487, 8560567604, 8561567773, 8562569573, 8563570181, 8564570772, 8565571980, 8566572119, 8567573744, 8568576586, 8569576591, 8570578838, 8571578865, 8572580029, 8573580873, 8574581420, 8575582471, 8576583413, 8577584713, 8578584990, 8579586178, 8580586595, 8581589244, 8582590307, 8583590979, 8584591039, 8585591326. 8586 8587<p>The nightly regression tests show many changes. However, most of 8588the non-pdf regressions are tiny changes resulting in comparing a 8589debug build against a non-debug baseline. The rendering really 8590shouldn't be different at all, so we're leaving these regressions open 8591until we can fix the discrepancy. On the pdfwrite side, most of the 8592regressions are actually improvements, but there are some known 8593issues. Notably, the "same_font" function is incorrect, and deriving 8594several fonts from a standard font, replacing Metrics or Metrics2 8595only, pdfwrite incorrectly merges them into a single font. This causes 8596a regression with 093-01.ps and probably other test files. 8597 8598<h3><a name="7.22_Incompatible_changes"></a>Incompatible changes</h3> 8599 8600<pre> 8601</pre> 8602 8603 8604<h2><a name="7.22-Documentation"></a>Documentation</h2><pre> 8605 8606Minor tweaks to release process, based on 7.21 experience. 8607(doc/Release.htm [1.63]: 2002/07/09 07:23:07 raph) 8608 8609Bump version number to 7.22 as final commit in 7.21 process. 8610(doc/News.htm [1.108]: 2002/07/09 07:42:10 raph) 8611 8612Remove Russell Lang's name from most man pages. Correct Russell Lang's email 8613address. (man/dvipdf.1 [1.16], man/font2c.1 [1.16], man/gs.1 [1.16], 8614man/gslp.1 [1.16], man/gsnd.1 [1.16], man/pdf2dsc.1 [1.16], 8615man/pf2afm.1 [1.16], man/pfbtopfa.1 [1.17], man/printafm.1 [1.16], 8616man/ps2pdf.1 [1.20], man/ps2pdfwr.1 [1.19], man/wftopfa.1 [1.16]: 2002/07/10 861712:19:44 ghostgum) 8618 8619Remove Russell Lang's name from most man pages. Correct Russell Lang's email 8620address. (man/de/dvipdf.1 [1.2], man/de/font2c.1 [1.2], man/de/gsnd.1 [1.3], 8621man/de/pdf2dsc.1 [1.2], man/de/printafm.1 [1.2], man/de/ps2pdf.1 [1.2], 8622man/de/wftopfa.1 [1.2]: 2002/07/10 12:22:12 ghostgum) 8623 8624Changes all references to L. Peter Deutsch as the author of Ghostscript to 8625refer to artofcode LLC and Artifex Software as the maintainers of 8626Ghostscript. (doc/New-user.htm [1.39], doc/Use.htm [1.55], 8627man/ansi2knr.1 [1.4], man/dvipdf.1 [1.17], man/eps2eps.1 [1.4], 8628man/font2c.1 [1.17], man/gs.1 [1.17], man/gslp.1 [1.17], man/gsnd.1 [1.17], 8629man/pdf2ps.1 [1.18], man/pdfopt.1 [1.16], man/pf2afm.1 [1.17], 8630man/pfbtopfa.1 [1.18], man/printafm.1 [1.17], man/ps2ascii.1 [1.16], 8631man/ps2pdf.1 [1.21], man/ps2pdfwr.1 [1.20], man/ps2ps.1 [1.23], 8632man/wftopfa.1 [1.17]: 2002/07/11 02:54:22 lpd) 8633 8634Upgrading ps2pdf.htm about pdfwrite/pdxtext. (doc/Ps2pdf.htm [1.44]: 86352002/07/31 10:00:57 igor) 8636 8637First commit in 7.22 release process: date and News updates. 8638(doc/News.htm [1.109]: 2002/08/06 23:10:40 raph) 8639 8640</pre><h2><a name="7.22-Procedures"></a>Procedures</h2><pre> 8641 8642Fixes problems: 8643 - Renaming few variables in devs.mak for better clarity. 8644(devs.mak [1.68]: 2002/07/18 18:03:15 igor) 8645 - Changed make_two_versions to use the logging system. 8646(toolbin/tests/make_two_versions [1.5]: 2002/07/23 16:37:51 jack) 8647 - remove spurious build of the gtk client along with the macos 8648framework. (macos-fw.mak [1.5]: 2002/08/05 16:21:12 giles) 8649 8650Bump version number to 7.22 as final commit in 7.21 process. 8651(version.mak [1.48]: 2002/07/09 07:42:10 raph) 8652 8653Adds a procedure for testing whether a string was returned by 8654gs_c_glyph_name. Allows the font copying code to share these strings, 8655substantially reducing the load on the garbage collector. 8656(toolbin/encs2c.ps [1.3]: 2002/07/09 14:04:19 lpd) 8657 8658Switching on the new pdfwrite/pdxtext code. (devs.mak [1.69]: 2002/07/26 865907:27:19 igor) 8660 8661First commit in 7.22 release process: date and News updates. 8662(version.mak [1.49]: 2002/08/06 23:10:40 raph) 8663 8664</pre><h2><a name="7.22-Utilities"></a>Utilities</h2><pre> 8665 8666Changes all references to L. Peter Deutsch as the author of Ghostscript to 8667refer to artofcode LLC and Artifex Software as the maintainers of 8668Ghostscript. (lib/prfont.ps [1.6], lib/ps2epsi.ps [1.9]: 2002/07/11 02:54:22 8669lpd) 8670 8671</pre><h2><a name="7.22-Drivers"></a>Drivers</h2><pre> 8672 8673Fixes problems: 8674 - When compiled for A4 default page size, the initial page size is 8675now 595x842pts. The initial printer page size in tenths of an inch now uses 8676floating point. This may cause problems with old compilers that do not allow 8677floating point calculations in initializers for integers. Add some casts to 8678suppress warnings with the MS compiler. Fixes SourceForge bug #535997, 8679"ps2pdf produces incorrect A4 page size". (gdevbmpc.c [1.5]: 2002/07/18 868011:01:44 ghostgum) 8681 8682</pre><h2><a name="7.22-PDF_writer"></a>PDF writer</h2><pre> 8683 8684Fixes problems: 8685 - Fixes the last (?) major batch of problems in the new pdfwrite 8686text code. We think this code is now good enough for general testing: search 8687for PDTEXT in src/devs.mak for information on how to enable it. 8688(gdevpdtc.c [1.6], gdevpdte.c [1.7], gdevpdtf.c [1.9], gdevpdti.c [1.4], 8689gdevpdts.c [1.9], gdevpdts.h [1.5], gdevpdtt.c [1.6], gdevpdtt.h [1.4], 8690gdevpdtw.c [1.5]: 2002/07/09 14:29:35 lpd) 8691 - (pdfwrite) Enforce compression choice on end of image; do not 8692choose with zero output length. (gdevpdfj.c [1.22]: 2002/07/15 19:25:11 8693igor) 8694 - (pdfwrite) Fixing the image dimensions for the alternative 8695compression stream. Source Forge bug "[ 574865 ] ioerror only with 8696PDFSETTINGS=/screen" (gdevpdfi.c [1.40]: 2002/07/15 19:34:17 igor) 8697 - Always write FontBBox into CFF, even though the spec says it's 8698optional, to work around a problem when printing the resulting file with 8699Adobe Acrobat Reader 4 to HP PostScript printers. Source Forge bug "[ 578899 8700] Missing /FontBBox when converting to ps?" (gdevpdfe.c [1.18], 8701gdevpdtb.c [1.5], gdevpdtb.h [1.3], gdevpdtd.c [1.4]: 2002/07/19 13:35:59 8702igor) 8703 - (pdfwrite) Quiet Cygwin/gcc warnings. (gdevpdfe.c [1.19], 8704gdevpdfs.c [1.23], gdevpdtc.c [1.7]: 2002/07/19 14:51:27 igor) 8705 - Fixing an unbalanced '>>' in pdf_write_CIDSet(). 8706(gdevpdtb.c [1.6]: 2002/07/20 08:21:37 igor) 8707 - (pdfwrite) Standard font names were erroneously suffixed. Source 8708Forge bug "[ 557024 ] (pdfwrite) Font display incorrect" This changes old 8709pdfwrite only. The new one was patched separately. (gdevpdff.c [1.31]: 87102002/07/31 09:23:32 igor) 8711 8712pdfwrite: implementing WMode 1 for simple fonts. (gdevpdte.c [1.8], 8713gdevpdtf.c [1.10], gdevpdtf.h [1.4], gdevpdtt.c [1.7], gdevpdtt.h [1.5]: 87142002/07/24 07:45:28 igor) 8715 8716pdfwrite/pdxtext: fixing the decision about font embedding for the case when 8717a source document uses both standard and non-standard fonts with same name. 8718(gdevpdtf.c [1.11]: 2002/07/24 13:40:04 igor) 8719 8720pdfwrite/pdxtext: Generate uniquie font names for embedded fonts for 8721compatibility with Acrobat Reader 3. (gdevpdtb.c [1.7]: 2002/07/24 16:18:48 8722igor) 8723 8724pdfwrite/pdxtext: Fixing a possibly uninitialized variable. 8725(gdevpdtf.c [1.12]: 2002/07/24 16:27:41 igor) 8726 8727pdfwrite/pdxtext: Fixing WMode 1 for simple fonts that have no Metrics2. 8728(gdevpdte.c [1.9]: 2002/07/24 18:58:28 igor) 8729 8730pdfwrite/pdxtext: TJ arguments were computed without accounting Tc. 8731(gdevpdts.c [1.10]: 2002/07/25 19:11:38 igor) 8732 8733pdfwrite/pdxtext: TJ arguments were inaccurately rounded. 8734(gdevpdts.c [1.11]: 2002/07/29 08:42:39 igor) 8735 8736pdfwrite/pdxtext: (1) Widths were computed wrongly, (2) standard fonts 8737missed Widths. (gdevpdtw.c [1.6]: 2002/07/29 11:47:19 igor) 8738 8739</pre><h2><a name="7.22-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 8740 8741Fixes problems: 8742 - When using -dUseCropBox, use an inherited CropBox. The previous 8743fix would only use a CropBox on the page being displayed. 8744(lib/pdf_main.ps [1.54]: 2002/07/18 10:46:06 ghostgum) 8745 - If a 'stream' operator was followed by whitespace before the EOL, 8746then the fileposition was not at the start of the data. Add logic to allow 8747for this and also add a pdfformaterror if the EOL was a <cr> without a 8748<lf>. Fixes SourceForge bug 567612 for Artifex customer #1. 8749(lib/pdf_base.ps [1.27]: 2002/07/31 19:06:11 ray) 8750 8751</pre><h2><a name="7.22-Interpreter"></a>Interpreter</h2><pre> 8752 8753Fixes problems: 8754 - (FAPI) server_font_data were prematurely reset in zFAPIpassfont. 8755Thanks for Graham Asher for spotting this. Also fixes minor bugs in 8756comments. (ifapi.h [1.12], zfapi.c [1.22]: 2002/07/09 14:55:03 igor) 8757 - Avoid opstack overflow by explicit array construction, rather than 8758unpacking and padding on the stack, for padding of glyphencoding array. 8759Fixes SF bug #576651. (lib/gs_ttf.ps [1.16]: 2002/07/10 06:29:34 raph) 8760 - Adobe renders marks outside the ImagingBBox and QuarkXPress relies 8761on this. Maintain the ImagingBBox of the page device at the PostScript level 8762independently from the device parameter. There is a slight incompatibility 8763if programs that set the ImagingBBox incorrectly relied on this causing 8764clipping, which is prohibited by the PLRM. Programs that wish to directly 8765set the ImagingBBox device parameter can still do so from C or from PS using 8766the .putdeviceprops GS private operator. Fixes SF bug 570829 for Artifex 8767customer #411. (lib/gs_setpd.ps [1.12]: 2002/07/10 23:05:59 ray) 8768 - Add a predefined ColorRendering Resource named 8769/DefaultColorRendering since this is the name that GetSubstituteCRD will 8770return and also is the name expected by some software. SourceForge bug 8771#570217 for cust #150. (lib/gs_res.ps [1.24]: 2002/07/12 06:46:33 ray) 8772 - Results of zchar_get_metrics2 were missinterpreted. 8773(zchar1.c [1.20]: 2002/07/16 16:47:39 igor) 8774 - correct the ISO paper sizes in gs_statd.ps to match those in the 8775Adobe PPD specification, technical note 5003. Fixes SourceForge bug #536877, 8776"Paper sizes wrong in gs_statd.ps". (lib/gs_statd.ps [1.9]: 2002/07/18 877710:41:53 ghostgum) 8778 - The addition of the function sampling logic for DeviceN tint 8779transforms (fix 474544) tripped over a bogus assumption in Adobe Procset for 8780DuoTones generated by (at least) Photoshop. The assumption was that if the 8781alternate color space of a DeviceN space was being used, that the procedure 8782would run when 'setcolor' was executed and that the stack would be 8783accessible during that procedure. This fixes several bug reports with 8784'/stackunderflow in pop' errors including SF #549307, 576577 and 582385 for 8785Artifex customers. Thanks to Dan Coby for the analysis and fix. 8786(lib/gs_lev2.ps [1.20], lib/gs_ll3.ps [1.15], zcolor2.c [1.9]: 2002/07/31 878704:43:44 ray) 8788 8789Bump version number to 7.22 as final commit in 7.21 process. 8790(lib/gs_init.ps [1.58]: 2002/07/09 07:42:10 raph) 8791 8792Previous commit was botched because of improperly removed debugging code. 8793Second commit for fix of SF #576651. (lib/gs_ttf.ps [1.17]: 2002/07/10 879406:53:24 raph) 8795 8796pdfwrite: implementing WMode 1 for simple fonts. (zchar1.c [1.21]: 87972002/07/24 07:45:28 igor) 8798 8799FAPI project : WMode 1 was wrongly processed for base fonts. 8800(zfapi.c [1.23]: 2002/08/03 15:50:51 igor) 8801 8802</pre><h2><a name="7.22-Library"></a>Library</h2><pre> 8803 8804Fixes problems: 8805 - Fixes bugs in font copying (currently used only by the new 8806pdfwrite text code): TrueType glyphs with multiple names in CharStrings only 8807stored a single name; copied Encodings were initialized incorrectly to 8808.notdef rather than GS_NO_GLYPH; some of the procedures of copied TrueType 8809fonts weren't initialized correctly; 'seac' didn't copy the Encoding entries 8810for the components. Also shares the known glyph names when possible, to 8811reduce the load on the garbage collector. (gxfcopy.c [1.14], 8812gxfcopy.h [1.6]: 2002/07/09 14:26:45 lpd) 8813 - When compiled for A4 default page size, the initial page size is 8814now 595x842pts. The initial printer page size in tenths of an inch now uses 8815floating point. This may cause problems with old compilers that do not allow 8816floating point calculations in initializers for integers. Add some casts to 8817suppress warnings with the MS compiler. Fixes SourceForge bug #535997, 8818"ps2pdf produces incorrect A4 page size". (gdevprn.h [1.11], 8819gxdevice.h [1.9]: 2002/07/18 11:01:44 ghostgum) 8820 - Always write FontBBox into CFF, even though the spec says it's 8821optional, to work around a problem when printing the resulting file with 8822Adobe Acrobat Reader 4 to HP PostScript printers. Source Forge bug "[ 578899 8823] Missing /FontBBox when converting to ps?" (gdevpsf.h [1.20], 8824gdevpsf2.c [1.23]: 2002/07/19 13:35:59 igor) 8825 - (pdfwrite) Quiet Cygwin/gcc warnings. (gdevpsft.c [1.21]: 88262002/07/19 14:51:27 igor) 8827 8828Bump version number to 7.22 as final commit in 7.21 process. 8829(gscdef.c [1.22]: 2002/07/09 07:42:10 raph) 8830 8831Adds a procedure for testing whether a string was returned by 8832gs_c_glyph_name. Allows the font copying code to share these strings, 8833substantially reducing the load on the garbage collector. (gscedata.c [1.4], 8834gscedata.h [1.3], gscencs.c [1.6], gscencs.h [1.4]: 2002/07/09 14:04:19 lpd) 8835 8836pdfwrite: implementing WMode 1 for simple fonts. (gxfont.h [1.15]: 88372002/07/24 07:45:28 igor) 8838 8839First commit in 7.22 release process: date and News updates. 8840(gscdef.c [1.23]: 2002/08/06 23:10:40 raph) 8841 8842</pre> 8843<hr> 8844 8845<h1><a name="Version7.21"></a>Version 7.21 (2002-07-08)</h1> 8846 8847<p> 8848This is a reasonably stable development snapshot, the last before the 8849DeviceN work gets merged in. In particular, this version is probably 8850the most stable pdfwrite version to date. 8851 8852<p> 8853The following SourceForge bug numbers were open at the time of the last release: 8854405342, 8855407342, 8856414947, 8857414985, 8858415142, 8859423838, 8860427347, 8861432040, 8862434277, 8863446344, 8864446672, 8865453969, 8866458261, 8867458775, 8868458780, 8869459647, 8870462221, 8871465720, 8872465936, 8873468762, 8874474745, 8875482038, 8876484752, 8877484753, 8878485510, 8879487953, 8880493348, 8881495319, 8882498595, 8883503794, 8884505429, 8885506375, 8886508081, 8887509646, 8888510808, 8889511232, 8890513905, 8891514616, 8892517349, 8893521354, 8894521916, 8895522486, 8896524292, 8897526099, 8898526491, 8899528647, 8900529103, 8901529578, 8902530011, 8903530588, 8904533467, 8905535366, 8906535752, 8907535836, 8908535997, 8909536877, 8910538033, 8911538267, 8912539239, 8913542848, 8914543185, 8915546823, 8916549307, 8917551565, 8918552949, 8919552989, 8920554076, 8921555496, 8922557024, 8923557177, 8924558151, 8925558435, 8926559614, 8927560508, 8928562103, 8929563287, 8930565790, 8931567421, 8932567487, 8933567604, 8934567612, 8935567773, 8936569573, 8937570181, 8938570213, 8939570217, 8940570772, 8941570800, 8942570816, 8943570829, 8944571897, 8945571980, 8946572119, 8947573744, 8948574865, 8949576574, 8950576577, 8951576586, 8952576591, 8953576615, 8954576651. 8955 8956<p>All the regression tests run correctly, with the following exceptions: 8957pdfwrite testing of 401-01.ps, which segfaults. 8958 8959<h3><a name="7.21_Incompatible_changes"></a>Incompatible changes</h3> 8960 8961<p> 8962<ul> 8963<li> 8964The file gs/lib/CIDFnmap used in Ghostscript 6.53 and 7.0x to map 8965CIDFont resource is no longer supported. Now it is replaced with 8966gs/lib/cidfmap. TrueType font substition to CIDFont is not implemented yet. 8967 8968</ul> 8969 8970<pre> 8971</pre> 8972 8973<h2><a name="7.21-Documentation"></a>Documentation</h2><pre> 8974 8975Fixes problems: 8976 - Changes the operation of AutoFilter{Gray,Color}Images to always 8977use the lossless filter (normally FlateEncode), rather than using DCTEncode 8978for 8-bit-per-component images at least 64x64 in size. While this isn't 8979optimal, it fixes a long-standing problem that many users have complained 8980about. Fixes SourceForge #450663. (doc/Ps2pdf.htm [1.41]: 2002/04/08 898121:21:23 lpd) 8982 - The recently added reference to zcidtest.c had the correct text 8983but an incorrect URL. (doc/Develop.htm [1.73]: 2002/04/09 02:03:22 lpd) 8984 - the url for the guide to international paper sizes has changed. 8985Thanks to Nelson Beebe for finding the update. (doc/Use.htm [1.52]: 89862002/04/14 01:08:14 giles) 8987 - The new file md5main.c was not included in the catalog of source 8988files. (doc/Develop.htm [1.74]: 2002/04/14 15:56:53 lpd) 8989 - More compatibility to Adobe interpreters in 'eexec'. This is 8990NON-BACKWARD-COMPATIBLE change. Now eexec skips all whitespaces at the 8991beginning of input stream, except for PFBDecode output. Thanks to L. Peter 8992Deutsch for participation. Source Forge bug "[ 428891 ] Undefined commands 8993interpreting Postscri". (doc/Language.htm [1.49]: 2002/05/01 23:15:23 igor) 8994 - pdfwrite relied on the PostScript interpreter to load and make 8995available the known encodings and glyph sets identified in src/gsccode.h. 8996With this change, pdfwrite can now be used without a PostScript interpreter, 8997and with fonts that do not implement the known_encode callback. 8998(doc/Develop.htm [1.78], doc/Psfiles.htm [1.32]: 2002/05/12 22:38:08 lpd) 8999 - Fixes a typo in, and slightly improves, documentation for invoking 9000cvs2hist as part of the release process. Fixes SourceForge #551275. 9001(doc/Release.htm [1.61]: 2002/06/26 20:14:45 lpd) 9002 - Fixes a typo in the reference to src/gdevpdte.c. 9003(doc/Develop.htm [1.83]: 2002/06/27 00:50:23 lpd) 9004 - Add the option -dUseCropBox to set the page size from the CropBox 9005rather than the MediaBox. This is appropriate when using ghostscript to view 9006PDF files or convert to bitmaps. It probably isn't appropriate for printing. 9007Fixes SourceForge bugs #522486, "Wromg size EPS generated from PDF" and 9008#538267 "Problems with Media Box in PDF and PS interpreter". 9009(doc/Use.htm [1.53]: 2002/06/28 10:55:43 ghostgum) 9010 9011update version numbers after the 7.20 release. (doc/News.htm [1.104]: 90122002/04/04 03:14:03 giles) 9013 9014gs-cjk project : add note about abandoning of CIDFnmap in gs6.53 and gs7.0x 9015to incompatible changes. (doc/News.htm [1.105]: 2002/04/04 06:01:51 9016mpsuzuki) 9017 9018Changes gs_cmap_t (internal representation of CMaps) to an abstract 9019superclass with multiple implementations: standard Adobe CMapType 1, 9020TrueType 16-bit cmap (Platform 3, Encoding 1, Format 4), and one-for-one. 9021Adds the ability to designate a CMap as Unicode-based. Enhances pdfwrite so 9022that composite fonts (including those based on TrueType Unicode fonts) with 9023Unicode-based CMaps are embedded in the PDF file with the original text 9024preserved and with an appropriate ToUnicode CMap, making the text searchable 9025in Acrobat. (doc/Develop.htm [1.72]: 2002/04/08 21:02:44 lpd) 9026 9027Documents more clearly the fact that the ProcessColorModel parameter for 9028ps2pdf / pdfwrite does not affect (most) images. Also changes the "notes" 9029references from the parameter table to live links. (doc/Ps2pdf.htm [1.42]: 90302002/04/09 22:43:46 lpd) 9031 9032Documents a user request for pdfwrite to convert images to a fixed, 9033specified color space, as it currently does for vectors/text/masks. 9034(doc/Issues.htm [1.23]: 2002/04/09 22:51:20 lpd) 9035 9036Add an example using .locksafe to permit reading of files anywhere while 9037preventing file writing, deleting or renaming (as with the pre 7.20 SAFER 9038mode). Related to SourceForge bug #541856. (doc/Language.htm [1.48]: 90392002/04/11 18:11:02 ray) 9040 9041Deletes "Vanilla" functions, which have not been used for a long time. They 9042were originally created for implementing FunctionType 4 functions using a 9043callback to the PostScript interpreter, but FunctionType 4 functions have 9044had their own interpreter since 3/19/2000 (first revision of gsfunc4.c). 9045(doc/Develop.htm [1.75]: 2002/04/19 00:53:19 lpd) 9046 9047Removes unused gdevht halftoning "device". Part of DeviceN task list. 9048(doc/Develop.htm [1.76], doc/Drivers.htm [1.28]: 2002/04/22 23:01:47 raph) 9049 9050Adds a project to replace all sampled PostScript procedures with Function 9051objects, at the PostScript level. (Suggested by SourceForge bug #547695.) 9052(doc/Projects.htm [1.43]: 2002/04/29 22:37:15 lpd) 9053 9054Documents the rationale for stable allocators better. 9055(doc/Develop.htm [1.77]: 2002/05/02 20:48:21 lpd) 9056 9057Documents the fact that driver procedures other than put_params must not 9058reset is_open, and the invariant that requires any device instance 9059referenced from a graphics state to be open. (doc/Drivers.htm [1.29]: 90602002/05/02 22:36:47 lpd) 9061 9062Update the url for the zlib website and source. Fixes SF Bug #550585. 9063(doc/Make.htm [1.50], doc/New-user.htm [1.37]: 2002/05/09 16:29:16 giles) 9064 9065Updates documentation for the revision of the C implementation of known 9066Encodings. (doc/Develop.htm [1.79], doc/Psfiles.htm [1.33]: 2002/05/14 906723:33:57 lpd) 9068 9069Refactors the pdfwrite driver so that none of the structures, and very few 9070of the procedures, for handling text and fonts are visible to the main body 9071of code, in preparation for a major rewrite of the text and font code. 9072(doc/Develop.htm [1.80]: 2002/05/20 07:07:15 lpd) 9073 9074Update Release.htm with changes from the 7.05 release. Fixes SF bug #551275. 9075(doc/Release.htm [1.60]: 2002/05/22 08:26:39 giles) 9076 9077Adds documentation for pdfwrite regression tools. (doc/Testing.htm [1.7]: 90782002/06/21 00:06:29 jack) 9079 9080Adds references to new source files gxfcopy.c, gxfcopy.h, stdpn.h, and 9081zfctest.c. (doc/Develop.htm [1.81]: 2002/06/21 05:56:32 lpd) 9082 9083Update for Borland 5.5 Compiler. Files changes include bcwin32.mak, 9084dwmainc.c, unistd_.h, bcc32.cfg and Make.htm. Patch by Rod Webster (rodw). 9085SF#559565 (doc/Make.htm [1.51]: 2002/06/24 06:20:25 jeong) 9086 9087Adds a complete rewrite of the font and text code in pdfwrite, based on 9088copying fonts incrementally to stable memory rather than trying to deal with 9089fonts being freed at unpredictable times. Should fix a large number of 9090current SourceForge bugs when completed: however, the code is currently in 9091pre-alpha state and is not usable on any realistic input. The API is 9092compatible with the previous pdfwrite text code; the choice of which set to 9093use is controlled by a single, documented line in src/devs.mak. 9094(doc/Develop.htm [1.82]: 2002/06/25 01:51:32 lpd) 9095 9096News.htm update, version number and date fixups. First commit mandated by 9097Release.htm, in preparation for 7.21 release. (doc/API.htm [1.23], 9098doc/Bug-form.htm [1.28], doc/Bug-info.htm [1.27], doc/C-style.htm [1.33], 9099doc/Commprod.htm [1.20], doc/Copying.htm [1.20], doc/Current.htm [1.20], 9100doc/DLL.htm [1.22], doc/Develop.htm [1.84], doc/Devices.htm [1.46], 9101doc/Drivers.htm [1.30], doc/Fonts.htm [1.29], doc/Helpers.htm [1.24], 9102doc/History1.htm [1.20], doc/History2.htm [1.20], doc/History3.htm [1.20], 9103doc/History4.htm [1.20], doc/History5.htm [1.22], doc/History6.htm [1.37], 9104doc/History7.htm [1.17], doc/Htmstyle.htm [1.25], doc/Install.htm [1.33], 9105doc/Issues.htm [1.24], doc/Language.htm [1.50], doc/Lib.htm [1.22], 9106doc/Maintain.htm [1.30], doc/Make.htm [1.52], doc/New-user.htm [1.38], 9107doc/News.htm [1.106], doc/Projects.htm [1.44], doc/Ps-style.htm [1.18], 9108doc/Ps2epsi.htm [1.22], doc/Ps2pdf.htm [1.43], doc/Psfiles.htm [1.34], 9109doc/Readme.htm [1.39], doc/Release.htm [1.62], doc/Source.htm [1.20], 9110doc/Tester.htm [1.19], doc/Testing.htm [1.8], doc/Unix-lpr.htm [1.20], 9111doc/Use.htm [1.54], doc/Xfonts.htm [1.20], doc/gs-vms.hlp [1.19], 9112man/dvipdf.1 [1.15], man/font2c.1 [1.15], man/gs.1 [1.15], 9113man/gslp.1 [1.15], man/gsnd.1 [1.15], man/pdf2dsc.1 [1.15], 9114man/pdf2ps.1 [1.17], man/pdfopt.1 [1.15], man/pf2afm.1 [1.15], 9115man/pfbtopfa.1 [1.16], man/printafm.1 [1.15], man/ps2ascii.1 [1.15], 9116man/ps2epsi.1 [1.15], man/ps2pdf.1 [1.19], man/ps2pdfwr.1 [1.18], 9117man/ps2ps.1 [1.22], man/wftopfa.1 [1.15]: 2002/07/08 20:09:53 raph) 9118 9119</pre><h2><a name="7.21-Procedures"></a>Procedures</h2><pre> 9120 9121Fixes problems: 9122 - gscdef.c must contain a definition for GS_PRODUCT that matches the 9123definition used by the baseline. run_nightly now sets GS_PRODUCT to "AFPL 9124Ghostscript" correctly regardless of it's setting in the repository. 9125(toolbin/tests/run_nightly [1.4]: 2002/04/09 01:25:26 jack) 9126 - gscheck_pdfwrite.py was modeled after run_regression instead of 9127check_*.py. This corrects the script so that it follows the testing 9128conventions and also adds gscheck_all.py which will run every gscheck_*.py 9129test (of which currently there is only one). 9130(toolbin/tests/gscheck_all.py [1.1], 9131toolbin/tests/gscheck_pdfwrite.py [1.2], toolbin/tests/gstestgs.py [1.7]: 91322002/04/09 21:45:33 jack) 9133 - Fix for #540871. Clean up compiler warnings in zfsample.c. Note: 9134The addition of two include files in zfsample.c forces a change in 9135dependencies in int.mak. (int.mak [1.70]: 2002/04/11 02:18:14 dan) 9136 - Indexed color spaces weren't implemented for ShadingType 4-7 9137shadings. (lib.mak [1.73]: 2002/04/14 04:30:47 lpd) 9138 - Options specified in gsconf.py were not being used correctly by 9139all scripts. run_regression and revert_baseline were both broken in this 9140respect. (toolbin/tests/gstestgs.py [1.8], 9141toolbin/tests/revert_baseline [1.5], toolbin/tests/run_regression [1.4]: 91422002/04/16 21:06:20 jack) 9143 - missing space bofore the gsoptions are passed. 9144(toolbin/tests/gstestgs.py [1.9]: 2002/04/16 21:22:25 jack) 9145 - make symlinks to equivalent manpages with relative rather than 9146absolute paths to facilitate moving the directory to another location. 9147Closes SourceForge Bug #416131. (unixinst.mak [1.25]: 2002/04/18 01:53:36 9148giles) 9149 - the uniprint driver wasn't being included due to a typo. 9150(os2.mak [1.25]: 2002/04/19 00:56:28 giles) 9151 - Adds -p parameter to mkdir to suppress warning messages when the 9152target already exists and to create parent directories automatically if they 9153don't exist. Fixes Sourceforge bug #518742. (unix-dll.mak [1.9], 9154unixinst.mak [1.26]: 2002/04/19 01:08:38 jack) 9155 - Add PostScriptLevel3 as one of the Resources of the /Emulator 9156category so that it shows up with "gs -h". Fixes SourceForge bug #549235. 9157(int.mak [1.74]: 2002/04/26 20:51:24 ray) 9158 - Removing the variable $(PSD) from lib.mak to allow graphics 9159library to build independently on GS. (lib.mak [1.77]: 2002/05/05 13:44:27 9160igor) 9161 - The GS lib would not build. This fix corrects two minor problems. 9162The routine gs_abort was added to gslib.c. The unused include file 9163gmorecfg.h was removed from vdtrace.c. (lib.mak [1.78]: 2002/05/08 05:41:44 9164dan) 9165 - pdfwrite relied on the PostScript interpreter to load and make 9166available the known encodings and glyph sets identified in src/gsccode.h. 9167With this change, pdfwrite can now be used without a PostScript interpreter, 9168and with fonts that do not implement the known_encode callback. 9169(devs.mak [1.60], lib.mak [1.80]: 2002/05/12 22:38:08 lpd) 9170 - The rule for building icc.o didn't depend on $(ECHOGS_XE), causing 9171the build to possibly fail (depending on the order in which `make' built 9172targets) if executed with empty output directories. (icclib.mak [1.7]: 91732002/06/05 19:55:04 lpd) 9174 - update_baseline had a typo for the baseline log file. 9175(toolbin/tests/update_baseline [1.6]: 2002/06/13 20:49:34 jack) 9176 - Limit the number of %disk devices to 7 to prevent problems with 9177the Dynalab font installer. Also return %disk devices in numeric order from 9178devforall and suppress %disk devices from filenameforall to match Adobe. 9179Also correct documentation of devforall (no pattern string used). Thanks to 9180Nori Matsushima and Erik Strik for testing of this feature (diskn.dev). 9181(int.mak [1.76]: 2002/06/14 04:04:39 ray) 9182 - .pushpdf14devicefilter was defined in zdfilter.c, but depended on 9183the optional pdf module's transparency features. Moves the definition of 9184this routine to the conditionally included ztrans.c. Fix by L. Peter 9185Deutsch, resolves SourceForge Bug 565019. (int.mak [1.77]: 2002/06/14 918609:42:54 giles) 9187 - The automatically generated files src/gscedata.[ch] didn't have a 9188RCS Id line. (toolbin/encs2c.ps [1.2]: 2002/06/14 13:31:53 lpd) 9189 - As a result of a recent fix, an opdef table had more than 16 9190entries, causing initialization to abort. (int.mak [1.78]: 2002/06/14 919114:17:56 lpd) 9192 - Fixes an oversight that prevented compilation with stdpn.h 9193included. (jpeg.mak [1.7]: 2002/06/16 09:11:47 lpd) 9194 - Implementing pdfmark stream compression. Source forge bug "[ 9195558476 ] file attachment annotation uncompressed". (devs.mak [1.63]: 91962002/06/16 22:07:55 igor) 9197 - Fixes minor errors in the makefile dependency lists. (The 9198dependency list for gxclrast.c, in particular, had gotten badly mangled.) 9199(lib.mak [1.86]: 2002/06/19 15:34:01 lpd) 9200 - Fixes an omission in a dependency list. (int.mak [1.79]: 92012002/06/19 15:36:45 lpd) 9202 - Fixes another omission in a dependency list. (int.mak [1.80]: 92032002/06/19 15:37:20 lpd) 9204 - pdfinflt.ps should not propagate the /Prev from the input file's 9205trailer since the output will only have a single xref table. Also add 9206'whitespace' after a stream before 'endstream' in case the input stream did 9207not have trailing whitespace (prevents /undefined errors). 9208(toolbin/pdfinflt.ps [1.4]: 2002/06/19 20:13:05 ray) 9209 - When building an archive of the graphics library or interpreter, 9210add only the object files, not the .dev and interpreter files. Fixes 9211SourceForge bug # 538311 - files missing from library archive. 9212(gs.mak [1.14], ugcclib.mak [1.19], unixlink.mak [1.6]: 2002/06/22 03:33:12 9213ghostgum) 9214 - gxfcache.h didn't #include or define all of its prerequisites. 9215(lib.mak [1.89]: 2002/06/24 05:14:15 lpd) 9216 - MSVC can't handle a makefile that compiles two sets of code with 9217some of the same exported names, but only linked in one set. The fix still 9218requires a 1-line edit of devs.mak when using MSVC. (devs.mak [1.67]: 92192002/07/07 15:54:23 lpd) 9220 9221update version numbers after the 7.20 release. (version.mak [1.46]: 92222002/04/04 03:14:03 giles) 9223 9224Changes gs_cmap_t (internal representation of CMaps) to an abstract 9225superclass with multiple implementations: standard Adobe CMapType 1, 9226TrueType 16-bit cmap (Platform 3, Encoding 1, Format 4), and one-for-one. 9227Adds the ability to designate a CMap as Unicode-based. Enhances pdfwrite so 9228that composite fonts (including those based on TrueType Unicode fonts) with 9229Unicode-based CMaps are embedded in the PDF file with the original text 9230preserved and with an appropriate ToUnicode CMap, making the text searchable 9231in Acrobat. (devs.mak [1.57], int.mak [1.69], lib.mak [1.70]: 2002/04/08 923221:02:44 lpd) 9233 9234Adds gscheck_pdfwrite.py and a new test class, GSFuzzyCompareTest. This test 9235does fuzzy compares of ps->raster and ps->pdf->raster to help 9236ensure the pdfwrite device is functioning properly. 9237(toolbin/tests/gscheck_pdfwrite.py [1.1], toolbin/tests/gsconf.py [1.5], 9238toolbin/tests/gstestgs.py [1.6]: 2002/04/09 18:12:24 jack) 9239 9240Moves the remaining CID-related test operator (.writefont9) to zcidtest.c. 9241(int.mak [1.71], lib.mak [1.71]: 2002/04/11 22:07:36 lpd) 9242 9243Create a separate WARNOPT parameter for specifying the warning message 9244level. This allows the message level to be specified from the command line. 9245(msvccmd.mak [1.10]: 2002/04/11 22:20:14 dan) 9246 9247Brings int.mak dependencies up to date. (int.mak [1.72]: 2002/04/12 05:37:43 9248lpd) 9249 9250Brings dependencies in devs.mak up to date. (devs.mak [1.58]: 2002/04/12 925105:42:06 lpd) 9252 9253Brings dependencies in lib.mak up to date. (lib.mak [1.72]: 2002/04/12 925405:55:39 lpd) 9255 9256Updates makefile dependencies for the recent change to gdevpdfu.c. 9257(devs.mak [1.59]: 2002/04/14 06:55:58 lpd) 9258 9259Adds a --[no-]pause switch to suite.tcl, for viewing suite output on the 9260display. Also changes the output file names from 9261t.<<date>>.<<page#>>.<<format>> to 9262<<filename>>.<<page#>>.<<format>>. 9263(toolbin/suite.tcl [1.6]: 2002/04/15 23:59:20 lpd) 9264 9265Deletes "Vanilla" functions, which have not been used for a long time. They 9266were originally created for implementing FunctionType 4 functions using a 9267callback to the PostScript interpreter, but FunctionType 4 functions have 9268had their own interpreter since 3/19/2000 (first revision of gsfunc4.c). 9269(lib.mak [1.74]: 2002/04/19 00:53:19 lpd) 9270 9271Add the ijs device to the default unix-gcc build. (unix-gcc.mak [1.33]: 92722002/04/19 00:54:31 giles) 9273 9274Adds a make_scaled virtual procedure to Function objects, to create a 9275modified Function whose N output values are transformed linearly according 9276to a supplied set of N range parameters. This is the first installment for 9277implementing conversion of extended-range CIEBased color spaces to ICCBased 9278spaces in pdfwrite. (lib.mak [1.75]: 2002/04/19 01:17:53 lpd) 9279 9280Puts dpsand2.dev first in the dependencies of psl2.dev, so that (eventually) 9281geninit will have earlier access to the system name table for producing 9282output with binary token encodings. (int.mak [1.73]: 2002/04/19 19:22:14 9283lpd) 9284 9285Removes unused gdevht halftoning "device". Part of DeviceN task list. 9286(lib.mak [1.76]: 2002/04/22 23:01:47 raph) 9287 9288Update the url for the zlib website and source. Fixes SF Bug #550585. 9289(zlib.mak [1.7]: 2002/05/09 16:29:16 giles) 9290 9291Update dependencies for included header files. (lib.mak [1.79]: 2002/05/09 929221:55:52 giles) 9293 9294Simplifies the C implementation of the known Encodings, and makes it conform 9295better to Ghostscript standard coding style. (devs.mak [1.61], 9296lib.mak [1.81], toolbin/encs2c.ps [1.1]: 2002/05/14 23:33:18 lpd) 9297 9298Removes an extraneous makefile dependency. (lib.mak [1.82]: 2002/05/15 929919:07:32 lpd) 9300 9301Refactors the pdfwrite driver so that none of the structures, and very few 9302of the procedures, for handling text and fonts are visible to the main body 9303of code, in preparation for a major rewrite of the text and font code. 9304(devs.mak [1.62]: 2002/05/20 07:07:15 lpd) 9305 9306Adds logging support for the Ghostscript class and implements logging for 9307the nightly regression scripts. (toolbin/tests/gsconf.py [1.6], 9308toolbin/tests/gstestgs.py [1.10], toolbin/tests/run_nightly [1.5], 9309toolbin/tests/run_regression [1.5]: 2002/05/30 21:43:10 jack) 9310 9311gs_cjk project : bugfix for nested FMapType4/5 OCF. Fix by suzuki toshiya. 9312(ported from gs7.05) (lib.mak [1.83]: 2002/06/02 11:56:23 mpsuzuki) 9313 9314Implements raster baseline regression test for the pdfwrite device, and adds 9315new tools to manage the new pdfwrite baselines. 9316(toolbin/tests/gscheck_pdfwrite.py [1.3], toolbin/tests/gstestgs.py [1.11], 9317toolbin/tests/make_testdb [1.5], toolbin/tests/make_two_pdfversions [1.1], 9318toolbin/tests/revert_pdfbaseline [1.1], toolbin/tests/run_regression [1.6], 9319toolbin/tests/update_pdfbaseline [1.1]: 2002/06/05 05:23:06 jack) 9320 9321Added log file for baseline changes. update_* and revert_* all log baseline 9322changes with timestamps now. (toolbin/tests/gsconf.py [1.7], 9323toolbin/tests/revert_baseline [1.6], toolbin/tests/revert_pdfbaseline [1.2], 9324toolbin/tests/update_baseline [1.5], toolbin/tests/update_pdfbaseline [1.2]: 93252002/06/05 20:53:20 jack) 9326 9327Add separate paramsets for pdfwrite testing. 9328(toolbin/tests/gscheck_pdfwrite.py [1.4], 9329toolbin/tests/gsparamsets.py [1.4], toolbin/tests/make_testdb [1.6]: 93302002/06/05 20:58:04 jack) 9331 9332Cleans up a number of design problems in the font callback procedures: 1) 9333Eliminates the gx_xfont_callbacks structure entirely. The known_encode 9334procedure is no longer needed: the new facilities in gscencs.[hc] make it 9335unnecessary, and none of the three implementors of the xfont interface use 9336it. See below regarding glyph_name. This is a NON-BACKWARD- COMPATIBLE 9337change for all clients of the glyph_name and known_encode procedures (of 9338which there are, respectively, 11 and 0 in the current code base), and for 9339all places that define gs_font_procs structures statically or initialize the 9340callbacks dynamically (of which there are currently only two, one in 9341gsfont.c and one in zbfont.c). There are also 3 identical places in the 9342GhostPCL code (in plfont.c, plffont.c, and plufont.c) that will require very 9343minor changes, with a small net reduction in code. 2) Deletes the 9344char_xglyph2 procedure from gx_xfont_procs. It is optional, and none of the 9345three current xfont implementations implements it. 3) Changes the 9346char_xglyph procedure in gx_xfont_procs so that instead of a glyph_name 9347callback procedure, it takes a const gs_string * argument that is the actual 9348glyph name (if the glyph is not gs_no_glyph and is not a CID). This is a 9349NON-BACKWARD-COMPATIBLE change for both clients and implementors of xfonts. 9350(At present, there are 3 implementors, none of which use the glyph_name 9351callback, and a single client call in gxccache.c.) 4) Moves the glyph_name 9352procedure, which is still required for other purposes, to gs_font_procs, 9353changing its declaration to int (*glyph_name)(gs_font *font, gs_glyph glyph, 9354gs_const_string *pstr); This is a NON-BACKWARD-COMPATIBLE change for 9355clients, but they must already change because of item (1) above. 5) 9356Eliminates the registered_Encodings array in the PostScript interpreter, 9357substituting the C representation of the known Encodings. (int.mak [1.75], 9358lib.mak [1.84]: 2002/06/09 23:08:23 lpd) 9359 9360Moves the now-unused Pn macros to a separate file, which now can easily be 9361commented out and eventually removed. (lib.mak [1.85]: 2002/06/16 08:57:57 9362lpd) 9363 9364Adds support for incremental font copying, currently required only by the 9365new pdfwrite text code. (int.mak [1.81], lib.mak [1.87]: 2002/06/19 15:52:29 9366lpd) 9367 9368Committing in . Added option to chose between the use of VAX-floats 9369(default) and IEEE-floats Modified Files: gs/src/openvms.mmk 9370---------------------------------------------------------------------- 9371(openvms.mmk [1.17]: 2002/06/20 08:32:15 joukj) 9372 9373Committing in . OOps, I committed the wrong file just a minute ago Modified 9374Files: gs/src/openvms.mmk 9375---------------------------------------------------------------------- 9376(openvms.mmk [1.18]: 2002/06/20 08:39:08 joukj) 9377 9378Removes some obsolete references to Aladdin Enterprises from comments. 9379(contrib.mak [1.27], winint.mak [1.15]: 2002/06/21 05:07:06 lpd) 9380 9381Adds some omitted definitions in gxfcopy.h. (lib.mak [1.88]: 2002/06/21 938222:36:09 lpd) 9383 9384Add a 32 bit/pixel CMYK driver named pam using the Portable Arbitrary Map 9385file format, one of the netpbm family. This driver has problems with 9386anti-aliasing that will be fixed in a later patch. (devs.mak [1.64]: 93872002/06/22 03:44:40 ghostgum) 9388 9389Update for Borland 5.5 Compiler. Files changes include bcwin32.mak, 9390dwmainc.c, unistd_.h, bcc32.cfg and Make.htm. Patch by Rod Webster (rodw). 9391SF#559565 (bcc32.cfg [1.2], bcwin32.mak [1.19]: 2002/06/24 06:20:25 jeong) 9392 9393Adds a complete rewrite of the font and text code in pdfwrite, based on 9394copying fonts incrementally to stable memory rather than trying to deal with 9395fonts being freed at unpredictable times. Should fix a large number of 9396current SourceForge bugs when completed: however, the code is currently in 9397pre-alpha state and is not usable on any realistic input. The API is 9398compatible with the previous pdfwrite text code; the choice of which set to 9399use is controlled by a single, documented line in src/devs.mak. 9400(devs.mak [1.65]: 2002/06/25 01:51:32 lpd) 9401 9402Adds a couple of missing dependencies in the makefile. (devs.mak [1.66]: 94032002/06/26 19:55:56 lpd) 9404 9405News.htm update, version number and date fixups. First commit mandated by 9406Release.htm, in preparation for 7.21 release. (version.mak [1.47]: 94072002/07/08 20:09:54 raph) 9408 9409</pre><h2><a name="7.21-Utilities"></a>Utilities</h2><pre> 9410 9411Fixes problems: 9412 - Correctly embed the original EPS file in the output of ps2epsi on 9413Windows and OS/2. (lib/ps2epsi.bat [1.9], lib/ps2epsi.cmd [1.6]: 2002/04/25 941421:29:08 ghostgum) 9415 - Calculate more accurate BoundingBox and prevent invalidaccess by 9416using an 8-bit deep preview image. SF bug #525508. (lib/ps2epsi.ps [1.8]: 94172002/04/29 17:27:06 ray) 9418 - More compatibility to Adobe interpreters in 'eexec'. This is 9419NON-BACKWARD-COMPATIBLE change. Now eexec skips all whitespaces at the 9420beginning of input stream, except for PFBDecode output. Thanks to L. Peter 9421Deutsch for participation. Source Forge bug "[ 428891 ] Undefined commands 9422interpreting Postscri". (lib/rollconv.ps [1.4]: 2002/05/01 23:15:23 igor) 9423 - Fixing erroneous comments in font map files. 9424(lib/FAPIcidfmap [1.5], lib/FAPIfontmap [1.6], lib/cidfmap [1.5]: 2002/06/07 942520:21:16 igor) 9426 - Temporary files weren't being put in the proper location under 9427MacOS X/Carbon. Updates the the proper prameter block type for the Carbon 9428interface so this works properly on both OS 9/X. Patch from Erik Strik. 9429(gp_macio.c [1.7]: 2002/06/13 15:36:50 giles) 9430 9431Splits off the md5 test program into a separate file; removes support for 9432non-ANSI compilers; makes byte order test either static or dynamic. 9433(md5main.c [1.1]: 2002/04/13 19:20:28 lpd) 9434 9435Removes the name SystemNames as a name for the system name table. 9436(lib/wrfont.ps [1.5]: 2002/04/19 06:52:25 lpd) 9437 9438Use sed in preference to tail to avoid conflicts between posix and 9439traditional implementations. Patch from Paul Eggert. Closes SourceForge bug 9440#521597. (lib/unix-lpr.sh [1.4]: 2002/04/22 19:53:23 giles) 9441 9442Changes to the gtk+ client to request a suitable window size based on the 9443screen and image sizes, to reduce unnecessary redraws and erase the window 9444area outside the image. (dxmain.c [1.10]: 2002/04/26 05:01:18 ghostgum) 9445 9446gs_exit() cleanup. gs_exit() is renamed gs_to_exit() since it is an about to 9447terminate cleanup function, it always returns. Both gs_to_exit() and 9448gs_abort are client provided functions. The client can have its own special 9449cleanup on exit, and the client can decide what it wants to do in the abort 9450case: exit, setjump/longjump, ... gp_do_exit() is the way for the client to 9451call a system independent exit() this allows for different exit codes on 9452unix and vms for instance. Only the client can call this, if so desired from 9453their gs_abort(). (bench.c [1.7], gp_dvx.c [1.7], gp_iwatc.c [1.9], 9454gp_mac.c [1.6], gp_mswin.c [1.10], gp_os2.c [1.14], gp_os9.c [1.7], 9455gp_unix.c [1.8]: 2002/05/14 14:59:41 stefan) 9456 9457gs_cjk project : replace "min" & "max" by ".min" & ".max". by 9458mpsuzuki (ported from gs7.05) (lib/bdftops.ps [1.6], lib/font2pcl.ps [1.5], 9459lib/gslp.ps [1.5], lib/packfile.ps [1.5], lib/pdfopt.ps [1.14], 9460lib/prfont.ps [1.5], lib/ps2ascii.ps [1.7], lib/traceimg.ps [1.5], 9461lib/viewcmyk.ps [1.5], lib/viewpbm.ps [1.5], lib/viewpcx.ps [1.5]: 94622002/06/02 12:03:28 mpsuzuki) 9463 9464Removes all uses of the now-deprecated Pn macros from PostScript operator 9465files (src/z*.c). (ziodevs.c [1.8]: 2002/06/16 03:43:51 lpd) 9466 9467Removes all uses of the now-deprecated Pn macros from the echogs program. 9468(echogs.c [1.6]: 2002/06/16 03:52:32 lpd) 9469 9470Removes all uses of the now-deprecated Pn macros from the stream 9471implementation code. (scfdgen.c [1.5]: 2002/06/16 03:58:14 lpd) 9472 9473Removes all uses of the now-deprecated Pn macros from all remaining .c 9474files. (genconf.c [1.8], gendev.c [1.5], geninit.c [1.6], gp_dvx.c [1.8], 9475gp_iwatc.c [1.10], gp_mac.c [1.7], gp_msio.c [1.6], gp_mswin.c [1.11], 9476gp_os2.c [1.15], gp_os9.c [1.8], gp_unix.c [1.9], gp_vms.c [1.13], 9477gserver.c [1.7]: 2002/06/16 05:48:55 lpd) 9478 9479</pre><h2><a name="7.21-Drivers"></a>Drivers</h2><pre> 9480 9481Fixes problems: 9482 - Changes the operation of AutoFilter{Gray,Color}Images to always 9483use the lossless filter (normally FlateEncode), rather than using DCTEncode 9484for 8-bit-per-component images at least 64x64 in size. While this isn't 9485optimal, it fixes a long-standing problem that many users have complained 9486about. Fixes SourceForge #450663. (gdevpsdi.c [1.19]: 2002/04/08 21:21:21 9487lpd) 9488 - output of psmono and psgray drivers was scaled twice: using scale 9489operator and image matrix. This fix removes scaling component from the image 9490matrix. Fix by Alex Cherepanov for SF bug #482033. (gdevpsim.c [1.9]: 94912002/04/10 02:34:01 ray) 9492 - Initializes the green and blue components of cmap and their 9493multipliers. A floating point exception was occuring on static gray X 9494displays when these were left at 0. (gdevxcmp.c [1.7]: 2002/04/19 00:04:52 9495jack) 9496 - Laserjet familiy drivers make 2 bytes output when gs is closing. 9497Now they don't. Fixes SF Bug#427314. (gdevdjet.c [1.9]: 2002/04/19 15:06:54 9498jeong) 9499 - Top and bottom margins for BJ10e were incorrect. Now works 9500corretly as BJ10 manual describes. Fix by Jim Hague (bears). Fixes 9501SF#477644. (gdevbj10.c [1.7]: 2002/05/08 05:55:26 jeong) 9502 - Adds "wake up" sequence code to be sent before printing for newer 9503USB Epson Stylus printers. Thanks to Chris Bagwell for the patch. Fixes 9504SF#448199 (lib/st640ih.upp [1.2], lib/st640ihg.upp [1.2], 9505lib/st640p.upp [1.2], lib/st640pg.upp [1.2], lib/st640pl.upp [1.2], 9506lib/st640plg.upp [1.2], lib/stc.upp [1.3], lib/stc1520h.upp [1.3], 9507lib/stc2.upp [1.3], lib/stc200_h.upp [1.2], lib/stc2_h.upp [1.3], 9508lib/stc2s_h.upp [1.3], lib/stc300.upp [1.2], lib/stc300bl.upp [1.2], 9509lib/stc300bm.upp [1.2], lib/stc500p.upp [1.3], lib/stc500ph.upp [1.3], 9510lib/stc600ih.upp [1.3], lib/stc600p.upp [1.3], lib/stc600pl.upp [1.3], 9511lib/stc640p.upp [1.2], lib/stc800ih.upp [1.3], lib/stc800p.upp [1.3], 9512lib/stc800pl.upp [1.3], lib/stc_h.upp [1.3], lib/stc_l.upp [1.3], 9513lib/stcany.upp [1.3], lib/stcany_h.upp [1.2]: 2002/05/08 06:26:56 jeong) 9514 - Fix to process documents which have multiple pages and require 9515differing media sizes. Thanks to Doug Durning for the patch. Fixes 9516SF#551993. (gdevdljm.c [1.7]: 2002/05/08 08:43:35 jeong) 9517 - Fixing uninitialized pointers in psdf_binary_writer on VMerror. 9518(gdevpsdu.c [1.15]: 2002/05/16 08:50:52 igor) 9519 - Fix : removing unuseful code from the image stream writer in 9520pdfwrite. (gdevpsdf.h [1.12], gdevpsdu.c [1.16]: 2002/05/21 20:07:11 igor) 9521 - The pswrite now does not open and close the device for a page's 9522output and does not set 'is_open = false'. SourceForge bug #551623. 9523(gdevps.c [1.25]: 2002/05/30 03:21:53 jeong) 9524 - Fixes minor compilation errors introduced by the recent image 9525compression chooser code. (gdevpsds.h [1.8]: 2002/06/14 06:35:08 lpd) 9526 - An incorrect subscript computation, and an incorrect choice of 9527allocator, in the image compression chooser code caused SEGVs. Fixes 14 of 9528the 21 ERRORs in the 2002-06-13 pdfwrite regression report. 9529(gdevpsds.c [1.8]: 2002/06/14 07:48:59 lpd) 9530 - Implementing pdfmark stream compression. Source forge bug "[ 9531558476 ] file attachment annotation uncompressed". (gdevpsdf.h [1.16], 9532gdevpsds.c [1.9]: 2002/06/16 22:07:55 igor) 9533 - LockDistillerParams locked device parameters besides Distiller 9534parameters. Source forge bug "[ 567464 ] LockDistillerParams locks page 9535size". (gdevpsdp.c [1.12]: 2002/06/18 18:28:33 igor) 9536 - Correct the display device color mapping functions that were 9537wrong. Change 4-bit mapping functions to standard VGA. Correct 16-bit native 9538RGB and 32-bit xRGB mapping functions. Add RGB to color mapping functions 9539for CMYK formats, needed by anti-aliasing. (gdevdsp.c [1.11]: 2002/06/21 954022:30:09 ghostgum) 9541 - The GC descriptors for psdf_binary_writer and pdf_image_writer 9542weren't updated when the image compression chooser was added, leading to 9543occasional memory access crashes. (gdevpsdf.h [1.17]: 2002/06/27 04:03:03 9544lpd) 9545 9546gs_exit() cleanup. gs_exit() is renamed gs_to_exit() since it is an about to 9547terminate cleanup function, it always returns. Both gs_to_exit() and 9548gs_abort are client provided functions. The client can have its own special 9549cleanup on exit, and the client can decide what it wants to do in the abort 9550case: exit, setjump/longjump, ... gp_do_exit() is the way for the client to 9551call a system independent exit() this allows for different exit codes on 9552unix and vms for instance. Only the client can call this, if so desired from 9553their gs_abort(). (gdevpm.c [1.7]: 2002/05/14 14:59:41 stefan) 9554 9555> Fix: The epswrite did not generate correct bounding box when > the 9556left or top coord of the bbox for original file is greater than 0. > Now 9557works correctly. SF#547768, #448241. (gdevps.c [1.26]: 2002/05/30 03:23:12 9558jeong) 9559 9560Implementing dynamic choice of image compression filter. Source forge bug "[ 9561552949 ] pdfwrite produces bigger pdf than adobe". (gdevpsdf.h [1.13], 9562gdevpsdi.c [1.20], gdevpsds.c [1.7], gdevpsds.h [1.7]: 2002/06/09 22:13:09 9563igor) 9564 9565Cleans up a number of design problems in the font callback procedures: 1) 9566Eliminates the gx_xfont_callbacks structure entirely. The known_encode 9567procedure is no longer needed: the new facilities in gscencs.[hc] make it 9568unnecessary, and none of the three implementors of the xfont interface use 9569it. See below regarding glyph_name. This is a NON-BACKWARD- COMPATIBLE 9570change for all clients of the glyph_name and known_encode procedures (of 9571which there are, respectively, 11 and 0 in the current code base), and for 9572all places that define gs_font_procs structures statically or initialize the 9573callbacks dynamically (of which there are currently only two, one in 9574gsfont.c and one in zbfont.c). There are also 3 identical places in the 9575GhostPCL code (in plfont.c, plffont.c, and plufont.c) that will require very 9576minor changes, with a small net reduction in code. 2) Deletes the 9577char_xglyph2 procedure from gx_xfont_procs. It is optional, and none of the 9578three current xfont implementations implements it. 3) Changes the 9579char_xglyph procedure in gx_xfont_procs so that instead of a glyph_name 9580callback procedure, it takes a const gs_string * argument that is the actual 9581glyph name (if the glyph is not gs_no_glyph and is not a CID). This is a 9582NON-BACKWARD-COMPATIBLE change for both clients and implementors of xfonts. 9583(At present, there are 3 implementors, none of which use the glyph_name 9584callback, and a single client call in gxccache.c.) 4) Moves the glyph_name 9585procedure, which is still required for other purposes, to gs_font_procs, 9586changing its declaration to int (*glyph_name)(gs_font *font, gs_glyph glyph, 9587gs_const_string *pstr); This is a NON-BACKWARD-COMPATIBLE change for 9588clients, but they must already change because of item (1) above. 5) 9589Eliminates the registered_Encodings array in the PostScript interpreter, 9590substituting the C representation of the known Encodings. 9591(gdevmacxf.c [1.6], gdevmsxf.c [1.5], gdevxxf.c [1.8]: 2002/06/09 23:08:22 9592lpd) 9593 9594Corrects a spelling error ("samile" => "sample"), and changes the name of 9595pdf_setup_compression_chooser to psdf_... because the procedure can 9596eventually be shared between pdfwrite and pswrite. (gdevpsdf.h [1.14], 9597gdevpsdi.c [1.21]: 2002/06/14 06:03:08 lpd) 9598 9599Removes all uses of the now-deprecated Pn macros from all remaining .c 9600files. (gdev8510.c [1.6], gdevbmpa.c [1.6], gdevcdj.c [1.10], 9601gdevcgml.c [1.5], gdevdjtc.c [1.6], gdevdm24.c [1.6], gdevepsc.c [1.6], 9602gdevepsn.c [1.6], gdevherc.c [1.5], gdevhl7x.c [1.9], gdevifno.c [1.5], 9603gdevmgr.c [1.5], gdevmswn.c [1.7], gdevmsxf.c [1.6], gdevokii.c [1.6], 9604gdevpbm.c [1.6], gdevpcfb.c [1.5], gdevpcx.c [1.5], gdevpjet.c [1.6], 9605gdevps.c [1.27], gdevpsim.c [1.10], gdevs3ga.c [1.5], gdevsco.c [1.6], 9606gdevstc.c [1.5], gdevsvga.c [1.5], gdevtfax.c [1.7], gdevupd.c [1.8], 9607gdevwddb.c [1.6], gdevwprn.c [1.6], gdevx.c [1.13], gdevxalt.c [1.7], 9608gdevxini.c [1.13]: 2002/06/16 05:48:54 lpd) 9609 9610Removes all uses of the now-deprecated Pn macros from driver-related headers 9611(gdev*.h). (gdev8bcm.h [1.5], gdevbjcl.h [1.6], gdevbmp.h [1.5], 9612gdevcgml.h [1.5], gdevdcrd.h [1.5], gdevdljm.h [1.7], gdevfax.h [1.5], 9613gdevmeds.h [1.5], gdevmswn.h [1.5], gdevpccm.h [1.6], gdevpcfb.h [1.5], 9614gdevpcl.h [1.8], gdevpsdf.h [1.15], gdevpsds.h [1.9], gdevpsu.h [1.7], 9615gdevpxut.h [1.5], gdevstc.h [1.5], gdevsvga.h [1.5], gdevtfax.h [1.7], 9616gdevtifs.h [1.6], gdevx.h [1.7]: 2002/06/16 07:25:26 lpd) 9617 9618To improve clarity, use hexadecimal for -dDisplayFormat=16#XXXXXX in the 9619display device example code. (gdevdsp.c [1.10]: 2002/06/19 11:35:06 9620ghostgum) 9621 9622Add a 32 bit/pixel CMYK driver named pam using the Portable Arbitrary Map 9623file format, one of the netpbm family. This driver has problems with 9624anti-aliasing that will be fixed in a later patch. (gdevpbm.c [1.7]: 96252002/06/22 03:44:40 ghostgum) 9626 9627</pre><h2><a name="7.21-PDF_writer"></a>PDF writer</h2><pre> 9628 9629Fixes problems: 9630 - Fix : pdfwrite wrongly computed text width for fonts with unusual 9631font matrix. Source Forge bug "[ 535401 ] euro glyph misplaced after 9632pdfwrite". (gdevpdff.c [1.27], gdevpdfs.c [1.14]: 2002/04/11 15:59:19 igor) 9633 - pdfwrite only updated the overprint flag in the graphics state for 9634fill and stroke, not for images. Fixes SourceForge #525712. 9635(gdevpdfg.c [1.18]: 2002/04/12 19:28:15 lpd) 9636 - Adding any of the base 14 fonts to the NeverEmbed list produced 9637broken output in PDF level 1.3 and above. Makes the 'default', 'screen', and 9638'ebook' parameter sets not embed the base 14 fonts. (The documentation 9639already said this was the case, even though it wasn't.) This is a partial 9640fix for SourceForge bug #438957. (gdevpdff.c [1.28]: 2002/04/12 19:38:33 9641lpd) 9642 - If a shading's Function entry was an array of functions rather 9643than a single function, pdfwrite wrote out an invalid Function object with a 9644FunctionType of -1. (gdevpdfu.c [1.23]: 2002/04/14 06:51:45 lpd) 9645 - pdfwrite would incorrectly output CalGray or CalRGB color spaces 9646even if the range of the color space was not [0 1] or [0 1 0 1 0 1] 9647respectively. (gdevpdfc.c [1.24]: 2002/04/14 07:09:51 lpd) 9648 - Fix : pdfwrite wrongly computed line width for fonts with 9649PaintType 2. (gdevpdfs.c [1.15]: 2002/04/16 10:18:59 igor) 9650 - When pdfwrite wrote out a fill with an uncolored (mask) Pattern, 9651all colors other than black were converted to white. (Bug found during 9652unrelated pdfwrite development.) (gdevpdfb.c [1.10]: 2002/04/29 04:32:32 9653lpd) 9654 - pdfwrite could not convert a CIEBased color space with input 9655domains larger than [0..1] to an ICCBased space, because the ICC profile 9656specification inherently limits inputs to this range. The fix required 9657explicitly rescaling the decoding of the color data in many different places 9658when such a color space was involved: the Decode arrays in images; the 9659tintTransform functions for Separation and DeviceN color spaces; the 9660Background, Function, and Decode for shadings. While this was only a 9661performance problem, it could be a very severe one, because it caused images 9662using such extended-domain CIEBased spaces to revert to zillions of tiny 9663rectangles. This change completes the ability of pdfwrite to convert 9664PostScript color spaces, aside from DeviceN and Separation spaces which are 9665the subject of a separate project. (gdevpdfb.c [1.11], gdevpdfc.c [1.26], 9666gdevpdfc.h [1.4], gdevpdfg.h [1.12], gdevpdfi.c [1.30], gdevpdfk.c [1.4], 9667gdevpdfu.c [1.24], gdevpdfv.c [1.13], gdevpdfx.h [1.40]: 2002/05/07 19:56:46 9668lpd) 9669 - If a Type 1 font had an initial FontMatrix other than [0.001 0 0 96700.001 0 0] and also had a Metrics entry, pdfwrite would produce incorrect 9671character spacing. Fixes SourceForge #551077. (Similar to SourceForge 9672#535401.) (gdevpdfs.c [1.16]: 2002/05/09 06:28:27 lpd) 9673 - pdfwrite relied on the PostScript interpreter to load and make 9674available the known encodings and glyph sets identified in src/gsccode.h. 9675With this change, pdfwrite can now be used without a PostScript interpreter, 9676and with fonts that do not implement the known_encode callback. 9677(gdevpdfs.c [1.17]: 2002/05/12 22:38:08 lpd) 9678 - Fixes a typo in the comment before pdf_do_subset_font. 9679(gdevpdfe.c [1.16]: 2002/05/17 16:15:54 lpd) 9680 - Fix : improving image stream writer in pdfwrite. 9681(gdevpdfi.c [1.31], gdevpdfj.c [1.11]: 2002/05/19 22:37:38 igor) 9682 - completing "remove dependency of pdfwrite on PS" 9683(gdevpdfs.c [1.18]: 2002/05/20 06:33:36 igor) 9684 - Fix : removing unuseful code from the image stream writer in 9685pdfwrite. (gdevpdfj.c [1.12]: 2002/05/21 20:07:11 igor) 9686 - Prevent call to pdfmark_make_dest when no /Page or /View is given, 9687so to avoid creating pdf_page_id()'s for invalid page numbers. Fixes SF 9688#548285. (gdevpdfm.c [1.19]: 2002/05/22 05:02:54 raph) 9689 - The recent (2002/05/19 22:37:38) change broke in-line images -- 9690they were now written with no data between the ID and the EI. Reverts the 9691two affected files (gdevpdf[ij].c) to their previous state. 9692(gdevpdfi.c [1.32], gdevpdfj.c [1.13]: 2002/05/28 06:13:29 lpd) 9693 - Fix : ignoring small noise while checking for identity color 9694transfer map. A partial fix for Source forge bug "[ 552949 ] pdfwrite 9695produces bigger pdf than adobe". (gdevpdfg.c [1.21]: 2002/06/03 16:18:34 9696igor) 9697 - Fixing a type cast in gdevpdfv.c . (gdevpdfv.c [1.16]: 2002/06/12 969820:04:42 igor) 9699 - Fixes minor compilation errors introduced by the recent image 9700compression chooser code. (gdevpdfi.c [1.37], gdevpdfj.c [1.17]: 2002/06/14 970106:35:08 lpd) 9702 - An incorrect subscript computation, and an incorrect choice of 9703allocator, in the image compression chooser code caused SEGVs. Fixes 14 of 9704the 21 ERRORs in the 2002-06-13 pdfwrite regression report. 9705(gdevpdfj.c [1.18]: 2002/06/14 07:48:59 lpd) 9706 - pdfwrite produced incorrect output for ShadingType 6 and 7 9707shadings if the coordinate and color data came from an array rather than a 9708stream or string. Partially fixes pdfwrite regressions 446-01.ps and 9709483-05.ps. (gdevpdfv.c [1.17]: 2002/06/14 15:47:20 lpd) 9710 - If a Shading used a color space other than the 3 basic Device 9711spaces, its ColorSpace reference could be corrupted, because the ColorSpace 9712object might be freed before the Shading was written. Finishes fixing 9713pdfwrite regressions 446-01.ps and 483-05.ps. (gdevpdf.c [1.47], 9714gdevpdfu.c [1.27], gdevpdfx.h [1.44]: 2002/06/14 15:51:55 lpd) 9715 - pdfwrite accepted imagemasks with invalid parameters, producing 9716invalid PDF output. Fixes the pdfwrite regression ERROR for 269-01.ps. 9717(gdevpdfi.c [1.38]: 2002/06/14 16:03:21 lpd) 9718 - In pdfwrite, an error in reading an ICCBased profile stream could 9719cause an attempt to free an object twice; ICCBased color spaces always 9720caused an error. Fixes pdfwrite regression ERROR in Fixed_Original.pdf. 9721(gdevpdfk.c [1.5]: 2002/06/14 16:29:26 lpd) 9722 - pdfwrite ignored the return status from sgets when reading ICC 9723profiles and shading data. (gdevpdfk.c [1.6], gdevpdfo.c [1.17], 9724gdevpdfo.h [1.13], gdevpdfv.c [1.18]: 2002/06/15 17:31:19 lpd) 9725 - Implementing pdfmark stream compression. Source forge bug "[ 9726558476 ] file attachment annotation uncompressed". (gdevpdfm.c [1.25], 9727gdevpdfo.c [1.18], gdevpdfo.h [1.15]: 2002/06/16 22:07:55 igor) 9728 - psf_write_truetype_font and psf_write_cid2_font copied hmtx and 9729vmtx rather than getting the actual metrics through the font virtual 9730procedures, which produced incorrect output if the font was defined 9731incrementally and used MetricsCount. (This only affected pdfwrite.) 9732(gdevpdfe.c [1.17]: 2002/06/18 00:31:20 lpd) 9733 - LockDistillerParams locked device parameters besides Distiller 9734parameters. Source forge bug "[ 567464 ] LockDistillerParams locks page 9735size". (gdevpdfp.c [1.27]: 2002/06/18 18:28:33 igor) 9736 - Update pdf_image_writer::data in pdf_choose_compression. 9737(gdevpdfj.c [1.19]: 2002/06/19 15:37:22 igor) 9738 - (pdfwrite) Force completion of incomplete images encoded with DCT. 9739Source Forge bug "[ 508675 ] ps2pdf generates broken pdf" 9740(gdevpdfg.h [1.16], gdevpdfi.c [1.39], gdevpdfj.c [1.20]: 2002/06/22 974117:19:48 igor) 9742 - Fixes various bugs in the still pre-alpha new pdfwrite text code. 9743(gdevpdtf.c [1.2], gdevpdts.c [1.2], gdevpdts.h [1.2]: 2002/06/25 08:18:37 9744lpd) 9745 - The new pdfwrite text code didn't keep track of which CIDs were 9746used for CIDFonts. After this fix, the new code processes the 9747HeiseiMinStd.pdf file from the regression suite correctly. 9748(gdevpdtc.c [1.2]: 2002/06/25 17:32:08 lpd) 9749 - Fixes more bugs in the new pdfwrite text code. Type 3 bitmap fonts 9750now appear to work correctly. (gdevpdtf.c [1.3], gdevpdti.c [1.2], 9751gdevpdts.c [1.3], gdevpdtw.c [1.2]: 2002/06/25 21:17:42 lpd) 9752 - The new pdfwrite text code sometimes didn't write font changes 9753correctly. The new code now has processed a substantial file correctly, 9754although all non-CID-based fonts are converted to bitmaps. 9755(gdevpdts.c [1.4]: 2002/06/26 00:57:30 lpd) 9756 - The GC descriptors for psdf_binary_writer and pdf_image_writer 9757weren't updated when the image compression chooser was added, leading to 9758occasional memory access crashes. (gdevpdfg.h [1.17], gdevpdfj.c [1.21]: 97592002/06/27 04:03:03 lpd) 9760 - Fixes more bugs in the new pdfwrite text code. This code can now 9761process the entire regression suite with no crashes. (The output has many 9762problems, but pdfwrite itself does not crash.) (gdevpdtc.c [1.4], 9763gdevpdte.c [1.3], gdevpdtf.c [1.5], gdevpdts.c [1.6], gdevpdtt.h [1.3]: 97642002/06/27 04:19:57 lpd) 9765 - Fixes bugs and adds further logic to the new pdfwrite text code. 9766The code now recognizes and correctly handles the standard 14 fonts (at 9767least some of the time) as well as all other supported font types. 9768(gdevpdtb.c [1.3], gdevpdtb.h [1.2], gdevpdtd.c [1.3], gdevpdtd.h [1.2], 9769gdevpdte.c [1.4], gdevpdtf.c [1.6], gdevpdtf.h [1.2], gdevpdtt.c [1.3]: 97702002/06/27 17:53:53 lpd) 9771 - (pdfwrite) Completely replacing the Rotation computation logics. 9772Source Forge bug "[ 475147 ] GS 7.03 produces everthing upsidedown" 9773(gdevpdf.c [1.49]: 2002/06/28 10:42:18 igor) 9774 - An extra "&" in the recent page rotation change caused a SEGV. 9775(gdevpdf.c [1.50]: 2002/06/28 14:36:04 lpd) 9776 - Fixes further bugs in new pdfwrite text code, primarily relating 9777to character spacing. Many bugs still remain. (gdevpdtb.c [1.4], 9778gdevpdtc.c [1.5], gdevpdte.c [1.6], gdevpdti.c [1.3], gdevpdts.c [1.8], 9779gdevpdts.h [1.4], gdevpdtt.c [1.5]: 2002/06/28 22:36:19 lpd) 9780 9781Changes gs_cmap_t (internal representation of CMaps) to an abstract 9782superclass with multiple implementations: standard Adobe CMapType 1, 9783TrueType 16-bit cmap (Platform 3, Encoding 1, Format 4), and one-for-one. 9784Adds the ability to designate a CMap as Unicode-based. Enhances pdfwrite so 9785that composite fonts (including those based on TrueType Unicode fonts) with 9786Unicode-based CMaps are embedded in the PDF file with the original text 9787preserved and with an appropriate ToUnicode CMap, making the text searchable 9788in Acrobat. (gdevpdf.c [1.44], gdevpdff.h [1.17], gdevpdfs.c [1.13], 9789gdevpdfw.c [1.16], gdevpdfx.h [1.39]: 2002/04/08 21:02:44 lpd) 9790 9791Restores some performance lost as a result of the fix for SourceForge 9792#495414, by skipping a request for glyph widths which is redundant if the 9793font doesn't have Metrics or CDevProc. Addresses SourceForge #451456 (a 9794general request for better pdfwrite performance), which will be closed after 9795this change. (gdevpdff.c [1.26]: 2002/04/09 23:31:44 lpd) 9796 9797Changes two calls of cos_dict_find to cos_dict_find_c_key (hygiene only). 9798(gdevpdfm.c [1.17]: 2002/04/11 04:12:17 lpd) 9799 9800Removes all tests for pdfwrite CompatibilityLevel < 1.2, since these are 9801always false: the lowest supported PDF output level has been 1.2 for quite a 9802long time. (gdevpdfb.c [1.9], gdevpdfe.c [1.15], gdevpdfg.c [1.19], 9803gdevpdfi.c [1.29], gdevpdfm.c [1.18], gdevpdfu.c [1.22], gdevpdfw.c [1.17]: 98042002/04/12 19:34:15 lpd) 9805 9806Changes variables named 'unit' to 'unitary' for better readability. 9807(gdevpdfc.c [1.25]: 2002/04/15 15:17:06 lpd) 9808 9809Changes a temporary buffer, formerly unnecessarily declared static, to being 9810allocated on the stack. (gdevpdfg.c [1.20]: 2002/04/19 06:53:49 lpd) 9811 9812Refactors the pdfwrite driver so that none of the structures, and very few 9813of the procedures, for handling text and fonts are visible to the main body 9814of code, in preparation for a major rewrite of the text and font code. 9815(gdevpdf.c [1.45], gdevpdfb.c [1.12], gdevpdfd.c [1.19], gdevpdff.c [1.29], 9816gdevpdff.h [1.18], gdevpdfs.c [1.19], gdevpdft.c [1.40], gdevpdft.h [1.1], 9817gdevpdfu.c [1.25], gdevpdfw.c [1.18], gdevpdfx.h [1.41]: 2002/05/20 07:07:15 9818lpd) 9819 9820Adds a return code to two internal procedures previously declared as not 9821returning a value. (gdevpdft.c [1.41], gdevpdfu.c [1.26], gdevpdfx.h [1.42]: 98222002/05/26 04:58:28 lpd) 9823 9824Adding 2 new functions to public interface of Cos objects. A preparation for 9825Source forge bug "[ 552949 ] pdfwrite produces bigger pdf than adobe". 9826(gdevpdfo.c [1.13], gdevpdfo.h [1.10]: 2002/06/03 16:20:10 igor) 9827 9828Changing PDF image writer with writing all images through cos_write_stream. 9829Another preparation for Source forge bug "[ 552949 ] pdfwrite produces 9830bigger pdf than adobe". (gdevpdfb.c [1.13], gdevpdfi.c [1.33], 9831gdevpdfj.c [1.14], gdevpdfo.c [1.14], gdevpdfo.h [1.11], gdevpdfv.c [1.14]: 98322002/06/06 10:36:12 igor) 9833 9834Implementing dynamic choice of image compression filter. Source forge bug "[ 9835552949 ] pdfwrite produces bigger pdf than adobe". (gdevpdfb.c [1.14], 9836gdevpdfg.h [1.13], gdevpdfi.c [1.34], gdevpdfj.c [1.15], gdevpdfv.c [1.15]: 98372002/06/09 22:13:08 igor) 9838 9839Cleans up a number of design problems in the font callback procedures: 1) 9840Eliminates the gx_xfont_callbacks structure entirely. The known_encode 9841procedure is no longer needed: the new facilities in gscencs.[hc] make it 9842unnecessary, and none of the three implementors of the xfont interface use 9843it. See below regarding glyph_name. This is a NON-BACKWARD- COMPATIBLE 9844change for all clients of the glyph_name and known_encode procedures (of 9845which there are, respectively, 11 and 0 in the current code base), and for 9846all places that define gs_font_procs structures statically or initialize the 9847callbacks dynamically (of which there are currently only two, one in 9848gsfont.c and one in zbfont.c). There are also 3 identical places in the 9849GhostPCL code (in plfont.c, plffont.c, and plufont.c) that will require very 9850minor changes, with a small net reduction in code. 2) Deletes the 9851char_xglyph2 procedure from gx_xfont_procs. It is optional, and none of the 9852three current xfont implementations implements it. 3) Changes the 9853char_xglyph procedure in gx_xfont_procs so that instead of a glyph_name 9854callback procedure, it takes a const gs_string * argument that is the actual 9855glyph name (if the glyph is not gs_no_glyph and is not a CID). This is a 9856NON-BACKWARD-COMPATIBLE change for both clients and implementors of xfonts. 9857(At present, there are 3 implementors, none of which use the glyph_name 9858callback, and a single client call in gxccache.c.) 4) Moves the glyph_name 9859procedure, which is still required for other purposes, to gs_font_procs, 9860changing its declaration to int (*glyph_name)(gs_font *font, gs_glyph glyph, 9861gs_const_string *pstr); This is a NON-BACKWARD-COMPATIBLE change for 9862clients, but they must already change because of item (1) above. 5) 9863Eliminates the registered_Encodings array in the PostScript interpreter, 9864substituting the C representation of the known Encodings. 9865(gdevpdff.c [1.30], gdevpdfs.c [1.20], gdevpdfw.c [1.19]: 2002/06/09 986623:08:22 lpd) 9867 9868Corrects a typo in the RCS Id line. (gdevpdft.h [1.2]: 2002/06/12 18:09:18 9869lpd) 9870 9871Adds stubs for the new PDF 1.4 pdfmark types, and clearly marks all 9872unimplemented pdfmark types as such. (gdevpdfm.c [1.20]: 2002/06/12 23:26:54 9873lpd) 9874 9875Implements the /APPEND pdfmark. (gdevpdfm.c [1.21]: 2002/06/12 23:42:30 lpd) 9876 9877Workaround for unimplemented NI, to avoid later typechecks on .PUTDICT. This 9878patch adds the dictionary cos object, but does not push it in a namespace to 9879be popped on occurrence of an image, as defined in section 6.2 of the 9880pdfmark reference (TN 5150). Allows test file of SourceForge bug #567653 to 9881run to completion. (gdevpdfm.c [1.22]: 2002/06/13 00:17:53 raph) 9882 9883Adds two new procedures to pdfwrite's Cos object package, to support 9884namespaces and /NI pdfmark. (gdevpdfo.c [1.15], gdevpdfo.h [1.12]: 98852002/06/13 20:40:30 lpd) 9886 9887Implements namespaces (/NamespacePush, /NamespacePop pdfmarks) and the /NI 9888pdfmark for named images. Fixes SourceForge #567653, replacing the 9889workaround in revision 1.22 of src/gdevpdfm.c. (gdevpdf.c [1.46], 9890gdevpdfg.h [1.14], gdevpdfi.c [1.35], gdevpdfj.c [1.16], gdevpdfm.c [1.23], 9891gdevpdfr.c [1.8], gdevpdfx.h [1.43]: 2002/06/14 05:53:38 lpd) 9892 9893Corrects a spelling error ("samile" => "sample"), and changes the name of 9894pdf_setup_compression_chooser to psdf_... because the procedure can 9895eventually be shared between pdfwrite and pswrite. (gdevpdfi.c [1.36]: 98962002/06/14 06:03:08 lpd) 9897 9898Improves the comment for cos_dict_unadd. (gdevpdfo.c [1.16]: 2002/06/15 989916:58:51 lpd) 9900 9901Improves a few comments, and changes pdf_write_font_resources to 9902pdf_close_text_document for greater clarity. (gdevpdf.c [1.48], 9903gdevpdfb.c [1.15], gdevpdff.h [1.19], gdevpdfm.c [1.24], gdevpdfs.c [1.21], 9904gdevpdfu.c [1.28], gdevpdfw.c [1.20], gdevpdfx.h [1.45]: 2002/06/15 21:11:53 9905lpd) 9906 9907Removes all uses of the now-deprecated Pn macros from all remaining .c 9908files. (gdevpdfb.c [1.16], gdevpdfg.c [1.22], gdevpdfp.c [1.26], 9909gdevpdfs.c [1.22], gdevpdft.c [1.42], gdevpdfu.c [1.29]: 2002/06/16 05:48:55 9910lpd) 9911 9912Removes all uses of the now-deprecated Pn macros from driver-related headers 9913(gdev*.h). (gdevpdff.h [1.20], gdevpdfg.h [1.15], gdevpdfo.h [1.14], 9914gdevpdfx.h [1.46]: 2002/06/16 07:25:26 lpd) 9915 9916Makes pdf_write_font_bbox public, for use by the new pdfwrite text code. 9917(gdevpdfu.c [1.30], gdevpdfw.c [1.21], gdevpdfx.h [1.47]: 2002/06/21 991822:41:16 lpd) 9919 9920Corrects an error in the computation of the (unused) value 9921st_device_pdf_max_ptrs. (gdevpdfx.h [1.48]: 2002/06/24 00:49:35 lpd) 9922 9923Changes the internal name st_pdf_font to st_pdf_font_resource for 9924compatibility with the new text code. (gdevpdff.h [1.21], gdevpdfu.c [1.31], 9925gdevpdfx.h [1.49]: 2002/06/24 05:35:59 lpd) 9926 9927Adds a complete rewrite of the font and text code in pdfwrite, based on 9928copying fonts incrementally to stable memory rather than trying to deal with 9929fonts being freed at unpredictable times. Should fix a large number of 9930current SourceForge bugs when completed: however, the code is currently in 9931pre-alpha state and is not usable on any realistic input. The API is 9932compatible with the previous pdfwrite text code; the choice of which set to 9933use is controlled by a single, documented line in src/devs.mak. 9934(gdevpdt.c [1.1], gdevpdt.h [1.1], gdevpdtb.c [1.1], gdevpdtb.h [1.1], 9935gdevpdtc.c [1.1], gdevpdtd.c [1.1], gdevpdtd.h [1.1], gdevpdte.c [1.1], 9936gdevpdtf.c [1.1], gdevpdtf.h [1.1], gdevpdti.c [1.1], gdevpdti.h [1.1], 9937gdevpdts.c [1.1], gdevpdts.h [1.1], gdevpdtt.c [1.1], gdevpdtt.h [1.1], 9938gdevpdtw.c [1.1], gdevpdtw.h [1.1], gdevpdtx.h [1.1]: 2002/06/25 01:51:32 9939lpd) 9940 9941In the new pdfwrite text code, fixes bugs and adds new logic for handling 9942encoded (Type 1/2 and TrueType) fonts. The code now handles simple fonts of 9943these types. (gdevpdtb.c [1.2], gdevpdtc.c [1.3], gdevpdtd.c [1.2], 9944gdevpdte.c [1.2], gdevpdtf.c [1.4], gdevpdts.c [1.5], gdevpdts.h [1.3], 9945gdevpdtt.c [1.2], gdevpdtt.h [1.2], gdevpdtw.c [1.3]: 2002/06/26 19:03:00 9946lpd) 9947 9948Further improves the new pdfwrite text code. The new code now demonstrably 9949fixes several of the outstanding SourceForge bugs. (gdevpdte.c [1.5], 9950gdevpdtf.c [1.7], gdevpdtf.h [1.3], gdevpdts.c [1.7], gdevpdtt.c [1.4], 9951gdevpdtw.c [1.4]: 2002/06/28 01:48:41 lpd) 9952 9953Committing in . Corrected type cast Modified Files: gs/src/gdevpdtf.c 9954---------------------------------------------------------------------- 9955(gdevpdtf.c [1.8]: 2002/07/03 13:58:14 joukj) 9956 9957</pre><h2><a name="7.21-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 9958 9959Fixes problems: 9960 - Remove "/tfopdict undef". tfopdict was defined in v.6.01 but the 9961definition was since removed. Fix for bug #511232 by Alex Cherepanov. 9962(lib/pdf_draw.ps [1.44]: 2002/04/10 02:23:08 ray) 9963 - Handle Widths and Encoding arrays in PDF Font objects that are too 9964small by using reasonable defaults. Adobe Acrobat Reader handles files with 9965these problems. Fix for Artifex customer 861 for SourceForge bug#538398. 9966(lib/pdf_font.ps [1.32]: 2002/04/10 15:16:00 ray) 9967 - Annotations with empty AP dictionary caused a failure. Providing 9968more tolerance rather such APs are invalid. Source Forge bug "[ 538428 ] 9969empty appearance streams". (lib/pdf_draw.ps [1.45]: 2002/04/29 09:59:27 9970igor) 9971 - More tolerance to inconsistent stream length in PDF reader. Source 9972Forge bug "[ 538042 ] /syntaxerror in --token--". (lib/pdf_base.ps [1.21]: 99732002/04/30 10:46:20 igor) 9974 - More compatibility to Adobe interpreters in 'eexec'. This is 9975NON-BACKWARD-COMPATIBLE change. Now eexec skips all whitespaces at the 9976beginning of input stream, except for PFBDecode output. Thanks to L. Peter 9977Deutsch for participation. Source Forge bug "[ 428891 ] Undefined commands 9978interpreting Postscri". (lib/pdf_font.ps [1.33]: 2002/05/01 23:15:23 igor) 9979 - Make PDF reader tolerant to singular matrix in Tj. Source Forge 9980bug "[ 538055 ] /undefinedresult in --currentpoint--". (The solution was 9981suggested by L. Peter Deutsch.) (lib/pdf_ops.ps [1.24]: 2002/05/08 15:51:58 9982igor) 9983 - Acrobat Reader apparently ignores or clamps 'setflat' parameter 9984values when rendering PDF. This change emulates that behaviour by clamping 9985the flatness parameter to a max of 1. Fixes SourceForge bug #555657 for 9986Artifex customer #150. (lib/pdf_draw.ps [1.46]: 2002/05/22 17:29:37 ray) 9987 - GS doesn't process PDF files without the required key /FontName in 9988FontDescriptor dict. Adobe Acrobat Reader handles these out of spec files, 9989so we also allow this. To fix this, now uses /BaseFont key when /FontName is 9990missing. SF#515475. (lib/pdf_font.ps [1.34]: 2002/05/30 03:32:03 jeong) 9991 - Acrobat Reader apparently processes badly formed numbers that have 9992a '-' after the '.' by ignoring the fraction. If this type of tokenerror is 9993detected, issue an error message and change the scanning rules to do the 9994same as Adobe. SourceForge bug #558473 for Artifex customer #561. 9995(lib/pdf_base.ps [1.22]: 2002/05/31 17:14:34 ray) 9996 - Yet another change to allow our PDF intperpreter to tolerate an 9997out of spec PDF file that Acrobat Reader (and Glance pdf tools) handle. This 9998file had an 'endobj' without an 'endstream' terminating a stream. Fixes SF 9999bug #570262 for Artifex customer #1060. (lib/pdf_base.ps [1.23]: 2002/06/18 1000005:37:05 ray) 10001 - Correct the pdfformaterror message issued when an 'endobj' is seen 10002instead of 'endstream' and add a comment in the file about the error. Thanks 10003to Dan Coby for the suggestions improving the previous patch. 10004(lib/pdf_base.ps [1.24]: 2002/06/18 06:29:21 ray) 10005 - Use actual white point in /Lab spaces, rather than relying on 10006default. Fixes problem in regression file test.pdf. (lib/pdf_draw.ps [1.47]: 100072002/06/20 20:26:48 raph) 10008 - Prevents /typecheck in --length-- if given a file with an Encoding 10009dictionary with a Differences list has no BaseEncoding. This is perfectly 10010legal -- the base encoding is the font's built-in encoding or 10011StandardEncoding, per the PDF Reference (depending on whether or not the 10012font is flagged as "symbolic"). Fixes SF bug #566042. 10013(lib/pdf_font.ps [1.37]: 2002/06/21 06:49:50 ray) 10014 - Previous fix for SF bug #566042 caused a regression by defining an 10015Encoding array filled with .notdef too aggresively. Only create this array 10016when we need to update it with /Differences. Some regression files were 10017onechar.pdf, xngnews.pdf. The testfont.pdf file of 566042 still runs OK. 10018(lib/pdf_font.ps [1.38]: 2002/06/21 07:46:37 ray) 10019 - Fixes regressions caused by previous update including errors with 10020ImageProb2*.pdf and aaon97_p7.pdf. Removes logic that set StandardEncoding 10021if BaseEncoding wasn't set since this caused aaon97_p7 regression. Only use 10022.notdefEncoding if updateencoding sees a null encoding input. This is the 10023"real" fix for SF bug #566042. (lib/pdf_font.ps [1.39]: 2002/06/21 18:38:21 10024ray) 10025 - Wrong Widths array entry could sometimes be used when the Encoding 10026(after Differences applied) mapped codes to the same glyph. Logic introduced 10027in rev 1.22 only prevented some of the incorrect Width. Fixes SF bug# 570784 10028for Artifex customer #150. (lib/pdf_font.ps [1.40]: 2002/06/22 05:48:47 ray) 10029 - If the Differences list in the Encoding of an embedded font in a 10030PDF was not in increasing order, the encoding array length needed for the 10031differences could be miscalculated. Thanks to Dave Slattengren for spotting 10032this. No files had been seen (yet) that tripped on this. 10033(lib/pdf_font.ps [1.41]: 2002/06/25 18:58:55 ray) 10034 - Generates pdfformaterror rather than PostScript error for broken 10035PDF files containing unmatched >>. Workaround for SF bug #553812 for 10036Artifex customer #580. (lib/pdf_base.ps [1.25]: 2002/06/26 18:35:51 ray) 10037 - Generates pdfformaterror rather than PostScript error for broken 10038PDF files containing unmatched >> in trailer. Workaround for SF bug 10039#571851. (lib/pdf_main.ps [1.50]: 2002/06/26 18:37:16 raph) 10040 - Add the option -dUseCropBox to set the page size from the CropBox 10041rather than the MediaBox. This is appropriate when using ghostscript to view 10042PDF files or convert to bitmaps. It probably isn't appropriate for printing. 10043Fixes SourceForge bugs #522486, "Wromg size EPS generated from PDF" and 10044#538267 "Problems with Media Box in PDF and PS interpreter". 10045(lib/pdf_main.ps [1.51]: 2002/06/28 10:55:43 ghostgum) 10046 - When drawing PDF annotation links which are missing a /Border, 10047assume the default /Border [0 0 1]. Previously ghostscript assumed that 10048links without a /Border should not be drawn, which is contrary to the PDF 10049specification. (lib/pdf_draw.ps [1.48]: 2002/06/28 23:10:10 ghostgum) 10050 - If a PDF annotation specified other than the default color with 10051/C, pass this into the pdfmark logic as /Color. (lib/pdf_main.ps [1.52]: 100522002/06/28 23:10:45 ghostgum) 10053 - (PDF interpreter) wrong stack balance in 'resolvedest'. Source 10054Forge bug "[ 571912 ] pdfwrite: /rangecheck in --pdfmark--" 10055(lib/pdf_main.ps [1.53]: 2002/07/01 10:49:38 igor) 10056 - Set pdfemptycount in .pdfpaintproc so that .pdfcount gives correct 10057answers when invoked from inside patterns. Fixes SF bug #576572. 10058(lib/pdf_base.ps [1.26], lib/pdf_draw.ps [1.49]: 2002/07/03 22:10:31 raph) 10059 10060gs_cjk project : CIDWProc sample implementation Fix by mpsuzuki. (ported 10061from gs7.05) (lib/pdf_font.ps [1.35]: 2002/06/02 12:02:11 mpsuzuki) 10062 10063gs_cjk project : replace "min" & "max" by ".min" & ".max". by 10064mpsuzuki (ported from gs7.05) (lib/pdf_font.ps [1.36], 10065lib/pdf_main.ps [1.49], lib/pdf_sec.ps [1.10]: 2002/06/02 12:03:28 mpsuzuki) 10066 10067</pre><h2><a name="7.21-Interpreter"></a>Interpreter</h2><pre> 10068 10069Fixes problems: 10070 - Skip the (potentially time consuming) work of setting the color 10071space if it is the same as the currentcolorspace. Fixes SF #539327 for 10072Artifex customer #830. (lib/gs_lev2.ps [1.15]: 2002/04/06 01:18:56 ray) 10073 - Check the return code from gs_upathbbox() and zero the bbox if 10074there is no current point. Propagate other errors up. Adobe implementations 10075throw nocurrentpoint error, but this is not valid per the PLRM. Fix for 10076#520972 by Alex Cherepanov. (zupath.c [1.5]: 2002/04/09 22:54:00 ray) 10077 - Delete code that caused unshifted arrow keys to enter garbage 10078chars into the command line buffer. Now arrow keys scroll the image window 10079regardless of the shift state. Fix by Alex Cherepanov. (dwtext.c [1.8]: 100802002/04/09 23:26:29 ray) 10081 - Fix for #540871. Clean up compiler warnings in zfsample.c. Note: 10082The addition of two include files in zfsample.c forces a change in 10083dependencies in int.mak. (zfsample.c [1.6]: 2002/04/11 02:18:14 dan) 10084 - Adding any of the base 14 fonts to the NeverEmbed list produced 10085broken output in PDF level 1.3 and above. Makes the 'default', 'screen', and 10086'ebook' parameter sets not embed the base 14 fonts. (The documentation 10087already said this was the case, even though it wasn't.) This is a partial 10088fix for SourceForge bug #438957. (lib/gs_pdfwr.ps [1.16]: 2002/04/12 1008919:38:33 lpd) 10090 - The Matrix entry of ShadingType 1 shading dictionaries was 10091required; it is now (correctly) optional. (zshade.c [1.9]: 2002/04/14 1009202:48:26 lpd) 10093 - ShadingType 1 shadings whose Function was an array required the 10094individual functions to take 1 argument, rather than the correct 2; shadings 10095whose Function was not an array didn't check that the function took the 10096correct number of arguments. (The Genoa FTS does not check either of these.) 10097(zshade.c [1.10]: 2002/04/14 03:10:01 lpd) 10098 - Fix : Replacing the even-odd filing rule with the non-zero filling 10099rule for fonts. Source Forge bug "[ 539359 ] problem rendering euro 10100character". (zchar1.c [1.14]: 2002/04/16 11:03:29 igor) 10101 - Bump the DEFAULT_VM_THRESHOLD value up to prevent excessive GC. 10102This is a tuned parameter that may need to be adjusted in the future if 10103-dNOGC runs significantly faster than the normal case. The previous values 10104were established a long time ago when memory was a more expensive resource. 10105Fixes SourceForge bug #421057. (zvmem2.c [1.6]: 2002/04/16 21:41:28 ray) 10106 - Fix : Type2 interpreter state was wrongly backed up for sbw 10107fallback. Source Forge bug "[ 541877 ] /invalidfont on Kozuka Mincho". 10108(zchar1.c [1.15]: 2002/04/18 14:26:27 igor) 10109 - ShadingType 4-7 shadings with a Function and with data coming from 10110a stream rather than an array incorrectly expected N value ranges in their 10111Decode array, where N is the number of components in the color space, rather 10112than a single range for the function argument. Finishes fixing SourceForge 10113#546415. (zshade.c [1.11]: 2002/04/20 05:51:52 lpd) 10114 - Taking off a debbugging code. (zchar1.c [1.16]: 2002/04/21 1011517:45:41 igor) 10116 - Previous change to optimize setcolorspace (for SF bug #539327) 10117caused a regression since the CIE space cache management was confused when 10118CIEBased (including ICCBased) colorspace was the base space for some other 10119space such as Pattern, Indexed, DeviceN, Separation. The discussion of the 10120fix of the cache handling will be in doc/Projects.htm. The .dosetcolorspace 10121is now used internally when setting up the base space for the "outer" 10122colorspaces. Fixes regression caused by rev 1.15 of gs_lev2.ps and partial 10123fix for SF bug #547695. Analysis of problem by L. Peter Deutsch (lpd). 10124(lib/gs_icc.ps [1.5], lib/gs_lev2.ps [1.17], lib/gs_ll3.ps [1.13]: 101252002/04/29 16:59:01 ray) 10126 - ReusableStreams couldn't handle %diskn devices (or even %os% files 10127for that matter). Add filename parsing for iodev to make_rfs. Problem showed 10128as invalidaccess when opening CIDFonts that resided on %disk devices. Fix 10129for Artifex customer #411. (zfrsd.c [1.8]: 2002/04/29 22:33:50 ray) 10130 - More compatibility to Adobe interpreters in 'eexec'. This is 10131NON-BACKWARD-COMPATIBLE change. Now eexec skips all whitespaces at the 10132beginning of input stream, except for PFBDecode output. Thanks to L. Peter 10133Deutsch for participation. Source Forge bug "[ 428891 ] Undefined commands 10134interpreting Postscri". (lib/gs_init.ps [1.55], zmisc1.c [1.6]: 2002/05/01 1013523:15:23 igor) 10136 - When CIEBasedDEF or DEFG color space is set, DecodeABC was not set 10137properly and remained as abc_identity. This caused wrong color generation in 10138CIEBasedDEFG space. Analysis and fix by L. Peter Deutsch (lpd). Fixes 10139SF#542786. (zcie.c [1.9]: 2002/05/02 17:47:02 jeong) 10140 - Allow readonly FontMatrix in font type 9. Thanks for Ray Johnston 10141for participation. Source Forge bug "[ 551958 ] Problems with CIDFont: 10142RcPNOWkana-GB". (lib/gs_cidfn.ps [1.24]: 2002/05/06 11:49:30 igor) 10143 - A rounding problem made installation of CIEBased color spaces 10144non-idempotent, which could cause seriously incorrect rendering of CIEBased 10145colors in the sequence [/CIEBased...] setcolorspace, gsave, [/Pattern 10146[/CIEBased...]] setcolorspace, grestore. Fixes SourceForge bug #547695, q.v. 10147(opextern.h [1.5], zcie.c [1.10], zcolor.c [1.7], zcontrol.c [1.7]: 101482002/05/07 19:51:53 lpd) 10149 - Correct the VMS exit codes for exit_OK and exit_FAILED which 10150depend on the compiler (Forrest Cahoon). Return the correct exit code from 10151main for VMS. (gs.c [1.10]: 2002/05/15 12:11:44 ghostgum) 10152 - The previous fix for numerical inaccuracies in CIE cache sampling 10153could lead to extremely long computation times. (zcontrol.c [1.8]: 101542002/05/19 15:50:00 lpd) 10155 - Handle packedarray type of array for /PageSize in dictionary to 10156setpagedevice. Fixes SF bug #483629 for a nobody. (zmedia2.c [1.7]: 101572002/05/24 17:55:06 ray) 10158 - Acrobat Reader apparently processes badly formed numbers that have 10159a '-' after the '.' by ignoring the fraction. If this type of tokenerror is 10160detected, issue an error message and change the scanning rules to do the 10161same as Adobe. SourceForge bug #558473 for Artifex customer #561. 10162(iscan.c [1.8], iscan.h [1.7], iscannum.c [1.6], iscannum.h [1.5], 10163ztoken.c [1.9]: 2002/05/31 17:21:36 ray) 10164 - Fixes uninitialized memory read of stack-allocated stream in 10165t_string case of interp(), and in zfilelineedit(). (interp.c [1.11], 10166ziodev.c [1.10]: 2002/06/05 05:05:08 raph) 10167 - enumerate_glyph would crash if applied to a subfont of a 10168CIDFontType 0 font. (Probably only affects font copying, to be used in the 10169future by pdfwrite.) (zcharout.c [1.9]: 2002/06/08 01:22:26 lpd) 10170 - Limit the number of %disk devices to 7 to prevent problems with 10171the Dynalab font installer. Also return %disk devices in numeric order from 10172devforall and suppress %disk devices from filenameforall to match Adobe. 10173Also correct documentation of devforall (no pattern string used). Thanks to 10174Nori Matsushima and Erik Strik for testing of this feature (diskn.dev). 10175(lib/gs_diskn.ps [1.2], lib/gs_lev2.ps [1.18]: 2002/06/14 04:04:39 ray) 10176 - .pushpdf14devicefilter was defined in zdfilter.c, but depended on 10177the optional pdf module's transparency features. Moves the definition of 10178this routine to the conditionally included ztrans.c. Fix by L. Peter 10179Deutsch, resolves SourceForge Bug 565019. (zdfilter.c [1.5], 10180ztrans.c [1.16]: 2002/06/14 09:42:54 giles) 10181 - Initialization did not abort if an opdef table had more than 16 10182entries (see opdef.h for more information about this restriction). 10183(iinit.c [1.7]: 2002/06/14 14:17:25 lpd) 10184 - As a result of a recent fix, an opdef table had more than 16 10185entries, causing initialization to abort. (ztrans.c [1.17]: 2002/06/14 1018614:17:56 lpd) 10187 - Because of a bug introduced by the removal of known_encode, 10188accented Type 1/2 font characters defined using the 'seac' operator could 10189cause an error in pdfwrite. Fixes the recent pdfwrite regression ERROR in 10190Svd.pdf. (zchar1.c [1.18]: 2002/06/15 04:19:44 lpd) 10191 - Correct the display device color mapping functions that were 10192wrong. Change 4-bit mapping functions to standard VGA. Correct 16-bit native 10193RGB and 32-bit xRGB mapping functions. Add RGB to color mapping functions 10194for CMYK formats, needed by anti-aliasing. (dpmain.c [1.8], dwimg.c [1.7]: 101952002/06/21 22:30:09 ghostgum) 10196 - Propagate possible errors from pdf_end_image_binary. 10197(zimage.c [1.9]: 2002/06/22 11:16:12 igor) 10198 - Make sure that the .pdfmapchars which generates the CharStrings 10199dictionary includes all of the glyphs mentioned by name in the encoding 10200array (after the Encoding::Differences are applied). This fixes the ".notdef 10201substituted for ccaron" problem that occurs after pdf_font.ps rev 1.40 fix 10202prevents the "typecheck in length" mentioned in SF bug #567580 for Artifex 10203customer #1110. (lib/gs_ttf.ps [1.15]: 2002/06/25 06:40:10 ray) 10204 - Fixes two uninitialized memory reads, by zeroing the gs_allocated 10205field of newly allocated allocators, and the userdict_index field of dict 10206stacks in newly allocated contexts. (icontext.c [1.11]: 2002/06/26 20:01:53 10207raph) 10208 - Fixes uninitialized memory read of stack-allocated stream in 10209scan_string_token_options() (the implementation of ztoken). (iscan.c [1.10]: 102102002/06/26 20:04:12 raph) 10211 - The filenameforall enumeration for the %os% device. Also unroll 10212the 'forall' loop when multiple devices are searched so that each invocation 10213of filenameforall has the same operand stack. (lib/gs_diskn.ps [1.3]: 102142002/06/26 23:51:20 ray) 10215 - Define /buildtime in systemdict because Adobe does so and some 10216protected fonts use it as ID. Fix provided by Alex Cherepanov. SourceForge 10217bug #458500. (lib/gs_lev2.ps [1.19]: 2002/06/27 16:35:31 ray) 10218 - The return status values from 'sgets' were not handled properly. 10219Now the functions that use 'sgets', check the return status and convert them 10220into proper gs_errors. SF#569111 (iscanbin.c [1.11]: 2002/07/01 14:27:43 10221jeong) 10222 - If the 'resourceforall' operator's procedure operand gets an error 10223or performs a 'stop', Adobe interpreters return an operand stack with the 10224four operands to resourceforall removed from the stack. The comments 10225suggested this was the intent, but the logic did not work this way and 10226instead left all four operands on the stack. Fixes CSL startup problem for 10227Artifex customer #150. (lib/gs_res.ps [1.23]: 2002/07/02 18:28:31 ray) 10228 10229update version numbers after the 7.20 release. (lib/gs_init.ps [1.54]: 102302002/04/04 03:14:03 giles) 10231 10232Moves implementation of TransformPQR procedures in default CRD to zcrd.c for 10233speed. Fixes SF bug #539327. (lib/gs_lev2.ps [1.16], zcrd.c [1.6]: 102342002/04/07 01:10:53 raph) 10235 10236Changes gs_cmap_t (internal representation of CMaps) to an abstract 10237superclass with multiple implementations: standard Adobe CMapType 1, 10238TrueType 16-bit cmap (Platform 3, Encoding 1, Format 4), and one-for-one. 10239Adds the ability to designate a CMap as Unicode-based. Enhances pdfwrite so 10240that composite fonts (including those based on TrueType Unicode fonts) with 10241Unicode-based CMaps are embedded in the PDF file with the original text 10242preserved and with an appropriate ToUnicode CMap, making the text searchable 10243in Acrobat. (zcidtest.c [1.1], zfcid1.c [1.11], zfcmap.c [1.12]: 2002/04/08 1024421:02:44 lpd) 10245 10246Restores some performance lost as a result of the fix for SourceForge 10247#495414, by skipping a request for glyph widths which is redundant if the 10248font doesn't have Metrics or CDevProc. Addresses SourceForge #451456 (a 10249general request for better pdfwrite performance), which will be closed after 10250this change. (zchar1.c [1.12]: 2002/04/09 23:31:44 lpd) 10251 10252FAPI project : fixing a misprint in comment. (fapiufst.c [1.17]: 2002/04/11 1025316:55:35 igor) 10254 10255Moves the choice of even-odd vs. winding-number rule for filling Type 1 10256characters to the beginning of its source file, for greater visibility. 10257(zchar1.c [1.13]: 2002/04/11 21:44:51 lpd) 10258 10259Moves the remaining CID-related test operator (.writefont9) to zcidtest.c. 10260(zcidtest.c [1.2], zfcid0.c [1.13]: 2002/04/11 22:07:36 lpd) 10261 10262Adds an unnecessary pair of { } to prevent gcc from complaining about an 10263ambiguous 'else'. (ilocate.c [1.7]: 2002/04/18 05:55:04 lpd) 10264 10265Adds a make_scaled virtual procedure to Function objects, to create a 10266modified Function whose N output values are transformed linearly according 10267to a supplied set of N range parameters. This is the first installment for 10268implementing conversion of extended-range CIEBased color spaces to ICCBased 10269spaces in pdfwrite. (ifunc.h [1.8], zfunc.c [1.12]: 2002/04/19 01:17:53 lpd) 10270 10271Removes the name SystemNames as a name for the system name table. 10272(lib/gs_btokn.ps [1.9]: 2002/04/19 06:52:25 lpd) 10273 10274FAPI project : nominalWidthX was wrongly processed for Type 2 fonts. Source 10275Forge bug "[ 545177 ] (FAPI) wrong glyph placement". (zfapi.c [1.21]: 102762002/04/23 17:33:32 igor) 10277 10278gs_exit() cleanup. gs_exit() is renamed gs_to_exit() since it is an about to 10279terminate cleanup function, it always returns. Both gs_to_exit() and 10280gs_abort are client provided functions. The client can have its own special 10281cleanup on exit, and the client can decide what it wants to do in the abort 10282case: exit, setjump/longjump, ... gp_do_exit() is the way for the client to 10283call a system independent exit() this allows for different exit codes on 10284unix and vms for instance. Only the client can call this, if so desired from 10285their gs_abort(). (gs.c [1.9], iapi.c [1.7], imain.c [1.24], imain.h [1.6]: 102862002/05/14 14:59:41 stefan) 10287 10288Makes the GC descriptor public for allocating the FDArray of CIDFontType 0 10289fonts. (zfcid0.c [1.14]: 2002/05/30 13:43:12 lpd) 10290 10291gs_cjk project : MDRC bug fix pt.1: use signalerror instead stop Fix by 10292mpsuzuki. (ported from gs7.05) (lib/gs_cmap.ps [1.15]: 2002/06/02 11:53:13 10293mpsuzuki) 10294 10295gs_cjk project : MDRC bug fix pt.2: shrink map infos by endcidchar too, to 10296provide parsing of Adobe-CNS1-4 UCS4 CMap. Fix by mpsuzuki. (ported from 10297gs7.05) (lib/gs_cmap.ps [1.16]: 2002/06/02 11:53:58 mpsuzuki) 10298 10299gs_cjk project : return error when we cannot load even CID=0. Fix by 10300mpsuzuki. (ported from gs7.05) (zfcid0.c [1.15]: 2002/06/02 11:55:28 10301mpsuzuki) 10302 10303gs_cjk project : cshow bug patch for CIDFont. proc passed to cshow can 10304change currentfont internally, in such case, rangecheck error should not be 10305returned. Fix by Masatake Yamato. (ported from gs7.05) (zchar.c [1.7]: 103062002/06/02 11:57:03 mpsuzuki) 10307 10308gs_cjk project : cshow bug patch for composite font. Fix by Masatake Yamato. 10309(ported from gs7.05) (zcfont.c [1.5]: 2002/06/02 11:57:34 mpsuzuki) 10310 10311gs_cjk project : CDevProc patch Fix by Masatake Yamato. (ported from gs7.05) 10312(zcharout.c [1.8]: 2002/06/02 12:00:54 mpsuzuki) 10313 10314gs_cjk project : replace "min" & "max" by ".min" & ".max". by 10315mpsuzuki (ported from gs7.05) (lib/gs_cidfn.ps [1.25], 10316lib/gs_fonts.ps [1.21], lib/gs_init.ps [1.56], lib/gs_ll3.ps [1.14], 10317lib/gs_trap.ps [1.6], lib/gs_ttf.ps [1.14], lib/gs_typ32.ps [1.6]: 103182002/06/02 12:03:28 mpsuzuki) 10319 10320Cleans up a number of design problems in the font callback procedures: 1) 10321Eliminates the gx_xfont_callbacks structure entirely. The known_encode 10322procedure is no longer needed: the new facilities in gscencs.[hc] make it 10323unnecessary, and none of the three implementors of the xfont interface use 10324it. See below regarding glyph_name. This is a NON-BACKWARD- COMPATIBLE 10325change for all clients of the glyph_name and known_encode procedures (of 10326which there are, respectively, 11 and 0 in the current code base), and for 10327all places that define gs_font_procs structures statically or initialize the 10328callbacks dynamically (of which there are currently only two, one in 10329gsfont.c and one in zbfont.c). There are also 3 identical places in the 10330GhostPCL code (in plfont.c, plffont.c, and plufont.c) that will require very 10331minor changes, with a small net reduction in code. 2) Deletes the 10332char_xglyph2 procedure from gx_xfont_procs. It is optional, and none of the 10333three current xfont implementations implements it. 3) Changes the 10334char_xglyph procedure in gx_xfont_procs so that instead of a glyph_name 10335callback procedure, it takes a const gs_string * argument that is the actual 10336glyph name (if the glyph is not gs_no_glyph and is not a CID). This is a 10337NON-BACKWARD-COMPATIBLE change for both clients and implementors of xfonts. 10338(At present, there are 3 implementors, none of which use the glyph_name 10339callback, and a single client call in gxccache.c.) 4) Moves the glyph_name 10340procedure, which is still required for other purposes, to gs_font_procs, 10341changing its declaration to int (*glyph_name)(gs_font *font, gs_glyph glyph, 10342gs_const_string *pstr); This is a NON-BACKWARD-COMPATIBLE change for 10343clients, but they must already change because of item (1) above. 5) 10344Eliminates the registered_Encodings array in the PostScript interpreter, 10345substituting the C representation of the known Encodings. (iccfont.c [1.6], 10346ifont.h [1.9], lib/gs_init.ps [1.57], zbfont.c [1.13], zchar1.c [1.17]: 103472002/06/09 23:08:23 lpd) 10348 10349Implements the new get_glyph_index font procedure for PostScript Type 42 10350fonts. (zfont42.c [1.9]: 2002/06/12 22:07:43 lpd) 10351 10352Removes all uses of the now-deprecated Pn macros from PostScript operator 10353files (src/z*.c). (zbfont.c [1.14], zcfont.c [1.6], zchar.c [1.8], 10354zchar1.c [1.19], zchar42.c [1.8], zcharout.c [1.10], zcie.c [1.11], 10355zcolor.c [1.8], zcolor2.c [1.8], zcontext.c [1.10], zcontrol.c [1.9], 10356zcrd.c [1.7], zcsindex.c [1.6], zcssepr.c [1.11], zdevice2.c [1.8], 10357zdouble.c [1.5], zdpnext.c [1.6], zdps.c [1.7], zdps1.c [1.6], 10358zdscpars.c [1.15], zfile.c [1.22], zfileio.c [1.15], zfilter.c [1.8], 10359zfont.c [1.6], zfont0.c [1.6], zfont42.c [1.10], zfproc.c [1.12], 10360zfrsd.c [1.9], zfsample.c [1.7], zfunc4.c [1.11], zgeneric.c [1.6], 10361zgstate.c [1.5], zht.c [1.5], zht1.c [1.5], zht2.c [1.5], zimage.c [1.8], 10362zmatrix.c [1.7], zmedia2.c [1.8], zmisc1.c [1.7], zmisc2.c [1.6], 10363zpath.c [1.5], zpath1.c [1.5], zpcolor.c [1.6], zrelbit.c [1.5], 10364zshade.c [1.12], ztoken.c [1.10], ztrans.c [1.18], ztype.c [1.6], 10365zupath.c [1.6], zusparam.c [1.7], zvmem.c [1.7]: 2002/06/16 03:43:50 lpd) 10366 10367Removes all uses of the now-deprecated Pn macros from PostScript interpreter 10368support code (src/i*.c). (iapi.c [1.8], iccfont.c [1.7], idebug.c [1.8], 10369idict.c [1.7], idstack.c [1.5], igc.c [1.8], igcstr.c [1.6], 10370ilocate.c [1.8], imain.c [1.25], imainarg.c [1.21], iname.c [1.6], 10371interp.c [1.12], iparam.c [1.8], ireclaim.c [1.6], isave.c [1.7], 10372iscan.c [1.9], iscanbin.c [1.10], istack.c [1.5], iutil.c [1.6]: 2002/06/16 1037303:48:22 lpd) 10374 10375Removes all uses of the now-deprecated Pn macros from the DSC parser. 10376(dscparse.c [1.11]: 2002/06/16 03:51:37 lpd) 10377 10378Removes all uses of the now-deprecated Pn macros from the stream 10379implementation code. (sbwbs.c [1.5]: 2002/06/16 03:58:14 lpd) 10380 10381Removes all uses of the now-deprecated Pn macros from PostScript interpreter 10382header files. (bfont.h [1.7], btoken.h [1.7], ccfont.h [1.5], 10383dscparse.h [1.10], dwtrace.h [1.4], estack.h [1.6], files.h [1.8], 10384ialloc.h [1.5], iapi.h [1.6], ibnum.h [1.7], ichar.h [1.6], ichar1.h [1.7], 10385icharout.h [1.7], icid.h [1.5], icie.h [1.6], icolor.h [1.5], 10386icontext.h [1.5], icsmap.h [1.5], iddstack.h [1.5], idebug.h [1.5], 10387idict.h [1.5], idosave.h [1.5], idparam.h [1.6], idstack.h [1.5], 10388ifcid.h [1.5], ifilter.h [1.6], ifilter2.h [1.5], ifont.h [1.10], 10389ifont1.h [1.6], ifont2.h [1.5], ifont42.h [1.7], ifrpred.h [1.5], 10390ifunc.h [1.9], ifwpred.h [1.5], igc.h [1.5], igcstr.h [1.5], 10391igstate.h [1.6], iht.h [1.5], iimage.h [1.5], iimage2.h [1.5], 10392iinit.h [1.5], imain.h [1.7], imainarg.h [1.6], imemory.h [1.5], 10393inamedef.h [1.5], inames.h [1.5], interp.h [1.5], iparam.h [1.5], 10394iparray.h [1.5], ipcolor.h [1.5], iplugin.h [1.4], iref.h [1.9], 10395isave.h [1.5], iscan.h [1.8], iscanbin.h [1.5], iscannum.h [1.6], 10396istack.h [1.5], istream.h [1.5], istruct.h [1.5], itoken.h [1.5], 10397iutil.h [1.5], iutil2.h [1.6], ivmem2.h [1.5], main.h [1.6], oparc.h [1.5], 10398opcheck.h [1.5], opdef.h [1.6], oper.h [1.5], opextern.h [1.6]: 2002/06/16 1039904:47:10 lpd) 10400 10401Removes all uses of the now-deprecated Pn macros from the stream header 10402files. (shcgen.h [1.5]: 2002/06/16 05:00:54 lpd) 10403 10404Adds a comment documenting the fact that errors.h should not be used in 10405graphics library files. (errors.h [1.7]: 2002/06/19 15:35:32 lpd) 10406 10407Adds support for incremental font copying, currently required only by the 10408new pdfwrite text code. (zfctest.c [1.1]: 2002/06/19 15:52:29 lpd) 10409 10410Update for Borland 5.5 Compiler. Files changes include bcwin32.mak, 10411dwmainc.c, unistd_.h, bcc32.cfg and Make.htm. Patch by Rod Webster (rodw). 10412SF#559565 (dwmainc.c [1.13]: 2002/06/24 06:20:25 jeong) 10413 10414Adds more tracing (with -DDEBUG) when loading CFF fonts. 10415(lib/gs_cff.ps [1.13]: 2002/07/06 02:49:39 lpd) 10416 10417</pre><h2><a name="7.21-Streams"></a>Streams</h2><pre> 10418 10419Fixes problems: 10420 - More compatibility to Adobe interpreters in 'eexec'. This is 10421NON-BACKWARD-COMPATIBLE change. Now eexec skips all whitespaces at the 10422beginning of input stream, except for PFBDecode output. Thanks to L. Peter 10423Deutsch for participation. Source Forge bug "[ 428891 ] Undefined commands 10424interpreting Postscri". (seexec.c [1.7]: 2002/05/01 23:15:23 igor) 10425 - Correct the VMS exit codes for exit_OK and exit_FAILED which 10426depend on the compiler (Forrest Cahoon). Return the correct exit code from 10427main for VMS. (stdpre.h [1.8]: 2002/05/15 12:11:44 ghostgum) 10428 - Fixes an oversight that prevented compilation with stdpn.h 10429included. (stdpre.h [1.10]: 2002/06/16 09:11:47 lpd) 10430 10431Documents the fact that exceptional stream conditions remain set until a 10432client clears them. (scommon.h [1.7]: 2002/06/16 03:20:39 lpd) 10433 10434Removes all uses of the now-deprecated Pn macros from the stream 10435implementation code. (sa85d.c [1.6], scfd.c [1.6], scfdtab.c [1.4], 10436scfe.c [1.5], scfetab.c [1.5], sfxfd.c [1.9], sfxstdio.c [1.7], 10437siinterp.c [1.5], siscale.c [1.7], stream.c [1.19]: 2002/06/16 03:58:14 lpd) 10438 10439Removes all uses of the now-deprecated Pn macros from the stream header 10440files. (sbcp.h [1.5], scommon.h [1.8], sdcparam.h [1.5], sdct.h [1.7], 10441shc.h [1.5], sjpeg.h [1.5], slzwx.h [1.5], spprint.h [1.6], spsdf.h [1.5], 10442srdline.h [1.5], std.h [1.8], stream.h [1.11], strimpl.h [1.6], 10443szlibxx.h [1.5]: 2002/06/16 05:00:54 lpd) 10444 10445Removes all uses of the now-deprecated Pn macros from system header 10446wrappers. (stdio_.h [1.7]: 2002/06/16 05:03:12 lpd) 10447 10448Moves the now-unused Pn macros to a separate file, which now can easily be 10449commented out and eventually removed. (stdpn.h [1.1], stdpre.h [1.9]: 104502002/06/16 08:57:57 lpd) 10451 10452Adds a missing close-comment (*/) marker. (stdpn.h [1.2]: 2002/06/16 1045308:59:16 lpd) 10454 10455</pre><h2><a name="7.21-Library"></a>Library</h2><pre> 10456 10457Fixes problems: 10458 - Compiling with -dPROFILE could cause compiler warnings about 10459"memxxx redefined" (memset, memcpy, etc.). (memory_.h [1.5]: 2002/04/08 1046020:42:01 lpd) 10461 - Indexed color spaces weren't implemented for ShadingType 4-7 10462shadings. (gxshade.c [1.9], gxshade.h [1.7], gxshade4.c [1.9]: 2002/04/14 1046304:30:47 lpd) 10464 - If a shading's Function entry was an array of functions rather 10465than a single function, pdfwrite wrote out an invalid Function object with a 10466FunctionType of -1. (gsfunc3.c [1.7]: 2002/04/14 06:51:45 lpd) 10467 - Radial shading fills with /Extend are now clipped correctly. Also 10468Radial shadings with 2 radii for which the difference is small or zero, now 10469does as Adobe does. Fixes SourceForge bug #219798, #542457 10470(gxshade1.c [1.13]: 2002/04/18 08:12:56 jeong) 10471 - Fix : Type2 interpreter state was wrongly backed up for sbw 10472fallback. Source Forge bug "[ 541877 ] /invalidfont on Kozuka Mincho". 10473(gstype2.c [1.18], gxtype1.c [1.13]: 2002/04/18 14:26:27 igor) 10474 - ShadingType 4-7 shadings with a Function incorrectly read N values 10475from their data stream, where N is the number of components in the color 10476space, rather than a single entry for the function argument. Fixes 10477SourceForge #546415. (gxshade.c [1.10]: 2002/04/20 05:27:11 lpd) 10478 - The make_scaled procedure for PostScript Calculator Functions 10479didn't copy the data_source, causing a memory access error when converting 10480the Function to printable form. (gsfunc4.c [1.11]: 2002/04/20 07:05:39 lpd) 10481 - Arrayed Output Functions (used internally to represent an array of 10482Functions) didn't compute or store their Domain, causing pdfwrite to write 10483them incorrectly. (Bug found during development of pdfwrite.) 10484(gsfunc3.c [1.9]: 2002/04/20 18:50:36 lpd) 10485 - ShadingType 4-7 shadings didn't check the validity of ColorSpace 10486and BBox like other shadings, and when used with a Function, didn't check 10487that the Function had the correct number of inputs and outputs. (Bug found 10488during pdfwrite development.) (gsshade.c [1.7]: 2002/04/21 02:48:36 lpd) 10489 - Arrayed Output functions didn't check whether their input and 10490output buffers overlapped in memory. This produced incorrect output from 10491ShadingType 4-7 shadings with a /Function entry that was an array of N 104921-output Functions rather than a single N-output function. (Bug discovered 10493during pdfwrite development.) (gsfunc3.c [1.10]: 2002/04/23 01:10:38 lpd) 10494 - Radial shading worked only if the original coordinate unit is 10495identical to the coordinate unit of the output device. Now it works for 10496every case. Fixes SF#542457. (gxshade1.c [1.14]: 2002/04/23 06:13:58 jeong) 10497 - Fixes an incorrect comment; eliminates a redundant initialization. 10498(gsfunc3.c [1.11]: 2002/04/23 16:46:30 lpd) 10499 - FunctionType 4 functions with more than 1 output didn't scale the 10500output properly. (gsfunc4.c [1.12]: 2002/04/23 18:38:52 lpd) 10501 - gx_device_clip::memory was not set but used while intersecting 10502clip paths. Source Forge bug "[ 547111 ] segfault with pdf using ppmraw". 10503(gxclip.c [1.7]: 2002/04/26 08:52:54 igor) 10504 - A rounding problem made installation of CIEBased color spaces 10505non-idempotent, which could cause seriously incorrect rendering of CIEBased 10506colors in the sequence [/CIEBased...] setcolorspace, gsave, [/Pattern 10507[/CIEBased...]] setcolorspace, grestore. Fixes SourceForge bug #547695, q.v. 10508(gscie.c [1.9], gscie.h [1.9]: 2002/05/07 19:51:53 lpd) 10509 - The GS lib would not build. This fix corrects two minor problems. 10510The routine gs_abort was added to gslib.c. The unused include file 10511gmorecfg.h was removed from vdtrace.c. (gslib.c [1.8], vdtrace.c [1.4]: 105122002/05/08 05:39:12 dan) 10513 - A minor cleanup of vdtrace.c . (vdtrace.c [1.5]: 2002/05/08 1051406:57:35 igor) 10515 - pdfwrite relied on the PostScript interpreter to load and make 10516available the known encodings and glyph sets identified in src/gsccode.h. 10517With this change, pdfwrite can now be used without a PostScript interpreter, 10518and with fonts that do not implement the known_encode callback. 10519(gdevpsf2.c [1.19], gdevpsft.c [1.13], gscedata.c [1.1], gscencs.c [1.1], 10520gscencs.h [1.1]: 2002/05/12 22:38:08 lpd) 10521 - as a result of a recent fix, the CIEBased color cache code for 10522ensuring that black (0,0,0) mapped precisely no longer worked. 10523(gscie.c [1.10]: 2002/05/15 23:49:39 lpd) 10524 - gdevpsf.h didn't define the 'stream' type, which it references. 10525(gdevpsf.h [1.14]: 2002/05/17 16:38:12 lpd) 10526 - The previous fix for numerical inaccuracies in CIE cache sampling 10527could lead to extremely long computation times. (gscie.c [1.11], 10528gscie.h [1.11]: 2002/05/19 15:50:00 lpd) 10529 - completing "remove dependency of pdfwrite on PS" (gscencs.c [1.3]: 105302002/05/20 06:33:36 igor) 10531 - In the output of the PDF 1.4 image buffer to the target device, 10532sets color space in graphics state explicitly to RGB (to match the color 10533space in the image), and also sets the device in the graphics state to the 10534target device. It may be that a better fix would be to make the image work 10535even without these explicit state settings, but this seems to work for now. 10536Fixes SF #520686. (gdevp14.c [1.10]: 2002/05/22 05:07:48 raph) 10537 - In radial shading, if radius of a circle is 0, there was division 10538by zero. This is a regression for the fix of SF#219798. Now fixed. 10539(gxshade1.c [1.15]: 2002/05/26 05:03:31 jeong) 10540 - Increase clist cmd reading buffer size to 4K to be able to handle 10541larger halftone bitmaps. The old size of 800 could cause the clist high 10542level path logic to revert to 'default' filling which created VERY large 10543clist temp files. SourceForge bug 542664 for Artifex customer 710. 10544(gxcldev.h [1.7]: 2002/05/29 08:09:59 ray) 10545 - Add type cast to prevent problem on OpenVMS (gdevp14.c [1.11]: 105462002/05/31 13:05:58 joukj) 10547 - Fixes off-by-one error in loop termination for CIE cache 10548initializations. (gscie.c [1.12]: 2002/06/06 06:55:12 raph) 10549 - Fixes uninitialized base buffer and failure to properly increment 10550a p14_device refcount in the pdf14 imaging code. (gdevp14.c [1.12]: 105512002/06/06 06:57:12 raph) 10552 - Fixes a bug in writing "stripped" TrueType fonts. (Only affects 10553font copying.) (gdevpsft.c [1.16]: 2002/06/12 22:06:51 lpd) 10554 - Limit the number of %disk devices to 7 to prevent problems with 10555the Dynalab font installer. Also return %disk devices in numeric order from 10556devforall and suppress %disk devices from filenameforall to match Adobe. 10557Also correct documentation of devforall (no pattern string used). Thanks to 10558Nori Matsushima and Erik Strik for testing of this feature (diskn.dev). 10559(gsiodisk.c [1.2]: 2002/06/14 04:04:39 ray) 10560 - The automatically generated files src/gscedata.[ch] didn't have a 10561RCS Id line. (gscedata.c [1.3], gscedata.h [1.2]: 2002/06/14 13:31:53 lpd) 10562 - psf_write_truetype_font and psf_write_cid2_font copied hmtx and 10563vmtx rather than getting the actual metrics through the font virtual 10564procedures, which produced incorrect output if the font was defined 10565incrementally and used MetricsCount. (This only affected pdfwrite.) 10566(gdevpsf.h [1.18], gdevpsft.c [1.18]: 2002/06/18 00:31:20 lpd) 10567 - Removes incorrect #includes of errors.h, which is a PostScript 10568interpreter file, from library files. (gsfcmap1.c [1.3], gxchar.c [1.16]: 105692002/06/19 15:33:01 lpd) 10570 - When drawing with anti-aliasing on devices with less than 105718-bit/pixel, extract the correct existing pixel value. (gdevdbit.c [1.5]: 105722002/06/21 22:05:33 ghostgum) 10573 - Propagate possible errors from pdf_end_image_binary. 10574(gsimage.c [1.7], gsimage.h [1.6], gsptype1.c [1.7], gxccache.c [1.10]: 105752002/06/22 11:16:12 igor) 10576 - gxfcache.h didn't #include or define all of its prerequisites. 10577(gxfcache.h [1.7]: 2002/06/24 05:14:15 lpd) 10578 - Fixes an off-by-1 bug in the code for accessing Subrs in copied 10579fonts. (gxfcopy.c [1.4]: 2002/06/24 17:28:11 lpd) 10580 - copying a CIDFontType 2 font didn't copy numGlyphs, causing glyphs 10581to disappear. (gxfcopy.c [1.6]: 2002/06/24 23:48:31 lpd) 10582 - Fixes an off-by-1 error in copying [Global]Subrs. 10583(gxfcopy.c [1.7]: 2002/06/25 04:32:48 lpd) 10584 - gs_copy_font for CIDFontType 0 fonts didn't copy GlobalSubrs 10585correctly. (gxfcopy.c [1.8]: 2002/06/25 05:22:56 lpd) 10586 - Two places associated with font writing didn't add in 10587subroutineNumberBias when interpreting a Type 1 / Type 2 CharString. 10588(gdevpsfx.c [1.15], gxtype1.c [1.14]: 2002/06/25 05:25:45 lpd) 10589 - The GSubrs for CIDFontType 0 fonts were not written, possibly 10590producing invalid embedded fonts from pdfwrite. Fixes SourceForge #571911. 10591(gdevpsf.h [1.19], gdevpsf2.c [1.21]: 2002/06/25 06:52:05 lpd) 10592 - Fixes two uninitialized memory reads, by zeroing the gs_allocated 10593field of newly allocated allocators, and the userdict_index field of dict 10594stacks in newly allocated contexts. (gsalloc.c [1.17]: 2002/06/26 20:01:53 10595raph) 10596 - Fix uninitialized memory read of pcache->order.data_memory by 10597zeroing it on construction. (gxht.c [1.7]: 2002/06/26 20:03:21 raph) 10598 - Code for writing and copying Type 1 fonts didn't correctly handle 10599Subrs arrays with null elements. (gdevpsf1.c [1.15], gdevpsf2.c [1.22], 10600gxfcopy.c [1.9]: 2002/06/26 23:17:24 lpd) 10601 - Allocating the glyphs and names arrays for copied fonts used the 10602wrong structure descriptor. (gxfcopy.c [1.10]: 2002/06/27 03:55:39 lpd) 10603 - Fixes 3 minor problems with font copying: GC overhead was 10604substantial; the components of composite glyphs were not copied; the 10605encoding index was not copied when copying a complete font. 10606(gxfcopy.c [1.12]: 2002/06/28 01:47:22 lpd) 10607 - The size of the version field of the ttf_maxp_t structure was 10608defined incorrectly as 2 rather than 4. (This structure wasn't referenced 10609anywhere.) (gxttf.h [1.6]: 2002/06/28 05:27:22 lpd) 10610 - Font copying did not allocate its tables correctly when copying 10611incrementally downloaded TrueType fonts, and did not implement encode_char 10612correctly for TrueType fonts when glyph_space == GLYPH_SPACE_NAME. (Only 10613affects new pdfwrite text code.) (gxfcopy.c [1.13]: 2002/06/28 22:35:26 lpd) 10614 - The return status values from 'sgets' were not handled properly. 10615Now the functions that use 'sgets', check the return status and convert them 10616into proper gs_errors. SF#569111 (gsmatrix.c [1.6], gsparam2.c [1.6], 10617gxclrast.c [1.16]: 2002/07/01 14:27:43 jeong) 10618 - The hmtx/vmtx tables generated from the glyph metric data for 10619embedded TrueType fonts in PDF output were incorrect, due to a misreading of 10620the TrueType spec. (This only affects the new pdfwrite text code: the old 10621code does not generate the tables this way.) (gdevpsft.c [1.20]: 2002/07/06 1062202:54:32 lpd) 10623 10624update version numbers after the 7.20 release. (gscdef.c [1.20]: 2002/04/04 1062503:14:03 giles) 10626 10627Changes gs_cmap_t (internal representation of CMaps) to an abstract 10628superclass with multiple implementations: standard Adobe CMapType 1, 10629TrueType 16-bit cmap (Platform 3, Encoding 1, Format 4), and one-for-one. 10630Adds the ability to designate a CMap as Unicode-based. Enhances pdfwrite so 10631that composite fonts (including those based on TrueType Unicode fonts) with 10632Unicode-based CMaps are embedded in the PDF file with the original text 10633preserved and with an appropriate ToUnicode CMap, making the text searchable 10634in Acrobat. (gdevpsfm.c [1.10], gsfcid2.c [1.1], gsfcmap.c [1.18], 10635gsfcmap.h [1.7], gsfcmap1.c [1.1], gsfont0c.c [1.1], gstype42.c [1.18], 10636gxfcmap.h [1.13], gxfcmap1.h [1.1], gxfont0c.h [1.1], gxfont42.h [1.8]: 106372002/04/08 21:02:44 lpd) 10638 10639Restores some performance lost as a result of the fix for SourceForge 10640#495414, by skipping a request for glyph widths which is redundant if the 10641font doesn't have Metrics or CDevProc. Addresses SourceForge #451456 (a 10642general request for better pdfwrite performance), which will be closed after 10643this change. (gxfont.h [1.10]: 2002/04/09 23:31:44 lpd) 10644 10645Brings dependencies in lib.mak up to date. (vdtrace.c [1.3]: 2002/04/12 1064605:55:39 lpd) 10647 10648Splits off the md5 test program into a separate file; removes support for 10649non-ANSI compilers; makes byte order test either static or dynamic. 10650(md5.c [1.6], md5.h [1.4]: 2002/04/13 19:20:28 lpd) 10651 10652Defines a floating-point range type gs_range_t in gstypes.h; redefines the 10653existing gs_range type in gscie.h in terms of it. (gscie.h [1.8], 10654gstypes.h [1.6]: 2002/04/18 05:59:21 lpd) 10655 10656Committing in . Type-cast fix Modified Files: gs/src/gsfcid2.c 10657(gsfcid2.c [1.2]: 2002/04/18 10:15:47 joukj) 10658 10659Adds a make_scaled virtual procedure to Function objects, to create a 10660modified Function whose N output values are transformed linearly according 10661to a supplied set of N range parameters. This is the first installment for 10662implementing conversion of extended-range CIEBased color spaces to ICCBased 10663spaces in pdfwrite. (gsfunc.c [1.7], gsfunc.h [1.7], gsfunc0.c [1.8], 10664gsfunc3.c [1.8], gsfunc4.c [1.10], gxfunc.h [1.6]: 2002/04/19 01:17:53 lpd) 10665 10666Documents the need to use ctm_only when passing the CTM of an imager state 10667to procedures such as gs_point_transform. (gxistate.h [1.10]: 2002/04/21 1066822:04:49 lpd) 10669 10670Removes unused gdevht halftoning "device". Part of DeviceN task list. 10671(gxclrast.c [1.13], gxclread.c [1.6]: 2002/04/22 23:01:47 raph) 10672 10673Reorganizes code slightly to better document the fact that font notification 10674lists must be allocated in stable memory. (gsfcid2.c [1.3], gsfont.c [1.8], 10675gxfont.h [1.11]: 2002/05/02 21:00:40 lpd) 10676 10677Documents the fact that driver procedures other than put_params must not 10678reset is_open, and the invariant that requires any device instance 10679referenced from a graphics state to be open. (gxdevcli.h [1.9]: 2002/05/02 1068022:36:47 lpd) 10681 10682Add missing headers so types are properly defined. Fixes SF bug #547357. 10683(gxclrast.c [1.14]: 2002/05/09 18:24:17 giles) 10684 10685Changed END_OBJECT_SCAN to call gs_abort() instead of gs_exit in a debug 10686system when a chunk parsing error occurs. If gs_abort() is never to be 10687called such as during a debug dump END_OBJECT_SCAN_NO_ABORT can be called. 10688(gsalloc.c [1.15], gxalloc.h [1.9]: 2002/05/13 16:26:50 stefan) 10689 10690gs_exit() cleanup. gs_exit() is renamed gs_to_exit() since it is an about to 10691terminate cleanup function, it always returns. Both gs_to_exit() and 10692gs_abort are client provided functions. The client can have its own special 10693cleanup on exit, and the client can decide what it wants to do in the abort 10694case: exit, setjump/longjump, ... gp_do_exit() is the way for the client to 10695call a system independent exit() this allows for different exit codes on 10696unix and vms for instance. Only the client can call this, if so desired from 10697their gs_abort(). (gsexit.h [1.7], gslib.c [1.9]: 2002/05/14 14:59:41 10698stefan) 10699 10700Simplifies the C implementation of the known Encodings, and makes it conform 10701better to Ghostscript standard coding style. (gscedata.c [1.2], 10702gscedata.h [1.1], gscencs.c [1.2]: 2002/05/14 23:33:18 lpd) 10703 10704Changes the 'base' and 'factor' for CIE caches from float to double, to 10705avoid numerical inaccuracies. (gscie.h [1.10]: 2002/05/15 23:40:56 lpd) 10706 10707Removes an inappropriate e-mail address from a comment. (gscencs.c [1.4]: 107082002/05/24 19:15:20 lpd) 10709 10710Adds an #ifndef to allow gs_cid_system_info_t to be defined as an abstract 10711type. (gxcid.h [1.6]: 2002/05/28 02:41:45 lpd) 10712 10713Adds a GC descriptor for gs_font_info_t. (gsfont.c [1.9], gxfont.h [1.12]: 107142002/05/30 07:11:51 lpd) 10715 10716Makes the GC descriptor public for allocating the FDArray of CIDFontType 0 10717fonts. (gsfcid.c [1.9], gxfcid.h [1.10]: 2002/05/30 13:43:12 lpd) 10718 10719gs_cjk project : handle "cidchar" map correctly. Fix by mpsuzuki. (ported 10720from gs7.05) (gsfcmap1.c [1.2]: 2002/06/02 11:54:38 mpsuzuki) 10721 10722gs_cjk project : bugfix for nested FMapType4/5 OCF. Fix by suzuki toshiya. 10723(ported from gs7.05) (gschar0.c [1.6]: 2002/06/02 11:56:23 mpsuzuki) 10724 10725gs_cjk project : cshow bug fix for CIDFontType2. Fix by Hideyuki Suzuki. 10726(ported from gs7.05) (gxchar.c [1.11]: 2002/06/02 11:58:21 mpsuzuki) 10727 10728gs_cjk project : glyph cache bug patch for vertical writing mode. Fallback 10729against inconsistency in double checking of glyph cache. The inconsistency 10730causes misplacement of CJK glyph in vertical writing mode. Fix by Hideo 10731Saito. (ported from gs7.05) (gxchar.c [1.12], gxchar.h [1.7]: 2002/06/02 1073211:59:20 mpsuzuki) 10733 10734gs_cjk project : glyphshow in vertical writing mode bug patch. Originally, 10735FontBBox_as_Metrics2 was set when charcode string is decoded into CIDs. 10736"glyphshow" bypasses such decoding procedure, thus FontBBox_as_Metrics2 is 10737not set. Fix by Masatake Yamato. (ported from gs7.05) (gstext.c [1.9]: 107382002/06/02 11:59:57 mpsuzuki) 10739 10740gs_cjk project : return error when we cannot load even CID=0. Fix by 10741mpsuzuki. (ported from gs7.05) (gxchar.c [1.13]: 2002/06/02 12:01:31 10742mpsuzuki) 10743 10744Improves documentation of the open_device and open_file procedures in 10745gx_io_device. (gxiodev.h [1.5]: 2002/06/02 19:27:41 lpd) 10746 10747Adds upper-case versions of some macros, retaining the lower-case versions 10748for backward compatibility. (gsccode.h [1.7]: 2002/06/03 16:54:27 lpd) 10749 10750Adds an API for writing TrueType and CIDFontType 2 fonts without any glyphs. 10751pdfwrite uses this internally for copying fonts. (gdevpsf.h [1.15], 10752gdevpsft.c [1.14]: 2002/06/04 14:51:00 lpd) 10753 10754Cleans up a number of design problems in the font callback procedures: 1) 10755Eliminates the gx_xfont_callbacks structure entirely. The known_encode 10756procedure is no longer needed: the new facilities in gscencs.[hc] make it 10757unnecessary, and none of the three implementors of the xfont interface use 10758it. See below regarding glyph_name. This is a NON-BACKWARD- COMPATIBLE 10759change for all clients of the glyph_name and known_encode procedures (of 10760which there are, respectively, 11 and 0 in the current code base), and for 10761all places that define gs_font_procs structures statically or initialize the 10762callbacks dynamically (of which there are currently only two, one in 10763gsfont.c and one in zbfont.c). There are also 3 identical places in the 10764GhostPCL code (in plfont.c, plffont.c, and plufont.c) that will require very 10765minor changes, with a small net reduction in code. 2) Deletes the 10766char_xglyph2 procedure from gx_xfont_procs. It is optional, and none of the 10767three current xfont implementations implements it. 3) Changes the 10768char_xglyph procedure in gx_xfont_procs so that instead of a glyph_name 10769callback procedure, it takes a const gs_string * argument that is the actual 10770glyph name (if the glyph is not gs_no_glyph and is not a CID). This is a 10771NON-BACKWARD-COMPATIBLE change for both clients and implementors of xfonts. 10772(At present, there are 3 implementors, none of which use the glyph_name 10773callback, and a single client call in gxccache.c.) 4) Moves the glyph_name 10774procedure, which is still required for other purposes, to gs_font_procs, 10775changing its declaration to int (*glyph_name)(gs_font *font, gs_glyph glyph, 10776gs_const_string *pstr); This is a NON-BACKWARD-COMPATIBLE change for 10777clients, but they must already change because of item (1) above. 5) 10778Eliminates the registered_Encodings array in the PostScript interpreter, 10779substituting the C representation of the known Encodings. 10780(gdevpsf1.c [1.13], gdevpsf2.c [1.20], gdevpsft.c [1.15], gsccode.h [1.8], 10781gscencs.c [1.5], gscencs.h [1.2], gsfont.c [1.10], gxccache.c [1.8], 10782gxchar.c [1.14], gxchar.h [1.8], gxfont.h [1.13], gxxfont.h [1.5]: 107832002/06/09 23:08:22 lpd) 10784 10785Extends Type 42 fonts at the library level so that if their instantiator 10786provides a mechanism for named glyphs (such as the PostScript Type 42 10787CharStrings dictionary), they will be accepted by glyph_info et al. Required 10788for the new font copying code. (gstype42.c [1.19], gxfont42.h [1.9]: 107892002/06/11 20:26:41 lpd) 10790 10791Improves documentation for the gs_glyph data type. (gsccode.h [1.9], 10792gscencs.h [1.3]: 2002/06/14 01:57:44 lpd) 10793 10794Improves a few comments, and changes pdf_write_font_resources to 10795pdf_close_text_document for greater clarity. (gdevpsf.h [1.16]: 2002/06/15 1079621:11:53 lpd) 10797 10798Removes all uses of the now-deprecated Pn macros from PostScript interpreter 10799header files. (vdtrace.h [1.5]: 2002/06/16 04:47:10 lpd) 10800 10801Removes all uses of the now-deprecated Pn macros from system header 10802wrappers. (malloc_.h [1.5], math_.h [1.5], memory_.h [1.6], pipe_.h [1.5]: 108032002/06/16 05:03:12 lpd) 10804 10805Removes all uses of the now-deprecated Pn macros from all remaining .c 10806files. (gdevalph.c [1.5], gdevdgbr.c [1.5], gdevdrop.c [1.6], 10807gdevm8.c [1.5], gdevprn.c [1.10], gdevprna.c [1.5], gdevpsf1.c [1.14], 10808gdevpsft.c [1.17], gp_getnv.c [1.5], gp_strdl.c [1.5], gp_unifs.c [1.9], 10809gsalloc.c [1.16], gsalphac.c [1.5], gsargs.c [1.7], gsbittab.c [1.5], 10810gscdevn.c [1.9], gschar.c [1.6], gscie.c [1.13], gsciemap.c [1.11], 10811gscolor.c [1.8], gscolor1.c [1.7], gscolor2.c [1.9], gscoord.c [1.8], 10812gscsepr.c [1.16], gsdparam.c [1.9], gsdps.c [1.5], gsflip.c [1.5], 10813gsfunc0.c [1.9], gshsb.c [1.5], gsht.c [1.5], gsht1.c [1.6], 10814gshtscr.c [1.9], gsimpath.c [1.5], gsiodevs.c [1.5], gslib.c [1.10], 10815gsmalloc.c [1.10], gsmatrix.c [1.5], gsnogc.c [1.10], gsnotify.c [1.5], 10816gsparam2.c [1.5], gsparams.c [1.5], gspath.c [1.6], gspath1.c [1.6], 10817gsptype1.c [1.6], gsstate.c [1.15], gstrans.c [1.16], gstrap.c [1.6], 10818gstype42.c [1.20], gxccache.c [1.9], gxccman.c [1.5], gxchar.c [1.15], 10819gxcht.c [1.7], gxclimag.c [1.6], gxclip.c [1.8], gxclipm.c [1.6], 10820gxclist.c [1.6], gxclmem.c [1.5], gxclpath.c [1.12], gxclrast.c [1.15], 10821gxclread.c [1.7], gxcpath.c [1.6], gxfapi.c [1.6], gxfill.c [1.11], 10822gxhint1.c [1.5], gxhint2.c [1.6], gxhint3.c [1.6], gxht.c [1.6], 10823gxidata.c [1.7], gxifast.c [1.7], gximag3x.c [1.11], gximage.c [1.5], 10824gximage3.c [1.9], gxipixel.c [1.6], gxp1fill.c [1.5], gxpageq.c [1.5], 10825gxpath.c [1.5], gxpcmap.c [1.6], gxpcopy.c [1.6], gxpdash.c [1.5], 10826gxshade.c [1.11], gxshade6.c [1.6], gxstroke.c [1.5]: 2002/06/16 05:48:54 10827lpd) 10828 10829Removes all uses of the now-deprecated Pn macros from the gp*.h (platform 10830interface) header files. (gp.h [1.12], gpcheck.h [1.5], gpgetenv.h [1.5], 10831gpmisc.h [1.5], gpsync.h [1.5]: 2002/06/16 06:59:02 lpd) 10832 10833Removes all uses of the now-deprecated Pn macros from driver-related headers 10834(gdev*.h). (gdevbbox.h [1.5], gdevcmap.h [1.5], gdevmem.h [1.6], 10835gdevmpla.h [1.5], gdevmrop.h [1.6], gdevmrun.h [1.5], gdevplnx.h [1.5], 10836gdevppla.h [1.5], gdevprn.h [1.10], gdevprna.h [1.5], gdevpsf.h [1.17], 10837gdevvec.h [1.10]: 2002/06/16 07:25:26 lpd) 10838 10839Removes all uses of the now-deprecated Pn macros from the remaining library 10840header files. (gdebug.h [1.6], gsalloc.h [1.5], gsalpha.h [1.5], 10841gsalphac.h [1.5], gsargs.h [1.7], gsbitops.h [1.5], gscdefs.h [1.5], 10842gscdevn.h [1.6], gschar.h [1.6], gscie.h [1.12], gscindex.h [1.5], 10843gsclipsr.h [1.5], gscolor.h [1.6], gscolor1.h [1.5], gscolor2.h [1.6], 10844gscolor3.h [1.5], gscompt.h [1.5], gscoord.h [1.5], gscpixel.h [1.5], 10845gscrd.h [1.5], gscrdp.h [1.5], gscrypt1.h [1.5], gscsepr.h [1.7], 10846gscspace.h [1.11], gscssub.h [1.5], gsdcolor.h [1.7], gsdevice.h [1.6], 10847gsdps.h [1.5], gsdsrc.h [1.6], gserror.h [1.6], gsexit.h [1.8], 10848gsfcmap.h [1.8], gsflip.h [1.5], gsfname.h [1.5], gsfont.h [1.6], 10849gsfunc.h [1.8], gsfunc0.h [1.5], gsfunc3.h [1.5], gsfunc4.h [1.5], 10850gsgc.h [1.6], gshsb.h [1.5], gsht.h [1.5], gsht1.h [1.5], gshtx.h [1.5], 10851gsicc.h [1.6], gsimage.h [1.5], gsipar3x.h [1.7], gsiparam.h [1.7], 10852gsiparm2.h [1.5], gsiparm3.h [1.7], gsiparm4.h [1.5], gslib.h [1.5], 10853gsline.h [1.5], gsmalloc.h [1.5], gsmatrix.h [1.5], gsmdebug.h [1.6], 10854gsmemlok.h [1.5], gsmemory.h [1.7], gsmemraw.h [1.7], gsmemret.h [1.5], 10855gsnotify.h [1.5], gspaint.h [1.5], gsparam.h [1.11], gsparams.h [1.5], 10856gsparamx.h [1.6], gspath.h [1.5], gspath2.h [1.5], gspcolor.h [1.5], 10857gsptype1.h [1.5], gsptype2.h [1.7], gsrect.h [1.5], gsrefct.h [1.5], 10858gsrop.h [1.5], gsropc.h [1.5], gsropt.h [1.7], gsshade.h [1.6], 10859gsstate.h [1.5], gsstruct.h [1.13], gsstype.h [1.5], gstext.h [1.6], 10860gstparam.h [1.10], gstrans.h [1.9], gstrap.h [1.6], gstype1.h [1.6], 10861gsuid.h [1.5], gsutil.h [1.7], gxalloc.h [1.10], gxarith.h [1.5], 10862gxbcache.h [1.5], gxcdevn.h [1.5], gxchar.h [1.9], gxchrout.h [1.5], 10863gxcid.h [1.7], gxcie.h [1.7], gxcldev.h [1.8], gxclio.h [1.5], 10864gxclip.h [1.5], gxclip2.h [1.5], gxclist.h [1.5], gxclmem.h [1.5], 10865gxclpage.h [1.5], gxclpath.h [1.9], gxcmap.h [1.5], gxcolor2.h [1.7], 10866gxcomp.h [1.5], gxcoord.h [1.5], gxcpath.h [1.5], gxcspace.h [1.7], 10867gxctable.h [1.5], gxdcconv.h [1.5], gxdcolor.h [1.6], gxdevbuf.h [1.5], 10868gxdevcli.h [1.10], gxdevice.h [1.8], gxdevmem.h [1.5], gxdht.h [1.7], 10869gxdhtres.h [1.5], gxdither.h [1.5], gxfapi.h [1.6], gxfarith.h [1.6], 10870gxfcache.h [1.6], gxfcid.h [1.11], gxfixed.h [1.6], gxfmap.h [1.6], 10871gxfont.h [1.14], gxfont1.h [1.9], gxfont42.h [1.10], gxfunc.h [1.7], 10872gxgetbit.h [1.5], gxht.h [1.5], gxiclass.h [1.5], gximag3x.h [1.6], 10873gximage.h [1.6], gximage3.h [1.7], gxiodev.h [1.6], gxiparam.h [1.5], 10874gxistate.h [1.11], gxline.h [1.5], gxmatrix.h [1.7], gxmclip.h [1.5], 10875gxop1.h [1.5], gxp1impl.h [1.5], gxpageq.h [1.5], gxpaint.h [1.5], 10876gxpath.h [1.5], gxpcache.h [1.5], gxpcolor.h [1.5], gxropc.h [1.5], 10877gxrplane.h [1.5], gxsample.h [1.5], gxshade.h [1.8], gxshade4.h [1.5], 10878gxstate.h [1.5], gxsync.h [1.5], gxtext.h [1.10], gxtmap.h [1.5], 10879gxtype1.h [1.11], gxxfont.h [1.6], gzacpath.h [1.5], gzht.h [1.8], 10880gzline.h [1.5], gzpath.h [1.6]: 2002/06/16 08:45:42 lpd) 10881 10882Removes a few overlooked uses of the Pn macros. (gscrd.h [1.6], 10883gximag3x.h [1.7], gximage3.h [1.8]: 2002/06/16 08:55:53 lpd) 10884 10885Changes the writing of embedded TrueType (and CIDFontType 2) fonts so that 10886hmtx/vmtx are written only if the font already includes a hhea/vhea table. 10887This is not a perfect solution, but it is better than always writing both 10888hmtx and vmtx, because a TrueType rasterizer cannot make use of the *mtx 10889table without the corresponding *hea table. (gdevpsft.c [1.19]: 2002/06/18 1089022:50:51 lpd) 10891 10892Exports the default get_metrics procedure for Type 42 fonts, for use by 10893copied fonts. (gstype42.c [1.21], gxfont42.h [1.11]: 2002/06/19 00:27:57 10894lpd) 10895 10896Factors out a procedure for copying XUID data, for font copying. 10897(gsfont.c [1.11], gsuid.h [1.6], gsutil.c [1.8]: 2002/06/19 01:06:12 lpd) 10898 10899Adds support for incremental font copying, currently required only by the 10900new pdfwrite text code. (gxfcopy.c [1.1], gxfcopy.h [1.1]: 2002/06/19 1090115:52:29 lpd) 10902 10903Committing in . one (int*)->(unsigned int*) type cast added Modified 10904Files: gs/src/gschar0.c 10905---------------------------------------------------------------------- 10906(gschar0.c [1.7]: 2002/06/20 08:24:40 joukj) 10907 10908Adds some omitted definitions in gxfcopy.h. (gxfcopy.h [1.2]: 2002/06/21 1090922:36:09 lpd) 10910 10911Documents that gs_copy_glyph returns 0 if the glyph is newly copied, 1 if it 10912was already copied, and adjusts the code slightly to match. 10913(gxfcopy.c [1.2], gxfcopy.h [1.3]: 2002/06/21 22:56:18 lpd) 10914 10915Adds a procedure to copy the entire contents (glyphs and Encoding) of a 10916font. (gxfcopy.c [1.3], gxfcopy.h [1.4]: 2002/06/24 00:40:31 lpd) 10917 10918Update for Borland 5.5 Compiler. Files changes include bcwin32.mak, 10919dwmainc.c, unistd_.h, bcc32.cfg and Make.htm. Patch by Rod Webster (rodw). 10920SF#559565 (unistd_.h [1.7]: 2002/06/24 06:20:25 jeong) 10921 10922Adds double-definition protection so that gs_font_type0 can be used as an 10923abstract type. (gxfont0.h [1.6]: 2002/06/24 17:27:30 lpd) 10924 10925Adds a comment explaining the glyph copying algorithm in 10926gs_copy_font_complete. (gxfcopy.c [1.5]: 2002/06/24 23:06:31 lpd) 10927 10928Adds options to gs_copy_glyph to conditionally require that the glyph has or 10929has not been copied already. (gxfcopy.c [1.11], gxfcopy.h [1.5]: 2002/06/27 1093017:51:57 lpd) 10931 10932Adds a field to TrueType fonts to hold the true numGlyphs value from maxp. 10933(gstype42.c [1.22], gxfont42.h [1.12]: 2002/06/28 05:31:36 lpd) 10934 10935Exports the procedure for parsing the 'pieces' of a Type 1 or Type 2 10936CharString (the character codes referenced by 'seac' or the equivalent), if 10937any. Needed for font copying. (gxfont1.h [1.10], gxtype1.c [1.15]: 109382002/07/06 02:46:10 lpd) 10939 10940News.htm update, version number and date fixups. First commit mandated by 10941Release.htm, in preparation for 7.21 release. (gscdef.c [1.21]: 2002/07/08 1094220:09:54 raph) 10943 10944</pre><h2><a name="7.21-Other"></a>Other</h2><pre> 10945 10946Upgrade icclib to (proposed) 2.01 release. Patch has been sent to Graeme 10947Gill for consideration. (icclib/icc.c [1.7], icclib/icc.h [1.5], 10948icclib/icc9809.h [1.3]: 2002/04/18 18:28:56 raph) 10949 10950Removes trailing comma in enum. (icclib/icc.h [1.6]: 2002/04/18 20:28:54 10951raph) 10952 10953Update icclib to the latest 2.02 release. (icclib/Licence.txt [1.2], 10954icclib/Readme.txt [1.2], icclib/icc.c [1.8], icclib/icc.h [1.7]: 2002/04/22 1095518:30:25 giles) 10956 10957Add a configure option to enable COMPILE_INITS. After a patch from Michael 10958Sweet. (Makefile.in [1.14], configure.ac [1.17]: 2002/05/03 03:51:23 giles) 10959 10960Add a configure option for setting the name of the ghostscript executable. 10961From a patch by Michael Sweet. (Makefile.in [1.15], configure.ac [1.18]: 109622002/05/03 07:34:19 giles) 10963 10964</pre> 10965 10966<hr> 10967 10968<h1><a name="Version7.20"></a>Version 7.20 (2002-04-03)</h1> 10969 10970<p> 10971This is the first development release after the 7.0x series. While 10972it is a development release, it is likely to be quite stable and 10973robust, largely thanks to automated regression testing. 10974 10975<p> Major changes include: 10976 10977<ul> 10978<li>Support for external font renderers such as Agfa UFST. 10979 10980<li>An optional "diskn" feature that emulates the "%disk" devices 10981found on some Adobe printers. 10982 10983<li>The <tt><b>-dSAFER</b></tt> flag now tightens read access to 10984arbitrary files, as well as write access. Thus, 10985<tt><b>-dSAFER</b></tt> in this release is equivalent to 10986<tt><b>-dSAFER -dPARANOIDSAFER</b></tt> in 7.04. This will break some 10987viewers, notably gv. 10988 10989</ul> 10990 10991<p> In addition, the following improvements have been merged from 10992the 7.04 release: 10993 10994<ul> 10995 10996<li>A rather serious security hole, where PostScript code could cause 10997arbitrary commands to be executed, has been patched. 10998 10999<li>This release integrates the IJS driver, which makes it much easier 11000to add and upgrade printer drivers without needing to recompile 11001Ghostscript. 11002 11003<li>There is a configure script for automatically configuring the 11004build system on Unix platforms. Those who enjoy the fun of hand-editing 11005the makefile are still welcome to do so. 11006 11007</ul> 11008 11009<p> 11010And, of course, the usual bug fixing and performance enhancement. 11011 11012<p> 11013There has also been considerable development of our DeviceN 11014implementation and related color work on a private branch. These new 11015features are <em>not</em> included in this release. We expect to merge 11016them into the main branch soon. 11017 11018<p> 11019There exists another private branch which integrates PCL and PostScript/PDF 11020in the same executable. Again, that work is not reflected in this 11021release. 11022 11023<p> 11024The following SourceForge bug numbers were open at the time of release: 11025 219798, 11026 405342, 11027 406979, 11028 407342, 11029 414947 11030 414985, 11031 415142, 11032 416131, 11033 416830, 11034 418241, 11035 421057, 11036 423838, 11037 427193, 11038 427314, 11039 427347, 11040 428891, 11041 428973, 11042 432040, 11043 434277, 11044 436099, 11045 437285, 11046 438957, 11047 443745, 11048 446344, 11049 446672, 11050 448199, 11051 450663, 11052 451456, 11053 452155, 11054 453969, 11055 458261, 11056 458500, 11057 458775, 11058 458780, 11059 459647, 11060 462221, 11061 465720, 11062 465936, 11063 468762, 11064 472681, 11065 474745, 11066 475147, 11067 477644, 11068 479071, 11069 482033, 11070 482038, 11071 483629, 11072 484752, 11073 484753, 11074 485498, 11075 485510, 11076 485510, 11077 487953, 11078 493348, 11079 495319, 11080 498595, 11081 503794, 11082 505047, 11083 505151, 11084 505429, 11085 506375, 11086 508081, 11087 508675, 11088 509646, 11089 510808, 11090 511232, 11091 513905, 11092 514616, 11093 514898, 11094 515475, 11095 515966, 11096 516653, 11097 517349, 11098 518742, 11099 520686, 11100 520972, 11101 521354, 11102 521597, 11103 521664, 11104 521916, 11105 522486, 11106 522507, 11107 524292, 11108 525508, 11109 525712, 11110 526099, 11111 526491, 11112 527152, 11113 527525, 11114 528647, 11115 529103, 11116 529411, 11117 529578, 11118 530011, 11119 530213, 11120 530588, 11121 531300, 11122 532468, 11123 533467, 11124 534637, 11125 535366, 11126 535395, 11127 535395, 11128 535401, 11129 535752, 11130 535836, 11131 535997, 11132 536863, 11133 536877, 11134 537066, 11135 538033, 11136 538042, 11137 538055, 11138 538267, 11139 538311, 11140 538398, 11141 538428. 11142 11143 11144<h3><a name="7.20_Incompatible_changes"></a>Incompatible changes</h3> 11145 11146<pre> 11147(Interpreter) 11148 - Updates clients and implementors for the new glyph outline data 11149structure. 11150 - -dSAFER flag now restricts read access to arbitrary files in 11151addition to restricting write access. 11152 - While not strictly an incompatible change, authors of drivers 11153with potential security implications are encouraged to review the 11154security changes, including the LockSafetyParams mechanism. 11155 11156(Library) 11157 - Changes all procedures for getting glyph outline data to return 11158the data by storing it into a gs_glyph_data_t structure that includes memory 11159management information. This is a NON-BACKWARD-COMPATIBLE change to both 11160implementors and clients. It corrects a significant design error: formerly 11161these procedures encoded memory management information in their return code, 11162which was obscure and error-prone. See src/gsgdata.[hc]. 11163</pre> 11164 11165<h2><a name="7.20-Documentation"></a>Documentation</h2><pre> 11166 11167Fixes problems: 11168 - Fixes minor problems with the English introduced by the most 11169recent change. (doc/Use.htm [1.37]: 2001/12/08 15:41:28 lpd) 11170 - A "\" should have been a "\e" for troff. (fix from Nelson Beebe) 11171(man/ansi2knr.1 [1.3]: 2001/12/31 22:43:35 lpd) 11172 - some files were missing the RCS 'Id' line with the last 11173modification date. partial fix for Sourceforge bug #500922. 11174(doc/index.html [1.3]: 2002/01/09 21:04:20 giles) 11175 - gdevpdfc.h and gdevpdfk.c weren't listed in Develop.htm. 11176(doc/Develop.htm [1.52]: 2002/01/09 23:26:05 lpd) 11177 - Fixes a couple of minor formatting errors. 11178(doc/C-style.htm [1.23]: 2002/01/16 16:05:54 lpd) 11179 - Improve security in a (mostly) backward compatible fashion adding 11180more flexible file access paths (PermitFile...) as user paramters and adding 11181the facility to return to NOSAFER mode after running jobs (files/procedures) 11182in SAFER mode. This should address SF bug #474582 and eliminate the need for 11183the RedHat PARANOIDSAFER patch. (doc/Language.htm [1.38], 11184doc/Use.htm [1.40]: 2002/01/24 06:33:33 rayjj) 11185 - pdfwrite often gave an error if a name with embedded special 11186characters was a key or value in a pdfmark dictionary. Fixes SourceForge 11187#505877. (doc/Language.htm [1.39]: 2002/01/29 02:54:43 lpd) 11188 - new releases should be uploaded to 11189ftp://upload.sourceforge.net/incoming. (doc/Release.htm [1.44]: 2002/02/18 1119002:47:59 giles) 11191 - Check in corrected module after "admin -ko" change to prevent the 11192$Id: lines from having the keyword replacement. This was broken for a LONG 11193time. (doc/gsdoc.el [1.4]: 2002/02/22 19:08:29 ray) 11194 - POSIX 2001 has obsoleted tail +128c. Document the new convention 11195'tail -c +129' as an alternate. (doc/Use.htm [1.46]: 2002/03/28 21:28:06 11196giles) 11197 - use UTC universally in the prerelease check script to avoid 11198spurious errors due to timezone differences (doc/API.htm [1.19], 11199doc/Bug-form.htm [1.25], doc/Bug-info.htm [1.24], doc/C-style.htm [1.30], 11200doc/Commprod.htm [1.17], doc/Copying.htm [1.17], doc/Current.htm [1.17], 11201doc/DLL.htm [1.19], doc/Develop.htm [1.68], doc/Devices.htm [1.42], 11202doc/Drivers.htm [1.25], doc/Fonts.htm [1.26], doc/Helpers.htm [1.21], 11203doc/History1.htm [1.17], doc/History2.htm [1.17], doc/History3.htm [1.17], 11204doc/History4.htm [1.17], doc/History5.htm [1.19], doc/History6.htm [1.34], 11205doc/Htmstyle.htm [1.22], doc/Install.htm [1.30], doc/Issues.htm [1.20], 11206doc/Language.htm [1.45], doc/Lib.htm [1.19], doc/Maintain.htm [1.27], 11207doc/Make.htm [1.47], doc/New-user.htm [1.34], doc/Projects.htm [1.40], 11208doc/Ps-style.htm [1.15], doc/Ps2epsi.htm [1.19], doc/Ps2pdf.htm [1.38], 11209doc/Psfiles.htm [1.29], doc/Readme.htm [1.36], doc/Release.htm [1.51], 11210doc/Source.htm [1.17], doc/Tester.htm [1.16], doc/Testing.htm [1.4], 11211doc/Unix-lpr.htm [1.17], doc/Use.htm [1.48], doc/Xfonts.htm [1.17], 11212doc/gs-vms.hlp [1.16], man/dvipdf.1 [1.12], man/font2c.1 [1.12], 11213man/gs.1 [1.12], man/gslp.1 [1.12], man/gsnd.1 [1.12], man/pdf2dsc.1 [1.12], 11214man/pdf2ps.1 [1.14], man/pdfopt.1 [1.12], man/pf2afm.1 [1.12], 11215man/pfbtopfa.1 [1.13], man/printafm.1 [1.12], man/ps2ascii.1 [1.12], 11216man/ps2epsi.1 [1.12], man/ps2pdf.1 [1.16], man/ps2pdfwr.1 [1.15], 11217man/ps2ps.1 [1.19], man/wftopfa.1 [1.12]: 2002/03/29 00:44:34 giles) 11218 - bring Release.htm more up-to-date with current practice 11219(doc/Release.htm [1.52]: 2002/03/29 03:17:14 giles) 11220 - update the instructions for cvs2hist.py to reflect the new 11221branch-sensitivity options. (doc/Release.htm [1.53]: 2002/03/29 07:42:04 11222giles) 11223 - the cvs2hist invocation must use -b in the rlog tags, rather than 11224-r to correctly identify the head branch. Some files are tagged as 'MAIN' 11225rather than 'HEAD'. (doc/Release.htm [1.57]: 2002/04/03 06:44:57 giles) 11226 - further clarify the call to cvs2hist for the main branch. 11227(doc/Release.htm [1.59]: 2002/04/03 07:22:45 giles) 11228 11229Advises coders not to "shadow" a local variable or procedure parameter with 11230an inner local variable of the same name. (doc/C-style.htm [1.22]: 112312001/10/21 02:08:20 lpd) 11232 11233Changes all procedures for getting glyph outline data to return a structure 11234that includes memory management information. This is a 11235NON-BACKWARD-COMPATIBLE change to both implementors and clients. It corrects 11236a serious design error: formerly these procedures encoded memory management 11237information in their return code, which was obscure and error-prone. 11238(doc/Develop.htm [1.48]: 2001/10/21 06:20:08 lpd) 11239 11240Removes the admonishment to update PVERSION and JVERSION from the Makefile 11241documentation. The build dependencies were removed earlier to reduce user 11242confusion; they're currently vestigial in expectation of future build 11243incompatibilities. This is the second half of the fix for sf bug #457838. 11244(doc/Make.htm [1.37]: 2001/10/24 22:22:35 giles) 11245 11246Adds a reference to the v7.xx History file. (doc/gs.css [1.2]: 2001/10/24 1124722:33:38 giles) 11248 11249Build and use documentation for the FAPI project. (doc/Make.htm [1.38], 11250doc/Use.htm [1.34]: 2001/10/30 20:55:11 igorm) 11251 11252Adds a requested enhancement: pdfwrite should emit warnings when 11253appropriate. (doc/Projects.htm [1.34]: 2001/11/12 22:31:27 lpd) 11254 11255FAPI project: fixing misspelled keyword in Use.htm . (doc/Use.htm [1.35]: 112562001/11/20 13:41:41 igorm) 11257 11258adds documentation for the MacOS X framework build. (doc/Make.htm [1.39]: 112592001/11/25 07:17:23 giles) 11260 11261Adds more documentation about when the garbage collector can be invoked. 11262(doc/Develop.htm [1.49]: 2001/12/06 01:45:58 lpd) 11263 11264Adds additional documentation about continuations on the PostScript e-stack. 11265(doc/Develop.htm [1.50]: 2001/12/06 04:16:27 lpd) 11266 11267Adds extensionless aliases for all the scripts used in the normal build 11268process; renames pre as pre.tcl; adds an Id line to smoke.ps; updates 11269documentation to match. (doc/Release.htm [1.41]: 2001/12/07 07:16:42 lpd) 11270 11271Implementing a mapped resource category redefiner; Provide a map for CIDFont 11272category; Reorganize the mapping algorithm for FAPI. (doc/Use.htm [1.36]: 112732001/12/08 11:31:20 igorm) 11274 11275Updates pdfwrite to match Acrobat Distiller 5 more closely: adds 11276OffOptimizations and PreserveEPSInfo parameters; adds /ebook value for 11277PDFSETTINGS; changes some of the DCTEncode parameter values for 11278auto-filtered images; adds CreationDate and ModDate in Info dictionary; 11279always subsets non Type 1 fonts. (doc/Ps2pdf.htm [1.33]: 2001/12/09 00:07:56 11280lpd) 11281 11282FAPI project : implementing CID fonts with FAPI. (doc/Use.htm [1.38]: 112832001/12/12 23:02:08 igorm) 11284 11285Finishes removing support for pre-ANSI (a.k.a. "traditional" or "K&R") C 11286compilers. (doc/Develop.htm [1.51], doc/Make.htm [1.40]: 2001/12/13 18:11:09 11287lpd) 11288 11289Improve security for device related access to the file system and to pipes 11290by allowing the dangerous parameters to be locked (for example, OutputFile). 11291The locking is performed after command line parameters are established. 11292Locking is not turned on by default as a result of this change, but 11293-d.LockSafetyParams=true can be added to the command line to accomplish 11294this. Related to SF bug #474582 (sort of). (doc/Language.htm [1.35]: 112952001/12/22 00:44:01 rayjj) 11296 11297Adds some brief documentation about using the framework build of ghostscript 11298with MacOS X. (doc/API.htm [1.12]: 2002/01/04 03:52:25 giles) 11299 11300Adds a very modest checksource script for checking the conformance of source 11301files with coding and architectural standards. This script should eventually 11302be run as part of nightly regression testing. (doc/Release.htm [1.42]: 113032002/01/08 08:21:51 lpd) 11304 11305FAPI project : Define new device parameter .EmbedFontObjects to disable FAPI 11306for devices which embed fonts. (doc/Use.htm [1.39]: 2002/01/08 11:10:24 11307igorm) 11308 11309FAPI project : Define new device parameter .EmbedFontObjects to disable FAPI 11310for devices which embed fonts. (doc/Language.htm [1.36]: 2002/01/08 11:46:14 11311igorm) 11312 11313Improves the description of .EmbedFontObjects. (doc/Language.htm [1.37]: 113142002/01/10 17:10:49 lpd) 11315 11316Changes the extension of the tiger and golfer example files to '.eps' to 11317accurately reflect their internal filetype. (doc/Devices.htm [1.35], 11318doc/Make.htm [1.41], doc/Psfiles.htm [1.23]: 2002/01/10 22:21:33 giles) 11319 11320Adds basic documentation on using the ./configure script. 11321(doc/Make.htm [1.42], doc/Release.htm [1.43]: 2002/01/11 04:58:59 giles) 11322 11323Adds a CompressFonts parameter to pdfwrite to control whether embedded fonts 11324are compressed, to help debugging. The default value is true. 11325(doc/Ps2pdf.htm [1.34]: 2002/01/29 01:03:26 lpd) 11326 11327An addition to Issues.htm about hybrid fonts and the job server loop. Source 11328Forge bug [500941] /rangecheck in --.type1execchar--. Thanks to L. Peter 11329Deutsch for participation. (doc/Issues.htm [1.16]: 2002/01/30 01:12:23 11330igorm) 11331 11332Adds a new documentation section on display devices along with a basic 11333description of the x11 devices. (doc/Devices.htm [1.36]: 2002/01/30 07:34:45 11334giles) 11335 11336Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 11337distribution. Also includes autoconf patch by Ralph Giles. 11338(doc/Develop.htm [1.53]: 2002/01/31 20:47:12 raph) 11339 11340Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 11341distribution. Also includes autoconf patch by Ralph Giles. 11342(doc/Devices.htm [1.37]: 2002/01/31 20:47:16 raph) 11343 11344Minor change from 'search' to 'filenameforall' in discussion about the 11345wildcard characters in PermitFile... strings. (doc/Language.htm [1.40]: 113462002/01/31 21:18:08 rayjj) 11347 11348Documentation and makefile updates for IJS driver. (doc/Devices.htm [1.38]: 113492002/02/01 03:17:12 raph) 11350 11351Documents the work-around of using '#' instead of '=' to separate command 11352line options from their arguments. The was previously listed only as a quirk 11353of the Wacom build on MS-DOS, but is also needed on win32 because the 11354command shell treats '=' as whitespace in passing arguments to batch files 11355(like ps2pdf.bat). Closes SourceForge bug #483066. Also documents that 11356MS-DOS is no longer a supported operating system. (doc/Use.htm [1.41]: 113572002/02/01 19:46:55 giles) 11358 11359Replaces the toolbin/regression directory with a new toolbin/tests directory 11360that includes all testing scripts. Adds and documents a framework for 11361writing and running testing scripts. (doc/Readme.htm [1.32], 11362doc/Testing.htm [1.1]: 2002/02/19 15:46:01 lpd) 11363 11364Cleans up a few loose ends from the transition to the new testing framework. 11365(doc/Testing.htm [1.2]: 2002/02/19 16:16:07 lpd) 11366 11367FAPI project : Providing basic documentation. (doc/Develop.htm [1.54], 11368doc/Psfiles.htm [1.24]: 2002/02/20 18:27:49 igor) 11369 11370Removes mention of SourceForge Bug #223005, which was closed before the 7.00 11371release. (doc/Issues.htm [1.17]: 2002/02/21 20:32:06 giles) 11372 11373Update banner to the new format common to all releases (AFPL, GPL and 11374Artifex Software's commercial release). References file LICENSE. 11375(doc/API.htm [1.13], doc/Bug-info.htm [1.21], doc/Copying.htm [1.14], 11376doc/Current.htm [1.14], doc/DLL.htm [1.16], doc/Develop.htm [1.55], 11377doc/Devices.htm [1.39], doc/Drivers.htm [1.22], doc/Fonts.htm [1.23], 11378doc/Helpers.htm [1.18], doc/Hershey.htm [1.4], doc/History1.htm [1.14], 11379doc/History2.htm [1.14], doc/History3.htm [1.14], doc/History4.htm [1.14], 11380doc/History5.htm [1.16], doc/History6.htm [1.31], doc/Htmstyle.htm [1.19], 11381doc/Humor.htm [1.4], doc/Install.htm [1.27], doc/Issues.htm [1.18], 11382doc/Language.htm [1.41], doc/Lib.htm [1.15], doc/Maintain.htm [1.24], 11383doc/Make.htm [1.43], doc/New-user.htm [1.31], doc/Projects.htm [1.35], 11384doc/Ps2epsi.htm [1.16], doc/Ps2pdf.htm [1.35], doc/Psfiles.htm [1.25], 11385doc/Public.htm [1.5], doc/Readme.htm [1.33], doc/Release.htm [1.45], 11386doc/Source.htm [1.14], doc/Unix-lpr.htm [1.14], doc/Use.htm [1.42], 11387doc/Xfonts.htm [1.14], doc/gs-vms.hlp [1.13], doc/gsdoc.el [1.2], 11388doc/index.html [1.4]: 2002/02/21 20:57:44 ray) 11389 11390Reverts to marking files with the single Id cvs tag instead of the RCSfile 11391and Revision pair. (doc/API.htm [1.14], doc/Bug-info.htm [1.22], 11392doc/Copying.htm [1.15], doc/Current.htm [1.15], doc/DLL.htm [1.17], 11393doc/Develop.htm [1.56], doc/Devices.htm [1.40], doc/Drivers.htm [1.23], 11394doc/Fonts.htm [1.24], doc/Helpers.htm [1.19], doc/Hershey.htm [1.5], 11395doc/History1.htm [1.15], doc/History2.htm [1.15], doc/History3.htm [1.15], 11396doc/History4.htm [1.15], doc/History5.htm [1.17], doc/History6.htm [1.32], 11397doc/Htmstyle.htm [1.20], doc/Humor.htm [1.5], doc/Install.htm [1.28], 11398doc/Language.htm [1.42], doc/Lib.htm [1.16], doc/Maintain.htm [1.25], 11399doc/Make.htm [1.44], doc/New-user.htm [1.32], doc/Projects.htm [1.36], 11400doc/Ps2epsi.htm [1.17], doc/Ps2pdf.htm [1.36], doc/Psfiles.htm [1.26], 11401doc/Public.htm [1.6], doc/Readme.htm [1.34], doc/Release.htm [1.46], 11402doc/Source.htm [1.15], doc/Unix-lpr.htm [1.15], doc/Use.htm [1.43], 11403doc/Xfonts.htm [1.15], doc/gs-vms.hlp [1.14], doc/gsdoc.el [1.3], 11404doc/index.html [1.5]: 2002/02/21 21:36:32 giles) 11405 11406Adds a description of the zfsample.c module. (doc/Develop.htm [1.57]: 114072002/02/22 21:38:41 dan) 11408 11409Adds a description of the .Widths array project, which would solve some 11410obscure problems when the PDF interpreter is given certain non-conforming 11411files. (doc/Projects.htm [1.37]: 2002/02/25 00:04:09 lpd) 11412 11413Adds wording to make it clearer that procedures must be documented in 11414explicit detail. (doc/Release.htm [1.47]: 2002/02/25 03:48:03 lpd) 11415 11416Removes auto-generated plain text versions of html documentation from cvs 11417and makes their creation an explicit part of the release process. 11418(doc/Release.htm [1.48]: 2002/02/25 20:54:30 giles) 11419 11420Implementing Visual Trace service to graphics library, and Visual Trace 11421server for Windows. (doc/API.htm [1.15], doc/Develop.htm [1.58], 11422doc/Lib.htm [1.17], doc/Projects.htm [1.38], doc/Use.htm [1.44]: 2002/02/26 1142316:09:15 igor) 11424 11425Remove the return_if_error macro from ALL occurrences and clean up some of 11426the C-style problems with the FAPI code. Add some of the new rules about 11427macros to C-style.htm. (doc/C-style.htm [1.24]: 2002/02/28 21:21:41 ray) 11428 11429FAPI project : Completing basic documentation. (doc/Develop.htm [1.59]: 114302002/03/01 15:07:03 igor) 11431 11432Specifies no initial indentation of preprocessor commands, but indentation 11433of 2 spaces per nesting level between the # and the command name. 11434(doc/C-style.htm [1.25]: 2002/03/05 18:12:51 lpd) 11435 11436Removes an unsightly paragraph break. (doc/C-style.htm [1.26]: 2002/03/05 1143718:15:12 lpd) 11438 11439Adds link to ijs.mak to basic developer documentation. 11440(doc/Develop.htm [1.60]: 2002/03/06 17:32:30 raph) 11441 11442Adds indications that pre-ANSI compilers are no longer supported. 11443(doc/Develop.htm [1.61]: 2002/03/07 19:29:50 giles) 11444 11445Adds the MacOS X platform-dependent makefiles to the developer 11446documentation. (doc/Develop.htm [1.62]: 2002/03/07 19:59:48 giles) 11447 11448Adds the Info-macos.plist framework description to the developer 11449documentation. (doc/Develop.htm [1.63]: 2002/03/07 20:06:49 giles) 11450 11451Adds the source files associated with the Autoconf build to the developer 11452documentation. (doc/Develop.htm [1.64]: 2002/03/07 20:13:56 giles) 11453 11454Documents the recommendation to use a suffixed underscore for local 11455variables introduced by macros. (doc/C-style.htm [1.27]: 2002/03/11 19:27:45 11456lpd) 11457 11458Add example code to doc/API.htm showing how to call the Ghostscript DLL as a 11459PostScript to PDF convertor. (doc/API.htm [1.16]: 2002/03/12 07:14:35 11460ghostgum) 11461 11462Correct typo in documentation. (doc/API.htm [1.17]: 2002/03/12 07:17:15 11463ghostgum) 11464 11465Update msvc32.mak and documentation to support compilation with Microsoft 11466Visual Studio .NET. This requires MSVC_VERSION=7. (doc/Make.htm [1.45]: 114672002/03/12 07:20:08 ghostgum) 11468 11469Documents how to build a Windows self-extracting archive for a ghostscript 11470distribution (doc/Release.htm [1.49]: 2002/03/12 07:25:58 ghostgum) 11471 11472Add a new optional FEATURE, diskn.dev that provides emulation of %disk 11473devices present on some Adobe printers. This version is NOT multiple 11474instance safe, but is useful for embedded printers or for server systems 11475with a single Ghostscript instance. Documentation is in Language.htm. 11476Addresses SourceForge bug #493344 for Artifex customer #411. 11477(doc/Language.htm [1.43]: 2002/03/13 20:27:38 ray) 11478 11479Adds -dNOTRANSPARENCY flag, which disables all PDF 1.4 transparency 11480processing. (doc/Use.htm [1.45]: 2002/03/14 15:53:08 raph) 11481 11482Add documentation for modules related to diskn.dev FEATURE (lib/gs_diskn.ps 11483and src/gsiodisk.c). (doc/Develop.htm [1.65], doc/Psfiles.htm [1.27]: 114842002/03/15 18:36:27 ray) 11485 11486Requests that authors of new macros put extra effort into documentation. 11487(doc/C-style.htm [1.28]: 2002/03/19 17:34:13 lpd) 11488 11489Add gs_diskn.ps to the list of Miscellaneous PostScript files. 11490(doc/Develop.htm [1.66]: 2002/03/22 00:59:25 ray) 11491 11492Update release dates in preparation of the upcoming development release 11493(doc/API.htm [1.18], doc/Bug-form.htm [1.24], doc/Bug-info.htm [1.23], 11494doc/C-style.htm [1.29], doc/Commprod.htm [1.16], doc/Copying.htm [1.16], 11495doc/Current.htm [1.16], doc/DLL.htm [1.18], doc/Develop.htm [1.67], 11496doc/Devices.htm [1.41], doc/Drivers.htm [1.24], doc/Fonts.htm [1.25], 11497doc/Helpers.htm [1.20], doc/History1.htm [1.16], doc/History2.htm [1.16], 11498doc/History3.htm [1.16], doc/History4.htm [1.16], doc/History5.htm [1.18], 11499doc/History6.htm [1.33], doc/Htmstyle.htm [1.21], doc/Install.htm [1.29], 11500doc/Issues.htm [1.19], doc/Language.htm [1.44], doc/Lib.htm [1.18], 11501doc/Maintain.htm [1.26], doc/Make.htm [1.46], doc/New-user.htm [1.33], 11502doc/Projects.htm [1.39], doc/Ps-style.htm [1.14], doc/Ps2epsi.htm [1.18], 11503doc/Ps2pdf.htm [1.37], doc/Psfiles.htm [1.28], doc/Readme.htm [1.35], 11504doc/Release.htm [1.50], doc/Source.htm [1.16], doc/Tester.htm [1.15], 11505doc/Testing.htm [1.3], doc/Unix-lpr.htm [1.16], doc/Use.htm [1.47], 11506doc/Xfonts.htm [1.16], doc/gs-vms.hlp [1.15], man/dvipdf.1 [1.11], 11507man/font2c.1 [1.11], man/gs.1 [1.11], man/gslp.1 [1.11], man/gsnd.1 [1.11], 11508man/pdf2dsc.1 [1.11], man/pdf2ps.1 [1.13], man/pdfopt.1 [1.11], 11509man/pf2afm.1 [1.11], man/pfbtopfa.1 [1.12], man/printafm.1 [1.11], 11510man/ps2ascii.1 [1.11], man/ps2epsi.1 [1.11], man/ps2pdf.1 [1.15], 11511man/ps2pdfwr.1 [1.14], man/ps2ps.1 [1.18], man/wftopfa.1 [1.11]: 2002/03/29 1151200:01:01 giles) 11513 11514Documents uncertainty regarding resolution setting parameter for 11515SPARCprinter devices. Closes SF bug #215256. (doc/Devices.htm [1.43]: 115162002/03/29 02:27:51 raph) 11517 11518Updates documentation on PDF problem files, removing non-POSIX compliant 11519suggested workaround. Thanks to Paul Eggers for pointing out the problem. 11520Fixes SF bug #521597. (doc/Use.htm [1.49]: 2002/03/29 04:25:13 raph) 11521 11522Document that other API programming examples are available on the 11523ghostscript web site. (doc/API.htm [1.20]: 2002/03/29 08:15:59 ghostgum) 11524 11525Further improves the description of the release process, particularly the 11526section on making GNU Ghostscript releases. (doc/Release.htm [1.54]: 115272002/03/29 23:40:41 giles) 11528 11529Updates the documentation with the new windows icons. 11530(doc/Develop.htm [1.69]: 2002/03/30 18:31:56 giles) 11531 11532minor cleanup of the release instructions (doc/Release.htm [1.55]: 115332002/03/31 00:28:07 giles) 11534 11535Updates release date for 7.20rc2 (doc/API.htm [1.21], 11536doc/Bug-form.htm [1.26], doc/Bug-info.htm [1.25], doc/C-style.htm [1.31], 11537doc/Commprod.htm [1.18], doc/Copying.htm [1.18], doc/Current.htm [1.18], 11538doc/DLL.htm [1.20], doc/Develop.htm [1.70], doc/Devices.htm [1.44], 11539doc/Drivers.htm [1.26], doc/Fonts.htm [1.27], doc/Helpers.htm [1.22], 11540doc/History1.htm [1.18], doc/History2.htm [1.18], doc/History3.htm [1.18], 11541doc/History4.htm [1.18], doc/History5.htm [1.20], doc/History6.htm [1.35], 11542doc/Htmstyle.htm [1.23], doc/Install.htm [1.31], doc/Issues.htm [1.21], 11543doc/Language.htm [1.46], doc/Lib.htm [1.20], doc/Maintain.htm [1.28], 11544doc/Make.htm [1.48], doc/New-user.htm [1.35], doc/Projects.htm [1.41], 11545doc/Ps-style.htm [1.16], doc/Ps2epsi.htm [1.20], doc/Ps2pdf.htm [1.39], 11546doc/Psfiles.htm [1.30], doc/Readme.htm [1.37], doc/Source.htm [1.18], 11547doc/Tester.htm [1.17], doc/Testing.htm [1.5], doc/Unix-lpr.htm [1.18], 11548doc/Use.htm [1.50], doc/Xfonts.htm [1.18], doc/gs-vms.hlp [1.17], 11549man/dvipdf.1 [1.13], man/font2c.1 [1.13], man/gs.1 [1.13], 11550man/gslp.1 [1.13], man/gsnd.1 [1.13], man/pdf2dsc.1 [1.13], 11551man/pdf2ps.1 [1.15], man/pdfopt.1 [1.13], man/pf2afm.1 [1.13], 11552man/pfbtopfa.1 [1.14], man/printafm.1 [1.13], man/ps2ascii.1 [1.13], 11553man/ps2epsi.1 [1.13], man/ps2pdf.1 [1.17], man/ps2pdfwr.1 [1.16], 11554man/ps2ps.1 [1.20], man/wftopfa.1 [1.13]: 2002/03/31 00:32:38 giles) 11555 11556further cleanups for release (doc/Release.htm [1.56]: 2002/03/31 00:45:57 11557giles) 11558 11559Update documentation for 7.20rc3 (doc/API.htm [1.22], 11560doc/Bug-form.htm [1.27], doc/Bug-info.htm [1.26], doc/C-style.htm [1.32], 11561doc/Commprod.htm [1.19], doc/Copying.htm [1.19], doc/Current.htm [1.19], 11562doc/DLL.htm [1.21], doc/Develop.htm [1.71], doc/Devices.htm [1.45], 11563doc/Drivers.htm [1.27], doc/Fonts.htm [1.28], doc/Helpers.htm [1.23], 11564doc/History1.htm [1.19], doc/History2.htm [1.19], doc/History3.htm [1.19], 11565doc/History4.htm [1.19], doc/History5.htm [1.21], doc/History6.htm [1.36], 11566doc/Htmstyle.htm [1.24], doc/Install.htm [1.32], doc/Issues.htm [1.22], 11567doc/Language.htm [1.47], doc/Lib.htm [1.21], doc/Maintain.htm [1.29], 11568doc/Make.htm [1.49], doc/New-user.htm [1.36], doc/Projects.htm [1.42], 11569doc/Ps-style.htm [1.17], doc/Ps2epsi.htm [1.21], doc/Ps2pdf.htm [1.40], 11570doc/Psfiles.htm [1.31], doc/Readme.htm [1.38], doc/Release.htm [1.58], 11571doc/Source.htm [1.19], doc/Tester.htm [1.18], doc/Testing.htm [1.6], 11572doc/Unix-lpr.htm [1.19], doc/Use.htm [1.51], doc/Xfonts.htm [1.19], 11573doc/gs-vms.hlp [1.18], man/dvipdf.1 [1.14], man/font2c.1 [1.14], 11574man/gs.1 [1.14], man/gslp.1 [1.14], man/gsnd.1 [1.14], man/pdf2dsc.1 [1.14], 11575man/pdf2ps.1 [1.16], man/pdfopt.1 [1.14], man/pf2afm.1 [1.14], 11576man/pfbtopfa.1 [1.15], man/printafm.1 [1.14], man/ps2ascii.1 [1.14], 11577man/ps2epsi.1 [1.14], man/ps2pdf.1 [1.18], man/ps2pdfwr.1 [1.17], 11578man/ps2ps.1 [1.21], man/wftopfa.1 [1.14]: 2002/04/03 06:56:07 giles) 11579 11580</pre><h2><a name="7.20-Procedures"></a>Procedures</h2><pre> 11581 11582Fixes problems: 11583 - tmake recognized the end of a rule body by a blank line, rather 11584than by a line that didn't begin with a tab. Fixes SourceForge #415170. 11585(toolbin/tmake.tcl [1.4]: 2001/10/24 05:45:55 lpd) 11586 - the icclib makefile comments were out of date; the build rule 11587referred to gs_stdio_h, which no longer exists; the build rule for gsicc.o 11588referred to icc_h, which was not defined at that point. (gs.mak [1.7], 11589icclib.mak [1.4], lib.mak [1.57]: 2001/10/25 21:17:16 lpd) 11590 - the recent (previous) update to tmake.tcl omitted a line, which 11591caused the detection of out-of-date files to stop working. 11592(toolbin/tmake.tcl [1.6]: 2001/10/25 22:02:11 lpd) 11593 - lib.mak failed to include the dependency of gxdevcli.h on 11594gstparam.h. (lib.mak [1.58]: 2001/10/31 07:10:59 lpd) 11595 - makes png the default device on macos which is better supported 11596than the pbm. (macosx.mak [1.2]: 2001/11/25 06:42:59 giles) 11597 - Repairs code problems with the fix for bug #224056: non-re-entrant 11598code, bad formatting, unused variables and computations, and a missing 11599#include. (int.mak [1.53]: 2001/12/07 05:41:59 lpd) 11600 - For images specified in general CIEBased color spaces, pdfwrite 11601would divide the image into tiny rectangles. If the output level is PDF 1.3 11602or higher, pdfwrite now converts the CIEBased color space to an ICCBased 11603space if possible. (devs.mak [1.48]: 2001/12/13 18:24:05 lpd) 11604 - Fix for #474544. Corrects inability to convert valid DeviceN tint 11605transform functions into type 4 functions. Valid operator names were not 11606being recognized unless the tint transform function had been bound. One of 11607two fixes required for this problem. Customer #710. (int.mak [1.57]: 116082002/01/11 05:09:22 dancoby) 11609 - Fix for #474544. This is the second of two fixes required for this 11610problem. This fix creates a type 0 function which implements a "color cube" 11611for those tint transform functions which cannot be converted into a type 4 11612function. Customer #710. Note: There is one more revision planned for this 11613effort. This revision will make the buildcolorcube operator into a more 11614general buildsampledfunction. This will allow its use in other situations. 11615(int.mak [1.58]: 2002/01/17 05:53:40 dancoby) 11616 - Disables optimization on OpenVMS, because some OpenVMS C compilers 11617produce incorrect code for gdevpsfx.c. Fixes SourceForge #508722. 11618(openvms.mak [1.19], openvms.mmk [1.14]: 2002/02/05 19:54:14 lpd) 11619 - Fix 3 of 3 for #474544 "Core dump - shfill error with DeviceN". 1. 11620Recognizes already encapsulated tint transform functions. 2. Generalizes the 11621color cube logic for use in other situations. 3. Uses the domain of the 11622alternate color space for the range of the tint transform function. 11623(int.mak [1.60]: 2002/02/06 02:35:11 dancoby) 11624 - ps2pdf14 was not being installed by unixinst.mak. Fixes 11625SourceForge bug #508607. (unixinst.mak [1.22]: 2002/02/06 07:16:17 jackiem) 11626 - Fixes cvs2hist.py to be branch-aware, changing log selection 11627policy from "all logs more recent than the date of the last tag" to "all 11628logs along the current branch more recent than the reference tag given in 11629the -j option". (toolbin/cvs2hist.py [1.10]: 2002/02/06 21:11:54 raph) 11630 - pkmraw device was not built by Windows makefile, but it is 11631required for regression testing. (msvc32.mak [1.23]: 2002/02/18 11:22:17 11632igor) 11633 - ijs.mak had the wrong license header (ijs.mak [1.3]: 2002/02/19 1163423:59:34 giles) 11635 - reverts the license of ijs.mak to AFPL; the previous change was 11636intended for the GPL branch. (ijs.mak [1.4]: 2002/02/20 00:16:00 giles) 11637 - check_docrefs didn't pass the gsroot parameter down far enough. 11638(toolbin/tests/check_docrefs.py [1.3]: 2002/02/20 07:10:14 lpd) 11639 - The Ghostscript test class didn't initialize the new member 11640gsoptions. (bug introduced by Windows portability patch) 11641(toolbin/tests/gstestgs.py [1.3]: 2002/02/20 07:14:35 lpd) 11642 - The check_dirs test script still tried to check 11643toolbin/regression, which no longer exists. 11644(toolbin/tests/check_dirs.py [1.3]: 2002/02/21 22:19:03 lpd) 11645 - The check_source test script didn't properly skip src/gconf.h, and 11646it was too strict about the form of double-inclusion protection for header 11647files. (toolbin/tests/check_source.py [1.3]: 2002/02/21 22:22:49 lpd) 11648 - Add LICENSE file and the few files generated by autogen.sh to the 11649allowed files in check_dir.py. (toolbin/tests/check_dirs.py [1.5]: 116502002/02/22 00:34:54 jack) 11651 - The check_docrefs test script skipped over directories named by 11652links. (toolbin/tests/check_docrefs.py [1.6]: 2002/02/22 02:42:35 lpd) 11653 - Include gs_resmp.ps into the prelude with ADDMOD rather than 11654.runlibfile (suggested by Raymond J. Johnston), and increase MSVC compiler 11655heap for building gs_init.c with COMPILE_INITS=1. Source Forge bug "[ 526192 11656] Broken COMPILE_INITS". (int.mak [1.64], msvccmd.mak [1.9]: 2002/03/06 1165708:55:16 igor) 11658 - Second attempt to fix COMPILE_INITS=1. This statically embeds all 11659gs_*.ps files, xlatmap and FAPIconfig. Source Forge bug "[ 526192 ] Broken 11660COMPILE_INITS". (int.mak [1.65]: 2002/03/07 10:52:06 igor) 11661 - Definition for gsiodisk.$(OBJ) was multiply defined. Remove the 11662one that is not dependent on the diskn.dev FEATURE. (lib.mak [1.66]: 116632002/03/15 06:25:13 ray) 11664 - remove -fno-common from the standard gcc LDFLAGS. It is only 11665required at compile time and doesn't need to be passed to the linker. 11666(macosx.mak [1.7], unix-gcc.mak [1.29]: 2002/03/28 23:12:09 giles) 11667 - base release date on UTC rather than local time 11668(version.mak [1.43]: 2002/03/29 00:36:20 giles) 11669 - use UTC universally in the prerelease check script to avoid 11670spurious errors due to timezone differences (toolbin/pre.tcl [1.6]: 116712002/03/29 00:44:34 giles) 11672 - gsfont.h didn't define gs_matrix as an opaque type, causing 11673clients of gsfont.h to include gsmatrix.h unnecessarily. (lib.mak [1.68]: 116742002/03/29 00:48:21 lpd) 11675 - Makes pathname manipulation in check_dirs.py and check_docrefs.py 11676more portable and robust. (toolbin/tests/check_dirs.py [1.6], 11677toolbin/tests/check_docrefs.py [1.7]: 2002/03/29 02:32:54 raph) 11678 - Change spaces at start of rule to a single tab required by some 11679makes. (winint.mak [1.14]: 2002/04/02 16:27:56 ray) 11680 - Correct vdtrace.h dependencies. This eliminates >300 lines of 11681output from the gsmake.tcl makefile check tool. (int.mak [1.68], 11682lib.mak [1.69]: 2002/04/02 19:34:37 ray) 11683 - .dev was left off of uniprint.dev in a DEVICES macro 11684(msvc32.mak [1.29]: 2002/04/03 20:14:28 ray) 11685 11686Updates version number to 7.10 to indicate that this is now the development 11687branch. (version.mak [1.37]: 2001/10/20 09:25:22 raph) 11688 11689Changes all procedures for getting glyph outline data to return a structure 11690that includes memory management information. This is a 11691NON-BACKWARD-COMPATIBLE change to both implementors and clients. It corrects 11692a serious design error: formerly these procedures encoded memory management 11693information in their return code, which was obscure and error-prone. 11694(lib.mak [1.54]: 2001/10/21 06:20:08 lpd) 11695 11696FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 11697fonts including FCOs, and embedded fonts, including incremental ones. 11698(bcwin32.mak [1.13], dvx-gcc.mak [1.13], gs.mak [1.6], int.mak [1.51], 11699lib.mak [1.55], msvc32.mak [1.21], openvms.mak [1.17], openvms.mmk [1.13], 11700unix-gcc.mak [1.24], unixansi.mak [1.17], winlib.mak [1.13]: 2001/10/21 1170118:57:41 igorm) 11702 11703Upgrades tmake to provide line numbers for undefined variables; improves the 11704warning message for redefined variables; makes --warn-undefined-variables 11705warn at every use of a variable, not just the first use, and adds 11706--warn-undefined-variables-once to warn at only the first use. 11707(toolbin/tmake.tcl [1.5]: 2001/10/24 06:36:53 lpd) 11708 11709FAPI project: improving error handling. (lib.mak [1.56]: 2001/10/24 08:10:26 11710igorm) 11711 11712Improves organization and commenting; adds a --warn-all switch. 11713(toolbin/tmake.tcl [1.7]: 2001/10/30 19:43:51 lpd) 11714 11715FAPI project : (1) upgrading with UFST 4.3, (2) implementing GS cache. 11716(int.mak [1.52]: 2001/11/11 23:09:16 igorm) 11717 11718Adds makefile support for building ghostscript as a MacOS X 'Framework' 11719format encapsulated shared library. The new build is invoked by copying 11720macosx.mak to the top level directory and invoking 'make framework'. 11721(macos-fw.mak [1.1], macosx.mak [1.1]: 2001/11/22 07:29:48 giles) 11722 11723Adds extensionless aliases for all the scripts used in the normal build 11724process; renames pre as pre.tcl; adds an Id line to smoke.ps; updates 11725documentation to match. (toolbin/cvs2hist [1.1], toolbin/gsmake [1.1], 11726toolbin/makefonts [1.1], toolbin/makefonts.tcl [1.1], toolbin/makegnu [1.1], 11727toolbin/makehist [1.1], toolbin/makehist.tcl [1.1], 11728toolbin/makemaster [1.1], toolbin/makemaster.tcl [1.1], 11729toolbin/makeset [1.1], toolbin/makeset.tcl [1.11], toolbin/maketars [1.1], 11730toolbin/maketars.tcl [1.1], toolbin/makewin [1.1], 11731toolbin/makewin.tcl [1.1], toolbin/pre [1.12], toolbin/pre.tcl [1.1], 11732toolbin/smoke.ps [1.2], toolbin/tmake.tcl [1.8]: 2001/12/07 07:16:42 lpd) 11733 11734Implementing a mapped resource category redefiner; Provide a map for CIDFont 11735category; Reorganize the mapping algorithm for FAPI. (int.mak [1.54]: 117362001/12/08 11:31:20 igorm) 11737 11738FAPI project : Preparing environment for CID font processing; Fixing UFST 11739file names. (int.mak [1.55], lib.mak [1.59]: 2001/12/12 02:48:20 igorm) 11740 11741Updates the comment describing the AK makefile variable to reflect the fact 11742that ansi2knr no longer exists. (gs.mak [1.8]: 2001/12/13 18:12:17 lpd) 11743 11744FAPI project : implementing CDevProc and CIDDecoding. (int.mak [1.56]: 117452002/01/02 07:24:07 igorm) 11746 11747Makes tmake a shell script rather than a link, as is done with all the other 11748tcl scripts. (toolbin/tmake [1.1]: 2002/01/08 07:21:54 lpd) 11749 11750Adds a very modest checksource script for checking the conformance of source 11751files with coding and architectural standards. This script should eventually 11752be run as part of nightly regression testing. (toolbin/pre.tcl [1.2]: 117532002/01/08 08:21:51 lpd) 11754 11755Updates the extension of the golfer and tiger example files to '.eps' in the 11756install target. Also updates some documentation in source file comments. 11757(unixinst.mak [1.21]: 2002/01/11 04:13:12 giles) 11758 11759Documents ICCSRCDIR along with the other platform-specific defines. 11760(gs.mak [1.9]: 2002/01/12 02:55:14 giles) 11761 11762FAPI project : Provide a transfer of GlobalSubrs through FAPI for embedded 11763Type 2 fonts. (int.mak [1.59]: 2002/01/18 11:03:06 igorm) 11764 11765Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 11766distribution. Also includes autoconf patch by Ralph Giles. (gs.mak [1.10], 11767ijs.mak [1.1]: 2002/01/31 20:46:57 raph) 11768 11769Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 11770distribution. Also includes autoconf patch by Ralph Giles. (devs.mak [1.49]: 117712002/01/31 20:47:08 raph) 11772 11773Documentation and makefile updates for IJS driver. (bcwin32.mak [1.14], 11774dvx-gcc.mak [1.14], ijs.mak [1.2], macos-mcp.mak [1.4], macosx.mak [1.3], 11775msvc32.mak [1.22], openvms.mak [1.18], os2.mak [1.20], ugcclib.mak [1.14], 11776unix-gcc.mak [1.25], unixansi.mak [1.18], watclib.mak [1.14], 11777watcw32.mak [1.14], wctail.mak [1.4], winlib.mak [1.14]: 2002/02/01 03:17:12 11778raph) 11779 11780Moves TrueType glyph flags to gxttf.h, where they should have been from the 11781beginning. (lib.mak [1.60]: 2002/02/11 16:27:58 lpd) 11782 11783Removes some unnecessary #includes from gdevpsdu.c. (devs.mak [1.50]: 117842002/02/16 15:19:24 lpd) 11785 11786Replaces the toolbin/regression directory with a new toolbin/tests directory 11787that includes all testing scripts. Adds and documents a framework for 11788writing and running testing scripts. (toolbin/tests/check_all.py [1.1], 11789toolbin/tests/check_dirs.py [1.1], toolbin/tests/check_docrefs.py [1.1], 11790toolbin/tests/check_source.py [1.1], toolbin/tests/dump_testdb [1.1], 11791toolbin/tests/fuzzy.c [1.1], toolbin/tests/gsconf.py [1.1], 11792toolbin/tests/gsparamsets.py [1.1], toolbin/tests/gssum.py [1.1], 11793toolbin/tests/gstestgs.py [1.1], toolbin/tests/gstestutils.py [1.1], 11794toolbin/tests/make_testdb [1.1], toolbin/tests/make_two_versions [1.1], 11795toolbin/tests/revert_baseline [1.1], toolbin/tests/run_nightly [1.1], 11796toolbin/tests/run_regression [1.1], toolbin/tests/update_baseline [1.1]: 117972002/02/19 15:46:01 lpd) 11798 11799Updates the new test scripts with Igor's changes for running on MS Windows. 11800(toolbin/tests/gsconf.py [1.2], toolbin/tests/gstestgs.py [1.2], 11801toolbin/tests/make_testdb [1.2], toolbin/tests/make_two_versions [1.2], 11802toolbin/tests/revert_baseline [1.2], toolbin/tests/update_baseline [1.2]: 118032002/02/19 15:59:14 lpd) 11804 11805Cleans up a few loose ends from the transition to the new testing framework. 11806(toolbin/tests/.cvsignore [1.1], toolbin/tests/check_docrefs.py [1.2]: 118072002/02/19 16:16:07 lpd) 11808 11809Update banner to the new format common to all releases (AFPL, GPL and 11810Artifex Software's commercial release). References file LICENSE. 11811(all-arch.mak [1.10], bcwin32.mak [1.15], cfonts.mak [1.3], 11812contrib.mak [1.25], cp.bat [1.2], cp.cmd [1.2], devs.mak [1.51], 11813dvx-gcc.mak [1.15], dvx-head.mak [1.3], dvx-tail.mak [1.6], dwmain.rc [1.3], 11814dwsetup.rc [1.6], dwuninst.rc [1.4], gs.mak [1.11], gs16spl.rc [1.3], 11815gsdll2.rc [1.3], gsdll32.rc [1.3], gsos2.rc [1.3], gspmdrv.rc [1.3], 11816gswin.rc [1.3]: 2002/02/21 20:57:46 ray) 11817 11818Update banner to the new format common to all releases (AFPL, GPL and 11819Artifex Software's commercial release). References file LICENSE. 11820(icclib.mak [1.5], ijs.mak [1.5], int.mak [1.61], jpeg.mak [1.5], 11821lib.mak [1.61], libpng.mak [1.11], macos-fw.mak [1.2], macos-mcp.mak [1.5], 11822macosx.mak [1.4], msvc32.mak [1.24], msvccmd.mak [1.7], msvclib.mak [1.17], 11823msvctail.mak [1.7], mv.bat [1.2], mv.cmd [1.2], openvms.mak [1.20], 11824openvms.mmk [1.15], os2.mak [1.21], pcwin.mak [1.3], rm.bat [1.2], 11825rm.cmd [1.2], ugcclib.mak [1.15], unix-aux.mak [1.6], unix-dll.mak [1.7], 11826unix-end.mak [1.3], unix-gcc.mak [1.26], unixansi.mak [1.19], 11827unixhead.mak [1.3], unixinst.mak [1.23], unixlink.mak [1.4], 11828version.mak [1.38], watc.mak [1.17], watclib.mak [1.15], watcw32.mak [1.15], 11829wccommon.mak [1.4], wctail.mak [1.5], winint.mak [1.9], winlib.mak [1.15], 11830winplat.mak [1.3], wmin.mak [1.3], zlib.mak [1.4]: 2002/02/21 20:57:49 ray) 11831 11832Update banner to the new format common to all releases (AFPL, GPL and 11833Artifex Software's commercial release). References file LICENSE. 11834(toolbin/3way.tcl [1.4], toolbin/bughunt.sh [1.2], toolbin/cvs2hist [1.2], 11835toolbin/cvs2hist.py [1.11], toolbin/errlist.tcl [1.4], 11836toolbin/gsindent [1.4], toolbin/gsmake [1.2], toolbin/gsmake.tcl [1.6], 11837toolbin/gssubst [1.2], toolbin/headers.tcl [1.4], toolbin/leaks.tcl [1.4], 11838toolbin/makefonts [1.2], toolbin/makefonts.tcl [1.2], toolbin/makegnu [1.2], 11839toolbin/makegnu.tcl [1.4], toolbin/makehist [1.2], 11840toolbin/makehist.tcl [1.2], toolbin/makemaster [1.2], 11841toolbin/makemaster.tcl [1.2], toolbin/makeset [1.2], 11842toolbin/makeset.tcl [1.12], toolbin/maketars [1.2], 11843toolbin/maketars.tcl [1.2], toolbin/makewin [1.2], 11844toolbin/makewin.tcl [1.2], toolbin/many2pdf.tcl [1.2], 11845toolbin/pdfinflt.ps [1.2], toolbin/pre [1.13], toolbin/pre.tcl [1.3], 11846toolbin/precheck.tcl [1.4], toolbin/smoke.ps [1.3], toolbin/suite.tcl [1.4], 11847toolbin/tests/check_all.py [1.2], toolbin/tests/check_dirs.py [1.2], 11848toolbin/tests/check_docrefs.py [1.4], toolbin/tests/check_source.py [1.2], 11849toolbin/tests/dump_testdb [1.2], toolbin/tests/gsconf.py [1.3], 11850toolbin/tests/gsparamsets.py [1.2], toolbin/tests/gssum.py [1.2], 11851toolbin/tests/gstestgs.py [1.4], toolbin/tests/gstestutils.py [1.2], 11852toolbin/tests/make_testdb [1.3], toolbin/tests/make_two_versions [1.3], 11853toolbin/tests/revert_baseline [1.3], toolbin/tests/run_nightly [1.2], 11854toolbin/tests/run_regression [1.2], toolbin/tests/update_baseline [1.3], 11855toolbin/tmake [1.2], toolbin/tmake.tcl [1.9]: 2002/02/21 20:57:53 ray) 11856 11857Reverts to marking files with the single Id cvs tag instead of the RCSfile 11858and Revision pair. (all-arch.mak [1.11], bcwin32.mak [1.16], 11859cfonts.mak [1.4], contrib.mak [1.26], cp.bat [1.3], cp.cmd [1.3], 11860devs.mak [1.52], dvx-gcc.mak [1.16], dvx-head.mak [1.4], dvx-tail.mak [1.7], 11861dwmain.rc [1.4], dwsetup.rc [1.7], dwuninst.rc [1.5], gs.mak [1.12], 11862gs16spl.rc [1.4], gsdll2.rc [1.4], gsdll32.rc [1.4], gsos2.rc [1.4], 11863gspmdrv.rc [1.4], gswin.rc [1.4], icclib.mak [1.6], ijs.mak [1.6], 11864int.mak [1.62], jpeg.mak [1.6], lib.mak [1.62], libpng.mak [1.12], 11865macos-fw.mak [1.3], macos-mcp.mak [1.6], macosx.mak [1.5], 11866msvc32.mak [1.25], msvccmd.mak [1.8], msvclib.mak [1.18], 11867msvctail.mak [1.8], mv.bat [1.3], mv.cmd [1.3], openvms.mak [1.21], 11868openvms.mmk [1.16], os2.mak [1.22], pcwin.mak [1.4], rm.bat [1.3], 11869rm.cmd [1.3]: 2002/02/21 22:24:51 giles) 11870 11871Reverts to marking files with the single Id cvs tag instead of the RCSfile 11872and Revision pair. (ugcclib.mak [1.16], unix-aux.mak [1.7], 11873unix-dll.mak [1.8], unix-end.mak [1.4], unix-gcc.mak [1.27], 11874unixansi.mak [1.20], unixhead.mak [1.4], unixinst.mak [1.24], 11875unixlink.mak [1.5], version.mak [1.39], watc.mak [1.18], watclib.mak [1.16], 11876watcw32.mak [1.16], wccommon.mak [1.5], wctail.mak [1.6], winint.mak [1.10], 11877winlib.mak [1.16], winplat.mak [1.4], wmin.mak [1.4], zlib.mak [1.5]: 118782002/02/21 22:24:54 giles) 11879 11880Reverts to marking files with the single Id cvs tag instead of the RCSfile 11881and Revision pair. (toolbin/3way.tcl [1.5], toolbin/bughunt.sh [1.3], 11882toolbin/cvs2hist [1.3], toolbin/cvs2hist.py [1.12], 11883toolbin/errlist.tcl [1.5], toolbin/gsindent [1.5], toolbin/gsmake [1.3], 11884toolbin/gsmake.tcl [1.7], toolbin/gssubst [1.3], toolbin/headers.tcl [1.5], 11885toolbin/leaks.tcl [1.5], toolbin/makefonts [1.3], 11886toolbin/makefonts.tcl [1.3], toolbin/makegnu [1.3], 11887toolbin/makegnu.tcl [1.5], toolbin/makehist [1.3], 11888toolbin/makehist.tcl [1.3], toolbin/makemaster [1.3], 11889toolbin/makemaster.tcl [1.3], toolbin/makeset [1.3], 11890toolbin/makeset.tcl [1.13], toolbin/maketars [1.3], 11891toolbin/maketars.tcl [1.3], toolbin/makewin [1.3], 11892toolbin/makewin.tcl [1.3], toolbin/many2pdf.tcl [1.3], 11893toolbin/pdfinflt.ps [1.3], toolbin/pre [1.14], toolbin/pre.tcl [1.4], 11894toolbin/precheck.tcl [1.5], toolbin/smoke.ps [1.4], toolbin/suite.tcl [1.5], 11895toolbin/tests/check_all.py [1.3], toolbin/tests/check_dirs.py [1.4], 11896toolbin/tests/check_docrefs.py [1.5], toolbin/tests/check_source.py [1.4], 11897toolbin/tests/dump_testdb [1.3], toolbin/tests/gsconf.py [1.4], 11898toolbin/tests/gsparamsets.py [1.3], toolbin/tests/gssum.py [1.3], 11899toolbin/tests/gstestgs.py [1.5], toolbin/tests/gstestutils.py [1.3], 11900toolbin/tests/make_testdb [1.4], toolbin/tests/make_two_versions [1.4], 11901toolbin/tests/revert_baseline [1.4], toolbin/tests/run_nightly [1.3], 11902toolbin/tests/run_regression [1.3], toolbin/tests/update_baseline [1.4], 11903toolbin/tmake [1.3], toolbin/tmake.tcl [1.10]: 2002/02/21 22:44:45 giles) 11904 11905FAPI project : (1) Fixing a bug in stringwidth; (2) replacing CheckRET macro 11906with return_if_error. (int.mak [1.63]: 2002/02/25 10:02:12 igor) 11907 11908Removes auto-generated plain text versions of html documentation from cvs 11909and makes their creation an explicit part of the release process. 11910(toolbin/pre.tcl [1.5]: 2002/02/25 20:54:30 giles) 11911 11912Implementing Visual Trace service to graphics library, and Visual Trace 11913server for Windows. (gsdll32.def [1.3], lib.mak [1.63], winint.mak [1.11]: 119142002/02/26 16:09:15 igor) 11915 11916Add gdevpccm.obj to the display device dependencies. (devs.mak [1.53]: 119172002/02/28 22:23:39 ghostgum) 11918 11919When building the distribution archive, don't flag an error if gsv16spl.exe 11920doesn't exist. This file is only needed for Win32s which is no longer 11921supported. (winint.mak [1.12]: 2002/02/28 22:24:09 ghostgum) 11922 11923Removes -Wtraditional from the gcc switches, since we no longer support 11924pre-ANSI compilers and newer gcc versions produce many more warnings if this 11925switch is present. Also removes a stray space character. (macosx.mak [1.6], 11926unix-gcc.mak [1.28]: 2002/03/05 17:50:11 lpd) 11927 11928Committing in . Long promised type cast changes neede to supress warnings on 11929OpenVMS devs.mak : In a condition in a Makefile for OpenVMS the ":" should 11930be surrounded by spaces. Modified Files: gs/src/devs.mak gs/src/imainarg.c 11931gs/src/zfile.c 11932---------------------------------------------------------------------- 11933(devs.mak [1.54]: 2002/03/07 08:35:16 joukj) 11934 11935Update msvc32.mak and documentation to support compilation with Microsoft 11936Visual Studio .NET. This requires MSVC_VERSION=7. (msvc32.mak [1.26]: 119372002/03/12 07:20:08 ghostgum) 11938 11939Create the bboxutil.dev pseudo device to allow inclusion of the bbox device 11940without putting the bbox device on the list of devices. Also clean up some 11941minor dependency problems. (devs.mak [1.55], lib.mak [1.64]: 2002/03/13 1194219:50:13 ray) 11943 11944Add a new optional FEATURE, diskn.dev that provides emulation of %disk 11945devices present on some Adobe printers. This version is NOT multiple 11946instance safe, but is useful for embedded printers or for server systems 11947with a single Ghostscript instance. Documentation is in Language.htm. 11948Addresses SourceForge bug #493344 for Artifex customer #411. (gs.mak [1.13], 11949int.mak [1.66], lib.mak [1.65]: 2002/03/13 20:27:39 ray) 11950 11951Move definition of gsiodisk.$(OBJ) from int.mak to lib.mak as requested by 11952LPD. (int.mak [1.67], lib.mak [1.67]: 2002/03/15 18:21:17 ray) 11953 11954Bumps the next-release version number to 7.20 to leave additional room for 11955stable releases. (version.mak [1.40]: 2002/03/22 00:05:52 giles) 11956 11957backs out a non-portable buildtime revision date accidentally included in 11958the last commit. (version.mak [1.41]: 2002/03/22 00:19:49 giles) 11959 11960Adds a framework_install target to the MacOS X build for testing 11961convenience. (macos-fw.mak [1.4]: 2002/03/22 01:06:57 giles) 11962 11963Update release dates in preparation of the upcoming development release 11964(version.mak [1.42]: 2002/03/29 00:01:02 giles) 11965 11966Updates the default version of the PNG library to the most-recent 1.2.1. 11967Likewise updates references to the zlib version to the more recent 1.1.4, 11968which includes an important security fix. Updates the default paths to the 11969library source trees in all-arch.mak to reflect current usage. 11970(all-arch.mak [1.12], bcwin32.mak [1.17], dvx-gcc.mak [1.17], 11971macos-mcp.mak [1.7], macosx.mak [1.8], msvc32.mak [1.27], 11972msvclib.mak [1.19], openvms.mak [1.22], os2.mak [1.23], ugcclib.mak [1.17], 11973unix-gcc.mak [1.30], unixansi.mak [1.21], watc.mak [1.19], 11974watclib.mak [1.17], watcw32.mak [1.17], zlib.mak [1.6]: 2002/03/29 00:19:09 11975giles) 11976 11977update the documentation on supported libpng versions (libpng.mak [1.13]: 119782002/03/29 00:22:42 giles) 11979 11980Changes smoke.ps to use relative paths fromt he top level of the source 11981tree. This is simpler than relying on the user having a global /gs alias 11982(toolbin/smoke.ps [1.5]: 2002/03/29 08:59:22 giles) 11983 11984Replace Windows icons with new versions that include 48x48 pixel and 32-bit 11985versions for Windows XP. Change the 16x16 pixel icons to use the full 'g' 11986instead of just the head. Use a restricted icon gswin16.ico for WinZip SE 11987which can't handle the new icon. (bcwin32.mak [1.18], dwmain.rc [1.5], 11988dwsetup.rc [1.8], dwuninst.rc [1.6], gs16spl.rc [1.5], gsdll32.rc [1.5], 11989gswin.rc [1.5], gswin32.rc [1.2], gswin386.rc [1.2], winint.mak [1.13]: 119902002/03/30 01:29:38 ghostgum) 11991 11992Adds support for compilation against a standard shared libjpeg. It is 11993believed that non-baseline compliant DCTEncoded data, permitted by early 11994versions of postscript, is now extremely rare and the prohibition against 11995SHARE_JPEG=1 may reasonably be removed. The autoconf build will prefer a 11996local copy of the jpeg source, in which case the D_MAX_BLOCKS_IN_MCU patch 11997will still be applied. If no such local copy is found, it will try to find a 11998shared library on the system. For all unix builds, if $(JSRCDIR)/jmemsys.h 11999cannot be found, we define DONT_HAVE_JMEMSYS_H and include our own versions 12000of the libjpeg memory manager prototypes. The default allocator in the 12001shared library is overridden by the ghostscript one at link-time. While this 12002may be implementation-dependent, it appears to function as desired on at 12003least GNU/Linux and Solaris. Also changes the autoconf build to prefer local 12004zlib and libpng source, and cleans up some variable names. 12005(dvx-gcc.mak [1.18], macosx.mak [1.9], ugcclib.mak [1.18], 12006unix-aux.mak [1.8], unix-gcc.mak [1.31], unixansi.mak [1.22]: 2002/03/30 1200723:55:15 giles) 12008 12009Updates release date for 7.20rc2 (version.mak [1.44]: 2002/03/31 00:32:38 12010giles) 12011 12012Update documentation for 7.20rc3 (version.mak [1.45]: 2002/04/03 06:56:08 12013giles) 12014 12015Returns the bbox device to the default build in response to user requests. 12016(devs.mak [1.56], macosx.mak [1.10], msvc32.mak [1.28], openvms.mak [1.23], 12017os2.mak [1.24], unix-gcc.mak [1.32], unixansi.mak [1.23]: 2002/04/03 1201818:25:03 giles) 12019 12020</pre><h2><a name="7.20-Utilities"></a>Utilities</h2><pre> 12021 12022Fixes problems: 12023 - There were 3 unused declarations of the variable 'buf'. 12024(ziodevsc.c [1.4]: 2001/11/22 04:57:21 lpd) 12025 - remove unnecessary include in dxmainc.c. (dxmainc.c [1.5]: 120262001/11/25 07:52:55 giles) 12027 - ps2ascii was broken (probably for a long time) because it still 12028used NOBIND rather than DELAYBIND. Fixes SourceForge #485029. 12029(lib/ps2ascii [1.4], lib/ps2ascii.bat [1.4], lib/ps2ascii.cmd [1.2], 12030lib/ps2ascii.ps [1.4]: 2001/12/08 15:43:07 lpd) 12031 - some files were missing the RCS 'Id' line with the last 12032modification date. partial fix for Sourceforge bug #500922. 12033(lib/acctest.ps [1.2], lib/decrypt.ps [1.2], lib/landscap.ps [1.2], 12034lib/level1.ps [1.2], lib/pf2afm.ps [1.4], lib/printafm.ps [1.2], 12035lib/viewjpeg.ps [1.2]: 2002/01/09 20:35:32 giles) 12036 - some files were missing the RCS 'Id' line with the last 12037modification date. partial fix for Sourceforge bug #500922. (gp_mac.c [1.3], 12038gp_macio.c [1.3]: 2002/01/09 21:04:20 giles) 12039 - On IA64 CPUs, objects were only aligned on 8-byte boundaries, not 1204016-byte. (It may be that only jmpbuf structures actually need 16-byte 12041alignment, but gcc and glibc malloc align all objects that way.) Fixes 12042SourceForge bug #502866. Also cleans up some minor coding issues in 12043genarch.c. (genarch.c [1.3]: 2002/01/16 16:09:20 lpd) 12044 - Most of the calls of gs_[main_]init1 didn't check the return value 12045for errors. (gserver.c [1.4]: 2002/01/18 00:43:10 lpd) 12046 - Incorporate patch from Tim Waugh of RedHat to allow ps2pdfwr to 12047correctly process files with spaces in their names. Peter's earlier fix 12048missed a few enclosing "'s for output files. Fixes Sourceforge bug #505338. 12049(lib/ps2pdfwr [1.7]: 2002/01/22 20:25:44 jackiem) 12050 - Improve security in a (mostly) backward compatible fashion adding 12051more flexible file access paths (PermitFile...) as user paramters and adding 12052the facility to return to NOSAFER mode after running jobs (files/procedures) 12053in SAFER mode. This should address SF bug #474582 and eliminate the need for 12054the RedHat PARANOIDSAFER patch. (gp_macio.c [1.4], gp_ntfs.c [1.6], 12055gp_os2.c [1.11], gp_vms.c [1.8]: 2002/01/24 06:33:33 rayjj) 12056 - Extra (old) parameters to gp_file_name_concat_string removed. 12057(gp_ntfs.c [1.7]: 2002/02/01 08:03:46 rayjj) 12058 - File enumeration on VMS doesn't enumerate "*" as all files, 12059needing "*.*" similar to gp_dosfe.c. PostScript FONTPATH scanning and PCL 12060font loading failed prior to this fix. Filenames that already have a "." 12061prior to the trailing "*" are not modified. (gp_vms.c [1.9]: 2002/02/06 1206201:07:54 rayjj) 12063 - Typos (" used when ' was needed) fixed. So much for desk checking 12064:-( (gp_vms.c [1.10]: 2002/02/08 04:37:56 rayjj) 12065 - Fixes pdf2dsc to open input file before .setsafe, so that it works 12066even when SAFER locks down read file access. (lib/pdf2dsc.ps [1.4]: 120672002/02/13 17:28:08 raph) 12068 - pdfopt didn't handle pages with no Contents, and didn't handle 12069files in which any objects (such as resources) were referenced from both the 12070first page and later pages. Also adds more tracing output to pdfopt (with 12071-dPDEBUG). Fixes SourceForge #516628. (lib/pdfopt.ps [1.11]: 2002/02/19 1207219:52:28 lpd) 12073 12074FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 12075fonts including FCOs, and embedded fonts, including incremental ones. 12076(genconf.c [1.5]: 2001/10/21 18:57:41 igorm) 12077 12078FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 12079fonts including FCOs, and embedded fonts, including incremental ones. 12080(lib/xlatmap [1.1]: 2001/10/21 19:10:29 igorm) 12081 12082FAPI project: improving error handling. (lib/xlatmap [1.2]: 2001/10/22 1208316:22:29 igorm) 12084 12085Adds a reference to the v7.xx History file. (gp_mac.c [1.2]: 2001/10/24 1208622:33:39 giles) 12087 12088Replaces references of 'FontManagerLib' with 'FontManager' to match the 12089Universal Headers stub shipped with Metrowerks CW 6.3. Also disables the 12090warning about unused arguments since we have a lot of those be design and 12091they accounted for the majority of the warning output on CodeWarrior. The 12092macos shlib now builds and works 'out of the box'. (macgenmcpxml.sh [1.2]: 120932001/11/02 02:16:50 giles) 12094 12095Adds xml property/version file for MacOS X Framework build. 12096(lib/Info-macos.plist [1.1]: 2001/12/04 00:02:09 giles) 12097 12098Implementing a mapped resource category redefiner; Provide a map for CIDFont 12099category; Reorganize the mapping algorithm for FAPI. (lib/FAPIcidfmap [1.1], 12100lib/FAPIfontmap [1.1], lib/cidfmap [1.1]: 2001/12/08 11:31:20 igorm) 12101 12102FAPI project : implementing CID fonts with FAPI. (lib/FAPIcidfmap [1.2], 12103lib/FAPIconfig [1.1], lib/FAPIfontmap [1.2], lib/cidfmap [1.2], 12104lib/xlatmap [1.3]: 2001/12/12 23:02:08 igorm) 12105 12106FAPI project : Removing a trash code from lib/FAPIfontmap . 12107(lib/FAPIfontmap [1.3]: 2001/12/13 19:27:18 igorm) 12108 12109decrypt.ps had an incomplete RCS 'Id' line. Completes the fix for 12110SourceForge bug # 500922. (lib/decrypt.ps [1.3]: 2002/01/09 22:01:45 lpd) 12111 12112decrpyt.ps *still* didn't have a correct RCS 'Id' line. 12113(lib/decrypt.ps [1.4]: 2002/01/09 22:03:01 lpd) 12114 12115Updates the extension of the golfer and tiger example files to '.eps' in the 12116install target. Also updates some documentation in source file comments. 12117(gserver.c [1.3], lib/stocht.ps [1.4]: 2002/01/11 04:13:12 giles) 12118 12119FAPI project : Implementing Type 2 fonts. (lib/FAPIconfig [1.2]: 2002/01/17 1212000:02:42 igorm) 12121 12122Adds the standard GNU copyright banner to the viewjpeg script, with 12123permission from Thomas Merz. Also updates the author's email address and 12124removes the obsolete physical address. (lib/viewjpeg.ps [1.3]: 2002/02/08 1212509:46:17 giles) 12126 12127Update banner to the new format common to all releases (AFPL, GPL and 12128Artifex Software's commercial release). References file LICENSE. 12129(ansi2knr.c [1.4], bench.c [1.5], catmake [1.2], dxmain.c [1.8], 12130dxmainc.c [1.6], echogs.c [1.4], genarch.c [1.4], genconf.c [1.6], 12131gendev.c [1.3], genht.c [1.3], geninit.c [1.4], gp_dvx.c [1.5], 12132gp_iwatc.c [1.7], gp_mac.c [1.4], gp_macio.c [1.5], gp_mktmp.c [1.3], 12133gp_msdll.c [1.2], gp_mshdl.c [1.3], gp_msio.c [1.4], gp_mslib.c [1.4], 12134gp_mspol.c [1.2], gp_msprn.c [1.2], gp_mswin.c [1.8], gp_ntfs.c [1.8], 12135gp_os2.c [1.12], gp_os9.c [1.5], gp_stdia.c [1.4], gp_stdin.c [1.3], 12136gp_sysv.c [1.3], gp_unix.c [1.6], gp_vms.c [1.11], gp_wgetv.c [1.5], 12137gp_win32.c [1.3], gp_wsync.c [1.3], gs16spl.c [1.3], lib/FAPIcidfmap [1.3], 12138lib/FAPIconfig [1.3], lib/FAPIfontmap [1.4], lib/Fontmap.ATB [1.3], 12139lib/Fontmap.ATM [1.3], lib/Fontmap.GS [1.3], lib/Fontmap.OS2 [1.3], 12140lib/Fontmap.SGI [1.3], lib/Fontmap.Sol [1.3], lib/Fontmap.Ult [1.3], 12141lib/acctest.ps [1.3], lib/addxchar.ps [1.3], lib/align.ps [1.3], 12142lib/bdftops [1.3], lib/bdftops.bat [1.4], lib/bdftops.cmd [1.3], 12143lib/bdftops.ps [1.4], lib/caption.ps [1.3], lib/cid2code.ps [1.4], 12144lib/cidfmap [1.3], lib/decrypt.ps [1.5], lib/docie.ps [1.3], 12145lib/dvipdf [1.3], lib/eps2eps [1.4], lib/eps2eps.bat [1.6], 12146lib/eps2eps.cmd [1.3], lib/errpage.ps [1.3], lib/fixmswrd.pl [1.2], 12147lib/font2c [1.2], lib/font2c.bat [1.3], lib/font2c.cmd [1.2], 12148lib/font2c.ps [1.4], lib/font2pcl.ps [1.3], lib/gsbj [1.2], 12149lib/gsbj.bat [1.3], lib/gsdj [1.2], lib/gsdj.bat [1.3], lib/gsdj500 [1.2], 12150lib/gsdj500.bat [1.3], lib/gslj [1.2], lib/gslj.bat [1.3], lib/gslp [1.2], 12151lib/gslp.bat [1.3], lib/gslp.ps [1.3], lib/gsnd [1.2], lib/gsnd.bat [1.3], 12152lib/gsndt.bat [1.3], lib/gsnup.ps [1.3], lib/gssetgs.bat [1.4], 12153lib/gst.bat [1.3], lib/gstt.bat [1.3], lib/image-qa.ps [1.4], 12154lib/impath.ps [1.4], lib/jispaper.ps [1.3], lib/landscap.ps [1.3], 12155lib/level1.ps [1.3], lib/lines.ps [1.3], lib/lp386.bat [1.2], 12156lib/lp386r2.bat [1.2], lib/lpgs.bat [1.3], lib/lpr2.bat [1.3], 12157lib/lprsetup.sh [1.2], lib/markhint.ps [1.3], lib/markpath.ps [1.3], 12158lib/packfile.ps [1.3], lib/pcharstr.ps [1.3], lib/pdf2dsc [1.4], 12159lib/pdf2dsc.bat [1.3], lib/pdf2dsc.ps [1.5], lib/pdf2ps [1.5], 12160lib/pdf2ps.bat [1.6], lib/pdf2ps.cmd [1.3], lib/pdfopt [1.5], 12161lib/pdfopt.bat [1.5], lib/pdfopt.ps [1.12], lib/pdfwrite.ps [1.8], 12162lib/pf2afm [1.3], lib/pf2afm.bat [1.4], lib/pf2afm.cmd [1.3], 12163lib/pf2afm.ps [1.5], lib/pfbtopfa [1.4], lib/pfbtopfa.ps [1.3], 12164lib/pftogsf.bat [1.3], lib/pj-gs.sh [1.2], lib/ppath.ps [1.3], 12165lib/pphs [1.2], lib/pphs.ps [1.4], lib/prfont.ps [1.3], lib/printafm [1.2], 12166lib/printafm.ps [1.3], lib/ps2ai.ps [1.3], lib/ps2ascii [1.5], 12167lib/ps2ascii.bat [1.5], lib/ps2ascii.cmd [1.3], lib/ps2ascii.ps [1.5], 12168lib/ps2epsi [1.8], lib/ps2epsi.bat [1.7], lib/ps2epsi.cmd [1.4], 12169lib/ps2epsi.ps [1.6], lib/ps2pdf [1.2], lib/ps2pdf.bat [1.7], 12170lib/ps2pdf.cmd [1.2], lib/ps2pdf12 [1.2], lib/ps2pdf12.bat [1.6], 12171lib/ps2pdf12.cmd [1.2], lib/ps2pdf13 [1.2], lib/ps2pdf13.bat [1.6], 12172lib/ps2pdf13.cmd [1.3], lib/ps2pdf14 [1.2], lib/ps2pdf14.bat [1.3], 12173lib/ps2pdf14.cmd [1.2], lib/ps2pdfwr [1.8], lib/ps2pdfxx.bat [1.11], 12174lib/ps2ps [1.4], lib/ps2ps.bat [1.5], lib/ps2ps.cmd [1.2], lib/pv.sh [1.2], 12175lib/rollconv.ps [1.2], lib/showchar.ps [1.3], lib/stcinfo.ps [1.3], 12176lib/stcolor.ps [1.3], lib/stocht.ps [1.5], lib/sysvlp.sh [1.2], 12177lib/traceimg.ps [1.3], lib/traceop.ps [1.3], lib/type1enc.ps [1.3], 12178lib/type1ops.ps [1.3], lib/uninfo.ps [1.3], lib/unix-lpr.sh [1.2], 12179lib/unprot.ps [1.3], lib/viewcmyk.ps [1.3], lib/viewgif.ps [1.3], 12180lib/viewjpeg.ps [1.4], lib/viewmiff.ps [1.3], lib/viewpbm.ps [1.3], 12181lib/viewpcx.ps [1.3], lib/viewps2a.ps [1.3], lib/wftopfa [1.2], 12182lib/wftopfa.ps [1.3], lib/winmaps.ps [1.3], lib/wmakebat.bat [1.2], 12183lib/wrfont.ps [1.3], lib/xlatmap [1.4], lib/zeroline.ps [1.3]: 2002/02/21 1218420:57:45 ray) 12185 12186Update banner to the new format common to all releases (AFPL, GPL and 12187Artifex Software's commercial release). References file LICENSE. 12188(gsdll.c [1.7], gserver.c [1.5], gspmdrv.c [1.3], instcopy [1.2], 12189scfdgen.c [1.3], zdosio.c [1.3], ziodevs.c [1.6], ziodevsc.c [1.5]: 121902002/02/21 20:57:48 ray) 12191 12192Reverts to marking files with the single Id cvs tag instead of the RCSfile 12193and Revision pair. (lib/FAPIcidfmap [1.4], lib/FAPIconfig [1.4], 12194lib/FAPIfontmap [1.5], lib/Fontmap.ATB [1.4], lib/Fontmap.ATM [1.4], 12195lib/Fontmap.GS [1.4], lib/Fontmap.OS2 [1.4], lib/Fontmap.SGI [1.4], 12196lib/Fontmap.Sol [1.4], lib/Fontmap.Ult [1.4], lib/acctest.ps [1.4], 12197lib/addxchar.ps [1.4], lib/align.ps [1.4], lib/bdftops [1.4], 12198lib/bdftops.bat [1.5], lib/bdftops.cmd [1.4], lib/bdftops.ps [1.5], 12199lib/caption.ps [1.4], lib/cid2code.ps [1.5], lib/cidfmap [1.4], 12200lib/decrypt.ps [1.6], lib/docie.ps [1.4], lib/dvipdf [1.4], 12201lib/eps2eps [1.5], lib/eps2eps.bat [1.7], lib/eps2eps.cmd [1.4], 12202lib/errpage.ps [1.4], lib/fixmswrd.pl [1.3], lib/font2c [1.3], 12203lib/font2c.bat [1.4], lib/font2c.cmd [1.3], lib/font2c.ps [1.5], 12204lib/font2pcl.ps [1.4], lib/gsbj [1.3], lib/gsbj.bat [1.4], lib/gsdj [1.3], 12205lib/gsdj.bat [1.4], lib/gsdj500 [1.3], lib/gsdj500.bat [1.4], 12206lib/gslj [1.3], lib/gslj.bat [1.4], lib/gslp [1.3], lib/gslp.bat [1.4], 12207lib/gslp.ps [1.4], lib/gsnd [1.3], lib/gsnd.bat [1.4], lib/gsndt.bat [1.4], 12208lib/gsnup.ps [1.4], lib/gssetgs.bat [1.5], lib/gst.bat [1.4], 12209lib/gstt.bat [1.4], lib/image-qa.ps [1.5], lib/impath.ps [1.5], 12210lib/jispaper.ps [1.4], lib/landscap.ps [1.4], lib/level1.ps [1.4], 12211lib/lines.ps [1.4], lib/lp386.bat [1.3], lib/lp386r2.bat [1.3], 12212lib/lpgs.bat [1.4], lib/lpr2.bat [1.4], lib/lprsetup.sh [1.3], 12213lib/markhint.ps [1.4], lib/markpath.ps [1.4], lib/packfile.ps [1.4], 12214lib/pcharstr.ps [1.4], lib/pdf2dsc [1.5], lib/pdf2dsc.bat [1.4], 12215lib/pdf2dsc.ps [1.6], lib/pdf2ps [1.6], lib/pdf2ps.bat [1.7], 12216lib/pdf2ps.cmd [1.4], lib/pdfopt [1.6], lib/pdfopt.bat [1.6], 12217lib/pdfopt.ps [1.13], lib/pdfwrite.ps [1.9], lib/pf2afm [1.4], 12218lib/pf2afm.bat [1.5], lib/pf2afm.cmd [1.4], lib/pf2afm.ps [1.6], 12219lib/pfbtopfa [1.5], lib/pfbtopfa.ps [1.4], lib/pftogsf.bat [1.4], 12220lib/pj-gs.sh [1.3], lib/ppath.ps [1.4], lib/pphs [1.3], lib/pphs.ps [1.5], 12221lib/prfont.ps [1.4], lib/printafm [1.3], lib/printafm.ps [1.4], 12222lib/ps2ai.ps [1.4], lib/ps2ascii [1.6], lib/ps2ascii.bat [1.6], 12223lib/ps2ascii.cmd [1.4], lib/ps2ascii.ps [1.6], lib/ps2epsi [1.9], 12224lib/ps2epsi.bat [1.8], lib/ps2epsi.cmd [1.5], lib/ps2epsi.ps [1.7], 12225lib/ps2pdf [1.3], lib/ps2pdf.bat [1.8], lib/ps2pdf.cmd [1.3], 12226lib/ps2pdf12 [1.3], lib/ps2pdf12.bat [1.7], lib/ps2pdf12.cmd [1.3], 12227lib/ps2pdf13 [1.3], lib/ps2pdf13.bat [1.7], lib/ps2pdf13.cmd [1.4], 12228lib/ps2pdf14 [1.3], lib/ps2pdf14.bat [1.4], lib/ps2pdf14.cmd [1.3], 12229lib/ps2pdfwr [1.9], lib/ps2pdfxx.bat [1.12], lib/ps2ps [1.5], 12230lib/ps2ps.bat [1.6], lib/ps2ps.cmd [1.3], lib/pv.sh [1.3], 12231lib/rollconv.ps [1.3], lib/showchar.ps [1.4], lib/stcinfo.ps [1.4], 12232lib/stcolor.ps [1.4], lib/stocht.ps [1.6], lib/sysvlp.sh [1.3], 12233lib/traceimg.ps [1.4], lib/traceop.ps [1.4], lib/type1enc.ps [1.4], 12234lib/type1ops.ps [1.4], lib/uninfo.ps [1.4], lib/unix-lpr.sh [1.3], 12235lib/unprot.ps [1.4], lib/viewcmyk.ps [1.4], lib/viewgif.ps [1.4], 12236lib/viewjpeg.ps [1.5], lib/viewmiff.ps [1.4], lib/viewpbm.ps [1.4], 12237lib/viewpcx.ps [1.4], lib/viewps2a.ps [1.4], lib/wftopfa [1.3], 12238lib/wftopfa.ps [1.4], lib/winmaps.ps [1.4], lib/wmakebat.bat [1.3], 12239lib/wrfont.ps [1.4], lib/xlatmap [1.5], lib/zeroline.ps [1.4]: 2002/02/21 1224021:49:28 giles) 12241 12242Removes a duplicate Id line. (lib/fixmswrd.pl [1.4]: 2002/02/21 21:53:01 12243giles) 12244 12245Reverts to marking files with the single Id cvs tag instead of the RCSfile 12246and Revision pair. (ansi2knr.c [1.5], bench.c [1.6], catmake [1.3], 12247dxmain.c [1.9], dxmainc.c [1.7], echogs.c [1.5], genarch.c [1.5], 12248genconf.c [1.7], gendev.c [1.4], genht.c [1.4], geninit.c [1.5], 12249gp_dvx.c [1.6], gp_iwatc.c [1.8], gp_mac.c [1.5], gp_macio.c [1.6], 12250gp_mktmp.c [1.4], gp_msdll.c [1.3], gp_mshdl.c [1.4], gp_msio.c [1.5], 12251gp_mslib.c [1.5], gp_mspol.c [1.3], gp_msprn.c [1.3], gp_mswin.c [1.9], 12252gp_ntfs.c [1.9], gp_os2.c [1.13], gp_os9.c [1.6], gp_stdia.c [1.5], 12253gp_stdin.c [1.4], gp_sysv.c [1.4], gp_unix.c [1.7], gp_vms.c [1.12], 12254gp_wgetv.c [1.6], gp_win32.c [1.4], gp_wsync.c [1.4], gs16spl.c [1.4], 12255gsdll.c [1.8], gserver.c [1.6], gspmdrv.c [1.4], instcopy [1.3], 12256scfdgen.c [1.4]: 2002/02/21 22:24:51 giles) 12257 12258Reverts to marking files with the single Id cvs tag instead of the RCSfile 12259and Revision pair. (zdosio.c [1.4], ziodevs.c [1.7], ziodevsc.c [1.6]: 122602002/02/21 22:24:54 giles) 12261 12262FAPI project : Changing the logics of loading GS fonts with FAPI : now all 12263fonts listed in fontmap are being loaded with GS font loader and then are 12264passed to FAPI in same way as embedded fonts. (lib/FAPIconfig [1.5]: 122652002/02/26 17:49:12 igor) 12266 12267Adds DELAYSAFER/.setsafe logic to pdf2dsc output, as needed for a security 12268update to gv. (lib/pdf2dsc.ps [1.7]: 2002/03/30 23:39:15 raph) 12269 12270</pre><h2><a name="7.20-Drivers"></a>Drivers</h2><pre> 12271 12272Fixes problems: 12273 - Fixes a %ld format with an int argument. (gdevpsu.c [1.8]: 122742001/11/22 05:10:01 lpd) 12275 - Setting any of the pdfwrite xxxProfile "distiller" parameters 12276caused a garbage collection error. (gdevpsdp.c [1.9]: 2001/11/25 01:02:51 12277lpd) 12278 - some files were missing the RCS 'Id' line with the last 12279modification date. partial fix for Sourceforge bug #500922. 12280(gdevdsp.c [1.7], gdevhpij.c [1.5], gdevhpij.h [1.3], gdevmac.c [1.3], 12281gdevmac.h [1.2], gdevmacpictop.h [1.2], gdevmacttf.h [1.2], 12282gdevmacxf.c [1.3], gdevphex.c [1.4]: 2002/01/09 21:04:20 giles) 12283 - Don't signal invalidacces if the OutputFile parameter is set to 12284the current value as would be done by 'currentpagedevice setpagedevice'. 12285(gdevcgm.c [1.4], gdevmac.c [1.4]: 2002/01/15 04:44:09 rayjj) 12286 - epswrite generates "grestore gsave" while changing a clipping 12287path, so the internal graphic state and the output document's graphic state 12288become unsynchonized. Particularly this looses the current color. Source 12289Forge bug [ #502830 ] pdf2ps - bad color of objects (gdevps.c [1.20]: 122902002/01/29 05:57:49 igorm) 12291 - Removes broken x11alpha driver, and installs an alias for x11 12292under that name, with default parameters changed to support antialiasing. 12293Fixes SourceForge bug #505692. (gdevx.c [1.9], gdevxalt.c [1.3]: 2002/01/30 1229420:08:41 raph) 12295 - The previous version of src/gdevps.c was checked in with 12296DOS/Windows (^M^J) EOLs rather than Unix (^J) EOLs, causing some C compilers 12297to reject it. (gdevps.c [1.21]: 2002/02/05 05:09:08 lpd) 12298 - psdf_end_binary didn't convert the stream status to an error code, 12299possibly causing incorrect error reporting. (gdevpsdu.c [1.11]: 2002/02/12 1230022:00:39 lpd) 12301 - Many files lacked double-inclusion protection, or implemented it 12302incorrectly. (gdevbjcl.h [1.3], gdevmacpictop.h [1.3], gdevmacttf.h [1.3], 12303png_.h [1.3]: 2002/02/20 01:32:47 lpd) 12304 - Changes XPutImage to use xdev->vinfo->depth rather than 12305xdev->color_info.depth. These are the same in all cases except a visual 12306depth of 15, in which the latter is 16. (gdevx.c [1.10]: 2002/02/20 19:39:02 12307raph) 12308 - improve pswrite with compatibility to interpreters which don't 12309consume ASCII85Decode EOD when reader stops immediately before it. Source 12310Forge bug #525044 "pswrite incompatible with some RIPs". Thanks to Paul 12311Vojta for spotting this. (gdevps.c [1.24]: 2002/03/13 16:03:50 igor) 12312 - Outputs PCLXL dash offset as unsigned integer rather than float, 12313bringing it into compliance with the spec. Thanks to Tobias Kunze for bug 12314report, analysis, and patch. (gdevpx.c [1.9]: 2002/03/20 20:10:06 raph) 12315 - epswrite was incompatible with HP LaserJet 4000 TN. Source Forge 12316bug #529202 "Wrong PostScript in pswrite prolog". (gdevpsu.c [1.11]: 123172002/03/20 20:20:11 igor) 12318 - Fixes cut-n-paste error in commit of pclxl_setdash patch. 12319(gdevpx.c [1.10]: 2002/03/22 01:54:01 raph) 12320 - Fixes incorrect margins on IJS devices. Thanks to Dave Suffield 12321for the patch. (gdevijs.c [1.4]: 2002/03/28 20:44:35 raph) 12322 12323Adds a reference to the v7.xx History file. (gdevmacxf.c [1.2]: 2001/10/24 1232422:33:38 giles) 12325 12326Changes uses of 'defined' as an identifier to 'is_defined', since 'defined' 12327is a (non-standard) reserved word in gcc 2.96. (Patch from Red Hat.) 12328(gdevcdj.c [1.6]: 2001/11/07 07:48:57 lpd) 12329 12330Updates pdfwrite to match Acrobat Distiller 5 more closely: adds 12331OffOptimizations and PreserveEPSInfo parameters; adds /ebook value for 12332PDFSETTINGS; changes some of the DCTEncode parameter values for 12333auto-filtered images; adds CreationDate and ModDate in Info dictionary; 12334always subsets non Type 1 fonts. (gdevpsdi.c [1.16]: 2001/12/09 00:07:57 12335lpd) 12336 12337Don't allocate memory or call callbacks when display device does not have a 12338callback function. (gdevdsp.c [1.6]: 2001/12/18 07:02:53 ghostgum) 12339 12340Remove C++ style (//) comments from two files to increase portability. 12341(gdevhpij.c [1.4], gdevphex.c [1.3], gdevxcmp.c [1.3]: 2001/12/19 20:53:46 12342jackiem) 12343 12344Revert the accidental commit of this file. (gdevxcmp.c [1.4]: 2001/12/19 1234521:22:52 jackiem) 12346 12347Remove C++ // comment from C file. (gdevwdib.c [1.4]: 2001/12/19 22:13:08 12348ghostgum) 12349 12350Improve security for device related access to the file system and to pipes 12351by allowing the dangerous parameters to be locked (for example, OutputFile). 12352The locking is performed after command line parameters are established. 12353Locking is not turned on by default as a result of this change, but 12354-d.LockSafetyParams=true can be added to the command line to accomplish 12355this. Related to SF bug #474582 (sort of). (gdevcgm.c [1.3], 12356gdevmac.c [1.2]: 2001/12/22 00:44:01 rayjj) 12357 12358Updates the extension of the golfer and tiger example files to '.eps' in the 12359install target. Also updates some documentation in source file comments. 12360(gdevcdj.c [1.7], gdevhl7x.c [1.6]: 2002/01/11 04:13:12 giles) 12361 12362Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 12363distribution. Also includes autoconf patch by Ralph Giles. (gdevijs.c [1.1]: 123642002/01/31 20:46:52 raph) 12365 12366Removes some unnecessary #includes from gdevpsdu.c. (gdevpsdu.c [1.12]: 123672002/02/16 15:19:24 lpd) 12368 12369Update banner to the new format common to all releases (AFPL, GPL and 12370Artifex Software's commercial release). References file LICENSE. 12371(gdev3852.c [1.4], gdev3b1.c [1.3], gdev4081.c [1.4], gdev4693.c [1.4], 12372gdev8510.c [1.4], gdev8bcm.c [1.3], gdev8bcm.h [1.3], gdevadmp.c [1.4], 12373gdevatx.c [1.7], gdevbit.c [1.3], gdevbj10.c [1.5], gdevbjc.h [1.3], 12374gdevbjcl.c [1.3], gdevbjcl.h [1.4], gdevbmp.c [1.5], gdevbmp.h [1.3], 12375gdevbmpa.c [1.4], gdevbmpc.c [1.3], gdevccr.c [1.3], gdevcdj.c [1.8], 12376gdevcfax.c [1.4], gdevcgm.c [1.5], gdevcgml.c [1.3], gdevcgml.h [1.3], 12377gdevcgmx.h [1.3], gdevcif.c [1.4], gdevclj.c [1.3], gdevcljc.c [1.5], 12378gdevcp50.c [1.4], gdevcslw.c [1.3], gdevdcrd.c [1.3], gdevdcrd.h [1.3], 12379gdevdfax.c [1.5], gdevdjet.c [1.7], gdevdjtc.c [1.4], gdevdljm.c [1.5], 12380gdevdljm.h [1.5], gdevdm24.c [1.4], gdevdsp.c [1.8], gdevegaa.asm [1.3], 12381gdevepsc.c [1.4], gdevepsn.c [1.4], gdevescp.c [1.4], gdevevga.c [1.3], 12382gdevfax.c [1.3], gdevfax.h [1.3], gdevherc.c [1.3], gdevhl7x.c [1.7], 12383gdevhpij.c [1.6], gdevhpij.h [1.4], gdevifno.c [1.3], gdevijs.c [1.2], 12384gdevimgn.c [1.5], gdevjpeg.c [1.4], gdevl256.c [1.4], gdevl31s.c [1.3], 12385gdevlbp8.c [1.4], gdevlj56.c [1.4], gdevlp8k.c [1.3], gdevlxm.c [1.3], 12386gdevmac.c [1.5], gdevmac.h [1.3], gdevmacpictop.h [1.4], gdevmacttf.h [1.4], 12387gdevmacxf.c [1.4], gdevmeds.c [1.3], gdevmeds.h [1.3], gdevmgr.c [1.3], 12388gdevmgr.h [1.3], gdevmiff.c [1.4], gdevmswn.c [1.5], gdevmswn.h [1.3], 12389gdevmsxf.c [1.3], gdevn533.c [1.4], gdevo182.c [1.4], gdevokii.c [1.4], 12390gdevos2p.c [1.5], gdevp14.h [1.2], gdevp2up.c [1.3], gdevpbm.c [1.4], 12391gdevpccm.c [1.3], gdevpccm.h [1.4], gdevpcfb.c [1.3], gdevpcfb.h [1.3], 12392gdevpcl.c [1.6], gdevpcl.h [1.6], gdevpcx.c [1.3], gdevpe.c [1.3], 12393gdevphex.c [1.5], gdevpjet.c [1.4], gdevpm.c [1.5], gdevpm.h [1.3], 12394gdevpng.c [1.5], gdevpnga.c [1.5], gdevps.c [1.22], gdevpsdf.h [1.10], 12395gdevpsdi.c [1.17], gdevpsdp.c [1.10], gdevpsds.c [1.5], gdevpsds.h [1.5], 12396gdevpsdu.c [1.13], gdevpsim.c [1.7], gdevpsu.c [1.9], gdevpsu.h [1.5], 12397gdevpx.c [1.7], gdevpxat.h [1.4], gdevpxen.h [1.4], gdevpxop.h [1.3], 12398gdevpxut.c [1.3], gdevpxut.h [1.3], gdevs3ga.c [1.3], gdevsco.c [1.4], 12399gdevsgi.c [1.3], gdevsgi.h [1.2], gdevsj48.c [1.3], gdevsnfb.c [1.4], 12400gdevsppr.c [1.6], gdevstc.c [1.3], gdevstc.h [1.3], gdevstc1.c [1.3], 12401gdevstc2.c [1.3], gdevstc3.c [1.3], gdevstc4.c [1.3], gdevsun.c [1.3], 12402gdevsunr.c [1.5], gdevsvga.c [1.3], gdevsvga.h [1.3], gdevtfax.c [1.5], 12403gdevtfax.h [1.5], gdevtfnx.c [1.6], gdevtifs.c [1.5], gdevtifs.h [1.4], 12404gdevtknk.c [1.4], gdevupd.c [1.6], gdevvglb.c [1.4], gdevwddb.c [1.4], 12405gdevwdib.c [1.5], gdevwpr2.c [1.10], gdevwprn.c [1.4], gdevx.c [1.11], 12406gdevx.h [1.5], gdevxalt.c [1.4], gdevxcmp.c [1.5], gdevxcmp.h [1.3], 12407gdevxini.c [1.11], gdevxres.c [1.4], gdevxxf.c [1.6]: 2002/02/21 20:57:46 12408ray) 12409 12410Update banner to the new format common to all releases (AFPL, GPL and 12411Artifex Software's commercial release). References file LICENSE. 12412(png_.h [1.4], x_.h [1.4]: 2002/02/21 20:57:49 ray) 12413 12414Reverts to marking files with the single Id cvs tag instead of the RCSfile 12415and Revision pair. (gdev3852.c [1.5], gdev3b1.c [1.4], gdev4081.c [1.5], 12416gdev4693.c [1.5], gdev8510.c [1.5], gdev8bcm.c [1.4], gdev8bcm.h [1.4], 12417gdevadmp.c [1.5], gdevatx.c [1.8], gdevbit.c [1.4], gdevbj10.c [1.6], 12418gdevbjc.h [1.4], gdevbjcl.c [1.4], gdevbjcl.h [1.5], gdevbmp.c [1.6], 12419gdevbmp.h [1.4], gdevbmpa.c [1.5], gdevbmpc.c [1.4], gdevccr.c [1.4], 12420gdevcdj.c [1.9], gdevcfax.c [1.5], gdevcgm.c [1.6], gdevcgml.c [1.4], 12421gdevcgml.h [1.4], gdevcgmx.h [1.4], gdevcif.c [1.5], gdevclj.c [1.4], 12422gdevcljc.c [1.6], gdevcp50.c [1.5], gdevcslw.c [1.4], gdevdcrd.c [1.4], 12423gdevdcrd.h [1.4], gdevdfax.c [1.6], gdevdjet.c [1.8], gdevdjtc.c [1.5], 12424gdevdljm.c [1.6], gdevdljm.h [1.6], gdevdm24.c [1.5], gdevdsp.c [1.9], 12425gdevegaa.asm [1.4], gdevepsc.c [1.5], gdevepsn.c [1.5], gdevescp.c [1.5], 12426gdevevga.c [1.4], gdevfax.c [1.4], gdevfax.h [1.4], gdevherc.c [1.4], 12427gdevhl7x.c [1.8], gdevhpij.c [1.7], gdevhpij.h [1.5], gdevifno.c [1.4], 12428gdevijs.c [1.3], gdevimgn.c [1.6], gdevjpeg.c [1.5], gdevl256.c [1.5], 12429gdevl31s.c [1.4], gdevlbp8.c [1.5], gdevlj56.c [1.5], gdevlp8k.c [1.4], 12430gdevlxm.c [1.4], gdevmac.c [1.6], gdevmac.h [1.4], gdevmacpictop.h [1.5], 12431gdevmacttf.h [1.5], gdevmacxf.c [1.5], gdevmeds.c [1.4], gdevmeds.h [1.4], 12432gdevmgr.c [1.4], gdevmgr.h [1.4], gdevmiff.c [1.5], gdevmswn.c [1.6], 12433gdevmswn.h [1.4], gdevmsxf.c [1.4], gdevn533.c [1.5], gdevo182.c [1.5], 12434gdevokii.c [1.5], gdevos2p.c [1.6], gdevp14.h [1.3], gdevp2up.c [1.4], 12435gdevpbm.c [1.5], gdevpccm.c [1.4], gdevpccm.h [1.5], gdevpcfb.c [1.4], 12436gdevpcfb.h [1.4], gdevpcl.c [1.7], gdevpcl.h [1.7], gdevpcx.c [1.4], 12437gdevpe.c [1.4], gdevphex.c [1.6], gdevpjet.c [1.5], gdevpm.c [1.6], 12438gdevpm.h [1.4], gdevpng.c [1.6], gdevpnga.c [1.6], gdevps.c [1.23], 12439gdevpsdf.h [1.11], gdevpsdi.c [1.18], gdevpsdp.c [1.11], gdevpsds.c [1.6], 12440gdevpsds.h [1.6], gdevpsdu.c [1.14], gdevpsim.c [1.8], gdevpsu.c [1.10], 12441gdevpsu.h [1.6], gdevpx.c [1.8], gdevpxat.h [1.5], gdevpxen.h [1.5], 12442gdevpxop.h [1.4], gdevpxut.c [1.4], gdevpxut.h [1.4], gdevs3ga.c [1.4], 12443gdevsco.c [1.5], gdevsgi.c [1.4], gdevsgi.h [1.3], gdevsj48.c [1.4], 12444gdevsnfb.c [1.5], gdevsppr.c [1.7], gdevstc.c [1.4], gdevstc.h [1.4], 12445gdevstc1.c [1.4], gdevstc2.c [1.4], gdevstc3.c [1.4], gdevstc4.c [1.4], 12446gdevsun.c [1.4], gdevsunr.c [1.6], gdevsvga.c [1.4], gdevsvga.h [1.4], 12447gdevtfax.c [1.6], gdevtfax.h [1.6], gdevtfnx.c [1.7], gdevtifs.c [1.6], 12448gdevtifs.h [1.5], gdevtknk.c [1.5], gdevupd.c [1.7], gdevvglb.c [1.5], 12449gdevwddb.c [1.5], gdevwdib.c [1.6], gdevwpr2.c [1.11], gdevwprn.c [1.5], 12450gdevx.c [1.12], gdevx.h [1.6], gdevxalt.c [1.5], gdevxcmp.c [1.6], 12451gdevxcmp.h [1.4], gdevxini.c [1.12], gdevxres.c [1.5], gdevxxf.c [1.7], 12452png_.h [1.5]: 2002/02/21 22:24:51 giles) 12453 12454Reverts to marking files with the single Id cvs tag instead of the RCSfile 12455and Revision pair. (x_.h [1.5]: 2002/02/21 22:24:54 giles) 12456 12457Remove the return_if_error macro from ALL occurrences and clean up some of 12458the C-style problems with the FAPI code. Add some of the new rules about 12459macros to C-style.htm. (gdevxalt.c [1.6]: 2002/02/28 21:21:42 ray) 12460 12461</pre><h2><a name="7.20-PDF_writer"></a>PDF writer</h2><pre> 12462 12463Fixes problems: 12464 - Repeated use of the same color space wrote multiple ColorSpace 12465resources rather than a single one. Fixes the pdfwrite part of SourceForge 12466bug #475219: separate changes to pdf_draw.ps and pdf_ops.ps fix the 12467interpreter part of the bug. (gdevpdfc.c [1.18]: 2001/11/06 17:34:30 lpd) 12468 - Reading from /dev/random can cause long blocking on Solaris 8, so 12469we only attempt it (on all systems) if non-blocking I/O is available, and we 12470try /dev/urandom first. Fixes SourceForge #482048. (gdevpdf.c [1.39]: 124712001/11/21 22:14:22 lpd) 12472 - CIE color conversion could be very inaccurate if it didn't use 12473interpolation when cached sampled values were near zero. This fix detects 12474numerically sensitive areas and uses interpolation (which is computationally 12475expensive) only in those areas. Fixes SourceForge #465921. 12476(gdevpdfc.c [1.19]: 2001/12/09 00:03:37 lpd) 12477 - For images specified in general CIEBased color spaces, pdfwrite 12478would divide the image into tiny rectangles. If the output level is PDF 1.3 12479or higher, pdfwrite now converts the CIEBased color space to an ICCBased 12480space if possible. (gdevpdfc.c [1.20], gdevpdfc.h [1.1], gdevpdfk.c [1.1]: 124812001/12/13 18:24:05 lpd) 12482 - the prototype for pdf_text_process was in a .c file rather than a 12483.h file. (gdevpdff.h [1.12], gdevpdft.c [1.37]: 2002/01/15 23:07:02 lpd) 12484 - pdfwrite incorrectly handled Metrics[2] and CDevProc by writing 12485Widths that differed from the widths in the underlying font. pdfwrite now 12486positions characters individually in this case, like Acrobat Distiller. 12487Fixes SourceForge #495414. (gdevpdff.c [1.23], gdevpdff.h [1.13], 12488gdevpdfs.c [1.8]: 2002/01/17 05:13:24 lpd) 12489 - Work around an apparent Acrobat Reader 5 bug -- it gives an error 12490for images with a color-key mask, at least for 1-bit-deep images using an 12491Indexed color space -- by converting the image to an ordinary masked image. 12492Fixes a PCL->PDF problem reported by a customer. (gdevpdfi.c [1.25]: 124932002/01/17 17:01:38 lpd) 12494 - Setting the parameters for a stroked font could reset other text 12495state parameters, causing 'Font not set' and other errors from Acrobat. 12496Fixes SourceForge bug #505011. (gdevpdfs.c [1.9]: 2002/01/24 16:37:53 lpd) 12497 - pdfwrite often gave an error if a name with embedded special 12498characters was a key or value in a pdfmark dictionary. Fixes SourceForge 12499#505877. (gdevpdfr.c [1.5]: 2002/01/29 02:54:43 lpd) 12500 - pdfwrite could output Indexed color spaces with more than 256 12501entries, or images with more than 8 bits per component, neither of which PDF 12502supports. This patch causes the latter to revert to the 12503millions-of-tiny-rectangles representation, which is not adequate in the 12504long run, but is at least valid output. Fixes SourceForge #513910, for the 12505moment. (gdevpdfc.c [1.21], gdevpdfi.c [1.26]: 2002/02/11 16:26:20 lpd) 12506 - pdf_end_image_binary didn't propagate all error indications to its 12507caller. (gdevpdfj.c [1.8]: 2002/02/12 21:55:31 lpd) 12508 - (1) real_widths were missed in public_st_pdf_font; (2) 12509pdf_finalize_font_descriptor was called twice (form pdf_font_notify_proc and 12510from pdf_write_font_resources), if a font is garbage-collected after 12511pdf_close. Source Forge bug "[ 531983 ] ps2pdf coredumps on this ps file". 12512(gdevpdff.h [1.16], gdevpdfw.c [1.15]: 2002/03/27 16:46:06 igor) 12513 12514Takes a small step towards fully ANSIfied code by removing all ANSI-testing 12515uses of __PROTOTYPES__ from code with an Aladdin/artofcode copyright. 12516(gdevpdfg.c [1.15]: 2001/10/25 04:38:34 lpd) 12517 12518Updates pdfwrite to match Acrobat Distiller 5 more closely: adds 12519OffOptimizations and PreserveEPSInfo parameters; adds /ebook value for 12520PDFSETTINGS; changes some of the DCTEncode parameter values for 12521auto-filtered images; adds CreationDate and ModDate in Info dictionary; 12522always subsets non Type 1 fonts. (gdevpdf.c [1.40], gdevpdfe.c [1.11], 12523gdevpdfp.c [1.20], gdevpdfu.c [1.17], gdevpdfx.h [1.35]: 2001/12/09 00:07:57 12524lpd) 12525 12526FAPI project : Define new device parameter .EmbedFontObjects to disable FAPI 12527for devices which embed fonts. (gdevpdfp.c [1.21]: 2002/01/08 11:11:24 12528igorm) 12529 12530Prevent any attempt to set .EmbedFontObjects (like CoreDistVersion). 12531(gdevpdfp.c [1.22]: 2002/01/10 19:12:27 lpd) 12532 12533Makes the cos_array_reorder procedure private (which it should have been 12534from the beginning). (gdevpdfo.c [1.10], gdevpdfo.h [1.7]: 2002/01/12 1253520:09:55 lpd) 12536 12537Adds a CompressFonts parameter to pdfwrite to control whether embedded fonts 12538are compressed, to help debugging. The default value is true. 12539(gdevpdf.c [1.41], gdevpdfe.c [1.12], gdevpdfp.c [1.23], gdevpdfs.c [1.10], 12540gdevpdfu.c [1.18], gdevpdfx.h [1.36]: 2002/01/29 01:03:26 lpd) 12541 12542Update banner to the new format common to all releases (AFPL, GPL and 12543Artifex Software's commercial release). References file LICENSE. 12544(gdevpdf.c [1.42], gdevpdfb.c [1.7], gdevpdfc.c [1.22], gdevpdfc.h [1.2], 12545gdevpdfd.c [1.17], gdevpdfe.c [1.13], gdevpdff.c [1.24], gdevpdff.h [1.14], 12546gdevpdfg.c [1.16], gdevpdfg.h [1.10], gdevpdfi.c [1.27], gdevpdfj.c [1.9], 12547gdevpdfk.c [1.2], gdevpdfm.c [1.15], gdevpdfo.c [1.11], gdevpdfo.h [1.8], 12548gdevpdfp.c [1.24], gdevpdfr.c [1.6], gdevpdfs.c [1.11], gdevpdft.c [1.38], 12549gdevpdfu.c [1.19], gdevpdfv.c [1.11], gdevpdfw.c [1.13], gdevpdfx.h [1.37]: 125502002/02/21 20:57:47 ray) 12551 12552Reverts to marking files with the single Id cvs tag instead of the RCSfile 12553and Revision pair. (gdevpdf.c [1.43], gdevpdfb.c [1.8], gdevpdfc.c [1.23], 12554gdevpdfc.h [1.3], gdevpdfd.c [1.18], gdevpdfe.c [1.14], gdevpdff.c [1.25], 12555gdevpdff.h [1.15], gdevpdfg.c [1.17], gdevpdfg.h [1.11], gdevpdfi.c [1.28], 12556gdevpdfj.c [1.10], gdevpdfk.c [1.3], gdevpdfm.c [1.16], gdevpdfo.c [1.12], 12557gdevpdfo.h [1.9], gdevpdfp.c [1.25], gdevpdfr.c [1.7], gdevpdfs.c [1.12], 12558gdevpdft.c [1.39], gdevpdfu.c [1.20], gdevpdfv.c [1.12], gdevpdfw.c [1.14], 12559gdevpdfx.h [1.38]: 2002/02/21 22:24:51 giles) 12560 12561Removes a last vestige of PDF 1.1 support (which was otherwise removed some 12562time ago) from pdfwrite. (gdevpdfu.c [1.21]: 2002/03/19 17:35:11 lpd) 12563 12564</pre><h2><a name="7.20-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 12565 12566Fixes problems: 12567 - Setting the same PDF color space repeatedly generated new 12568PostScript color spaces, stressing the garbage collector. Fixes the PDF 12569interpreter part of SourceForge bug #475219: a separate change to gdevpdfc.c 12570fixes the pdfwrite part of this bug. (lib/pdf_draw.ps [1.37], 12571lib/pdf_ops.ps [1.18]: 2001/11/06 17:33:08 lpd) 12572 - showpagecontents needs to be wrapped in a gsave/grestore as rev 125731.23 indicates, but we can't wrap around the .pushpdf14devicefilter or the 12574grestore will change the device back to the original and clear the page. 12575Fixes SourceForge bug #476821 for Artifex customer 870. Also clean up some 12576non-standard indentation in the area. (lib/pdf_main.ps [1.36]: 2001/11/15 1257704:30:25 rayjj) 12578 - T* applied the leading horizontally when using a font in vertical 12579writing mode, but the PDF Reference says the leading is always applied 12580vertically. (lib/pdf_ops.ps [1.19]: 2001/12/22 07:24:50 masata-y) 12581 - Fix for "[ #505041 ] /typecheck in --setcolor--". Customer 150. An 12582error in counting the number of values by the PDF interpreter was causing an 12583incorrect number of values to be sent to setcolor. This in turn caused a 12584typecheck. (lib/pdf_main.ps [1.37]: 2002/01/30 00:43:29 dancoby) 12585 - Some PDF files don't have balanced q/Q operators (gsave/grestore) 12586that left extra dicts on the dictstack. Save the dictstack depth before the 12587page and pop any left over elements. Fix for SF #495088 for customer #870. 12588(lib/pdf_main.ps [1.38]: 2002/02/05 20:50:25 rayjj) 12589 - Extra dict was left on the ostack by rev 1.38 (introduced when 12590fixing SF bug #495088). Also allow bad images to be skipped (with a warning 12591message) as Adobe Reader does. Make PDF format error messages more 12592consistent. Fixes SF bug #513902 for Artifex customer #10. 12593(lib/pdf_draw.ps [1.38], lib/pdf_main.ps [1.40]: 2002/02/08 04:34:14 rayjj) 12594 - Another improvement for the hack in 'getfontmetrics', which deals 12595with encodings where the same character appears more than once. TeX-1.0a 12596creates Differences with multiple appearances of 'hyphen' character, some of 12597which specify zero width. Source Forge bug #517474 "Problem with hyphen in 12598PDF using Minion". See also #444366 and #467492. (lib/pdf_font.ps [1.27]: 125992002/02/25 05:40:29 igor) 12600 - Characters > 127 (0x7f) in font names of embedded fonts in PDF 12601files were being misinterpreted by the 'token' operator. Disable binary 12602encodings when processing PDF. Fixes SourceForge bug #525701 for Artifex 12603customer #901. (lib/pdf_main.ps [1.46]: 2002/03/05 17:48:06 ray) 12604 - Another place where Adobe Acrobat Reader tolerates badly formed 12605PDF files -- in this case streams with incorrect Length. Issue 12606pdfformaterror and continue. Buggy file from Artifex customer #671. 12607(lib/pdf_base.ps [1.18]: 2002/03/06 07:54:23 ray) 12608 - PDF files that specify the same embedded font file many times 12609would reload the FontFile each time, potentially severely impacting 12610performance. Skip loading the FontFile if the FontDescriptor already has the 12611font cached in /FontObject. Fixes SF bug #514956 for Artifex customer #870. 12612(lib/pdf_font.ps [1.29]: 2002/03/07 08:14:44 ray) 12613 - The /Filter parameter didn't properly handle an indirect 12614reference. Fixes SourceForge bug 533470 for Artifex customer #150. 12615(lib/pdf_base.ps [1.19]: 2002/03/22 20:26:19 ray) 12616 - Add handling of indirect objects some places that were missing. 12617Fixes SourceForge bug #533775. (lib/pdf_base.ps [1.20], 12618lib/pdf_draw.ps [1.43], lib/pdf_font.ps [1.30], lib/pdf_main.ps [1.48], 12619lib/pdf_ops.ps [1.23]: 2002/03/23 00:14:25 ray) 12620 12621Add error message complaints when q (gsave) and Q (grestore) operators do 12622not balance. (lib/pdf_main.ps [1.39], lib/pdf_ops.ps [1.20]: 2002/02/05 1262322:35:10 rayjj) 12624 12625Minor cleanup of warning and error messages within the PDF interpreter to 12626make the format consistent and to use pdfformaterror for all messages. 12627(lib/pdf_base.ps [1.15], lib/pdf_draw.ps [1.39], lib/pdf_font.ps [1.24], 12628lib/pdf_main.ps [1.41], lib/pdf_sec.ps [1.6]: 2002/02/14 17:25:53 rayjj) 12629 12630Further warning message cleanup to use pdfformaterror and to use a 12631consistent format (starting with ' **** '. (lib/pdf_main.ps [1.42], 12632lib/pdf_sec.ps [1.7]: 2002/02/14 23:04:46 rayjj) 12633 12634Update banner to the new format common to all releases (AFPL, GPL and 12635Artifex Software's commercial release). References file LICENSE. 12636(lib/pdf_base.ps [1.16], lib/pdf_draw.ps [1.40], lib/pdf_font.ps [1.25], 12637lib/pdf_main.ps [1.43], lib/pdf_ops.ps [1.21], lib/pdf_sec.ps [1.8]: 126382002/02/21 20:57:45 ray) 12639 12640Reverts to marking files with the single Id cvs tag instead of the RCSfile 12641and Revision pair. (lib/pdf_base.ps [1.17], lib/pdf_draw.ps [1.41], 12642lib/pdf_font.ps [1.26], lib/pdf_main.ps [1.44], lib/pdf_ops.ps [1.22], 12643lib/pdf_sec.ps [1.9]: 2002/02/21 21:49:28 giles) 12644 12645Makes the PDF interpreter run files under a level of 'save'. This improves 12646memory utilization significantly, although we don't understand why. 12647(lib/pdf_main.ps [1.45]: 2002/02/22 06:59:31 lpd) 12648 12649Remove debug output inadvertently left in. (lib/pdf_font.ps [1.28]: 126502002/02/26 18:37:07 ray) 12651 12652Adds -dNOTRANSPARENCY flag, which disables all PDF 1.4 transparency 12653processing. (lib/pdf_draw.ps [1.42], lib/pdf_main.ps [1.47]: 2002/03/14 1265415:53:09 raph) 12655 12656Temporary patch to disable FontObject caching. Fixes regression SF #533467, 12657but effectively removes the fix for #514956. (lib/pdf_font.ps [1.31]: 126582002/03/28 19:52:09 raph) 12659 12660</pre><h2><a name="7.20-Interpreter"></a>Interpreter</h2><pre> 12661 12662Fixes problems: 12663 - Fixes a comment: invoking definefont on a dictionary that already 12664has a FID entry is, in fact, legal in LanguageLevel 2 and above. 12665(zbfont.c [1.9]: 2001/10/29 23:49:57 lpd) 12666 - The change v.1.14 had broken the branch of the font loader, which 12667works for the case of unequal font names in the font file and in the font 12668map. SourceForge bug 474581. Also cleans up potential stack imbalance 12669present since 1.1. (lib/gs_fonts.ps [1.15]: 2001/11/15 08:27:37 igorm) 12670 - "Native float" binary tokens and homogenous number arrays failed 12671to ignore the big/little-endian bit in the format field, causing them to 12672(usually) read incorrectly on little-endian systems. (bug reported by Pierre 12673Arnaud) (ibnum.c [1.3], ibnum.h [1.3]: 2001/11/16 22:30:40 lpd) 12674 - If the initial device couldn't be opened, the error message 12675indicating this wasn't being printed, because of a missing 'flush'. Fixes 12676SourceForge #481600. (lib/gs_init.ps [1.42]: 2001/11/16 22:45:25 lpd) 12677 - "gs --help" accessed an uninitialized pointer 12678gs_main_instance::i_ctx_p. Source Forge bug #482271. (iapi.c [1.2], 12679imain.c [1.21]: 2001/11/21 18:40:07 igorm) 12680 - lineedit_open and statementedit_open were declared "static" but 12681not defined. (These procedures are no longer used.) (ziodev.c [1.7]: 126822001/11/22 04:55:31 lpd) 12683 - Fixes a compiler warning and several minor formatting 12684inconsistencies. (zmedia2.c [1.4]: 2001/11/22 05:04:24 lpd) 12685 - The private procedure gs_get_colorname_string was not declared 12686private. (zcsdevn.c [1.6]: 2001/11/22 05:38:27 lpd) 12687 - The private procedure dsc_is_section was not declared dsc_private. 12688(dscparse.c [1.8]: 2001/11/22 05:41:05 lpd) 12689 - The min, max, and unread procedures were not clearly marked as 12690being deprecated. (lib/gs_init.ps [1.43]: 2001/11/22 18:48:51 lpd) 12691 - Ghostscript didn't match a bug in Adobe's interpreters, which 12692byte-swap native reals in binary object sequences iff the native real format 12693is IEEE. (The PLRM says native reals should never be byte-swapped.) Fixes 12694SourceForge bug #489478. (ibnum.h [1.4], iscanbin.c [1.6]: 2001/12/07 1269504:28:34 lpd) 12696 - Repairs code problems with the fix for bug #224056: non-re-entrant 12697code, bad formatting, unused variables and computations, and a missing 12698#include. (zcolor2.c [1.5]: 2001/12/07 05:41:59 lpd) 12699 - CIE color conversion could be very inaccurate if it didn't use 12700interpolation when cached sampled values were near zero. This fix detects 12701numerically sensitive areas and uses interpolation (which is computationally 12702expensive) only in those areas. Fixes SourceForge #465921. (zcie.c [1.6], 12703zcrd.c [1.3]: 2001/12/09 00:03:37 lpd) 12704 - WMode 1 did not work for CIDFontType 2. SourceForge bug #91713. 12705Patch from Mr. Toshiya Suzuki. (zchar42.c [1.4]: 2001/12/12 16:45:09 igorm) 12706 - The constraint for FontBBox to be non-zero was not conforming and 12707now it is removed. Suggested by L. Peter Deutsch. (bfont.h [1.4], 12708zbfont.c [1.10], zfcid0.c [1.10], zfcid1.c [1.6]: 2001/12/19 11:49:44 igorm) 12709 - The previous fixes for writing binary objects were incorrect, 12710probably because an incorrect comment misled the author. Fixes SourceForge 12711#490914. (lib/gs_btokn.ps [1.6]: 2002/01/01 23:08:28 lpd) 12712 - Dictionaries in binary object sequences (a non-standard feature) 12713could cause an invalidaccess error if any of the keys or values were names. 12714(iscanbin.c [1.7]: 2002/01/01 23:08:56 lpd) 12715 - Some gsapi functions were not passing the user_errors argument to 12716the corresponding gs_main_run_string_* functions, and instead, these 12717functions were passing 0. (iapi.c [1.3]: 2002/01/03 20:09:46 jackiem) 12718 - some files were missing the RCS 'Id' line with the last 12719modification date. partial fix for Sourceforge bug #500922. 12720(dwnodll.c [1.2], gdevdsp.h [1.2], gdevdsp2.h [1.3], idisp.c [1.3], 12721zicc.c [1.3]: 2002/01/09 21:04:20 giles) 12722 - ifont.h requires gsmatix.h and gxfont.h for clean compilation. Not 12723having them was a warning on gcc, but an error on Borland CBuilder 5.5. 12724Thanks to Rod Webster for the fix. Closes Sourceforge bug #474246. 12725(iccfont.c [1.3]: 2002/01/09 21:48:00 giles) 12726 - Fix for #474544. Corrects inability to convert valid DeviceN tint 12727transform functions into type 4 functions. Valid operator names were not 12728being recognized unless the tint transform function had been bound. One of 12729two fixes required for this problem. Customer #710. (ifunc.h [1.4], 12730zfunc.c [1.7], zfunc0.c [1.4], zfunc3.c [1.3], zfunc4.c [1.8], 12731zshade.c [1.5]: 2002/01/11 05:09:22 dancoby) 12732 - ReleaseDC was missed in Windows client applications. SourceForge 12733bug #499903. (dwmain.c [1.7], dwmainc.c [1.9]: 2002/01/12 19:49:00 igorm) 12734 - pdfwrite incorrectly handled Metrics[2] and CDevProc by writing 12735Widths that differed from the widths in the underlying font. pdfwrite now 12736positions characters individually in this case, like Acrobat Distiller. 12737Fixes SourceForge #495414. (zchar1.c [1.9]: 2002/01/17 05:13:24 lpd) 12738 - Fix for #474544. This is the second of two fixes required for this 12739problem. This fix creates a type 0 function which implements a "color cube" 12740for those tint transform functions which cannot be converted into a type 4 12741function. Customer #710. Note: There is one more revision planned for this 12742effort. This revision will make the buildcolorcube operator into a more 12743general buildsampledfunction. This will allow its use in other situations. 12744(ifunc.h [1.5], lib/gs_lev2.ps [1.8], zcsdevn.c [1.7], zfunc.c [1.8]: 127452002/01/17 05:53:40 dancoby) 12746 - Most of the calls of gs_[main_]init1 didn't check the return value 12747for errors. (imainarg.c [1.14]: 2002/01/18 00:43:10 lpd) 12748 - Improve security in a (mostly) backward compatible fashion adding 12749more flexible file access paths (PermitFile...) as user paramters and adding 12750the facility to return to NOSAFER mode after running jobs (files/procedures) 12751in SAFER mode. This should address SF bug #474582 and eliminate the need for 12752the RedHat PARANOIDSAFER patch. (icontext.c [1.8], icstate.h [1.6], 12753imainarg.c [1.15], iutil2.c [1.3], iutil2.h [1.3], lib/gs_fonts.ps [1.17], 12754lib/gs_init.ps [1.45], lib/gs_lev2.ps [1.9], zcontrol.c [1.4], 12755zfile.c [1.13], zusparam.c [1.4], zvmem.c [1.4]: 2002/01/24 06:33:33 rayjj) 12756 - Added check for return code from gs_main_init1 that was missed in 12757previous (security) update. (imainarg.c [1.16]: 2002/01/24 19:07:57 rayjj) 12758 - pdfwrite often gave an error if a name with embedded special 12759characters was a key or value in a pdfmark dictionary. Fixes SourceForge 12760#505877. (lib/gs_pdfwr.ps [1.13], zstring.c [1.3]: 2002/01/29 02:54:43 lpd) 12761 - .locksafe is not supposed to change the PermitFileWriting and 12762PermitFileControl paths (was setting them to empty arrays). 12763(lib/gs_init.ps [1.46]: 2002/01/31 21:17:25 rayjj) 12764 - Fix 3 of 3 for #474544 "Core dump - shfill error with DeviceN". 1. 12765Recognizes already encapsulated tint transform functions. 2. Generalizes the 12766color cube logic for use in other situations. 3. Uses the domain of the 12767alternate color space for the range of the tint transform function. 12768(lib/gs_lev2.ps [1.10], zfsample.c [1.1], zfunc.c [1.9]: 2002/02/06 02:35:11 12769dancoby) 12770 - Fix 4 of 4 for #474544 "Core dump - shfill error with DeviceN". 12771Corrects a problem with an unbalanced stack when determining the range of a 12772colorspace specified by a name. (lib/gs_lev2.ps [1.11]: 2002/02/06 07:18:34 12773dancoby) 12774 - Fixes handling of MetricsCount in z11_get_metrics. Thanks to Brian 12775Stell for the analysis and original version of the patch. (zfcid1.c [1.7]: 127762002/02/12 21:58:47 raph) 12777 - Prevent .locksafe (and .setsafe) from resetting the current 12778pagedevice. Fixes SourceForge bug #516379. (lib/gs_init.ps [1.47]: 127792002/02/14 01:23:31 rayjj) 12780 - Use a more rigorous condition to check the FontBBox validity when 12781computing default values for UnderlinePosition and UnderlineThickness. 12782Source Forge bug #510776 for Artifex customer #1110. (lib/gs_type1.ps [1.8]: 127832002/02/14 03:23:47 igorm) 12784 - Previous revision caused a regression. This version is the actual 12785fix for SourceForge #510776 for Artifex customer #1110. 12786(lib/gs_type1.ps [1.9]: 2002/02/14 03:25:50 igorm) 12787 - Many files lacked double-inclusion protection, or implemented it 12788incorrectly. (dscparse.h [1.7], dwimg.h [1.5], dwinst.h [1.3], 12789dwmain.h [1.4], dwreg.h [1.2], dwsetup.h [1.3], dwtext.h [1.5], 12790dwuninst.h [1.3], gdevdsp.h [1.3], gdevdsp2.h [1.4], idisp.h [1.2], 12791ifapi.h [1.7]: 2002/02/20 01:32:47 lpd) 12792 - Ignore an invalid 'post' format 2.0 table in TrueType fonts. Fixes 12793SourceForge bug #523973 for Artifex customer #990. (lib/gs_ttf.ps [1.12]: 127942002/03/04 06:32:35 ray) 12795 - Triggers an /undefined error rather than segfaulting in the case 12796where a directional shading dictionary is missing a Function element. 12797build_shading_function() returns a success code in these cases because 12798functions are optional in some shading types. Thanks to Alex Cherepanov for 12799the analysis and patch. (zshade.c [1.8]: 2002/03/04 22:20:34 raph) 12800 - Include gs_resmp.ps into the prelude with ADDMOD rather than 12801.runlibfile (suggested by Raymond J. Johnston), and increase MSVC compiler 12802heap for building gs_init.c with COMPILE_INITS=1. Source Forge bug "[ 526192 12803] Broken COMPILE_INITS". (lib/gs_res.ps [1.20]: 2002/03/06 08:55:16 igor) 12804 - Second attempt to fix COMPILE_INITS=1. This statically embeds all 12805gs_*.ps files, xlatmap and FAPIconfig. Source Forge bug "[ 526192 ] Broken 12806COMPILE_INITS". (lib/gs_cidfn.ps [1.23], lib/gs_fapi.ps [1.15], 12807lib/gs_res.ps [1.21]: 2002/03/07 10:52:06 igor) 12808 - "currentfile closefile" in lib/gs_* files doesn't work with 12809COMPILE_INITS=1, replacing it with .skipeof . Source Forge bug "[ 526192 ] 12810Broken COMPILE_INITS". (lib/gs_fapi.ps [1.16]: 2002/03/13 15:55:47 igor) 12811 - The file_cleanup routine used the wrong offset in the estack for 12812the enumerator causing a SEGV if the procedure of filenameforall stopped due 12813to error. Bug was introduced with diskn changes. (zfile.c [1.18]: 2002/03/15 1281407:43:34 ray) 12815 - Fixes a number of problems with Type11 incremental glyph loading 12816with MetricsCount=2. Thanks to Brian Stell for the patch. (zchar42.c [1.7], 12817zfcid1.c [1.10]: 2002/03/26 08:37:14 raph) 12818 - -dSAFER mode to allow opening a file that references the parent 12819directory as long as the PermitFileReading strings include a (*) string 12820(allow all reading) (zfile.c [1.19]: 2002/03/28 20:48:14 ray) 12821 - Cleanup some casting and other compiler warnings (minor). 12822(zfile.c [1.20]: 2002/03/29 04:37:50 ray) 12823 - Botched macro spelling in prototype corrected, also removing the 12824incorrect 'private' keyword. Clean up two *++esp; statements that gave gcc 12825warnings. (zfile.c [1.21]: 2002/03/29 18:04:04 ray) 12826 - remove a C++-style comment from portable code. (ifapi.h [1.11]: 128272002/04/01 21:02:49 giles) 12828 12829file dwtrace.h was initially added on branch HINTER. (dwtrace.h [1.1]: 128302001/01/12 06:18:35 igorm) 12831 12832Updates version number to 7.10 to indicate that this is now the development 12833branch. (lib/gs_init.ps [1.41]: 2001/10/20 09:25:22 raph) 12834 12835Changes all procedures for getting glyph outline data to return a structure 12836that includes memory management information. This is a 12837NON-BACKWARD-COMPATIBLE change to both implementors and clients. It corrects 12838a serious design error: formerly these procedures encoded memory management 12839information in their return code, which was obscure and error-prone. 12840(ichar1.h [1.4], icharout.h [1.4], ifont42.h [1.4], zchar1.c [1.8], 12841zcharout.c [1.5], zfcid0.c [1.8], zfcid1.c [1.5], zfont42.c [1.6]: 128422001/10/21 06:20:08 lpd) 12843 12844FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 12845fonts including FCOs, and embedded fonts, including incremental ones. 12846(iconf.c [1.4], icontext.c [1.7], icstate.h [1.5], imain.c [1.20], 12847lib/gs_fonts.ps [1.14], lib/gs_typ42.ps [1.3], lib/gs_type1.ps [1.6], 12848zbfont.c [1.8]: 2001/10/21 18:57:41 igorm) 12849 12850FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 12851fonts including FCOs, and embedded fonts, including incremental ones. 12852(fapiufst.c [1.1], ifapi.h [1.1], iplugin.c [1.1], iplugin.h [1.1], 12853lib/gs_fapi.ps [1.1], zfapi.c [1.1]: 2001/10/21 19:10:29 igorm) 12854 12855FAPI project: improving error handling. (fapiufst.c [1.2], ifapi.h [1.2], 12856lib/gs_fapi.ps [1.2], zfapi.c [1.2]: 2001/10/22 16:22:29 igorm) 12857 12858FAPI project : (1) upgrading with UFST 4.3, (2) implementing GS cache. 12859(fapiufst.c [1.3], ifapi.h [1.3], lib/gs_fapi.ps [1.3], zfapi.c [1.3]: 128602001/11/11 23:09:16 igorm) 12861 12862FAPI project: fixing memory management problems and missing closepath 12863importing outlines from UFST. (fapiufst.c [1.4], zfapi.c [1.4]: 2001/11/13 1286423:12:53 igorm) 12865 12866Adds additional documentation about continuations on the PostScript e-stack. 12867(estack.h [1.3]: 2001/12/06 04:16:27 lpd) 12868 12869Implementing a mapped resource category redefiner; Provide a map for CIDFont 12870category; Reorganize the mapping algorithm for FAPI. (lib/gs_cidcm.ps [1.6], 12871lib/gs_cidfm.ps [1.1], lib/gs_cidfn.ps [1.19], lib/gs_fapi.ps [1.4], 12872lib/gs_res.ps [1.17], lib/gs_resmp.ps [1.1], lib/gs_typ42.ps [1.4], 12873lib/gs_type1.ps [1.7], zfile.c [1.12]: 2001/12/08 11:31:20 igorm) 12874 12875Updates pdfwrite to match Acrobat Distiller 5 more closely: adds 12876OffOptimizations and PreserveEPSInfo parameters; adds /ebook value for 12877PDFSETTINGS; changes some of the DCTEncode parameter values for 12878auto-filtered images; adds CreationDate and ModDate in Info dictionary; 12879always subsets non Type 1 fonts. (lib/gs_pdfwr.ps [1.12]: 2001/12/09 1288000:07:57 lpd) 12881 12882FAPI project : Preparing environment for CID font processing; Fixing UFST 12883file names. (lib/gs_cidcm.ps [1.7], lib/gs_ciddc.ps [1.1], 12884lib/gs_cidfn.ps [1.20], zfcid0.c [1.9]: 2001/12/12 02:48:20 igorm) 12885 12886FAPI project : implementing CID fonts with FAPI. (lib/gs_ciddc.ps [1.2], 12887lib/gs_cidfm.ps [1.2], lib/gs_fapi.ps [1.5], lib/gs_resmp.ps [1.2]: 128882001/12/12 23:02:08 igorm) 12889 12890Committing in . Modified Files: gs/src/ibnum.c Corrected syntax error 12891(ibnum.c [1.4]: 2001/12/13 07:07:45 joukj) 12892 12893FAPI project : implementing WMode 1; Cleaning-up comments and formatting. 12894(fapiufst.c [1.5], ifapi.h [1.4], zfapi.c [1.5]: 2001/12/14 20:42:51 igorm) 12895 12896Improve security for device related access to the file system and to pipes 12897by allowing the dangerous parameters to be locked (for example, OutputFile). 12898The locking is performed after command line parameters are established. 12899Locking is not turned on by default as a result of this change, but 12900-d.LockSafetyParams=true can be added to the command line to accomplish 12901this. Related to SF bug #474582 (sort of). (lib/gs_setpd.ps [1.9], 12902zdevice.c [1.4], zdevice2.c [1.5]: 2001/12/22 00:44:01 rayjj) 12903 12904FAPI project : Making set_char_width to be public to access from FAPI 12905client. (lib/gs_cmap.ps [1.12]: 2001/12/28 18:53:02 igorm) 12906 12907FAPI project : Provide a disk/embedded font recognition for CID fonts. 12908(lib/gs_fapi.ps [1.6], lib/gs_fonts.ps [1.16]: 2002/01/02 06:44:01 igorm) 12909 12910FAPI project : implementing CDevProc and CIDDecoding. (fapiufst.c [1.6], 12911ifapi.h [1.5], lib/gs_ciddc.ps [1.3], lib/gs_fapi.ps [1.7], zfapi.c [1.6]: 129122002/01/02 07:24:07 igorm) 12913 12914FAPI project : Fixing CIDDecodings and QUIET. (fapiufst.c [1.7], 12915lib/gs_ciddc.ps [1.4], lib/gs_fapi.ps [1.8], zfapi.c [1.7]: 2002/01/03 1291614:16:18 igorm) 12917 12918FAPI project : Implementing the horizontal/vertical glyph substitution. 12919(fapiufst.c [1.8], ifapi.h [1.6], zfapi.c [1.8]: 2002/01/03 17:51:04 igorm) 12920 12921FAPI project : Define new device parameter .EmbedFontObjects to disable FAPI 12922for devices which embed fonts. (lib/gs_cidfm.ps [1.3], lib/gs_fapi.ps [1.9], 12923lib/gs_resmp.ps [1.3], zfapi.c [1.9]: 2002/01/08 11:11:24 igorm) 12924 12925Change the unstopped error handler to print the operand stack in the same 12926order as the normal error handler, with the top of the stack at the right. 12927Fixes Sourceforge bug #496440. (lib/gs_init.ps [1.44]: 2002/01/10 02:37:40 12928ghostgum) 12929 12930Changes the extension of the tiger and golfer example files to '.eps' to 12931accurately reflect their internal filetype. (examples/golfer.eps [1.1], 12932examples/tiger.eps [1.1]: 2002/01/10 22:21:34 giles) 12933 12934FAPI project : Improve Type 42 processing. (lib/gs_fapi.ps [1.10], 12935zfapi.c [1.10]: 2002/01/16 19:43:47 igorm) 12936 12937FAPI project : Implementing Type 2 fonts. (lib/gs_fapi.ps [1.11], 12938zfapi.c [1.11]: 2002/01/17 00:02:41 igorm) 12939 12940FAPI project : Provide a transfer of GlobalSubrs through FAPI for embedded 12941Type 2 fonts. (fapiufst.c [1.9], zfapi.c [1.12]: 2002/01/18 11:03:06 igorm) 12942 12943Remove some unintentional changes that crept into a previous update. 12944(lib/gs_init.ps [1.48]: 2002/02/14 01:47:10 rayjj) 12945 12946This is an improvement from L. Peter Deutsch in the logic which tests the 12947size of the amount of data required for a function to be sampled. This 12948eliminates a possible math overflow and also tests for a negative size 12949value. This is part of bug 474544. (zfsample.c [1.2]: 2002/02/21 07:42:23 12950dan) 12951 12952Removes a compiler warning on the 4th parameter to valid_cube_size(). Added 12953const conditional to the parameter. (zfsample.c [1.3]: 2002/02/21 08:12:35 12954dan) 12955 12956Update banner to the new format common to all releases (AFPL, GPL and 12957Artifex Software's commercial release). References file LICENSE. 12958(bfont.h [1.5], btoken.h [1.5], ccfont.h [1.3], dpmain.c [1.6], 12959dscparse.c [1.9], dscparse.h [1.8], dstack.h [1.4], dwdll.c [1.3], 12960dwdll.h [1.4], dwimg.c [1.4], dwimg.h [1.6], dwinst.cpp [1.3], 12961dwinst.h [1.4], dwmain.c [1.8], dwmain.h [1.5], dwmainc.c [1.10], 12962dwnodll.c [1.3], dwreg.c [1.2], dwreg.h [1.3], dwsetup.cpp [1.6], 12963dwsetup.h [1.4], dwtext.c [1.6], dwtext.h [1.6], dwuninst.cpp [1.3], 12964dwuninst.h [1.4], errors.h [1.5], estack.h [1.4], 12965examples/waterfal.ps [1.4], fapiufst.c [1.10], files.h [1.5], 12966gdevdsp.h [1.4], gdevdsp2.h [1.5], ghost.h [1.3], gs.c [1.7], 12967lib/gs_agl.ps [1.3], lib/gs_btokn.ps [1.7], lib/gs_ccfnt.ps [1.6], 12968lib/gs_ce_e.ps [1.3], lib/gs_cff.ps [1.11], lib/gs_cidcm.ps [1.8], 12969lib/gs_ciddc.ps [1.5], lib/gs_cidfm.ps [1.4], lib/gs_cidfn.ps [1.21], 12970lib/gs_cmap.ps [1.13], lib/gs_cmdl.ps [1.3], lib/gs_css_e.ps [1.3], 12971lib/gs_dbt_e.ps [1.3], lib/gs_diskf.ps [1.3], lib/gs_dpnxt.ps [1.3], 12972lib/gs_dps.ps [1.5], lib/gs_dps1.ps [1.3], lib/gs_dps2.ps [1.4], 12973lib/gs_dscp.ps [1.5], lib/gs_epsf.ps [1.3], lib/gs_fapi.ps [1.12], 12974lib/gs_fform.ps [1.3], lib/gs_fonts.ps [1.18], lib/gs_frsd.ps [1.5], 12975lib/gs_icc.ps [1.3], lib/gs_il1_e.ps [1.3], lib/gs_il2_e.ps [1.3], 12976lib/gs_init.ps [1.49], lib/gs_kanji.ps [1.3], lib/gs_ksb_e.ps [1.3], 12977lib/gs_l2img.ps [1.3], lib/gs_lev2.ps [1.12], lib/gs_lgo_e.ps [1.4], 12978lib/gs_lgx_e.ps [1.3], lib/gs_ll3.ps [1.11], lib/gs_mex_e.ps [1.3], 12979lib/gs_mgl_e.ps [1.4], lib/gs_mro_e.ps [1.3], lib/gs_pdf_e.ps [1.3], 12980lib/gs_pdfwr.ps [1.14], lib/gs_pfile.ps [1.3], lib/gs_rdlin.ps [1.3], 12981lib/gs_res.ps [1.18], lib/gs_resmp.ps [1.4], lib/gs_setpd.ps [1.10], 12982lib/gs_statd.ps [1.6], lib/gs_std_e.ps [1.3], lib/gs_sym_e.ps [1.3], 12983lib/gs_trap.ps [1.4], lib/gs_ttf.ps [1.10], lib/gs_typ32.ps [1.4], 12984lib/gs_typ42.ps [1.5], lib/gs_type1.ps [1.10], lib/gs_wan_e.ps [1.3], 12985lib/gs_wl1_e.ps [1.3], lib/gs_wl2_e.ps [1.3], lib/gs_wl5_e.ps [1.3], 12986lib/ht_ccsto.ps [1.2]: 2002/02/21 20:57:45 ray) 12987 12988Update banner to the new format common to all releases (AFPL, GPL and 12989Artifex Software's commercial release). References file LICENSE. 12990(ialloc.c [1.3], ialloc.h [1.3], iapi.c [1.4], iapi.h [1.3], 12991iastate.h [1.3], iastruct.h [1.3], ibnum.c [1.5], ibnum.h [1.5], 12992iccfont.c [1.4], iccinit0.c [1.3], icfontab.c [1.3], ichar.h [1.4], 12993ichar1.h [1.5], icharout.h [1.5], icid.h [1.3], icie.h [1.4], 12994icolor.h [1.3], iconf.c [1.5], iconf.h [1.2], icontext.c [1.9], 12995icontext.h [1.3], icremap.h [1.3], icsmap.h [1.3], icstate.h [1.7], 12996iddict.h [1.3], iddstack.h [1.3], idebug.c [1.5], idebug.h [1.3], 12997idict.c [1.5], idict.h [1.3], idictdef.h [1.3], idisp.c [1.4], 12998idisp.h [1.3], idosave.h [1.3], idparam.c [1.4], idparam.h [1.4], 12999idsdata.h [1.3], idstack.c [1.3], idstack.h [1.3], iesdata.h [1.3], 13000iestack.h [1.3], ifapi.h [1.8], ifcid.h [1.3], ifilter.h [1.4], 13001ifilter2.h [1.3], ifont.h [1.7], ifont1.h [1.4], ifont2.h [1.3], 13002ifont42.h [1.5], ifrpred.h [1.3], ifunc.h [1.6], ifwpred.h [1.3], 13003igc.c [1.6], igc.h [1.3], igcref.c [1.4], igcstr.c [1.4], igcstr.h [1.3], 13004igstate.h [1.4], iht.h [1.3], iimage.h [1.3], iimage2.h [1.3], 13005iinit.c [1.4], iinit.h [1.3], ilevel.h [1.3], ilocate.c [1.5], 13006imain.c [1.22], imain.h [1.4], imainarg.c [1.17], imainarg.h [1.4], 13007imemory.h [1.3], iminst.h [1.6], iname.c [1.4], iname.h [1.3], 13008inamedef.h [1.3], inameidx.h [1.3], inames.h [1.3], inamestr.h [1.3], 13009inobtokn.c [1.3], inouparm.c [1.3], interp.c [1.9], interp.h [1.3], 13010iosdata.h [1.3], iostack.h [1.3], ipacked.h [1.3], iparam.c [1.6], 13011iparam.h [1.3], iparray.h [1.3], ipcolor.h [1.3], iplugin.c [1.2], 13012iplugin.h [1.2], ireclaim.c [1.4], iref.h [1.6], isave.c [1.4], 13013isave.h [1.3], iscan.c [1.6], iscan.h [1.5], iscanbin.c [1.8], 13014iscanbin.h [1.3], iscannum.c [1.4], iscannum.h [1.3], isdata.h [1.3], 13015isstate.h [1.3], istack.c [1.3], istack.h [1.3], istkparm.h [1.3], 13016istream.h [1.3], istruct.h [1.3], itoken.h [1.3], iutil.c [1.4], 13017iutil.h [1.3], iutil2.c [1.4], iutil2.h [1.4], ivmem2.h [1.3], 13018ivmspace.h [1.3], main.h [1.4], oparc.h [1.3], opcheck.h [1.3], 13019opdef.h [1.4], oper.h [1.3], opextern.h [1.3], ostack.h [1.3], sbhc.c [1.4], 13020sbhc.h [1.3], sbwbs.c [1.3], sbwbs.h [1.3], sfilter1.c [1.7], 13021shcgen.c [1.3], shcgen.h [1.3], smtf.c [1.3], smtf.h [1.3], store.h [1.3], 13022zarith.c [1.5], zarray.c [1.3], zbfont.c [1.11], zbseq.c [1.5], 13023zcfont.c [1.3], zchar.c [1.5], zchar1.c [1.10], zchar2.c [1.3], 13024zchar32.c [1.3], zchar42.c [1.5], zcharout.c [1.6], zcharx.c [1.4], 13025zcid.c [1.4], zcie.c [1.7], zcolor.c [1.5], zcolor1.c [1.4], 13026zcolor2.c [1.6], zcontext.c [1.8], zcontrol.c [1.5], zcrd.c [1.4], 13027zcsdevn.c [1.8], zcsindex.c [1.4], zcspixel.c [1.3], zcssepr.c [1.9], 13028zdevcal.c [1.4], zdevice.c [1.5], zdevice2.c [1.6], zdfilter.c [1.3], 13029zdict.c [1.4], zdouble.c [1.3], zdpnext.c [1.4], zdps.c [1.5], 13030zdps1.c [1.4], zdscpars.c [1.13], zfapi.c [1.13], zfarc4.c [1.3], 13031zfbcp.c [1.4], zfcid.c [1.12], zfcid0.c [1.11], zfcid1.c [1.8], 13032zfcmap.c [1.10], zfdctd.c [1.7], zfdcte.c [1.6], zfdecode.c [1.4], 13033zfile.c [1.14], zfileio.c [1.13], zfilter.c [1.6], zfilter2.c [1.4], 13034zfilterx.c [1.3], zfmd5.c [1.3], zfont.c [1.4], zfont0.c [1.4], 13035zfont1.c [1.10], zfont2.c [1.5], zfont32.c [1.3], zfont42.c [1.7], 13036zfproc.c [1.10], zfrsd.c [1.5], zfsample.c [1.4], zfunc.c [1.10], 13037zfunc0.c [1.5], zfunc3.c [1.4], zfunc4.c [1.9], zfzlib.c [1.4], 13038zgeneric.c [1.4], zgstate.c [1.3], zhsb.c [1.3], zht.c [1.3], zht1.c [1.3], 13039zht2.c [1.3], zicc.c [1.4], zimage.c [1.6], zimage2.c [1.5], 13040zimage3.c [1.4], ziodev.c [1.8], ziodev2.c [1.4], zmath.c [1.4], 13041zmatrix.c [1.5], zmedia2.c [1.5], zmisc.c [1.3], zmisc1.c [1.4], 13042zmisc2.c [1.4], zmisc3.c [1.3], zpacked.c [1.3], zpaint.c [1.3], 13043zpath.c [1.3], zpath1.c [1.3], zpcolor.c [1.4], zrelbit.c [1.3], 13044zrop.c [1.3], zshade.c [1.6], zstack.c [1.3], zstring.c [1.4], 13045zsysvm.c [1.3], ztoken.c [1.7], ztrans.c [1.14], ztrap.c [1.3], 13046ztype.c [1.4], zupath.c [1.3], zusparam.c [1.5], zvmem.c [1.5], 13047zvmem2.c [1.4]: 2002/02/21 20:57:49 ray) 13048 13049Reverts to marking files with the single Id cvs tag instead of the RCSfile 13050and Revision pair. (lib/gs_agl.ps [1.4], lib/gs_btokn.ps [1.8], 13051lib/gs_ccfnt.ps [1.7], lib/gs_ce_e.ps [1.4], lib/gs_cff.ps [1.12], 13052lib/gs_cidcm.ps [1.9], lib/gs_ciddc.ps [1.6], lib/gs_cidfm.ps [1.5], 13053lib/gs_cidfn.ps [1.22], lib/gs_cmap.ps [1.14], lib/gs_cmdl.ps [1.4], 13054lib/gs_css_e.ps [1.4], lib/gs_dbt_e.ps [1.4], lib/gs_diskf.ps [1.4], 13055lib/gs_dpnxt.ps [1.4], lib/gs_dps.ps [1.6], lib/gs_dps1.ps [1.4], 13056lib/gs_dps2.ps [1.5], lib/gs_dscp.ps [1.6], lib/gs_epsf.ps [1.4], 13057lib/gs_fapi.ps [1.13], lib/gs_fform.ps [1.4], lib/gs_fonts.ps [1.19], 13058lib/gs_frsd.ps [1.6], lib/gs_icc.ps [1.4], lib/gs_il1_e.ps [1.4], 13059lib/gs_il2_e.ps [1.4], lib/gs_init.ps [1.50], lib/gs_kanji.ps [1.4], 13060lib/gs_ksb_e.ps [1.4], lib/gs_l2img.ps [1.4], lib/gs_lev2.ps [1.13], 13061lib/gs_lgo_e.ps [1.5], lib/gs_lgx_e.ps [1.4], lib/gs_ll3.ps [1.12], 13062lib/gs_mex_e.ps [1.4], lib/gs_mgl_e.ps [1.5], lib/gs_mro_e.ps [1.4], 13063lib/gs_pdf_e.ps [1.4], lib/gs_pdfwr.ps [1.15], lib/gs_pfile.ps [1.4], 13064lib/gs_rdlin.ps [1.4], lib/gs_res.ps [1.19], lib/gs_resmp.ps [1.5], 13065lib/gs_setpd.ps [1.11], lib/gs_statd.ps [1.7], lib/gs_std_e.ps [1.4], 13066lib/gs_sym_e.ps [1.4], lib/gs_trap.ps [1.5], lib/gs_ttf.ps [1.11], 13067lib/gs_typ32.ps [1.5], lib/gs_typ42.ps [1.6], lib/gs_type1.ps [1.11], 13068lib/gs_wan_e.ps [1.4], lib/gs_wl1_e.ps [1.4], lib/gs_wl2_e.ps [1.4], 13069lib/gs_wl5_e.ps [1.4], lib/ht_ccsto.ps [1.3]: 2002/02/21 21:49:28 giles) 13070 13071Reverts to marking files with the single Id cvs tag instead of the RCSfile 13072and Revision pair. (bfont.h [1.6], btoken.h [1.6], ccfont.h [1.4], 13073dpmain.c [1.7], dscparse.c [1.10], dscparse.h [1.9], dstack.h [1.5], 13074dwdll.c [1.4], dwdll.h [1.5], dwimg.c [1.5], dwimg.h [1.7], 13075dwinst.cpp [1.4], dwinst.h [1.5], dwmain.c [1.9], dwmain.h [1.6], 13076dwmainc.c [1.11], dwnodll.c [1.4], dwreg.c [1.3], dwreg.h [1.4], 13077dwsetup.cpp [1.7], dwsetup.h [1.5], dwtext.c [1.7], dwtext.h [1.7], 13078dwuninst.cpp [1.4], dwuninst.h [1.5], errors.h [1.6], estack.h [1.5], 13079fapiufst.c [1.11], files.h [1.6], gdevdsp.h [1.5], gdevdsp2.h [1.6], 13080ghost.h [1.4], gs.c [1.8], ialloc.c [1.4], ialloc.h [1.4], iapi.c [1.5], 13081iapi.h [1.4], iastate.h [1.4], iastruct.h [1.4], ibnum.c [1.6], 13082ibnum.h [1.6], iccfont.c [1.5], iccinit0.c [1.4], icfontab.c [1.4], 13083ichar.h [1.5], ichar1.h [1.6], icharout.h [1.6], icid.h [1.4], icie.h [1.5], 13084icolor.h [1.4], iconf.c [1.6], iconf.h [1.3], icontext.c [1.10], 13085icontext.h [1.4], icremap.h [1.4], icsmap.h [1.4], icstate.h [1.8], 13086iddict.h [1.4], iddstack.h [1.4], idebug.c [1.6], idebug.h [1.4], 13087idict.c [1.6], idict.h [1.4], idictdef.h [1.4], idisp.c [1.5], 13088idisp.h [1.4], idosave.h [1.4], idparam.c [1.5], idparam.h [1.5], 13089idsdata.h [1.4], idstack.c [1.4], idstack.h [1.4], iesdata.h [1.4], 13090iestack.h [1.4], ifapi.h [1.9], ifcid.h [1.4], ifilter.h [1.5], 13091ifilter2.h [1.4], ifont.h [1.8], ifont1.h [1.5], ifont2.h [1.4], 13092ifont42.h [1.6], ifrpred.h [1.4], ifunc.h [1.7], ifwpred.h [1.4], 13093igc.c [1.7], igc.h [1.4], igcref.c [1.5], igcstr.c [1.5], igcstr.h [1.4], 13094igstate.h [1.5], iht.h [1.4], iimage.h [1.4], iimage2.h [1.4], 13095iinit.c [1.5], iinit.h [1.4], ilevel.h [1.4], ilocate.c [1.6], 13096imain.c [1.23], imain.h [1.5], imainarg.c [1.18], imainarg.h [1.5], 13097imemory.h [1.4], iminst.h [1.7], iname.c [1.5], iname.h [1.4], 13098inamedef.h [1.4], inameidx.h [1.4], inames.h [1.4], inamestr.h [1.4], 13099inobtokn.c [1.4], inouparm.c [1.4], interp.c [1.10], interp.h [1.4], 13100iosdata.h [1.4], iostack.h [1.4], ipacked.h [1.4], iparam.c [1.7], 13101iparam.h [1.4], iparray.h [1.4], ipcolor.h [1.4], iplugin.c [1.3], 13102iplugin.h [1.3], ireclaim.c [1.5], iref.h [1.7], isave.c [1.5], 13103isave.h [1.4], iscan.c [1.7], iscan.h [1.6], iscanbin.c [1.9], 13104iscanbin.h [1.4], iscannum.c [1.5], iscannum.h [1.4], isdata.h [1.4], 13105isstate.h [1.4], istack.c [1.4], istack.h [1.4], istkparm.h [1.4], 13106istream.h [1.4], istruct.h [1.4], itoken.h [1.4], iutil.c [1.5], 13107iutil.h [1.4], iutil2.c [1.5], iutil2.h [1.5], ivmem2.h [1.4], 13108ivmspace.h [1.4], main.h [1.5], oparc.h [1.4], opcheck.h [1.4], 13109opdef.h [1.5], oper.h [1.4], opextern.h [1.4], ostack.h [1.4], sbhc.c [1.5], 13110sbhc.h [1.4], sbwbs.c [1.4], sbwbs.h [1.4]: 2002/02/21 22:24:51 giles) 13111 13112Reverts to marking files with the single Id cvs tag instead of the RCSfile 13113and Revision pair. (sfilter1.c [1.8], shcgen.c [1.4], shcgen.h [1.4], 13114smtf.c [1.4], smtf.h [1.4], store.h [1.4], zarith.c [1.6], zarray.c [1.4], 13115zbfont.c [1.12], zbseq.c [1.6], zcfont.c [1.4], zchar.c [1.6], 13116zchar1.c [1.11], zchar2.c [1.4], zchar32.c [1.4], zchar42.c [1.6], 13117zcharout.c [1.7], zcharx.c [1.5], zcid.c [1.5], zcie.c [1.8], 13118zcolor.c [1.6], zcolor1.c [1.5], zcolor2.c [1.7], zcontext.c [1.9], 13119zcontrol.c [1.6], zcrd.c [1.5], zcsdevn.c [1.9], zcsindex.c [1.5], 13120zcspixel.c [1.4], zcssepr.c [1.10], zdevcal.c [1.5], zdevice.c [1.6], 13121zdevice2.c [1.7], zdfilter.c [1.4], zdict.c [1.5], zdouble.c [1.4], 13122zdpnext.c [1.5], zdps.c [1.6], zdps1.c [1.5], zdscpars.c [1.14], 13123zfapi.c [1.14], zfarc4.c [1.4], zfbcp.c [1.5], zfcid.c [1.13], 13124zfcid0.c [1.12], zfcid1.c [1.9], zfcmap.c [1.11], zfdctd.c [1.8], 13125zfdcte.c [1.7], zfdecode.c [1.5], zfile.c [1.15], zfileio.c [1.14], 13126zfilter.c [1.7], zfilter2.c [1.5], zfilterx.c [1.4], zfmd5.c [1.4], 13127zfont.c [1.5], zfont0.c [1.5], zfont1.c [1.11], zfont2.c [1.6], 13128zfont32.c [1.4], zfont42.c [1.8], zfproc.c [1.11], zfrsd.c [1.6], 13129zfsample.c [1.5], zfunc.c [1.11], zfunc0.c [1.6], zfunc3.c [1.5], 13130zfunc4.c [1.10], zfzlib.c [1.5], zgeneric.c [1.5], zgstate.c [1.4], 13131zhsb.c [1.4], zht.c [1.4], zht1.c [1.4], zht2.c [1.4], zicc.c [1.5], 13132zimage.c [1.7], zimage2.c [1.6], zimage3.c [1.5], ziodev.c [1.9], 13133ziodev2.c [1.5], zmath.c [1.5], zmatrix.c [1.6], zmedia2.c [1.6], 13134zmisc.c [1.4], zmisc1.c [1.5], zmisc2.c [1.5], zmisc3.c [1.4], 13135zpacked.c [1.4], zpaint.c [1.4], zpath.c [1.4], zpath1.c [1.4], 13136zpcolor.c [1.5], zrelbit.c [1.4], zrop.c [1.4], zshade.c [1.7], 13137zstack.c [1.4], zstring.c [1.5], zsysvm.c [1.4], ztoken.c [1.8], 13138ztrans.c [1.15], ztrap.c [1.4], ztype.c [1.5], zupath.c [1.4], 13139zusparam.c [1.6], zvmem.c [1.6], zvmem2.c [1.5]: 2002/02/21 22:24:54 giles) 13140 13141Reverts to marking files with the single Id cvs tag instead of the RCSfile 13142and Revision pair. (examples/waterfal.ps [1.5]: 2002/02/21 22:49:46 giles) 13143 13144FAPI project : Fixing absent entries in Subrs array. (zfapi.c [1.15]: 131452002/02/21 23:09:42 igor) 13146 13147FAPI project : Removing an obsolete fixme comment. (lib/gs_ciddc.ps [1.7]: 131482002/02/21 23:14:05 igor) 13149 13150FAPI project : Fixing absent entries in Subrs array. (zfapi.c [1.16]: 131512002/02/21 23:22:22 igor) 13152 13153Makes 'save' create inner chunks for all chunks with at least a minimum 13154amount of free space (currently defined statically as 500 bytes), rather 13155than only for the chunk that was open at the time of the save. This makes 13156all of this space available for allocation within the scope of the save, 13157which can substantially improve memory utilization. (isave.c [1.6]: 131582002/02/25 07:37:22 lpd) 13159 13160FAPI project : (1) Fixing a bug in stringwidth; (2) replacing CheckRET macro 13161with return_if_error. (fapiufst.c [1.12], ifapi.h [1.10], zfapi.c [1.17]: 131622002/02/25 10:02:12 igor) 13163 13164FAPI project : Fixing bugs (1) in TrueType 'loca' format 1 and (2) in 13165'.notdef' charstring access. (fapiufst.c [1.13], zfapi.c [1.18]: 2002/02/25 1316617:21:09 igor) 13167 13168Implementing Visual Trace service to graphics library, and Visual Trace 13169server for Windows. (dwdll.c [1.5], dwdll.h [1.6], dwimg.c [1.6], 13170dwmain.c [1.10], dwmainc.c [1.12], dwtrace.c [1.1], dwtrace.h [1.2], 13171iapi.c [1.6], iapi.h [1.5], imainarg.c [1.19]: 2002/02/26 16:09:15 igor) 13172 13173FAPI project : Changing the logics of loading GS fonts with FAPI : now all 13174fonts listed in fontmap are being loaded with GS font loader and then are 13175passed to FAPI in same way as embedded fonts. (lib/gs_fapi.ps [1.14], 13176lib/gs_fonts.ps [1.20]: 2002/02/26 17:49:12 igor) 13177 13178FAPI project : An unaligned bitmap was passed from UFST to 13179mem_mono_copy_mono. Creating a temporary aligned copy on necessity. Source 13180Forge bug #523073 "Segment fault in mem_mono_copy_mono". (fapiufst.c [1.14], 13181zfapi.c [1.19]: 2002/02/27 10:34:57 igor) 13182 13183Remove the return_if_error macro from ALL occurrences and clean up some of 13184the C-style problems with the FAPI code. Add some of the new rules about 13185macros to C-style.htm. (dwtrace.c [1.2], zfapi.c [1.20]: 2002/02/28 21:21:42 13186ray) 13187 13188Committing in . Long promised type cast changes neede to supress warnings on 13189OpenVMS devs.mak : In a condition in a Makefile for OpenVMS the ":" should 13190be surrounded by spaces. Modified Files: gs/src/devs.mak gs/src/imainarg.c 13191gs/src/zfile.c 13192---------------------------------------------------------------------- 13193(imainarg.c [1.20], zfile.c [1.16]: 2002/03/07 08:35:16 joukj) 13194 13195MS-Windows installer now clears the read-only attribute when copying files. 13196The installer was failing when the source files were stored unpacked on a 13197CD-ROM. (dwinst.cpp [1.5], dwinst.h [1.6]: 2002/03/12 20:55:22 ghostgum) 13198 13199Add a new optional FEATURE, diskn.dev that provides emulation of %disk 13200devices present on some Adobe printers. This version is NOT multiple 13201instance safe, but is useful for embedded printers or for server systems 13202with a single Ghostscript instance. Documentation is in Language.htm. 13203Addresses SourceForge bug #493344 for Artifex customer #411. (files.h [1.7], 13204iinit.c [1.6], lib/gs_diskn.ps [1.1], lib/gs_init.ps [1.51], 13205lib/gs_lev2.ps [1.14], lib/gs_res.ps [1.22], lib/gs_statd.ps [1.8], 13206lib/gs_ttf.ps [1.13], zfile.c [1.17], zfrsd.c [1.7], ziodev2.c [1.6]: 132072002/03/13 20:27:39 ray) 13208 13209Adds multiple inclusion protection to the vdtrace header files. 13210(dwtrace.h [1.3]: 2002/03/14 04:26:44 giles) 13211 13212Adds -dNOTRANSPARENCY flag, which disables all PDF 1.4 transparency 13213processing. (lib/gs_init.ps [1.52]: 2002/03/14 15:53:09 raph) 13214 13215Removing return_if_error macro. (fapiufst.c [1.16]: 2002/03/14 19:19:13 13216igor) 13217 13218Adds documentation for the macros in iref.h, and changes the names of 13219internal macros to upper case. (idebug.c [1.7], iref.h [1.8]: 2002/03/19 1322017:35:53 lpd) 13221 13222Bumps the next-release version number to 7.20 to leave additional room for 13223stable releases. (lib/gs_init.ps [1.53]: 2002/03/22 00:05:52 giles) 13224 13225</pre><h2><a name="7.20-Streams"></a>Streams</h2><pre> 13226 13227Fixes problems: 13228 - The double-inclusion protection for two header files didn't use 13229the standard method. (scfx.h [1.3], scommon.h [1.4]: 2002/01/11 02:27:59 13230lpd) 13231 - On IA64 CPUs, objects were only aligned on 8-byte boundaries, not 1323216-byte. (It may be that only jmpbuf structures actually need 16-byte 13233alignment, but gcc and glibc malloc align all objects that way.) Fixes 13234SourceForge bug #502866. Also cleans up some minor coding issues in 13235genarch.c. (std.h [1.5]: 2002/01/16 16:09:20 lpd) 13236 - sclose and spskip incorrectly indicated that they returned a 13237'code' (per gserrors.h) rather than a 'status' (per scommon.h). 13238(stream.c [1.16]: 2002/02/12 21:52:16 lpd) 13239 - the 1-line comment at the head of sstring.h was garbled. 13240(sstring.h [1.4]: 2002/02/16 15:08:59 lpd) 13241 13242Finishes removing support for pre-ANSI (a.k.a. "traditional" or "K&R") C 13243compilers. (stdpre.h [1.5]: 2001/12/13 18:11:09 lpd) 13244 13245Adds more tracing to the DCTEncode filter (under the -Zw switch). 13246(sdcte.c [1.5]: 2002/02/16 07:32:23 lpd) 13247 13248Update banner to the new format common to all releases (AFPL, GPL and 13249Artifex Software's commercial release). References file LICENSE. 13250(sa85d.c [1.4], sa85d.h [1.4], sa85x.h [1.4], sarc4.c [1.6], sarc4.h [1.3], 13251sbcp.c [1.4], sbcp.h [1.3], sbtx.h [1.3], scanchar.h [1.3], scantab.c [1.3], 13252scf.h [1.3], scfd.c [1.4], scfdtab.c [1.2], scfe.c [1.3], scfetab.c [1.3], 13253scfparam.c [1.3], scfx.h [1.4], scommon.h [1.5], sdcparam.c [1.4], 13254sdcparam.h [1.3], sdct.h [1.5], sdctc.c [1.3], sdctd.c [1.3], sdcte.c [1.6], 13255sddparam.c [1.3], sdeparam.c [1.5], seexec.c [1.5], sfilter.h [1.7], 13256sfilter2.c [1.4], sfxboth.c [1.3], sfxfd.c [1.7], sfxstdio.c [1.5], 13257shc.c [1.3], shc.h [1.3], siinterp.c [1.3], siinterp.h [1.3], 13258siscale.c [1.5], siscale.h [1.3], sisparam.h [1.3], sjpeg.h [1.3], 13259sjpegc.c [1.5], sjpegd.c [1.4], sjpege.c [1.4], slzwc.c [1.3], 13260slzwce.c [1.3], slzwd.c [1.4], slzwx.h [1.3], smd5.c [1.4], smd5.h [1.3], 13261spdiff.c [1.4], spdiffx.h [1.3], spngp.c [1.3], spngpx.h [1.3], 13262spprint.c [1.5], spprint.h [1.4], spsdf.c [1.6], spsdf.h [1.3], 13263srdline.h [1.3], srld.c [1.3], srle.c [1.3], srlx.h [1.4], sstring.c [1.3], 13264sstring.h [1.5], stat_.h [1.7], std.h [1.6], stdio_.h [1.5], stdpre.h [1.6], 13265stream.c [1.17], stream.h [1.9], strimpl.h [1.4], string_.h [1.3], 13266szlibc.c [1.4], szlibd.c [1.4], szlibe.c [1.3], szlibx.h [1.3], 13267szlibxx.h [1.3]: 2002/02/21 20:57:49 ray) 13268 13269Reverts to marking files with the single Id cvs tag instead of the RCSfile 13270and Revision pair. (sa85d.c [1.5], sa85d.h [1.5], sa85x.h [1.5], 13271sarc4.c [1.7], sarc4.h [1.4], sbcp.c [1.5], sbcp.h [1.4], sbtx.h [1.4], 13272scanchar.h [1.4], scantab.c [1.4], scf.h [1.4], scfd.c [1.5], 13273scfdtab.c [1.3], scfe.c [1.4], scfetab.c [1.4], scfparam.c [1.4], 13274scfx.h [1.5], scommon.h [1.6], sdcparam.c [1.5], sdcparam.h [1.4], 13275sdct.h [1.6], sdctc.c [1.4], sdctd.c [1.4], sdcte.c [1.7], sddparam.c [1.4], 13276sdeparam.c [1.6], seexec.c [1.6], sfilter.h [1.8], sfilter2.c [1.5], 13277sfxboth.c [1.4], sfxfd.c [1.8], sfxstdio.c [1.6], shc.c [1.4], shc.h [1.4], 13278siinterp.c [1.4], siinterp.h [1.4], siscale.c [1.6], siscale.h [1.4], 13279sisparam.h [1.4], sjpeg.h [1.4], sjpegc.c [1.6], sjpegd.c [1.5], 13280sjpege.c [1.5], slzwc.c [1.4], slzwce.c [1.4], slzwd.c [1.5], slzwx.h [1.4], 13281smd5.c [1.5], smd5.h [1.4], spdiff.c [1.5], spdiffx.h [1.4], spngp.c [1.4], 13282spngpx.h [1.4], spprint.c [1.6], spprint.h [1.5], spsdf.c [1.7], 13283spsdf.h [1.4], srdline.h [1.4], srld.c [1.4], srle.c [1.4], srlx.h [1.5], 13284sstring.c [1.4], sstring.h [1.6], stat_.h [1.8], std.h [1.7], 13285stdio_.h [1.6], stdpre.h [1.7], stream.c [1.18], stream.h [1.10], 13286strimpl.h [1.5], string_.h [1.4], szlibc.c [1.5], szlibd.c [1.5], 13287szlibe.c [1.4], szlibx.h [1.4], szlibxx.h [1.4]: 2002/02/21 22:24:53 giles) 13288 13289Adds support for compilation against a standard shared libjpeg. It is 13290believed that non-baseline compliant DCTEncoded data, permitted by early 13291versions of postscript, is now extremely rare and the prohibition against 13292SHARE_JPEG=1 may reasonably be removed. The autoconf build will prefer a 13293local copy of the jpeg source, in which case the D_MAX_BLOCKS_IN_MCU patch 13294will still be applied. If no such local copy is found, it will try to find a 13295shared library on the system. For all unix builds, if $(JSRCDIR)/jmemsys.h 13296cannot be found, we define DONT_HAVE_JMEMSYS_H and include our own versions 13297of the libjpeg memory manager prototypes. The default allocator in the 13298shared library is overridden by the ghostscript one at link-time. While this 13299may be implementation-dependent, it appears to function as desired on at 13300least GNU/Linux and Solaris. Also changes the autoconf build to prefer local 13301zlib and libpng source, and cleans up some variable names. (sjpegc.c [1.7]: 133022002/03/30 23:55:15 giles) 13303 13304</pre><h2><a name="7.20-Library"></a>Library</h2><pre> 13305 13306Fixes problems: 13307 - Change show_enum pointer enumeration to properly enumerate 13308underlying gs_text_enum structure. (gxchar.c [1.6]: 2001/10/26 16:28:02 13309raph) 13310 - Image DataSource procedures that did save/restore would clear the 13311tile cache which was not detected in image_render_mono resulting in images 13312being painted with (mostly) all black when the device was a halftoned device 13313e.g. pcxmono or tiffg3. Check for vailidity of the ht_cache and re-init the 13314image color clues if not valid. Also improve performance by preventing 13315restore from always clearing the ht_cache. Fixes SourceForge bug #436897 for 13316Artifex customer #710. (gsstate.c [1.12], gxht.c [1.3], gximage.h [1.3], 13317gximono.c [1.3], gxipixel.c [1.3], gzht.h [1.5]: 2001/11/06 22:40:05 rayjj) 13318 - Trailing comma in structure (compile error on AIX). 13319(gxfcmap.h [1.9]: 2001/11/07 18:00:09 rayjj) 13320 - Fix for 473305 and a revised fix for 422534. The fix for 422534 13321caused a problem detected by the regression testing. This was found with 13322test file 035-01.ps. Both problems were caused by an error in the logic for 13323comparing two halftones for equality. This logic is used to determine which 13324the halftone cache needs to be reloaded. In both cases, non equal halftones 13325were being considered equal. (gsdcolor.h [1.4], gxcht.c [1.4], 13326gxclrast.c [1.10], gxdcolor.c [1.4]: 2001/11/12 22:15:19 dancoby) 13327 - There was an unused variable 'code'; 'divide' was misspelled 13328'devide'; there was a && without enclosing parentheses within a ||. 13329(gxshade1.c [1.10]: 2001/11/22 05:01:40 lpd) 13330 - Removes 2 undefined variables. (gsdevice.c [1.12]: 2001/11/22 1333105:05:41 lpd) 13332 - Removes an unused variable. (gsfcmap.c [1.15]: 2001/11/22 05:14:55 13333lpd) 13334 - gs_purge_font_from_char_caches wasn't declared in any header file. 13335(gsfont.c [1.5], gxfcache.h [1.3]: 2001/11/22 05:56:51 lpd) 13336 - CIE color conversion could be very inaccurate if it didn't use 13337interpolation when cached sampled values were near zero. This fix detects 13338numerically sensitive areas and uses interpolation (which is computationally 13339expensive) only in those areas. Fixes SourceForge #465921. (gscie.c [1.6], 13340gscie.h [1.5], gsciemap.c [1.8], gscrd.c [1.3]: 2001/12/09 00:03:37 lpd) 13341 - Image Type 4 images processed with the Interpolate turned on (as 13342from -dDOINTERPOLATE) left an uninitialized variable that could cause 13343extensive slowdown. Fix for SourceForge bug #491308 for Artifex customer 13344671. (gxiscale.c [1.3]: 2001/12/14 19:02:27 rayjj) 13345 - Don't signal invalidacces if the OutputFile parameter is set to 13346the current value as would be done by 'currentpagedevice setpagedevice'. 13347(gdevprn.c [1.7]: 2002/01/15 04:44:09 rayjj) 13348 - On IA64 CPUs, objects were only aligned on 8-byte boundaries, not 1334916-byte. (It may be that only jmpbuf structures actually need 16-byte 13350alignment, but gcc and glibc malloc align all objects that way.) Fixes 13351SourceForge bug #502866. Also cleans up some minor coding issues in 13352genarch.c. (gsmalloc.c [1.4], gxobj.h [1.3]: 2002/01/16 16:09:20 lpd) 13353 - pdfwrite incorrectly handled Metrics[2] and CDevProc by writing 13354Widths that differed from the widths in the underlying font. pdfwrite now 13355positions characters individually in this case, like Acrobat Distiller. 13356Fixes SourceForge #495414. (gxfont.h [1.6]: 2002/01/17 05:13:24 lpd) 13357 - The recent fix for #502866 required malloc to align blocks at 13358least as stringently as the compiler requires. Even though the ANSI C 13359specification appears to require this, and Ghostscript relies on it, Dan 13360reports that some C implementation doesn't do it. Additional patching to 13361deal with this problem will undoubtedly be required.... (gsmalloc.c [1.5]: 133622002/01/18 00:31:25 lpd) 13363 - The check for unaligned return values from malloc still had a bug. 13364(gsmalloc.c [1.6]: 2002/01/18 18:27:08 lpd) 13365 - MSVC's malloc on x86 only aligns blocks mod 4, even though the 13366compiler aligns 'double' members of structures mod 8. Documents this fact in 13367the relevant places in the Ghostscript code, and removes the check that was 13368causing gsmalloc.c to produce warning messages. (gsmalloc.c [1.7], 13369gsmemory.h [1.4], gsmemraw.h [1.4], gxbitmap.h [1.3], gxobj.h [1.4]: 133702002/01/22 08:04:28 lpd) 13371 - Improve security in a (mostly) backward compatible fashion adding 13372more flexible file access paths (PermitFile...) as user paramters and adding 13373the facility to return to NOSAFER mode after running jobs (files/procedures) 13374in SAFER mode. This should address SF bug #474582 and eliminate the need for 13375the RedHat PARANOIDSAFER patch. (gp.h [1.9], gp_dosfe.c [1.3], 13376gp_dosfs.c [1.3], gp_unifn.c [1.3], gsutil.c [1.5], gsutil.h [1.4]: 133772002/01/24 06:33:33 rayjj) 13378 - When pdfwrite embedded a TrueType font with a generated format 6 13379cmap, it incorrectly added the character bias (0xf000) to the "first 13380character code" entry in the cmap sub-table. Fixes SourceForge #434707 and 13381probably some others. This fix also adds a set of compile-time options for 13382forcing embedded TTFs into particular formats for debugging. 13383(gdevpsft.c [1.10]: 2002/01/29 00:44:06 lpd) 13384 - Prevent Type2 fonts from needing more than 48 ostack elements. 13385Patch provided by Toshiya Suzuki-san (mpsuzuki). Also add checking to 13386prevent fonts that push more than 48 elements on the ostack from overflowing 13387the array (could caused SEGV). Fix for SourcForge bug #497537. 13388(gdevpsfx.c [1.11], gstype1.c [1.8], gstype2.c [1.12], gxtype1.c [1.10], 13389gxtype1.h [1.7]: 2002/01/29 19:13:25 rayjj) 13390 - The cached effective_clip_id was being set to the clip_id of the 13391clip_path, ignoring the viewclip path in some cases. Set the 'id' to 13392correctly reflect the path in effective_clip_path. Fixes SF bug #458769 for 13393Artifex customer #1130. (gspath.c [1.3]: 2002/02/05 00:29:59 rayjj) 13394 - Prevent large transparency buffer allocations from overflowing 13395unsigned int. Could lead to SEGV or buffer overflow. Also fix up some return 13396code handling when allocations fail in PDF 1.4 transparency logic. Fixes SF 13397bug #511914 for Artifex customer #680. (gdevp14.c [1.5]: 2002/02/05 08:13:50 13398rayjj) 13399 - gx_begin_image3x_generic passed uninitialized data to 13400gs_cspace_init_DevicePixel when Shape.MaskDict was absent, causing a garbage 13401collector crash. Fixes SourceForge bug #516530 (heap crash with 13402OTGuide.pdf). (based on proposed fix by igorm.) (gsipar3x.h [1.4], 13403gximag3x.c [1.8], gximono.c [1.4]: 2002/02/18 17:12:53 lpd) 13404 - Many files lacked double-inclusion protection, or implemented it 13405incorrectly. (gsdfilt.h [1.3], gxfapi.h [1.3], jerror_.h [1.3]: 2002/02/20 1340601:32:47 lpd) 13407 - Converting Type 1 to Type 2 fonts didn't adjust the coordinates of 13408stem hints, which are relative to the l.s.b. in Type 1 but not in Type 2. 13409(First part of two-part fix for SourceForge #520718.) (gdevpsfx.c [1.14]: 134102002/02/22 07:07:47 lpd) 13411 - The Type 2 CharString interpreter ignored many hints. (Second part 13412of two-part fix for SourceForge #520718.) (gstype1.c [1.11], 13413gstype2.c [1.15], gxhint2.c [1.5], gxtype1.h [1.10]: 2002/02/22 15:28:21 13414lpd) 13415 - Fixes an out-of-date reference to the Type 2 CharString 13416documentation. (gstype2.c [1.16]: 2002/02/22 23:32:41 lpd) 13417 - Makes the standard memory manager scan all chunks, not just the 13418currently open one, for available free space. This is a long-planned, 13419long-overdue improvement that can improve memory utilization dramatically. 13420(gsalloc.c [1.14]: 2002/02/22 23:39:20 lpd) 13421 - Prevent image interpolation if the target device has less than 4 13422bits per component. This prevents interpolation from causing 'noise' 13423(stripes, shadows, etc.) in the output when the device is halftone dithered. 13424SourceForge bug 525708 for Artifex customer #710. (gxiscale.c [1.6]: 134252002/03/06 19:15:15 ray) 13426 - The formula for dy6 in Type2 hflex1 instruction was wrong. Source 13427Forge bug #530136 "hflex1 arguments misinterpreted". Thanks to Felix Pahl 13428(fpahl) for spotting this. (gstype2.c [1.17]: 2002/03/20 20:25:33 igor) 13429 - Fixes a number of problems with Type11 incremental glyph loading 13430with MetricsCount=2. Thanks to Brian Stell for the patch. 13431(gstype42.c [1.17]: 2002/03/26 08:37:14 raph) 13432 - (1) real_widths were missed in public_st_pdf_font; (2) 13433pdf_finalize_font_descriptor was called twice (form pdf_font_notify_proc and 13434from pdf_write_font_resources), if a font is garbage-collected after 13435pdf_close. Source Forge bug "[ 531983 ] ps2pdf coredumps on this ps file". 13436(gsstruct.h [1.12]: 2002/03/27 16:46:06 igor) 13437 - gxfont.h didn't include gsmatrix.h, so many places using gxfont.h 13438had to include gsmatrix.h. (gxfont.h [1.9]: 2002/03/29 00:41:39 lpd) 13439 - gsfont.h didn't define gs_matrix as an opaque type, causing 13440clients of gsfont.h to include gsmatrix.h unnecessarily. (gsfont.h [1.5]: 134412002/03/29 00:48:21 lpd) 13442 13443file vdtrace.c was initially added on branch HINTER. (vdtrace.c [1.1]: 134442001/01/12 06:19:36 igorm) 13445 13446file vdtrace.h was initially added on branch HINTER. (vdtrace.h [1.1]: 134472001/02/02 20:27:09 igorm) 13448 13449Updates version number to 7.10 to indicate that this is now the development 13450branch. (gscdef.c [1.16]: 2001/10/20 09:25:22 raph) 13451 13452Changes all procedures for getting glyph outline data to return a structure 13453that includes memory management information. This is a 13454NON-BACKWARD-COMPATIBLE change to both implementors and clients. It corrects 13455a serious design error: formerly these procedures encoded memory management 13456information in their return code, which was obscure and error-prone. 13457(gdevpsf.h [1.11], gdevpsf1.c [1.10], gdevpsf2.c [1.16], gdevpsft.c [1.9], 13458gdevpsfu.c [1.8], gdevpsfx.c [1.10], gsfcid.c [1.6], gsgdata.c [1.1], 13459gsgdata.h [1.1], gstype1.c [1.7], gstype1.h [1.3], gstype2.c [1.11], 13460gstype42.c [1.13], gxfcid.h [1.7], gxfont.h [1.4], gxfont1.h [1.6], 13461gxfont42.h [1.5], gxtype1.c [1.9], gxtype1.h [1.6]: 2001/10/21 06:20:08 lpd) 13462 13463FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 13464fonts including FCOs, and embedded fonts, including incremental ones. 13465(gconf.c [1.3], gsmemraw.h [1.3], gxfont.h [1.5]: 2001/10/21 18:57:41 igorm) 13466 13467FAPI project, UFST only, Type 1 and Type42 fonts. This version supports disk 13468fonts including FCOs, and embedded fonts, including incremental ones. 13469(gxfapi.c [1.1], gxfapi.h [1.1]: 2001/10/21 19:10:29 igorm) 13470 13471Takes a small step towards fully ANSIfied code by removing all ANSI-testing 13472uses of __PROTOTYPES__ from code with an Aladdin/artofcode copyright. 13473(gdevprn.h [1.7], gsroptab.c [1.3], gsstruct.h [1.9]: 2001/10/25 04:38:34 13474lpd) 13475 13476Refactors the CIEBased color mapping code slightly to make the CIE => XYZ 13477step separately accessible. (The XYZ => device step is already exported 13478for rendering ICCBased color.) pdfwrite needs this for converting arbitrary 13479CIEBased spaces to ICCBased. (gscie.c [1.5], gscie.h [1.4], 13480gsciemap.c [1.7], gxcie.h [1.4]: 2001/11/06 04:47:37 lpd) 13481 13482Improvement for FAPI project : Splitting set_cache_device in 2 parts to 13483allow computing the oversampling scale prior to zchar_set_cache. 13484(gxchar.c [1.7], gxchar.h [1.3]: 2001/11/06 22:02:33 igorm) 13485 13486Changes uses of 'defined' as an identifier to 'is_defined', since 'defined' 13487is a (non-standard) reserved word in gcc 2.96. (Patch from Red Hat.) 13488(gsdparam.c [1.5]: 2001/11/07 07:48:57 lpd) 13489 13490FAPI project : (1) upgrading with UFST 4.3, (2) implementing GS cache. 13491(gxfapi.c [1.2], gxfapi.h [1.2]: 2001/11/11 23:09:16 igorm) 13492 13493FAPI project : Preparing environment for CID font processing; Fixing UFST 13494file names. (gxfapi.c [1.3]: 2001/12/12 02:48:20 igorm) 13495 13496FAPI project : Making set_char_width to be public to access from FAPI 13497client. (gxchar.c [1.8], gxchar.h [1.4]: 2001/12/20 22:17:59 igorm) 13498 13499Improve security for device related access to the file system and to pipes 13500by allowing the dangerous parameters to be locked (for example, OutputFile). 13501The locking is performed after command line parameters are established. 13502Locking is not turned on by default as a result of this change, but 13503-d.LockSafetyParams=true can be added to the command line to accomplish 13504this. Related to SF bug #474582 (sort of). (gdevprn.c [1.6], 13505gdevvec.c [1.13], gsdparam.c [1.6], gxdevcli.h [1.6], gxdevice.h [1.5]: 135062001/12/22 00:44:01 rayjj) 13507 13508FAPI project : Making set_char_width to be public to access from FAPI 13509client. (gdevpsfm.c [1.6], gxfcmap.h [1.10]: 2001/12/28 18:53:02 igorm) 13510 13511Moves TrueType glyph flags to gxttf.h, where they should have been from the 13512beginning. (gstype42.c [1.14], gxttf.h [1.3]: 2002/02/11 16:27:58 lpd) 13513 13514Minor tweaks to Ray's buffer allocation failure patch, as discussed on 13515gs-code-review. (gdevp14.c [1.6]: 2002/02/13 18:11:09 raph) 13516 13517Remove pdf14_text_enum_t and related functions because they are unuseful. 13518This change helps for FAPI project. (gdevp14.c [1.7]: 2002/02/18 11:13:19 13519igor) 13520 13521Update banner to the new format common to all releases (AFPL, GPL and 13522Artifex Software's commercial release). References file LICENSE. 13523(ctype_.h [1.3], dirent_.h [1.3], dos_.h [1.3], errno_.h [1.3], 13524fcntl_.h [1.4], gconf.c [1.4], gconf.h [1.3], gdebug.h [1.4], 13525gdevabuf.c [1.4], gdevalph.c [1.3], gdevbbox.c [1.5], gdevbbox.h [1.3], 13526gdevcmap.c [1.3], gdevcmap.h [1.3], gdevdbit.c [1.3], gdevddrw.c [1.3], 13527gdevdflt.c [1.4], gdevdgbr.c [1.3], gdevdrop.c [1.4], gdevemap.c [1.3], 13528gdevhit.c [1.3], gdevht.c [1.4], gdevht.h [1.3], gdevm1.c [1.3], 13529gdevm16.c [1.3], gdevm2.c [1.3], gdevm24.c [1.3], gdevm32.c [1.3], 13530gdevm4.c [1.3], gdevm8.c [1.3], gdevmem.c [1.3], gdevmem.h [1.4], 13531gdevmpla.c [1.3], gdevmpla.h [1.3], gdevmr1.c [1.3], gdevmr2n.c [1.3], 13532gdevmr8n.c [1.3], gdevmrop.h [1.4], gdevmrun.c [1.3], gdevmrun.h [1.3], 13533gdevnfwd.c [1.4], gdevp14.c [1.8], gdevpipe.c [1.5], gdevplnx.c [1.3], 13534gdevplnx.h [1.3], gdevppla.c [1.3], gdevppla.h [1.3], gdevprn.c [1.8], 13535gdevprn.h [1.8], gdevprna.c [1.3], gdevprna.h [1.3], gdevpsf.h [1.12], 13536gdevpsf1.c [1.11], gdevpsf2.c [1.17], gdevpsfm.c [1.7], gdevpsft.c [1.11], 13537gdevpsfu.c [1.9], gdevpsfx.c [1.12], gdevrops.c [1.4], gdevtrac.c [1.3], 13538gdevvec.c [1.14], gdevvec.h [1.8], gp.h [1.10], gp_dosfe.c [1.4], 13539gp_dosfs.c [1.4], gp_getnv.c [1.3], gp_msdos.c [1.3], gp_nsync.c [1.3], 13540gp_psync.c [1.3], gp_strdl.c [1.3], gp_unifn.c [1.4], gp_unifs.c [1.7], 13541gpcheck.h [1.3], gpgetenv.h [1.3], gpmisc.c [1.10], gpmisc.h [1.3], 13542gpsync.h [1.3], gsalloc.c [1.12], gsalloc.h [1.3], gsalpha.c [1.3], 13543gsalpha.h [1.3], gsalphac.c [1.3], gsalphac.h [1.3], gsargs.c [1.5], 13544gsargs.h [1.5], gsbitcom.c [1.2], gsbitmap.h [1.3], gsbitops.c [1.4], 13545gsbitops.h [1.3], gsbittab.c [1.3], gsbittab.h [1.3], gsccode.h [1.5], 13546gsccolor.h [1.3], gscdef.c [1.17], gscdefs.h [1.3], gscdevn.c [1.7], 13547gscdevn.h [1.4], gschar.c [1.4], gschar.h [1.4], gschar0.c [1.4], 13548gscie.c [1.7], gscie.h [1.6], gsciemap.c [1.9], gscindex.h [1.3], 13549gsclipsr.c [1.3], gsclipsr.h [1.3], gscolor.c [1.6], gscolor.h [1.4], 13550gscolor1.c [1.5], gscolor1.h [1.3], gscolor2.c [1.7], gscolor2.h [1.4], 13551gscolor3.c [1.5], gscolor3.h [1.3], gscompt.h [1.3], gscoord.c [1.6], 13552gscoord.h [1.3], gscparam.c [1.8], gscpixel.c [1.4], gscpixel.h [1.3], 13553gscpm.h [1.3], gscrd.c [1.4], gscrd.h [1.3], gscrdp.c [1.3], gscrdp.h [1.3], 13554gscrypt1.c [1.3], gscrypt1.h [1.3], gscscie.c [1.5], gscsel.h [1.3], 13555gscsepnm.h [1.3], gscsepr.h [1.5], gscspace.c [1.5], gscspace.h [1.9], 13556gscssub.c [1.4], gscssub.h [1.3], gsdcolor.h [1.5], gsdevice.c [1.13], 13557gsdevice.h [1.4], gsdevmem.c [1.3], gsdfilt.c [1.4], gsdfilt.h [1.4], 13558gsdparam.c [1.7], gsdpnext.h [1.3], gsdps.c [1.3], gsdps.h [1.3], 13559gsdps1.c [1.3], gsdsrc.c [1.3], gsdsrc.h [1.4], gserror.h [1.3], 13560gserrors.h [1.3], gsexit.h [1.5], gsfcid.c [1.7], gsfcmap.c [1.16], 13561gsfcmap.h [1.5], gsfemu.c [1.3], gsflip.c [1.3], gsflip.h [1.3], 13562gsfname.c [1.3], gsfname.h [1.3], gsfont.c [1.6], gsfont.h [1.3], 13563gsfont0.c [1.3], gsfunc.c [1.5], gsfunc.h [1.5], gsfunc0.c [1.6], 13564gsfunc0.h [1.3], gsfunc3.c [1.5], gsfunc3.h [1.3], gsfunc4.c [1.8], 13565gsfunc4.h [1.3], gsfuncv.c [1.3], gsfuncv.h [1.3], gsgc.h [1.4], 13566gsgdata.c [1.2], gsgdata.h [1.2], gshsb.c [1.3], gshsb.h [1.3], 13567gsht.c [1.3], gsht.h [1.3], gsht1.c [1.4], gsht1.h [1.3], gshtscr.c [1.7], 13568gshtx.c [1.3], gshtx.h [1.3], gsicc.c [1.6], gsicc.h [1.4], gsimage.c [1.5], 13569gsimage.h [1.3], gsimpath.c [1.3], gsinit.c [1.4], gsio.h [1.6], 13570gsiodev.c [1.6], gsiodevs.c [1.3], gsipar3x.h [1.5], gsiparam.h [1.5], 13571gsiparm2.h [1.3], gsiparm3.h [1.5], gsiparm4.h [1.3], gsistate.c [1.5], 13572gsjconf.h [1.3], gslib.c [1.6], gslib.h [1.3], gsline.c [1.3], 13573gsline.h [1.3], gslparam.h [1.3], gsmalloc.c [1.8], gsmalloc.h [1.3], 13574gsmatrix.c [1.3], gsmatrix.h [1.3], gsmdebug.h [1.4], gsmemlok.c [1.4], 13575gsmemlok.h [1.3], gsmemory.c [1.5], gsmemory.h [1.5], gsmemraw.h [1.5], 13576gsmemret.c [1.3], gsmemret.h [1.3], gsmisc.c [1.13], gsnogc.c [1.8], 13577gsnogc.h [1.3], gsnorop.c [1.3], gsnotify.c [1.3], gsnotify.h [1.3], 13578gspaint.c [1.3], gspaint.h [1.3], gsparam.c [1.5], gsparam.h [1.9], 13579gsparam2.c [1.3], gsparams.c [1.3], gsparams.h [1.3], gsparamx.c [1.5], 13580gsparamx.h [1.4], gspath.c [1.4], gspath.h [1.3], gspath1.c [1.4], 13581gspath2.h [1.3], gspcolor.c [1.5], gspcolor.h [1.3], gspenum.h [1.3], 13582gsptype1.c [1.4], gsptype1.h [1.3], gsptype2.c [1.6], gsptype2.h [1.5], 13583gsrect.h [1.3], gsrefct.h [1.3], gsrop.c [1.3], gsrop.h [1.3], 13584gsropc.c [1.3], gsropc.h [1.3], gsropt.h [1.5], gsroptab.c [1.4], 13585gsshade.c [1.5], gsshade.h [1.4], gsstate.c [1.13], gsstate.h [1.3], 13586gsstruct.h [1.10], gsstype.h [1.3], gstext.c [1.7], gstext.h [1.4], 13587gstparam.h [1.8], gstrans.c [1.14], gstrans.h [1.7], gstrap.c [1.4], 13588gstrap.h [1.4], gstype1.c [1.9], gstype1.h [1.4], gstype2.c [1.13], 13589gstype42.c [1.15], gstypes.h [1.4], gsuid.h [1.3], gsutil.c [1.6], 13590gsutil.h [1.5], gsxfont.h [1.3], gx.h [1.3], gxacpath.c [1.4], 13591gxalloc.h [1.7], gxalpha.h [1.3], gxarith.h [1.3], gxband.h [1.3], 13592gxbcache.c [1.3], gxbcache.h [1.3], gxbitfmt.h [1.3], gxbitmap.h [1.4], 13593gxbitops.h [1.3], gxblend.c [1.3], gxblend.h [1.2], gxccache.c [1.6], 13594gxccman.c [1.3], gxcdevn.h [1.3], gxchar.c [1.9], gxchar.h [1.5], 13595gxchrout.c [1.3], gxchrout.h [1.3], gxcht.c [1.5], gxcid.h [1.4], 13596gxcie.h [1.5], gxcindex.h [1.3], gxclbits.c [1.5], gxcldev.h [1.5], 13597gxclfile.c [1.4], gxclimag.c [1.4], gxclio.h [1.3], gxclip.c [1.5], 13598gxclip.h [1.3], gxclip2.c [1.4], gxclip2.h [1.3], gxclipm.c [1.4], 13599gxclipm.h [1.3], gxclipsr.h [1.3], gxclist.c [1.4], gxclist.h [1.3], 13600gxcllzw.c [1.3], gxclmem.c [1.3], gxclmem.h [1.3], gxclpage.c [1.3], 13601gxclpage.h [1.3], gxclpath.c [1.10], gxclpath.h [1.7], gxclrast.c [1.11], 13602gxclread.c [1.4], gxclrect.c [1.3], gxclutil.c [1.6], gxclzlib.c [1.3], 13603gxcmap.c [1.4], gxcmap.h [1.3], gxcolor2.h [1.5], gxcomp.h [1.3], 13604gxcoord.h [1.3], gxcpath.c [1.4], gxcpath.h [1.3], gxcspace.h [1.5], 13605gxctable.c [1.4], gxctable.h [1.3], gxcvalue.h [1.3], gxdcconv.c [1.4], 13606gxdcconv.h [1.3], gxdcolor.c [1.5], gxdcolor.h [1.4], gxdda.h [1.3], 13607gxdevbuf.h [1.3], gxdevcli.h [1.7], gxdevice.h [1.6], gxdevmem.h [1.3], 13608gxdevrop.h [1.3], gxdht.h [1.5], gxdhtres.h [1.3], gxdither.c [1.3], 13609gxdither.h [1.3], gxfapi.c [1.4], gxfapi.h [1.4], gxfarith.h [1.4], 13610gxfcache.h [1.4], gxfcid.h [1.8], gxfcmap.h [1.11], gxfill.c [1.9], 13611gxfixed.h [1.4], gxfmap.h [1.4], gxfont.h [1.7], gxfont0.h [1.4], 13612gxfont1.h [1.7], gxfont42.h [1.6], gxfrac.h [1.4], gxftype.h [1.3], 13613gxfunc.h [1.4], gxgetbit.h [1.3], gxhint1.c [1.3], gxhint2.c [1.3], 13614gxhint3.c [1.4], gxht.c [1.4], gxht.h [1.3], gxhtbit.c [1.4], 13615gxhttile.h [1.3], gxhttype.h [1.3], gxi12bit.c [1.3], gxiclass.h [1.3], 13616gxicolor.c [1.4], gxidata.c [1.5], gxifast.c [1.5], gximag3x.c [1.9], 13617gximag3x.h [1.4], gximage.c [1.3], gximage.h [1.4], gximage1.c [1.6], 13618gximage2.c [1.3], gximage3.c [1.7], gximage3.h [1.5], gximage4.c [1.4], 13619gximono.c [1.5], gxino12b.c [1.3], gxiodev.h [1.3], gxiparam.h [1.3], 13620gxipixel.c [1.4], gxiscale.c [1.4], gxistate.h [1.7], gxline.h [1.3], 13621gxlum.h [1.3], gxmatrix.h [1.5], gxmclip.c [1.3], gxmclip.h [1.3], 13622gxobj.h [1.5]: 2002/02/21 20:57:46 ray) 13623 13624Update banner to the new format common to all releases (AFPL, GPL and 13625Artifex Software's commercial release). References file LICENSE. 13626(gxop1.h [1.3], gxp1fill.c [1.3], gxp1impl.h [1.3], gxpageq.c [1.3], 13627gxpageq.h [1.3], gxpaint.c [1.3], gxpaint.h [1.3], gxpath.c [1.3], 13628gxpath.h [1.3], gxpath2.c [1.3], gxpcache.h [1.3], gxpcmap.c [1.4], 13629gxpcolor.h [1.3], gxpcopy.c [1.4], gxpdash.c [1.3], gxpflat.c [1.3], 13630gxropc.h [1.3], gxrplane.h [1.3], gxsample.c [1.3], gxsample.h [1.3], 13631gxshade.c [1.7], gxshade.h [1.5], gxshade1.c [1.11], gxshade4.c [1.7], 13632gxshade4.h [1.3], gxshade6.c [1.4], gxstate.h [1.3], gxstdio.h [1.3], 13633gxstroke.c [1.3], gxsync.c [1.3], gxsync.h [1.3], gxtext.h [1.8], 13634gxtmap.h [1.3], gxttf.h [1.4], gxtype1.c [1.11], gxtype1.h [1.8], 13635gxxfont.h [1.3], gzacpath.h [1.3], gzcpath.h [1.3], gzht.h [1.6], 13636gzline.h [1.3], gzpath.h [1.4], gzstate.h [1.6], jerror_.h [1.4], 13637malloc_.h [1.3], math_.h [1.3], md5.c [1.3], md5.h [1.2], memory_.h [1.3], 13638pipe_.h [1.3], time_.h [1.4], unistd_.h [1.5], vmsmath.h [1.3], 13639windows_.h [1.3]: 2002/02/21 20:57:49 ray) 13640 13641Reverts to marking files with the single Id cvs tag instead of the RCSfile 13642and Revision pair. (ctype_.h [1.4], dirent_.h [1.4], dos_.h [1.4], 13643errno_.h [1.4], fcntl_.h [1.5], gconf.c [1.5], gconf.h [1.4], 13644gdebug.h [1.5], gdevabuf.c [1.5], gdevalph.c [1.4], gdevbbox.c [1.6], 13645gdevbbox.h [1.4], gdevcmap.c [1.4], gdevcmap.h [1.4], gdevdbit.c [1.4], 13646gdevddrw.c [1.4], gdevdflt.c [1.5], gdevdgbr.c [1.4], gdevdrop.c [1.5], 13647gdevemap.c [1.4], gdevhit.c [1.4], gdevht.c [1.5], gdevht.h [1.4], 13648gdevm1.c [1.4], gdevm16.c [1.4], gdevm2.c [1.4], gdevm24.c [1.4], 13649gdevm32.c [1.4], gdevm4.c [1.4], gdevm8.c [1.4], gdevmem.c [1.4], 13650gdevmem.h [1.5], gdevmpla.c [1.4], gdevmpla.h [1.4], gdevmr1.c [1.4], 13651gdevmr2n.c [1.4], gdevmr8n.c [1.4], gdevmrop.h [1.5], gdevmrun.c [1.4], 13652gdevmrun.h [1.4], gdevnfwd.c [1.5], gdevp14.c [1.9], gdevpipe.c [1.6], 13653gdevplnx.c [1.4], gdevplnx.h [1.4], gdevppla.c [1.4], gdevppla.h [1.4], 13654gdevprn.c [1.9], gdevprn.h [1.9], gdevprna.c [1.4], gdevprna.h [1.4], 13655gdevpsf.h [1.13], gdevpsf1.c [1.12], gdevpsf2.c [1.18], gdevpsfm.c [1.8], 13656gdevpsft.c [1.12], gdevpsfu.c [1.10], gdevpsfx.c [1.13], gdevrops.c [1.5], 13657gdevtrac.c [1.4], gdevvec.c [1.15], gdevvec.h [1.9], gp.h [1.11], 13658gp_dosfe.c [1.5], gp_dosfs.c [1.5], gp_getnv.c [1.4], gp_msdos.c [1.4], 13659gp_nsync.c [1.4], gp_psync.c [1.4], gp_strdl.c [1.4], gp_unifn.c [1.5], 13660gp_unifs.c [1.8], gpcheck.h [1.4], gpgetenv.h [1.4], gpmisc.c [1.11], 13661gpmisc.h [1.4], gpsync.h [1.4], gsalloc.c [1.13], gsalloc.h [1.4], 13662gsalpha.c [1.4], gsalpha.h [1.4], gsalphac.c [1.4], gsalphac.h [1.4], 13663gsargs.c [1.6], gsargs.h [1.6], gsbitcom.c [1.3], gsbitmap.h [1.4], 13664gsbitops.c [1.5], gsbitops.h [1.4], gsbittab.c [1.4], gsbittab.h [1.4], 13665gsccode.h [1.6], gsccolor.h [1.4], gscdef.c [1.18], gscdefs.h [1.4], 13666gscdevn.c [1.8], gscdevn.h [1.5], gschar.c [1.5], gschar.h [1.5], 13667gschar0.c [1.5], gscie.c [1.8], gscie.h [1.7], gsciemap.c [1.10], 13668gscindex.h [1.4], gsclipsr.c [1.4], gsclipsr.h [1.4], gscolor.c [1.7], 13669gscolor.h [1.5], gscolor1.c [1.6], gscolor1.h [1.4], gscolor2.c [1.8], 13670gscolor2.h [1.5], gscolor3.c [1.6], gscolor3.h [1.4], gscompt.h [1.4], 13671gscoord.c [1.7], gscoord.h [1.4], gscparam.c [1.9], gscpixel.c [1.5], 13672gscpixel.h [1.4], gscpm.h [1.4], gscrd.c [1.5], gscrd.h [1.4], 13673gscrdp.c [1.4], gscrdp.h [1.4], gscrypt1.c [1.4], gscrypt1.h [1.4], 13674gscscie.c [1.6], gscsel.h [1.4], gscsepnm.h [1.4], gscsepr.h [1.6], 13675gscspace.c [1.6], gscspace.h [1.10], gscssub.c [1.5], gscssub.h [1.4], 13676gsdcolor.h [1.6], gsdevice.c [1.14], gsdevice.h [1.5], gsdevmem.c [1.4], 13677gsdfilt.c [1.5], gsdfilt.h [1.5], gsdparam.c [1.8], gsdpnext.h [1.4], 13678gsdps.c [1.4], gsdps.h [1.4], gsdps1.c [1.4], gsdsrc.c [1.4], 13679gsdsrc.h [1.5], gserror.h [1.4], gserrors.h [1.4], gsexit.h [1.6], 13680gsfcid.c [1.8], gsfcmap.c [1.17], gsfcmap.h [1.6], gsfemu.c [1.4], 13681gsflip.c [1.4], gsflip.h [1.4], gsfname.c [1.4], gsfname.h [1.4], 13682gsfont.c [1.7], gsfont.h [1.4], gsfont0.c [1.4], gsfunc.c [1.6], 13683gsfunc.h [1.6], gsfunc0.c [1.7], gsfunc0.h [1.4], gsfunc3.c [1.6], 13684gsfunc3.h [1.4], gsfunc4.c [1.9], gsfunc4.h [1.4], gsfuncv.c [1.4], 13685gsfuncv.h [1.4], gsgc.h [1.5], gsgdata.c [1.3], gsgdata.h [1.3], 13686gshsb.c [1.4], gshsb.h [1.4], gsht.c [1.4], gsht.h [1.4], gsht1.c [1.5], 13687gsht1.h [1.4], gshtscr.c [1.8], gshtx.c [1.4], gshtx.h [1.4], gsicc.c [1.7], 13688gsicc.h [1.5], gsimage.c [1.6], gsimage.h [1.4], gsimpath.c [1.4], 13689gsinit.c [1.5], gsio.h [1.7], gsiodev.c [1.7], gsiodevs.c [1.4], 13690gsipar3x.h [1.6], gsiparam.h [1.6], gsiparm2.h [1.4], gsiparm3.h [1.6], 13691gsiparm4.h [1.4], gsistate.c [1.6], gsjconf.h [1.4], gslib.c [1.7], 13692gslib.h [1.4], gsline.c [1.4], gsline.h [1.4], gslparam.h [1.4], 13693gsmalloc.c [1.9], gsmalloc.h [1.4], gsmatrix.c [1.4], gsmatrix.h [1.4], 13694gsmdebug.h [1.5], gsmemlok.c [1.5], gsmemlok.h [1.4], gsmemory.c [1.6], 13695gsmemory.h [1.6], gsmemraw.h [1.6], gsmemret.c [1.4], gsmemret.h [1.4], 13696gsmisc.c [1.14], gsnogc.c [1.9], gsnogc.h [1.4], gsnorop.c [1.4], 13697gsnotify.c [1.4], gsnotify.h [1.4], gspaint.c [1.4], gspaint.h [1.4], 13698gsparam.c [1.6], gsparam.h [1.10], gsparam2.c [1.4], gsparams.c [1.4], 13699gsparams.h [1.4], gsparamx.c [1.6], gsparamx.h [1.5], gspath.c [1.5], 13700gspath.h [1.4], gspath1.c [1.5], gspath2.h [1.4], gspcolor.c [1.6], 13701gspcolor.h [1.4], gspenum.h [1.4], gsptype1.c [1.5], gsptype1.h [1.4], 13702gsptype2.c [1.7], gsptype2.h [1.6], gsrect.h [1.4], gsrefct.h [1.4], 13703gsrop.c [1.4], gsrop.h [1.4], gsropc.c [1.4], gsropc.h [1.4], 13704gsropt.h [1.6], gsroptab.c [1.5], gsshade.c [1.6], gsshade.h [1.5], 13705gsstate.c [1.14], gsstate.h [1.4], gsstruct.h [1.11], gsstype.h [1.4], 13706gstext.c [1.8], gstext.h [1.5], gstparam.h [1.9], gstrans.c [1.15], 13707gstrans.h [1.8], gstrap.c [1.5], gstrap.h [1.5], gstype1.c [1.10], 13708gstype1.h [1.5], gstype2.c [1.14], gstype42.c [1.16], gstypes.h [1.5], 13709gsuid.h [1.4], gsutil.c [1.7], gsutil.h [1.6], gsxfont.h [1.4], gx.h [1.4], 13710gxacpath.c [1.5], gxalloc.h [1.8], gxalpha.h [1.4], gxarith.h [1.4], 13711gxband.h [1.4], gxbcache.c [1.4], gxbcache.h [1.4], gxbitfmt.h [1.4], 13712gxbitmap.h [1.5], gxbitops.h [1.4], gxblend.c [1.4], gxblend.h [1.3], 13713gxccache.c [1.7], gxccman.c [1.4], gxcdevn.h [1.4], gxchar.c [1.10], 13714gxchar.h [1.6], gxchrout.c [1.4], gxchrout.h [1.4], gxcht.c [1.6], 13715gxcid.h [1.5], gxcie.h [1.6], gxcindex.h [1.4], gxclbits.c [1.6], 13716gxcldev.h [1.6], gxclfile.c [1.5], gxclimag.c [1.5], gxclio.h [1.4], 13717gxclip.c [1.6], gxclip.h [1.4], gxclip2.c [1.5], gxclip2.h [1.4], 13718gxclipm.c [1.5], gxclipm.h [1.4], gxclipsr.h [1.4], gxclist.c [1.5], 13719gxclist.h [1.4], gxcllzw.c [1.4], gxclmem.c [1.4], gxclmem.h [1.4], 13720gxclpage.c [1.4], gxclpage.h [1.4], gxclpath.c [1.11], gxclpath.h [1.8], 13721gxclrast.c [1.12], gxclread.c [1.5], gxclrect.c [1.4], gxclutil.c [1.7], 13722gxclzlib.c [1.4], gxcmap.c [1.5], gxcmap.h [1.4], gxcolor2.h [1.6], 13723gxcomp.h [1.4], gxcoord.h [1.4], gxcpath.c [1.5], gxcpath.h [1.4], 13724gxcspace.h [1.6], gxctable.c [1.5], gxctable.h [1.4], gxcvalue.h [1.4], 13725gxdcconv.c [1.5], gxdcconv.h [1.4], gxdcolor.c [1.6], gxdcolor.h [1.5], 13726gxdda.h [1.4], gxdevbuf.h [1.4], gxdevcli.h [1.8], gxdevice.h [1.7], 13727gxdevmem.h [1.4], gxdevrop.h [1.4], gxdht.h [1.6], gxdhtres.h [1.4], 13728gxdither.c [1.4], gxdither.h [1.4], gxfapi.c [1.5], gxfapi.h [1.5], 13729gxfarith.h [1.5], gxfcache.h [1.5], gxfcid.h [1.9], gxfcmap.h [1.12], 13730gxfill.c [1.10], gxfixed.h [1.5], gxfmap.h [1.5], gxfont.h [1.8], 13731gxfont0.h [1.5], gxfont1.h [1.8], gxfont42.h [1.7], gxfrac.h [1.5], 13732gxftype.h [1.4], gxfunc.h [1.5], gxgetbit.h [1.4], gxhint1.c [1.4], 13733gxhint2.c [1.4], gxhint3.c [1.5], gxht.c [1.5], gxht.h [1.4], 13734gxhtbit.c [1.5], gxhttile.h [1.4], gxhttype.h [1.4], gxi12bit.c [1.4], 13735gxiclass.h [1.4], gxicolor.c [1.5], gxidata.c [1.6], gxifast.c [1.6], 13736gximag3x.c [1.10], gximag3x.h [1.5], gximage.c [1.4], gximage.h [1.5], 13737gximage1.c [1.7], gximage2.c [1.4], gximage3.c [1.8], gximage3.h [1.6], 13738gximage4.c [1.5], gximono.c [1.6], gxino12b.c [1.4], gxiodev.h [1.4], 13739gxiparam.h [1.4], gxipixel.c [1.5], gxiscale.c [1.5], gxistate.h [1.8], 13740gxline.h [1.4], gxlum.h [1.4], gxmatrix.h [1.6], gxmclip.c [1.4], 13741gxmclip.h [1.4], gxobj.h [1.6], gxop1.h [1.4], gxp1fill.c [1.4], 13742gxp1impl.h [1.4], gxpageq.c [1.4], gxpageq.h [1.4], gxpaint.c [1.4], 13743gxpaint.h [1.4], gxpath.c [1.4], gxpath.h [1.4], gxpath2.c [1.4], 13744gxpcache.h [1.4], gxpcmap.c [1.5], gxpcolor.h [1.4], gxpcopy.c [1.5], 13745gxpdash.c [1.4], gxpflat.c [1.4], gxropc.h [1.4], gxrplane.h [1.4], 13746gxsample.c [1.4], gxsample.h [1.4], gxshade.c [1.8], gxshade.h [1.6], 13747gxshade1.c [1.12], gxshade4.c [1.8], gxshade4.h [1.4], gxshade6.c [1.5], 13748gxstate.h [1.4], gxstdio.h [1.4], gxstroke.c [1.4], gxsync.c [1.4], 13749gxsync.h [1.4], gxtext.h [1.9], gxtmap.h [1.4], gxttf.h [1.5], 13750gxtype1.c [1.12], gxtype1.h [1.9], gxxfont.h [1.4], gzacpath.h [1.4], 13751gzcpath.h [1.4], gzht.h [1.7], gzline.h [1.4], gzpath.h [1.5], 13752gzstate.h [1.7], jerror_.h [1.5], malloc_.h [1.4], math_.h [1.4], 13753md5.c [1.4], md5.h [1.3], memory_.h [1.4], pipe_.h [1.4]: 2002/02/21 1375422:24:51 giles) 13755 13756Reverts to marking files with the single Id cvs tag instead of the RCSfile 13757and Revision pair. (time_.h [1.5], unistd_.h [1.6], vmsmath.h [1.4], 13758windows_.h [1.4]: 2002/02/21 22:24:54 giles) 13759 13760Remove bbox_text_enum_t and related functions because they are unuseful. 13761This change helps for FAPI project. (gdevbbox.c [1.7]: 2002/02/22 08:37:19 13762igor) 13763 13764Implementing Visual Trace service to graphics library, and Visual Trace 13765server for Windows. (vdtrace.c [1.2], vdtrace.h [1.2]: 2002/02/26 16:09:15 13766igor) 13767 13768Remove the return_if_error macro from ALL occurrences and clean up some of 13769the C-style problems with the FAPI code. Add some of the new rules about 13770macros to C-style.htm. (gserror.h [1.5], vdtrace.h [1.3]: 2002/02/28 1377121:21:42 ray) 13772 13773Improves comments to describe the alignment and padding requirement for 13774bitmaps. (gxbitmap.h [1.6]: 2002/03/05 16:56:33 lpd) 13775 13776Corrected argument list for main(), and added int return type, in test 13777program and T value program. (md5.c [1.5]: 2002/03/11 20:08:50 lpd) 13778 13779Add a new optional FEATURE, diskn.dev that provides emulation of %disk 13780devices present on some Adobe printers. This version is NOT multiple 13781instance safe, but is useful for embedded printers or for server systems 13782with a single Ghostscript instance. Documentation is in Language.htm. 13783Addresses SourceForge bug #493344 for Artifex customer #411. 13784(gsiodisk.c [1.1]: 2002/03/13 20:27:39 ray) 13785 13786Adds multiple inclusion protection to the vdtrace header files. 13787(vdtrace.h [1.4]: 2002/03/14 04:26:44 giles) 13788 13789Documents the rationale for the imager state / graphics state division. 13790(gxistate.h [1.9]: 2002/03/19 05:34:06 lpd) 13791 13792Because of the introduction of CODE_VALUE_NOTDEF in v. 1.14 of gsfcmap.c, 13793pdfwrite could no longer embed non-standard CMaps. (gdevpsfm.c [1.9]: 137942002/03/28 07:29:46 lpd) 13795 13796Update release dates in preparation of the upcoming development release 13797(gscdef.c [1.19]: 2002/03/29 00:01:02 giles) 13798 13799</pre><h2><a name="7.20-Other"></a>Other</h2><pre> 13800 13801Fixes problems: 13802 - the configure script was setting ZSRCDIR to the empty string in 13803the case where SHARE_ZLIB=1, causing a syntax error on the libpng command 13804line. It is now set to a harmless default (configure.ac [1.2]: 2002/01/06 1380500:12:03 giles) 13806 - prefer 'src' over '.' for the spurious local include line for 13807zlib. Thanks to Peter Deutsch for the suggestion. (configure.ac [1.3]: 138082002/01/09 20:20:27 giles) 13809 - some files were missing the RCS 'Id' line with the last 13810modification date. partial fix for Sourceforge bug #500922. (gp_mac.h [1.2], 13811macsysstat.h [1.2], macsystypes.h [1.2], vms_x_fix.h [1.2]: 2002/01/09 1381221:04:21 giles) 13813 - corrects the name of the autoconf generated makefile for the 13814purpose of dependencies (Makefile.in [1.3]: 2002/02/01 04:11:46 giles) 13815 - Many files lacked double-inclusion protection, or implemented it 13816incorrectly. (gsdll.h [1.4], vms_x_fix.h [1.3]: 2002/02/20 01:32:47 lpd) 13817 - Fixes the gdevx.o command line in the case when AC_PATH_X sets 13818x_includes to the empty string. Fixes SF #530429. (Makefile.in [1.6], 13819configure.ac [1.7]: 2002/03/28 19:35:03 raph) 13820 - Uses a default 'src' setting for PSRCDIR in the autoconf build 13821with shared libpng, as we do with zlib, preventing compiler confusion from 13822empty -I lines. Partial fix for SF bug #514898. (configure.ac [1.8]: 138232002/03/28 19:52:28 giles) 13824 - improves X11 path settings in the autoconf build. We use 13825AC_PATH_XTRA instead of the previous "is it null" hack with AC_PATH_X. The 13826new macro also defines some additional libraries that may need to be 13827included. We currently don't use this information. (Makefile.in [1.7], 13828configure.ac [1.9]: 2002/03/28 20:40:25 giles) 13829 - remove -fno-common from the standard gcc LDFLAGS. It is only 13830required at compile time and doesn't need to be passed to the linker. 13831(Makefile.in [1.8]: 2002/03/28 23:12:09 giles) 13832 - verify that our default collection of compiler switches 13833(gcc-specific) work before using them. This allows the autoconf build to 13834work with non-gcc compilers. Completes the fix for SF Bug #514898. 13835(Makefile.in [1.9], configure.ac [1.10]: 2002/03/28 23:15:53 giles) 13836 - remove -fno-common from the default LDFLAGS (again) This was 13837inadvertently reverted in the previous revision. (Makefile.in [1.10]: 138382002/03/29 22:04:58 giles) 13839 - removes -Wtraditional for the default gcc compiler flags for the 13840autoconf build as well. (configure.ac [1.11]: 2002/03/29 22:05:54 giles) 13841 - removes gcc-specific compiler flags from the autoconf makefile, 13842including the -fomit-frame-pointer optimization. Replaces the workaround for 13843const not working in gcc 2.7 with the more general autoconf macro 13844AC_C_CONST. Lists the defines generated by the configure script for 13845reference in the Makefile, but doesn't make use of them. 13846(Makefile.in [1.11], configure.ac [1.12]: 2002/03/30 03:24:10 giles) 13847 - the warning flag is -Wcast-qual not -Wqual-cast 13848(configure.ac [1.13]: 2002/03/30 03:44:36 giles) 13849 - 'echo -n' isn't portable. (configure.ac [1.15]: 2002/03/31 1385000:26:43 giles) 13851 13852Adds basic support for GNU autoconf to the build system. (.cvsignore [1.3], 13853Makefile.in [1.1], autogen.sh [1.1], configure.ac [1.1]: 2002/01/04 05:47:50 13854giles) 13855 13856Adds and rcs line to the autogen script. (autogen.sh [1.2]: 2002/01/06 1385706:56:02 giles) 13858 13859Removes the check for an install program, since it unfortunately errors out 13860if the local fallback install-sh script from automake isn't present. We 13861continue to use src/instcopy in any case. Also some minor cleanup. 13862(.cvsignore [1.4], autogen.sh [1.3], configure.ac [1.4]: 2002/01/10 23:11:20 13863giles) 13864 13865Checkin of IJS 0.33 to repository. (ijs/Makefile [1.1], 13866ijs/Makefile.in [1.1], ijs/README [1.1], ijs/common.mak [1.1], 13867ijs/configure [1.1], ijs/configure.in [1.1], ijs/ijs-config [1.1], 13868ijs/ijs-config.in [1.1], ijs/ijs.c [1.1], ijs/ijs.h [1.1], 13869ijs/ijs_client.c [1.1], ijs/ijs_client.h [1.1], 13870ijs/ijs_client_example.c [1.1], ijs/ijs_exec_unix.c [1.1], 13871ijs/ijs_exec_win.c [1.1], ijs/ijs_server.c [1.1], ijs/ijs_server.h [1.1], 13872ijs/ijs_server_example.c [1.1], ijs/ijs_spec.pdf [1.1], 13873ijs/ijs_spec.ps [1.1], ijs/ijs_spec.sgml [1.1], ijs/install-sh [1.1], 13874ijs/state.eps [1.1], ijs/state.fig [1.1], ijs/unistd_.h [1.1], 13875ijs/unix.mak [1.1], ijs/windows.mak [1.1]: 2002/01/31 19:09:46 raph) 13876 13877Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 13878distribution. Also includes autoconf patch by Ralph Giles. 13879(ijs/.cvsignore [1.1]: 2002/01/31 20:46:45 raph) 13880 13881Adds IJS driver to Ghostscript. Includes complete IJS version 0.33 13882distribution. Also includes autoconf patch by Ralph Giles. 13883(Makefile.in [1.2], configure.ac [1.5]: 2002/01/31 20:47:02 raph) 13884 13885Uses --with-ijs (instead of --without) in the configure option help. 13886(configure.ac [1.6]: 2002/02/01 04:16:15 giles) 13887 13888Add AFPL specific LICENSE file required for common release banner change. 13889(LICENSE [1.1]: 2002/02/21 20:36:32 ray) 13890 13891Update banner to the new format common to all releases (AFPL, GPL and 13892Artifex Software's commercial release). References file LICENSE. 13893(Makefile.in [1.4], gp_mac.h [1.3], gp_mswin.h [1.5], gsdll.h [1.5], 13894gsdllos2.h [1.3], gsdllwin.h [1.4], gsjmorec.h [1.4], gspmdrv.h [1.3]: 138952002/02/21 20:57:46 ray) 13896 13897Update banner to the new format common to all releases (AFPL, GPL and 13898Artifex Software's commercial release). References file LICENSE. 13899(iutilasm.asm [1.3], macsysstat.h [1.3], macsystypes.h [1.3], 13900vms_x_fix.h [1.4]: 2002/02/21 20:57:49 ray) 13901 13902Reverts to marking files with the single Id cvs tag instead of the RCSfile 13903and Revision pair. (Makefile.in [1.5], gp_mac.h [1.4], gp_mswin.h [1.6], 13904gsdll.h [1.6], gsdllos2.h [1.4], gsdllwin.h [1.5], gsjmorec.h [1.5], 13905gspmdrv.h [1.4], iutilasm.asm [1.4], macsysstat.h [1.4], 13906macsystypes.h [1.4]: 2002/02/21 22:24:51 giles) 13907 13908Reverts to marking files with the single Id cvs tag instead of the RCSfile 13909and Revision pair. (vms_x_fix.h [1.5]: 2002/02/21 22:24:54 giles) 13910 13911Replace Windows icons with new versions that include 48x48 pixel and 32-bit 13912versions for Windows XP. Change the 16x16 pixel icons to use the full 'g' 13913instead of just the head. Use a restricted icon gswin16.ico for WinZip SE 13914which can't handle the new icon. (gswin.icx [1.1], gswin16.icx [1.1]: 139152002/03/30 01:29:38 ghostgum) 13916 13917Adds support for compilation against a standard shared libjpeg. It is 13918believed that non-baseline compliant DCTEncoded data, permitted by early 13919versions of postscript, is now extremely rare and the prohibition against 13920SHARE_JPEG=1 may reasonably be removed. The autoconf build will prefer a 13921local copy of the jpeg source, in which case the D_MAX_BLOCKS_IN_MCU patch 13922will still be applied. If no such local copy is found, it will try to find a 13923shared library on the system. For all unix builds, if $(JSRCDIR)/jmemsys.h 13924cannot be found, we define DONT_HAVE_JMEMSYS_H and include our own versions 13925of the libjpeg memory manager prototypes. The default allocator in the 13926shared library is overridden by the ghostscript one at link-time. While this 13927may be implementation-dependent, it appears to function as desired on at 13928least GNU/Linux and Solaris. Also changes the autoconf build to prefer local 13929zlib and libpng source, and cleans up some variable names. 13930(Makefile.in [1.12], configure.ac [1.14]: 2002/03/30 23:55:15 giles) 13931 13932Try the standard gcc compile flags only if we think we're using gcc to avoid 13933generating spurious warnings with some other compilers. 13934(configure.ac [1.16]: 2002/04/02 01:15:16 giles) 13935 13936Returns the bbox device to the default build in response to user requests. 13937(Makefile.in [1.13]: 2002/04/03 18:25:03 giles) 13938 13939</pre> 13940 13941<hr> 13942 13943<h1><a name="Version7.03"></a>Version 7.03 (2001-10-20)</h1> 13944 13945<p> 13946This is a fully tested, stable release of Ghostscript. It fixes quite a 13947few issues with 7.02. 13948 13949<p> Major changes include: 13950 13951<ul> 13952<li>Integration of icclib 2.0. 13953 13954<li>There was at least one embarassing pdfwrite bug, now fixed. 13955 13956<li>Significant shading speedups, especially for worst-case files 13957such as Coons01.ps. 13958 13959<li>The stdio logic is a lot more robust. 7.02 had some problems, 13960especially with trying to set stdin to non-blocking. 13961 13962<li>The usual bug fixes. In particular, regression testing against 139637.00 shows only one serious regression (nonsepqxd2distiller.pdf), 13964and numerous progressions. 13965 13966</ul> 13967 13968<p> 13969The following SourceForge bug numbers are currently open: 13970215256, 219798, 222727, 226477, 405342, 406689, 406979, 407342, 13971414947, 414985, 415016, 415142, 415170, 416131, 416830, 418241, 13972421057, 422532, 423838, 427193, 427314, 427347, 428891, 428973, 13973432040, 432657, 434277, 434707, 436099, 436897, 437285, 438679, 13974438957, 443745, 444791, 446344, 446672, 448199, 450663, 451456, 13975452155, 453969, 457838, 458261, 458500, 458769, 458775, 458780, 13976462221, 465720, 465921, 465936, 468386, 468762, 469518, 472681. 13977 13978<h3><a name="7.03_Incompatible_changes"></a>Incompatible changes</h3> 13979 13980<p> 13981No incompatible changes have been recorded for this version. 13982 13983<pre> 13984</pre> 13985 13986<h2><a name="7.03-Documentation"></a>Documentation</h2><pre> 13987 13988Fixes problems: 13989 - Add new Windows and Unix platform files to developer 13990documentation. (doc/Develop.htm [1.46]: 2001/09/23 08:54:03 ghostgum) 13991 - Adds a -dNOCCFONTS switch to disable use of compiled-in fonts. 13992(doc/Use.htm [1.32]: 2001/10/01 05:25:55 lpd) 13993 - Added potential workaround for DCTEncode filter problem where the 13994image has less rows than requested. (doc/Issues.htm [1.13]: 2001/10/03 1399517:24:23 jackiem) 13996 - Fixes reference counting for PDF 1.4 device filter stack. 13997Temporary patch to not free PDF 1.4 marking device for images (it was being 13998freed prematurely). (doc/Issues.htm [1.14]: 2001/10/17 17:28:10 raph) 13999 - Syncs with hpijs version 0.97, and fixes a documentation bug. 14000(doc/Devices.htm [1.33]: 2001/10/19 04:20:08 raph) 14001 - Documentation and version number change in preparation for 7.03 14002release. (doc/API.htm [1.11], doc/Bug-form.htm [1.23], 14003doc/Bug-info.htm [1.20], doc/C-style.htm [1.21], doc/Commprod.htm [1.15], 14004doc/Copying.htm [1.13], doc/Current.htm [1.13], doc/DLL.htm [1.15], 14005doc/Develop.htm [1.47], doc/Devices.htm [1.34], doc/Drivers.htm [1.21], 14006doc/Fonts.htm [1.22], doc/Helpers.htm [1.17], doc/History1.htm [1.13], 14007doc/History2.htm [1.13], doc/History3.htm [1.13], doc/History4.htm [1.13], 14008doc/History5.htm [1.15], doc/History6.htm [1.30], doc/History7.htm [1.4], 14009doc/Htmstyle.htm [1.18], doc/Install.htm [1.26], doc/Issues.htm [1.15], 14010doc/Language.htm [1.34], doc/Lib.htm [1.14], doc/Maintain.htm [1.23], 14011doc/Make.htm [1.36], doc/New-user.htm [1.30], doc/News.htm [1.89], 14012doc/Projects.htm [1.33], doc/Ps-style.htm [1.13], doc/Ps2epsi.htm [1.15], 14013doc/Ps2pdf.htm [1.32], doc/Psfiles.htm [1.22], doc/README [1.12], 14014doc/Readme.htm [1.31], doc/Release.htm [1.40], doc/Source.htm [1.13], 14015doc/Tester.htm [1.14], doc/Unix-lpr.htm [1.13], doc/Use.htm [1.33], 14016doc/Xfonts.htm [1.13], doc/gs-vms.hlp [1.12], man/dvipdf.1 [1.10], 14017man/font2c.1 [1.10], man/gs.1 [1.10], man/gslp.1 [1.10], man/gsnd.1 [1.10], 14018man/pdf2dsc.1 [1.10], man/pdf2ps.1 [1.12], man/pdfopt.1 [1.10], 14019man/pf2afm.1 [1.10], man/pfbtopfa.1 [1.11], man/printafm.1 [1.10], 14020man/ps2ascii.1 [1.10], man/ps2epsi.1 [1.10], man/ps2pdf.1 [1.14], 14021man/ps2pdfwr.1 [1.13], man/ps2ps.1 [1.17], man/wftopfa.1 [1.10]: 2001/10/20 1402208:44:30 raph) 14023 14024</pre><h2><a name="7.03-Procedures"></a>Procedures</h2><pre> 14025 14026Fixes problems: 14027 - cvs2hist no longer worked in Python 2.1 and later: the regex and 14028regsub modules were superseded by re, and append() no longer accepted 14029multiple arguments to create a tuple. The fixes are backward compatible for 14030all versions of Python from 1.5 on. (toolbin/cvs2hist.py [1.7]: 2001/09/23 1403104:45:10 lpd) 14032 - The previous update to make cvs2hist use Python's re module rather 14033than the obsolete regex and regsub modules didn't change the code to use 14034match objects when necessary. Finishes fixing SourceForge #462777. 14035(toolbin/cvs2hist.py [1.8]: 2001/09/23 20:43:16 lpd) 14036 - Some print statements for debugging were accidentally left in the 14037code. (toolbin/cvs2hist.py [1.9]: 2001/09/23 21:05:12 lpd) 14038 - Committing in . Modified Files: gs/src/gp_stdia.c 14039gs/src/openvms.mmk gs/src/ziodevs.c patches for OpenVMS (openvms.mmk [1.10]: 140402001/09/24 10:47:06 joukj) 14041 - Fixes for stdin as a result of using callouts. Use unbuffered 14042read, not non-blocking read. Change gp_stdin_read to use file pointer not 14043handle. Remove gp_stdin_init since we don't need to set non-blocking. Change 14044gp_stdin.c to use fread/fwrite to be more portable. Flush redirected stdout 14045correctly. Added casts to fix compiler warnings in dxmain.c. Corrected 14046header dependencies. Fixes SourceForge bug #467787. (dvx-tail.mak [1.5], 14047macos-mcp.mak [1.3], openvms.mak [1.16], openvms.mmk [1.11], os2.mak [1.19], 14048unix-aux.mak [1.5], watc.mak [1.16], winlib.mak [1.12]: 2001/10/12 21:37:08 14049ghostgum) 14050 - Committing in . Modified Files: gs/src/openvms.mmk OpenVMS needs 14051target : sources ^ this space is realy needed. Otherwise MMS/MMK chokes on 14052it!!!! (openvms.mmk [1.12]: 2001/10/15 10:24:21 joukj) 14053 - When building gsx and gsc, use the GS makefile macro as the shared 14054library name to link against, not a hard coded gs. (unix-dll.mak [1.6]: 140552001/10/17 10:11:23 ghostgum) 14056 - Removes cheq.ps from list of example files installed. 14057(unixinst.mak [1.20]: 2001/10/17 19:48:36 raph) 14058 - Updates icclib to version 2.0, and integrates icclib changes. In 14059particular, icclib now accesses Ghostscript streams through the clean 14060icmFile object interface, rather than previous hack. Removes remnants of 14061previous hack, including gs_stdio.h header file and sread() and swrite() 14062functions in stream.c. (lib.mak [1.53]: 2001/10/19 21:52:50 raph) 14063 - Documentation and version number change in preparation for 7.03 14064release. (version.mak [1.36]: 2001/10/20 08:44:31 raph) 14065 - Updates default MSVC_VERSION to 6. (msvc32.mak [1.20]: 2001/10/20 1406608:45:39 raph) 14067 14068</pre><h2><a name="7.03-Utilities"></a>Utilities</h2><pre> 14069 14070Fixes problems: 14071 - Committing in . Modified Files: gs/src/gp_stdia.c 14072gs/src/openvms.mmk gs/src/ziodevs.c patches for OpenVMS (gp_stdia.c [1.2], 14073ziodevs.c [1.4]: 2001/09/24 10:47:06 joukj) 14074 - add missing file descriptor variable to stdin function of 14075dxmainc.c. Fixes SourceForge bug #465214. (dxmainc.c [1.3]: 2001/09/28 1407622:04:03 ghostgum) 14077 - If gtk+ GUI can't be initialised, disable display device. This 14078allows gsx to be used without an X display. Partial fix for SourceForge bug 14079#450933. (dxmain.c [1.5]: 2001/10/12 11:10:37 ghostgum) 14080 - Fixes for stdin as a result of using callouts. Use unbuffered 14081read, not non-blocking read. Change gp_stdin_read to use file pointer not 14082handle. Remove gp_stdin_init since we don't need to set non-blocking. Change 14083gp_stdin.c to use fread/fwrite to be more portable. Flush redirected stdout 14084correctly. Added casts to fix compiler warnings in dxmain.c. Corrected 14085header dependencies. Fixes SourceForge bug #467787. (dxmain.c [1.6], 14086dxmainc.c [1.4], gp_stdia.c [1.3], gp_stdin.c [1.2]: 2001/10/12 21:37:08 14087ghostgum) 14088 - Proposed log message: Fix: Callout implementation of %stdin, 14089%stdout and %stderr now correctly allocates the streams in system memory. 14090This avoids a crash during garbage collection seen during frequent 14091open/close of stderr.. Fixes SourceForge bugs #427316, #442477. 14092(ziodevsc.c [1.3]: 2001/10/15 21:44:42 ghostgum) 14093 - When using STDIO_IMPLEMENTATION=, call gp_stdin_read with a file 14094pointer, not a file handle. (ziodevs.c [1.5]: 2001/10/17 21:12:44 ghostgum) 14095 - Use unbuffered read within gtk+ handler instead of using 14096non-blocking read. While waiting for stdin, allow gtk main loop to block to 14097avoid wasting CPU. (dxmain.c [1.7]: 2001/10/20 08:22:05 ghostgum) 14098 14099</pre><h2><a name="7.03-Drivers"></a>Drivers</h2><pre> 14100 14101Fixes problems: 14102 - If "distiller" image compression options were changed in the 14103middle of a file, the parameter list holding them might not be set back to 14104read mode when using them to compress an image, causing an error. Fixes 14105SourceForge #464938. (gdevpsdi.c [1.15]: 2001/09/25 22:00:44 lpd) 14106 - bmp16 and png16 devices now create 4 bit/pixel bitmaps instead of 141078. bmp256 and png256 devices now use dci values which match the color 14108mapping functions. (gdevbmp.c [1.4], gdevpng.c [1.4]: 2001/09/28 22:06:21 14109ghostgum) 14110 - Don't omit zero length deltas when stroking so that linecap will 14111be produced by resulting PS or EPS file. SourceForge bug #466162. 14112(gdevps.c [1.19]: 2001/09/28 23:18:46 rayjj) 14113 - Fixes for stdin as a result of using callouts. Use unbuffered 14114read, not non-blocking read. Change gp_stdin_read to use file pointer not 14115handle. Remove gp_stdin_init since we don't need to set non-blocking. Change 14116gp_stdin.c to use fread/fwrite to be more portable. Flush redirected stdout 14117correctly. Added casts to fix compiler warnings in dxmain.c. Corrected 14118header dependencies. Fixes SourceForge bug #467787. (gdevsppr.c [1.5]: 141192001/10/12 21:37:08 ghostgum) 14120 - When the display device fails to allocate memory for the bitmap, 14121set the memory device width and height to zero to prevent drawing on it. 14122Always call the display_size callback to prevent a lockup in the caller, and 14123if there is no memory tell the caller that the width and height are zero. 14124Add some casts to remove compiler warnings. Fixes SourceForge bug #430879. 14125(gdevdsp.c [1.5]: 2001/10/12 21:41:25 ghostgum) 14126 - Syncs with hpijs version 0.97, and fixes a documentation bug. 14127(gdevhpij.c [1.3]: 2001/10/19 04:20:07 raph) 14128 14129</pre><h2><a name="7.03-PDF_writer"></a>PDF writer</h2><pre> 14130 14131Fixes problems: 14132 - pdfwrite didn't set the orig_matrix of standard fonts, sometimes 14133causing re-encoded characters to be written with a width of 0. Bug 14134introduced by fix for #439474, gdevpdff.c [1.19]. Fixes SourceForge #463400. 14135(gdevpdff.c [1.22]: 2001/10/05 05:40:41 lpd) 14136 - pdfwrite allowed AutoRotatePages to override DSC comments rather 14137than vice versa, and it interpreted "Portrait" in a DSC orientation comment 14138as "don't rotate" rather than as "rotate if necessary so that width < 14139height." Fixes SourceForge #467259, although the result is not what the 14140submitter wanted. (gdevpdf.c [1.38], gdevpdfp.c [1.19], gdevpdfx.h [1.34]: 141412001/10/07 05:33:11 lpd) 14142 14143</pre><h2><a name="7.03-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 14144 14145Fixes problems: 14146 - Pop the /None key in the SMask processing of the 'gs' in a PDF 1.4 14147document. Fixes SourceForge bug #459647 for Artifex customer Accusoft. 14148(lib/pdf_draw.ps [1.35]: 2001/10/05 18:25:16 rayjj) 14149 - Enhances -dDEBUG for encrypted PDF files to print strings after 14150decryption. (lib/pdf_sec.ps [1.5]: 2001/10/09 20:17:23 lpd) 14151 - If LastPage was greater than the number of pages in the document, 14152a rangecheck was generated. Instead, limit LastPage (silently) to the number 14153of pages in the document. If FirstPage is past end of document, issue a 14154warning. Also, if no pages are processed due to FirstPage > LastPage, 14155give a clear error message. SourceForge bug #470025. 14156(lib/pdf_main.ps [1.35]: 2001/10/12 07:07:54 rayjj) 14157 - Changing the hack in PDF font processing, which chooses character 14158width with encodings where the same character appears more than once. New 14159code takes width for character code which appears in Differences. Source 14160Forge bugs #444366, #468389. (lib/pdf_font.ps [1.22]: 2001/10/14 01:28:05 14161igorm) 14162 - Fix for #471414. Thanks to Leon Bottou for his excellent analysis 14163and fix for this problem. Ghostscript was incorrectly handling a PDF shading 14164dictionary in which the /Function entry contained an array of function 14165dictionary references. An additonal oforce was required in the array 14166processing loop. (lib/pdf_draw.ps [1.36]: 2001/10/16 22:20:31 dancoby) 14167 - Applied two patches reported in 14168http://www.ghostscript.com/pipermail/gs-code-review/2001-October/001255.html 14169by Hideyuki Suzuki / hideyuki at sat dot t dot u-tokyo dot ac dot jp. 14170pdf_font.ps: automatic substitution & transformation of CID-keyed fonts. 14171pdf_ops.ps: make spacings vertical when WMode is 1. (lib/pdf_font.ps [1.23], 14172lib/pdf_ops.ps [1.17]: 2001/10/19 16:42:47 masata-y) 14173 14174</pre><h2><a name="7.03-Interpreter"></a>Interpreter</h2><pre> 14175 14176Fixes problems: 14177 - Adds a -dNOCCFONTS switch to disable use of compiled-in fonts. 14178(lib/gs_ccfnt.ps [1.5], lib/gs_init.ps [1.39]: 2001/10/01 05:25:55 lpd) 14179 - After removing a compiled font with undefinefont, loading the font 14180or asking for its resourcestatus left extra information on the stack. Fixes 14181SourceForge #458818. (lib/gs_res.ps [1.16]: 2001/10/01 05:56:58 lpd) 14182 - Clean up PostScript files in examples directory to prevent 14183spurious bug reports caused when running more than a sigle file or running 14184chess.ps without cheq.ps in the current directory. Thanks to Russell Lang 14185for cleanup on DSC comment and structure. (examples/alphabet.ps [1.2], 14186examples/chess.ps [1.2], examples/colorcir.ps [1.2], 14187examples/doretree.ps [1.2], examples/escher.ps [1.2], 14188examples/golfer.ps [1.2], examples/grayalph.ps [1.2], 14189examples/snowflak.ps [1.2], examples/tiger.ps [1.2], 14190examples/vasarely.ps [1.2], examples/waterfal.ps [1.3]: 2001/10/01 21:28:25 14191rayjj) 14192 - Remove this file which was referenced from chess.ps -- now it is 14193included in chess.ps to prevent errors when cheq.ps could not be located. 14194(examples/cheq.ps [1.2]: 2001/10/01 21:33:05 rayjj) 14195 - When using a substitute for an unknown font, add an alias in 14196FontDirectory under the original requested font name. 14197(lib/gs_fonts.ps [1.12]: 2001/10/01 21:35:53 rayjj) 14198 - Undo previous 1.12 update. The PS file that exhibited the problem 14199was bad as was my testing against Adobe PS behaviour. Substituted fonts are 14200neither aliased, nor entered in the FontDirectory by Adobe PostScript. Fixes 14201regression bug with Genoa PS LL3 FTS test 313-01.ps. 14202(lib/gs_fonts.ps [1.13]: 2001/10/09 18:01:17 rayjj) 14203 - Fixing inaccurate coding in Type 2 font processing : when 14204GlobalSubrs absents, old code damages useful information in 14205charstring_font_refs_s::GlobalSubrs, possibly causing indeterministic error. 14206(zfont2.c [1.4]: 2001/10/11 17:55:32 igorm) 14207 - Fix : Making GlobalSubrs to be shared for all descendent fonts 14208within CFF CID font. 1/2 fix for Source Forge bug #468389 "rangecheck in 14209type2execchar" (lib/gs_cff.ps [1.10]: 2001/10/12 08:52:14 igorm) 14210 - Fixes for stdin as a result of using callouts. Use unbuffered 14211read, not non-blocking read. Change gp_stdin_read to use file pointer not 14212handle. Remove gp_stdin_init since we don't need to set non-blocking. Change 14213gp_stdin.c to use fread/fwrite to be more portable. Flush redirected stdout 14214correctly. Added casts to fix compiler warnings in dxmain.c. Corrected 14215header dependencies. Fixes SourceForge bug #467787. (dpmain.c [1.5], 14216dwmainc.c [1.8], idebug.c [1.4], igc.c [1.5], imain.c [1.19]: 2001/10/12 1421721:37:08 ghostgum) 14218 - Documentation and version number change in preparation for 7.03 14219release. (lib/gs_init.ps [1.40]: 2001/10/20 08:44:31 raph) 14220 14221</pre><h2><a name="7.03-Streams"></a>Streams</h2><pre> 14222 14223Fixes problems: 14224 - Updates icclib to version 2.0, and integrates icclib changes. In 14225particular, icclib now accesses Ghostscript streams through the clean 14226icmFile object interface, rather than previous hack. Removes remnants of 14227previous hack, including gs_stdio.h header file and sread() and swrite() 14228functions in stream.c. (stream.c [1.15]: 2001/10/19 21:52:50 raph) 14229 14230</pre><h2><a name="7.03-Library"></a>Library</h2><pre> 14231 14232Fixes problems: 14233 - Fixes nontermination of triangle subdivision in shading, as 14234triggered by FTS 446-01.ps. The criterion for whether a triangle spans more 14235than one pixel was too conservative, as it took the fill adjust into 14236account. (gxshade4.c [1.6]: 2001/10/01 21:16:47 raph) 14237 - Correct inverted Decode cases of ImageType 4 color range masks for 14238the Monochrome single bit per pixel case. Fixes SourceForge bug #462319 for 14239Artifex customer #671. (gxifast.c [1.4]: 2001/10/06 03:27:57 rayjj) 14240 - Fix : More error tolerance in type2 charstring interpreter. 2/2 14241fix for Source Forge bug #468389 "rangecheck in type2execchar". Thanks to L. 14242Peter Deutsch for participation and for the comment in code. 14243(gstype2.c [1.10]: 2001/10/12 08:55:24 igorm) 14244 - Fixes for stdin as a result of using callouts. Use unbuffered 14245read, not non-blocking read. Change gp_stdin_read to use file pointer not 14246handle. Remove gp_stdin_init since we don't need to set non-blocking. Change 14247gp_stdin.c to use fread/fwrite to be more portable. Flush redirected stdout 14248correctly. Added casts to fix compiler warnings in dxmain.c. Corrected 14249header dependencies. Fixes SourceForge bug #467787. (gp.h [1.8], 14250gxclutil.c [1.5], unistd_.h [1.4]: 2001/10/12 21:37:08 ghostgum) 14251 - Fixes reference counting for PDF 1.4 device filter stack. 14252Temporary patch to not free PDF 1.4 marking device for images (it was being 14253freed prematurely). (gdevp14.c [1.4], gsdfilt.c [1.3]: 2001/10/17 17:28:10 14254raph) 14255 - Updates icclib to version 2.0, and integrates icclib changes. In 14256particular, icclib now accesses Ghostscript streams through the clean 14257icmFile object interface, rather than previous hack. Removes remnants of 14258previous hack, including gs_stdio.h header file and sread() and swrite() 14259functions in stream.c. (gsicc.c [1.5], gsicc.h [1.3]: 2001/10/19 21:52:50 14260raph) 14261 - Documentation and version number change in preparation for 7.03 14262release. (gscdef.c [1.15]: 2001/10/20 08:44:31 raph) 14263 14264</pre><h2><a name="7.03-Other"></a>Other</h2><pre> 14265 14266Fixes problems: 14267 - Updates icclib to version 2.0, and integrates icclib changes. In 14268particular, icclib now accesses Ghostscript streams through the clean 14269icmFile object interface, rather than previous hack. Removes remnants of 14270previous hack, including gs_stdio.h header file and sread() and swrite() 14271functions in stream.c. (gs_stdio.h [1.3], icclib/Licence.txt [1.1], 14272icclib/NOTES [1.2], icclib/Readme.txt [1.1], icclib/icc.c [1.6], 14273icclib/icc.h [1.4], icclib/icc9809.h [1.2]: 2001/10/19 21:52:50 raph) 14274 14275<hr> 14276</pre> 14277 14278<h1><a name="Version7.02"></a>Version 7.02 (2001-09-22)</h1> 14279 14280<p> 14281This is a prerelease of Ghostscript, in preparation for a forthcoming 14282fully tested, supported 7.0x release. We are skipping the 7.01 release 14283number because that number is now associated with CVS versions. 14284 14285<p> Major changes include: 14286 14287<ul> 14288<li>Compile and portability fixes, including the dreaded time.h 14289problem that affects up-to-date Linux builds. 14290 14291<li>Big improvements in stdio, including a new -sstdout= redirect 14292switch. In addition, reading from stdin uses nonblocking I/O, so the 14293ugly -_ workaround is no longer necessary. 14294 14295<li>Substantial pdfwrite improvements. 14296 14297<li>128-bit encrypted files are now supported. 14298 14299<li>The usual bug fixes. 14300 14301</ul> 14302 14303Release issues that will be fixed before next fully supported version: 14304 14305<ul> 14306 14307<li> Update icclib to 2.0. 14308 14309<li> Update hpijs and Omni glue to latest versions. 14310 14311<li> Make sure all source files are referenced in Develop.htm. 14312 14313</ul> 14314 14315<p> 14316The following SourceForge bug numbers are currently open: 14317215256, 219798, 222727, 224863, 226477, 405342, 406285, 406689, 14318406979, 407342, 411753, 413669, 414947, 414985, 415016, 415142, 14319415170, 415177, 415526, 416043, 416131, 416830, 418241, 418597, 14320421057, 422532, 423838, 426274, 427193, 427314, 427316, 427347, 14321428891, 428973, 430879, 431065, 432040, 432657, 433835, 434277, 14322434707, 435154, 436099, 436897, 437285, 438679, 438957, 441566, 14323442477, 443745, 444791, 446344, 446672, 446676, 446035, 447695, 14324448199, 450271, 450663, 451456, 452155, 452173, 453861, 453969, 14325457838, 458025, 458261, 458500, 458769, 458775, 458780, 458818, 14326459645, 459647, 459764, 460292, 462139, 462212, 462221, 462319, 14327462777, 463123, 463400. 14328 14329<h3><a name="7.02_Incompatible_changes"></a>Incompatible changes</h3> 14330 14331<p> 14332No incompatible changes have been recorded for this version. 14333 14334<pre> 14335</pre> 14336 14337 14338<h2><a name="7.02-Documentation"></a>Documentation</h2><pre> 14339 14340Fixes problems: 14341 - Fixes a typo: gs_stable_memory should have been gs_memory_stable. 14342(doc/Develop.htm [1.41]: 2001/06/17 04:06:05 lpd) 14343 - The "Incompatible changes" sections for 6.62 and 6.61 were 14344duplicates of the section for 6.60. (doc/History6.htm [1.28]: 2001/07/28 1434523:02:56 lpd) 14346 14347Increments version number after 7.00 release. Also fixes gs_init.ps to 14348consistently print minor revision number as two digits. 14349(doc/News.htm [1.86]: 2001/04/17 07:40:12 raph) 14350 14351Documents the circumstances when no structure descriptor is needed. 14352(doc/Develop.htm [1.39]: 2001/04/20 19:44:18 lpd) 14353 14354Adds documentation for the graphics library's implementation of clipping. 14355(doc/Develop.htm [1.40]: 2001/04/20 20:17:28 lpd) 14356 14357Make copyright and AFPL license info at the end match other .htm files. 14358(doc/Humor.htm [1.3]: 2001/04/21 17:14:33 rayjj) 14359 14360Added entry about confusing error messages. (doc/Issues.htm [1.10]: 143612001/04/27 23:41:28 alexcher) 14362 14363Clarifies the manpage for the ps2pdfwr wrapper script, mentioning the 14364-dSAFER option and adding a sentence describing the role of this particular 14365script. (man/ps2pdfwr.1 [1.10]: 2001/05/03 21:07:33 giles) 14366 14367Adds a 'see also' reference to ps2pdf from the pdf2pdfwr manpage. 14368(man/ps2pdfwr.1 [1.11]: 2001/05/03 23:54:51 giles) 14369 14370Restructures the C style guide to explicitly distinguish language 14371restrictions from purely stylistic issues. (Requested by Artifex engineer.) 14372(doc/C-style.htm [1.18]: 2001/05/25 00:35:41 lpd) 14373 14374Updates hpijs driver to version 0.96. (doc/Devices.htm [1.30]: 2001/05/30 1437523:25:25 raph) 14376 14377Minor documentation update for HPIJS driver (adds more supported devices). 14378(doc/Devices.htm [1.31]: 2001/05/30 23:58:44 raph) 14379 14380updates the bug report for to reflect the public nature of the new bug lists 14381and tracker. (doc/Bug-form.htm [1.21]: 2001/06/05 02:30:47 giles) 14382 14383corrects the spelling of Metrowerks CodeWarrior (doc/Bug-info.htm [1.18]: 143842001/06/05 02:31:58 giles) 14385 14386branches: 1.1.2; file COPYING was initially added on branch GS_6_5. 14387(doc/COPYING [1.1]: 2001/06/05 07:07:35 raph) 14388 14389Changes release policy to preserve the original filenames of 3rd party 14390tarballs. (doc/Release.htm [1.38]: 2001/06/06 18:46:23 giles) 14391 14392This revision allows the MSVC makefiles to work with spaces in the DEVSTUDIO 14393path. Also if DEVSTUDIO is set to empty then the PATH, LIB, INCLUDE 14394environment variables are used for building. The MSVC section of Make.htm 14395was enlarged. (doc/Make.htm [1.32]: 2001/06/12 23:06:19 dancoby) 14396 14397Adds an explanation of why stable allocators are needed, rather than using 14398the system VM allocator for all stable objects. (doc/Develop.htm [1.42]: 143992001/06/17 04:12:06 lpd) 14400 14401Adds extern_inline for including inline procedures in header files. 14402(doc/C-style.htm [1.19]: 2001/06/17 05:09:07 lpd) 14403 14404Adds and documents an operator <prefix|null> <access_string> 14405.tempfile <filename> <file> to create and open a temporary file, 14406using gp_open_scratch_file. (doc/Language.htm [1.32]: 2001/07/15 13:54:17 14407lpd) 14408 14409Adds pphs, a utility for printing the Primary Hint Stream of a linearized 14410PDF file. (doc/Develop.htm [1.43], doc/Psfiles.htm [1.20]: 2001/07/15 1441116:25:02 lpd) 14412 14413Adds documentation of the new macos build processes. (doc/Make.htm [1.33]: 144142001/07/18 20:17:11 giles) 14415 14416Makes explicit note of the requirement to update the 'incompatible changes' 14417section of the documentation with relevant commits. 14418(doc/Maintain.htm [1.19], doc/News.htm [1.87]: 2001/07/31 03:31:35 giles) 14419 14420Adds documentation for the 'Fix:' prefix handling in changelog generation. 14421(doc/Maintain.htm [1.20]: 2001/07/31 08:06:48 giles) 14422 14423Removes a reference to mailing separate bug fix notices to artifex made 14424obsolete by the commit announcement mailing list. (doc/Maintain.htm [1.21]: 144252001/07/31 20:27:42 giles) 14426 14427Documentation update : ps2ascii can't handle incremental fonts. 14428(doc/Issues.htm [1.11]: 2001/08/06 10:24:01 igorm) 14429 14430Update to 1. add Active-X project suggested by a user. 2. Remove the DSC 14431processing project (completed). 3. provide minor update to the pswrite 14432project. 4. Update the ICC profile support project to reflect the partial 14433support now completed (in 7.00). (doc/Projects.htm [1.31]: 2001/08/17 1443419:42:49 rayjj) 14435 14436Adds documentation for the -sPDFPassword command line option for encrypted 14437pdf files, introduced with the inclusion of pdf_sec.ps. (doc/Use.htm [1.29]: 144382001/09/05 22:47:27 giles) 14439 14440Notes that ps2pdf may cause a limitcheck on PostScript files with 14441unreasonably large coordinates; suggests using -r as a workaround. Responds 14442to SourceForge bug #461335. (doc/Ps2pdf.htm [1.30]: 2001/09/14 00:40:04 lpd) 14443 14444Update documentation to describe how to build and install ghostscript as a 14445shared object on Unix. Fixes sourceforge bug #444593. 14446(doc/Install.htm [1.24], doc/Make.htm [1.34]: 2001/09/15 08:04:42 ghostgum) 14447 14448Speed up reading stdin when using callouts. Add platform-specific functions 14449for reading stdin, to allow non-blocking reading of stdin if supported. 14450Fixes Sourceforge bug #416973. (doc/Develop.htm [1.44]: 2001/09/15 08:48:33 14451ghostgum) 14452 14453Allow PostScript stdout to be redirected to stderr or a file. This is 14454required to avoid driver stdout being mixed with PostScript stdout. Options 14455are -sstdout=filename or -sstdout=%stderr. To reset redirection use 14456-sstdout=- or -sstdout=%stdout. Fixes Sourceforge bug #222534. 14457(doc/Use.htm [1.30]: 2001/09/22 07:33:35 ghostgum) 14458 14459Updates version and date in documentation in preparation for 7.02 14460pre-release. (doc/API.htm [1.10], doc/Bug-form.htm [1.22], 14461doc/Bug-info.htm [1.19], doc/C-style.htm [1.20], doc/Commprod.htm [1.14], 14462doc/Copying.htm [1.12], doc/Current.htm [1.12], doc/DLL.htm [1.14], 14463doc/Develop.htm [1.45], doc/Devices.htm [1.32], doc/Drivers.htm [1.20], 14464doc/Fonts.htm [1.21], doc/Helpers.htm [1.16], doc/History1.htm [1.12], 14465doc/History2.htm [1.12], doc/History3.htm [1.12], doc/History4.htm [1.12], 14466doc/History5.htm [1.14], doc/History6.htm [1.29], doc/History7.htm [1.2], 14467doc/Htmstyle.htm [1.17], doc/Install.htm [1.25], doc/Issues.htm [1.12], 14468doc/Language.htm [1.33], doc/Lib.htm [1.13], doc/Maintain.htm [1.22], 14469doc/Make.htm [1.35], doc/New-user.htm [1.29], doc/News.htm [1.88], 14470doc/PUBLIC [1.5], doc/Projects.htm [1.32], doc/Ps-style.htm [1.12], 14471doc/Ps2epsi.htm [1.14], doc/Ps2pdf.htm [1.31], doc/Psfiles.htm [1.21], 14472doc/README [1.11], doc/Readme.htm [1.30], doc/Release.htm [1.39], 14473doc/Source.htm [1.12], doc/Tester.htm [1.13], doc/Unix-lpr.htm [1.12], 14474doc/Use.htm [1.31], doc/Xfonts.htm [1.12], doc/gs-vms.hlp [1.11], 14475man/dvipdf.1 [1.9], man/font2c.1 [1.9], man/gs.1 [1.9], man/gslp.1 [1.9], 14476man/gsnd.1 [1.9], man/pdf2dsc.1 [1.9], man/pdf2ps.1 [1.11], 14477man/pdfopt.1 [1.9], man/pf2afm.1 [1.9], man/pfbtopfa.1 [1.10], 14478man/printafm.1 [1.9], man/ps2ascii.1 [1.9], man/ps2epsi.1 [1.9], 14479man/ps2pdf.1 [1.13], man/ps2pdfwr.1 [1.12], man/ps2ps.1 [1.16], 14480man/wftopfa.1 [1.9]: 2001/09/22 16:26:21 raph) 14481 14482</pre><h2><a name="7.02-Procedures"></a>Procedures</h2><pre> 14483 14484Fixes problems: 14485 - Removing the dependence of graphic library on PS interpreter. 14486Source Forge bug #415003. (lib.mak [1.48]: 2001/04/20 09:38:39 igorm) 14487 - Undoes makefile breakage introduced in previous version (for VMS). 14488(icclib.mak [1.3], lib.mak [1.50]: 2001/04/24 18:36:55 raph) 14489 - !ifndef COMPILED_INITS instead of !ifndef COMPILE_INITS Discovered 14490fixing bug #414985 from anonymous user (msvclib.mak [1.13]: 2001/04/28 1449100:53:46 alexcher) 14492 - Optimization for shading fill. The general path filling algorithm 14493subdivides fill region with trapezoid or rectangle subregions and then 14494paints each subregion with given color. If the color is shading, each 14495subregion to be subdivided into areas of constant color. But with radial 14496shading each area is a high order polygon, being subdivided into smaller 14497subregions, so as total number of subregions grows huge. Faster processing 14498is done here by changing the order of subdivision cycles : we first 14499subdivide the shading into areas of constant color, then apply the general 14500path filling algorithm (i.e. subdivide each area into trapezoids or 14501rectangles), using the filling path as clip mask. Source Forge bug #414022. 14502(lib.mak [1.51]: 2001/05/10 18:36:40 igorm) 14503 - Adobe PhotoShop 5+ duotone code assumes that setcolor operator 14504calls tint transform function if source colors don't make a subset of device 14505colors. Bug #224056, Customer #150 (int.mak [1.47]: 2001/06/07 14:48:24 14506alexcher) 14507 - index.html and gs.css weren't being copied to the installed 14508documentation directory. (unixinst.mak [1.19]: 2001/07/25 21:10:39 giles) 14509 - define previously undefined make variables. DISPLAY_DEV in 14510unix-gcc.mak. gdevdsp_h and gdevdsp2_h in int.mak. Add missing iref.h 14511dependency for idisp. Bug #415006. (devs.mak [1.46], int.mak [1.48], 14512unix-gcc.mak [1.22]: 2001/08/01 08:58:49 ghostgum) 14513 - Link Linux shared object as position independent code, instead of 14514just compiling the modules as position independent. Adds prefix to shared 14515object recursive make to allow install to a temporary location while 14516building a distribution. (unix-dll.mak [1.3]: 2001/08/01 09:42:01 ghostgum) 14517 - allow any value of JVERSION in the platform-specific makefiles to 14518reduce user confusion over minor version naming. We continue to support only 14519libjpeg v6*. Sourceforge bugs #457617 and #457838, September 2001. 14520(jpeg.mak [1.4]: 2001/09/05 21:46:35 giles) 14521 - Fix for MS-Windows graphics library. Remove references to 14522interpreter from gp_check_interrupts function in library. Make gslib.c 14523access gs_stdin not stdin. Correct the build paths for graphics devices. Add 14524missing graphics devices. (msvc32.mak [1.18], msvclib.mak [1.16], 14525winlib.mak [1.11]: 2001/09/22 07:07:02 ghostgum) 14526 - Prevent memory corruption when reading %statementedit. Allocate 14527lineedit buffer in correct memory space. Line being assembled is stored in a 14528PostScript string during callouts, so prevent zfilelineedit from reading 14529more than max_string_size bytes. Allocate extra space for trailing new-line 14530for statementedit, rather than fiddling the string length which broke when 14531sreadline reallocated the string. (int.mak [1.50]: 2001/09/22 07:26:45 14532ghostgum) 14533 - pdfwrite failed to recognize several of the standard screen spot 14534functions: Ellipse, Round, and Diamond weren't implemented, and several of 14535the others didn't match the PostScript implementation because of 14536float/double discrepancies. Also, pdfwrite wrote out halftone screens using 14537the adjusted ("actual") frequency and angle values rather than the requested 14538values. Fixes SourceForge #446676. (devs.mak [1.47]: 2001/09/22 16:27:04 14539lpd) 14540 14541Increments version number after 7.00 release. Also fixes gs_init.ps to 14542consistently print minor revision number as two digits. (version.mak [1.34]: 145432001/04/17 07:40:12 raph) 14544 14545Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 14546gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 14547gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS 14548(icclib.mak [1.2], openvms.mmk [1.7]: 2001/04/20 09:56:22 joukj) 14549 14550Committing in . Modified Files: gs/src/lib.mak Patch for OpenVMS (little 14551delayed since it was merged first with another commit) (lib.mak [1.49]: 145522001/04/20 10:39:44 joukj) 14553 14554Committing in . Modified Files: gs/src/gdevpdf.c gs/src/imainarg.c 14555gs/src/openvms.mmk Merged in some patches by Rick Dyson, which affect 14556compilation on VMS only. (openvms.mmk [1.8]: 2001/04/25 08:19:41 joukj) 14557 14558Committing in . Modified Files: gs/src/openvms.mak bringing openvms.mak in 14559sync. with new features( Icclib etc.) and with new compile strategy with 14560long variable names( as in openvms.mmk) Patch from Rick Dyson. 14561(openvms.mak [1.12]: 2001/04/25 13:24:20 joukj) 14562 14563Changes gp_open_scratch_file() to use mkstemp() rather than mktemp() on gcc 14564builds, which avoids warnings. Adds CAPOPT variable to unix-gcc.mak to 14565select which function is used, so that builds will still succeed on systems 14566that don't have mkstemp(). (unix-gcc.mak [1.20]: 2001/05/07 19:05:46 14567jackiem) 14568 14569Committing in . Modified Files: gs/src/openvms.mmk Enabling mkstemp on VMS. 14570(openvms.mmk [1.9]: 2001/05/08 12:28:38 joukj) 14571 14572This file is a new utility intended for debug. It is not yet ready for prime 14573time, but is available for whoever wants to fix it. The main problems are: 145741. It doesn't work for files that use chained filters such as [ 14575/ASCII85Decode /FlateDecode ] 2. The PDF files that are written are 14576sometimes broken. GS gets an xref problem. This second problem may actually 14577due to lib/pdfwrite.ps since even when no conversion is done, the file is 14578bad. (toolbin/pdfinflt.ps [1.1]: 2001/05/31 04:54:51 rayjj) 14579 14580branches: 1.1.2; file gnudevs.mak was initially added on branch GS_6_5. 14581(gnudevs.mak [1.1]: 2001/06/05 07:07:37 raph) 14582 14583removes unnessary whitespace, which was breaking tmake.tcl. Part of 14584sourceforge bug #415170, 2001 April 10. (libpng.mak [1.7]: 2001/06/07 1458522:01:16 giles) 14586 14587This revision allows the MSVC makefiles to work with spaces in the DEVSTUDIO 14588path. Also if DEVSTUDIO is set to empty then the PATH, LIB, INCLUDE 14589environment variables are used for building. The MSVC section of Make.htm 14590was enlarged. (msvc32.mak [1.16], msvccmd.mak [1.6], msvclib.mak [1.14], 14591msvctail.mak [1.6]: 2001/06/12 23:06:19 dancoby) 14592 14593updates makefiles to use version 1.0.12 of the png library. 14594(all-arch.mak [1.9], bcwin32.mak [1.11], dvx-gcc.mak [1.11], 14595libpng.mak [1.8], msvc32.mak [1.17], msvclib.mak [1.15], openvms.mak [1.13], 14596os2.mak [1.17], ugcclib.mak [1.13], unix-gcc.mak [1.21], 14597unixansi.mak [1.15], unixtrad.mak [1.15], watc.mak [1.13], 14598watclib.mak [1.13], watcw32.mak [1.12]: 2001/07/10 01:39:57 giles) 14599 14600drops support for libpng v0.89 and streamlines the library makefile. 14601(libpng.mak [1.9]: 2001/07/10 02:07:08 giles) 14602 14603minor comment cleanup (libpng.mak [1.10]: 2001/07/10 03:14:33 giles) 14604 14605branches: 1.1.2; Adds the makefile and script for the new macos build method 14606(macos-mcp.mak [1.1]: 2001/07/18 20:28:57 giles) 14607 14608To reduce redraw flicker, do not allow Windows to erase the background since 14609we paint it ourselves. Paint areas outside the page with the window 14610background colour or light grey. Save and restore window size using 14611registry. Add "Paste" to system menu of text window. Make error message box 14612a child of text window to avoid it appearing behind the text window. To 14613allow user to read the error message, the text window is not automatically 14614destroyed in the event of an error. The user must close text window using 14615close button or system menu. If text window closed, return e_Fatal to poll 14616function to provide a cleaner exit without a stack dump. (winint.mak [1.8]: 146172001/08/01 09:50:36 ghostgum) 14618 14619Uses lynx instead of netscape to generate text versions of important 14620documentation files. (toolbin/pre [1.11]: 2001/08/18 02:50:09 giles) 14621 14622Adds a C implementation of the Arcfour encryption filter. This is a 14623work-alike of the RC4 cipher used in PDF encryption. (int.mak [1.49], 14624lib.mak [1.52]: 2001/09/02 06:16:41 giles) 14625 14626The Unix shared object loader 'gsx' depends on Gtk+ which causes it to fail 14627in an environment where X11 and Gtk+ are not available. Add a console only 14628loader 'gsc' which does not depend on X11 or Gtk+. This does not support the 14629'display' device. Fixes sourceforge bug #450933. (unix-dll.mak [1.4]: 146302001/09/15 08:10:33 ghostgum) 14631 14632Speed up reading stdin when using callouts. Add platform-specific functions 14633for reading stdin, to allow non-blocking reading of stdin if supported. 14634Fixes Sourceforge bug #416973. (dvx-tail.mak [1.4], macos-mcp.mak [1.2], 14635openvms.mak [1.14], os2.mak [1.18], unix-aux.mak [1.4], watc.mak [1.14], 14636winlib.mak [1.10]: 2001/09/15 08:48:33 ghostgum) 14637 14638Change all interpreter builds to use callouts for stdio. Ghostscript library 14639builds still use file based stdio. (bcwin32.mak [1.12], dvx-gcc.mak [1.12], 14640gs.mak [1.5], openvms.mak [1.15], unix-gcc.mak [1.23], unixansi.mak [1.16], 14641unixtrad.mak [1.16], watc.mak [1.15], watcw32.mak [1.13]: 2001/09/15 1464208:55:32 ghostgum) 14643 14644Correct makefile dependency for gsx/dxmainc.c. (unix-dll.mak [1.5]: 146452001/09/22 07:21:00 ghostgum) 14646 14647Add the needed object files when building Windows large executable. 14648(msvc32.mak [1.19]: 2001/09/22 07:24:33 ghostgum) 14649 14650Updates version and date in documentation in preparation for 7.02 14651pre-release. (version.mak [1.35]: 2001/09/22 16:26:22 raph) 14652 14653</pre><h2><a name="7.02-Utilities"></a>Utilities</h2><pre> 14654 14655Fixes problems: 14656 - null object was converted to -nostringval- Discovered during the 14657work on pdfopt. (lib/pdfwrite.ps [1.4]: 2001/04/28 01:01:38 alexcher) 14658 - On Windows GS enumerated "." and ".." as external resources and 14659failed with /invalidresource trying to load them later. (gp_ntfs.c [1.5]: 146602001/05/04 20:27:40 alexcher) 14661 - pass #xx escaped characters in names through and fix the escape 14662logic to prevent a /typecheck in add. (lib/pdfwrite.ps [1.5]: 2001/05/31 1466304:38:42 rayjj) 14664 - Many scripts for invoking Ghostscript-based utilities didn't 14665properly handle file names that included spaces. Unix and DOS/Windows/OS/2 14666scripts required different fixes. (lib/dvipdf [1.2], lib/eps2eps [1.3], 14667lib/eps2eps.bat [1.5], lib/gssetgs.bat [1.3], lib/pdf2dsc.bat [1.2], 14668lib/pdf2ps [1.4], lib/pdf2ps.bat [1.5], lib/pdfopt [1.3], 14669lib/pdfopt.bat [1.3], lib/pf2afm.bat [1.3], lib/pfbtopfa [1.3], 14670lib/ps2ascii [1.3], lib/ps2epsi [1.7], lib/ps2epsi.bat [1.6], 14671lib/ps2epsi.cmd [1.3], lib/ps2pdf.bat [1.6], lib/ps2pdf12.bat [1.5], 14672lib/ps2pdf13.bat [1.5], lib/ps2pdf14.bat [1.2], lib/ps2pdfwr [1.6], 14673lib/ps2pdfxx.bat [1.10], lib/ps2ps [1.3], lib/ps2ps.bat [1.4]: 2001/06/22 1467416:09:22 lpd) 14675 - pdfopt gave an error if the input file had PageMode = /UseOutlines 14676but lacked an Outlines tree. Fixes SourceForge bug #410371. 14677(lib/pdfopt.ps [1.5]: 2001/07/01 07:16:28 lpd) 14678 - The first pass of pdfopt always estimated the size of the primary 14679hint stream as 0, which occasionally caused the second-pass fixup to fail. 14680Fixes SourceForge bug #409887. (lib/pdfopt.ps [1.7]: 2001/07/01 07:23:36 14681lpd) 14682 - If the OpenAction of a document referred to a Page object, pdfopt 14683would try to include the page in the "document-level objects" section of the 14684output, causing a rangecheck error. Fixes SourceForge bug #437724. Also adds 14685more tracing to pdfopt (with -dPDEBUG). (lib/pdfopt.ps [1.8]: 2001/07/02 1468615:50:19 lpd) 14687 - gp_open_scratch_file concatenated the temporary directory name 14688with the prefix even if the prefix was an absolute path; also, it didn't 14689check the length of the final file name, possibly leading to memory 14690corruption. (gp_iwatc.c [1.6], gp_mswin.c [1.6], gp_os2.c [1.10], 14691gp_vms.c [1.7]: 2001/07/15 13:57:50 lpd) 14692 - glyphshow procedure in ps2ascii lacks a pop in the for loop. Patch 14693from Leon Bottou. Source Forge bug #443361. (lib/ps2ascii.ps [1.3]: 146942001/07/22 20:43:32 igorm) 14695 - pdfopt was broken because SAFER prevented it from opening its 14696output and temporary files, and from deleting its temporary files. Note: 14697this fix requires the .tempfile operator added in src/zfile.c [1.9]. 14698(lib/pdfopt [1.4], lib/pdfopt.bat [1.4], lib/pdfopt.ps [1.9]: 2001/07/23 1469906:57:27 lpd) 14700 - Running font2c on any of the 35 standard fonts caused an 14701invalidaccess error if gs was built with compiled fonts (ccfonts.dev 14702"feature"). Fixes SourceForge #458816. (lib/font2c.ps [1.3]: 2001/09/13 1470323:16:29 lpd) 14704 - Fix for MS-Windows graphics library. Remove references to 14705interpreter from gp_check_interrupts function in library. Make gslib.c 14706access gs_stdin not stdin. Correct the build paths for graphics devices. Add 14707missing graphics devices. (gp_mslib.c [1.3], gp_mspol.c [1.1], 14708gp_mswin.c [1.7]: 2001/09/22 07:07:02 ghostgum) 14709 14710Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 14711gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 14712gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS 14713(gp_vms.c [1.6]: 2001/04/20 09:56:22 joukj) 14714 14715branches: 1.1.2; file gp_gnrdl.c was initially added on branch GS_6_5. 14716(gp_gnrdl.c [1.1]: 2001/06/05 07:07:37 raph) 14717 14718Change ps2pdfxx.bat to use lowercase output file extension to be consistent 14719with other platforms. This closes sourceforge bug #430129. 14720(lib/ps2pdfxx.bat [1.9]: 2001/06/15 05:32:56 jackiem) 14721 14722Adds more tracing output to pdfopt with -dPDEBUG. (lib/pdfopt.ps [1.6]: 147232001/07/01 07:20:30 lpd) 14724 14725Adds more tracing (with -dPDEBUG) to lib/pdfwrite.ps, used by pdfopt. 14726(lib/pdfwrite.ps [1.6]: 2001/07/02 15:46:05 lpd) 14727 14728Adds pphs, a utility for printing the Primary Hint Stream of a linearized 14729PDF file. (lib/pphs [1.1], lib/pphs.ps [1.1]: 2001/07/15 16:25:02 lpd) 14730 14731Re-enables export of the hwnd parameter in the old dll interface. This is 14732required by macgsview. (gsdll.c [1.5]: 2001/07/18 20:16:24 giles) 14733 14734Adds initial support for macos. (gp_macio.c [1.1]: 2001/07/18 20:20:50 14735giles) 14736 14737branches: 1.1.2; Adds initial support for macos. (gp_mac.c [1.1]: 2001/07/18 1473820:20:50 giles) 14739 14740branches: 1.1.2; Adds the makefile and script for the new macos build method 14741(macgenmcpxml.sh [1.1]: 2001/07/18 20:28:57 giles) 14742 14743Adds descriptive labels to the output of the utility for printing linearized 14744PDF data. (lib/pphs.ps [1.2]: 2001/07/19 18:38:45 lpd) 14745 14746Protect the export of 'hwndtext', required by macgsview, with platform 14747#ifdefs to avoid conflicts with the win32 dll build. (gsdll.c [1.6]: 147482001/07/23 05:25:08 giles) 14749 14750branches: 1.2.2; corrects line endings in gp_macio.c (gp_macio.c [1.2]: 147512001/07/24 22:22:59 giles) 14752 14753Improves the comments printed with dumps of Linearized PDF hint tables. 14754(lib/pphs.ps [1.3]: 2001/07/24 22:24:28 lpd) 14755 14756Changes pdfopt to work around several Acrobat code and documentation bugs, 14757so that Acrobat now recognizes pdfopt output as "optimized". Fixes 14758SourceForge #438685. (lib/pdfopt.ps [1.10], lib/pdfwrite.ps [1.7]: 147592001/07/30 07:16:32 lpd) 14760 14761The Unix shared object loader 'gsx' depends on Gtk+ which causes it to fail 14762in an environment where X11 and Gtk+ are not available. Add a console only 14763loader 'gsc' which does not depend on X11 or Gtk+. This does not support the 14764'display' device. Fixes sourceforge bug #450933. (dxmainc.c [1.1]: 147652001/09/15 08:10:33 ghostgum) 14766 14767When using the Unix Gtk+ loader gsx, delay setting the default color map and 14768visual until the display device is opened. This may allow gsx to be used 14769when X11 is not available. May fix Sourceforge bug #450933. (dxmain.c [1.4]: 147702001/09/15 08:14:21 ghostgum) 14771 14772Speed up reading stdin when using callouts. Add platform-specific functions 14773for reading stdin, to allow non-blocking reading of stdin if supported. 14774Fixes Sourceforge bug #416973. (gp_stdia.c [1.1], gp_stdin.c [1.1], 14775ziodevs.c [1.3]: 2001/09/15 08:48:34 ghostgum) 14776 14777Correct the stdin code in dxmainc.c (gsc) to be the same as gp_stdia.c. 14778(dxmainc.c [1.2]: 2001/09/22 07:16:50 ghostgum) 14779 14780</pre><h2><a name="7.02-Drivers"></a>Drivers</h2><pre> 14781 14782Fixes problems: 14783 - Prevent empty or invalid OutputFile values from causing SEGV in 14784psrgb, psgray and psmono. SourceForge bug #414151. (gdevpsu.c [1.5]: 147852001/04/20 02:35:24 rayjj) 14786 - Corrects incorrect month value in TIFF headers. Need to increment 14787tm_mon by one to get actual month. Fix from Helge Blischke. 14788(gdevtifs.c [1.4]: 2001/04/20 06:36:00 rayjj) 14789 - epswrite now writes each page into separate file, if OutputFile 14790specifies format. SourceForge bug #228641. (gdevps.c [1.17], 14791gdevpsim.c [1.5], gdevpsu.c [1.6], gdevpsu.h [1.3]: 2001/05/05 11:04:22 14792igorm) 14793 - Writing each page to separate file, epswrite wrote wrong number of 14794pages to their trailers. (gdevps.c [1.18], gdevpsim.c [1.6], 14795gdevpsu.c [1.7], gdevpsu.h [1.4]: 2001/05/10 17:41:22 igorm) 14796 - Removes duplicate rc_decrement_only() in 14797pdf14_begin_typed_image(), so that the marking device is now deallocated 14798once. Fixes SourceForge bug #434705. (gdevpnga.c [1.4]: 2001/07/05 23:21:01 14799raph) 14800 14801Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 14802gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 14803gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS (x_.h [1.3]: 148042001/04/20 09:56:22 joukj) 14805 14806branches: 1.2.2; Updates hpijs driver to version 0.96. (gdevhpij.c [1.2], 14807gdevhpij.h [1.2]: 2001/05/30 23:25:25 raph) 14808 14809branches: 1.1.2; file defs.h was initially added on branch GS_6_5. 14810(defs.h [1.1]: 2001/05/31 08:28:49 raph) 14811 14812branches: 1.1.2; file gomni.c was initially added on branch GS_6_5. 14813(gomni.c [1.1]: 2001/05/31 08:28:49 raph) 14814 14815branches: 1.1.2; file gdevln03.c was initially added on branch GS_6_5. 14816(gdevln03.c [1.1]: 2001/06/05 07:07:37 raph) 14817 14818branches: 1.1.2; file gdevop4w.c was initially added on branch GS_6_5. 14819(gdevop4w.c [1.1]: 2001/06/05 07:07:37 raph) 14820 14821branches: 1.1.2; file gdevxes.c was initially added on branch GS_6_5. 14822(gdevxes.c [1.1]: 2001/06/05 07:07:37 raph) 14823 14824Adds knowledge of more paper sizes to PCL driver. Thanks to Jonathan Kamens 14825for the patch. (gdevpcl.c [1.5], gdevpcl.h [1.5]: 2001/07/15 06:38:38 raph) 14826 14827branches: 1.1.2; Adds initial support for macos. (gdevmac.c [1.1], 14828gdevmac.h [1.1], gdevmacpictop.h [1.1], gdevmacttf.h [1.1]: 2001/07/18 1482920:20:50 giles) 14830 14831branches: 1.1.2; Adds the remaining macos source files (gdevmacxf.c [1.1]: 148322001/07/18 20:27:39 giles) 14833 14834Added const to all printer device descriptors const gx_device_printer 14835gs_xxx_device = ... (gdev3852.c [1.3], gdev4081.c [1.3], gdev4693.c [1.3], 14836gdev8510.c [1.3], gdevadmp.c [1.3], gdevbj10.c [1.4], gdevcif.c [1.3], 14837gdevcljc.c [1.4], gdevcp50.c [1.3], gdevdjtc.c [1.3], gdevdm24.c [1.3], 14838gdevepsc.c [1.3], gdevepsn.c [1.3], gdevescp.c [1.3], gdevhl7x.c [1.5], 14839gdevimgn.c [1.4], gdevlbp8.c [1.3], gdevlj56.c [1.3], gdevmiff.c [1.3], 14840gdevn533.c [1.3], gdevo182.c [1.3], gdevokii.c [1.3], gdevpjet.c [1.3], 14841gdevsgi.c [1.2], gdevsnfb.c [1.3], gdevsppr.c [1.4], gdevsunr.c [1.4], 14842gdevtknk.c [1.3]: 2001/08/01 00:48:23 stefan911) 14843 14844</pre><h2><a name="7.02-PDF_writer"></a>PDF writer</h2><pre> 14845 14846Fixes problems: 14847 - Empty pages included a Contents entry whose value was an empty 14848array: the spec allows this, and AR3 and 4 accept it, but AR5 rejects it. 14849(gdevpdf.c [1.34]: 2001/06/29 06:52:13 lpd) 14850 - When tiling with a bitmap, the /Type entry in the Pattern resource 14851was written twice. (Minor file size problem only, not a functional problem.) 14852(gdevpdfb.c [1.5]: 2001/06/29 17:04:17 lpd) 14853 - Some poorly designed PDF tools couldn't handle the fact that the 14854Contents stream of each page was not surrounded by q/Q. (The PDF spec does 14855not require this.) Fixes SourceForge bug #231390. (gdevpdfu.c [1.16]: 148562001/07/02 18:07:55 lpd) 14857 - pdfwrite didn't set returned.current_char, so the "current 14858character" for kshow was 0 or a random value. Fixes SourceForge bug #420933. 14859(gdevpdfs.c [1.5]: 2001/07/02 19:09:23 lpd) 14860 - When producing text in a Type 3 (bitmap) font and using TL and ' 14861for Y positioning, emitting a horizontal space character reset 14862text.use_leading, causing the line to be positioned incorrectly. Fixes 14863SourceForge bug #427159. (gdevpdft.c [1.33]: 2001/07/04 16:47:33 uid22160) 14864 - When producing text using a Type 3 (bitmap) font, the TL command 14865was used (incorrectly) when the new text position was directly below the 14866current text position, not (correctly) when the new text position was 14867directly below the beginning of the current text line. Fixes SourceForge bug 14868#228180. (gdevpdft.c [1.34]: 2001/07/04 18:06:39 uid22160) 14869 - Scaled fonts with PaintType = 2 (stroked) were painted with 14870incorrect stroked width. (gdevpdfs.c [1.6]: 2001/07/04 21:57:02 uid22160) 14871 - pdfwrite generated masked images, a PDF 1.3 feature, even when 14872CompatibilityLevel < 1.3. Fixes item (2) of SourceForge bug #414104. 14873(gdevpdfj.c [1.7], gdevpdfv.c [1.6]: 2001/07/07 19:15:51 lpd) 14874 - pdfwrite could write out a Pattern image too large for Acrobat 14875Reader to handle, which would then never be referenced. Fixes item (4) of 14876SourceForge bug #414104. (gdevpdfv.c [1.7]: 2001/07/07 19:41:12 lpd) 14877 - MSVC requires that a label not be the last thing in a block. 14878(gdevpdfv.c [1.9]: 2001/07/08 13:46:25 lpd) 14879 - The algorithm for scaling down user coordinates to fall within 14880Acrobat Reader's limitations didn't work properly for stroked paths with 14881anisotropic CTMs, possibly producing large coordinates that led Acrobat (but 14882not Ghostscript) to display the resulting file incorrectly. Fixes 14883SourceForge bug #440476. (gdevpdfd.c [1.15], gdevpdfp.c [1.18], 14884gdevpdfx.h [1.30]: 2001/07/12 03:28:02 lpd) 14885 - pdfwrite didn't write transfer functions in the output for images, 14886and allowed lossy compressions on images even in the presence of peculiar 14887transfer functions (such as functions simulating indexed color spaces). This 14888fix writes transfer functions for images, prevents lossy compression if the 14889transfer function is not the identity, and undoes the hack that was 14890implemented earlier to work around this problem. Fixes SourceForge bug 14891#420257. (gdevpdf.c [1.35], gdevpdfg.c [1.13], gdevpdfi.c [1.22], 14892gdevpdfx.h [1.31]: 2001/07/12 05:47:07 lpd) 14893 - When writing text, the leading offset was sometimes ignored if 14894blank lines were followed by a non-blank line. Fixes SourceForge bug 14895#440490. (gdevpdft.c [1.35]: 2001/07/12 19:45:53 lpd) 14896 - If ConvertCMYKImagesToRGB was true, pdfwrite produced images with 14897the correct RGB data but with the color space still set to DeviceCMYK. (Fix 14898originally from Helge Blischke.) (gdevpdfi.c [1.23]: 2001/07/24 04:47:37 14899lpd) 14900 - The calculation of a scaling value for stroked paths was 14901incorrect, causing Inf and NaN values to be written in the PDF file. Fixes 14902SourceForge #444682. Bug was introduced by the fix for #440476. 14903(gdevpdfd.c [1.16]: 2001/07/27 22:28:31 lpd) 14904 - Some error codes were ignored, masking errors in writing embedded 14905fonts. (gdevpdfe.c [1.10]: 2001/07/31 06:32:42 lpd) 14906 - ICCBased color spaces were copied to the output even if the output 14907level was 1.2 (ICCBased color spaces were introduced in PDF 1.3). 14908(gdevpdfc.c [1.16]: 2001/08/02 20:29:07 lpd) 14909 - If an image used a color space that couldn't be represented in 14910PDF, an invalid file was produced, rather than falling back to the default 14911representation as tiny rectangles. (bug introduced by H. Blischke's color 14912space fix) (gdevpdfi.c [1.24]: 2001/08/03 16:12:16 lpd) 14913 - Type 1 fonts that did not use the standard 1000-unit cell, such as 14914some fonts in PostScript files produced by Windows NT 4.0, were written with 14915an incorrect FontMatrix. (The output was visually correct, because the font 14916size was scaled to compensate.) Fixes SourceForge #439474. 14917(gdevpdff.c [1.19], gdevpdff.h [1.11], gdevpdfs.c [1.7]: 2001/08/06 19:36:01 14918lpd) 14919 - If the base 14 fonts were being embedded, they would often be 14920embedded multiple times. Partially fixes SourceForge #438957. 14921(gdevpdff.c [1.20]: 2001/08/17 21:27:21 lpd) 14922 - The descriptors for embedded fonts were recomputed unnecessarily. 14923Part 1 of a two-part fix for SourceForge #451456. (gdevpdff.c [1.21]: 149242001/08/29 19:03:59 lpd) 14925 - Uncolored Patterns with all bits set (equivalent to a solid color) 14926crashed pdfwrite. Fixes SourceForge #461330. (gdevpdfv.c [1.10]: 2001/09/15 1492706:12:29 lpd) 14928 - pdfwrite failed to recognize several of the standard screen spot 14929functions: Ellipse, Round, and Diamond weren't implemented, and several of 14930the others didn't match the PostScript implementation because of 14931float/double discrepancies. Also, pdfwrite wrote out halftone screens using 14932the adjusted ("actual") frequency and angle values rather than the requested 14933values. Fixes SourceForge #446676. (gdevpdfg.c [1.14]: 2001/09/22 16:27:04 14934lpd) 14935 14936Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 14937gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 14938gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS 14939(gdevpdf.c [1.32]: 2001/04/20 09:56:22 joukj) 14940 14941Committing in . Modified Files: gs/src/gdevpdf.c gs/src/imainarg.c 14942gs/src/openvms.mmk Merged in some patches by Rick Dyson, which affect 14943compilation on VMS only. (gdevpdf.c [1.33]: 2001/04/25 08:19:41 joukj) 14944 14945Changes the locally used BASE_ENCODING macro to an inline procedure 14946base_encoding_index. (Code hygeine only, no functional effect.) 14947(gdevpdfs.c [1.4]: 2001/06/29 17:05:35 lpd) 14948 14949Makes pdfwrite recognize colored Patterns where all the pixels are the same 14950color, and convert them to uncolored Patterns. This is an important 14951optimization for files produced by certain applications (the test file came 14952from Freehand on the Mac). Fixes item (3) of SourceForge bug #414104. 14953(gdevpdfv.c [1.8]: 2001/07/08 04:27:48 lpd) 14954 14955Capitalizes a macro, and replaces two other macros with variables. 14956(gdevpdfm.c [1.12]: 2001/07/15 22:53:23 lpd) 14957 14958Interprets bookmarks (/OUT pdfmarks) lacking both Action and Dest keys as a 14959GoTo to the current page, to match Acrobat Distiller. SourceForge bug 14960(enhancement) #442111. (gdevpdfm.c [1.13]: 2001/07/24 22:28:42 lpd) 14961 14962Changes pdfwrite to produce MediaBox values with up to 2 digits of decimal 14963fraction, rather than truncating to integers. SourceForge enhancement 14964request #440782. (gdevpdf.c [1.36], gdevpdfx.h [1.32]: 2001/07/25 23:16:44 14965lpd) 14966 14967Changes the writing of Type 3 character bitmaps to use Decode in the image 14968dictionary, rather than BlackIs1 in the parameter dictionary, to invert the 14969data, because it takes slightly less space on the file. (gdevpdfb.c [1.6]: 149702001/07/29 02:21:43 lpd) 14971 14972Shrinks PDF output slightly by removing unnecessary spaces. 14973(gdevpdfo.c [1.8]: 2001/07/29 03:00:45 lpd) 14974 14975Writes only the necessary Encoding entries for Type 3 bitmap fonts, rather 14976than always writing all 256 entries. Motivated by SourceForge #438957. 14977(gdevpdf.c [1.37], gdevpdft.c [1.36], gdevpdfw.c [1.12], gdevpdfx.h [1.33]: 149782001/07/30 15:11:00 lpd) 14979 14980Added const to all printer device descriptors const gx_device_printer 14981gs_xxx_device = ... (gdevpdff.c [1.18]: 2001/08/01 00:48:23 stefan911) 14982 14983Converts all locally defined macros to upper case. (gdevpdfc.c [1.17]: 149842001/08/03 06:43:52 lpd) 14985 14986Shrinks pdfwrite output slightly by omitting the unnecessary space character 14987before strings and hex strings, as well as before names, arrays, and 14988dictionaries. (gdevpdfo.c [1.9]: 2001/08/14 02:29:16 lpd) 14989 14990Committing in . Modified Files: gs/src/gdevpdfm.c gs/src/sarc4.c 14991gs/src/zcsdevn.c gs/src/zfile.c Some type casts added (gdevpdfm.c [1.14]: 149922001/09/04 14:30:13 joukj) 14993 14994</pre><h2><a name="7.02-PDF_Interpreter"></a>PDF Interpreter</h2><pre> 14995 14996Fixes problems: 14997 - 5-element DeviceN array (with attributes) messed up the operand 14998stack and failed. The attributes is an informational entry that can be 14999safely ignored. Bug #419509, Customer #150. (lib/pdf_draw.ps [1.30]: 150002001/04/28 01:45:25 alexcher) 15001 - PDF files containing strings with codes that map to glyph names 15002that are not part of the font would error with undefined in --get--. 15003Substitute the .notdef glyph as Adobe Acrobat Reader apparently does. 15004(lib/pdf_font.ps [1.19]: 2001/05/12 00:11:42 rayjj) 15005 - .resolvefn4 used stream length as the length of the decompressed 15006data, truncated the PostScript procedure and caused syntax error in the 15007token operator because of the unmatched brackets. Reading directly from the 15008stream fixes the problem. Bugs #425919 (lib/pdf_draw.ps [1.31]: 2001/05/24 1500916:48:59 alexcher) 15010 - The March 1999 PDF 1.3 version of the specification had a change 15011to make the /FormType key and /Matrix key optional in a Form. While we had 15012already handled missing /Matrix key, the missing /FormType key was not 15013accounted for in all cases. Move this to the common DoForm code. Fix for 15014SourceForge bug #430556, Artifex customer #671. (lib/pdf_draw.ps [1.32]: 150152001/06/13 05:30:29 rayjj) 15016 - Wrong entry name (BaseFont instead CIDFontName) was used while 15017resolving font resource to CIDFontType2 in PDF interpreter. Source Forge bug 15018#436892 (lib/pdf_font.ps [1.20]: 2001/07/09 19:27:37 igorm) 15019 - Workaround a SEGV caused by GC interaction with stderr file. 15020Needed to complete the fix for #430556, but the stderr bug remains open as 15021442477. (lib/pdf_main.ps [1.34]: 2001/07/18 20:42:48 rayjj) 15022 - Detect and load embedded Type1 fonts that are in PFB format (have 15023the 6 byte PFB header before each segment). Also ignore /Length values in 15024the streamdict keys that don't match the PFB segnment lengths. Issue warning 15025messages to stderr for all of these spec violations. SourceForge bug #430556 15026for Artifex customer #671. VS: 15027---------------------------------------------------------------------- 15028(lib/pdf_font.ps [1.21]: 2001/07/18 20:45:35 rayjj) 15029 - This problem was a rangecheck error being reported in 15030.setindexedspace when the base colorspace was DeviceN. The cause was an 15031error in determining the number of components in the DeviceN space. This is 15032the second of two fixes for SF bugs 427165 (customer #1110) and 438682. 15033(lib/pdf_draw.ps [1.34]: 2001/08/21 23:54:30 dancoby) 15034 15035Improvement: Prevents PDF files with more than 65534 page from failing due 15036to the dict size limit. The caches never hit on pages past 65534. Problem 15037was reported by a potential Artifex customer re their customer's files. 15038(lib/pdf_main.ps [1.33]: 2001/05/12 17:15:41 rayjj) 15039 15040This is the fix for [ #427354 ] PDF checkboxes problem. The PDF annotation 15041handler was not correctly handling cases in which there was no appearance in 15042the appearance dictionary AP for the current appearance state AS. It should 15043not display anything in this case. (lib/pdf_draw.ps [1.33]: 2001/06/14 1504422:25:36 dancoby) 15045 15046Updates pdf_sec.ps to use the new PDF 1.4 algorithms and 128 bit keylengths. 15047Rewritten to use C implementations of Arcfour (RC4 compatible cipher) and 15048MD5. Also fixes bug in processing of zero-length streams. 15049(lib/pdf_sec.ps [1.4]: 2001/09/19 07:12:13 raph) 15050 15051</pre><h2><a name="7.02-Interpreter"></a>Interpreter</h2><pre> 15052 15053Fixes problems: 15054 - GS didn't exit to shell when it was used with '--' option. The bug 15055was introduced in revision 1.7 when many references to exit() were replaced 15056with returns. Bug #416498 by Paul Vojta (imainarg.c [1.11]: 2001/04/19 1505723:39:39 ghostgum) 15058 - Removing the dependence of graphic library on PS interpreter. 15059Source Forge bug #415003. (zcssepr.c [1.8]: 2001/04/20 09:38:39 igorm) 15060 - Auto-rotation is enabled for non-null orientations. Auto rotation 15061now always rotates the image +90 degrees relative to the orientation. Bug 15062#416830 Customer #430 (zmedia2.c [1.3]: 2001/04/26 17:57:41 alexcher) 15063 - EPS files without a showpage could not be viewed if given as a 15064command line arg. Extra call to display_set_callback erased the page before 15065going to the GS> prompt the first time. Only do display_set_callback as 15066part of init_2. (imain.c [1.13]: 2001/05/04 20:35:33 rayjj) 15067 - in global mode pdfmark with composite objects causes invalidaccess 15068because the objects are copied to local memory but the array is copied to 15069current memory. Now the array is copied to local memory too. Fix from Helge 15070Blischke with changes. (lib/gs_pdfwr.ps [1.11]: 2001/05/04 20:59:33 15071alexcher) 15072 - This IdiomSet replaces 3 procedures generated by Win2K driver in 15073level 1 mode for RGB source image and DeviceRGB, DeviceCMYK, and DeviceGray 15074color models. Original implementation uses transfer functions to simulate 15075the indexed color space. Currently, GS always ignore transfer functions. The 15076replacement procedure uses indexed color space directly. This Idiom should 15077really be in a file in the IdiomSet directory of the Resource path, but we 15078put it here until GS has a way to handle distribution and installation of 15079Resources. Customer #670, Bug #420257 (lib/gs_ll3.ps [1.9]: 2001/05/08 1508019:42:13 alexcher) 15081 - Add all page sizes supported in statusdict to the .pagetypenames 15082array so that these page sizes can be selected from the command line using 15083-sPAPERSIZE=... parameter. Also implement the STRICT that limits the 15084available known paper sizes to those Adobe had defined prior to Level 2 when 15085'setpagedevice' replaced this mess. SourceForge bug #427898 15086(lib/gs_statd.ps [1.5]: 2001/05/30 21:14:35 rayjj) 15087 - Fix for [ #419211 ] .parse_dsc_comments not robust. This change 15088modifies the DSC parser so that errors in DSC comments do not abort the file 15089processing. (zdscpars.c [1.11]: 2001/06/06 08:11:20 dancoby) 15090 - Adobe PhotoShop 5+ duotone code assumes that setcolor operator 15091calls tint transform function if source colors don't make a subset of device 15092colors. Bug #224056, Customer #150 (zcolor2.c [1.4]: 2001/06/07 14:48:24 15093alexcher) 15094 - When finding a %%Page line in the trailer due to incorrect DSC 15095comments, the DSC parser now returns CDSC_PAGE only if the parser treats it 15096as a valid page. Partial fix for SourceForge bug #435157. (dscparse.c [1.6]: 150972001/06/23 10:21:24 ghostgum) 15098 - Fix for [ #435157 ] segmentation fault in dsc_page. Add test for 15099valid page data before using. (zdscpars.c [1.12]: 2001/06/27 00:25:08 15100dancoby) 15101 - Implementing CIDFont.CMap construction with period character (see 15102Ken Lunde, "CJKV Information Processing," O'RELILLY. 1999. p284) for any 15103compatible pair of CIDFont & CMap. This feature complies with Adobe 15104CPSI. Thanks to Masatake Yamato for discovering this feature. 15105(lib/gs_cidcm.ps [1.5]: 2001/07/01 08:55:34 igorm) 15106 - Reading a TrueType font with an empty table could cause a 15107rangecheck error. (lib/gs_ttf.ps [1.9]: 2001/07/08 15:24:11 lpd) 15108 - pdfwrite didn't write transfer functions in the output for images, 15109and allowed lossy compressions on images even in the presence of peculiar 15110transfer functions (such as functions simulating indexed color spaces). This 15111fix writes transfer functions for images, prevents lossy compression if the 15112transfer function is not the identity, and undoes the hack that was 15113implemented earlier to work around this problem. Fixes SourceForge bug 15114#420257. (lib/gs_ll3.ps [1.10]: 2001/07/12 05:47:07 lpd) 15115 - zfilelineedit sometimes reallocates (resizes) buffer string 15116without updating reference to it from o-stack, so as console input after 15117callout reads undefined data. Fixed with copying new reference to o-stack 15118whenever it changes. Source Forge bug #437808 (ziodev.c [1.5]: 2001/07/16 1511908:38:14 igorm) 15120 - If a 'restore' had to restore page device parameters, it did so 15121before rather than after restoring the state of VM, possibly creating 15122dangling references. Fixes SourceForge #230694, #414588, #444565. 15123(lib/gs_setpd.ps [1.8], zdevice2.c [1.4]: 2001/07/30 07:11:38 lpd) 15124 - Ignore white space between %%DocumentData: and argument. Fix: Set 15125dsc->preview correctly to DOS EPS if both DOS EPS and EPSI previews are 15126present. Update to latest dscparse.c/h used in GSview. Change dscparse to 15127mark internal functions "dsc_private" not "private", so it can be compiled 15128as C++ (needed by GSview, not Ghostscript). (dscparse.c [1.7], 15129dscparse.h [1.6]: 2001/08/01 09:03:40 ghostgum) 15130 - Fixing wrong binding of .getmetrics32 with -dNOBIND. 15131(lib/gs_typ32.ps [1.3]: 2001/08/06 10:19:42 igorm) 15132 - Old hack about underline parameters in gs_type1.ps now conflicts 15133with QuarkXPress_4.1 3.0 0 procset. Disabling it for fonts, which have 15134degenerate FontBBox. Source Forge bug #441870. (lib/gs_type1.ps [1.5]: 151352001/08/06 16:47:43 igorm) 15136 - The problem was a rangecheck error being reported in 15137.setdevicenspace with PDF files. The cause of the problem was not allowing 15138multiple copies of the name /None in DeviceN colorant specification. This is 15139the first of two fixes for SF bugs 427165 (customer #1110) and 438682. 15140(zcsdevn.c [1.4]: 2001/08/21 23:52:36 dancoby) 15141 - Work around a bug in the Adobe AGM_Core that results in areas 15142painted by the tint transform of a spot color being overpainted with white. 15143The symptom is missing graphics (lines, fills or text). SourceForge bug 15144#454415 for Artifex customer #190. (lib/gs_init.ps [1.37]: 2001/08/29 1514521:10:23 rayjj) 15146 - Fix a bug that the procedure for arraytype in cntdict leaves an 15147object. (lib/gs_btokn.ps [1.4]: 2001/09/04 22:59:52 masata-y) 15148 - If MaxLocalVM user parameter is set, perform garbage collection 15149before checking for potential VMerror. Without this fix, VMerror would be 15150issued even if a garbage collection would have freed enough memory to stay 15151below the MaxLocalVM limit. (ireclaim.c [1.3]: 2001/09/05 17:50:36 rayjj) 15152 - Prevent memory corruption when reading %statementedit. Allocate 15153lineedit buffer in correct memory space. Line being assembled is stored in a 15154PostScript string during callouts, so prevent zfilelineedit from reading 15155more than max_string_size bytes. Allocate extra space for trailing new-line 15156for statementedit, rather than fiddling the string length which broke when 15157sreadline reallocated the string. (zfile.c [1.11], ziodev.c [1.6]: 151582001/09/22 07:26:46 ghostgum) 15159 15160Increments version number after 7.00 release. Also fixes gs_init.ps to 15161consistently print minor revision number as two digits. 15162(lib/gs_init.ps [1.35]: 2001/04/17 07:40:12 raph) 15163 15164Committing in . Modified Files: gs/src/gdevpdf.c gs/src/imainarg.c 15165gs/src/openvms.mmk Merged in some patches by Rick Dyson, which affect 15166compilation on VMS only. (imainarg.c [1.12]: 2001/04/25 08:19:41 joukj) 15167 15168Added dot(.) composed font name(CIDFont.CMap) supports. 15169(lib/gs_cidcm.ps [1.3]: 2001/05/09 09:15:19 masata-y) 15170 15171In zfilename, a string allocated by ialloc_string is put on the stack with 15172correct memory space. (zfileio.c [1.11]: 2001/05/09 09:25:24 masata-y) 15173 15174The show operator doesn't clear the operand stack on interrupts. Source 15175Forge bug 209350. (zchar.c [1.4]: 2001/05/10 19:15:29 igorm) 15176 15177Move jpeg_decompress structure enum/reloc handler from interp level to 15178stream utility level to support non-PostScript clients. (zfdcte.c [1.5]: 151792001/05/30 17:38:45 rayjj) 15180 15181Unwind to the revision 1.2, because CIDFont.CMap patch misses some important 15182CIDFont-CMap combinations. (lib/gs_cidcm.ps [1.4]: 2001/06/06 10:44:05 15183igorm) 15184 15185If an ICC color space failed to load, Acrobat Reader uses the alternate 15186color space. Previous implementation ignored errors during load and used the 15187partial ICC space. This change signals an error and uses the alternate space 15188by catching the error in a stopped context in the interpreter. 15189(lib/gs_icc.ps [1.2]: 2001/06/12 16:02:39 rayjj) 15190 15191Patch from Mr. Toshiya Suzuki : Implementing multi-dimensional CID ranges, 15192and fixing bugs about decoding text string with CID font : (1) when GS 15193consumes undefined byte sequence (which cannot be mapped to some glyphs), GS 15194aborts. (2) when selected CID font lacks the glyph for requested CID, GS 15195aborts. (3) "notdefrange" defines SINGLE CID for undefined byte sequences in 15196specified range, but current GS implementation take it as an offset to 15197calculate MULTIPLE CID. (4) "cidrange" operators accept only full range 15198specification (<0000> to <FFFF>) or 8 bit width range 15199(<xxyy> to <xxzz>). Source Forge bug #415163. 15200(lib/gs_cmap.ps [1.11], zfcid0.c [1.7]: 2001/06/16 19:02:31 igorm) 15201 15202Committing in . Modified Files: gs/src/idisp.c gs/src/imain.c 15203gs/src/zfileio.c Some minor fixes (2 added includes and 1 type cast) needed 15204to compile cleanly on OpenVMS. (idisp.c [1.2], imain.c [1.14], 15205zfileio.c [1.12]: 2001/07/11 12:05:52 joukj) 15206 15207Adds and documents an operator <prefix|null> <access_string> 15208.tempfile <filename> <file> to create and open a temporary file, 15209using gp_open_scratch_file. (zfile.c [1.9]: 2001/07/15 13:54:17 lpd) 15210 15211Add the local and global vmstatus values to calculate the memory usage of a 15212resource. (lib/gs_res.ps [1.15]: 2001/07/15 16:13:39 masata-y) 15213 15214Allows temporary files (created and opened with .tempfile) to be deleted 15215even if SAFER is set. (lib/gs_init.ps [1.36]: 2001/07/23 06:56:24 lpd) 15216 15217To reduce redraw flicker, do not allow Windows to erase the background since 15218we paint it ourselves. Paint areas outside the page with the window 15219background colour or light grey. Save and restore window size using 15220registry. Add "Paste" to system menu of text window. Make error message box 15221a child of text window to avoid it appearing behind the text window. To 15222allow user to read the error message, the text window is not automatically 15223destroyed in the event of an error. The user must close text window using 15224close button or system menu. If text window closed, return e_Fatal to poll 15225function to provide a cleaner exit without a stack dump. (dwimg.c [1.3], 15226dwimg.h [1.4], dwmain.c [1.5], dwmainc.c [1.6], dwtext.c [1.4], 15227dwtext.h [1.4]: 2001/08/01 09:50:36 ghostgum) 15228 15229Changed debugging flag variables to const. (igc.c [1.4], zvmem.c [1.3]: 152302001/08/01 16:21:35 stefan911) 15231 15232Adds missing dwreg.cpp and dwreg.h files needed by recent Windows updates 15233which save and restore window size using registry. (dwreg.c [1.1], 15234dwreg.h [1.1]: 2001/08/02 08:36:07 ghostgum) 15235 15236Improves documentation of the op_def array elements and removes the obsolete 15237BEGIN/END_OP_DEFS macros, deprecated since 5.25. (opdef.h [1.3]: 2001/08/28 1523803:28:08 giles) 15239 15240Adds a C implementation of the Arcfour encryption filter. This is a 15241work-alike of the RC4 cipher used in PDF encryption. (zfarc4.c [1.1]: 152422001/09/02 06:16:41 giles) 15243 15244Corrects indenting, and adds another missing header. (zfarc4.c [1.2]: 152452001/09/02 07:09:13 giles) 15246 15247Committing in . Modified Files: gs/src/gdevpdfm.c gs/src/sarc4.c 15248gs/src/zcsdevn.c gs/src/zfile.c Some type casts added (zcsdevn.c [1.5], 15249zfile.c [1.10]: 2001/09/04 14:30:13 joukj) 15250 15251Change to debug output so that when the ptr is totally bogus, some useful 15252output will be generated before otype->ssize is dereferenced (which can 15253cause a memory access crash such as SEGV). No effect on non-debug code. 15254(ilocate.c [1.4]: 2001/09/06 15:46:13 rayjj) 15255 15256Move misplaced comment block. (zvmem2.c [1.3]: 2001/09/06 16:01:23 rayjj) 15257 15258.objectprinttest: do one more pop if the operator is executed without error. 15259.writeobjects: Before writing the header, check whether the written objects 15260are arrays or not. If they are arrays, they are left them on the stack. If 15261they are not arrays, they are removed from the stack. 15262(lib/gs_btokn.ps [1.5]: 2001/09/15 07:11:00 masata-y) 15263 15264When using gswin32 (GUI version) and an error occurs or -? is used, do not 15265display an error message box. Add a message to the text window "Close this 15266window with the close button on the title bar or the system menu". Flash the 15267window to attract attention. Fixes sourceforge bug #459019. (dwmain.c [1.6], 15268dwtext.c [1.5]: 2001/09/15 08:36:53 ghostgum) 15269 15270Speed up reading stdin when using callouts. Add platform-specific functions 15271for reading stdin, to allow non-blocking reading of stdin if supported. 15272Fixes Sourceforge bug #416973. (dpmain.c [1.4], dwmainc.c [1.7], 15273imain.c [1.15]: 2001/09/15 08:48:33 ghostgum) 15274 15275When using stdio callouts without callback functions, flush stdout and 15276stderr. (imain.c [1.16]: 2001/09/15 09:17:10 ghostgum) 15277 15278Don't initialize stdin if it is being handled by the caller. 15279(imain.c [1.17]: 2001/09/22 07:22:48 ghostgum) 15280 15281Allow PostScript stdout to be redirected to stderr or a file. This is 15282required to avoid driver stdout being mixed with PostScript stdout. Options 15283are -sstdout=filename or -sstdout=%stderr. To reset redirection use 15284-sstdout=- or -sstdout=%stdout. Fixes Sourceforge bug #222534. 15285(imain.c [1.18], imain.h [1.3], imainarg.c [1.13], iminst.h [1.5]: 152862001/09/22 07:33:35 ghostgum) 15287 15288Updates version and date in documentation in preparation for 7.02 15289pre-release. (lib/gs_init.ps [1.38]: 2001/09/22 16:26:22 raph) 15290 15291</pre><h2><a name="7.02-Streams"></a>Streams</h2><pre> 15292 15293Fixes problems: 15294 - When input stream of an input filter reports EOF, old code reports 15295EOF for the filter. But if output buffer for the filter is not empty, EOF 15296status to be delayed until it empties. Source Forge bug #417127. 15297(stream.c [1.12]: 2001/05/05 10:12:23 igorm) 15298 - Non-stable memory was used for internal zlib data, causing 15299inconsistent heap state after 'restore' while zlib is active, and subsequent 15300crash. Source Forge bug #431057 (szlibc.c [1.3]: 2001/07/16 08:29:46 igorm) 15301 - Fixes numerous bugs in setting of DCT compression parameters. 15302Manual setting of parameters such as QFactor should now work. Also 15303ColorTransform now defaults to YCC instead of RGB color space so the default 15304quality and compression ratio should improve. Thanks to Dave Slattengren for 15305the initial version of this fix. (sdcparam.c [1.3], sdcte.c [1.4], 15306sdeparam.c [1.4]: 2001/09/01 23:54:57 raph) 15307 - fixes bounds overstepping in arcfour filter in the case where 15308write buffer space is smaller than read buffer space. (sarc4.c [1.5]: 153092001/09/14 20:26:02 raph) 15310 15311Set file_name.size = 0 when file_name.data is set to 0. (stream.c [1.13]: 153122001/05/09 09:42:57 masata-y) 15313 15314Move jpeg_decompress structure enum/reloc handler from interp level to 15315stream utility level to support non-PostScript clients. (sdcte.c [1.3]: 153162001/05/30 17:38:45 rayjj) 15317 15318Move jpeg_decompress structure enum/reloc handler from interp level to 15319stream utility level to support non-PostScript clients. (see also zfdcte.c 15320and sdcte.c) (sdct.h [1.4]: 2001/06/08 07:08:44 rayjj) 15321 15322Adds a comment describing the function and return value of sreadbuf. 15323(stream.c [1.14]: 2001/06/17 04:28:10 lpd) 15324 15325Adds extern_inline for including inline procedures in header files. 15326(stdpre.h [1.4]: 2001/06/17 05:09:07 lpd) 15327 15328These changes were originally put into the GS_6_5 branch on 2001/03/13. They 15329are needed for using the current version of teh graphics library with the 15330PCL6 code. Short description of changes: stat_.h: Added definition of 15331stat_is_dir for use with MSVC. Not used in Ghostscript. gsptype1.c: Changes 15332in image_PaintProc. This routine is used in gs_makepixmappattern. 15333gs_makepixmappattern is only used in test8 (in gslib.c - a test module) and 15334gs_makebitmappattern_xform. gs_makebitmappatern_xform is not used in 15335Ghostscript. It is used in pcl6. (stat_.h [1.6]: 2001/08/07 22:13:29 15336dancoby) 15337 15338Makes the spprint* procedures use sputc rather than sputs for printing 15339converted values. Speeds up one set of customer ps2pdf conversions by 2.5%. 15340(spprint.c [1.4]: 2001/08/25 06:59:04 lpd) 15341 15342Adds a C implementation of the Arcfour encryption filter. This is a 15343work-alike of the RC4 cipher used in PDF encryption. (sarc4.c [1.1], 15344sarc4.h [1.1]: 2001/09/02 06:16:41 giles) 15345 15346adds a missing header file for e_rangecheck. (sarc4.c [1.2]: 2001/09/02 1534706:27:18 giles) 15348 15349Corrects indenting, and adds another missing header. (sarc4.c [1.3], 15350sarc4.h [1.2]: 2001/09/02 07:09:13 giles) 15351 15352Committing in . Modified Files: gs/src/gdevpdfm.c gs/src/sarc4.c 15353gs/src/zcsdevn.c gs/src/zfile.c Some type casts added (sarc4.c [1.4]: 153542001/09/04 14:30:13 joukj) 15355 15356</pre><h2><a name="7.02-Library"></a>Library</h2><pre> 15357 15358Fixes problems: 15359 - When copying a device, copy the static procs if needed before 15360calling finish_copydevice, so that the correct finish_copydevice is used. 15361(gsdevice.c [1.9]: 2001/04/12 08:45:02 ghostgum) 15362 - Removing the dependence of graphic library on PS interpreter. 15363Source Forge bug #415003. (gscsepr.c [1.10], gscspace.h [1.7]: 2001/04/20 1536409:38:38 igorm) 15365 - Removing the dependence of graphic library on PS interpreter. 15366Source Forge bug #415003. (gscsepr.c [1.11]: 2001/04/20 10:07:48 igorm) 15367 - Optimization for shading fill. The general path filling algorithm 15368subdivides fill region with trapezoid or rectangle subregions and then 15369paints each subregion with given color. If the color is shading, each 15370subregion to be subdivided into areas of constant color. But with radial 15371shading each area is a high order polygon, being subdivided into smaller 15372subregions, so as total number of subregions grows huge. Faster processing 15373is done here by changing the order of subdivision cycles : we first 15374subdivide the shading into areas of constant color, then apply the general 15375path filling algorithm (i.e. subdivide each area into trapezoids or 15376rectangles), using the filling path as clip mask. Source Forge bug #414022. 15377(gsptype2.c [1.5], gsptype2.h [1.3], gxfill.c [1.8]: 2001/05/10 18:35:14 15378igorm) 15379 - If the OutputFile name was not NULL terminated, the strcmp would 15380fail in unpredictable ways. (gsdevice.c [1.10]: 2001/05/12 00:08:36 rayjj) 15381 - dev_color_eq used wrong number of components for halftones. Source 15382Forge bug #422534. (gsht1.c [1.3], gxcht.c [1.3]: 2001/05/12 14:51:52 igorm) 15383 - Current code for /All separations marks all planes in the 15384alternate color space, not the destination color space. This is wrong, but 15385gx_concretize_Separation() doesn't have access to the destination device 15386color space. This fix makes tint value 1 print as black in any alternate 15387color space. It printed as white in DeviceCMYK before. Bug #423838 15388(gscsepr.c [1.12]: 2001/05/25 13:54:01 alexcher) 15389 - Prevent SEGV caused by freeing memory not owned. Variable 'code' 15390was overwritten, losing the get_outline return code that was needed for the 15391decision to free the glyph_string.data. Problem detected with PCL. Bug was 15392introduced in rev 1.10. (gstype42.c [1.12]: 2001/05/31 04:34:23 rayjj) 15393 - Include <time.h> as required by Debian systems with glibc 153942.2. Fixes SourceForge bugs 413747, 417180, 417181, 417182. (time_.h [1.3]: 153952001/06/07 21:04:52 raph) 15396 - FunctionType 4 functions that contained conditionals (if/ifelse) 15397would report the length of their symbolic definition incorrectly; 15398FunctionType 4 functions that had to return their symbolic definition in 15399pieces would loop forever. Fixes SourceForge bug #427191. (gsfunc4.c [1.6]: 154002001/07/04 01:23:46 lpd) 15401 - Changes clip logic in gx_image_cached_char() to affect the imaging 15402device, so that clipping is reliably effective. Fixes SF bug #433821 (and 15403probably others). (gxccache.c [1.5]: 2001/07/05 20:36:55 raph) 15404 - Removes duplicate rc_decrement_only() in 15405pdf14_begin_typed_image(), so that the marking device is now deallocated 15406once. Fixes SourceForge bug #434705. (gdevp14.c [1.3]: 2001/07/05 23:21:00 15407raph) 15408 - Prevent non-persistent name_arrays of size==0 from causing a 15409VMerror if alloc of size 0 returns a NULL. Detected with 15410SeparationColorNames from the PCL code. (gscparam.c [1.7]: 2001/07/06 1541117:02:25 rayjj) 15412 - If the FontMatrix of a CFF CIDFont was the default [0.001 0 0 154130.001 0 0], it was not written, causing the FontMatrices of the subfonts to 15414be scaled by 1000. (The Adobe documentation isn't at all clear about this.) 15415Fixes SourceForge bug #428595. (gdevpsf2.c [1.14]: 2001/07/07 06:28:08 lpd) 15416 - Before processing an image that uses the current color, call 15417gs_state_color_load to ensure that if the current color is a pattern, the 15418pattern is loaded. (This parallels existing code used for filling paths and 15419processing text.) This prevents a SEGV caused when pdfwrite dereferenced a 0 15420pointer to pdc->colors.pattern.p_tile. Fixes SourceForge bug #422089 for 15421Artifex Customer #1110. (gsimage.c [1.4]: 2001/07/10 22:04:20 lpd) 15422 - The algorithm for scaling down user coordinates to fall within 15423Acrobat Reader's limitations didn't work properly for stroked paths with 15424anisotropic CTMs, possibly producing large coordinates that led Acrobat (but 15425not Ghostscript) to display the resulting file incorrectly. Fixes 15426SourceForge bug #440476. (gdevvec.c [1.12], gdevvec.h [1.7]: 2001/07/12 1542703:28:02 lpd) 15428 - -sOutputFile=%stdout handling was broken by rev. 1.4 is fixed by 15429giving priority to iodevices when there is a leading %, but if the iodevice 15430is not recognized, attempting to parse as a format. Fix for SourceForge bugs 15431436895 and 428738, Artifex customer #680 (gsdevice.c [1.11]: 2001/07/12 1543214:10:55 rayjj) 15433 - gp_open_scratch_file concatenated the temporary directory name 15434with the prefix even if the prefix was an absolute path; also, it didn't 15435check the length of the final file name, possibly leading to memory 15436corruption. (gp_unifs.c [1.6]: 2001/07/15 13:57:50 lpd) 15437 - An incorrect optimization in the conversion of Type 1 to Type 2 15438CharStrings could cause character shapes to be mangled. This probably only 15439affected embedded fonts in PDF output. Fixes SourceForge #444374. 15440(gdevpsfx.c [1.9]: 2001/07/26 03:04:51 lpd) 15441 - Acrobat Reader would not accept embedded TrueType fonts with a 15442zero-length glyf table. Fixes SourceForge #429156. (gdevpsft.c [1.8]: 154432001/07/30 07:03:18 lpd) 15444 - An embedded CFF font could not be larger than 64K. Fixes 15445SourceForge #445400. (gdevpsf2.c [1.15]: 2001/07/31 06:39:06 lpd) 15446 - For CIEBasedDEF(G) color spaces the interpolated values from the 15447Table need to be scaled to the range given by RangeABC. Fixes SourceForge 15448bug #440278 reported by Artifex customer #10. (gsciemap.c [1.6]: 2001/08/03 1544915:26:35 rayjj) 15450 - Correct a problem with white lines appearing in an image at or 15451near band boundaries. Problem caused by different handling for the last 15452image pixel at a band boundary versus the remaining pixels. Replaced it with 15453uniform handling. Fixes SourceForge bug #436899 reported by Artifex customer 15454#150. Also included are three lines of source code clean up in the same 15455section. (gxicolor.c [1.3]: 2001/08/06 21:22:31 dancoby) 15456 - Writing a Type 2 font subset with undefined glyphs in the Encoding 15457produced invalid output. Fixes SourceForge #451399. (gdevpsf.h [1.10], 15458gdevpsfu.c [1.7]: 2001/08/16 13:36:37 lpd) 15459 - The problem was a rangecheck error being reported in 15460.setdevicenspace with PDF files. The cause of the problem was not allowing 15461multiple copies of the name /None in DeviceN colorant specification. This is 15462the first of two fixes for SF bugs 427165 (customer #1110) and 438682. 15463(gscdevn.c [1.6], gscspace.h [1.8]: 2001/08/21 23:52:36 dancoby) 15464 - Most of the Type 1 hinting code was executed even when hinting was 15465disabled. Part 2 of a two-part fix for SourceForge #451456. 15466(gxhint3.c [1.3]: 2001/08/29 19:04:55 lpd) 15467 - Quark Xpress turns off garbage collection with -2 vmreclaim when 15468embedding EPS files which can lead to rampant allocation that is only 15469reclaimed when GC is reenabled. When the GC is disabled, reduce the 15470threshold from 2 Gb to 8 Mb. Fixes SourceForge bugs: 444370 and 438676. 15471(gsalloc.c [1.10]: 2001/09/05 17:54:31 rayjj) 15472 - Fixes some typos in the comment for FORCE_GC_LIMIT. 15473(gsalloc.c [1.11]: 2001/09/05 18:03:39 lpd) 15474 - Copying a parameter list failed to copy persistent aggregates if 15475the target list used a different allocator from the source list, possibly 15476causing crashes at 'restore'. Fixes SourceForge #461007. (gsparamx.c [1.4]: 154772001/09/14 04:23:11 lpd) 15478 - The sin and cos operators in Type 4 (PostScript Calculator) 15479Functions expected their argument in radians, not degrees. (gsfunc4.c [1.7]: 154802001/09/17 06:01:12 lpd) 15481 - Fix for MS-Windows graphics library. Remove references to 15482interpreter from gp_check_interrupts function in library. Make gslib.c 15483access gs_stdin not stdin. Correct the build paths for graphics devices. Add 15484missing graphics devices. (gslib.c [1.5]: 2001/09/22 07:07:02 ghostgum) 15485 15486Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 15487gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 15488gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS 15489(gsnogc.c [1.7]: 2001/04/20 09:56:22 joukj) 15490 15491Changes gp_open_scratch_file() to use mkstemp() rather than mktemp() on gcc 15492builds, which avoids warnings. Adds CAPOPT variable to unix-gcc.mak to 15493select which function is used, so that builds will still succeed on systems 15494that don't have mkstemp(). (gp_unifs.c [1.5]: 2001/05/07 19:05:46 jackiem) 15495 15496This fixes a minor omission that prevents ghostscript from building on at 15497least some platforms. After an #ifndef, a #define isn't done. 15498(gsptype2.h [1.4]: 2001/05/11 23:12:11 jackiem) 15499 15500fix: If the ICC profile fails to load completely, or is missing a WhitePoint 15501a valid default is needed to prevent a divide by zero. The WhitePoint is the 15502same as the ICC default illuminant, D50. SourceForge bug 432130 for Artifex 15503customer #150 as well as bug 427156, customers #880 and #1110 and bug 15504414984. (gsicc.c [1.3]: 2001/06/12 15:32:20 rayjj) 15505 15506If an ICC color space failed to load, Acrobat Reader uses the alternate 15507color space. Previous implementation ignored errors during load and used the 15508partial ICC space. This change signals an error and uses the alternate space 15509by catching the error in a stopped context in the interpreter. 15510(gsicc.c [1.4]: 2001/06/12 16:02:39 rayjj) 15511 15512Patch from Mr. Toshiya Suzuki : Implementing multi-dimensional CID ranges, 15513and fixing bugs about decoding text string with CID font : (1) when GS 15514consumes undefined byte sequence (which cannot be mapped to some glyphs), GS 15515aborts. (2) when selected CID font lacks the glyph for requested CID, GS 15516aborts. (3) "notdefrange" defines SINGLE CID for undefined byte sequences in 15517specified range, but current GS implementation take it as an offset to 15518calculate MULTIPLE CID. (4) "cidrange" operators accept only full range 15519specification (<0000> to <FFFF>) or 8 bit width range 15520(<xxyy> to <xxzz>). Source Forge bug #415163. (gdebug.h [1.3], 15521gsfcmap.c [1.14], gsmisc.c [1.12], gxfcmap.h [1.8]: 2001/06/16 19:02:32 15522igorm) 15523 15524Notes that the 'foreign' member of the vm_spaces.memories allocator array is 15525not used (always zero). (gsgc.h [1.3]: 2001/06/17 04:03:52 lpd) 15526 15527Makes embedded CFF fonts in PDF files omit the FontBBox if it is [0 0 0 0]. 15528This should only be a minor optimization, but SourceForge bug #428595 claims 15529that Acrobat Reader cares. (gdevpsf2.c [1.13]: 2001/07/06 05:17:31 lpd) 15530 15531Changed debugging flag variables to const. (gshtscr.c [1.6], 15532gsmdebug.h [1.3], gxchar.c [1.5], gxclimag.c [1.3], gxclip.c [1.4]: 155332001/08/01 16:21:34 stefan911) 15534 15535Changed fill patterns for unallocated memory to const (gsmemory.c [1.3]: 155362001/08/02 00:12:08 stefan911) 15537 15538These changes were originally put into the GS_6_5 branch on 2001/03/13. They 15539are needed for using the current version of teh graphics library with the 15540PCL6 code. Short description of changes: stat_.h: Added definition of 15541stat_is_dir for use with MSVC. Not used in Ghostscript. gsptype1.c: Changes 15542in image_PaintProc. This routine is used in gs_makepixmappattern. 15543gs_makepixmappattern is only used in test8 (in gslib.c - a test module) and 15544gs_makebitmappattern_xform. gs_makebitmappatern_xform is not used in 15545Ghostscript. It is used in pcl6. (gsptype1.c [1.3]: 2001/08/07 22:13:29 15546dancoby) 15547 15548Improves documentation for gs_string and gs_bytestring types; adds 15549gs_free_[const_]bytestring procedures. (gsmemory.c [1.4], gsmemory.h [1.3], 15550gstypes.h [1.3]: 2001/08/25 06:46:21 lpd) 15551 15552Speed up reading stdin when using callouts. Add platform-specific functions 15553for reading stdin, to allow non-blocking reading of stdin if supported. 15554Fixes Sourceforge bug #416973. (gp.h [1.7], unistd_.h [1.3]: 2001/09/15 1555508:48:33 ghostgum) 15556 15557Improves poor performance of shadings in some cases, notably Coons01.ps. 15558Long, thin triangles are now cut in half, rather than into four smaller 15559triangles. Thus, the mesh is more regular. (gxshade4.c [1.5]: 2001/09/22 1556016:15:43 raph) 15561 15562Updates version and date in documentation in preparation for 7.02 15563pre-release. (gscdef.c [1.14]: 2001/09/22 16:26:22 raph) 15564 15565</pre><h2><a name="7.02-Other"></a>Other</h2><pre> 15566 15567Committing in . Modified Files: gs/icclib/icc.c gs/src/gdevpdf.c 15568gs/src/gp_vms.c gs/src/gsnogc.c gs/src/icclib.mak gs/src/openvms.mmk 15569gs/src/x_.h Added Files: gs/src/vms_x_fix.h Patches for OpenVMS 15570(icclib/icc.c [1.4], vms_x_fix.h [1.1]: 2001/04/20 09:56:22 joukj) 15571 15572This is the fix for [ #425014 ] Compile error on AIX in icc.c. The control87 15573is not defined on AIX systems (or probably on anything but x86 systems). 15574This was suggested by Graeme Gill. (icclib/icc.c [1.5]: 2001/06/06 08:14:14 15575dancoby) 15576 15577branches: 1.1.2; Adds initial support for macos. (gp_mac.h [1.1]: 2001/07/18 1557820:20:50 giles) 15579 15580branches: 1.1.2; Adds the remaining macos source files (macsysstat.h [1.1], 15581macsystypes.h [1.1]: 2001/07/18 20:27:39 giles) 15582 15583Adds generated macos build files to .cvsignore (.cvsignore [1.2]: 2001/07/31 1558420:03:20 giles) 15585 15586<hr> 15587</pre> 15588 15589<h1><a name="Version7.00"></a>Version 7.00 (2001-04-08)</h1> 15590 15591<p> 15592This is the official 7.0 AFPL Ghostscript release. Most of the changes 15593since 6.64 are quite minor, with the exception of one fix for ICC 15594profile support. 15595 15596<p> 15597All problems registered on SourceForge numbered 414588 or lower are 15598closed, except for the following: 209350 215256, 219798, 221582, 15599222534, 222727, 224056, 224863, 226477, 226584, 227684, 228180, 15600228641, 230694, 231390, 404255, 404482, 405342, 406285, 406689, 15601406696, 406979, 407342, 409887, 410371, 411753, 413114, 413669, 15602413747, 414022, 414104, 414588. 15603 15604<h3><a name="7.00_Incompatible_changes"></a>Incompatible changes</h3> 15605 15606<pre> 15607</pre> 15608 15609<h2><a name="7.00-Documentation"></a>Documentation</h2><pre> 15610 15611Updates broken and obsolete offsite links in the documenation. 15612(doc/Devices.htm [1.28], doc/Fonts.htm [1.18], doc/Language.htm [1.30], 15613doc/Lib.htm [1.11], doc/Maintain.htm [1.17], doc/Make.htm [1.29], 15614doc/New-user.htm [1.26], doc/Projects.htm [1.29], doc/Ps2epsi.htm [1.12], 15615doc/Readme.htm [1.27]: 2001/04/08 04:42:55 giles) 15616 15617Updates version number and date in preparation for 7.00 release. 15618(doc/API.htm [1.9], doc/Bug-form.htm [1.20], doc/Bug-info.htm [1.17], 15619doc/C-style.htm [1.17], doc/Commprod.htm [1.13], doc/Copying.htm [1.11], 15620doc/Current.htm [1.11], doc/DLL.htm [1.13], doc/Develop.htm [1.38], 15621doc/Devices.htm [1.29], doc/Drivers.htm [1.19], doc/Fonts.htm [1.19], 15622doc/Helpers.htm [1.15], doc/History1.htm [1.11], doc/History2.htm [1.11], 15623doc/History3.htm [1.11], doc/History4.htm [1.11], doc/History5.htm [1.13], 15624doc/History6.htm [1.27], doc/Htmstyle.htm [1.16], doc/Install.htm [1.22], 15625doc/Issues.htm [1.9], doc/Language.htm [1.31], doc/Lib.htm [1.12], 15626doc/Maintain.htm [1.18], doc/Make.htm [1.30], doc/New-user.htm [1.27], 15627doc/News.htm [1.84], doc/Projects.htm [1.30], doc/Ps-style.htm [1.11], 15628doc/Ps2epsi.htm [1.13], doc/Ps2pdf.htm [1.29], doc/Psfiles.htm [1.19], 15629doc/README [1.10], doc/Readme.htm [1.28], doc/Release.htm [1.35], 15630doc/Source.htm [1.11], doc/Tester.htm [1.12], doc/Unix-lpr.htm [1.11], 15631doc/Use.htm [1.27], doc/Xfonts.htm [1.11], doc/gs-vms.hlp [1.10], 15632man/dvipdf.1 [1.8], man/font2c.1 [1.8], man/gs.1 [1.8], man/gslp.1 [1.8], 15633man/gsnd.1 [1.8], man/pdf2dsc.1 [1.8], man/pdf2ps.1 [1.10], 15634man/pdfopt.1 [1.8], man/pf2afm.1 [1.8], man/pfbtopfa.1 [1.9], 15635man/printafm.1 [1.8], man/ps2ascii.1 [1.8], man/ps2epsi.1 [1.8], 15636man/ps2pdf.1 [1.12], man/ps2pdfwr.1 [1.9], man/ps2ps.1 [1.15], 15637man/wftopfa.1 [1.8]: 2001/04/09 06:20:01 raph) 15638 15639</pre><h2><a name="7.00-Procedures"></a>Procedures</h2><pre> 15640 15641Completes the change of default X directories to /usr/X11R6. Last commit on 15642this was inadvertently incomplete. (unix-gcc.mak [1.19], 15643unixansi.mak [1.14]: 2001/04/07 23:34:40 raph) 15644 15645Updates version number and date in preparation for 7.00 release. 15646(version.mak [1.33]: 2001/04/09 06:20:03 raph) 15647 15648</pre><h2><a name="7.00-Utilities"></a>Utilities</h2><pre> 15649 15650Fixes problems: 15651 - Correct the Unix executable handing of the display device formats 15652of 8bit and 24bit per pixel RGB. (dxmain.c [1.3]: 2001/04/08 08:40:29 15653ghostgum) 15654 - Ghostscript should return to the caller, not exit. Remove exit() 15655from gp_do_exit() for all platforms except VMS. (gp_dvx.c [1.4], 15656gp_iwatc.c [1.5], gp_os9.c [1.4], gp_unix.c [1.5]: 2001/04/08 08:43:24 15657ghostgum) 15658 15659</pre><h2><a name="7.00-PDF_writer"></a>PDF writer</h2><pre> 15660 15661Fixes problems: 15662 - AR4 doesn't like fonts with empty FontBBox which happens when the 15663font contains only space characters. Small BBox causes AR 4 to display a 15664hairline. So we use the full BBox. (gdevpdfw.c [1.11]: 2001/04/08 14:12:56 15665alexcher) 15666 15667</pre><h2><a name="7.00-Interpreter"></a>Interpreter</h2><pre> 15668 15669Fixes problems: 15670 - Ghostscript should return to the caller, not exit. Remove exit() 15671from gp_do_exit() for all platforms except VMS. (gs.c [1.6]: 2001/04/08 1567208:43:24 ghostgum) 15673 - Need a cast to (gs_memory_t *) to prevent errors on some 15674compliers. Change provided by Nelson H. F. Beebe. (zfdctd.c [1.6]: 156752001/04/09 05:15:57 rayjj) 15676 - Setting an ICC color space now invalidates the joint cache, so 15677that TransformPQR gets computed. The profile is explicitly loaded so that 15678the TransformPQR procedures have access to the white point. Also, the 15679photometric interpretation of the hack for /All separation color spaces is 15680reversed. Fixes Fixed_Original.pdf from Michael Jahn and Adobe tech note 156815002_EPSF_Spec.pdf. (zicc.c [1.2]: 2001/04/09 06:09:58 raph) 15682 15683Updates version number and date in preparation for 7.00 release. 15684(lib/gs_init.ps [1.34]: 2001/04/09 06:20:03 raph) 15685 15686</pre><h2><a name="7.00-Library"></a>Library</h2><pre> 15687 15688Fixes problems: 15689 - Setting an ICC color space now invalidates the joint cache, so 15690that TransformPQR gets computed. The profile is explicitly loaded so that 15691the TransformPQR procedures have access to the white point. Also, the 15692photometric interpretation of the hack for /All separation color spaces is 15693reversed. Fixes Fixed_Original.pdf from Michael Jahn and Adobe tech note 156945002_EPSF_Spec.pdf. (gscsepr.c [1.9], gsicc.c [1.2], gsicc.h [1.2]: 156952001/04/09 06:09:58 raph) 15696 15697</pre> 15698 15699<!-- [2.0 end contents] ==================================================== --> 15700 15701<!-- [3.0 begin visible trailer] =========================================== --> 15702<hr> 15703 15704<p> 15705<small>Copyright © 2001 artofcode LLC. 15706All rights reserved.</small> 15707 15708<p> 15709This software is provided AS-IS with no warranty, either express or 15710implied. 15711 15712This software is distributed under license and may not be copied, 15713modified or distributed except as expressly authorized under the terms 15714of the license contained in the file LICENSE in this distribution. 15715 15716For more information about licensing, please refer to 15717http://www.ghostscript.com/licensing/. For information on 15718commercial licensing, go to http://www.artifex.com/licensing/ or 15719contact Artifex Software, Inc., 101 Lucas Valley Road #110, 15720San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15721 15722<p> 15723<small>Ghostscript version 8.53, 20 October 2005 15724 15725<!-- [3.0 end visible trailer] ============================================= --> 15726 15727</body> 15728</html> 15729