Commit 4604e414 authored by Jonas Smedegaard's avatar Jonas Smedegaard

Imported Upstream version 9.15~dfsg

parent de0323b9
......@@ -520,7 +520,7 @@ DISPLAY_DEV=$(DD)bbox.dev
#DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
#DEVICE_DEVS13=@PNGDEVS@
#DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
#DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
#DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
#DEVICE_DEVS16=$(DD)bbox.dev
#DEVICE_DEVS17=
......
......@@ -863,6 +863,11 @@ gdev_prn_put_params(gx_device * pdev, gs_param_list * plist)
ppdev->OpenOutputFile = oof;
ppdev->ReopenPerPage = rpp;
if (ppdev->bg_print_requested && !bg_print_requested) {
prn_finish_bg_print(ppdev);
}
ppdev->bg_print_requested = bg_print_requested;
if (duplex_set >= 0) {
ppdev->Duplex = duplex;
......
......@@ -362,6 +362,7 @@ ialloc_reset(gs_ref_memory_t * mem)
mem->cc.rcur = 0;
mem->cc.rtop = 0;
mem->cc.has_refs = false;
mem->cc.c_alone = false;
mem->allocated = 0;
mem->changes = 0;
mem->scan_limit = 0;
......
......@@ -45,7 +45,7 @@ const char *const gs_productfamily = GS_PRODUCTFAMILY;
#ifndef GS_PRODUCT
# define GS_PRODUCT\
GS_PRODUCTFAMILY " RELEASE CANDIDATE 1"
GS_PRODUCTFAMILY ""
#endif
const char *const gs_product = GS_PRODUCT;
......
......@@ -234,7 +234,7 @@ DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiffgray.dev $(DD)tiff32n
DEVICE_DEVS12=$(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev $(DD)ink_cov.dev
DEVICE_DEVS17=
......
......@@ -378,7 +378,7 @@ DEVICE_DEVS12=
#DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
DEVICE_DEVS13=$(DD)png16.dev $(DD)png256.dev $(DD)pngalpha.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev $(DD)ink_cov.dev
DEVICE_DEVS17=
DEVICE_DEVS18=
......
......@@ -234,7 +234,7 @@ DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiffgray.dev $(DD)tiff32n
DEVICE_DEVS12=$(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev $(DD)ink_cov.dev
# Overflow from DEVS9
DEVICE_DEVS17=$(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)pamcmyk32.dev
......
......@@ -246,7 +246,7 @@ DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
DEVICE_DEVS12=$(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)eps2write.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev
# Overflow from DEVS9
DEVICE_DEVS17=$(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
......
......@@ -414,7 +414,7 @@ DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff48nc.dev $(DD)tiffgra
DEVICE_DEVS12=$(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev $(DD)ink_cov.dev
DEVICE_DEVS17=$(DD)plan.dev $(DD)planm.dev $(DD)plang.dev $(DD)planc.dev $(DD)plank.dev
......
......@@ -358,7 +358,7 @@ DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiffgray.dev $(DD)tiff32n
DEVICE_DEVS12=$(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)ps2write.dev $(DD)eps2write.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev $(DD)ink_cov.dev
# Overflow from DEVS9
DEVICE_DEVS17=$(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)pamcmyk32.dev
......
......@@ -18,7 +18,7 @@ GS_VERSION_MAJOR=9
GS_VERSION_MINOR=15
GS_VERSION_MINOR0=15
# Revision date: year x 10000 + month x 100 + day.
GS_REVISIONDATE=20140325
GS_REVISIONDATE=20140922
# Derived values
GS_VERSION=$(GS_VERSION_MAJOR)$(GS_VERSION_MINOR0)
GS_DOT_VERSION=$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR0)
......
......@@ -8506,7 +8506,7 @@ JPEG_DEVS='jpeg jpeggray jpegcmyk'
PCX_DEVS='pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pcx2up'
PBM_DEVS='pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm pksmraw pam pamcmyk4 pamcmyk32 plan plang planm planc plank'
PS_DEVS='psdf psdcmyk psdrgb pdfwrite ps2write eps2write epswrite bbox txtwrite inkcov ink_cov psdcmykog fpng'
PS_DEVS='psdf psdcmyk psdrgb pdfwrite ps2write eps2write bbox txtwrite inkcov ink_cov psdcmykog fpng'
MISC_FDEVS='ccr cif inferno mag16 mag256 mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 plan9bm sgirgb sunhmono bit bitrgb bitrgbtags bitcmyk devicen spotcmyk xcf'
XPSDEV='xpswrite'
......
......@@ -1708,7 +1708,7 @@ JPEG_DEVS='jpeg jpeggray jpegcmyk'
PCX_DEVS='pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pcx2up'
PBM_DEVS='pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm pksmraw pam pamcmyk4 pamcmyk32 plan plang planm planc plank'
PS_DEVS='psdf psdcmyk psdrgb pdfwrite ps2write eps2write epswrite bbox txtwrite inkcov ink_cov psdcmykog fpng'
PS_DEVS='psdf psdcmyk psdrgb pdfwrite ps2write eps2write bbox txtwrite inkcov ink_cov psdcmykog fpng'
MISC_FDEVS='ccr cif inferno mag16 mag256 mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 plan9bm sgirgb sunhmono bit bitrgb bitrgbtags bitcmyk devicen spotcmyk xcf'
XPSDEV='xpswrite'
......
......@@ -137,7 +137,6 @@ DEVGEN=$(DEVGENDIR)$(D)
# tiffg32d TIFF Group 3 2-D fax
# tiffg4 TIFF Group 4 fax
# High-level file formats:
# epswrite EPS output (like PostScript Distillery)
# pdfwrite PDF output (like Adobe Acrobat Distiller)
# txtwrite ASCII or Unicode text output
# pxlmono Black-and-white PCL XL
......@@ -787,21 +786,6 @@ $(DEVOBJ)gdevpsdu.$(OBJ) : $(DEVVECSRC)gdevpsdu.c $(GXERR)\
$(gdevpsdf_h) $(spprint_h) $(gsovrc_h)
$(DEVJCC) $(DEVO_)gdevpsdu.$(OBJ) $(C_) $(DEVVECSRC)gdevpsdu.c
# PostScript and EPS writers
pswrite_=$(DEVOBJ)gdevps.$(OBJ) $(DEVOBJ)gdevpsu.$(OBJ) $(DEVOBJ)scantab.$(OBJ) $(DEVOBJ)sfilter2.$(OBJ)
$(DD)epswrite.dev : $(DEVS_MAK) $(ECHOGS_XE) $(pswrite_) $(GLD)psdf.dev $(GDEV)
$(SETDEV2) $(DD)epswrite $(pswrite_)
$(ADDMOD) $(DD)epswrite -include $(GLD)psdf
$(DEVOBJ)gdevps.$(OBJ) : $(DEVVECSRC)gdevps.c $(GDEV)\
$(math__h) $(memory__h) $(string__h) $(time__h)\
$(gscdefs_h) $(gscspace_h) $(gsline_h) $(gsparam_h) $(gsiparam_h) $(gsmatrix_h)\
$(gxdcolor_h) $(gxpath_h)\
$(sa85x_h) $(sstring_h) $(strimpl_h)\
$(gdevpsdf_h) $(gdevpsu_h) $(spprint_h)
$(DEVCC) $(DEVO_)gdevps.$(OBJ) $(C_) $(DEVVECSRC)gdevps.c
# Plain text writer
gdevagl_h=$(DEVVECSRC)gdevagl.h
......
......@@ -262,9 +262,13 @@ int pdf_font_descriptor_free(gx_device_pdf *pdev, pdf_resource_t *pres)
{
pdf_font_descriptor_t *pfd = (pdf_font_descriptor_t *)pres;
pdf_base_font_t *pbfont = pfd->base_font;
gs_font *copied = (gs_font *)pbfont->copied;
gs_font *copied = (gs_font *)pbfont->copied, *complete = (gs_font *)pbfont->complete;
gs_free_copied_font(copied);
if (complete && copied != complete) {
gs_free_copied_font(complete);
pbfont->complete = 0;
}
pbfont->copied = 0;
if (pbfont && pbfont->font_name.size) {
gs_free_string(pdev->pdf_memory, pbfont->font_name.data, pbfont->font_name.size, "Free BaseFont FontName string");
......
This diff is collapsed.
......@@ -841,7 +841,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -1570,7 +1570,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -251,7 +251,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -702,7 +702,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -5592,7 +5592,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -104188,7 +104188,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......@@ -13042,7 +13042,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -4823,7 +4823,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -1801,7 +1801,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -3550,7 +3550,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -774,7 +774,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -300,7 +300,7 @@ contact Artifex Software, Inc., 101 Lucas Valley Road #110,
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -430,7 +430,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -5224,7 +5224,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -8589,7 +8589,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -3973,7 +3973,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -13447,7 +13447,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -7324,7 +7324,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -15713,7 +15713,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -62047,7 +62047,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......@@ -29,7 +29,7 @@ TOC to see how to edit it for visual conciseness.
<h2>Table of contents</h2>
<blockquote><ul>
<li><a href="#Version9.15">Version 9.15 (2014-09-08)</a>
<li><a href="#Version9.15">Version 9.15 (2014-09-22)</a>
<li><a href="#Version9.14">Version 9.14 (2014-03-26)</a>
<li><a href="#Version9.10">Version 9.10 (2013-08-27)</a>
<li><a href="#Version9.09">Version 9.09 (2013-08-21)</a>
......@@ -72,7 +72,7 @@ overview</a>.
<!-- [2.0 begin contents] ================================================== -->
<h2><a name="Version9.15"></a>Version 9.15 (2014-09-08)</h2>
<h2><a name="Version9.15"></a>Version 9.15 (2014-09-22)</h2>
<p>This is the eleventh full release in the stable 9.x series, and is
primarily a maintenance release.
......@@ -123,6 +123,154 @@ No recorded incompatible changes.
<h3><a name="9.15_changelog"></a>Changelog</h3>
<p><strong>2014-09-08 09:36:19 +0100
</strong>
<br>Chris Liddell &lt;chris.liddell@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=551d7dd426fe8ab7f2c0c9d90339784e2b643bad">551d7dd426fe8ab7f2c0c9d90339784e2b643bad</a>
<blockquote>
<p>
Bug 695483: disable BGPrint before we shutdown interpreter<br>
<br>
Before we start the process of shutting down the PS interpreter, disable BGPrint<br>
(and set NumRenderingThreads to 0, just for safety). If we don't do this, the<br>
&quot;parent&quot; rendering thread will continue preparations for the next page whilst<br>
we shutdown the interpreter, and will thus attempt to access some objects<br>
subject to garbage collection (such as the I/O device table).<br>
<br>
Additionally, when a device switches from BGPrint enabled to disabled, make sure<br>
we tear down the rendering thread(s) and get rid off the BGPrint related data.<br>
<br>
No cluster differences.<br>
<br>
gs/base/gdevprn.c<br>
gs/psi/imain.c<br>
<p>
</blockquote>
<hr>
<p><strong>2014-09-15 10:21:18 +0100
</strong>
<br>Chris Liddell &lt;chris.liddell@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=51b9c7dc2a471b9c3dfe6400c0a55d90db4fec16">51b9c7dc2a471b9c3dfe6400c0a55d90db4fec16</a>
<blockquote>
<p>
Bug 695486: initialise c_alone in current chunk (cc)<br>
<br>
When we (re-)initialise an allocator, we have to initialise the contents of the<br>
current chunk (cc) entry - initialise to &quot;false&quot; since that's the common case.<br>
<br>
No cluster differences.<br>
<br>
gs/base/gsalloc.c<br>
<p>
</blockquote>
<hr>
<p><strong>2014-09-15 15:19:46 +0100
</strong>
<br>Ken Sharp &lt;ken.sharp@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fec643c7e29810c0c5381bd86ba31ff3595bc9ba">fec643c7e29810c0c5381bd86ba31ff3595bc9ba</a>
<blockquote>
<p>
pdfwrite - free pdfwrite's 'complete' font copy if required<br>
<br>
Bug #695484 &quot;Regression: seg fault with debug build in pdfwrite starting with ceb5e2f006bf554a56701ee2f2c228841b324a4b&quot;<br>
<br>
The problem was caused because pdfwrite can maintain two copies of a font,<br>
a subset and a complete copy, depending on settings. We were properly freeing<br>
the subset, but not the complete copy.<br>
<br>
This has been a long-standing undetected memory leak, but only on systems<br>
without garbage collection, because the copied font is subject to GC, and<br>
indeed this was causing the actual fault. When we restored at the end of the<br>
file, the copied font was garbage collected, which caused it to try nd free<br>
any glyphs from its font cache. But the font cache is now (since the commit<br>
in the bug title) pointing at the pdfwrite font cache, and that has already<br>
been freed before we get to the end of job restore, resutling in a seg fault.<br>
<br>
Here we free the complete font copy if one has been allocated.<br>
<br>
No differences expected.<br>
<br>
gs/devices/vector/gdevpdtd.c<br>
<p>
</blockquote>
<hr>
<p><strong>2014-09-14 23:00:08 -0600
</strong>
<br>Henry Stiles &lt;henry.stiles@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d10d0b9f9a4c11ef11f08849cf0f0f0405ada6c6">d10d0b9f9a4c11ef11f08849cf0f0f0405ada6c6</a>
<blockquote>
<p>
Fix Bug 695481 - Barcode font scaled incorrectly.<br>
<br>
The downloaded font in this file (the barcode) used the typeface<br>
family designation of 0 which is reserved for the lineprinter font.<br>
Our interpreter scales lineprinter specially and identifies<br>
lineprinter with its typeface number (0), thus the barcode font was<br>
scaled as if it were the lineprinter font. Now we check the typeface<br>
number is 0 and the font is internal which will uniquely identify the<br>
lineprinter font and not confuse other fonts with it.<br>
<br>
Technically the font is broken and shouldn't be accepted, the typeface<br>
family numbers documented by HP should not be reused by downloaded<br>
fonts, but HP printers seem to print the job.<br>
<br>
pcl/pctext.c<br>
<p>
</blockquote>
<hr>
<p><strong>2014-09-12 14:49:08 +0100
</strong>
<br>Chris Liddell &lt;chris.liddell@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f4034b2aa85e685c66e98be8c31c511cd9a5169e">f4034b2aa85e685c66e98be8c31c511cd9a5169e</a>
<blockquote>
<p>
Get rid of last vestiges of pswrite....<br>
<br>
Remove epswrite (the final &quot;subdevice&quot; of pswrite) and references to it.<br>
<br>
Also remove the gdevps.c source file.<br>
<br>
Cluster differences only in files that enumerate the devices list, for<br>
example:<br>
430-01.ps<br>
<br>
doc/who_owns_what.txt<br>
gs/Makefile.in<br>
gs/base/macos-mcp.mak<br>
gs/base/macosx.mak<br>
gs/base/openvms.mak<br>
gs/base/openvms.mmk<br>
gs/base/unix-gcc.mak<br>
gs/base/unixansi.mak<br>
gs/configure.ac<br>
gs/devices/devs.mak<br>
gs/devices/vector/gdevps.c<br>
gs/lib/eps2eps<br>
gs/lib/eps2eps.bat<br>
gs/lib/eps2eps.cmd<br>
gs/man/ps2ps.1<br>
gs/psi/msvc.mak<br>
gs/psi/os2.mak<br>
gs/toolbin/pre.chk<br>
<p>
</blockquote>
<hr>
<p><strong>2014-08-27 10:08:45 -0700
</strong>
<br>Ray Johnston &lt;ray.johnston@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bbe97e4cfc3d725f42ae34125c716902faf72977">bbe97e4cfc3d725f42ae34125c716902faf72977</a>
<blockquote>
<p>
Add lib/viewraw.ps utility to view &quot;raw&quot; files<br>
<br>
An extended version of lib/viewcmyk.ps so that &quot;raw&quot; output from<br>
bit, bitrgb or bitcmyk can be displayed or converted. For example:<br>
gswin32c -sDEVICE=bitrgb -dGrayValues=256 -o x.rgb examples/tiger.eps<br>
can be viewed with:<br>
gswin32c -dRGB -dBITS=8 -- lib/viewraw.ps x.rgb 612<br>
<br>
gs/lib/viewraw.ps<br>
<p>
</blockquote>
<hr>
<br>Ken Sharp &lt;ken.sharp@artifex.com&gt;<br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8605f67582ae2e2e619ab6fbab9888a23f37fdb9">8605f67582ae2e2e619ab6fbab9888a23f37fdb9</a>
<blockquote>
......@@ -106922,7 +107070,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......@@ -564,7 +564,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -439,7 +439,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -2431,7 +2431,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -861,7 +861,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -2971,7 +2971,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -56,7 +56,7 @@ overview</a>.
<!-- [2.0 begin contents] ================================================== -->
<h2><a name="Version9.15"></a>Version 9.15 (2014-09-08)</h2>
<h2><a name="Version9.15"></a>Version 9.15 (2014-09-22)</h2>
<p>This is the eleventh full release in the stable 9.x series, and is
primarily a maintenance release.
......@@ -129,7 +129,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -634,7 +634,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -505,7 +505,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -176,7 +176,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -1142,7 +1142,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -284,7 +284,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -1003,7 +1003,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -602,7 +602,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -844,7 +844,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -276,7 +276,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -376,7 +376,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -260,7 +260,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -4315,7 +4315,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.15, 8 September 2014
<small>Ghostscript version 9.15, 22 September 2014
<!-- [3.0 end visible trailer] ============================================= -->
......
......@@ -196,7 +196,7 @@ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>