Ghostscript Explained

Ghostscript
Author:L. Peter Deutsch
Developer:Artifex Software[1]
Released:[2]
Programming Language:C
Operating System:Cross-platform
Genre: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[3] files, for the display or printing of document pages, and the conversion between PostScript and PDF files.[4]

Features

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. 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.[5]

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.[6] 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, ArcaOS, Atari TOS, RISC OS and AmigaOS.

History

Ghostscript was originally written by L. Peter Deutsch for the GNU Project, and released under the GNU General Public License in 1988.[7] At the time of the initial release there was a similar commercial software product named GoScript from LaserGo.[8] 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[9] (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.[10] With version 8.54 in 2006, both development branches were merged again, and dual-licensed releases were still provided.[11] [12]

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.[13] [14] [15] [16]

In February 2013, with version 9.07, Ghostscript changed its license from GPLv3 to GNU AGPL.[17] [18] which raised license compatibility questions, for example by Debian.[19]

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.[20] Scripting the new C written PDF interpreter from PostScript is still possible.[21]

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.[22] [23] [24] These include:

The Ghostscript fonts were developed in the PostScript Type 1 format but have been converted into the TrueType format.[25] [27] 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 depends on Graphviz which in turn depends on the Ghostscript fonts.[29] [30] 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.[31] The TeX Gyre fonts are also based on 8 out of the 10 original Ghostscript typeface families.[32] The Garamond font has additionally been improved upon.[33]

See also

External links

Notes and References

  1. Web site: Documentation. July 10, 2002. ghostscript.com. May 23, 2017. https://web.archive.org/web/20180228163405/https://ghostscript.com/pipermail/gs-commits/2002-July/002087.html. February 28, 2018. dead.
  2. Web site: History of Ghostscript versions 1.n . 2007-04-10 . https://web.archive.org/web/20070208160329/http://www.ghostscript.com/doc/current/History1.htm#Version1.0 . 2007-02-08 . dead .
  3. Web site: Ghostscript and the PostScript language. ghostscript.com. 2017-05-23. https://web.archive.org/web/20170930040120/https://ghostscript.com/doc/9.21/Language.htm. 2017-09-30. dead.
  4. Book: Ingo, Henrik. Open Life: The Philosophy of Open Source. 1 August 2006. Lulu.com. 9781847286116. Google Books.
  5. Web site: ps2pdf: PostScript-to-PDF converter . 2014-08-03 . https://web.archive.org/web/20110720064556/http://www.ghostscript.com/doc/current/Ps2pdf.htm . 2011-07-20 . dead .
  6. Web site: Creating a Free PDF Writer Using Ghostscript. www.stat.tamu.edu. 2017-06-02. 2017-10-27. https://web.archive.org/web/20171027212125/http://www.stat.tamu.edu/~henrik/GSWriter/GSWriter.html. dead.
  7. Web site: Recent changes in Ghostscript . dead. https://web.archive.org/web/20161025140244/http://pages.cs.wisc.edu/~ghost/doc/AFPL/8.00/News.htm . 2016-10-25 . 2002-11-21 . 2021-03-19 . pages.cs.wisc.edu.
  8. News: Kraul . Chris . 1989-05-02 . Printing Up a Package for Success: LaserGo Software Offers Cheaper Desktop System . Los Angeles Times . 2022-09-09.
  9. Web site: Aladdin Free Public License. dead . https://web.archive.org/web/20170930222959/http://pages.cs.wisc.edu/~ghost/doc/AFPL/5.50/Public.htm. 2017-09-30 . 2021-03-19 . (mirror)
  10. Web site: Background information for new users of Ghostscript . pages.cs.wisc.edu.
  11. Web site: Advogato: Blog for raph . 29 June 2017 . bot: unknown . https://web.archive.org/web/20170629021353/http://www.advogato.org/person/raph/diary.html?start=411 . 29 June 2017.
  12. Web site: Ghostscript leading edge is now GPL! . dead . https://web.archive.org/web/20161003082642/http://ghostscript.com/News.html . 2016-10-03 . 2006-06-07 . 2021-03-19 . 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."
  13. Web site: Artifex Software Inc. . dead. https://web.archive.org/web/20090220215621/http://www.artifex.com/indexlicense.htm . 2009-02-20 . 2021-03-19 . Artifex Software Inc..
  14. Web site: Robitaille . Jason . 2009-12-04 . Copyright Infringement Lawsuit Filed Against Palm . 2021-03-19. webOS Nation.
  15. Web site: Complaint for Copyright Infringement . p. 4: 15., p. 6: 27. . 2009-12-02 . May 3, 2013.
  16. Web site: Notice of Voluntary Dismissal With Prejudice . 2011-02-07 . 2021-03-19.
  17. Web site: [gs-devel] Ghostscript 9.07 and GhostPDL 9.07 ]. Liddell . Chris . 2006-02-19 . 2021-03-19 . 2021-01-20 . https://web.archive.org/web/20210120214531/https://www.ghostscript.com/pipermail/gs-devel/2013-February/009410.html . dead .
  18. Web site: Licensing Information . 2014-05-08 . Artifex Software Inc. . 2014-05-12 . https://web.archive.org/web/20140512233517/http://www.artifex.com/page/licensing-information.html . dead .
  19. Web site: Re: Ghostscript licensing changed to AGPL . Jose Luis Rivas . 2014-05-06 . 2021-03-19 . lists.debian.org.
  20. Web site: Ghostscript : PDFI - The NEW Ghostscript PDF Interpreter is now the default! . 2022-08-01 . www.ghostscript.com.
  21. Web site: Ghostscript and the PostScript Language - Scripting the PDF interpreter . 2022-08-01 . ghostscript.com.
  22. Web site: Debian package - gsfonts . 2010-04-21.
  23. Web site: Fonts and font facilities supplied with Ghostscript . 2010-04-21 . 2010-06-12 . https://web.archive.org/web/20100612151130/http://www.ghostscript.com/doc/current/Fonts.htm . dead .
  24. Web site: Linux fonts (mostly X11) . 2009-08-15 . 2010-04-21.
  25. Web site: ArtifexSoftware. urw-base35-fonts. GitHub. 25 March 2018. en.
  26. Web site: Fonts and TeX . 2009-12-19 . 2010-05-06.
  27. Web site: doc/pcl/urwfonts (URW fonts in TTF format). ghostscript doc. 24 March 2018. 25 March 2018. https://web.archive.org/web/20180325110208/https://ghostscript.com/doc/pcl/urwfonts/. dead.
  28. Web site: GhostPDL License. ghostscript doc. 21 November 2017. 25 March 2018. https://web.archive.org/web/20180325110208/https://ghostscript.com/doc/pcl/LICENSE. dead.
  29. Web site: Arch Linux - gimp. 2022-08-04.
  30. Web site: Arch Linux - graphviz. 2022-08-04.
  31. Web site: Gnu FreeFont: Design notes. 2022-07-08.
  32. Web site: The TeX Gyre (TG) Collection of Fonts — GUST Web Presence. 2022-08-04.
  33. Web site: Bisson. Gaetan. URW Garamond ttf conversions. 18 August 2015.