HOME

TheInfoList



OR:

Ghostscript is a suite of software based on an interpreter for
Adobe Systems Adobe Inc. ( ), originally called Adobe Systems Incorporated, is an American multinational computer software company incorporated in Delaware and headquartered in San Jose, California. It has historically specialized in software for the cre ...
'
PostScript PostScript (PS) is a page description language in the electronic publishing and desktop publishing realm. It is a dynamically typed, concatenative programming language. It was created at Adobe Systems by John Warnock, Charles Geschke, Do ...
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 or rendering of such page description language files, for the display or printing of document pages, and the 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 d ...
(RIP) for raster
computer printer In computing, a printer is a peripheral machine which makes a persistent representation of graphics or text, usually on paper. While most output is human-readable, bar code printers are an example of an expanded use for printers. Diffe ...
s—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 (png, tiff, jpeg, etc.) converter; this is often combined with a PostScript printer driver in "
virtual printer In computing a virtual printer is a simulated device whose user interface and API resemble that of a printer driver, but which is not connected with a physical computer printer. When a document is "printed" by a virtual printer, instead of phys ...
" 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 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 Unix-li ...
systems,
classic Mac OS Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Macintosh family of personal computers by Apple Computer from 1984 to 2001, starting with System 1 and ending with Mac OS 9. ...
,
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 Ope ...
,
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
, 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 o ...
, FreeDOS,
OS/2 OS/2 (Operating System/2) is a series of computer operating systems, initially created by Microsoft and IBM under the leadership of IBM software designer Ed Iacobucci. As a result of a feud between the two companies over how to position OS/2 r ...
,
ArcaOS ArcaOS is an operating system based on OS/2, developed and marketed by Arca Noae, LLC under license from IBM. It was codenamed Blue Lion during its development. It builds on OS/2 Warp 4.52 by adding support for new hardware, fixing defects and li ...
,
Atari TOS TOS (The Operating System) is the operating system of the Atari ST range of computers. This range includes the 520ST and 1040ST, their STF/M/FM and STE variants and the Mega ST/STE. Later, 32-bit machines (Atari TT030, TT, Atari Falcon, Falcon030 ...
, RISC OS 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 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 computing devices by collabor ...
, and released under the
GNU General Public License The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general ...
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 In cutlery or kitchenware, a fork (from la, furca 'pitchfork') is a utensil, now usually made of metal, whose long handle terminates in a head that branches into several narrow and often slightly curved tine (structural), tines with which one ...
: ''Aladdin Ghostscript'' under the Aladdin Free Public License (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 General Public License, version 3 and the Affero General Public License. The Free S ...
. which raised
license compatibility License compatibility is a legal framework that allows for pieces of software with different software licenses to be distributed together. The need for such a framework arises because the different licenses can contain contradictory requiremen ...
questions, for example by
Debian Debian (), also known as Debian GNU/Linux, is a Linux distribution composed of free and open-source software, developed by the community-supported Debian Project, which was established by Ian Murdock on August 16, 1993. The first version of De ...
. Starting with release 9.55.0 Ghostscript has two build-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.


Front ends

Ghostscript
graphical user interface The GUI ( "UI" by itself is still usually pronounced . or ), graphical user interface, is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, ins ...
s (GUIs) view PostScript or PDF files on screens, scroll, page forward, page backward, zoom text, and print pages. Such GUIs include
Evince Evince (), also known as GNOME Document Viewer, is a free and open source document viewer supporting many document file formats including PDF, PostScript, DjVu, TIFF, XPS and DVI. It is designed for the GNOME desktop environment. The deve ...
, IrfanView,
Inkscape Inkscape is a free and open-source vector graphics editor used to create vector images, primarily in Scalable Vector Graphics (SVG) format. Other formats can be imported and exported. Inkscape can render primitive vector shapes (e.g. rec ...
and PDF24 Creator.
Virtual printer In computing a virtual printer is a simulated device whose user interface and API resemble that of a printer driver, but which is not connected with a physical computer printer. When a document is "printed" by a virtual printer, instead of phys ...
s can also create PDF files.


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: * Contributed by German foundry
URW++ URW Type Foundry GmbH (formerly URW++ Design & Development GmbH) is a type foundry based in Hamburg, Germany. The foundry has its own library with more than 500 font families. The company specializes in customized corporate typefaces and the d ...
in 1996 under the GPL and
AFPL 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: ...
, this collection includes 35 font styles from 10 typeface families and is therefore 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 The avant-garde (; In 'advance guard' or 'vanguard', literally 'fore-guard') is a person or work that is experimental, radical, or unorthodox with respect to art, culture, or society.John Picchione, The New Avant-garde in Italy: Theoretical D ...
), Nimbus Mono L (
Courier A courier is a person or organisation 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 Nimbus Sans is a sans-serif typeface created by URW++, based on Helvetica. Nimbus Sans It is a version using URW++ font source. The family supports Western Europe, East Europe, Turkish, Baltic, and Romanian languages. The font names ending wit ...
(
Helvetica Helvetica (originally Neue Haas Grotesk) is a widely used sans-serif typeface developed in 1957 by Swiss typeface designer Max Miedinger and Eduard Hoffmann. Helvetica is a neo-grotesque design, one influenced by the famous 19th century (1890s) ...
), Palladio L ( Palatino), Standard Symbols L (
Symbol A symbol is a mark, sign, or word that indicates, signifies, or is understood as representing an idea, object, or relationship. Symbols allow people to go beyond what is known or seen by creating linkages between otherwise very different conc ...
), 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 and particularly often used for book printing and bo ...
(Garamond No. 8), Optima (URW Classico),
Arial Arial (also called Arial MT) is a sans-serif typeface and set of computer fonts in the neo-grotesque style. Fonts from the Arial family are included with all versions of Microsoft Windows from Windows 3.1 on, some other Microsoft software ...
(A030), Antique Olive, and Univers (U001), Clarendon,
Coronet A coronet is a small crown consisting of ornaments fixed on a metal ring. A coronet differs from other kinds of crowns in that a coronet never has arches, and from a tiara in that a coronet completely encircles the head, while a tiara doe ...
, 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 ( ), Slavonic script or the Slavic 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 co ...
,
kana The term may refer to a number of syllabaries used to write Japanese phonological units, morae. Such syllabaries include (1) the original kana, or , which were Chinese characters ( kanji) used phonetically to transcribe Japanese, the most ...
, 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 ( ; GNU Image Manipulation Program) is a free and open-source raster graphics editor used for image manipulation (retouching) and image editing, free-form drawing, transcoding between different image file formats, and more specialized ...
depends on Graphviz 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 Nimbus Sans is a sans-serif typeface created by URW++, based on Helvetica. Nimbus Sans It is a version using URW++ font source. The family supports Western Europe, East Europe, Turkish, Baltic, and Romanian languages. The font names ending wit ...
. 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 CUPS (formerly an acronym for Common UNIX Printing System) is a modular printing system for Unix-like computer operating systems which allows a computer to act as a print server. A computer running CUPS is a host that can accept print job ...
*
Foomatic Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer. It is spooler independent which means it can be used with Common Unix Printing System (CUPS), LPRng and others. I ...
* PostScript Printer Description *
Printer driver In computers, a printer driver or a print processor is a piece of software on a computer that converts the data to be printed to a format that a printer can understand. The purpose of printer drivers is to allow applications to do printing without ...
* 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 AGPL license