Ghostscript is a suite of software based on an
interpreter for
Adobe Systems
Adobe Inc. ( ), formerly Adobe Systems Incorporated, is an American software, computer software company based in San Jose, California. It offers a wide range of programs from web design tools, photo manipulation and vector creation, through to ...
'
PostScript
PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it c ...
and
Portable Document Format
Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating syste ...
(PDF)
page description languages. Its main purposes are the
rasterization of documents in these language,, the display or printing of document pages, and conversion between PostScript and PDF files.
Features
Ghostscript can be used as a
raster image processor
A raster image processor (RIP) is a component used in a printing system which produces a raster image also known as a bitmap. Such a bitmap is used by a later stage of the printing system to produce the printed output. The input may be a page ...
(RIP) for raster
computer printers—for instance, as an input filter of
line printer daemon—or as the RIP engine behind PostScript and PDF viewers. It can also be used as a file format converter, such as PostScript to PDF converter. The
ps2pdf
conversion program comes with the Ghostscript distribution.
Ghostscript can also serve as the back-end for PDF to
raster image
upright=1, The Smiley, smiley face in the top left corner is a raster image. When enlarged, individual pixels appear as squares. Enlarging further, each pixel can be analyzed, with their colors constructed through combination of the values for ...
(png, tiff, jpeg, etc.) converter; this is often combined with a PostScript printer driver in "
virtual printer" PDF creators. As it takes the form of a language interpreter, Ghostscript can also be used as a general purpose programming environment.
Ghostscript has been
ported to many operating systems, including
Unix-like
A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
systems,
classic Mac OS
Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
,
OpenVMS
OpenVMS, often referred to as just VMS, is a multi-user, multiprocessing and virtual memory-based operating system. It is designed to support time-sharing, batch processing, transaction processing and workstation applications. Customers using Op ...
,
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
Plan 9,
MS-DOS
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few op ...
,
FreeDOS,
OS/2
OS/2 is a Proprietary software, proprietary computer operating system for x86 and PowerPC based personal computers. It was created and initially developed jointly by IBM and Microsoft, under the leadership of IBM software designer Ed Iacobucci, ...
,
ArcaOS
ArcaOS is a Proprietary software, proprietary operating system based on OS/2, developed and marketed by Arca Noae, LLC under license from IBM. It was first released in 2017 and builds on OS/2 Warp 4.52 by adding support for new hardware, fixing ...
,
Atari TOS,
RISC OS
RISC OS () is an operating system designed to run on ARM architecture, ARM computers. Originally designed in 1987 by Acorn Computers of England, it was made for use in its new line of ARM-based Acorn Archimedes, Archimedes personal computers an ...
and
AmigaOS
AmigaOS is a family of proprietary native operating systems of the Amiga and AmigaOne personal computers. It was developed first by Commodore International and introduced with the launch of the first Amiga, the Amiga 1000, in 1985. Early versions ...
.
History
Ghostscript was originally written by
L. Peter Deutsch
L Peter Deutsch (born Laurence Peter Deutsch on August 7, 1946, in Boston, Massachusetts) is an American computer scientist and composer. He is the founder of Aladdin Enterprises and creator of Ghostscript, a free software PostScript and PDF int ...
for the
GNU Project
The GNU Project ( ) is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and Computer hardware, computing dev ...
, and released under the
GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
in 1988. At the time of the initial release there was a similar commercial software product named GoScript from LaserGo. Later, Deutsch formed ''Aladdin Enterprises'' to
dual-license Ghostscript also under a
proprietary license with an own development
fork: ''Aladdin Ghostscript'' under the
Aladdin Free Public License
The Aladdin Free Public License, abbreviated AFPL, is a license written by L. Peter Deutsch for his Ghostscript PostScript language interpreter.
History
The license was derived from the GNU General Public License, but differs on two key points ...
(which, despite the name, is not a free software license, as it forbids commercial distribution) and ''GNU Ghostscript'' distributed with the ''GNU General Public License''. With version 8.54 in 2006, both development branches were merged again, and dual-licensed releases were still provided.
[''"I have some great news to report. The leading edge of Ghostscript development is now under GPL license, as is the latest release, Ghostscript 8.54."'']
Ghostscript is currently owned by Artifex Software and maintained by Artifex Software employees and the worldwide user community. According to Artifex, as of version 9.03, the commercial version of Ghostscript can no longer be freely distributed for commercial purposes without purchasing a license, though the (A)GPL variant allows commercial distribution provided all code using it is released under the (A)GPL.
In February 2013, with version 9.07, Ghostscript changed its license from GPLv3 to
GNU AGPL
The GNU Affero General Public License (GNU AGPL) is a free, copyleft license published by the Free Software Foundation in November 2007, and based on the GNU GPL version 3 and the ''Affero General Public License'' (non-GNU).
It is intended for ...
.
which raised
license compatibility questions, for example by
Debian
Debian () is a free and open-source software, free and open source Linux distribution, developed by the Debian Project, which was established by Ian Murdock in August 1993. Debian is one of the oldest operating systems based on the Linux kerne ...
.
Starting with release 9.55.0 Ghostscript has two built-in PDF interpreters. Until spring 2022, up to Ghostscript version 9.56.1, the default PDF interpreters implementation itself was coded in PostScript. The new default PDF interpreter has been rewritten in C entirely, and is faster and more secure than its predecessor, while its interface and graphics library have not changed. Scripting the new C written PDF interpreter from PostScript is still possible.
Free fonts
There are several sets of
free fonts supplied for Ghostscript, intended to be metrically compatible with common fonts attached with the PostScript standard.
[ These include:
* A collection of 35 font styles from ten typeface families contributed by German foundry URW++ in 1996 under the ]GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
(GPL) and Aladdin Free Public License
The Aladdin Free Public License, abbreviated AFPL, is a license written by L. Peter Deutsch for his Ghostscript PostScript language interpreter.
History
The license was derived from the GNU General Public License, but differs on two key points ...
(AFPL), which is commonly called the "URW Base 35 fonts" or "URW Core 35 fonts". The collection is similar to the 35 fonts defined by Adobe in PostScript Level 2: Bookman L ( Bookman), Century Schoolbook L ( New Century Schoolbook), Chancery L ( Zapf Chancery), Dingbats ( Zapf Dingbats), Gothic L ( Avant Garde), Nimbus Mono L (Courier
A courier is a person or organization that delivers a message, package or letter from one place or person to another place or person. Typically, a courier provides their courier service on a commercial contract basis; however, some couriers are ...
), Nimbus Roman No9 L ( Times), Nimbus Sans L ( Helvetica), Palladio L ( Palatino), Standard Symbols L (Symbol
A symbol is a mark, Sign (semiotics), sign, or word that indicates, signifies, or is understood as representing an idea, physical object, object, or wikt:relationship, relationship. Symbols allow people to go beyond what is known or seen by cr ...
), in Type1, TrueType, and OpenType formats.
*The GhostPDL package (including Ghostscript as well as companion implementations of HP PCL and Microsoft XPS) includes additional fonts under the AFPL which bars commercial use. It includes URW++ versions of Garamond
Garamond is a group of many serif typefaces, named for sixteenth-century Parisian engraver Claude Garamond, generally spelled as Garamont in his lifetime. Garamond-style typefaces are popular to this day and often used for book printing and bod ...
(Garamond No. 8), Optima (URW Classico), Arial
Arial is a sans-serif typeface in the Sans-serif#Neo-grotesque, neo-grotesque style. Fonts from the Arial family are included with all versions of Microsoft Windows after Windows 3.1, as well as in other Microsoft programs, Apple's macOS, and ma ...
(A030), Antique Olive, and Univers (U001), Clarendon, Coronet, Letter Gothic, as well as URW Mauritius and a modified form of Albertus known as A028. Combined with the base set, they represent a little more than half of the standard PostScript 3 font complement.
* A miscellaneous set including Cyrillic
The Cyrillic script ( ) is a writing system used for various languages across Eurasia. It is the designated national script in various Slavic, Turkic, Mongolic, Uralic, Caucasian and Iranic-speaking countries in Southeastern Europe, Ea ...
, kana, and fonts derived from the free Hershey fonts, with improvements by Thomas Wolff (such as adding accented characters).
The Ghostscript fonts were developed in the PostScript Type 1 format but have been converted into the TrueType format.[ As a result, a user can install and use the Ghostscript fonts via most modern software. Furthermore, the Ghostscript fonts are used as parts of various open source applications, e.g., the Linux version of ]GIMP
Gimp or GIMP may refer to:
Clothing
* Bondage suit, also called a gimp suit, a type of suit used in BDSM
* Bondage mask, also called a gimp mask, often worn in conjunction with a gimp suit
Embroidery and crafts
* Gimp (thread), an ornamental tr ...
depends on Graphviz
Graphviz (short for ''Graph Visualization Software'') is a package of open-source software, open-source tools initiated by AT&T Labs, AT&T Labs Research for Graph drawing, drawing graph (discrete mathematics), graphs (as in Vertex (graph theory ...
which in turn depends on the Ghostscript fonts. Finally, multiple open source font projects used glyphs from the Ghostscript fonts, e.g., the Latin characters of GNU FreeFont are based on Nimbus Mono L, Nimbus Roman No9 L, and Nimbus Sans L. The TeX Gyre fonts are also based on 8 out of the 10 original Ghostscript typeface families. The Garamond font has additionally been improved upon.
See also
* Common Unix Printing System
* Foomatic
* PostScript Printer Description
* Printer driver
* pstoedit
References
External links
*
Ghostscript version 8.56 and earlier
Ghostscript/GhostPDL binaries download page
at GitHub (cross-platform, this site is actively maintained)
GPL Ghostscript binaries download page
at SourceForge (cross-platform, this site is no longer actively maintained)
{{PDF software
Computer-related introductions in 1988
Cross-platform software
Digital press
Free PDF readers
PostScript
Software using the GNU Affero General Public License