Hello community,
here is the log from the commit of package ghostscript-library.883 for openSUSE:12.1:Update checked in at 2012-10-04 17:34:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update/ghostscript-library.883 (Old)
and /work/SRC/openSUSE:12.1:Update/.ghostscript-library.883.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghostscript-library.883", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-08-23 02:41:28.555381587 +0200
+++ /work/SRC/openSUSE:12.1:Update/.ghostscript-library.883.new/ghostscript-library.changes 2012-10-04 17:34:02.000000000 +0200
@@ -0,0 +1,2092 @@
+-------------------------------------------------------------------
+Wed Sep 12 14:29:03 CEST 2012 - jsmeix@suse.de
+
+- ghostscript-9.00-bnc779700.patch fixes CVE-2012-4405
+ (icclib heap-based buffer overflow) - (bnc#779700).
+
+-------------------------------------------------------------------
+Sat Oct 1 05:39:13 UTC 2011 - coolo@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+-------------------------------------------------------------------
+Thu Sep 29 13:23:40 CEST 2011 - jsmeix@suse.de
+
+- Switch from Freetype font scaler/renderer (used since
+ Ghostscript 9.0) back to the traditional Ghostscript
+ built-in font scaler/renderer to avoid bnc#692356
+ by adding "-dDisableFAPI=true" to "gsopts" in pstoraster.
+
+-------------------------------------------------------------------
+Thu Sep 29 11:11:15 CEST 2011 - jsmeix@suse.de
+
+- gs.svn_diff-c_12005.diff fixes
+ http://bugs.ghostscript.com/show_bug.cgi?id=691760
+ which is the upstream bug for bnc#681071.
+
+-------------------------------------------------------------------
+Tue Jul 26 09:41:26 UTC 2011 - andrea.turrini@gmail.com
+
+- Fixed typos in descriptions of ghostscript-library.spec
+
+-------------------------------------------------------------------
+Thu Jan 13 14:30:35 UTC 2011 - werner@novell.com
+
+- Repair broken link in gs-pcl3.html (bnc#662089)
+
+-------------------------------------------------------------------
+Sat Jan 8 18:34:10 CET 2011 - dmueller@suse.de
+
+- fix upgrade from 11.3
+
+-------------------------------------------------------------------
+Mon Oct 4 12:26:53 CEST 2010 - werner@suse.de
+
+- Drop outmoded OMNI drivers
+- Update to ghostscript 9.00
+ * Now with ICC-based color rendering workflow which allows easy
+ integration of 3rd party color management modules.
+ * Glyph rendering for all font types except Type 3 is now handled
+ by Freetype. The most obvious benefit of this is a complete,
+ and proven implementation of the TrueType byte code interpreter
+ (now unencumbered by patents).
+ * Postscript interpreter's graphics state now stores two separate
+ colour space settings for stroking and filling, to better support
+ the stroke and fill colours required by the PDF interpreter.
+ * Support for optional content has been added to the PDF interpreter
+ * For security reasons, Ghostscript no longer searches the current
+ directory by default. Use -P option to revert to old behavior.
+- Fix crash in device x11
+- Add drivers pamcmyk32, tiff48nc, tiff64nc, tiffsep1, and txtwrite
+- Build with system libtiff and system liblcms
+
+-------------------------------------------------------------------
+Tue Sep 28 12:45:39 CEST 2010 - werner@suse.de
+
+- Added driver cdnj500 (bnc#641948)
+
+-------------------------------------------------------------------
+Tue Sep 14 11:23:34 CEST 2010 - werner@suse.de
+
+- Update to latest gdevcups.c (bnc#603131)
+
+-------------------------------------------------------------------
+Thu Aug 26 13:45:57 CEST 2010 - werner@suse.de
+
+- Avoid stupid warning about GenericResourceDir (bnc#633468)
+
+-------------------------------------------------------------------
+Fri Jul 9 09:56:58 CEST 2010 - werner@suse.de
+
+- Backport change from SVN repository to avoid reading gs_init.ps
+ from current workiung directory (bnc#608071)
+
+-------------------------------------------------------------------
+Tue Jul 6 13:07:41 CEST 2010 - werner@suse.de
+
+- Fix the fix for bnc#592279 as this had broken hplib (bnc#603131)
+
+-------------------------------------------------------------------
+Wed Jun 30 13:55:13 CEST 2010 - werner@suse.de
+
+- Do not open files on public accessible directories if not
+ specified on the command line (bnc#608071)
+
+-------------------------------------------------------------------
+Tue Jun 29 16:42:31 CEST 2010 - werner@suse.de
+
+- Add final patch for CVE-2010-1869 (bnc#605043)
+
+-------------------------------------------------------------------
+Thu Jun 10 16:48:02 CEST 2010 - werner@suse.de
+
+- Fix typo in ps2pdfwr script
+
+-------------------------------------------------------------------
+Tue Jun 8 14:55:24 CEST 2010 - werner@suse.de
+
+- Modify pdf2des to make it work with newer gv (bnc#610933)
+- Compile ghostscript-library with SEARCH_HERE_FIRST=0 to close
+ vulnerability due reading startup file even from temporary
+ directories (make option -P- to the default) (bnc#608071)
+- Add security patch from upstream (CVE-2010-1869, bnc#605043)
+
+-------------------------------------------------------------------
+Sat May 15 12:03:38 UTC 2010 - coolo@novell.com
+
+- ignore texlive-jadetex (requirement of docbook-toys) to avoid
+ cycle
+
+-------------------------------------------------------------------
+Wed May 5 15:20:25 CEST 2010 - werner@suse.de
+
+- Make it build even on factory
+
+-------------------------------------------------------------------
+Tue Apr 6 02:13:13 CEST 2010 - ro@suse.de
+
+- adapt to changed cups filter dir for 11.3 (no lib64 used there)
+
+-------------------------------------------------------------------
+Mon Apr 5 18:41:34 CEST 2010 - ro@suse.de
+
+- really fix build with new libpng
+ (libpng12 also removes the long deprecated png_check_sig)
+
+-------------------------------------------------------------------
+Sun Apr 4 15:31:18 CEST 2010 - ro@suse.de
+
+- for factory: replace buildreq for libpng-devel with
+ libpng12-compat-devel (does not work with libpng14 yet)
+
+-------------------------------------------------------------------
+Wed Mar 31 13:30:58 CEST 2010 - werner@suse.de
+
+- Add fix for bnc#592279: make cups device work with newer HPLIP
+
+-------------------------------------------------------------------
+Tue Feb 9 11:40:44 UTC 2010 - coolo@novell.com
+
+- fix patches so they apply
+
+-------------------------------------------------------------------
+Tue Jan 19 16:10:50 CET 2010 - werner@suse.de
+
+- Repair freetype2 patch
+
+-------------------------------------------------------------------
+Tue Jan 19 13:24:48 CET 2010 - werner@suse.de
+
+- Re-enable SLES10 build
+
+-------------------------------------------------------------------
+Mon Jan 18 16:43:26 CET 2010 - werner@suse.de
+
+- Repair Omni main patch which was missing part due blanks
+ within file names
+
+-------------------------------------------------------------------
+Wed Jan 13 07:47:37 UTC 2010 - davejplater@gmail.com
+
+- Merged fc10 ghostscript-fPIC.patch and ghostscript-gs-executable.patch
+ with ghostscriipt-8.70.dif
+
+-------------------------------------------------------------------
+Tue Jan 12 13:30:09 UTC 2010 - davejplater@gmail.com
+
+- Fixed ghostscriipt-8.64.dif and renamed to ghostscriipt-8.70.dif
+- Split off man page fixes to a separate patch :-
+ ghostscriipt-8.70-manpages.patch
+
+-------------------------------------------------------------------
+Tue Jan 12 07:28:16 UTC 2010 - davejplater@gmail.com
+
+- Update to ghostscript version 8.70 to fix bnc#568280
+- Refresh patches and fix hunk 3 in ghostscript-8.64-jbig2broken.dif
+ now renamed ghostscript-8.70-jbig2broken.dif
+- Removed patches : ghostscript-8.62-cjk.patch, ghostscript-CVE-2009-0583.patch,
+ ghostscript-CVE-2009-0196.patch and ghostscript-CVE-2009-0792.patch.
+- This is the first release in a new stable series of Ghostscript releases.
+ This release fixes a large number of issues with transparency, especially as
+ it interacts with color space conversion, mask contexts and patterns. There
+ have also been a number of significant fixes to font handling, especially when
+ generating PDF. And there are numerous robustness, correctness and performance
+ improvements.
+ New generic Esc/Page devices, eplmono and eplcolor were added to the contrib
+ directory. A new cdnj500 device was added to support the HP DesignJet 500.
+ The licensing of the Free version of the core Ghostscript code has been
++++ 1895 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.1:Update/.ghostscript-library.883.new/ghostscript-library.changes
New Changes file:
--- /dev/null 2012-08-23 02:41:28.555381587 +0200
+++ /work/SRC/openSUSE:12.1:Update/.ghostscript-library.883.new/ghostscript-mini.changes 2012-10-04 17:34:03.000000000 +0200
@@ -0,0 +1,1086 @@
+-------------------------------------------------------------------
+Wed Sep 12 14:29:03 CEST 2012 - jsmeix@suse.de
+
+- ghostscript-9.00-bnc779700.patch fixes CVE-2012-4405
+ (icclib heap-based buffer overflow) - (bnc#779700).
+
+-------------------------------------------------------------------
+Sat Oct 1 05:39:13 UTC 2011 - coolo@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+-------------------------------------------------------------------
+Thu Sep 29 11:11:15 CEST 2011 - jsmeix@suse.de
+
+- gs.svn_diff-c_12005.diff fixes
+ http://bugs.ghostscript.com/show_bug.cgi?id=691760
+ which is the upstream bug for bnc#681071.
+
+-------------------------------------------------------------------
+Tue Jul 26 09:40:14 UTC 2011 - andrea.turrini@gmail.com
+
+- Fixed typos in descriptions of ghostscript-mini.spec
+
+-------------------------------------------------------------------
+Mon Feb 21 15:19:40 UTC 2011 - werner@suse.de
+
+- make work even with last change of ghostscript-library
+
+-------------------------------------------------------------------
+Mon Oct 4 12:26:53 CEST 2010 - werner@suse.de
+
+- Add drivers pamcmyk32, tiff48nc, tiff64nc, tiffsep1, and txtwrite
+- Build with system libtiff and system liblcms
+
+-------------------------------------------------------------------
+Wed May 5 15:20:25 CEST 2010 - werner@suse.de
+
+- Make it build even on factory
+
+-------------------------------------------------------------------
+Mon Jan 18 16:43:26 CET 2010 - werner@suse.de
+
+- Repair Omni main patch which was missing part due blanks
+ within file names
+
+------------------------------------------------------------------
+Mon Nov 30 14:42:21 CET 2009 - werner@suse.de
+
+- Fix possible vulnerability in ghostscript 8.64 (bnc#559122)
+
+-------------------------------------------------------------------
+Tue Nov 24 11:28:03 CET 2009 - werner@suse.de
+
+- Add patch to correct bitcmyk blank output on e.g. Samsung CLP-300
+ and other printers (bnc# 557948)
+- Do not destroy upstream patches due fuzz=0
+
+--------------------------------------------------------------------
+Mon Jul 20 12:09:34 CEST 2009 - werner@suse.de
+
+- fdupes is required
+- Add Resource/Fonts/ to file list
+
+-------------------------------------------------------------------
+Tue Jul 14 12:42:22 CEST 2009 - werner@suse.de
+
+- Make ghostscript-mini build
+
+-------------------------------------------------------------------
+Thu Apr 16 16:20:21 CEST 2009 - werner@suse.de
+
+- Use initial workaround for bnc#492765
+
+-------------------------------------------------------------------
+Thu Mar 12 11:53:25 CET 2009 - werner@suse.de
+
+- Add fix for ICC library integer overflows (bnc#483303,
+ CVE-2009-0583, CVE-2009-0584)
+
+-------------------------------------------------------------------
+Thu Feb 12 20:37:53 CET 2009 - coolo@suse.de
+
+- sort the output of find, so the build result is reproducible
+
+-------------------------------------------------------------------
+Thu Jan 8 16:13:06 CET 2009 - werner@suse.de
+
+- Fix Mannufacturer within PPD of omni (bnc#464435)
+- Add workaround vor bnc#429345 to make cups able to find omni libs
+
+-------------------------------------------------------------------
+Tue Jul 29 13:53:46 CEST 2008 - werner@suse.de
+
+- Fix crash in bjc driver (bnc#412523)
+
+-------------------------------------------------------------------
+Thu Jul 24 18:12:47 CEST 2008 - werner@suse.de
+
+- Fix crash on null pointer reference (bnc#409605)
+
+-------------------------------------------------------------------
+Mon Apr 7 12:39:52 CEST 2008 - werner@suse.de
+
+- Be sure the disabling of Font API works even without the driver
+
+-------------------------------------------------------------------
+Wed Apr 2 15:36:53 CEST 2008 - werner@suse.de
+
+- Add CJK patch from debian but diable it (missmatch in rev 8554+)
+
+-------------------------------------------------------------------
+Tue Apr 1 14:37:22 CEST 2008 - werner@suse.de
+
+- Remove already included patches
+- Add some patches from SVN trunk tree revision 8572 upto revision 8617
+- Update to GPL ghostscript 8.6Update to2
+ * Fix typo that caused unbalanced 'q' 'Q' operators in PDF's (caused by
+ rev 8501). gsbug#689728.
+ * Remove some C++ style comments.
+ * Update product name, copyright and release dates.
+ * Add default FontResourceDir needed when COMPILE_INITS=1 is used so
+ that the fonts from Resource/Font in the distribution directory that
+ are built into %rom%Resource/Font/ will be found.
+ * Attempt to repair invalid embedded TT fonts without cmap table.
+ gsbug#689707, customer 531.
+ * Fix (clist interpreter) : Improve transparency performance, step 4.
+ * Added setting of fill_rule in pclxl_endpath().
+ * Fix (clist interpreter) : Improve transparency performance, step 1.
+ * Remove a space betveen -f and a file name to prevent parsing of the file name
+ that starts with '-' as an options. gsbug#689682.
+ * When the values of the color key mask exceed the valid range clip them to the
+ nearest valid values and continue. Don't discard the mask as we did before.
+ gsbug#689717, customer 580.
+ * Fix (images) : Improve coordinate precision when scaling an image (continued 7).
+ * Add definitions of some C99 types missing from old versions of Cygwin.
+ * Fix (images) : Improve coordinate precision when scaling an image (continued 6).
+ * Fix (FAPI) : Embedded fonts didn't work.
+ * Propagate the new method argument change introduced in r8528 to the wts
+ device so that it compiles again.
+ * Fix (images) : Improve coordinate precision when scaling an image (continued 3).
+ * Fix (images) : Improve coordinate precision when scaling an image (continued 2).
+ * Fix for regressions introduced with rev 8526. Some resolutions of CMYK, 1-bit
+ per component devices that had CMYK colors and Gray colors had strange dithers.
+ gsbug#689706.
+ * Fix (images) : Improve coordinate precision when scaling an image (continued).
+ * Document the need to update the current documentation snapshot.
+ * Include 12 and 16 bit image support as part of the core graphics
+ library. gsbug#689688.
+ * Fix (images) : Improve coordinate precision when scaling an image.
+ * Modify pdf_info utility to match the changes in PDF interpreter interface.
+ gsbug#689680.
+ * Fix ColorValues parameter problem when device has total number of bits (depth)
+ of more than 31 bits, resulting in a "rangecheck" (-15) error.
+ * Fix (TT): Ignore broken post 2.0 table generated by "Windows Type 1 Installer".
+ * Fix (graphics) : Optimize filling a path with a shading color.
+ * Fix (TT): Fix a gsbug#in /getinterval_from_stringarray
+ * Fix (clist & transparency) : Improve the compositor queue logic.
+ * Fix (Font renderer) : Horizontal metrics sometimes applied with WMode 1 fonts.
+ * Fix (DSC parser) : Avoid a structure type name duplicate.
+ * Fix (patterns) : The clipping was wrong with antrivial pattern matrix.
+ * Fix (shadings) : A memory deallocation problem.
+ * Fix (save/restore) : Remove gs_ref_memory_s::inherited.
+ * Only report the ICC Profile colorspace when the jasper library's degsbug#
+ level is above zero. gsbug#689662.
+ * Explicitly close CMap files opened during CMap-CIDFont font enumeration.
+ On certain systems file handles were used up before GC freed inaccessible
+ handles causing PostScript errors. gsbug#689594.
+ * Fix (clist interpreter) : Skip idle compositors, step 6.
+ * Fix : Cygwin/gcc warnings.
+ * Comment-only change: remove obsolete reference to MS-DOS limitations and
+ mention that PDF interpreter passes un-escaped font names to PS level.
+ gsbug#689651.
+ * Unbreak the build.
+ * Fixed umlauts (maybe, am having trouble testing the results).
+ * Add unmodified byte-oriented AES encryption code by Brian Gladman. These
+ files serve as a reference point. They are not yet included into any
+ project nor can be compiled by some of the compilers we support.
+ * Remove EXTEND_NAMES from the top level makefiles.
+ * There is a fallback to the default value of 0 in inameidx.h so there
+ is no change in the default behaviour. The extended name table can
+ still be activated by defining EXTEND_NAMES on the compiler command
+ line or changing the source directly.
+ * Deprecate USE_FPU, no changes expected.
+ * Re-export runpdfbegin, dopdfpages, and runpdfend procedures, which turned out
+ to be used by 3rd party programs. Partly revert the rev. 8325.
+ * Don't ignore xref stream in a hybrid "classic xref" + "stream xref" file
+ as PDF 1.5-compatible should do. Thanks to SaGS for the patch. gsbug#688282.
+ * Remove the SYSTEM_CONSTANTS_ARE_WRITABLE compile-time define.
+ * Add a flag that marks PDF text rendering mode 3 to avoid confusion with other
+ non-rendering text operations such as stringwidth. This avoids unnecessary
+ calculation of the current point, which fails when the CTM is singular. This
+ patch continues conservative approach to the text rendering modes started in
+ rev. 4006. gsbug#689614, customer 384.
+ * Remove the USE_ASM build flag.
+ * Don't try to obtain the bounding box of a glyph when FontBBox is invalid and
+ CTM is singular. Set an empty box and consider it valid. The bounding box is
+ not used when the CTM is singular. gsbug#689614, customer 384.
++++ 889 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.1:Update/.ghostscript-library.883.new/ghostscript-mini.changes
New:
----
catalog.devices
drivers.mini
drivers.norm
epson740.tar.bz2
fonts.scale.nimbus-sans-condensed
gdev820c.c.bz2
gdevbff.c.bz2
gdevcd8-cdj880.c.bz2
gdevcd8-chp2200.c.bz2
ghostscript-8.57-sgirdb.dif
ghostscript-8.60-bbox.dif
ghostscript-8.60-cgmout.dif
ghostscript-8.60-cljet5.dif
ghostscript-8.60-gsj_update.dif
ghostscript-8.60-ppd.dif
ghostscript-8.60-runlibfileifexists.dif
ghostscript-8.60-truetype.dif
ghostscript-8.61-broken64.dif
ghostscript-8.61-pipe.dif
ghostscript-8.61-stroke-loop.dif
ghostscript-8.61-x11.dif
ghostscript-8.62-cjk.patch
ghostscript-8.62-ijs.dif
ghostscript-8.64-patches.tar.bz2
ghostscript-8.64-pdf.dif
ghostscript-8.70-manpages.patch
ghostscript-9.00-bjc.dif
ghostscript-9.00-bnc559122.patch
ghostscript-9.00-bnc779700.patch
ghostscript-9.00-dmpr.dif
ghostscript-9.00-echogs.patch
ghostscript-9.00-errprintf.dif
ghostscript-9.00-icc.dif
ghostscript-9.00-jbig2broken.dif
ghostscript-9.00.dif
ghostscript-9.00.tar.bz2
ghostscript-fonts-other-6.0.tar.bz2
ghostscript-fonts-std-8.11.patch
ghostscript-fonts-std-8.11.tar.bz2
ghostscript-library.changes
ghostscript-library.spec
ghostscript-mini.changes
ghostscript-mini.spec
gimp-print-4.2.7-debug.dif
gimp-print-4.2.7-epson_horizontal_adjustment.patch
gimp-print-4.2.7-nb.dif
gimp-print-4.2.7-pcl.dif
gimp-print-4.2.7.dif
gimp-print-4.2.7.tar.bz2
gs-9.00-implicit-fortify-decl.patch
gs.svn_diff-c_12005.diff
gs_rusfonts.tar.bz2
hpdj-2.6-gs9.00.dif
hpdj-2.6.tar.bz2
hpijs.list.bz2
jpegsrc.v6b.tar.bz2
make.catalog
make.lost
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghostscript-library.spec ++++++
++++ 1312 lines (skipped)
ghostscript-mini.spec: same change
++++++ catalog.devices ++++++
++++ 1409 lines (skipped)
++++++ drivers.mini ++++++
pam, pamcmyk32, pbm, pbmraw, pgm, pgmraw, pgnm
pgnmraw, pnm, pnmraw, ppm, ppmraw, pkm
pkmraw, pksm, pksmraw, plan9bm, inferno
dfaxhigh, dfaxlow, fax, faxg3, faxg32d, faxg4
cfax, bff, tfax
tiffcrle, tiffg3, tiffg32d, tiffg4, tiff12nc
tiff24nc, tiff32nc, tiff48nc, tiff64nc, tiffgray, tifflzw, tiffpack
tiffs, tiffsep, tiffsep1
psmono, psgray, psrgb, bbox, perm
bit, bitrgb, bitrgbtags, bitcmyk, sunhmono
mgrmono, mgrgray2, mgrgray4, mgrgray8, mgr4, mgr8
cgmmono, cgm8, cgm24, cif, jpeg, jpeggray, jpegcmyk
miff24
pcxmono, pcxgray, pcx16, pcx256, pcx24b, pcxcmyk, pcx2up
pngmono, pnggray, png16, png48, png256, png16m, pngalpha
sgirgb, psdf, psdrgb, psdcmyk, spotcmyk, devicen, xcf, xcfcmyk
mag16, mag256
bmpmono, bmpgray, bmpsep1, bmpsep8, bmp16
bmp256, bmp16m, bmp32b
pdfwrite, pswrite, ps2write, epswrite, pxlmono, pxlcolor
txtwrite
++++++ drivers.norm ++++++
appledmp, iwhi, iwlo, iwlq, t4693d2, t4693d4, t4693d8, tek4696
ap3250, dmprt, epson, eps9mid, eps9high, epsonc
lp8000, lq850, st800, stcolor, photoex
escp, escpc, escpage
alc1900, alc4100, alc8600, epl2500, epl2750
epl6100, epl6200, lp2400, lp2500, lp7500, lp7900
lp9000b, lp9000c, lp9100, lp9200b, lp9200c, lp9500c
lp8800c, lp8300c, lp8500c, lp3000c, lp8200c
lp8000c, alc2000, alc4000, alc8500, alc9100
lp2000, lp2200, lp9400, lp8900, lp8700, lp8100
lp7700, lp8600f, lp8400f, lp8300f, lp1900
lp9600s, lp9300, lp9600, lp9800c, lp8600, lp1800
epl5800, epl5900, epl2050, epl2050p, epl2120
mj700v2c, mj500c, mj6000c, mj8000c
hl1250, hl1240, hl7x0, samsunggdi
atx23, atx24, atx38
coslw2p, coslwxl
cdeskjet, cdjcolor, cdjmono, cdj500, cdj550 cdj670
cdj850, cdj880, cdj890, cdj970, cdj1600, cdnj500, chp2200
deskjet, djet500, djet500c, dnj650c, djet820c
paintjet, pj, pjetxl, pjxl, pjxl300, dj505j, picty180
laserjet, ljet2p, ljet3, ljet3d, ljet4, ljet4pjl,
lj3100sw, ljet4d, lj4dith, lj4dithp, ljetplus, lj5mono
lj5gray, cljet5, cljet5c, cljet5pr, declj250, lj250, dl2100
fs600
bj10e, bj10v, bj10vh, bj200
bjcmono, bjcgray, bjccmyk, bjccolor, bjc600, bjc800, bjc880j
lips2p, lips3, lips4, lips4v, lps4500, lps6500
lbp8, lbp310, lbp320
lx5000, lxm5700m, lxm3200
lex7000, lex5700, lex3200, lex2050
fmpr, fmlbp
md50Mono, md50Eco, md1xMono, md2k, md5k
la50, la70, la75, la75plus, ln03, lp2563
ccr, cp50, ibmpro, imagen, jetp3852, m8510
necp6, npdl, pr201, pr150, pr1000, pr1000_4
oce9050, oki182, oki4w, okiibm, ml600
r4081, rpdl
sj48, jj100, xes
pam, pamcmyk32, pbm, pbmraw, pgm, pgmraw, pgnm
pgnmraw, pnm, pnmraw, ppm, ppmraw, pkm
pkmraw, pksm, pksmraw, plan9bm, inferno
dfaxhigh, dfaxlow, fax, faxg3, faxg32d, faxg4
cfax, bff, tfax
tiffcrle, tiffg3, tiffg32d, tiffg4, tiff12nc
tiff24nc, tiff32nc, tiff48nc, tiff64nc, tiffgray, tifflzw, tiffpack
tiffs, tiffsep, tiffsep1
psmono, psgray, psrgb, bbox, perm
bit, bitrgb, bitrgbtags, bitcmyk, sunhmono
mgrmono, mgrgray2, mgrgray4, mgrgray8, mgr4, mgr8
cgmmono, cgm8, cgm24, cif, jpeg, jpeggray, jpegcmyk
miff24
pcxmono, pcxgray, pcx16, pcx256, pcx24b, pcxcmyk, pcx2up
pngmono, pnggray, png16, png48, png256, png16m, pngalpha
sgirgb, psdf, psdrgb, psdcmyk, spotcmyk, devicen, xcf, xcfcmyk
mag16, mag256
bmpmono, bmpgray, bmpsep1, bmpsep8, bmp16
bmp256, bmp16m, bmp32b
pdfwrite, pswrite, ps2write, epswrite, pxlmono, pxlcolor
ijs, cups, oprp, opvp, gdi, imdi, simdi, wtsimdi, wtscmyk
uniprint
pcl3, hpdjplus, hpdjportable, hpdj310, hpdj320
hpdj340, hpdj400, hpdj500, hpdj500c, hpdj510
hpdj520, hpdj540, hpdj550c, hpdj560c, hpdj600
hpdj660c, hpdj670c, hpdj680c, hpdj690c, hpdj850c
hpdj855c, hpdj870c, hpdj890c, hpdj1120c, hpdj
stp, rinkj
txtwrite
++++++ fonts.scale.nimbus-sans-condensed ++++++
48
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso8859-1
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso8859-2
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso8859-9
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso8859-13
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso8859-15
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-adobe-standard
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-microsoft-cp1252
n019043l.pfb -urw-Nimbus Sans L-medium-r-condensed--0-0-0-0-p-0-iso10646-1
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso8859-1
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso8859-2
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso8859-9
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso8859-13
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso8859-15
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-adobe-standard
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-microsoft-cp1252
n019044l.pfb -urw-Nimbus Sans L-bold-r-condensed--0-0-0-0-p-0-iso10646-1
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso8859-1
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso8859-2
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso8859-9
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso8859-13
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso8859-15
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-adobe-standard
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-microsoft-cp1252
n019064l.pfb -urw-Nimbus Sans L-bold-o-condensed--0-0-0-0-p-0-iso10646-1
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso8859-1
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso8859-2
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso8859-9
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso8859-13
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso8859-15
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-adobe-standard
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-microsoft-cp1252
n019064l.pfb -urw-Nimbus Sans L-bold-i-condensed--0-0-0-0-p-0-iso10646-1
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso8859-1
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso8859-2
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso8859-9
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso8859-13
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso8859-15
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-adobe-standard
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-microsoft-cp1252
n019063l.pfb -urw-Nimbus Sans L-medium-o-condensed--0-0-0-0-p-0-iso10646-1
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso8859-1
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso8859-2
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso8859-9
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso8859-13
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso8859-15
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-adobe-standard
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-microsoft-cp1252
n019063l.pfb -urw-Nimbus Sans L-medium-i-condensed--0-0-0-0-p-0-iso10646-1
++++++ ghostscript-8.57-sgirdb.dif ++++++
--- base/gdevsgi.c
+++ base/gdevsgi.c 2010-01-18 15:22:28.811161244 +0000
@@ -153,6 +153,7 @@ sgi_begin_page(gx_device_printer *bdev,
pcur->bpp = bdev->color_info.depth;
pcur->line_size = line_size;
pcur->data = data;
+ gs_free(bdev->memory,header,sizeof(IMAGE),1,"sgi_begin_page");
return 0;
}
++++++ ghostscript-8.60-bbox.dif ++++++
--- base/gdevbbox.c
+++ base/gdevbbox.c 2007-09-28 15:39:08.830606487 +0200
@@ -225,7 +225,7 @@ bbox_copy_params(gx_device_bbox * bdev,
if (tdev != 0)
gx_device_copy_params((gx_device *)bdev, tdev);
- if (remap_colors) {
+ if (remap_colors && bdev->is_open) {
bdev->black = gx_device_black((gx_device *)bdev);
bdev->white = gx_device_white((gx_device *)bdev);
bdev->transparent =
++++++ ghostscript-8.60-cgmout.dif ++++++
--- base/gdevcgm.c
+++ base/gdevcgm.c 2007-08-03 17:23:47.773390898 +0200
@@ -145,10 +145,13 @@ cgm_open(gx_device * dev)
{-1, 1};
cgm_metafile_elements meta;
cgm_result result;
-
+#if 0
cdev->file = fopen(cdev->fname, "wb");
+#else
+ (void)gx_device_open_output_file(dev, cdev->fname, 1, 0, &cdev->file);
if (cdev->file == 0)
return_error(gs_error_ioerror);
+#endif
cal.private_data = cdev;
cal.alloc = cgm_gs_alloc;
cal.free = cgm_gs_free;
@@ -212,8 +215,15 @@ cgm_close(gx_device * dev)
result = cgm_terminate(cdev->st);
check_result(result);
cdev->st = 0;
+#if 0
fclose(cdev->file);
cdev->file = 0;
+#else
+ code = gx_device_close_output_file(dev, cdev->fname, cdev->file);
+ cdev->file = 0;
+ if (code < 0)
+ return code;
+#endif
return 0;
}
@@ -224,7 +234,6 @@ cgm_get_params(gx_device * dev, gs_param
gx_device_cgm *cdev = (gx_device_cgm *) dev;
int code = gx_default_get_params(dev, plist);
gs_param_string ofns;
-
if (code < 0)
return code;
ofns.data = (const byte *)cdev->fname,
@@ -269,15 +278,25 @@ cgm_put_params(gx_device * dev, gs_param
code = gx_default_put_params(dev, plist);
if (code < 0)
return code;
-
if (ofs.data != 0) { /* Close the file if it's open. */
if (cdev->file != 0) {
+#if 0
fclose(cdev->file);
cdev->file = 0;
+#else
+ code = gx_device_close_output_file(dev, cdev->fname, cdev->file);
+ cdev->file = 0;
+ if (code < 0)
+ return code;
+#endif
}
memcpy(cdev->fname, ofs.data, ofs.size);
cdev->fname[ofs.size] = 0;
+#if 0
cdev->file = fopen(cdev->fname, "wb");
+#else
+ (void)gx_device_open_output_file(dev, cdev->fname, 1, 0, &cdev->file);
+#endif
if (cdev->file == 0)
return_error(gs_error_ioerror);
}
++++++ ghostscript-8.60-cljet5.dif ++++++
--- base/gdevclj.c
+++ base/gdevclj.c 2005-08-31 16:19:26.000000000 +0200
@@ -65,7 +65,7 @@ struct gx_device_clj_s {
typedef struct clj_paper_size_s {
uint tag; /* paper type tag */
int orient; /* logical page orientation to use */
- float width, height; /* in pts; +- 5 pts */
+ float height, width; /* in pts; +- 5 pts */
gs_point offsets; /* offsets in the given orientation */
} clj_paper_size;
++++++ ghostscript-8.60-gsj_update.dif ++++++
--- contrib/lips4/gdevl4v.c
+++ contrib/lips4/gdevl4v.c 2005-02-10 18:17:47.000000000 +0100
@@ -81,6 +81,8 @@
#include "gdevvec.h"
#if 0
#include "gdevpstr.h"
+#else
+#include "spprint.h"
#endif
#include "ghost.h"
#include "gzstate.h"
@@ -970,8 +972,8 @@ lips4v_setlinewidth(gx_device_vector * v
/* Scale ��ݤ��Ƥ���Τ�, Ghostscript 5.10/5.50 �ΥХ��Τ��� */
floatp xscale, yscale;
- xscale = fabs(igs->ctm.xx);
- yscale = fabs(igs->ctm.xy);
+ xscale = fabs(vdev->state.ctm.xx);
+ yscale = fabs(vdev->state.ctm.xy);
if (xscale == 0 || yscale > xscale) /* if portrait */
width = ceil(width * yscale);
@@ -1205,7 +1207,10 @@ lips4v_setdash(gx_device_vector * vdev,
stream *s = gdev_vector_stream(vdev);
gx_device_lips4v *const pdev = (gx_device_lips4v *) vdev;
int i;
+#if 0
float scale, xscale, yscale;
+#endif
+
if (pdev->TextMode) {
sputc(s, LIPS_CSI);
@@ -1214,8 +1219,8 @@ lips4v_setdash(gx_device_vector * vdev,
}
#if 0
/* Scale ��ݤ��Ƥ���Τ�, Ghostscript 5.10/5.50 �ΥХ��Τ��� */
- xscale = fabs(igs->ctm.xx);
- yscale = fabs(igs->ctm.xy);
+ xscale = fabs(vdev->state.ctm.xx);
+ yscale = fabs(vdev->state.ctm.xy);
if (xscale == 0) /* if portrait */
scale = yscale;
++++++ ghostscript-8.60-ppd.dif ++++++
--- lib/cbjc600.ppd
+++ lib/cbjc600.ppd 2007-08-08 00:00:00.000000000 +0200
@@ -7,12 +7,15 @@
*% End of Copyright statement
*FormatVersion: "4.1"
*FileVersion: "1.0"
+*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*PCFileName: "CBJC600.PPD"
*Product: "(Canon Bubble Jet Color 600)"
*PSVersion: "(2010.351) 0"
*ModelName: "Canon Bubble Jet Color 600"
*NickName: "BJC-600"
+*ShortNickName: "BJC-600"
+*Manufacturer: "Canon"
*% This file is not complete, and may lack some useful information...
@@ -55,7 +58,7 @@
*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
-*DefaultPageSize: Letter
+*DefaultPageSize: A4
*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice"
*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice"
*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice"
@@ -69,7 +72,7 @@
*OpenUI *PageRegion: PickOne
*OrderDependency: 40 AnySetup *PageRegion
-*DefaultPageRegion: Letter
+*DefaultPageRegion: A4
*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice"
*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice"
*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice"
@@ -81,7 +84,7 @@
*PageRegion Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice"
*CloseUI: *PageRegion
-*DefaultImageableArea: Letter
+*DefaultImageableArea: A4
*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094"
*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033"
*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033"
@@ -103,7 +106,7 @@ save
restore
"
*End
-
+*DefaultPaperDimension: A4
*PaperDimension A4: "595 842"
*PaperDimension A5: "421 595"
*PaperDimension A6: "297 421"
@@ -332,7 +335,7 @@ counttomark 1 add 1 roll cleartomark
*OpenUI *ThickMedia/Thick Media: PickOne
*OrderDependency: 30 AnySetup *ThickMedia
-*Default ThickMedia: Thin
+*DefaultThickMedia: Thin
*ThickMedia Thin/No: "
1 dict dup /MediaWeight 80
put setpagedevice"
--- lib/cbjc800.ppd
+++ lib/cbjc800.ppd 2007-08-08 00:00:00.000000000 +0200
@@ -7,12 +7,15 @@
*% End of Copyright statement
*FormatVersion: "4.1"
*FileVersion: "1.0"
+*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*PCFileName: "CBJC800.PPD"
*Product: "(Canon Bubble Jet Color 800)"
*PSVersion: "(2010.351) 0"
*ModelName: "Canon Bubble Jet Color 800"
*NickName: "BJC-800"
+*ShortNickName: "BJC-800"
+*Manufacturer: "Canon"
*% This file is not complete, and may lack some useful information...
@@ -55,7 +58,7 @@
*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
-*DefaultPageSize: Letter
+*DefaultPageSize: A4
*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice"
*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice"
*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice"
@@ -72,7 +75,7 @@
*OpenUI *PageRegion: PickOne
*OrderDependency: 40 AnySetup *PageRegion
-*DefaultPageRegion: Letter
+*DefaultPageRegion: A4
*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice"
*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice"
*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice"
@@ -87,8 +90,7 @@
*PageRegion Legal/US Legal: "1 dict dup /PageSize [612 1008] put setpagedevice"
*CloseUI: *PageRegion
-*DefaultImageableArea: Letter
-*ImageableArea A3: "9.637793 27.096094 832.437805 1181.496094"
+*DefaultImageableArea: A4
*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094"
*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033"
*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033"
@@ -113,7 +115,7 @@ save
restore
"
*End
-
+*DefaultPaperDimension: A4
*PaperDimension A4: "595 842"
*PaperDimension A5: "421 595"
*PaperDimension A6: "297 421"
@@ -342,7 +344,7 @@ counttomark 1 add 1 roll cleartomark
*OpenUI *ThickMedia/Thick Media: PickOne
*OrderDependency: 30 AnySetup *ThickMedia
-*Default ThickMedia: Thin
+*DefaultThickMedia: Thin
*ThickMedia Thin/No: "
1 dict dup /MediaWeight 80
put setpagedevice"
++++++ ghostscript-8.60-runlibfileifexists.dif ++++++
--- Resource/Init/gs_init.ps
+++ Resource/Init/gs_init.ps 2007-09-03 14:48:35.000000000 +0000
@@ -673,6 +673,13 @@ systemdict /internaldict dup .makeintern
{ /undefinedfilename signalerror }
ifelse
} bind def
+/runlibfileifexists
+ {
+ findlibfile
+ { exch pop /run .systemvar exec }
+ { pop }
+ ifelse
+ } bind def
/selectdevice
{ finddevice setdevice .setdefaultscreen } bind def
/signalerror % <object> <errorname> signalerror -
@@ -841,6 +848,7 @@ userdict /.currentresourcefile //null pu
} bind def
% Temporarily substitute it for the real runlibfile.
/.runlibfile /runlibfile load def
+/.runlibfileifexists /runlibfileifexists load def
/runlibfile /runlibfile0 load def
% Create the error handling machinery.
--- Resource/Init/gs_fonts.ps
+++ Resource/Init/gs_fonts.ps 2007-09-03 14:57:21.000000000 +0000
@@ -96,10 +96,19 @@ userdict /Fontmap .FontDirectory maxleng
% stack: dict file fontname filename|aliasname
1 index type /stringtype eq
1 index type /nametype eq and 1 index xcheck and
- 1 index /run eq 2 index /.runlibfile eq or and {
+ 1 index /run eq 2 index /.runlibfile eq 3 index /.runlibfileifexists eq or or and {
% This is an inclusion entry.
- pop findlibfile { exch pop } { file } ifelse
- 2 index exch .readFontmap pop
+ 0 index /.runlibfileifexists eq {
+ pop findlibfile {
+ exch pop
+ 2 index exch .readFontmap pop
+ } {
+ pop
+ } ifelse
+ } {
+ pop findlibfile { exch pop } { file } ifelse
+ 2 index exch .readFontmap pop
+ } ifelse
} {
% This is a real entry.
% Read and pop tokens until a semicolon.
++++++ ghostscript-8.60-truetype.dif ++++++
--- base/ttfoutl.h
+++ base/ttfoutl.h 2007-08-03 18:45:48.751211167 +0200
@@ -17,6 +17,8 @@
#ifndef incl_ttfoutl
#define incl_ttfoutl
+#include "ttconf.h"
+
#ifndef TFace_defined
#define TFace_defined
typedef struct _TFace TFace;
--- base/ttinterp.c
+++ base/ttinterp.c 2007-08-03 18:46:40.512743710 +0200
@@ -4694,7 +4694,7 @@ static int nInstrCount=0;
return;
}
- C = ((unsigned long)(B & 0xF0)) >> 4;
+ C = ((ULong)(B & 0xF0)) >> 4;
switch ( CUR.opcode )
{
++++++ ghostscript-8.61-broken64.dif ++++++
--- base/gxobj.h
+++ base/gxobj.h 2005-03-14 00:00:00.000000000 +0100
@@ -90,7 +90,7 @@ typedef struct obj_header_data_s {
uint size;
union _t {
gs_memory_type_ptr_t type;
- uint reloc;
+ size_t reloc;
} t;
# if IGC_PTR_STABILITY_CHECK
unsigned space_id:3; /* r_space_bits + 1 bit for "instability". */
@@ -125,7 +125,7 @@ typedef struct obj_header_data_s {
#endif
#define obj_align_mask (obj_align_mod-1)
#define obj_align_round(siz)\
- (uint)(((siz) + obj_align_mask) & -obj_align_mod)
+ (size_t)(((siz) + obj_align_mask) & -obj_align_mod)
#define obj_size_round(siz)\
obj_align_round((siz) + sizeof(obj_header_t))
--- psi/igc.c
+++ psi/igc.c 2005-03-14 00:00:00.000000000 +0100
@@ -1147,7 +1147,7 @@ gc_clear_reloc(chunk_t * cp)
static void
gc_objects_set_reloc(gc_state_t * gcst, chunk_t * cp)
{
- uint reloc = 0;
+ size_t reloc = 0;
chunk_head_t *chead = cp->chead;
byte *pfree = (byte *) & chead->free; /* most recent free object */
++++++ ghostscript-8.61-pipe.dif ++++++
--- base/gsdevice.c
+++ base/gsdevice.c 2005-03-17 00:00:00.000000000 +0100
@@ -921,7 +921,7 @@ gx_device_open_output_file(const gx_devi
if (!parsed.fname)
return_error(gs_error_undefinedfilename);
strcpy(fmode, gp_fmode_wb);
- if (positionable)
+ if (positionable && strcmp(parsed.iodev->dname, "%pipe%"))
strcat(fmode, "+");
code = parsed.iodev->procs.fopen(parsed.iodev, parsed.fname, fmode,
pfile, NULL, 0);
--- psi/imainarg.c
+++ psi/imainarg.c 2007-11-06 10:42:50.073965358 +0000
@@ -236,9 +236,10 @@ gs_main_run_start(gs_main_instance * min
static int
swproc(gs_main_instance * minst, const char *arg, arg_list * pal)
{
+ struct stat rstat;
char sw = arg[1];
ref vtrue;
- int code = 0;
+ int code = 0, fd;
#undef initial_enter_name
#define initial_enter_name(nstr, pvalue)\
i_initial_enter_name(minst->i_ctx_p, nstr, pvalue)
@@ -250,7 +251,10 @@ swproc(gs_main_instance * minst, const c
return 1;
case 0: /* read stdin as a file char-by-char */
/* This is a ******HACK****** for Ghostview. */
+ fd = fileno(minst->heap->gs_lib_ctx->fstdin);
minst->heap->gs_lib_ctx->stdin_is_interactive = true;
+ if ((fd == 0) && (fstat(fd, &rstat) == 0) && !S_ISCHR(rstat.st_mode))
+ minst->heap->gs_lib_ctx->stdin_is_interactive = false;
goto run_stdin;
case '_': /* read stdin with normal buffering */
minst->heap->gs_lib_ctx->stdin_is_interactive = false;
--- psi/ziodevsc.c
+++ psi/ziodevsc.c 2007-11-06 11:30:32.369550149 +0000
@@ -26,6 +26,8 @@
#include "ifilter.h"
#include "store.h"
+#include
+
/* Define the special devices. */
const char iodev_dtype_stdio[] = "Special";
#define iodev_special(dname, init, open) {\
@@ -95,11 +97,19 @@ s_stdin_read_process(stream_state * st,
if (wcount <= 0)
return 0;
+ count = 0;
+ if (mem->gs_lib_ctx->stdin_is_interactive) {
+ (void)ioctl(fileno(mem->gs_lib_ctx->fstdin), FIONREAD, &count);
+ if (count == 0)
+ count++;
+ if (wcount > count)
+ wcount = count;
+ }
+
/* do the callout */
if (mem->gs_lib_ctx->stdin_fn)
count = (*mem->gs_lib_ctx->stdin_fn)
- (mem->gs_lib_ctx->caller_handle, (char *)pw->ptr + 1,
- mem->gs_lib_ctx->stdin_is_interactive ? 1 : wcount);
+ (mem->gs_lib_ctx->caller_handle, (char *)pw->ptr + 1, wcount);
else
count = gp_stdin_read((char *)pw->ptr + 1, wcount,
mem->gs_lib_ctx->stdin_is_interactive,
--- psi/ziodevs.c
+++ psi/ziodevs.c 2007-11-06 11:31:28.124646326 +0000
@@ -24,6 +24,8 @@
#include "files.h"
#include "store.h"
+#include
+
/* Define the special devices. */
const char iodev_dtype_stdio[] = "Special";
#define iodev_special(dname, init, open) {\
@@ -92,6 +94,16 @@ s_stdin_read_process(stream_state * st,
if (wcount <= 0)
return 0;
+
+ count = 0;
+ if (st->memory->gs_lib_ctx->stdin_is_interactive) {
+ (void)ioctl(fileno(st->memory->gs_lib_ctx->fstdin), FIONREAD, &count);
+ if (count == 0)
+ count++;
+ if (wcount > count)
+ wcount = count;
+ }
+
count = gp_stdin_read( (char*) pw->ptr + 1, wcount,
st->memory->gs_lib_ctx->stdin_is_interactive, file);
pw->ptr += (count < 0) ? 0 : count;
++++++ ghostscript-8.61-stroke-loop.dif ++++++
--- psi/zchar1.c
+++ psi/zchar1.c 2007-10-02 10:48:04.538619351 +0000
@@ -43,6 +43,11 @@
#include "iutil.h"
#include "store.h"
+#if defined(__linux__)
+# define barrier() __asm__ __volatile__("": : :"memory")
+#else
+# define barrier()
+#endif
/*
* Properly designed fonts, which have no self-intersecting outlines
* and in which outer and inner outlines are drawn in opposite
@@ -482,22 +487,34 @@ static int
bbox_finish_fill(i_ctx_t *i_ctx_p)
{
op_proc_t exec_cont = 0;
- int code;
+ static int loop;
+ int code = 0;
+ if (loop > 2)
+ goto out;
+ loop++;
code = bbox_finish(i_ctx_p, bbox_fill, &exec_cont);
if (code >= 0 && exec_cont != 0)
code = exec_cont(i_ctx_p);
+ loop--;
+out:
return code;
}
static int
bbox_finish_stroke(i_ctx_t *i_ctx_p)
{
op_proc_t exec_cont = 0;
- int code;
+ static int loop;
+ int code = 0;
+ if (loop > 2)
+ goto out;
+ loop++;
code = bbox_finish(i_ctx_p, bbox_stroke, &exec_cont);
if (code >= 0 && exec_cont != 0)
code = exec_cont(i_ctx_p);
+ loop--;
+out:
return code;
}
@@ -623,13 +640,15 @@ bbox_draw(i_ctx_t *i_ctx_p, int (*draw)(
}
return code;
}
+ barrier();
if (draw == gs_stroke) {
/* Expand the bounding box by the line width. */
float width = gs_currentlinewidth(igs) * 1.41422;
- bbox.p.x -= width, bbox.p.y -= width;
- bbox.q.x += width, bbox.q.y += width;
+ bbox.p.x -= width; bbox.p.y -= width;
+ bbox.q.x += width; bbox.q.y += width;
}
+ barrier();
pbfont = (gs_font_base *)pfont;
if (rect_within(bbox, pbfont->FontBBox)) /* within bounds */
return nobbox_draw(i_ctx_p, draw);
++++++ ghostscript-8.61-x11.dif ++++++
--- base/gdevx.c
+++ base/gdevx.c 2007-09-26 10:20:40.086961112 +0000
@@ -1046,27 +1046,41 @@ static void
update_do_flush(gx_device_X * xdev)
{
flush_text(xdev);
+ if (xdev->update.box.q.x == min_int_in_fixed || xdev->update.box.q.y == min_int_in_fixed)
+ return;
+ if (xdev->update.box.p.x == max_int_in_fixed || xdev->update.box.p.y == max_int_in_fixed)
+ return;
if (xdev->update.count != 0) {
int x = xdev->update.box.p.x, y = xdev->update.box.p.y;
int w = xdev->update.box.q.x - x, h = xdev->update.box.q.y - y;
+ const gx_device_memory *mdev = NULL;
- fit_fill_xywh(xdev, x, y, w, h);
- if (w > 0 && h > 0) {
- if (xdev->is_buffered) {
- /* Copy from memory image to X server. */
- const gx_device_memory *mdev =
- (const gx_device_memory *)xdev->target;
+ /*
+ * Copy from memory image to X server if any.
+ */
+ if (xdev->is_buffered) {
+ /*
+ * The bbox device may have set the target to NULL
+ * temporarily. If this is the case, defer the screen
+ * update.
+ */
+ if (!(mdev = (const gx_device_memory *)xdev->target))
+ return;
+ }
+
+ /*
+ * mdev->width and mdev->height arn't the same as
+ * xdev->width and xdev->height ... at least for gv
+ */
+ if (mdev)
+ fit_fill_xywh(mdev, x, y, w, h);
+ else
+ fit_fill_xywh(xdev, x, y, w, h);
- /*
- * The bbox device may have set the target to NULL
- * temporarily. If this is the case, defer the screen
- * update.
- */
- if (mdev == NULL)
- return; /* don't reset */
+ if (w > 0 && h > 0) {
+ if (mdev)
x_copy_image(xdev, mdev->line_ptrs[y], x, mdev->raster,
x, y, w, h);
- }
if (xdev->bpixmap) {
/* Copy from X backing pixmap to screen. */
++++++ ghostscript-8.62-cjk.patch ++++++
++++ 7446 lines (skipped)
++++++ ghostscript-8.62-ijs.dif ++++++
--- base/gdevijs.c
+++ base/gdevijs.c 2008-04-01 12:31:39.370653605 +0200
@@ -1277,7 +1277,7 @@ gsijs_read_string_malloc(gs_param_list *
code = gs_error_rangecheck;
goto e;
}
- if (new_value.size + 1 != *size) {
+ if (new_value.size >= *size) {
if (*str)
gs_free(plist->memory, *str, *size, 1,
"gsijs_read_string_malloc");
++++++ ghostscript-8.64-pdf.dif ++++++
--- Resource/Init/pdf_main.ps
+++ Resource/Init/pdf_main.ps 2009-06-16 12:41:58.713901311 +0200
@@ -1436,11 +1436,15 @@ currentdict /PDF2PS_matrix_key undef
% Determine the number of spot colors used on the page. Note: This searches
% the pages resources. It may be high if a spot color is in a resource but
% is not actually used on the page.
- /PageSpotColors 2 index countspotcolors def
+ currentpagedevice /PageSpotColors known {
+ /PageSpotColors 2 index countspotcolors def
+ } if
% Let the device know if we will be using PDF 1.4 transparency.
% The clist logic may need to adjust the size of bands.
- 1 index pageusestransparency /PageUsesTransparency exch def
+ currentpagedevice /PageUsesTransparency known {
+ 1 index pageusestransparency /PageUsesTransparency exch def
+ } if
dup /Install .knownget {
% Don't let the Install procedure get more deeply
% nested after every page.
@@ -1567,7 +1571,9 @@ currentdict /PDF2PS_matrix_key undef
end % scratch dict
% Indicate that the number of spot colors is unknown in case the next page
% imaged is a PS file.
- << /PageSpotColors -1 >> .setpagedevice
+ currentpagedevice /PageSpotColors known {
+ << /PageSpotColors -1 >> .setpagedevice
+ } if
% Some PDF files don't have matching q/Q (gsave/grestore) so we need
% to clean up any left over dicts from the dictstack
countdictstack PDFdictstackcount sub dup 0 ne {
--- base/gdevbbox.c
+++ base/gdevbbox.c 2007-08-06 12:36:13.000000000 +0200
@@ -1173,6 +1173,17 @@ bbox_create_compositor(gx_device * dev,
{
gx_device_bbox *const bdev = (gx_device_bbox *) dev;
gx_device *target = bdev->target;
+ const gs_state *ps = (const gs_state *)pis;
+
+ /*
+ * Do not create a compositor for the target if overprint is active,
+ * this because then it is possible that the current page is erased
+ * for a bbox which equals the current page.
+ */
+ if (gs_currentoverprint(ps) || gs_currentoverprintmode(ps)) {
+ *pcdev = dev;
+ return 0;
+ }
/*
* If there isn't a target, all we care about is the bounding box,
++++++ ghostscript-8.70-manpages.patch ++++++
--- man/de/dvipdf.1
+++ man/de/dvipdf.1 2008-04-02 14:05:55.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: dvipdf.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -11,7 +12,7 @@ Das Skript ruf
.BR dvips (1)
mit dem
.B -q
-Parameter auf und leitet die Ausgabe �ber eine Pipe an
+Parameter auf und leitet die Ausgabe über eine Pipe an
.BR gs (1)
weiter, das mit den folgenden Paramtern aufgerufen wird:
@@ -24,7 +25,7 @@ und allen in der Kommandozeile angegeben
.SH SIEHE AUCH
gs(1), dvips(1)
.SH VERSION
-Dieses Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Dieses Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/font2c.1
+++ man/de/font2c.1 2008-04-02 14:05:58.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: font2c.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -15,11 +16,11 @@ mit den folgen Paramtern auf:
.B -q -dNODISPLAY -dWRITESYSTEMDICT
gefolgt von den Argumenten der Kommandozeile. Dies schreibt eine
-PostScript-Type-0 oder Type-1-Schrift als C-Quelltext, so da� sie mit dem Interpreter gelinkt werden kann.
+PostScript-Type-0 oder Type-1-Schrift als C-Quelltext, so daß sie mit dem Interpreter gelinkt werden kann.
.SH SIEHE AUCH
gs(1)
.SH VERSION
-Dieses Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchfgesehen.
+Dieses Dokument wurde zuletzt für Ghostscript Version 7.21 durchfgesehen.
.SH AUTHOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/gsnd.1
+++ man/de/gsnd.1 2008-04-02 14:06:00.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: gsnd.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -15,7 +16,7 @@ auf, gefolgt von allen anderen Argumente
.SH SIEHE AUCH
gs(1)
.SH VERSION
-Dieses Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Dieses Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTHOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/pdf2dsc.1
+++ man/de/pdf2dsc.1 2008-04-02 14:06:08.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: pdf2dsc.1 8482 2008-01-09 00:36:30Z marcos $
.TH PDF2DSC 1 "6. Januar 2008" 8.61 "Ghostscript-Werkzeuge" \" -*- nroff -*-
.SH NAME
--- man/de/pdf2ps.1
+++ man/de/pdf2ps.1 2008-04-02 14:06:11.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: pdf2ps.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -11,12 +12,12 @@ pdf2ps \- Ghostscript PDF nach PostScrip
in die Datei "Ausgabe.ps" im \fBPostScript\fR(tm)-Format zu konvertieren.
Normalerweise darf die Ausgabe PostScript-Level-2-Konstrukte (nicht jedoch PostScript LanguageLevel 3)
benutzen; die \fB-dLanguageLevel=1\fR Option erzwingt
-Level 1, w�hrend \fB-dLanguageLevel=3\fR LanguageLevel-3-Konstrukte f�r die Ausgabe erlaubt.
+Level 1, während \fB-dLanguageLevel=3\fR LanguageLevel-3-Konstrukte für die Ausgabe erlaubt.
.SH DATEIEN
Starten Sie "\fBgs -h\fR" um den Ort der Ghostscript-Dokumentation auf Ihrem System zu ermitteln,
wo Sie weitere Datails finden.
.SH VERSION
-Dieses Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Dieses Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren of Ghostscript.
--- man/de/pdfopt.1
+++ man/de/pdfopt.1 2008-04-02 14:06:14.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: pdfopt.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -10,13 +11,13 @@ pdfopt \- Ghostscript-PDF-Optimierer
\fBpdfopt\fR benutzt \fBgs\fR(1), um die Adobe \fBPortable Document
Format\fR (PDF) Datei "Eingabe.pdf" in sogenannter optimierter Form nach
"Ausgabe.pdf" zu schreiben. Optimierung platziert die Elemente der Datei in eine linearere
-Reihenfolge und f�gt Verweiszeiger hinzu, die es Adobes
+Reihenfolge und fügt Verweiszeiger hinzu, die es Adobes
Acrobat(TM) Produkten erlaubt, einzelne Seiten der Datei schneller
-darzustellen, wenn auf die Datei �ber ein Netzwerk zugegriffen wird.
+darzustellen, wenn auf die Datei über ein Netzwerk zugegriffen wird.
.PP
-Hinweis: Eingabe.pdf und Ausgabe.pdf d�rfen nicht gleich sein. Falls Sie es
-sind, wird die Datei vermutlich zerst�rt. \fBpdfopt\fR verhindert dies
-gegenw�rtig nicht.
+Hinweis: Eingabe.pdf und Ausgabe.pdf dürfen nicht gleich sein. Falls Sie es
+sind, wird die Datei vermutlich zerstört. \fBpdfopt\fR verhindert dies
+gegenwärtig nicht.
.SH DATEIEN
Starten Sie "\fBgs -h\fR" um den Ort der Ghostscript-Dokumentation auf Ihrem System zu
ermitteln, wo Sie weitere Datails finden.
@@ -24,7 +25,7 @@ ermitteln, wo Sie weitere Datails finden
"Linearized PDF" in Adobes PDF-Referenzhandbuch
http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf
.SH VERSION
-Dies Dokument wurde zuletzt f�r Ghostscript version 7.21 durchgesehen.
+Dies Dokument wurde zuletzt für Ghostscript version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren of Ghostscript.
--- man/de/printafm.1
+++ man/de/printafm.1 2008-04-02 14:06:17.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: printafm.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -13,7 +14,7 @@ auf, um die Metrik einer Schrift im AFM-
.SH SIEHE AUCH
gs(1)
.SH VERSION
-Das Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Das Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/ps2ascii.1
+++ man/de/ps2ascii.1 2008-04-02 14:06:20.000000000 +0200
@@ -1,9 +1,10 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: ps2ascii.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
.TH PS2ASCII 1 "8.Juli 2002" 7.21 "Ghostscript-Werkzeuge" \" -*- nroff -*-
.SH NAME
-ps2ascii \- Ghostscript-�bersetzer von PostScript oder PDF nach ASCII
+ps2ascii \- Ghostscript-Übersetzer von PostScript oder PDF nach ASCII
.SH SYNTAX
\fBps2ascii\fR [ \fIEingabe.ps\fR [ \fIAusgabe.txt\fR ] ]
.br
@@ -13,19 +13,19 @@ ps2ascii \- Ghostscript-�bersetzer von P
\fBPostScript\fR(tm)- oder Adobe \fBPortable-Document-Format\fR-(PDF-)Datei zu extrahieren. Falls keine
Dateien in der Kommandozeile angegeben werden,
liest \fBgs\fR von der Standardeingabe; bei PDF-Dateien wird ein expliziter
-Dateiname ben�tigt, keine Standardeingabe. Falls keine Ausgabedatei angegeben
+Dateiname benötigt, keine Standardeingabe. Falls keine Ausgabedatei angegeben
ist, wird zur Standardausgabe geschrieben.
.PP
\fBps2ascii\fR ignoriert die Schriftkodierung und kommt nicht sonderlich
-gut mit Unterscheidung (Kerning) zurecht. Somit sollten Sie f�r PostScript
-(aber gegenw�rtig nicht f�r PDF) \fBpstotext\fR benutzen (siehe unten).
+gut mit Unterscheidung (Kerning) zurecht. Somit sollten Sie für PostScript
+(aber gegenwärtig nicht für PDF) \fBpstotext\fR benutzen (siehe unten).
.SH DATEIEN
Starten Sie "\fBgs -h\fR" um den Ort der Ghostscript-Dokumentation auf Ihrem System zu ermitteln,
wo Sie weitere Datails finden.
.SH SIEHE AUCH
pstotext(1), http://www.research.digital.com/SRC/virtualpaper/pstotext.html
.SH VERSION
-Dies Dokument wurde zuletzt f�r Ghostscript version 7.21 durchgesehen.
+Dies Dokument wurde zuletzt für Ghostscript version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/ps2pdf.1
+++ man/de/ps2pdf.1 2009-06-16 14:56:26.257902241 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: ps2pdf.1 9322 2009-01-04 20:15:19Z till $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -6,9 +7,9 @@
.SH NAME
ps2pdf \- konvertiert PostScript nach PDF mittels ghostscript
.br
-ps2pdf12 \- konvertiert PostScript nach PDF\ 1.2 (kompatibel zu Acrobat\ 3 und sp�ter) mittels ghostscript
+ps2pdf12 \- konvertiert PostScript nach PDF\ 1.2 (kompatibel zu Acrobat\ 3 und später) mittels ghostscript
.br
-ps2pdf13 \- konvertiert PostScript nach PDF\ 1.3 (kompatibel zu Acrobat\ 4 und sp�ter) mittels ghostscript
+ps2pdf13 \- konvertiert PostScript nach PDF\ 1.3 (kompatibel zu Acrobat\ 4 und später) mittels ghostscript
.SH SYNTAX
\fBps2pdf\fR [Optionen...] {Eingabe.[e]ps|-} [Ausgabe.pdf|-]
.br
@@ -16,22 +17,22 @@ ps2pdf13 \- konvertiert PostScript nach
.br
\fBps2pdf13\fR [Optionen...] {Eingabe.[e]ps|-} [Ausgabe.pdf|-]
.SH BESCHREIBUNG
-Au�er in der Benutzerschnittstelle sind die
+Außer in der Benutzerschnittstelle sind die
.B ps2pdf\-Skripte
-nahezu in allen Funktionen �quivalent zu Adobe Acrobat Distiller: Sie konvertieren
+nahezu in allen Funktionen äquivalent zu Adobe Acrobat Distiller: Sie konvertieren
PostScript-Dateien in das Portable Document Format (PDF).
.PP
Die drei Skripte unterscheiden sich wie folgt:
.IP -
.B ps2pdf12
-produziert immer PDF-1.2-Dateien (kompatibel zu Acrobat 3 und sp�ter).
+produziert immer PDF-1.2-Dateien (kompatibel zu Acrobat 3 und später).
.IP -
.B ps2pdf13
-produziert immer PDF-1.3-Dateien (kompatibel zu Acrobat 4 und sp�ter).
+produziert immer PDF-1.3-Dateien (kompatibel zu Acrobat 4 und später).
.IP -
.B ps2pdf
-selbst produziert standardgem�� PDF-1.2-Dateien (kompatibel zu Acrobat 3 und sp�ter); In sp�teren Versionen kann sich das jedoch �ndern. Falls Sie eine bestimmte PDF-Version ben�tigen, sollten Sie
+selbst produziert standardgemäß PDF-1.2-Dateien (kompatibel zu Acrobat 3 und später); In späteren Versionen kann sich das jedoch ändern. Falls Sie eine bestimmte PDF-Version benötigen, sollten Sie
.B ps2pdf12,
.BR ps2pdf13
oder den
@@ -40,15 +41,15 @@ Schalter in der Kommandozeile benutzen.
.PP
Die Konvertierung mittels
.BR ps2pdf
-unterliegt einigen Beschr�nkungen. Ausf�hrlichere Informationen dazu stehen in der HTML-Dokumentation.
+unterliegt einigen Beschränkungen. Ausführlichere Informationen dazu stehen in der HTML-Dokumentation.
.SH OPTIONEN
-F�r ps2pdf gelten die gleichen Optionen wie f�r gs(1).
+Für ps2pdf gelten die gleichen Optionen wie für gs(1).
.SH SIEHE AUCH
gs(1), ps2pdfwr(1),
.br
Ps2pdf.htm in der Ghostscript-Dokumentation
.SH VERSION
-Dieses Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Dieses Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/ps2ps.1
+++ man/de/ps2ps.1 2008-04-02 14:06:26.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: ps2ps.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -15,13 +16,13 @@ ps2ps, eps2eps \- Ghostscript PostScript
PostScript-Level-2-Konstrukte benutzen, aber
\fB\-dLanguageLevel=1\fR erzwingt die Ausgabe von Level 1.
.PP
-\fBeps2eps\fR f�hrt analoge Optimierungen bei Encapsulated
+\fBeps2eps\fR führt analoge Optimierungen bei Encapsulated
PostScript (EPS) Dateien durch.
.SH DATEIEN
Rufen Sie "\fBgs -h\fR" auf, um den Ort der Ghostscript-Dokumentation auf Ihrem System zu
ermitteln, wo Sie weitere Informationen finden.
.SH VERSION
-Dieses Document wurde zuletzt f�r Ghostscript Version 7.21 �berarbeitet.
+Dieses Document wurde zuletzt für Ghostscript Version 7.21 überarbeitet.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/de/wftopfa.1
+++ man/de/wftopfa.1 2008-04-02 14:06:29.000000000 +0200
@@ -1,3 +1,4 @@
+'\" -*- coding: UTF-8 -*-
.\" $Id: wftopfa.1 8022 2007-06-05 22:23:38Z giles $
.\" Using encoding of the German (de_DE) translation: ISO-8859-1
.\" Translation by Tobias Burnus and Thomas Hoffmann
@@ -13,7 +14,7 @@ auf, um eine Wadalab basierte Schrift in
.SH SIEHE AUCH
gs(1)
.SH VERSION
-Das Dokument wurde zuletzt f�r Ghostscript Version 7.21 durchgesehen.
+Das Dokument wurde zuletzt für Ghostscript Version 7.21 durchgesehen.
.SH AUTOR
Artifex Software, Inc. sind die
Hauptautoren von Ghostscript.
--- man/gs.1
+++ man/gs.1 2008-04-01 12:41:27.000000000 +0200
@@ -291,22 +291,22 @@ device, as described above.
.PP
The locations of many Ghostscript run-time files are compiled into the
executable when it is built. On Unix these are typically based in
-\fB/usr/local\fR, but this may be different on your system. Under DOS they
+\fB/usr\fR, but this may be different on your system. Under DOS they
are typically based in \fBC:\\GS\fR, but may be elsewhere, especially if
you install Ghostscript with \fBGSview\fR. Run "\fBgs -h\fR" to find the
location of Ghostscript documentation on your system, from which you can
get more details.
.TP
-.B /usr/local/share/ghostscript/#.##/*
+.B /usr/share/ghostscript/#.##/*
Startup files, utilities, and basic font definitions
.TP
-.B /usr/local/share/ghostscript/fonts/*
+.B /usr/share/ghostscript/fonts/*
More font definitions
.TP
-.B /usr/local/share/ghostscript/#.##/examples/*
+.B /usr/share/ghostscript/#.##/examples/*
Ghostscript demonstration files
.TP
-.B /usr/local/share/ghostscript/#.##/doc/*
+.B /usr/share/ghostscript/#.##/doc/*
Diverse document files
.SH "INITIALIZATION FILES"
When looking for the initialization files "gs_*.ps", the files related to
@@ -329,7 +329,7 @@ if any;
the directories specified by the \fBGS_LIB_DEFAULT\fR macro in the
Ghostscript makefile when the executable was built. When \fBgs\fR is built
on Unix, \fBGS_LIB_DEFAULT\fR is usually
-"/usr/local/share/ghostscript/#.##:/usr/local/share/ghostscript/fonts"
+"/usr/share/ghostscript/#.##:/usr/share/ghostscript/fonts"
where "#.##" represents the Ghostscript version number.
.PP
Each of these (\fBGS_LIB_DEFAULT\fR, \fBGS_LIB\fR, and \fB\-I\fR parameter)
++++++ ghostscript-9.00-bjc.dif ++++++
++++ 850 lines (skipped)
++++++ ghostscript-9.00-bnc559122.patch ++++++
--- base/gsmisc.c
+++ base/gsmisc.c 2009-11-24 17:16:39.000000000 +0000
@@ -260,7 +260,7 @@ int gs_throw_imp(const char *func, const
va_list ap;
va_start(ap, fmt);
- vsprintf(msg, fmt, ap);
+ vsnprintf(msg, sizeof (msg), fmt, ap);
msg[sizeof(msg) - 1] = 0;
va_end(ap);
--- base/gxttfb.c
+++ base/gxttfb.c 2010-09-29 11:48:26.015926742 +0000
@@ -246,7 +246,7 @@ static int DebugPrint(ttfFont *ttf, cons
if (gs_debug_c('Y')) {
va_start(args, fmt);
- count = vsprintf(buf, fmt, args);
+ count = vsnprintf(buf, sizeof (buf), fmt, args);
/* NB: moved debug output from stdout to stderr
*/
errwrite(ttf->DebugMem, buf, count);
--- base/rinkj/rinkj-byte-stream.c
+++ base/rinkj/rinkj-byte-stream.c 2009-11-24 17:16:39.000000000 +0000
@@ -43,7 +43,7 @@ rinkj_byte_stream_printf (RinkjByteStrea
va_list ap;
va_start (ap, fmt);
- len = vsprintf (str, fmt, ap);
+ len = vsnprintf (str, sizeof (str), fmt, ap);
va_end (ap);
return rinkj_byte_stream_write (bs, str, len);
}
++++++ ghostscript-9.00-bnc779700.patch ++++++
--- icclib/icc.c.orig 2009-07-28 09:48:19.000000000 +0200
+++ icclib/icc.c 2012-09-12 14:26:45.000000000 +0200
@@ -5006,6 +5006,11 @@ static int icmLut_read(
p->clutPoints = read_UInt8Number(bp+10);
/* Sanity check */
+ if (p->inputChan < 1) {
+ sprintf(icp->err,"icmLut_read: No input channels!");
+ return icp->errc = 1;
+ }
+
if (p->inputChan > MAX_CHAN) {
sprintf(icp->err,"icmLut_read: Can't handle > %d input channels\n",MAX_CHAN);
return icp->errc = 1;
++++++ ghostscript-9.00-dmpr.dif ++++++
--- contrib/japanese/gdevdmpr.c
+++ contrib/japanese/gdevdmpr.c 2007-09-03 17:13:01.000000000 +0000
@@ -41,7 +41,11 @@
/* include library header. */
#include "dviprlib.h"
-extern FILE *lib_fopen(const char *);
+#include "gxalloc.h"
+#include "stream.h"
+#include "files.h"
+#include "iref.h"
+#include "main.h"
#define LOCAL_DEBUG 0
@@ -405,7 +409,7 @@ gdev_dmprt_put_params(gx_device *pdev, g
if (pddev->dmprt.max_height>0 && pddev->dmprt.max_height<pddev->height)
pddev->height = pddev->dmprt.max_height;
- dviprt_setmessagestream(pddev->dmprt.debug_f ? stderr : NULL);
+ dviprt_setmessagestream(pddev->dmprt.debug_f);
return code;
}
@@ -425,7 +429,7 @@ gdev_dmprt_put_dmprt_params(gx_device *p
if (code < 0) return code;
if (code == 0) pddev->dmprt.debug_f = vbool;
- dviprt_setmessagestream(pddev->dmprt.debug_f ? stderr : NULL);
+ dviprt_setmessagestream(pddev->dmprt.debug_f);
code = param_read_bool(plist, "Verbose", &vbool);
if (code < 0) return code;
@@ -837,13 +841,16 @@ static const char * gp_file_name_concat_
static FILE *
gdev_dmprt_dviprt_lib_fopen(const char *fnamebase,char *fname)
{
- FILE *fp;
- char *env;
+ const gs_main_instance * minst = get_minst_from_memory(gs_lib_ctx_get_non_gc_memory_t());
+ const gs_file_path_ptr path = &minst->lib_path;
+ const gs_memory_t *imem = minst->heap;
+ FILE *fp = (FILE*)0;
strcpy(fname,fnamebase);
- fp = lib_fopen(fname);
+ if (minst && path && imem)
+ fp = lib_fopen(path,imem,fname);
if (fp == NULL) {
- env = getenv("TEXCFG");
+ const char *env = getenv("TEXCFG");
if (env) {
strcpy(fname,env);
strcat(fname, gp_file_name_concat_string(env,strlen(env)));
--- contrib/japanese/dviprlib.c
+++ contrib/japanese/dviprlib.c 2007-09-04 09:30:51.000000000 +0000
@@ -1433,15 +1433,11 @@ char *dviprt_stringsname[] = { CFG_STRIN
char *dviprt_prtcodename[] = { CFG_PRTCODE_NAME, NULL };
char *dviprt_encodename[] = { CFG_ENCODE_NAME, NULL };
-#if 0
-static FILE *dviprt_messagestream = stderr;
-#else /* patch for glibc 2.1.x by Shin Fukui */
-static FILE *dviprt_messagestream;
-#endif
+static int dviprt_messagestream;
/*--- library functions ---*/
int
-dviprt_setmessagestream(FILE *fp)
+dviprt_setmessagestream(int fp)
{
dviprt_messagestream = fp;
return 0;
@@ -1510,9 +1506,10 @@ static int
dviprt_printmessage(char *str,int len)
{
if (dviprt_messagestream && str) {
- if (len >= 0) fwrite(str,len,1,dviprt_messagestream);
- else fputs(str,dviprt_messagestream);
- fflush(dviprt_messagestream);
+ if (len == 0)
+ len = strlen(str);
+ if (len >= 0) errwrite_nomem(str,len);
+ errflush_nomem();
}
return 0;
}
--- contrib/japanese/dviprlib.h
+++ contrib/japanese/dviprlib.h 2007-09-03 17:10:47.000000000 +0000
@@ -255,7 +255,7 @@ extern int dviprt_outputscanlines(dviprt
extern int dviprt_output(dviprt_print *,unsigned char far *,long );
extern int dviprt_unsetbuffer(dviprt_print *);
-extern int dviprt_setmessagestream(FILE *);
+extern int dviprt_setmessagestream(int);
extern int dviprt_writesrc(char *,char *,dviprt_cfg_t *,unsigned char *,int );
extern int dviprt_writecfg(char *,char *,dviprt_cfg_t *,unsigned char *,int );
extern int dviprt_writec(char *,char *,dviprt_cfg_t *,unsigned char *,int );
++++++ ghostscript-9.00-echogs.patch ++++++
rom: Hauke Klein
To: gs-devel@ghostscript.com
Hi, while building ghostscript 8.62 with non-standard settings for
GLGENDIR, GLOBJDIR, ...
I noticed a few small inconsistencies in ghostscripts makefiles. The
attached patch should
fix these. I'm also building with a separate build directory.
Unfortunately, the resulting path
strings overflow a static buffer in echogs.c. The patch also changes
the size of these
buffers. I'm just including limits.h, I should probably guard this
with an HAVE_LIMITS_H
or something like this.
PS. I hope this message is appropriate for this list (or should gs-
code-review be
used for such things?)
--- base/echogs.c
+++ base/echogs.c 2010-09-28 12:56:09.159926344 +0000
@@ -31,6 +31,7 @@ extern int fputc(int, FILE *), fputs(con
#include
#include
#include /* for ctime */
+#include
/*
* This program exists solely to get around omissions, problems, and
@@ -91,14 +92,14 @@ main(int argc, char *argv[])
FILE *in = 0;
const char *extn = "";
char fmode[4];
-#define FNSIZE 1000
+#define FNSIZE PATH_MAX
char *fnparam = NULL; /* Initialisation to shut up compilers */
char fname[FNSIZE];
int newline = 1;
int interact = 0;
int (*eputc)(int, FILE *) = fputc;
int (*eputs)(const char *, FILE *) = fputs;
-#define LINESIZE 1000+FNSIZE
+#define LINESIZE 1000+PATH_MAX
char line[LINESIZE];
char sw = 0, sp = 0, hexx = 0;
char **argp = argv + 1;
++++++ ghostscript-9.00-errprintf.dif ++++++
--- contrib/gdev820c.c
+++ contrib/gdev820c.c 2010-10-01 09:15:33.844426144 +0000
@@ -558,7 +558,7 @@ cut_next_swath(gx_device_printer *pdev)
* modes[next.mode].ydpi / 600);
if (lines != next.height * modes[next.mode].ydpi / 600) {
/* height = lines; ? */
- errprintf("No ogla oxen.\n");
+ errprintf(pdev->memory, "No ogla oxen.\n");
return 0;
}
/* Zero out the end. */
++++++ ghostscript-9.00-icc.dif ++++++
--- base/gsicc_manage.c
+++ base/gsicc_manage.c 2010-10-01 13:22:19.011925867 +0000
@@ -673,7 +673,7 @@ gsicc_open_search(const char* pname, int
stream* str;
/* Check if we need to prepend the file name */
- if ( icc_manager != NULL) {
+ if ( icc_manager != NULL && *pname != '/' ) {
if ( icc_manager->profiledir != NULL ) {
/* If this fails, we will still try the file by itself and with
%rom% since someone may have left a space some of the spaces
--- psi/zusparam.c
+++ psi/zusparam.c 2010-10-01 13:30:27.871926079 +0000
@@ -596,7 +596,11 @@ set_default_gray_icc(i_ctx_t *i_ctx_p, g
static void
current_icc_directory(i_ctx_t *i_ctx_p, gs_param_string * pval)
{
+#ifdef ICCPROFILESDIR
+ static const char *const rfs = ICCPROFILESDIR;
+#else
static const char *const rfs = "%rom%iccprofiles/"; /* as good as any other */
+#endif
const gs_imager_state * pis = (gs_imager_state *) igs;
pval->data = (const byte *)( (pis->icc_manager->profiledir == NULL) ?
--- base/gxccman.c
+++ base/gxccman.c 2010-10-04 09:08:51.615926243 +0000
@@ -609,7 +609,8 @@ gx_alloc_char_bits(gs_font_dir * dir, gx
gs_make_mem_mono_device(pdev, pdev->memory, target);
rc_decrement_only(target, "gx_alloc_char_bits"); /* can't go to 0 */
/* Decrement the ICC profile also. Same device is getting reinitialized */
- rc_decrement(target->device_icc_profile,"gx_alloc_char_bits(icc profile)");
+ if (target)
+ rc_decrement(target->device_icc_profile,"gx_alloc_char_bits(icc profile)");
pdev->rc = rc;
pdev->retained = retained;
pdev->width = iwidth;
++++++ ghostscript-9.00-jbig2broken.dif ++++++
--- jbig2dec/jbig2_text.c
+++ jbig2dec/jbig2_text.c 2010-09-29 11:43:20.379926022 +0000
@@ -71,7 +71,7 @@ jbig2_decode_text_region(Jbig2Ctx *ctx,
int x,y;
bool first_symbol;
uint32_t index, SBNUMSYMS;
- Jbig2Image *IB;
+ Jbig2Image *IB = NULL;
Jbig2HuffmanState *hs = NULL;
Jbig2HuffmanTable *SBSYMCODES = NULL;
int code = 0;
@@ -276,6 +276,11 @@ jbig2_decode_text_region(Jbig2Ctx *ctx,
while (id >= dicts[index]->n_symbols)
id -= dicts[index++]->n_symbols;
IB = jbig2_image_clone(ctx, dicts[index]->glyphs[id]);
+ if (!IB) {
+ jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "memory allocation failure!");
+ return -1;
+ }
}
if (params->SBREFINE) {
if (params->SBHUFF) {
@@ -310,6 +315,11 @@ jbig2_decode_text_region(Jbig2Ctx *ctx,
/* 6.4.11 (6) */
IBO = IB;
+ if (IBO->width + RDW < 0 || IBO->height + RDH < 0) {
+ jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "parameter out of range!");
+ return -1;
+ }
refimage = jbig2_image_new(ctx, IBO->width + RDW,
IBO->height + RDH);
if (refimage == NULL) {
++++++ ghostscript-9.00.dif ++++++
++++ 1418 lines (skipped)
++++++ ghostscript-fonts-std-8.11.patch ++++++
--- n021004l.pfa.~1~ 2004-03-24 12:00:35.274859345 +0100
+++ n021004l.pfa 2004-03-24 12:02:25.536099592 +0100
@@ -21,7 +21,7 @@
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
/FullName (Nimbus Roman No9 L Medium) readonly def
/FamilyName (Nimbus Roman No9 L) readonly def
- /Weight (Medium) readonly def
+ /Weight (Bold) readonly def
/FSType 0 def
/ItalicAngle 0 def
/isFixedPitch false def
--- n021024l.pfa.~1~ 2004-03-24 12:01:46.029254461 +0100
+++ n021024l.pfa 2004-03-24 12:02:47.129642326 +0100
@@ -21,7 +21,7 @@
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
/FullName (Nimbus Roman No9 L Medium Italic) readonly def
/FamilyName (Nimbus Roman No9 L) readonly def
- /Weight (Medium) readonly def
+ /Weight (Bold) readonly def
/FSType 0 def
/ItalicAngle -15.3 def
/isFixedPitch false def
--- n022004l.pfa 2004-03-26 01:12:04.624871931 +0100
+++ n022004l.pfa 2004-03-26 01:10:22.160022000 +0100
@@ -24,7 +24,7 @@
/Weight (Bold) readonly def
/FSType 0 def
/ItalicAngle 0 def
- /isFixedPitch false def
+ /isFixedPitch true def
/UnderlinePosition -100 def
/UnderlineThickness 50 def
end readonly def
@@ -3747,4 +3747,4 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark
-{restore}if
\ No newline at end of file
+{restore}if
--- n022023l.pfa 2004-03-26 01:12:04.630870693 +0100
+++ n022023l.pfa 2004-03-26 01:10:54.092430000 +0100
@@ -24,7 +24,7 @@
/Weight (Regular) readonly def
/FSType 0 def
/ItalicAngle -12 def
- /isFixedPitch false def
+ /isFixedPitch true def
/UnderlinePosition -100 def
/UnderlineThickness 50 def
end readonly def
@@ -3145,4 +3145,4 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark
-{restore}if
\ No newline at end of file
+{restore}if
--- n022024l.pfa 2004-03-26 01:12:04.636869454 +0100
+++ n022024l.pfa 2004-03-26 01:11:21.153845000 +0100
@@ -24,7 +24,7 @@
/Weight (Bold) readonly def
/FSType 0 def
/ItalicAngle -12 def
- /isFixedPitch false def
+ /isFixedPitch true def
/UnderlinePosition -100 def
/UnderlineThickness 50 def
end readonly def
@@ -3554,4 +3554,4 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark
-{restore}if
\ No newline at end of file
+{restore}if
--- n022004l.afm 2002-12-25 21:40:09.000000000 +0100
+++ n022004l.afm 2005-03-18 16:10:02.000000000 +0100
@@ -7,7 +7,7 @@
Weight Bold
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs aded by Valek Filippov (C) 2001-2002)
ItalicAngle 0
-IsFixedPitch false
+IsFixedPitch true
UnderlinePosition -100
UnderlineThickness 50
Version 1.06
--- n022023l.afm 2002-12-25 21:38:57.000000000 +0100
+++ n022023l.afm 2005-03-18 16:09:40.000000000 +0100
@@ -7,7 +7,7 @@
Weight Regular
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001)
ItalicAngle -12
-IsFixedPitch false
+IsFixedPitch true
UnderlinePosition -100
UnderlineThickness 50
Version 1.06
--- n022024l.afm 2002-12-25 21:40:33.000000000 +0100
+++ n022024l.afm 2005-03-18 16:10:25.000000000 +0100
@@ -7,7 +7,7 @@
Weight Bold
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001-2002)
ItalicAngle -12
-IsFixedPitch false
+IsFixedPitch true
UnderlinePosition -100
UnderlineThickness 50
Version 1.06
--- n019043l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
+++ n019043l.pfa 2008-03-06 17:25:20.000000000 +0100
@@ -26,8 +26,8 @@
/FontInfo 10 dict dup begin
/version (1.06) readonly def
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
- /FullName (Nimbus Sans L Regular Condensed) readonly def
- /FamilyName (Nimbus Sans L) readonly def
+ /FullName (Nimbus Sans L Condensed Regular) readonly def
+ /FamilyName (Nimbus Sans L Condensed) readonly def
/Weight (Regular) readonly def
/FSType 0 def
/ItalicAngle 0 def
--- n019044l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
+++ n019044l.pfa 2008-03-06 17:26:16.000000000 +0100
@@ -26,8 +26,8 @@
/FontInfo 10 dict dup begin
/version (1.06) readonly def
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
- /FullName (Nimbus Sans L Bold Condensed) readonly def
- /FamilyName (Nimbus Sans L) readonly def
+ /FullName (Nimbus Sans L Condensed Bold) readonly def
+ /FamilyName (Nimbus Sans L Condensed) readonly def
/Weight (Bold) readonly def
/FSType 0 def
/ItalicAngle 0 def
--- n019063l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
+++ n019063l.pfa 2008-03-06 17:27:16.000000000 +0100
@@ -26,8 +26,8 @@
/FontInfo 10 dict dup begin
/version (1.06) readonly def
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
- /FullName (Nimbus Sans L Regular Condensed Italic) readonly def
- /FamilyName (Nimbus Sans L) readonly def
+ /FullName (Nimbus Sans L Condensed Regular Italic) readonly def
+ /FamilyName (Nimbus Sans L Condensed) readonly def
/Weight (Regular) readonly def
/FSType 0 def
/ItalicAngle -9.9 def
--- n019064l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
+++ n019064l.pfa 2008-03-06 17:28:06.000000000 +0100
@@ -19,8 +19,8 @@
/FontInfo 10 dict dup begin
/version (1.06) readonly def
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
- /FullName (Nimbus Sans L Bold Condensed Italic) readonly def
- /FamilyName (Nimbus Sans L) readonly def
+ /FullName (Nimbus Sans L Condensed Bold Italic) readonly def
+ /FamilyName (Nimbus Sans L Condensed) readonly def
/Weight (Bold) readonly def
/FSType 12 def
/ItalicAngle -9.9 def
++++++ gimp-print-4.2.7-debug.dif ++++++
--- gimp-print-4.2.7/src/main/print-lexmark.c
+++ gimp-print-4.2.7/src/main/print-lexmark.c 2004-09-23 15:34:46.000000000 +0000
@@ -107,6 +107,7 @@ typedef union { /* Base pointers for e
#ifdef DEBUG
+# include
typedef struct testdata {
FILE *ifile;
int x, y, cols, deep;
@@ -114,11 +115,12 @@ typedef struct testdata {
char *input_line;
} testdata;
-const stp_vars_t *dbgfileprn;
+stp_vars_t dbgfileprn;
int lex_show_lcount, lex_show_length;
-const stp_vars_t lex_open_tmp_file();
-const stp_vars_t lex_write_tmp_file(const stp_vars_t ofile, void *data,int length);
+stp_vars_t lex_open_tmp_file(void);
+void lex_write_tmp_file(const stp_vars_t ofile, void *data,int length);
+void lex_tmp_file_deinit(const stp_vars_t file);
static void testprint(testdata *td);
static void readtestprintline(testdata *td, lexmark_linebufs_t *linebufs);
#endif
@@ -2725,9 +2727,9 @@ lexmark_write(const stp_vars_t v, /* I
#ifdef DEBUG
-const stp_vars_t lex_open_tmp_file() {
+stp_vars_t lex_open_tmp_file(void) {
int i;
- const stp_vars_t ofile;
+ stp_vars_t ofile;
char tmpstr[256];
stp_erprintf(" create file !\n");
@@ -2754,8 +2756,8 @@ void lex_tmp_file_deinit(const stp_vars_
fclose(file);
}
-const stp_vars_t lex_write_tmp_file(const stp_vars_t ofile, void *data,int length) {
- fwrite(data, 1, length, ofile);
+void lex_write_tmp_file(const stp_vars_t ofile, void *data,int length) {
+ (void)fwrite(data, 1, length, ofile);
}
@@ -3049,16 +3051,16 @@ static void testprint(testdata *td)
if (td->cols > 5) {
td->cols = 7;
for (icol=0; icol < td->cols; icol++) { /* we ignor the first color. It is "no dot". */
- linebufs.v[icol] = (char *)malloc((td->x+7)/8); /* allocate the color */
+ linebufs.v[icol] = (unsigned char *)malloc((td->x+7)/8); /* allocate the color */
}
} else if (td->cols > 4) {
td->cols = 5;
for (icol=0; icol < td->cols; icol++) { /* we ignor the first color. It is "no dot". */
- linebufs.v[icol] = (char *)malloc((td->x+7)/8); /* allocate the color */
+ linebufs.v[icol] = (unsigned char *)malloc((td->x+7)/8); /* allocate the color */
}
} else {
td->cols = 1;
- linebufs.v[0] = (char *)malloc((td->x+7)/8); /* allocate the color */
+ linebufs.v[0] = (unsigned char *)malloc((td->x+7)/8); /* allocate the color */
}
} else {
stp_erprintf("can't open file !\n");
++++++ gimp-print-4.2.7-epson_horizontal_adjustment.patch ++++++
--- gimp-print-4.2.7/src/main/print-escp2-data.c
+++ gimp-print-4.2.7/src/main/print-escp2-data.c Wed Aug 4 17:19:20 2004
@@ -5183,8 +5183,9 @@ const escp2_stp_printer_t stp_escp2_mode
59, 60, 2, 180, 180, 2, 180, 180, 2,
360, 720, 720, 14400, -1, 2880, 1440, 360, 180,
INCH(17 / 2), INCH(1200), INCH(2), INCH(4),
- 9, 9, 0, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 0, 0,
- 0, 1, 0, 0, -240, 0, 0,
+/* 9, 9, 0, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 0, 0, */
+ 0, 0, 0, 9, 0, 0, 0, 9, 9, 9, 0, 0, 9, 9, 0, 0,
+ 0, 1, 0, 125, -240, 0, 0,
c3pl_pigment_dotsizes, c3pl_pigment_densities, &variable_3pl_pigment_inks,
&c80_paper_list, standard_reslist, &c80_inklist,
variable_bits, variable_base_res, &default_input_slot_list,
++++++ gimp-print-4.2.7-nb.dif ++++++
--- gimp-print-4.2.7/configure
+++ gimp-print-4.2.7/configure Fri Oct 29 18:18:28 2004
@@ -1048,7 +1048,7 @@ fi
-ALL_LINGUAS="en_GB sv no fr da pl sk el nl es pt de ja cs nb uk hu"
+ALL_LINGUAS="en_GB sv nb fr da pl sk el nl es pt de ja cs nb uk hu"
INCLUDES="${INCLUDES} -I\$(top_srcdir)/include -I\$(top_builddir)/include -I\$(top_srcdir)/intl"
++++++ gimp-print-4.2.7-pcl.dif ++++++
--- gimp-print-4.2.7/src/main/print-pcl.c
+++ gimp-print-4.2.7/src/main/print-pcl.c 2005-03-16 17:06:53.000000000 +0100
@@ -339,13 +339,14 @@ static const pcl_cap_t pcl_model_capabil
/* DesignJet 230/430 (monochrome ) */
{ 10230,
36 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600,
{49, 49, 15, 15},
{49, 49, 15, 15},
PCL_COLOR_NONE,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -366,13 +367,14 @@ static const pcl_cap_t pcl_model_capabil
/* The "CA" versions have a "software RIP" but are the same hardware */
{ 10250,
36 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600_MONO,
{49, 49, 15, 15},
{49, 49, 15, 15},
PCL_COLOR_CMYK,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -392,13 +394,14 @@ static const pcl_cap_t pcl_model_capabil
/* DesignJet 700 (monochrome) */
{ 10700,
36 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600,
{30, 30, 15, 15}, /* These margins are for sheet mode FIX */
{30, 30, 15, 15},
PCL_COLOR_NONE,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -418,13 +421,14 @@ static const pcl_cap_t pcl_model_capabil
/* DesignJet 750C */
{ 10750,
36 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600_MONO,
{30, 30, 15, 15}, /* These margins are for roll mode FIX */
{30, 30, 15, 15},
PCL_COLOR_CMYK,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -444,13 +448,14 @@ static const pcl_cap_t pcl_model_capabil
/* DesignJet 2000C/2500C (36" wide) */
{ 12500, /* Deskjet 2500 already has "2500" */
36 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600_MONO,
{49, 49, 15, 15}, /* Check/Fix */
{49, 49, 15, 15},
PCL_COLOR_CMYK,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -470,13 +475,14 @@ static const pcl_cap_t pcl_model_capabil
/* DesignJet 3000C/3500C (54" wide) */
{ 13500, /* Deskjet 2500 already has "2500" */
54 * 72, 150 * 12 * 72, /* 150ft in roll mode, 64" in sheet */
- 830 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
+ 826 * 72 / 100, 583 * 72 / 100, /* 8.3" wide min in sheet mode */
PCL_RES_300_300 | PCL_RES_600_600_MONO,
{49, 49, 15, 15}, /* Check/Fix */
{49, 49, 15, 15},
PCL_COLOR_CMYK,
PCL_PRINTER_DJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE | PCL_PRINTER_CUSTOM_SIZE | PCL_PRINTER_NEW_ERG,
{
+ PCL_PAPERSIZE_A4,
PCL_PAPERSIZE_LETTER,
-1,
},
@@ -1872,7 +1878,7 @@ pcl_parameters(const stp_printer_t print
if (strcmp(name, "PageSize") == 0)
{
int papersizes = stp_known_papersizes();
- valptrs = stp_malloc(sizeof(stp_param_t) * papersizes);
+ valptrs = stp_zalloc(sizeof(stp_param_t) * papersizes);
*count = 0;
for (i = 0; i < papersizes; i++)
{
@@ -1898,7 +1904,7 @@ pcl_parameters(const stp_printer_t print
}
else
{
- valptrs = stp_malloc(sizeof(stp_param_t) * NUM_PRINTER_PAPER_TYPES);
+ valptrs = stp_zalloc(sizeof(stp_param_t) * NUM_PRINTER_PAPER_TYPES);
*count = 0;
for (i=0; (i < NUM_PRINTER_PAPER_TYPES) && (caps->paper_types[i] != -1); i++)
{
@@ -1922,7 +1928,7 @@ pcl_parameters(const stp_printer_t print
}
else
{
- valptrs = stp_malloc(sizeof(stp_param_t) * NUM_PRINTER_PAPER_SOURCES);
+ valptrs = stp_zalloc(sizeof(stp_param_t) * NUM_PRINTER_PAPER_SOURCES);
*count = 0;
for (i=0; (i < NUM_PRINTER_PAPER_SOURCES) && (caps->paper_sources[i] != -1); i++)
{
@@ -1940,7 +1946,7 @@ pcl_parameters(const stp_printer_t print
else if (strcmp(name, "Resolution") == 0)
{
*count = 0;
- valptrs = stp_malloc(sizeof(stp_param_t) * NUM_RESOLUTIONS);
+ valptrs = stp_zalloc(sizeof(stp_param_t) * NUM_RESOLUTIONS);
for (i = 0; i < NUM_RESOLUTIONS; i++)
{
if (caps->resolutions & pcl_resolutions[i].pcl_code)
@@ -1958,7 +1964,7 @@ pcl_parameters(const stp_printer_t print
{
if (caps->color_type & PCL_COLOR_CMYKcm)
{
- valptrs = stp_malloc(sizeof(stp_param_t) * 2);
+ valptrs = stp_zalloc(sizeof(stp_param_t) * 2);
valptrs[0].name = c_strdup(ink_types[0].name);
valptrs[0].text = c_strdup(_(ink_types[0].text));
valptrs[1].name = c_strdup(ink_types[1].name);
@@ -2274,13 +2280,13 @@ pcl_print(const stp_printer_t printer,
{
stp_eprintf(v, "600x600 resolution only available in MONO\n");
output_type = OUTPUT_GRAY;
- stp_set_output_type(nv, OUTPUT_GRAY);
+ stp_set_output_type(nv, output_type);
}
if (caps->color_type == PCL_COLOR_NONE && output_type != OUTPUT_MONOCHROME)
{
output_type = OUTPUT_GRAY;
- stp_set_output_type(nv, OUTPUT_GRAY);
+ stp_set_output_type(nv, output_type);
}
stp_set_output_color_model(nv, COLOR_MODEL_CMY);
@@ -2484,15 +2490,16 @@ pcl_print(const stp_printer_t printer,
* vertical resolutions as well as a color count...
*/
- if (output_type != OUTPUT_GRAY && output_type != OUTPUT_MONOCHROME)
- if ((caps->color_type & PCL_COLOR_CMY) == PCL_COLOR_CMY)
+ if (output_type != OUTPUT_GRAY && output_type != OUTPUT_MONOCHROME) {
+ if ((caps->color_type & PCL_COLOR_CMY) == PCL_COLOR_CMY) {
planes = 3;
- else
+ } else {
if (do_6color)
planes = 6;
else
planes = 4;
- else
+ }
+ } else
planes = 1;
stp_zprintf(v, "\033*g%dW", 2 + (planes * 6));
@@ -2621,7 +2628,7 @@ pcl_print(const stp_printer_t printer,
if (output_type == OUTPUT_GRAY || output_type == OUTPUT_MONOCHROME)
{
- black = stp_malloc(height);
+ black = stp_zalloc(height);
cyan = NULL;
magenta = NULL;
yellow = NULL;
@@ -2630,18 +2637,18 @@ pcl_print(const stp_printer_t printer,
}
else
{
- cyan = stp_malloc(height);
- magenta = stp_malloc(height);
- yellow = stp_malloc(height);
+ cyan = stp_zalloc(height);
+ magenta = stp_zalloc(height);
+ yellow = stp_zalloc(height);
if ((caps->color_type & PCL_COLOR_CMY) == PCL_COLOR_CMY)
black = NULL;
else
- black = stp_malloc(height);
+ black = stp_zalloc(height);
if (do_6color)
{
- lcyan = stp_malloc(height);
- lmagenta = stp_malloc(height);
+ lcyan = stp_zalloc(height);
+ lmagenta = stp_zalloc(height);
}
else
{
@@ -2784,13 +2791,23 @@ pcl_print(const stp_printer_t printer,
}
stp_dither(out, y, dither, dt, duplicate_line, zero_mask);
-
+#if 0
len_c = stp_dither_get_last_position(dither, ECOLOR_C, 0);
len_lc = stp_dither_get_last_position(dither, ECOLOR_C, 1);
len_m = stp_dither_get_last_position(dither, ECOLOR_M, 0);
len_lm = stp_dither_get_last_position(dither, ECOLOR_M, 1);
len_y = stp_dither_get_last_position(dither, ECOLOR_Y, 0);
len_k = stp_dither_get_last_position(dither, ECOLOR_K, 0);
+#else
+# define empty_line(c) ((!c) ? -1 : (((!c[0]&&!memcmp(c,c+1,height-1))) ? -1 : 0))
+ len_c = empty_line(cyan);
+ len_lc = empty_line(lcyan);
+ len_m = empty_line(magenta);
+ len_lm = empty_line(lmagenta);
+ len_y = empty_line(yellow);
+ len_k = empty_line(black);
+# undef empty_line
+#endif
/*
* Blank line removal. If multiple lines are blank then they can be replaced
++++++ gimp-print-4.2.7.dif ++++++
++++ 2526 lines (skipped)
++++++ gs-9.00-implicit-fortify-decl.patch ++++++
--- a/psi/write_t1.c
+++ b/psi/write_t1.c 2010-09-29 13:51:04.947926268 +0200
@@ -20,6 +20,9 @@
*/
#include
+#include
+#include
+#include
#include "wrfont.h"
#include "write_t1.h"
++++++ gs.svn_diff-c_12005.diff ++++++
Index: base/gdevp14.c
===================================================================
--- base/gdevp14.c (revision 12004)
+++ base/gdevp14.c (revision 12005)
@@ -900,7 +900,11 @@
nos->parent_color_info_procs->num_components, 1,
false, false, true, tos->planestride,
tos->rowstride, num_rows, num_cols);
- /* Transform the data */
+ /* Transform the data. Since the pdf14 device should be
+ using RGB, CMYK or Gray buffers, this transform
+ does not need to worry about the cmap procs of
+ the target device. Those are handled when we do
+ the pdf14 put image operation */
gscms_transform_color_buffer(icc_link, &input_buff_desc,
&output_buff_desc, tos->data,
new_data_buf);
Index: base/gxicolor.c
===================================================================
--- base/gxicolor.c (revision 12004)
+++ base/gxicolor.c (revision 12005)
@@ -97,6 +97,8 @@
irender_proc_t
gs_image_class_4_color(gx_image_enum * penum)
{
+ bool std_cmap_procs;
+
if (penum->use_mask_color) {
/*
* Scale the mask colors to match the scaling of each sample to
@@ -128,8 +130,14 @@
penum->mask_color.mask = 0;
penum->mask_color.test = ~0;
}
+ /* If the device has some unique color mapping procs due to its color space,
+ then we will need to use those and go through pixel by pixel instead
+ of blasting through buffers. This is true for example with many of
+ the color spaces for CUPs */
+ std_cmap_procs = gx_device_uses_std_cmap_procs(penum->dev);
if ( (gs_color_space_get_index(penum->pcs) == gs_color_space_index_DeviceN &&
- penum->pcs->cmm_icc_profile_data == NULL) || penum->use_mask_color ) {
+ penum->pcs->cmm_icc_profile_data == NULL) || penum->use_mask_color ||
+ !std_cmap_procs) {
return &image_render_color_DeviceN;
} else {
/* Set up the link now */
Index: base/gxcmap.c
===================================================================
--- base/gxcmap.c (revision 12004)
+++ base/gxcmap.c (revision 12005)
@@ -31,6 +31,7 @@
#include "gsicc_manage.h"
#include "gdevdevn.h"
#include "gsicc_cache.h"
+#include "gscms.h"
/* Structure descriptor */
public_st_device_color();
@@ -1744,3 +1745,37 @@
}
}
+
+bool
+gx_device_uses_std_cmap_procs(gx_device * dev)
+{
+ const gx_cm_color_map_procs *pprocs;
+
+ if (dev->device_icc_profile != NULL) {
+ pprocs = dev_proc(dev, get_color_mapping_procs)(dev);
+ /* Check if they are forwarding procs */
+ if (fwd_uses_fwd_cmap_procs(dev)) {
+ pprocs = fwd_get_target_cmap_procs(dev);
+ }
+ switch(dev->device_icc_profile->data_cs) {
+ case gsGRAY:
+ if (pprocs == &DeviceGray_procs) {
+ return true;
+ }
+ break;
+ case gsRGB:
+ if (pprocs == &DeviceRGB_procs) {
+ return true;
+ }
+ break;
+ case gsCMYK:
+ if (pprocs == &DeviceCMYK_procs) {
+ return true;
+ }
+ break;
+ default:
+ break;
+ }
+ }
+ return false;
+}
Index: base/gxcmap.h
===================================================================
--- base/gxcmap.h (revision 12004)
+++ base/gxcmap.h (revision 12005)
@@ -284,5 +284,11 @@
* [0,1]
*/
frac gx_unit_frac(float fvalue);
+/* Determine if the device is using the standard color mapping procs. In
+ such a case, we can make use of the faster icc color conversions for
+ images */
+bool gx_device_uses_std_cmap_procs(gx_device * dev);
+bool fwd_uses_fwd_cmap_procs(gx_device * dev);
+const gx_cm_color_map_procs* fwd_get_target_cmap_procs(gx_device * dev);
#endif /* gxcmap_INCLUDED */
Index: base/gxi12bit.c
===================================================================
--- base/gxi12bit.c (revision 12004)
+++ base/gxi12bit.c (revision 12005)
@@ -113,6 +113,8 @@
irender_proc_t
gs_image_class_2_fracs(gx_image_enum * penum)
{
+ bool std_cmap_procs;
+
if (penum->bps > 8) {
if (penum->use_mask_color) {
/* Convert color mask values to fracs. */
@@ -122,9 +124,14 @@
penum->mask_color.values[i] =
bits2frac(penum->mask_color.values[i], 12);
}
+ /* If the device has some unique color mapping procs due to its color space,
+ then we will need to use those and go through pixel by pixel instead
+ of blasting through buffers. This is true for example with many of
+ the color spaces for CUPs */
+ std_cmap_procs = gx_device_uses_std_cmap_procs(penum->dev);
if ( (gs_color_space_get_index(penum->pcs) == gs_color_space_index_DeviceN &&
penum->pcs->cmm_icc_profile_data == NULL) || penum->use_mask_color ||
- penum->bps != 16 ||
+ penum->bps != 16 || !std_cmap_procs ||
gs_color_space_get_index(penum->pcs) == gs_color_space_index_DevicePixel) {
/* DevicePixel color space used in mask from 3x type. Basically
a simple color space that just is scaled to the device bit
Index: base/lib.mak
===================================================================
--- base/lib.mak (revision 12004)
+++ base/lib.mak (revision 12005)
@@ -602,7 +602,7 @@
$(gxalpha_h) $(gxcspace_h) $(gxfarith_h) $(gxfrac_h)\
$(gxdcconv_h) $(gxdevice_h) $(gxcmap_h) $(gsnamecl_h) $(gxlum_h)\
$(gzstate_h) $(gxdither_h) $(gxcdevn_h) $(string__h)\
- $(gsicc_manage_h) $(gdevdevn_h) $(gsicc_cache_h)
+ $(gsicc_manage_h) $(gdevdevn_h) $(gsicc_cache_h) $(gscms_h)
$(GLCC) $(GLO_)gxcmap.$(OBJ) $(C_) $(GLSRC)gxcmap.c
$(GLOBJ)gxcpath.$(OBJ) : $(GLSRC)gxcpath.c $(GXERR)\
Index: base/gxiscale.c
===================================================================
--- base/gxiscale.c (revision 12004)
+++ base/gxiscale.c (revision 12005)
@@ -104,6 +104,13 @@
!= penum->dev->color_info.num_components) {
use_icc = false;
}
+ /* If the device has some unique color mapping procs due to its color space,
+ then we will need to use those and go through pixel by pixel instead
+ of blasting through buffers. This is true for example with many of
+ the color spaces for CUPs */
+ if(!gx_device_uses_std_cmap_procs(penum->dev)) {
+ use_icc = false;
+ }
/*
* USE_CONSERVATIVE_INTERPOLATION_RULES is normally NOT defined since
* the MITCHELL digital filter seems OK as long as we are going out to
Index: base/gdevnfwd.c
===================================================================
--- base/gdevnfwd.c (revision 12004)
+++ base/gdevnfwd.c (revision 12005)
@@ -1117,3 +1117,29 @@
{
return 0;
}
+
+bool
+fwd_uses_fwd_cmap_procs(gx_device * dev)
+{
+ const gx_cm_color_map_procs *pprocs;
+
+ pprocs = dev_proc(dev, get_color_mapping_procs)(dev);
+ if (pprocs == &FwdDevice_cm_map_procs) {
+ return true;
+ }
+ return false;
+}
+
+const gx_cm_color_map_procs*
+fwd_get_target_cmap_procs(gx_device * dev)
+{
+ const gx_cm_color_map_procs *pprocs;
+ gx_device_forward * const fdev = (gx_device_forward *)dev;
+ gx_device * const tdev = fdev->target;
+
+ pprocs = dev_proc(tdev, get_color_mapping_procs(tdev));
+ while (pprocs == &FwdDevice_cm_map_procs) {
+ pprocs = fwd_get_target_cmap_procs(tdev);
+ }
+ return pprocs;
+}
\ No newline at end of file
++++++ hpdj-2.6-gs9.00.dif ++++++
++++ 869 lines (skipped)
++++++ make.catalog ++++++
#!/bin/bash
if test -x sobin/gs ; then
gs=sobin/gs
else
gs=bin/gs
fi
tab="$(echo -en '\t')"
devices="$($gs -h 2>&1 | sed -n '/^Available devices:/,/Search path:/p' |\
grep -vE '(Available devices:|Search path:)' | tr ' ' '\n' | sort -u)"
descr="$(cat $(find -name '*.mak') |\
sed -n "/Catalog/,/End of catalog/ {
:join
$!N
s/\n#\($tab\|[ ]\{7\}\)\($tab\|[ ]\{8,\}\)\{1,\}/ /
t join
/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)/ {
s/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)//
s/^None.*//
s@^uniprint/:.*@@
s/^(\([^[:space:]]\+\))/\1/
P
}
D
}" | grep -vE '^$' | sort -u -b -k 1,1 )"
for d in $devices; do
while read first rest; do
test -n "$first" && printf '%-15s %s\n' "$first" "$rest"
done < <(echo "$descr" | grep -E "^$d[ $tab]")
done
#for ppd in /usr/share/cups/model/manufacturer-PPDs/hplip/*.ppd.gz; do
# m=$(sed -n "/^\*Product: */{ s/^.*:[ ${tab}]*\"(\([^()]*\))\"/\1/p; }" < <(zcat $ppd))
# printf "%-15s %s\n" "'$m'" "ijs: HP printer printer driver for $m"
#done
bzcat hpijs.list.bz2
for m in 500 500C 510 520 540 550C 560C 850C 855C unspec ; do
printf '%-15s %s\n' $m "hpdj: H-P printer type $m"
done
while read first rest; do
test -n "$first" && printf '%-15s %s\n' "$first" "uniprint: $rest"
done < <(grep -e '-supModel="' lib/*.upp | sed 's@:-supModel="@ @g;s@"$@@g;s@lib/@@g')
n=0
while read first rest; do
if test "$first" = "_" ; then
test $n -gt 0 && break
test $n -eq 0 && n=1
continue
fi
test -n "$first" && printf '%-15s %s\n' "$first" "stp: $rest"
done < <(sed -n '/^_/,/^_/{s/\\//g;p;}' < man/gs-stp.1)
find Omni/ -maxdepth 2 -name 'Device List' -and -not -path '*XMLParser*' -and -not -path '*test*' -exec cat {} \; | sort | \
while read m ; do
case "$m" in
\#*|"") continue ;;
esac
printf '%-25s %s\n' "`echo $m | sed 's/[ +-]/_/g'`" "omni: $m"
done
++++++ make.lost ++++++
#!/bin/bash
tab="$(echo -en '\t')"
devices="$(gs -h 2>&1 | sed -n '/^Available devices:/,/Search path:/p' |\
grep -vE '(Available devices:|Search path:)')"
descr="$(cat $(find -name '*.mak') |\
sed -n "/Catalog/,/End of catalog/ {
:join
$!N
s/\n#\($tab\|[ ]\{7\}\)\($tab\|[ ]\{8,\}\)\{1,\}/ /
t join
/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)/ {
s/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)//
s/^None.*//
s@^uniprint/:.*@@
s/^(\([^[:space:]]\+\))/\1/
P
}
D
}" | grep -vE '^$' | sort -u -b -k 1,1 )"
for d in $devices; do
descr="$(echo "$descr" | grep -vE "^$d[ $tab]")"
done
echo "$descr"
++++++ rpmlintrc ++++++
addFilter(".*devel-file-in-non-devel-package.*/usr/lib/ghostscript/Omni/.*\.so.*")
addFilter(".*devel-file-in-non-devel-package.*/usr/lib64/ghostscript/Omni/.*\.so.*")
addFilter(".*devel-file-in-non-devel-package.*/usr/lib/libijs.*\.so.*")
addFilter(".*devel-file-in-non-devel-package.*/usr/lib64/libijs.*\.so.*")
addFilter(".*files-duplicate.*/usr/share/ghostscript/Omni/.*\.xml.*")
addFilter(".*files-duplicate.*/usr/share/ghostscript/fonts/fonts\..*")
addFilter(".*patch-not-applied.*ghostscript-fonts-std-8\.11\.patch.*")
addFilter(".*zero-length.*/etc/ghostscript/.*/Fontmap\.X11-auto.*")
addFilter(".*explicit-lib-dependency.*libxml2-devel.*")
addFilter(".*devel-dependency.*glibc-devel.*")
addFilter(".*devel-dependency.*libxml2-devel.*")
addFilter(".*no-dependency-on.*ghostscript-ijs.*")
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org