--- gs8.51/src/devs.mak- 2005-04-05 11:44:44.000000000 -0400
+++ gs8.51/src/devs.mak 2005-04-21 14:05:25.000000000 -0400
@@ -304,7 +304,7 @@
# change DOS to SCO in the following line. Also, since SCO's /bin/as
# does not support the "out" instructions, you must build the GNU
# assembler and have it on your path as "as".
-EGAVGA=$(EGAVGA_DOS)
+EGAVGA=$(EGAVGA_SCO)
#**************** $(CCD) gdevevga.c
$(GLOBJ)gdevevga.$(OBJ) : $(GLSRC)gdevevga.c $(GDEV) $(memory__h) $(gdevpcfb_h)
@@ -317,7 +317,7 @@
#**************** $(CCD) gdevpcfb.c
$(GLOBJ)gdevpcfb.$(OBJ) : $(GLSRC)gdevpcfb.c $(GDEV) $(memory__h) $(gconfigv_h)\
$(gdevpccm_h) $(gdevpcfb_h) $(gsparam_h)
- $(GLCC) $(GLO_)gdevpcfb.$(OBJ) $(C_) $(GLSRC)gdevpcfb.c
+ $(GLCC) $(O0) $(GLO_)gdevpcfb.$(OBJ) $(C_) $(GLSRC)gdevpcfb.c
# The EGA/VGA family includes EGA and VGA. Many SuperVGAs in 800x600,
# 16-color mode can share the same code; see the next section below.
--- gs8.51/src/gdevxini.c- 2004-05-26 00:10:58.000000000 -0400
+++ gs8.51/src/gdevxini.c 2005-04-21 14:05:25.000000000 -0400
@@ -915,6 +915,18 @@
gs_closedevice(dev);
xdev->pwin = (Window) pwin;
}
+ /* Do not change the image size set by Ghostview */
+ /* This gives the Ghostview user control over the /setpage entry */
+ if (xdev->is_open && xdev->ghostview) {
+ dev->width = values.width;
+ dev->height = values.height;
+ dev->x_pixels_per_inch = values.x_pixels_per_inch;
+ dev->y_pixels_per_inch = values.y_pixels_per_inch;
+ dev->HWResolution[0] = values.HWResolution[0];
+ dev->HWResolution[1] = values.HWResolution[1];
+ dev->MediaSize[0] = values.MediaSize[0];
+ dev->MediaSize[1] = values.MediaSize[1];
+ }
/* If the device is open, resize the window. */
/* Don't do this if Ghostview is active. */
if (xdev->is_open && !xdev->ghostview &&
--- gs8.51/src/stdpre.h- 2003-12-09 16:17:59.000000000 -0500
+++ gs8.51/src/stdpre.h 2005-04-21 14:05:25.000000000 -0400
@@ -192,6 +192,9 @@
# if __GNUC__ == 2 & (7 < __GNUC_MINOR__ <= 95)
# define ALIGNMENT_ALIASING_BUG
# endif
+# if defined(__linux__)
+# define HAVE_STDINT_H
+# endif
#endif
/*
--- gs8.51/src/gdevpcfb.c- 2004-09-20 18:14:59.000000000 -0400
+++ gs8.51/src/gdevpcfb.c 2005-08-11 12:46:47.000000000 -0400
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989, 1995, 1996, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved.
+/* Copyright (C) 1989-2005 artofcode LLC. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
@@ -178,7 +178,6 @@
}
/* Map a r-g-b color to an EGA color code. */
-#define Nb gx_color_value_bits
private gx_color_index
ega0_map_rgb_color(gx_device * dev, const gx_color_value cv[])
{
@@ -187,10 +186,13 @@
private gx_color_index
ega1_map_rgb_color(gx_device * dev, const gx_color_value cv[])
{
-#define cvtop (gx_color_value)(1 << (Nb - 1))
- return pc_4bit_map_rgb_color(dev, cv[0] & cvtop, cv[1] & cvtop, cv[2] & cvtop);
+ const gx_color_value cvtop = (1 << (gx_color_value_bits - 1));
+ gx_color_value cvt[3];
+ cvt[0] = cv[0] & cvtop;
+ cvt[1] = cv[1] & cvtop;
+ cvt[2] = cv[2] & cvtop;
+ return pc_4bit_map_rgb_color(dev, cvt);
}
-#undef Nb
/* Map a color code to r-g-b. */
#define icolor (int)color
--- gs8.51/src/genarch.c- 2004-06-17 17:42:53.000000000 -0400
+++ gs8.51/src/genarch.c 2005-04-21 14:05:25.000000000 -0400
@@ -32,6 +32,13 @@
#include
-Generalize the trapezoid fillling algorithm for curves, step 4. +Generalize the trapezoid filling algorithm for curves, step 4.[src/gxfdrop.c 1.5]
@@ -12810,7 +12810,7 @@ 2003-12-04 16:19 Igor Melichev (details)-Generalize the trapezoid fillling algorithm for curves, step 3. +Generalize the trapezoid filling algorithm for curves, step 3.[src/gxfill.c 1.57, src/gxpflat.c 1.10, src/gzpath.h 1.12]
@@ -12848,7 +12848,7 @@ 2003-12-04 11:09 Igor Melichev (details)-Generalize the trapezoid fillling algorithm for curves, step 2. +Generalize the trapezoid filling algorithm for curves, step 2.[src/gx.h 1.18, src/gxfdrop.c 1.4, src/gxfill.c 1.55, src/gxfill.h 1.4, src/gxpflat.c 1.9, src/gzpath.h 1.11]
@@ -13001,7 +13001,7 @@ 2003-11-25 00:21 Igor Melichev (details)-Generailze the trapezoid fillling algorithm for curves, step 1. +Generalize the trapezoid filling algorithm for curves, step 1. The new code is disabled with CURVED_TRAPEZIOD_FILL 0 in gx.h .@@ -13283,7 +13283,7 @@@@ -13464,7 +13464,7 @@ 2003-11-01 13:18 Igor Melichev (details)First attempt to add information requested by Igor to identify when the -basline was set for a particular 'DIFFER' case. Bug #687142. +baseline was set for a particular 'DIFFER' case. Bug #687142.[toolbin/tests/gscheck_pdfwrite.py 1.15, toolbin/tests/gscheck_raster.py 1.6]
-Fix (font resource machinery) : Dont try reloading fonts if the platform has no native fonts. +Fix (font resource machinery) : Don't try reloading fonts if the platform has no native fonts.[lib/gs_fonts.ps 1.44]
@@ -13495,7 +13495,7 @@ 2003-10-30 14:56 Igor Melichev (details)-Fix (dropout prevention) : The expression for choosing a pixel to paint with narrow trapesoids +Fix (dropout prevention) : The expression for choosing a pixel to paint with narrow trapezoids was wrong (An improved revision).@@ -13607,7 +13607,7 @@ 2003-10-28 14:44 Igor Melichev (details)-Fix (dropout prevention) : The expression for choosing a pixel to paint with narrow trapesoids +Fix (dropout prevention) : The expression for choosing a pixel to paint with narrow trapezoids was wrong. The old code sometimes unreasonably shifted stems in 1 pixel.@@ -13948,7 +13948,7 @@Don't cache glyphs with a suspect bounding box. The patch tests for (urx!=0 && llx==urx) || (ury!=0 && lly==ury) but suggestions of a -better test are allways welcome. +better test are always welcome. Fix bug 687015 from customer 440[lib/pdf_font.ps 1.58]
@@ -13995,7 +13995,7 @@ 2003-10-16 13:37 Igor Melichev (details)-Fix (pdfwrite) : The font copying routine was inprecise. +Fix (pdfwrite) : The font copying routine was imprecise.[src/gdevpsft.c 1.31, src/gstype42.c 1.40, src/gxfcopy.c 1.35]
@@ -14110,7 +14110,7 @@Fix (True Type font loader) : 'glyf' and 'loca' were loaded emulating a CID font with True Type, -causing an unuseful huge memory consumtion. +causing an unuseful huge memory consumption.[lib/gs_ttf.ps 1.33]
@@ -14443,7 +14443,7 @@ 2003-10-06 16:42 Igor Melichev (details)-Fix (pdfwrite) : A bug convertinging a CID to a glyph index. +Fix (pdfwrite) : A bug converting a CID to a glyph index.[src/gstype42.c 1.36]
@@ -14810,7 +14810,7 @@ 2003-09-09 20:35 Igor Melichev (details)-pdfwrite : Apply the color space serialization for color space comparizon (continued). +pdfwrite : Apply the color space serialization for color space comparison (continued).[src/gdevpdfc.c 1.39, src/gdevpdfg.c 1.40, src/gdevpdfg.h 1.26, src/gdevpdfv.c 1.30, src/gspcolor.c 1.12]
@@ -14830,7 +14830,7 @@ 2003-09-09 16:03 Igor Melichev (details)-pdfwrite : Apply the color space serialization for color space comparizon. +pdfwrite : Apply the color space serialization for color space comparison.[src/devs.mak 1.96, src/gdevpdfc.c 1.37, src/gdevpdfg.h 1.25]
@@ -14879,7 +14879,7 @@ 2003-09-08 13:19 Igor Melichev (details)-Fix : Impproving the coordinate precision in function fill_rectangle_hl_color. +Fix : Improving the coordinate precision in function fill_rectangle_hl_color.[src/gdevdflt.c 1.13, src/gdevnfwd.c 1.11, src/gdevpdfd.c 1.33, src/gsdps1.c 1.9, src/gspaint.c 1.8, src/gxdevcli.h 1.18]
@@ -14900,7 +14900,7 @@Defining a new device virtual function fill_rectangle_hl_color. -This fuction is used to implement gs_rectfill and gs_fillpage +This function is used to implement gs_rectfill and gs_fillpage with a high level color handling.@@ -15183,7 +15183,7 @@ THIS IS INCOMPATIBLE CHANGE for devices derived from gx_device_vector. Now they must implement the new virtual function can_handle_hl_color. -A simplest impementation compatible to the old behavior is to return false. +A simplest implementation compatible to the old behavior is to return false.[src/gdevpdfd.c 1.30, src/gdevpdfg.c 1.36, src/gdevpdfg.h 1.23, src/gdevpdfx.h 1.73, src/gdevpdtt.c 1.56, src/gdevps.c 1.36, src/gdevpsdf.h 1.19, src/gdevpsdu.c 1.18, src/gdevpx.c 1.14, src/gdevvec.c 1.20, src/gdevvec.h 1.12, src/gsdcolor.h 1.12, src/gxdcolor.c 1.12, src/gxhldevc.h 1.2, src/lib.mak 1.133]
@@ -15605,7 +15605,7 @@Convert ASCII range font names found during the FONTPATH scanning to -simole ASCII aliases (original Unicode names preserved). Fixes bug 686861 +simple ASCII aliases (original Unicode names preserved). Fixes bug 686861 for customer 131.@@ -15975,7 +15975,7 @@ 2003-08-01 15:40 giles@@ -16092,7 +16092,7 @@ 2003-07-25 14:08 giles-Set release dates on the documenation. +Set release dates on the documentation.[doc/News.htm 1.132, man/dvipdf.1 1.25, man/font2c.1 1.25, man/gs.1 1.26, man/gslp.1 1.25, man/gsnd.1 1.25, man/pdf2dsc.1 1.24, man/pdf2ps.1 1.26, man/pdfopt.1 1.24, man/pf2afm.1 1.25, man/pfbtopfa.1 1.26, man/printafm.1 1.25, man/ps2ascii.1 1.24, man/ps2epsi.1 1.23, man/ps2pdf.1 1.30, man/ps2pdfwr.1 1.29, man/ps2ps.1 1.32, man/wftopfa.1 1.25]
-Build fix of the jbig2 makefile. OOur portable (v)snprintf implementation is +Build fix of the jbig2 makefile. Our portable (v)snprintf implementation is in snprintf.c, notvsnprintf.c. Reported in but 686966.[src/jbig2.mak 1.6]
@@ -16289,7 +16289,7 @@ 2003-07-10 18:42 raph-First batch of transparency improvments. With these changes, +First batch of transparency improvements. With these changes, ChineseOpera.ai and a number of other files using soft mask groups should render correctly.@@ -16655,7 +16655,7 @@ 2003-06-24 10:57 igor@@ -16777,7 +16777,7 @@ 2003-06-18 19:56 alexcher-Fix : gs/Resource/Decoding/Unicode contained wrong codes for Cyrillic and Herbrew. +Fix : gs/Resource/Decoding/Unicode contained wrong codes for Cyrillic and Hebrew.[Resource/Decoding/Unicode 1.2]
@@ -16988,8 +16988,8 @@ 2003-06-06 17:50 igor (details)-Fix mis-identificaion of every DSC-conforming file as EPS. +Fix mis-identification of every DSC-conforming file as EPS.[src/gdevpdfp.c 1.32]
-Fix (pdfwrite) : Convert Type 0 fonts with multiple CID font descendents into -Type 0 fonts with single CID font descendents (the part 3). +Fix (pdfwrite) : Convert Type 0 fonts with multiple CID font descendants into +Type 0 fonts with single CID font descendants (the part 3).[src/gdevdevn.c 1.7, src/gdevpdtc.c 1.22, src/gdevpdtd.c 1.12, src/gdevpdtf.c 1.29, src/gdevpdtt.c 1.47, src/gdevpsf.h 1.24, src/gdevpsft.c 1.30, src/gdevpsfu.c 1.11, src/gdevtrac.c 1.5, src/gsccode.h 1.10, src/gstype42.c 1.31, src/gxfcopy.c 1.27, src/gxfont42.h 1.15, src/zfcid1.c 1.17, src/zfont42.c 1.15]
@@ -17011,7 +17011,7 @@ 2003-06-03 07:31 igor-pdfwrite : Don't add subset prefix when a font doesn't embeed. +pdfwrite : Don't add subset prefix when a font doesn't embed. Ghostscript Bug 686893 NeverEmbed for Japanese CID fonts doesn't work correctly Patch from Koji Nakamaru.@@ -17023,10 +17023,10 @@@@ -17208,8 +17208,8 @@ 2003-05-22 23:37 igor (details)Fix for 686785 segfault with PDF 1.4. The PDF interpreter was calling -PDF 1.4 transparency features (begin_trasnparency_group) even though -the alpha involved was 1.0. THe fix is to set a flag when the need +PDF 1.4 transparency features (begin_transparency_group) even though +the alpha involved was 1.0. The fix is to set a flag when the need for transparency is done at the start of a page and then testing it -when transparency may be needed durng the page. +when transparency may be needed during the page.[lib/pdf_draw.ps 1.70, lib/pdf_main.ps 1.74]
-pdfwrite : Convert Type 0 fonts with multiple CID font descendents into -Type 0 fonts with single CID font descendents (part 2). +pdfwrite : Convert Type 0 fonts with multiple CID font descendants into +Type 0 fonts with single CID font descendants (part 2).[src/gdevpdfv.c 1.26, src/gdevpdtc.c 1.20, src/gdevpdtf.c 1.27, src/gdevpdtf.h 1.18, src/gdevpdtt.c 1.46, src/gdevpdtt.h 1.17, src/zfcid0.c 1.20]
@@ -17248,8 +17248,8 @@ 2003-05-22 15:41 igor (details)-Fix (pdfwrite) : Convert Type 0 fonts with multiple CID font descendents into -Type 0 fonts with single CID font descendents. +Fix (pdfwrite) : Convert Type 0 fonts with multiple CID font descendants into +Type 0 fonts with single CID font descendants.[src/gdevpdfm.c 1.31, src/gdevpdfv.c 1.25, src/gdevpdtb.c 1.19, src/gdevpdtc.c 1.19, src/gdevpdtf.c 1.26, src/gdevpdtf.h 1.17, src/gdevpdtt.c 1.45, src/gdevpdtt.h 1.16, src/gdevpdtw.c 1.18, src/gdevpdtw.h 1.3, src/gdevpsf.h 1.23, src/gdevpsfm.c 1.14, src/gsfcmap.c 1.22, src/gxfcmap.h 1.15, src/zcidtest.c 1.3]
@@ -17281,7 +17281,7 @@ The 8.10 release is an incremental release from 8.00. It contains some fairly substantial reworking of important modules, most notably in the font rendering. Because of the extent of the changes, we're -labelling this as a beta release. It should be quite usable, but +labeling this as a beta release. It should be quite usable, but it hasn't been as thoroughly wrung out as our production releases.The major new feature improved font rendering by Igor Melichev. The @@ -17509,7 +17509,7 @@
-Add a missing dependendency definition. +Add a missing dependency definition.@@ -17579,7 +17579,7 @@
2003-05-19 05:20 Dan Coby (details)
-1. Ignore data after %%EOF whicl scanning for objects or trailer. +1. Ignore data after %%EOF while scanning for objects or trailer. 2. Allow objects with duplicate object and generation numbers. 3. Change heuristic for finding the trailer dictionary. @@ -17685,7 +17685,7 @@ 2003-05-15 18:46 Alex Cherepanov@@ -17722,7 +17722,7 @@ 2003-05-14 13:36 Alex CherepanovFix negative shift count in operator << . -On 80x86 processors the shift argument is implicitely masked by 31. +On 80x86 processors the shift argument is implicitly masked by 31. Fixes bug #686743.@@ -18086,7 +18086,7 @@ 2003-04-18 14:57 Ralph GilesFollowing PDF spec make MatrixA equal to WhitePoint of CalGray color -space. To avoud clipping set the max values of RangeLMN to the +space. To avoid clipping set the max values of RangeLMN to the corresponding values of WhitePoint. Fixes bug 686749@@ -19008,7 +19008,7 @@ 2003-03-04 16:10 Igor MelichevCalling the gsapi polling function from the Macintosh gp_check_interrupts -function voilates the layering of the interpreter over the graphics library. +function violates the layering of the interpreter over the graphics library. Therefore we isolate the offending code to a separate module 'macpoll.dev' in a fashion analogous to the mspoll feature dev available on the windows build. Enable this by default in the CodeWarrior build. @@ -18502,7 +18502,7 @@Implementation of the SeparationOrder parameter. This implementation is only applicable for the spotcmyk and devicen devices. This change -also removes the uuused spotrgb device. +also removes the unused spotrgb device.@@ -18703,7 +18703,7 @@
2003-03-22 12:47 Igor Melichev
@@ -18784,7 +18784,7 @@-Fix (CFF parser) : Warn and ingore missed tables instead giving up. +Fix (CFF parser) : Warn and ignore missed tables instead giving up. Bug 686772 "PDf file breaks in ghostscript works on other PDF rips".2003-03-16 20:50 Igor Melichev
-Fix : Increasing the threshould for the dropout prevention invocation. +Fix : Increasing the threshold for the dropout prevention invocation.@@ -18797,7 +18797,7 @@ 2003-03-15 08:09 Igor Melichev (details)
@@ -18826,7 +18826,7 @@ data section so we can fill in the rows in proper bottom-to-top order. Note that the bmp output code does not convert RGB to BGR; this is not -critical as the output is only used for hilighting differences. +critical as the output is only used for highlighting differences. Closes bug #686739.Fix (pdfwrite) : Unwinding a part of the previous patch -and improve the OS/2 table writing ann embedded CIDFontType2. +and improve the OS/2 table writing an embedded CIDFontType2. Bugzilla Bug 686759 "pdf to pdf doesnt work".Fix (file_name_combine) : Relative paths in GS command line did not work. -This patch cnanges a disabled code only. +This patch changes a disabled code only.@@ -19136,7 +19136,7 @@
@@ -19199,7 +19199,7 @@ 2003-02-22 18:05 Ralph GilesAdd .endjob procedure for use by job servers. Remainder of job encapsulation and documentation to follow later. Also fix potential "invalidrestore" -problem with "extiserver" and "truestartjob" caused by stuff left +problem with "exitserver" and "true startjob" caused by stuff left on the opstack or dictstack. Use the correct debug macro in the recently committed struct_array -allocation checks. Only relevent to the debug build. +allocation checks. Only relevant to the debug build.@@ -19249,7 +19249,7 @@
2003-02-20 18:34 Igor Melichev (details)
@@ -19306,7 +19306,7 @@ 2003-02-15 22:37 Ray Johnston-Fix : A structure discriptor was wrong allocating an array of gs_cid_system_info. +Fix : A structure descriptor was wrong allocating an array of gs_cid_system_info.@@ -19557,7 +19557,7 @@Change the fixed point precision for device coordinates to 8 bits. The -previous 12 bits was too large to accomodate large format inkjet printers +previous 12 bits was too large to accommodate large format inkjet printers at modern resolutions of 720 and 1200 dpi.2003-02-03 16:32 Igor Melichev
-Fix (FAPI) : SubstNWP erroneusely used with non-CID fonts. +Fix (FAPI) : SubstNWP erroneously used with non-CID fonts.@@ -19797,7 +19797,7 @@
2003-01-25 16:32 Igor Melichev (details)
@@ -19811,7 +19811,7 @@ 2003-01-24 22:30 Dan Coby-Fix (dropout prevention) : Insetred a check for VMerror. +Fix (dropout prevention) : Inserted a check for VMerror.@@ -19949,7 +19949,7 @@This is a temporary backout of rev 1.12 while its changes are being -investigated. This is being done to prevenet interference with some +investigated. This is being done to prevent interference with some other efforts.2003-01-21 23:57 Igor Melichev
-Fixing gcc compiter warnings in gxfill.c, gxdtfill.h . +Fixing gcc compiler warnings in gxfill.c, gxdtfill.h .@@ -19971,7 +19971,7 @@
2003-01-19 19:59 Igor Melichev (details)
(details)-Fix (pdfwrite) : With CID fonts 'show' set up cache devive and +Fix (pdfwrite) : With CID fonts 'show' set up cache device and inconsistently skipped any rendering to it. It must not set up cache device. Thanks to Toshia Suzuki for spotting the problem. @@ -20656,7 +20656,7 @@ 2002-12-12 01:44 Dan Coby@@ -21157,7 +21157,7 @@Fix for [ 652147 ] overprintmode not boolean. Adobe TN5145 defines -the paramters to/from setoverprintmode/currentoverprintmode as being +the parameters to/from setoverprintmode/currentoverprintmode as being boolean. This change modifies the implementation to match the TN.Drivers
-Documents the old macos output device as deprecated. This is superceeded by +Documents the old macos output device as deprecated. This is superseded by the gdevdsp. (gdevmac.c [1.7]: 2002/11/20 18:24:44 giles)PDF writer