Dec 122017
 
Ghostscript 2.52 - GNU Postscript interpreter.
File GS252PM.ZIP from The Programmer’s Corner in
Category DeskTop Publishing
Ghostscript 2.52 – GNU Postscript interpreter.
File Name File Size Zip Size Zip Type
GS252 0 0 stored
ALPHABET.PS 1270 586 deflated
BDFTOPS.CMD 65 65 stored
BDFTOPS.PS 22957 7450 deflated
CHEQ.PS 58877 32024 deflated
CHESS.PS 3047 1306 deflated
COLORCIR.PS 1815 420 deflated
COPYING 17982 6544 deflated
CP.CMD 16 16 stored
DECRYPT.PS 294 177 deflated
DRIVERS.DOC 22970 7960 deflated
EMPTY.PS 0 0 stored
EMX.DLL 37945 19473 deflated
EMXIO.DLL 2830 874 deflated
EMXLIBC.DLL 66971 33440 deflated
ESCHER.PS 10520 4364 deflated
FONT2C.CMD 82 82 stored
FONT2C.PS 15221 4707 deflated
FONTMAP 10130 3554 deflated
FONTMAP.TAI 525 147 deflated
FONTS 0 0 stored
FONTS.DOC 11878 4545 deflated
BCHB.AFM 21626 5072 deflated
BCHB.GSF 52032 27720 deflated
BCHBI.AFM 22099 5177 deflated
BCHBI.GSF 54791 29476 deflated
BCHR.AFM 19764 4706 deflated
BCHR.GSF 53462 28387 deflated
BCHRI.AFM 19927 4783 deflated
BCHRI.GSF 54602 29382 deflated
CYR.GSF 35905 20027 deflated
CYRI.GSF 44432 24868 deflated
HRGE_R.GSF 12589 5422 deflated
HRGE_RB.GSF 101 75 deflated
HRGE_RO.GSF 106 80 deflated
HRGK_C.GSF 8857 3991 deflated
HRGK_S.GSF 6929 3028 deflated
HRGR_R.GSF 13113 5878 deflated
HRGR_RB.GSF 99 74 deflated
HRGR_RO.GSF 104 79 deflated
HRIT_R.GSF 11135 4862 deflated
HRIT_RB.GSF 101 75 deflated
HRIT_RO.GSF 106 80 deflated
HRPL_R.GSF 8932 3853 deflated
HRPL_RB.GSF 83 66 deflated
HRPL_RO.GSF 88 71 deflated
HRPL_S.GSF 6643 2769 deflated
HRPL_SB.GSF 99 74 deflated
HRPL_SBO.GSF 109 84 deflated
HRPL_SO.GSF 104 79 deflated
HRPL_T.GSF 11820 5074 deflated
HRPL_TB.GSF 99 74 deflated
HRPL_TBI.GSF 108 83 deflated
HRPL_TI.GSF 11820 5223 deflated
HRSC_C.GSF 9565 4346 deflated
HRSC_CB.GSF 101 75 deflated
HRSC_CO.GSF 106 80 deflated
HRSC_S.GSF 8065 3640 deflated
HRSC_SB.GSF 101 75 deflated
HRSC_SO.GSF 106 80 deflated
HRSY_R.GSF 13570 5694 deflated
NCRB.GSF 97891 44776 deflated
NCRBI.GSF 96987 44931 deflated
NCRR.GSF 97281 44381 deflated
NCRRI.GSF 94824 44216 deflated
PAGD.GSF 33020 14994 deflated
PAGDO.GSF 35624 16504 deflated
PAGK.GSF 55105 28532 deflated
PAGKO.GSF 36778 17442 deflated
PBKD.GSF 36435 16978 deflated
PBKDI.GSF 36365 17066 deflated
PBKL.GSF 36048 16863 deflated
PBKLI.GSF 38419 18222 deflated
PHVB.GSF 70304 36090 deflated
PHVBO.GSF 80025 42009 deflated
PHVR.GSF 71002 36846 deflated
PHVRO.GSF 80885 42417 deflated
PHVRRN.GSF 42625 21051 deflated
PNCB.GSF 72960 37952 deflated
PNCBI.GSF 82520 43699 deflated
PNCR.GSF 83588 44147 deflated
PNCRI.GSF 93295 49804 deflated
PPLB.GSF 34877 16248 deflated
PPLBI.GSF 37031 17518 deflated
PPLR.GSF 56242 29117 deflated
PPLRI.GSF 37727 17820 deflated
PSYR.GSF 61593 32087 deflated
PTMB.GSF 77812 40647 deflated
PTMBI.GSF 85909 45383 deflated
PTMR.GSF 78972 41122 deflated
PTMRI.GSF 87136 46136 deflated
PUTB.GSF 60932 28494 deflated
PUTBI.GSF 63677 30131 deflated
PUTR.GSF 60720 28495 deflated
PUTRI.GSF 63057 29672 deflated
PZDR.GSF 84801 43105 deflated
ZCB.GSF 71922 38196 deflated
ZCR.GSF 67154 35481 deflated
ZCRO.GSF 82792 44467 deflated
GHOST.ICO 1010 156 deflated
GOLFER.PS 25499 9717 deflated
GSADDMOD.BAT 1088 340 deflated
GSBJ.CMD 82 82 stored
GSDJ.CMD 85 85 stored
GSDJ500.CMD 84 82 deflated
GSLJ.CMD 85 85 stored
GSLP.CMD 82 82 stored
GSLP.PS 8806 3142 deflated
GSND.CMD 51 51 stored
GSNDT.CMD 54 54 stored
GSOS2.CMD 158 114 deflated
GSOS2A.EXE 12292 1596 deflated
GSOS2B.EXE 274436 123148 deflated
GSSETDEV.BAT 80 74 deflated
GST.CMD 39 39 stored
GS_2ASC.PS 5523 2232 deflated
GS_DPS1.PS 8614 3358 deflated
GS_FONTS.PS 14358 5001 deflated
GS_INIT.PS 28227 9690 deflated
GS_LEV2.PS 8012 2729 deflated
GS_STATD.PS 6434 2219 deflated
HERSHEY.DOC 11176 4438 deflated
HISTORY.DOC 1220 617 deflated
HUMOR.DOC 2558 1204 deflated
IMPATH.PS 5732 2357 deflated
LANDSCAP.PS 217 144 deflated
LANGUAGE.DOC 14459 5302 deflated
LIB.DOC 3772 1627 deflated
LINES.PS 2648 855 deflated
MAKE.DOC 21692 7834 deflated
MAN.DOC 25017 9517 deflated
MV.CMD 15 15 stored
NEWS 90730 31063 deflated
PCHARSTR.PS 1772 892 deflated
PPATH.PS 885 324 deflated
PRFONT.PS 2368 1037 deflated
PS2IMAGE.PS 4298 1655 deflated
PSFILES.DOC 4137 1824 deflated
PSTOPPM.PS 7343 2588 deflated
QUIT.PS 5 5 stored
README 14465 5925 deflated
README.1ST 6116 2775 deflated
README.DOC 3978 1862 deflated
RM.CMD 102 72 deflated
SCREEN.PS 726 285 deflated
SET-VARS.CMD 111 92 deflated
SHOWPAGE.PS 9 9 stored
SNOWFLAK.PS 2071 734 deflated
SYM__ENC.PS 3667 1418 deflated
TIGER.PS 78519 28250 deflated
TIMING.PS 4818 1255 deflated
TRACEOP.PS 2459 1056 deflated
TYPE1OPS.PS 6852 2297 deflated
UGLYR.GSF 22643 10003 deflated
UNPROT.PS 1862 769 deflated
USE.DOC 16669 6506 deflated
WRFONT.PS 8621 3012 deflated

Download File GS252PM.ZIP Here

Contents of the README file


Copyright (C) 1989, 1992 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.

This file is part of Ghostscript.

Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.

Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*****************************************************
* This file describes version 2.5.2 of Ghostscript. *
*****************************************************

********
******** An overview of Ghostscript ********
********

Ghostscript is the name of a set of software that provides:

- An interpreter for the PostScript (TM) language, and

- A set of C procedures (the Ghostscript library) that
implement the graphics capabilities that appear as primitive
operations in the PostScript language.

The Ghostscript language interpreter and library are written entirely
in C, with some assembly-language accelerators for MS-DOS platforms.
Currently, Ghostscript is known to run on the following platform
families:

- IBM PC and compatibles with EGA, VGA, SuperVGA, or compatible
graphics under MS-DOS 3.1, 3.3, or 5.0, with or without
Microsoft Windows 3.0 or 3.1;

- A wide variety of Unix systems using X Windows version 11,
release 3, 4, and 5, including Sun-3, Sun-4, Sun-386i,
Sun SPARCStation 1 and 2; generic 80386 machines running 386/ix,
ISC Unix, and SCO Unix; H-P 9000/300 and 9000/800;
DECStation 2100 and 3100; VAX running Ultrix; Sequent Symmetry;
Convex C1 and C2; Tektronix 4300; SGI Iris Indigo;

- Sun workstations (Sun-3, SPARC, Sun-386i) running SunView;

- VAX, VMS with X11R3/4/5, gcc and DEC C compiler (DEC C compiler
version 3.1 or later is required).

It is very likely that Ghostscript will run under other versions of
MS-DOS, and other versions of Unix that support X11, but it has not
been tested in these environments. Ghostscript does NOT run well on
PC-compatibles with Hercules display cards: text and graphics output
interfere with each other.

Ghostscript has also been ported to the Apple Macintosh and to the
Acorn Archimedes. For information on the Macintosh port, contact
Martin Fong ([email protected]). For information on the Archimedes
port, contact David Elworthy ([email protected]).

********
******** Related programs
********

There are two freely available X Windows screen previewers based on
Ghostscript: Ghostview and GSPreview. For information on Ghostview,
contact Tim Theisen ([email protected]). For information on
GSPreview, contact Richard Hesketh ([email protected]).

A set of patches and additions for Kanji capability for Ghostscript
version 2.4.1 is available for anonymous FTP from
ftp.cs.titech.ac.jp:GNU/gs241j11.tar.Z. For more information, contact
Mr. Norio Katayama ([email protected]).

********
******** Documentation overview ********
********

All the file names mentioned in the documentation, except for README,
are in lower case, which is the usual convention for Unix systems.
On MS-DOS systems, all file names are actually upper-case.

When you receive Ghostscript, you should start by reading:

> README - this file.

> readme.doc - information about problems and major changes new
features in the current release.

If you have used a previous release of Ghostscript, you probably
should also read any more recent sections of:

> NEWS - a complete, detailed history of changes in Ghostscript
releases.

Especially for new users
------------------------

If you are a new user of Ghostscript, you should read:

> use.doc - information about to use Ghostscript.

If you are going to compile Ghostscript, rather than just use an
executable you got from somewhere, you should read:

> make.doc - how to install, compile and link Ghostscript.

If you run into any questions, or if you are going to be using
Ghostscript extensively, you should at least skim, and probably
eventually read:

> fonts.doc - information about the fonts distributed with
Ghostscript, including how to add or replace fonts.

> language.doc - A description of the Ghostscript language, and its
differences from the documented PostScript language.

> psfiles.doc - information about the .ps files distributed with
Ghostscript (other than fonts).

Especially for developers
-------------------------

If you are going to be writing a new driver for Ghostscript, you
should read:

> drivers.doc - the interface between Ghostscript and device drivers.

Odds and ends
-------------

> hershey.doc - information about the Hershey fonts, which are the
basis of some of the Ghostscript fonts.

> humor.doc - a humorous comment on Ghostscript contributed by a net.person.

> lib.doc - information about the Ghostscript library.

> man.doc - a possible Un*x 'man' page for Ghostscript.

********
******** Trouble reporting ********
********

Aladdin Enterprises doesn't have the resources to respond to questions
from general users of Ghostscript. If you have problems with
Ghostscript, and you have access to Usenet news, we suggest you post
your question to gnu.ghostscript.bug. There are hundreds of
Ghostscript user sites all over the world, and often another user will
be able to help you. If you are having trouble with a specific device
driver, look in the file devs.mak and see if it is a user-maintained
driver. If so, you may contact the person listed there directly;
please do not contact Aladdin Enterprises regarding user-maintained
drivers.

Aladdin Enterprises does want Ghostscript to be of high quality, so if
you have been running Ghostscript and encounter a problem, we will be
glad to investigate it if you meet all the following criteria:

- You are using the most recent version of Ghostscript.

- You obtained Ghostscript directly from Aladdin Enterprises,
or from a GNU distribution site on the Internet.

- You have installed Ghostscript successfully, and used it
successfully on other input data.

- Your problem is reproducible, and you can send us the input
data that evokes it (by e-mail, anonymous FTP, or PC diskette).

- Your bug report tells us what hardware, operating system,
window system, and C compiler you are using.

Bug reports that include suggested fixes are especially welcome.

As time permits, Aladdin Enterprises will also respond to e-mail from
the following classes of users:

- Beta testers who have actually given us at least one report on
some beta version supplied to them.

- People developing drivers that are for, or applications that
are based on, Ghostscript and that will be made freely available.

- People who express serious interest in commercial licensing
of Ghostscript.

- Commercial licensees.

Given the choice between the Internet and the UUCP address, remember
that the Internet is not to be used for general commercial traffic:
if you aren't sure whether you or your organization can use the
Internet, use UUCP.

Aladdin Enterprises owns or has access to the following hardware and
software:

80486 PC, MS-DOS 5.0, Microsoft Windows 3.0;
Borland C++ 3.1 (and several older versions);
color SuperVGA display; Epson-compatible printer
(the printer also is compatible with the IBM Proprinter);
various H-P printers; Canon BubbleJet.

SPARCstation, SunOS 4.1, cc and gcc, X11R5 and SunView;
both monochrome and color displays.

DECstation, Ultrix.

If your problem turns out to be specific to some other hardware or
software configuration, it may take longer to track down, since we
will have to rely on other users to help.

If you wish to contact Aladdin Enterprises directly, you may reach us
at:

Aladdin Enterprises
P.O. box 60264
Palo Alto, CA 94306
voice (415)322-0103
fax (415)322-1734
...{uunet,decwrl}!aladdin!ghost
[email protected]

If you call on the phone, you will usually be talking to an answering
machine. In this case, please leave a message with your name and
phone number and the best time for us to return the call.

********
******** Things you can do to help ********
********

There are some projects that users could do that are somewhat
decoupled from the main body of the code, and that would help improve
Ghostscript:

- Ghostscript needs some good, free, Type 1 (outline) fonts.
Karl Berry is working on this, but it might go faster if he got some
knowledgeable assistance. Contact [email protected] if you want to
help with this.

- Several people have asked for a program that will take
PostScript code and reconstruct some reasonable ASCII form of the
input, if this is possible. Ghostscript's gs_2asc.ps utility does a
fair job of extracting the strings and their placement on the page,
but that's only the easy half of the job: a second pass is needed to
figure out, at a minimum, where paragraph breaks are (based on Y
positioning), and where spaces go (based on X positioning). Contact
[email protected] if you want to help by doing this.

- Adobe has donated the specification of the Display
PostScript C API to the X distribution. Implementing this API for
Ghostscript might make Ghostscript a lot more useful, since it would
then be "plug compatible" with Display PostScript in an important
way. This might not be a very big project. Contact
[email protected] if you would like to help with this.

- On gray-scale displays, it might be worthwhile implementing
anti-aliased fonts. To do this, one would modify the renderer so
that it cached a high-resolution bitmap, and then did the
anti-aliasing as it copied the bitmap to the device. This would
allow simulating fractional-pixel positioning, which is one of the
great benefits of anti-aliased fonts. Contact [email protected] if
this is of interest to you.

********
******** Authors ********
********

Ghostscript was originally created, and is still primarily developed
and maintained, by L. Peter Deutsch, proprietor of Aladdin
Enterprises.

The following users (in alphabetical order) have contributed
substantially to improving Ghostscript:

Hitoshi Aida (for help with the SunView driver),
William Bader (for several drivers and bug reports),
Karl Berry and Kathy Hargreaves (for helping create the fonts
distributed with Ghostscript),
George Cameron (for a DeskJet 500C driver),
Phil Conrad (for originating the PPM utilities and the PCX and
GIF drivers, and lots of bug reports),
Michel Dagenais (for major help with the DeskJet driver),
Gershon Elber (for improvements to the BGI driver),
Mike Ferrara (for help with the LaserJet driver and HP-UX),
J Greely (for help with the PostScript-to-ASCII filter),
Paul Haeberli (for the ideas behind better color selection
and trapezoid fill algorithms),
Richard Hesketh (for GSPreview),
Thomas Hiller (for the Trident TVGA driver),
Frans van Hoesel (for improvements to the DeskJet driver),
Alfred Kayser (for a DeskJet 500C driver and beta testing),
Richard Keeney (for help with the SunView driver),
Eleftherios Koutsofios (for help with the SunView driver),
Markku Koppinen (for a better circle-to-curve algorithm),
Russell Lang and Maurice Castro (for the first working Microsoft
Windows driver),
Ian MacPhedran (for a sixel driver),
Jim Mayer (for help with the DeskJet and LaserJet drivers),
Richard Mlynarik (for a nearly overwhelming volume of
improvements and suggestions),
Ulrich Mueller (for the LN03 driver),
Daniel Newman (for major help with VMS and the CCITT Fax filters),
Roque Donizete de Oliveira (for testing and debugging,
and a 'man' page),
Marc Paquette (for the original PaintJet driver),
Hal Peterson (for major help with BDF fonts),
Tom Quinn (for the Canon LBP-8II driver),
Jerry Roylance (for help with statusdict),
Dave St. Clair (for the color Epson/Fujitsu driver),
Jan Sanislo (for two subtle but vital fixes),
Clemens Schrimpe (for help with accented characters),
Mike Smolenski (for the Sony drivers),
Snoopy (for major help with Hershey fonts, and many other
contributions),
Karsten Spang (for the Tektronix ink-jet driver),
Andreas Stolcke (for help with the SunView driver),
Chris Strozyk (for getting the URW fonts made available),
Michael Sweet (for help with the high-density Epson driver),
Tim Theisen (for help with the X Windows driver, and for the
Ghostview previewer that is built on Ghostscript),
Gregg Townsend (for the low-resolution dithering algorithm),
Christian Tschudin (for fixes to the virtual memory package,
and for the original BubbleJet driver),
Jos Vos (for the original PBM/PGM/PPM driver),
Allan Wax (for the AT&T 6300 modification to the BGI driver),
David Wexelblat (for the high-resolution 9-pin Epson driver),
Elizabeth Zwicky (for some very challenging examples).

The following people have also helped out by beta testing, by
reporting bugs, or in other ways:

Vikas Aggarwal, Michael Almond,
Malcolm Bennett,
Jim Collins,
Peter da Silva, Art Dederick, Paul DuBois,
Toerless Eckert,
Mark Friedman, Richard Foulk,
Glenn Geers, Dave Goldblatt, Dirk Grunwald,
Lars Haakedal, Adam Hammer, George Hartzell, Mike Hoffmann,
Brad Jones, Terry Jones,
David Keppel,
Anthony Lee, John Lundin Jr., Lee McLoughlin,
Stergios Marinopoulos, Herb Martin, David Maynard,
Doug McDonald, Rich Murphey,
Russ Nelson,
Peter Phillips,
Mark Rawling, Philippe Robert, Tomas Rokicki, Wolfgang Rupprecht,
Bill Schelter, Bakul Shah,
Erik Talvola,
Amanda Walker, Peter Wan, Carsten Wiethoff, Carl Witty,
Frank Yellin,
Jamie Zawinski.

If your name appears on the above list and I've forgotten a
particular contribution you made, or if it doesn't appear at all,
please forgive me: just remind me, and you will be properly
acknowledged in the next release.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

PostScript is a trademark of Adobe Systems, Incorporated.


Contents of the README.DOC file


Copyright (C) 1989, 1992 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.

This file is part of Ghostscript.

Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.

Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*****************************************************
* This file describes version 2.5.2 of Ghostscript. *
*****************************************************

********
******** An overview of Ghostscript ********
********

Ghostscript is the name of a set of software that provides:

- An interpreter for the PostScript (TM) language, and

- A set of C procedures (the Ghostscript library) that
implement the graphics capabilities that appear as primitive
operations in the PostScript language.

The Ghostscript language interpreter and library are written entirely
in C, with some assembly-language accelerators for MS-DOS platforms.
Currently, Ghostscript is known to run on the following platform
families:

- IBM PC and compatibles with EGA, VGA, SuperVGA, or compatible
graphics under MS-DOS 3.1, 3.3, or 5.0, with or without
Microsoft Windows 3.0 or 3.1;

- A wide variety of Unix systems using X Windows version 11,
release 3, 4, and 5, including Sun-3, Sun-4, Sun-386i,
Sun SPARCStation 1 and 2; generic 80386 machines running 386/ix,
ISC Unix, and SCO Unix; H-P 9000/300 and 9000/800;
DECStation 2100 and 3100; VAX running Ultrix; Sequent Symmetry;
Convex C1 and C2; Tektronix 4300; SGI Iris Indigo;

- Sun workstations (Sun-3, SPARC, Sun-386i) running SunView;

- VAX, VMS with X11R3/4/5, gcc and DEC C compiler (DEC C compiler
version 3.1 or later is required).

It is very likely that Ghostscript will run under other versions of
MS-DOS, and other versions of Unix that support X11, but it has not
been tested in these environments. Ghostscript does NOT run well on
PC-compatibles with Hercules display cards: text and graphics output
interfere with each other.

Ghostscript has also been ported to the Apple Macintosh and to the
Acorn Archimedes. For information on the Macintosh port, contact
Martin Fong ([email protected]). For information on the Archimedes
port, contact David Elworthy ([email protected]).

********
******** Related programs
********

There are two freely available X Windows screen previewers based on
Ghostscript: Ghostview and GSPreview. For information on Ghostview,
contact Tim Theisen ([email protected]). For information on
GSPreview, contact Richard Hesketh ([email protected]).

A set of patches and additions for Kanji capability for Ghostscript
version 2.4.1 is available for anonymous FTP from
ftp.cs.titech.ac.jp:GNU/gs241j11.tar.Z. For more information, contact
Mr. Norio Katayama ([email protected]).

********
******** Documentation overview ********
********

All the file names mentioned in the documentation, except for README,
are in lower case, which is the usual convention for Unix systems.
On MS-DOS systems, all file names are actually upper-case.

When you receive Ghostscript, you should start by reading:

> README - this file.

> readme.doc - information about problems and major changes new
features in the current release.

If you have used a previous release of Ghostscript, you probably
should also read any more recent sections of:

> NEWS - a complete, detailed history of changes in Ghostscript
releases.

Especially for new users
------------------------

If you are a new user of Ghostscript, you should read:

> use.doc - information about to use Ghostscript.

If you are going to compile Ghostscript, rather than just use an
executable you got from somewhere, you should read:

> make.doc - how to install, compile and link Ghostscript.

If you run into any questions, or if you are going to be using
Ghostscript extensively, you should at least skim, and probably
eventually read:

> fonts.doc - information about the fonts distributed with
Ghostscript, including how to add or replace fonts.

> language.doc - A description of the Ghostscript language, and its
differences from the documented PostScript language.

> psfiles.doc - information about the .ps files distributed with
Ghostscript (other than fonts).

Especially for developers
-------------------------

If you are going to be writing a new driver for Ghostscript, you
should read:

> drivers.doc - the interface between Ghostscript and device drivers.

Odds and ends
-------------

> hershey.doc - information about the Hershey fonts, which are the
basis of some of the Ghostscript fonts.

> humor.doc - a humorous comment on Ghostscript contributed by a net.person.

> lib.doc - information about the Ghostscript library.

> man.doc - a possible Un*x 'man' page for Ghostscript.

********
******** Trouble reporting ********
********

Aladdin Enterprises doesn't have the resources to respond to questions
from general users of Ghostscript. If you have problems with
Ghostscript, and you have access to Usenet news, we suggest you post
your question to gnu.ghostscript.bug. There are hundreds of
Ghostscript user sites all over the world, and often another user will
be able to help you. If you are having trouble with a specific device
driver, look in the file devs.mak and see if it is a user-maintained
driver. If so, you may contact the person listed there directly;
please do not contact Aladdin Enterprises regarding user-maintained
drivers.

Aladdin Enterprises does want Ghostscript to be of high quality, so if
you have been running Ghostscript and encounter a problem, we will be
glad to investigate it if you meet all the following criteria:

- You are using the most recent version of Ghostscript.

- You obtained Ghostscript directly from Aladdin Enterprises,
or from a GNU distribution site on the Internet.

- You have installed Ghostscript successfully, and used it
successfully on other input data.

- Your problem is reproducible, and you can send us the input
data that evokes it (by e-mail, anonymous FTP, or PC diskette).

- Your bug report tells us what hardware, operating system,
window system, and C compiler you are using.

Bug reports that include suggested fixes are especially welcome.

As time permits, Aladdin Enterprises will also respond to e-mail from
the following classes of users:

- Beta testers who have actually given us at least one report on
some beta version supplied to them.

- People developing drivers that are for, or applications that
are based on, Ghostscript and that will be made freely available.

- People who express serious interest in commercial licensing
of Ghostscript.

- Commercial licensees.

Given the choice between the Internet and the UUCP address, remember
that the Internet is not to be used for general commercial traffic:
if you aren't sure whether you or your organization can use the
Internet, use UUCP.

Aladdin Enterprises owns or has access to the following hardware and
software:

80486 PC, MS-DOS 5.0, Microsoft Windows 3.0;
Borland C++ 3.1 (and several older versions);
color SuperVGA display; Epson-compatible printer
(the printer also is compatible with the IBM Proprinter);
various H-P printers; Canon BubbleJet.

SPARCstation, SunOS 4.1, cc and gcc, X11R5 and SunView;
both monochrome and color displays.

DECstation, Ultrix.

If your problem turns out to be specific to some other hardware or
software configuration, it may take longer to track down, since we
will have to rely on other users to help.

If you wish to contact Aladdin Enterprises directly, you may reach us
at:

Aladdin Enterprises
P.O. box 60264
Palo Alto, CA 94306
voice (415)322-0103
fax (415)322-1734
...{uunet,decwrl}!aladdin!ghost
[email protected]

If you call on the phone, you will usually be talking to an answering
machine. In this case, please leave a message with your name and
phone number and the best time for us to return the call.

********
******** Things you can do to help ********
********

There are some projects that users could do that are somewhat
decoupled from the main body of the code, and that would help improve
Ghostscript:

- Ghostscript needs some good, free, Type 1 (outline) fonts.
Karl Berry is working on this, but it might go faster if he got some
knowledgeable assistance. Contact [email protected] if you want to
help with this.

- Several people have asked for a program that will take
PostScript code and reconstruct some reasonable ASCII form of the
input, if this is possible. Ghostscript's gs_2asc.ps utility does a
fair job of extracting the strings and their placement on the page,
but that's only the easy half of the job: a second pass is needed to
figure out, at a minimum, where paragraph breaks are (based on Y
positioning), and where spaces go (based on X positioning). Contact
[email protected] if you want to help by doing this.

- Adobe has donated the specification of the Display
PostScript C API to the X distribution. Implementing this API for
Ghostscript might make Ghostscript a lot more useful, since it would
then be "plug compatible" with Display PostScript in an important
way. This might not be a very big project. Contact
[email protected] if you would like to help with this.

- On gray-scale displays, it might be worthwhile implementing
anti-aliased fonts. To do this, one would modify the renderer so
that it cached a high-resolution bitmap, and then did the
anti-aliasing as it copied the bitmap to the device. This would
allow simulating fractional-pixel positioning, which is one of the
great benefits of anti-aliased fonts. Contact [email protected] if
this is of interest to you.

********
******** Authors ********
********

Ghostscript was originally created, and is still primarily developed
and maintained, by L. Peter Deutsch, proprietor of Aladdin
Enterprises.

The following users (in alphabetical order) have contributed
substantially to improving Ghostscript:

Hitoshi Aida (for help with the SunView driver),
William Bader (for several drivers and bug reports),
Karl Berry and Kathy Hargreaves (for helping create the fonts
distributed with Ghostscript),
George Cameron (for a DeskJet 500C driver),
Phil Conrad (for originating the PPM utilities and the PCX and
GIF drivers, and lots of bug reports),
Michel Dagenais (for major help with the DeskJet driver),
Gershon Elber (for improvements to the BGI driver),
Mike Ferrara (for help with the LaserJet driver and HP-UX),
J Greely (for help with the PostScript-to-ASCII filter),
Paul Haeberli (for the ideas behind better color selection
and trapezoid fill algorithms),
Richard Hesketh (for GSPreview),
Thomas Hiller (for the Trident TVGA driver),
Frans van Hoesel (for improvements to the DeskJet driver),
Alfred Kayser (for a DeskJet 500C driver and beta testing),
Richard Keeney (for help with the SunView driver),
Eleftherios Koutsofios (for help with the SunView driver),
Markku Koppinen (for a better circle-to-curve algorithm),
Russell Lang and Maurice Castro (for the first working Microsoft
Windows driver),
Ian MacPhedran (for a sixel driver),
Jim Mayer (for help with the DeskJet and LaserJet drivers),
Richard Mlynarik (for a nearly overwhelming volume of
improvements and suggestions),
Ulrich Mueller (for the LN03 driver),
Daniel Newman (for major help with VMS and the CCITT Fax filters),
Roque Donizete de Oliveira (for testing and debugging,
and a 'man' page),
Marc Paquette (for the original PaintJet driver),
Hal Peterson (for major help with BDF fonts),
Tom Quinn (for the Canon LBP-8II driver),
Jerry Roylance (for help with statusdict),
Dave St. Clair (for the color Epson/Fujitsu driver),
Jan Sanislo (for two subtle but vital fixes),
Clemens Schrimpe (for help with accented characters),
Mike Smolenski (for the Sony drivers),
Snoopy (for major help with Hershey fonts, and many other
contributions),
Karsten Spang (for the Tektronix ink-jet driver),
Andreas Stolcke (for help with the SunView driver),
Chris Strozyk (for getting the URW fonts made available),
Michael Sweet (for help with the high-density Epson driver),
Tim Theisen (for help with the X Windows driver, and for the
Ghostview previewer that is built on Ghostscript),
Gregg Townsend (for the low-resolution dithering algorithm),
Christian Tschudin (for fixes to the virtual memory package,
and for the original BubbleJet driver),
Jos Vos (for the original PBM/PGM/PPM driver),
Allan Wax (for the AT&T 6300 modification to the BGI driver),
David Wexelblat (for the high-resolution 9-pin Epson driver),
Elizabeth Zwicky (for some very challenging examples).

The following people have also helped out by beta testing, by
reporting bugs, or in other ways:

Vikas Aggarwal, Michael Almond,
Malcolm Bennett,
Jim Collins,
Peter da Silva, Art Dederick, Paul DuBois,
Toerless Eckert,
Mark Friedman, Richard Foulk,
Glenn Geers, Dave Goldblatt, Dirk Grunwald,
Lars Haakedal, Adam Hammer, George Hartzell, Mike Hoffmann,
Brad Jones, Terry Jones,
David Keppel,
Anthony Lee, John Lundin Jr., Lee McLoughlin,
Stergios Marinopoulos, Herb Martin, David Maynard,
Doug McDonald, Rich Murphey,
Russ Nelson,
Peter Phillips,
Mark Rawling, Philippe Robert, Tomas Rokicki, Wolfgang Rupprecht,
Bill Schelter, Bakul Shah,
Erik Talvola,
Amanda Walker, Peter Wan, Carsten Wiethoff, Carl Witty,
Frank Yellin,
Jamie Zawinski.

If your name appears on the above list and I've forgotten a
particular contribution you made, or if it doesn't appear at all,
please forgive me: just remind me, and you will be properly
acknowledged in the next release.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

PostScript is a trademark of Adobe Systems, Incorporated.
Copyright (C) 1990, 1992 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.

This file is part of Ghostscript.

Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.

Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This file, readme.doc, describes problems and new features in the
current release of Ghostscript. This file describes version 2.5.2 of
Ghostscript.

For an overview of Ghostscript and a list of the documentation files, see
README.

New features
============

Note: this is not a complete list of new features. See the most recent
section of NEWS for full details.

The DeskJet and LaserJet drivers (finally) work correctly.

You can now set all settable device properties (OutputFile,
BufferSpace, MaxBitmap) using -s or -d on the command line.

Known problems
==============

Interpreter
-----------

The interactive interpreter requires that every statement fit on a line,
i.e., you can't have an unpaired ( or {.

On a MS-DOS system, interrupting Ghostscript by typing ^C doesn't restore
the display mode.

Operators
---------

The Ghostscript language does not include the following operators of the
PostScript language:

resetfile
banddevice, renderbands (these are obsolete)

The following are not implemented completely:

%statementedit (file name): interpreted as equivalent to
%lineedit.

Most of the new color operators, particularly those that support the CMYK
color model, are implemented as Ghostscript language procedures, and they
essentially emulate CMYK using RGB.

The following operators that expect arrays won't accept packed arrays:
definefont (Subrs (type 1 fonts))
setdash (dash pattern)
setcachedevice (bounding box)
makeimagedevice (palette)

The file operator only recognizes modes r and w, not the newer modes r+,
w+, a, and a+.

Limitations
-----------

Floating point exceptions terminate Ghostscript, rather than producing a
rangecheck error.

Some access checks aren't implemented.

copypage does nothing in the MS-DOS implementation, and merely
synchronizes the X connection in the Unix implementation. showpage is a
procedure that does a copypage and then beeps the bell and waits for the
user to hit a key. (copypage does do the right thing for printers.)

Graphics bugs
-------------

strokepath produces incorrect output for dashed lines.

The implementation only looks at the PaintType of the font when doing
show, not when doing charpath. Because of this, stroked fonts don't work
correctly with charpath.

arcto gives an error for negative radii.

Changing the contents of the Encoding array or the Metrics dictionary of a
font dynamically doesn't produce the expected result (may have no effect)
if character caching is enabled.

Halftone patterns "flip over" at the 50% coverage point, producing
anomalous visual effects on some color devices.

We have not been able to test 2-, 4-, and 16-bit memory devices as
thoroughly as 1-, 8-, 24-, and 32-bit devices; please report any
problems.

Opening more than one window device at the same time doesn't work.
This is the case for both X Windows and Microsoft Windows.

Non-graphics bugs
-----------------

restore doesn't properly undo currentgstate.

copy doesn't handle gstates.


Contents of the README.1ST file


Copyright (C) 1989, 1992 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.

This file is part of Ghostscript.

Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.

Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*****************************************************
* This file describes version 2.5.2 of Ghostscript. *
*****************************************************

********
******** An overview of Ghostscript ********
********

Ghostscript is the name of a set of software that provides:

- An interpreter for the PostScript (TM) language, and

- A set of C procedures (the Ghostscript library) that
implement the graphics capabilities that appear as primitive
operations in the PostScript language.

The Ghostscript language interpreter and library are written entirely
in C, with some assembly-language accelerators for MS-DOS platforms.
Currently, Ghostscript is known to run on the following platform
families:

- IBM PC and compatibles with EGA, VGA, SuperVGA, or compatible
graphics under MS-DOS 3.1, 3.3, or 5.0, with or without
Microsoft Windows 3.0 or 3.1;

- A wide variety of Unix systems using X Windows version 11,
release 3, 4, and 5, including Sun-3, Sun-4, Sun-386i,
Sun SPARCStation 1 and 2; generic 80386 machines running 386/ix,
ISC Unix, and SCO Unix; H-P 9000/300 and 9000/800;
DECStation 2100 and 3100; VAX running Ultrix; Sequent Symmetry;
Convex C1 and C2; Tektronix 4300; SGI Iris Indigo;

- Sun workstations (Sun-3, SPARC, Sun-386i) running SunView;

- VAX, VMS with X11R3/4/5, gcc and DEC C compiler (DEC C compiler
version 3.1 or later is required).

It is very likely that Ghostscript will run under other versions of
MS-DOS, and other versions of Unix that support X11, but it has not
been tested in these environments. Ghostscript does NOT run well on
PC-compatibles with Hercules display cards: text and graphics output
interfere with each other.

Ghostscript has also been ported to the Apple Macintosh and to the
Acorn Archimedes. For information on the Macintosh port, contact
Martin Fong ([email protected]). For information on the Archimedes
port, contact David Elworthy ([email protected]).

********
******** Related programs
********

There are two freely available X Windows screen previewers based on
Ghostscript: Ghostview and GSPreview. For information on Ghostview,
contact Tim Theisen ([email protected]). For information on
GSPreview, contact Richard Hesketh ([email protected]).

A set of patches and additions for Kanji capability for Ghostscript
version 2.4.1 is available for anonymous FTP from
ftp.cs.titech.ac.jp:GNU/gs241j11.tar.Z. For more information, contact
Mr. Norio Katayama ([email protected]).

********
******** Documentation overview ********
********

All the file names mentioned in the documentation, except for README,
are in lower case, which is the usual convention for Unix systems.
On MS-DOS systems, all file names are actually upper-case.

When you receive Ghostscript, you should start by reading:

> README - this file.

> readme.doc - information about problems and major changes new
features in the current release.

If you have used a previous release of Ghostscript, you probably
should also read any more recent sections of:

> NEWS - a complete, detailed history of changes in Ghostscript
releases.

Especially for new users
------------------------

If you are a new user of Ghostscript, you should read:

> use.doc - information about to use Ghostscript.

If you are going to compile Ghostscript, rather than just use an
executable you got from somewhere, you should read:

> make.doc - how to install, compile and link Ghostscript.

If you run into any questions, or if you are going to be using
Ghostscript extensively, you should at least skim, and probably
eventually read:

> fonts.doc - information about the fonts distributed with
Ghostscript, including how to add or replace fonts.

> language.doc - A description of the Ghostscript language, and its
differences from the documented PostScript language.

> psfiles.doc - information about the .ps files distributed with
Ghostscript (other than fonts).

Especially for developers
-------------------------

If you are going to be writing a new driver for Ghostscript, you
should read:

> drivers.doc - the interface between Ghostscript and device drivers.

Odds and ends
-------------

> hershey.doc - information about the Hershey fonts, which are the
basis of some of the Ghostscript fonts.

> humor.doc - a humorous comment on Ghostscript contributed by a net.person.

> lib.doc - information about the Ghostscript library.

> man.doc - a possible Un*x 'man' page for Ghostscript.

********
******** Trouble reporting ********
********

Aladdin Enterprises doesn't have the resources to respond to questions
from general users of Ghostscript. If you have problems with
Ghostscript, and you have access to Usenet news, we suggest you post
your question to gnu.ghostscript.bug. There are hundreds of
Ghostscript user sites all over the world, and often another user will
be able to help you. If you are having trouble with a specific device
driver, look in the file devs.mak and see if it is a user-maintained
driver. If so, you may contact the person listed there directly;
please do not contact Aladdin Enterprises regarding user-maintained
drivers.

Aladdin Enterprises does want Ghostscript to be of high quality, so if
you have been running Ghostscript and encounter a problem, we will be
glad to investigate it if you meet all the following criteria:

- You are using the most recent version of Ghostscript.

- You obtained Ghostscript directly from Aladdin Enterprises,
or from a GNU distribution site on the Internet.

- You have installed Ghostscript successfully, and used it
successfully on other input data.

- Your problem is reproducible, and you can send us the input
data that evokes it (by e-mail, anonymous FTP, or PC diskette).

- Your bug report tells us what hardware, operating system,
window system, and C compiler you are using.

Bug reports that include suggested fixes are especially welcome.

As time permits, Aladdin Enterprises will also respond to e-mail from
the following classes of users:

- Beta testers who have actually given us at least one report on
some beta version supplied to them.

- People developing drivers that are for, or applications that
are based on, Ghostscript and that will be made freely available.

- People who express serious interest in commercial licensing
of Ghostscript.

- Commercial licensees.

Given the choice between the Internet and the UUCP address, remember
that the Internet is not to be used for general commercial traffic:
if you aren't sure whether you or your organization can use the
Internet, use UUCP.

Aladdin Enterprises owns or has access to the following hardware and
software:

80486 PC, MS-DOS 5.0, Microsoft Windows 3.0;
Borland C++ 3.1 (and several older versions);
color SuperVGA display; Epson-compatible printer
(the printer also is compatible with the IBM Proprinter);
various H-P printers; Canon BubbleJet.

SPARCstation, SunOS 4.1, cc and gcc, X11R5 and SunView;
both monochrome and color displays.

DECstation, Ultrix.

If your problem turns out to be specific to some other hardware or
software configuration, it may take longer to track down, since we
will have to rely on other users to help.

If you wish to contact Aladdin Enterprises directly, you may reach us
at:

Aladdin Enterprises
P.O. box 60264
Palo Alto, CA 94306
voice (415)322-0103
fax (415)322-1734
...{uunet,decwrl}!aladdin!ghost
[email protected]

If you call on the phone, you will usually be talking to an answering
machine. In this case, please leave a message with your name and
phone number and the best time for us to return the call.

********
******** Things you can do to help ********
********

There are some projects that users could do that are somewhat
decoupled from the main body of the code, and that would help improve
Ghostscript:

- Ghostscript needs some good, free, Type 1 (outline) fonts.
Karl Berry is working on this, but it might go faster if he got some
knowledgeable assistance. Contact [email protected] if you want to
help with this.

- Several people have asked for a program that will take
PostScript code and reconstruct some reasonable ASCII form of the
input, if this is possible. Ghostscript's gs_2asc.ps utility does a
fair job of extracting the strings and their placement on the page,
but that's only the easy half of the job: a second pass is needed to
figure out, at a minimum, where paragraph breaks are (based on Y
positioning), and where spaces go (based on X positioning). Contact
[email protected] if you want to help by doing this.

- Adobe has donated the specification of the Display
PostScript C API to the X distribution. Implementing this API for
Ghostscript might make Ghostscript a lot more useful, since it would
then be "plug compatible" with Display PostScript in an important
way. This might not be a very big project. Contact
[email protected] if you would like to help with this.

- On gray-scale displays, it might be worthwhile implementing
anti-aliased fonts. To do this, one would modify the renderer so
that it cached a high-resolution bitmap, and then did the
anti-aliasing as it copied the bitmap to the device. This would
allow simulating fractional-pixel positioning, which is one of the
great benefits of anti-aliased fonts. Contact [email protected] if
this is of interest to you.

********
******** Authors ********
********

Ghostscript was originally created, and is still primarily developed
and maintained, by L. Peter Deutsch, proprietor of Aladdin
Enterprises.

The following users (in alphabetical order) have contributed
substantially to improving Ghostscript:

Hitoshi Aida (for help with the SunView driver),
William Bader (for several drivers and bug reports),
Karl Berry and Kathy Hargreaves (for helping create the fonts
distributed with Ghostscript),
George Cameron (for a DeskJet 500C driver),
Phil Conrad (for originating the PPM utilities and the PCX and
GIF drivers, and lots of bug reports),
Michel Dagenais (for major help with the DeskJet driver),
Gershon Elber (for improvements to the BGI driver),
Mike Ferrara (for help with the LaserJet driver and HP-UX),
J Greely (for help with the PostScript-to-ASCII filter),
Paul Haeberli (for the ideas behind better color selection
and trapezoid fill algorithms),
Richard Hesketh (for GSPreview),
Thomas Hiller (for the Trident TVGA driver),
Frans van Hoesel (for improvements to the DeskJet driver),
Alfred Kayser (for a DeskJet 500C driver and beta testing),
Richard Keeney (for help with the SunView driver),
Eleftherios Koutsofios (for help with the SunView driver),
Markku Koppinen (for a better circle-to-curve algorithm),
Russell Lang and Maurice Castro (for the first working Microsoft
Windows driver),
Ian MacPhedran (for a sixel driver),
Jim Mayer (for help with the DeskJet and LaserJet drivers),
Richard Mlynarik (for a nearly overwhelming volume of
improvements and suggestions),
Ulrich Mueller (for the LN03 driver),
Daniel Newman (for major help with VMS and the CCITT Fax filters),
Roque Donizete de Oliveira (for testing and debugging,
and a 'man' page),
Marc Paquette (for the original PaintJet driver),
Hal Peterson (for major help with BDF fonts),
Tom Quinn (for the Canon LBP-8II driver),
Jerry Roylance (for help with statusdict),
Dave St. Clair (for the color Epson/Fujitsu driver),
Jan Sanislo (for two subtle but vital fixes),
Clemens Schrimpe (for help with accented characters),
Mike Smolenski (for the Sony drivers),
Snoopy (for major help with Hershey fonts, and many other
contributions),
Karsten Spang (for the Tektronix ink-jet driver),
Andreas Stolcke (for help with the SunView driver),
Chris Strozyk (for getting the URW fonts made available),
Michael Sweet (for help with the high-density Epson driver),
Tim Theisen (for help with the X Windows driver, and for the
Ghostview previewer that is built on Ghostscript),
Gregg Townsend (for the low-resolution dithering algorithm),
Christian Tschudin (for fixes to the virtual memory package,
and for the original BubbleJet driver),
Jos Vos (for the original PBM/PGM/PPM driver),
Allan Wax (for the AT&T 6300 modification to the BGI driver),
David Wexelblat (for the high-resolution 9-pin Epson driver),
Elizabeth Zwicky (for some very challenging examples).

The following people have also helped out by beta testing, by
reporting bugs, or in other ways:

Vikas Aggarwal, Michael Almond,
Malcolm Bennett,
Jim Collins,
Peter da Silva, Art Dederick, Paul DuBois,
Toerless Eckert,
Mark Friedman, Richard Foulk,
Glenn Geers, Dave Goldblatt, Dirk Grunwald,
Lars Haakedal, Adam Hammer, George Hartzell, Mike Hoffmann,
Brad Jones, Terry Jones,
David Keppel,
Anthony Lee, John Lundin Jr., Lee McLoughlin,
Stergios Marinopoulos, Herb Martin, David Maynard,
Doug McDonald, Rich Murphey,
Russ Nelson,
Peter Phillips,
Mark Rawling, Philippe Robert, Tomas Rokicki, Wolfgang Rupprecht,
Bill Schelter, Bakul Shah,
Erik Talvola,
Amanda Walker, Peter Wan, Carsten Wiethoff, Carl Witty,
Frank Yellin,
Jamie Zawinski.

If your name appears on the above list and I've forgotten a
particular contribution you made, or if it doesn't appear at all,
please forgive me: just remind me, and you will be properly
acknowledged in the next release.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

PostScript is a trademark of Adobe Systems, Incorporated.
Copyright (C) 1990, 1992 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.

This file is part of Ghostscript.

Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.

Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This file, readme.doc, describes problems and new features in the
current release of Ghostscript. This file describes version 2.5.2 of
Ghostscript.

For an overview of Ghostscript and a list of the documentation files, see
README.

New features
============

Note: this is not a complete list of new features. See the most recent
section of NEWS for full details.

The DeskJet and LaserJet drivers (finally) work correctly.

You can now set all settable device properties (OutputFile,
BufferSpace, MaxBitmap) using -s or -d on the command line.

Known problems
==============

Interpreter
-----------

The interactive interpreter requires that every statement fit on a line,
i.e., you can't have an unpaired ( or {.

On a MS-DOS system, interrupting Ghostscript by typing ^C doesn't restore
the display mode.

Operators
---------

The Ghostscript language does not include the following operators of the
PostScript language:

resetfile
banddevice, renderbands (these are obsolete)

The following are not implemented completely:

%statementedit (file name): interpreted as equivalent to
%lineedit.

Most of the new color operators, particularly those that support the CMYK
color model, are implemented as Ghostscript language procedures, and they
essentially emulate CMYK using RGB.

The following operators that expect arrays won't accept packed arrays:
definefont (Subrs (type 1 fonts))
setdash (dash pattern)
setcachedevice (bounding box)
makeimagedevice (palette)

The file operator only recognizes modes r and w, not the newer modes r+,
w+, a, and a+.

Limitations
-----------

Floating point exceptions terminate Ghostscript, rather than producing a
rangecheck error.

Some access checks aren't implemented.

copypage does nothing in the MS-DOS implementation, and merely
synchronizes the X connection in the Unix implementation. showpage is a
procedure that does a copypage and then beeps the bell and waits for the
user to hit a key. (copypage does do the right thing for printers.)

Graphics bugs
-------------

strokepath produces incorrect output for dashed lines.

The implementation only looks at the PaintType of the font when doing
show, not when doing charpath. Because of this, stroked fonts don't work
correctly with charpath.

arcto gives an error for negative radii.

Changing the contents of the Encoding array or the Metrics dictionary of a
font dynamically doesn't produce the expected result (may have no effect)
if character caching is enabled.

Halftone patterns "flip over" at the 50% coverage point, producing
anomalous visual effects on some color devices.

We have not been able to test 2-, 4-, and 16-bit memory devices as
thoroughly as 1-, 8-, 24-, and 32-bit devices; please report any
problems.

Opening more than one window device at the same time doesn't work.
This is the case for both X Windows and Microsoft Windows.

Non-graphics bugs
-----------------

restore doesn't properly undo currentgstate.

copy doesn't handle gstates.
Program Description:

This is an OS/2 2.0 port of the GNU GhostScript 2.5.2 with a Presentation
Manager driver (Version 1.1 by Jim Yang).

This version:

1. Is gray scale only.

2. Can redraw properly after it has been minized or covered by
another window, and then exposed.

3. Can accept character input from the drawing window (mainly used
to send carriage return to the GhostScript interpreter to go to
the next page), so that you can always keep the drawing window
in front.

4. Is compiled with the following drivers:
os2pm epson eps9high bj10e deskjet djet500 laserjet ljetplus
ljet2p ljet3 cdeskjet cdjcolor cdjmono paintjet pjetxl gifmono
gif8 dfaxhigh dfaxlow. (Note that I have not tested any driver
other than os2pm, gifmono, and gif8.)

The program consist of two executables: gsos2a.exe and gsos2b.exe.
Gsos2a.exe contains three threads: two of them perform stdin for GhostScript,
and the third performs stdout/stderr. Gsos2b.exe contains two threads: one
redraws the window when it needs to, and the other is the GhostScript
interpreter itself. Named pipes are used to communicate between the two
executables.

Proposed Directory: (for storage on hobbes)

os2/2.0/gnu


New feature of 1.1
-------------------
1. Fixes the bug that sometimes causes the command window to hang after
you exit GS, and introduces a new 'feature' - NOW YOU MUST PRESS
'RETURN' AFTER GS EXITS TO GET THE COMMAND PROMPT BACK. As of this
writing, I am unable to get rid of this 'feature'.
2. Makes updating of the drawing window smoother.
3. Adds dfaxhigh and dfaxlow device driver.
-------------------


********************** VERY IMPORTANT *************************************
This port of GhostScript was compiled with emx 0.8e, and requires the
following dll's:

emx.dll emxio.dll emxlibc.dll

HOWEVER, THE EMXLIBC.DLL THAT COMES WITH EMX 0.8E CONTAINS A BUG IN FUNCTION
FREXP, WHICH PREVENTS GHOSTSCRIPT FROM BEING ABLE TO DISPLAY FONTS. THE
EMXLIBC.DLL THAT COMES WITH THIS ARCHIVE IS A CORRECTED VERSION; THEREFORE
YOU MUST USE THIS DLL WITH GHOSTSCRIPT. THIS APPLIES TO ALL THE DRIVERS
(PM, LASERJET, GIF8, ETC).

As usual, put the dll's in a directory that's in your LIBPATH.
*****************************************************************************

To use the program:

1. Edit the file gsos2.cmd file. Set the position of the drawing
window with the environment variable gsos2_pos. Syntax:

gsos2_pos=X Y WIDTH HEIGHT,

where (X,Y) is the lower left corner of the window, and WIDTH and
HEIGHT are the width and height of the window, NOT including the
width and height of the window border. The values 352 2 442 572
are ok if you have a 800 x 600 display. Also, set the environment
variable gs_lib to tell GhostScript were the initialization files
(gs_init.ps, gs_fonts.ps, etc) are.

Set the environment variable gsos2_dpi. Syntax:

gsos2_dpi=Xdpi Ydpi,

where Xdpi = WIDTH / (paper width in inches), and Ydpi = HEIGHT /
(paper height in inches). For example, if you specify 442 as
WIDTH and 572 as HEIGHT for gsos2_pos, and you want use the
drawing window to preview 8.5 inch X 11 inch drawings, then
Xdpi = 442 / 8.5 = 52 and Ydpi = 572 / 11 = 52. GhostScript
produce better results for halftone patterns (dithering)
when you make Xdpi = Ydpi.

2. Type 'gsos2' from a windowed os2 session. Type

gsos2 "-sDEVICE=gif8"

to select the gif8 device. Note the quotes around
-sDEVICE=gif8.

To terminate the program: type 'quite' or double click on the ghost icon
on the upper left hand corner of the drawing window.

You can type commands when either the command window or the drawing window
has the input focus. However, the drawing window accepts only simple
characters, including carriage return and backspace, but not characters
like tab. The ability of the drawing window to take input is mainly
intended for passing carriage return to the GS interpreter in response to
the "showpage, press to continue" prompt, and for issusing simple
commands like "(tiger.ps) run". Since the inputs to the
command window and inputs to the drawing window are maintained by differents
threads with different charater buffers, you should finish typing a complete
line (punctuated by carriage return) before switching to the other window.
For example, you should not start typing a line into the command window, and
subsequently switch and type the rest of the line into the drawing window.


Optional:

1. Add a program object to one of your folders that points to the
file 'gsos2.cmd', and then attach the ghost.ico icon (included
with this archive) to the program object. Then you can drag
and drop a PostScript file over the ghost icon and GS will
automatically display that file.

2. Edit the file "fontmap" so that GS uses the .pfb fonts in your
\psfonts directory. For example, append the line

/Helvetica (d:/psfonts/helv.pfb);

to the end of "fontmap", and GS will use d:/psfonts/helv.pfb
whenever it needs the Helvetica font. Note: GS cannot read
the Times-Roman font in the \psfonts directory.

Remember, use forward slashes to separated directories - ie, use
"(/apps/gs/tiger.ps) run" to preview the file 'tiger.ps'.

So far, gsos2pm11 works correctly with all of my PostScript files. If
you find one that won't work, first test it with other drivers, like gif8.
Then, send me email with a transcript of the GhostScript messages and a copy
of the PostScript file if it's not too large (> 10k); if the file is too
large to transmitt by email, tell me where I can ftp it (with anonymous ftp)
or send me a diskette (I'll keep the diskette, thanks).


Jim Yang
MS 128-95
California Institute of Technology,
Pasadena, CA 91125

email address: [email protected]


 December 12, 2017  Add comments

Leave a Reply