From Wikipedia, the free encyclopedia
  (Redirected from GhostScript)
Jump to: navigation, search
Ghostscript Logo
Original author(s) L. Peter Deutsch
Developer(s) Artifex Software
Initial release August 11, 1988; 28 years ago (1988-08-11)[1]
Stable release
9.21[2] / March 16, 2017; 7 days ago (2017-03-16)
Written in C
Operating system Cross-platform
Type PostScript and PDF interpreter
License Dual-licensed (GNU Affero General Public License + commercial permissive exception)

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (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.


Ghostscript can be used as a raster image processor (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.

Ghostscript can also be used as a file format converter, such as PostScript to PDF converter. The ps2pdf conversion program, which comes with the ghostscript distribution, is described by its documentation as a "work-alike for nearly all the functionality (but not the user interface) of Adobe's Acrobat Distiller product".[3] This converter is basically a thin wrapper around ghostscript's pdfwrite output device, which supports PDF/A-1 and PDF/A-2 as well as PDF/X-3 output.[3]

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" PDF creators.[citation needed]

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 systems, classic Mac OS, OpenVMS, Microsoft Windows, Plan 9, MS-DOS, FreeDOS, OS/2, Atari TOS and AmigaOS.


Ghostscript was originally written by L. Peter Deutsch for the GNU Project, and released under the GNU General Public License in 1986. 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[4] (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.[5] With version 8.54 in 2006, both development branches were merged again, and dual-licensed releases were still provided.[6]

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.[7] Artifex' point of view on "aggregated software" was challenged in court for MuPDF.[8][9][10]

In February 2013, Ghostscript changed its license from GPLv3 to GNU AGPL,[11][12] which raised license compatibility questions for example by Debian.[13]

Variants and forks[edit]

  • AGPL Ghostscript is the canonical variant available, since February 2013,[11] under the GNU Affero General Public License which is a free software license.
  • GNU Ghostscript is part of the GNU project and is now derived from GPL Ghostscript.
  • ESP Ghostscript was distributed by Easy Software Products under the GPL. It was based on GPL Ghostscript and contains several modifications to improve compatibility with ESP's Common Unix Printing System. This version is no longer developed, since it was merged with GPL Ghostscript.[14]
  • Ghostscript is the current commercial proprietary version licensed by Artifex Software for inclusion in closed-source products.
  • Ghost Trap is a variant of GPL Ghostscript secured and sandboxed using Google Chrome's sandbox technology.
  • Aladdin Ghostscript was before June 2006 the leading edge of Ghostscript development and distributed as AFPL Ghostscript under the Aladdin Free Public License. AFPL Ghostscript is now abandoned.[15]

The GPL version is also used as the basis for a Display Ghostscript, which adds the functionality needed to fully support Display PostScript.

Front ends[edit]

Several graphical user interfaces have been written for use with Ghostscript which permit a user to view a PostScript or PDF file on screen, scroll, page forward and backward, and zoom the text as well as print single or multiple pages.

  • Evince under Unix and Windows. Uses the libspectre library to render postscript, which in turn needs libgs from ghostscript. The current Windows package of Evince comes with libgs version 8.
  • Ghostview runs under Unix/X11.
  • GSview runs under Microsoft Windows, OS/2, and Unix-like operating systems. It is best known in its Windows and OS/2 versions.[citation needed] On UNIX it uses the GTK+ toolkit. Although released under Aladdin Free Public Licence, it also employs a nag screen to urge users to register so as to support the development of GSview. The registration fee is A$40. GSview is copyrighted to a different company than ghostscript, namely Ghostgum Software.[16] The Ghostscript documentation states, concerning its installation under Windows: "After installing Ghostscript, it is strongly recommended that you install the GSview previewer, which provides an easier to use graphical interface for Ghostscript."[17]
  • gv runs under Unix/X11 and VMS. gv is a visually improved version of Ghostview. Its behaviour is similar to Ghostview.
  • KGhostView runs under Unix/X11. It is a KDE3 port of Ghostview.
  • mgv runs under Unix/X11. It is a Motif based front-end to Ghostscript. It features a more conventional user interface, with regular menus, a toolbar, and scrollbars.
  • Moonshiner is a graphical front-end for using Ghostscript to convert from PostScript to PDF, aiming to be a Linux work-alike for Adobe's Distiller.
  • Okular runs under Unix/X11 and Microsoft Windows (using KDE4 for Windows). It is a KDE4 application.
  • PDF Blender is a cross-platform application that converts and merges documents to and from PostScript and PDF formats.
  • PS_View runs under Windows, Linux and Mac OS X; it is included in TeX Live as the default PostScript viewer on Windows.[18]
  • Ghostscript Studio runs under Windows. It is graphical front-end for using Ghostscript to convert between various formats, view PDF and multi-page PostScript files.

A number of applications use Ghostscript to import or display PDF files (e.g., IrfanView, Inkscape). Additionally, a large number of virtual printers use Ghostscript to create PDF files; for a non-exhaustive list, see List of virtual printer software.


Libraries that provides ability to access Ghostscript library from various programming languages.

Free fonts[edit]

There are several sets of free fonts supplied for Ghostscript, intended to be metrically compatible with common fonts attached with the PostScript standard.[19][20][21][22][23] These include:

The Ghostscript fonts were developed in the PostScript Type 1 format but have been converted into the TrueType format, usable by most current software, and are popularly used within the open-source community.[31][32]

See also[edit]


  1. ^ "History of Ghostscript versions 1.n". Retrieved 2007-04-10. 
  2. ^ "GPL Ghostscript 9". Ghostscript. Artifex Software, Inc. 2016-09-26. Retrieved 2016-09-26. 
  3. ^ a b "ps2pdf: PostScript-to-PDF converter". Retrieved 2014-08-03. 
  4. ^ Ghostscript 5.50 license (mirror)
  5. ^ Aladdin Ghostscript
  6. ^ Ghostscript leading edge is now GPL! Posted 7 Jun 2006 by raph "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."
  7. ^ Licensing Information IMPORTANT INFORMATION ABOUT DISTRIBUTING SOFTWARE FROM ARTIFEX "If your application, including all of its source code, is licensed to the public under the GNU GPL, you are authorized to ship GPL Ghostscript with your application under the terms of the GPL license agreement. You do not need a commercial license from Artifex." (archived)
  8. ^ Copyright infringement lawsuit filed against palm on
  9. ^ "Complaint for Copyright Infringement" (PDF). p.4 ¶15, p.6 ¶27. Retrieved May 3, 2013. 
  10. ^ "Notice of Voluntary Dismissal With Prejudice" (PDF). Retrieved May 3, 2013. 
  11. ^ a b "Ghostscript 9.07 and GhostPDL 9.07". (dead url, backup available)
  12. ^ "Licensing Information". Retrieved 2014-05-08. 
  13. ^
  14. ^ Article #484: The Grand Unified Ghostscript Officially Released: GPL Ghostscript 8.60 - Common UNIX Printing System
  15. ^ Advogato: Blog for raph
  16. ^
  17. ^ Installing Ghostscript on MS Windows
  18. ^ The TEX Live Guide—2014: 6.1 Windows-specific features
  19. ^ "Ghostscript SVN - URW fonts". Retrieved 2010-04-21. 
  20. ^ "Debian package - gsfonts". Retrieved 2010-04-21. 
  21. ^ "Fonts and font facilities supplied with Ghostscript". Retrieved 2010-04-21. 
  22. ^ "Linux fonts (mostly X11)". 2009-08-15. Retrieved 2010-04-21. 
  23. ^ "Ghostscript fonts as ttf files". Ghostscript. Retrieved 19 January 2015. 
  24. ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts., archived from the original on 2002-10-23, retrieved 2010-05-06 
  25. ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. (TXT), retrieved 2010-05-06 
  26. ^ "Fonts and TeX". 2009-12-19. Retrieved 2010-05-06. 
  27. ^ Five years after: Report on international TEX font projects (PDF), 2007, retrieved 2010-05-06 
  28. ^ ghostscript-fonts-std-4.0.tar.gz - GhostScript 4.0 standard fonts - AFPL license (TAR.GZ), 1996-06-28, retrieved 2010-05-06 
  29. ^ ghostscript-fonts-std-6.0.tar.gz - GhostScript 6.0 standard fonts - GPL license (TAR.GZ), 1999-12-22, retrieved 2010-05-06 
  30. ^ "/trunk/ghostpdl/urwfonts". ghostscript SVN. Retrieved 7 October 2016. 
  31. ^ "URW font ttf conversions". Ghostscript. Retrieved 22 September 2015. 
  32. ^ Bisson, Gaetan. "URW Garamond ttf conversions". Retrieved 18 August 2015. 


  1. ^ Bold Condensed

External links[edit]