Jump to content

Ghostscript: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Free fonts: Copyedits. Included the term "URW Base 35 fonts", as the collection is commonly known in the open source community.
m Free fonts: Clarified the meaning of the "classic Adobe set"
Line 50: Line 50:
== Free fonts ==
== Free fonts ==
There are several sets of [[free software|free]] fonts supplied for Ghostscript, intended to be metrically compatible with common fonts attached with the PostScript standard.<ref>{{cite web |url=http://packages.debian.org/sid/gsfonts |title=Debian package - gsfonts |access-date=2010-04-21}}</ref><ref>{{cite web |url=http://www.ghostscript.com/doc/current/Fonts.htm |title=Fonts and font facilities supplied with Ghostscript |access-date=2010-04-21}}</ref><ref>{{cite web |url=http://www.sabi.co.uk/Notes/linuxFonts.html |title=Linux fonts (mostly X11) |date=2009-08-15 |access-date=2010-04-21}}</ref><ref name=pcl-urwfonts/> These include:
There are several sets of [[free software|free]] fonts supplied for Ghostscript, intended to be metrically compatible with common fonts attached with the PostScript standard.<ref>{{cite web |url=http://packages.debian.org/sid/gsfonts |title=Debian package - gsfonts |access-date=2010-04-21}}</ref><ref>{{cite web |url=http://www.ghostscript.com/doc/current/Fonts.htm |title=Fonts and font facilities supplied with Ghostscript |access-date=2010-04-21}}</ref><ref>{{cite web |url=http://www.sabi.co.uk/Notes/linuxFonts.html |title=Linux fonts (mostly X11) |date=2009-08-15 |access-date=2010-04-21}}</ref><ref name=pcl-urwfonts/> These include:
* Contributed by German foundry [[URW++]] in 1996 under the [[GNU General Public License|GPL]] and [[Aladdin Free Public License|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'''. <ref name=urw-core35>{{cite web|author1=ArtifexSoftware|title=urw-base35-fonts|url=https://github.com/ArtifexSoftware/urw-base35-fonts|website=GitHub|access-date=25 March 2018|language=en}}</ref><ref>{{Citation |url=http://www.geocrawler.com/archives/3/378/1996/5/0/2064811/ |archive-url=https://web.archive.org/web/20021023155414/http://www.geocrawler.com/archives/3/378/1996/5/0/2064811/ |title=Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. |archive-date=2002-10-23 |access-date=2010-05-06}}</ref><ref>{{Citation |url=http://www.tug.org/fonts/deutsch-urw.txt |title=Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. |format=TXT |access-date=2010-05-06}}</ref><ref>{{cite web |url=http://www.tug.org/fonts/ |title=Fonts and TeX |date=2009-12-19 |access-date=2010-05-06}}</ref><ref>{{citation |url=http://www.tug.org/TUGboat/Articles/tb29-1/tb91ludwichowski-fonts.pdf |title=Five years after: Report on international TEX font projects |year=2007 |access-date=2010-05-06}}</ref> The collection is similar to the classic Adobe set: Bookman L ([[Bookman (typeface)|Bookman]]), Century Schoolbook L ([[Century Schoolbook|New Century Schoolbook]]), Chancery L ([[Zapf Chancery]]), Dingbats ([[Zapf Dingbats]]), Gothic L ([[ITC Avant Garde|Avant Garde]]), [[Nimbus Mono L]] ([[Courier (typeface)|Courier]]), [[Nimbus Roman No9 L]] ([[Times Roman|Times]]), [[Nimbus Sans L]] ([[Helvetica]]), Palladio L ([[Palatino]]), Standard Symbols L ([[Symbol (typeface)|Symbol]]), in Type1, TrueType, and OpenType formats.
* Contributed by German foundry [[URW++]] in 1996 under the [[GNU General Public License|GPL]] and [[Aladdin Free Public License|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'''. <ref name=urw-core35>{{cite web|author1=ArtifexSoftware|title=urw-base35-fonts|url=https://github.com/ArtifexSoftware/urw-base35-fonts|website=GitHub|access-date=25 March 2018|language=en}}</ref><ref>{{Citation |url=http://www.geocrawler.com/archives/3/378/1996/5/0/2064811/ |archive-url=https://web.archive.org/web/20021023155414/http://www.geocrawler.com/archives/3/378/1996/5/0/2064811/ |title=Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. |archive-date=2002-10-23 |access-date=2010-05-06}}</ref><ref>{{Citation |url=http://www.tug.org/fonts/deutsch-urw.txt |title=Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. |format=TXT |access-date=2010-05-06}}</ref><ref>{{cite web |url=http://www.tug.org/fonts/ |title=Fonts and TeX |date=2009-12-19 |access-date=2010-05-06}}</ref><ref>{{citation |url=http://www.tug.org/TUGboat/Articles/tb29-1/tb91ludwichowski-fonts.pdf |title=Five years after: Report on international TEX font projects |year=2007 |access-date=2010-05-06}}</ref> The collection is similar to 35 fonts defined by Adobe in [[PostScript_fonts#Core_Font_Set|PostScript Level 2]]: Bookman L ([[Bookman (typeface)|Bookman]]), Century Schoolbook L ([[Century Schoolbook|New Century Schoolbook]]), Chancery L ([[Zapf Chancery]]), Dingbats ([[Zapf Dingbats]]), Gothic L ([[ITC Avant Garde|Avant Garde]]), [[Nimbus Mono L]] ([[Courier (typeface)|Courier]]), [[Nimbus Roman No9 L]] ([[Times Roman|Times]]), [[Nimbus Sans L]] ([[Helvetica]]), Palladio L ([[Palatino]]), Standard Symbols L ([[Symbol (typeface)|Symbol]]), in Type1, TrueType, and OpenType formats.
*The GhostPDL package (including Ghostscript as well as companion implementations of [[Printer Command Language|HP PCL]] and [[Open XML Paper Specification|Microsoft XPS]]) includes additional fonts under the AFPL which bars commercial use.<ref name=pcl-urwfonts>{{cite web|title=doc/pcl/urwfonts (URW fonts in TTF format)|url=https://ghostscript.com/doc/pcl/urwfonts/|website=ghostscript doc|access-date=24 March 2018}}</ref><ref>{{cite web|title=GhostPDL License|url=https://ghostscript.com/doc/pcl/LICENSE|website=ghostscript doc|access-date=21 November 2017}}</ref> It includes URW++ versions of [[Garamond]] (Garamond No. 8), [[Optima]] (URW Classico), [[Arial]] (A030), [[Antique Olive]], and [[Univers]] (U001), [[Clarendon (typeface)|Clarendon]], [[Coronet (typeface)|Coronet]], [[Letter Gothic]], as well as URW Mauritius and a modified form of [[Albertus (typeface)|Albertus]] known as A028. Combined with the base set, they represent a little more than half of the standard PostScript 3 font complement.
*The GhostPDL package (including Ghostscript as well as companion implementations of [[Printer Command Language|HP PCL]] and [[Open XML Paper Specification|Microsoft XPS]]) includes additional fonts under the AFPL which bars commercial use.<ref name=pcl-urwfonts>{{cite web|title=doc/pcl/urwfonts (URW fonts in TTF format)|url=https://ghostscript.com/doc/pcl/urwfonts/|website=ghostscript doc|access-date=24 March 2018}}</ref><ref>{{cite web|title=GhostPDL License|url=https://ghostscript.com/doc/pcl/LICENSE|website=ghostscript doc|access-date=21 November 2017}}</ref> It includes URW++ versions of [[Garamond]] (Garamond No. 8), [[Optima]] (URW Classico), [[Arial]] (A030), [[Antique Olive]], and [[Univers]] (U001), [[Clarendon (typeface)|Clarendon]], [[Coronet (typeface)|Coronet]], [[Letter Gothic]], as well as URW Mauritius and a modified form of [[Albertus (typeface)|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).
* A miscellaneous set including [[Cyrillic]], [[kana]], and fonts derived from the free Hershey fonts, with improvements by Thomas Wolff (such as adding accented characters).

Revision as of 09:07, 5 August 2022

Ghostscript
Original author(s)L. Peter Deutsch
Developer(s)Artifex Software[1]
Initial releaseAugust 11, 1988; 36 years ago (1988-08-11)[2]
Stable release
9.56.1[3] / April 4, 2022; 2 years ago (2022-04-04)
Repository
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[4] files, for the display or printing of document pages, and the conversion between PostScript and PDF files.[5]

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

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

Front ends

Ghostscript graphical user interfaces (GUIs) view PostScript or PDF files on screens, scroll, page forward, page backward, zoom text, and print pages. Such GUIs include Evince, IrfanView, Inkscape and PDF24 Creator. Virtual printers 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.[22][23][24][25] These include:

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". ghostscript.com. July 10, 2002. Archived from the original on February 28, 2018. Retrieved May 23, 2017.
  2. ^ "History of Ghostscript versions 1.n". Archived from the original on 2007-02-08. Retrieved 2007-04-10.
  3. ^ "GPL Ghostscript 9". Ghostscript. Artifex Software, Inc. 2022-04-04. Archived from the original on 2018-09-03. Retrieved 2022-07-21.
  4. ^ "Ghostscript and the PostScript language". ghostscript.com. Archived from the original on 2017-09-30. Retrieved 2017-05-23.
  5. ^ Ingo, Henrik (1 August 2006). Open Life: The Philosophy of Open Source. Lulu.com. ISBN 9781847286116 – via Google Books.
  6. ^ "ps2pdf: PostScript-to-PDF converter". Archived from the original on 2011-07-20. Retrieved 2014-08-03.
  7. ^ "Creating a Free PDF Writer Using Ghostscript". www.stat.tamu.edu. Retrieved 2017-06-02.
  8. ^ "Recent changes in Ghostscript". pages.cs.wisc.edu. 2002-11-21. Archived from the original on 2016-10-25. Retrieved 2021-03-19.
  9. ^ "Aladdin Free Public License". Archived from the original on 2017-09-30. Retrieved 2021-03-19. (mirror)
  10. ^ "Background information for new users of Ghostscript". pages.cs.wisc.edu.
  11. ^ "Advogato: Blog for raph". 29 June 2017. Archived from the original on 29 June 2017.{{cite web}}: CS1 maint: bot: original URL status unknown (link)
  12. ^ raph (2006-06-07). "Ghostscript leading edge is now GPL!". Archived from the original on 2016-10-03. Retrieved 2021-03-19."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". Artifex Software Inc. Archived from the original on 2009-02-20. Retrieved 2021-03-19.
  14. ^ Robitaille, Jason (2009-12-04). "Copyright Infringement Lawsuit Filed Against Palm". webOS Nation. Retrieved 2021-03-19.{{cite web}}: CS1 maint: url-status (link)
  15. ^ "Complaint for Copyright Infringement" (PDF). 2009-12-02. p. 4: 15., p. 6: 27. Retrieved May 3, 2013.
  16. ^ "Notice of Voluntary Dismissal With Prejudice" (PDF). 2011-02-07. Retrieved 2021-03-19.
  17. ^ Liddell, Chris (2006-02-19). "[gs-devel] Ghostscript 9.07 and GhostPDL 9.07". Retrieved 2021-03-19.
  18. ^ "Licensing Information". Artifex Software Inc. Retrieved 2014-05-08.
  19. ^ Jose Luis Rivas (2014-05-06). "Re: Ghostscript licensing changed to AGPL". lists.debian.org. Retrieved 2021-03-19.
  20. ^ "Ghostscript : PDFI - The NEW Ghostscript PDF Interpreter is now the default!". www.ghostscript.com. Retrieved 2022-08-01.
  21. ^ "Ghostscript and the PostScript Language - Scripting the PDF interpreter". ghostscript.com. Retrieved 2022-08-01.
  22. ^ "Debian package - gsfonts". Retrieved 2010-04-21.
  23. ^ "Fonts and font facilities supplied with Ghostscript". Retrieved 2010-04-21.
  24. ^ "Linux fonts (mostly X11)". 2009-08-15. Retrieved 2010-04-21.
  25. ^ a b c "doc/pcl/urwfonts (URW fonts in TTF format)". ghostscript doc. Retrieved 24 March 2018.
  26. ^ a b ArtifexSoftware. "urw-base35-fonts". GitHub. Retrieved 25 March 2018.
  27. ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts., archived from the original on 2002-10-23, retrieved 2010-05-06
  28. ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. (TXT), retrieved 2010-05-06
  29. ^ "Fonts and TeX". 2009-12-19. Retrieved 2010-05-06.
  30. ^ Five years after: Report on international TEX font projects (PDF), 2007, retrieved 2010-05-06
  31. ^ "GhostPDL License". ghostscript doc. Retrieved 21 November 2017.
  32. ^ "Arch Linux - gimp". Retrieved 2022-08-04.
  33. ^ "Arch Linux - graphviz". Retrieved 2022-08-04.
  34. ^ "Gnu FreeFont: Design notes". Retrieved 2022-07-08.
  35. ^ "The TeX Gyre (TG) Collection of Fonts — GUST Web Presence". Retrieved 2022-08-04.
  36. ^ Bisson, Gaetan. "URW Garamond ttf conversions". Retrieved 18 August 2015.