Software:Ghostscript

From HandWiki
Short description: Interpreter for the PostScript language
Ghostscript
Ghostscript.svg
Original author(s)L. Peter Deutsch
Developer(s)Artifex Software[1]
Initial releaseAugust 11, 1988; 35 years ago (1988-08-11)[2]
Written inC
Operating systemCross-platform
TypePostScript and PDF interpreter
LicenseDual-licensed (GNU Affero General Public License + commercial permissive exception)
Websitewww.ghostscript.com

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][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, 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,[clarification needed] for example by Debian.[19]

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.[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][25] These include:

  • Contributed by German foundry URW++ in 1996 under the GPL and AFPL, 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.[26][27][28][29][30][excessive citations] 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), Nimbus Roman No9 L (Times), Nimbus Sans L (Helvetica), Palladio L (Palatino), Standard Symbols L (Symbol), 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.[25][31] It includes URW++ versions of Garamond (Garamond No. 8), Optima (URW Classico), Arial (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, 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.[26][25] 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.[32][33] 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.[34] The TeX Gyre fonts are also based on 8 out of the 10 original Ghostscript typeface families.[35] The Garamond font has additionally been improved upon.[36]

See also

References

  1. "Documentation". July 10, 2002. https://ghostscript.com/pipermail/gs-commits/2002-July/002087.html. 
  2. "History of Ghostscript versions 1.n". http://ghostscript.com/doc/current/History1.htm#Version1.0. 
  3. "Ghostscript and the PostScript language". https://ghostscript.com/doc/9.21/Language.htm. 
  4. Ingo, Henrik (1 August 2006). Open Life: The Philosophy of Open Source. Lulu.com. ISBN 9781847286116. https://books.google.com/books?id=ZyB5dt756HQC&dq=Ghostscript&pg=PA100. 
  5. "ps2pdf: PostScript-to-PDF converter". http://www.ghostscript.com/doc/current/Ps2pdf.htm. 
  6. "Creating a Free PDF Writer Using Ghostscript". https://www.stat.tamu.edu/~henrik/GSWriter/GSWriter.html. 
  7. "Recent changes in Ghostscript". 2002-11-21. http://pages.cs.wisc.edu/~ghost/doc/AFPL/8.00/News.htm. 
  8. Kraul, Chris (1989-05-02). "Printing Up a Package for Success: LaserGo Software Offers Cheaper Desktop System". Los Angeles Times. https://www.latimes.com/archives/la-xpm-1989-05-02-fi-2436-story.html. 
  9. "Aladdin Free Public License". http://pages.cs.wisc.edu/~ghost/doc/AFPL/5.50/Public.htm.  (mirror)
  10. "Background information for new users of Ghostscript". http://pages.cs.wisc.edu/~ghost/doc/AFPL/5.50/New-user.htm#Find_Ghostscript. 
  11. "Advogato: Blog for raph". 29 June 2017. http://www.advogato.org/person/raph/diary.html?start=411. 
  12. raph (2006-06-07). "Ghostscript leading edge is now GPL!". http://ghostscript.com/News.html. "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. "Artifex Software Inc.". http://www.artifex.com/indexlicense.htm. 
  14. Robitaille, Jason (2009-12-04). "Copyright Infringement Lawsuit Filed Against Palm". http://www.webosnation.com/copyright-infringement-lawsuit-filed-against-palm. 
  15. "Complaint for Copyright Infringement". 2009-12-02. p. 4: 15., p. 6: 27.. https://archive.org/download/gov.uscourts.cand.222215/gov.uscourts.cand.222215.1.0.pdf. 
  16. "Notice of Voluntary Dismissal With Prejudice". 2011-02-07. https://archive.org/download/gov.uscourts.cand.222215/gov.uscourts.cand.222215.28.0.pdf. 
  17. Liddell, Chris (2006-02-19). "[gs-devel Ghostscript 9.07 and GhostPDL 9.07"]. http://www.ghostscript.com/pipermail/gs-devel/2013-February/009410.html. 
  18. "Licensing Information". http://www.artifex.com/page/licensing-information.html. 
  19. Jose Luis Rivas (2014-05-06). "Re: Ghostscript licensing changed to AGPL". https://lists.debian.org/debian-devel/2014/05/msg00165.html. 
  20. "Ghostscript : PDFI - The NEW Ghostscript PDF Interpreter is now the default!". https://www.ghostscript.com/blog/pdfi.html. 
  21. "Ghostscript and the PostScript Language - Scripting the PDF interpreter". https://ghostscript.com/doc/9.56.1/Language.htm#PDF_scripting. 
  22. "Debian package - gsfonts". http://packages.debian.org/sid/gsfonts. 
  23. "Fonts and font facilities supplied with Ghostscript". http://www.ghostscript.com/doc/current/Fonts.htm. 
  24. "Linux fonts (mostly X11)". 2009-08-15. http://www.sabi.co.uk/Notes/linuxFonts.html. 
  25. 25.0 25.1 25.2 "doc/pcl/urwfonts (URW fonts in TTF format)". https://ghostscript.com/doc/pcl/urwfonts/. 
  26. 26.0 26.1 "urw-base35-fonts" (in en). https://github.com/ArtifexSoftware/urw-base35-fonts. 
  27. Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts., http://www.geocrawler.com/archives/3/378/1996/5/0/2064811/, retrieved 2010-05-06 
  28. (TXT) Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts., http://www.tug.org/fonts/deutsch-urw.txt, retrieved 2010-05-06 
  29. "Fonts and TeX". 2009-12-19. http://www.tug.org/fonts/. 
  30. Five years after: Report on international TEX font projects, 2007, http://www.tug.org/TUGboat/Articles/tb29-1/tb91ludwichowski-fonts.pdf, retrieved 2010-05-06 
  31. "GhostPDL License". https://ghostscript.com/doc/pcl/LICENSE. 
  32. "Arch Linux - gimp". https://archlinux.org/packages/extra/x86_64/gimp/. 
  33. "Arch Linux - graphviz". https://archlinux.org/packages/extra/x86_64/graphviz/. 
  34. "Gnu FreeFont: Design notes". https://www.gnu.org/software/freefont/design-notes.html. 
  35. "The TeX Gyre (TG) Collection of Fonts — GUST Web Presence". https://www.gust.org.pl/projects/e-foundry/tex-gyre. 
  36. Bisson, Gaetan. "URW Garamond ttf conversions". http://garamond.org/. 

External links