Ghostscript: Difference between revisions
No edit summary |
General formatting by script |
||
Line 19: | Line 19: | ||
| programming language = [[C (programming language)|C]] |
| programming language = [[C (programming language)|C]] |
||
| operating system = [[Cross-platform]] |
| operating system = [[Cross-platform]] |
||
| platform = |
|||
| size = |
|||
| language = |
|||
| status = |
|||
| genre = [[PostScript]] and [[Portable Document Format|PDF]] interpreter |
| genre = [[PostScript]] and [[Portable Document Format|PDF]] interpreter |
||
| license = Dual-licensed ([[GNU Affero General Public License]] + commercial permissive exception) |
| license = Dual-licensed ([[GNU Affero General Public License]] + commercial permissive exception) |
||
| website = {{URL| |
| website = {{URL|ghostscript.com/}} |
||
}} |
}} |
||
'''Ghostscript''' is a suite of software based on an [[Interpreter (computing)|interpreter]] for [[Adobe Systems]]' [[PostScript]] and [[Portable Document Format]] (PDF) [[page description language]]s. Its main purposes are the [[rasterization]] or [[Rendering (computer graphics)|rendering]] of such page description language<ref>{{cite web|url=https://ghostscript.com/doc/9.21/Language.htm|title=Ghostscript and the PostScript language|website=ghostscript.com}}</ref> files, for the display or printing of document pages, and the conversion between PostScript and PDF files.<ref>{{cite web|url=https://books.google.com/books?id=ZyB5dt756HQC&pg=PA100&lpg=PA100&dq=Ghostscript|title=Open Life: The Philosophy of Open Source|first=Henrik|last=Ingo|date=1 August 2006|publisher=Lulu.com|via=Google Books}}</ref> |
'''Ghostscript''' is a suite of software based on an [[Interpreter (computing)|interpreter]] for [[Adobe Systems]]' [[PostScript]] and [[Portable Document Format]] (PDF) [[page description language]]s. Its main purposes are the [[rasterization]] or [[Rendering (computer graphics)|rendering]] of such page description language<ref>{{cite web|url=https://ghostscript.com/doc/9.21/Language.htm|title=Ghostscript and the PostScript language|website=ghostscript.com}}</ref> files, for the display or printing of document pages, and the conversion between PostScript and PDF files.<ref>{{cite web|url=https://books.google.com/books?id=ZyB5dt756HQC&pg=PA100&lpg=PA100&dq=Ghostscript|title=Open Life: The Philosophy of Open Source|first=Henrik|last=Ingo|date=1 August 2006|publisher=Lulu.com|via=Google Books}}</ref> |
||
== Features == |
== Features == |
||
Ghostscript can be used as a [[raster image processor]] (RIP) for raster [[computer printer]] |
Ghostscript can be used as a [[raster image processor]] (RIP) for raster [[computer printer]]s—for instance, as an input filter of [[Berkeley printing system|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".<ref name="ps2pdf"/> This converter is basically a thin wrapper around ghostscript's <code>pdfwrite</code> output device, which supports [[PDF/A]]-1 and PDF/A-2 as well as [[PDF/X]]-3 output.<ref name="ps2pdf">{{cite web |url=http://www.ghostscript.com/doc/current/Ps2pdf.htm |title=ps2pdf: PostScript-to-PDF converter |accessdate=2014-08-03}}</ref> |
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".<ref name="ps2pdf"/> This converter is basically a thin wrapper around ghostscript's <code>pdfwrite</code> output device, which supports [[PDF/A]]-1 and PDF/A-2 as well as [[PDF/X]]-3 output.<ref name="ps2pdf">{{cite web |url=http://www.ghostscript.com/doc/current/Ps2pdf.htm |title=ps2pdf: PostScript-to-PDF converter |accessdate=2014-08-03}}</ref> |
||
Line 50: | Line 46: | ||
* '''Aladdin Ghostscript''' 5.50 (1998-09-17) and 6.01 (2000–03-17)<ref>{{cite web|url=http://pages.cs.wisc.edu/~ghost/doc/AFPL/|title=Ghostscript|website=pages.cs.wisc.edu}}</ref> |
* '''Aladdin Ghostscript''' 5.50 (1998-09-17) and 6.01 (2000–03-17)<ref>{{cite web|url=http://pages.cs.wisc.edu/~ghost/doc/AFPL/|title=Ghostscript|website=pages.cs.wisc.edu}}</ref> |
||
* '''AFPL Ghostscript'''<ref>{{cite web|url=http://pages.cs.wisc.edu/~ghost/doc/AFPL/gs854.htm|title=Obtaining AFPL Ghostscript 8.54|website=pages.cs.wisc.edu}}</ref> is '''Aladdin Ghostscript''' under the [[Aladdin Free Public License|AFPL]], 6.50 (2000-12-05) to 8.54 (2006-05-17), now abandoned.<ref name="archive.org"/><ref name="auto"/> |
* '''AFPL Ghostscript'''<ref>{{cite web|url=http://pages.cs.wisc.edu/~ghost/doc/AFPL/gs854.htm|title=Obtaining AFPL Ghostscript 8.54|website=pages.cs.wisc.edu}}</ref> is '''Aladdin Ghostscript''' under the [[Aladdin Free Public License|AFPL]], 6.50 (2000-12-05) to 8.54 (2006-05-17), now abandoned.<ref name="archive.org"/><ref name="auto"/> |
||
* '''AGPL Ghostscript''' is the canonical variant available, since February 2013,<ref name=AGPL/> under the [[Affero General Public License|GNU Affero General Public License]] which is a |
* '''AGPL Ghostscript''' is the canonical variant available, since February 2013,<ref name=AGPL/> under the [[Affero General Public License|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. |
* '''GNU Ghostscript''' is part of the [[GNU project]] and is now derived from GPL Ghostscript. |
||
* '''GPL Ghostscript''' is the basis for '''Display Ghostscript''', which adds [[Display PostScript]] functionality support. |
* '''GPL Ghostscript''' is the basis for '''Display Ghostscript''', which adds [[Display PostScript]] functionality support. |
||
* '''Ghostscript''' is the current commercial proprietary version licensed by Artifex Software for inclusion in [[proprietary software|closed-source]] products. |
* '''Ghostscript''' is the current commercial proprietary version licensed by Artifex Software for inclusion in [[proprietary software|closed-source]] products. |
||
* '''Ghost Trap''' is a variant of GPL Ghostscript secured and sandboxed using Google Chrome's sandbox technology. |
* '''Ghost Trap''' is a variant of GPL Ghostscript secured and sandboxed using Google Chrome's sandbox technology. |
||
* '''ESP Ghostscript''' was a '''GPL Ghostscript''' fork |
* '''ESP Ghostscript''' was a '''GPL Ghostscript''' fork for [[Easy Software Products|ESP]]'s [[Common Unix Printing System|CUPS]] and merged with '''GPL Ghostscript'''.<ref>{{cite web|url=http://www.cups.org/articles.php?L484|title=Article #484: The Grand Unified Ghostscript Officially Released: GPL Ghostscript 8.60 - Common UNIX Printing System<!-- Bot generated title -->|publisher=|deadurl=yes|archiveurl=https://web.archive.org/web/20070927042528/http://www.cups.org/articles.php?L484|archivedate=2007-09-27|df=}}</ref> |
||
== Front ends == |
== Front ends == |
||
Line 90: | Line 86: | ||
== External links == |
== External links == |
||
* {{official website|https:// |
* {{official website|https://ghostscript.com/}} |
||
* [http://pages.cs.wisc.edu/~ghost/ Ghostscript version 8.56 and earlier] |
* [http://pages.cs.wisc.edu/~ghost/ Ghostscript version 8.56 and earlier] |
||
* [https://github.com/ArtifexSoftware/ghostpdl-downloads/releases Ghostscript/GhostPDL binaries download page] at Github (cross-platform, this site is actively maintained) |
* [https://github.com/ArtifexSoftware/ghostpdl-downloads/releases Ghostscript/GhostPDL binaries download page] at Github (cross-platform, this site is actively maintained) |
Revision as of 00:15, 9 June 2018
Original author(s) | L. Peter Deutsch |
---|---|
Developer(s) | Artifex Software[1] |
Initial release | August 11, 1988[2] |
Stable release | |
Repository | |
Written in | C |
Operating system | Cross-platform |
Type | PostScript and PDF interpreter |
License | Dual-licensed (GNU Affero General Public License + commercial permissive exception) |
Website | ghostscript |
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[5] files, for the display or printing of document pages, and the conversion between PostScript and PDF files.[6]
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.
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".[7] 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.[7]
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.[8][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.
History
Ghostscript was originally written[9] 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[10] (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.[11] With version 8.54 in 2006, both development branches were merged again, and dual-licensed releases were still provided.[12][13]
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.[14] Artifex' point of view on "aggregated software" was challenged in court for MuPDF.[15][16][17]
In February 2013, Ghostscript changed its license from GPLv3 to GNU AGPL,[18][19] which raised license compatibility questions for example by Debian.[20]
Variants and forks
- Aladdin Ghostscript 5.50 (1998-09-17) and 6.01 (2000–03-17)[21]
- AFPL Ghostscript[22] is Aladdin Ghostscript under the AFPL, 6.50 (2000-12-05) to 8.54 (2006-05-17), now abandoned.[12][13]
- AGPL Ghostscript is the canonical variant available, since February 2013,[18] 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.
- GPL Ghostscript is the basis for Display Ghostscript, which adds Display PostScript functionality support.
- 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.
- ESP Ghostscript was a GPL Ghostscript fork for ESP's CUPS and merged with GPL Ghostscript.[23]
Front ends
Ghostscript GUIs view PostScript or PDF files on screens, scroll, page forward, page backward, zoom text, and print page(s).
- Evince
- GSview[citation needed]
- IrfanView import and display PDF files
- Inkscape import and display PDF files
- virtual printers - to 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.[24][25][26][27] These include:
- 35 basic PostScript fonts contributed by URW++ Design and Development Incorporated, of Hamburg, Germany in 1996 under the GPL and AFPL.[28][29][30][31][32] It is a full set fonts similar to the classic Adobe set: 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.[27][33] It includes URW++ versions of Garamond (Garamond No. 8), Optima (URW Classico), Arial (A030), Antique Olive, and Univers (U001), Clarendon,[a] Coronet, Letter Gothic, as well as URW Mauritius[b] 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,[28][27] usable by most current software, and are popularly used within the open-source community. The Garamond font has additionally been improved upon.[34] URW's core 35 fonts have been subsequently incorporated into GNU FreeFont and TeX Gyre.[35]
See also
Notes
References
- ^ "Documentation". ghostscript.com. July 10, 2002.
- ^ "History of Ghostscript versions 1.n". Retrieved 2007-04-10.
- ^ "GPL Ghostscript 9". Ghostscript. Artifex Software, Inc. 2016-09-26. Retrieved 2016-09-26.
- ^ "Overview of Ghostscript". ghostscript.com.
- ^ "Ghostscript and the PostScript language". ghostscript.com.
- ^ Ingo, Henrik (1 August 2006). "Open Life: The Philosophy of Open Source". Lulu.com – via Google Books.
- ^ a b "ps2pdf: PostScript-to-PDF converter". Retrieved 2014-08-03.
- ^ "Creating a Free PDF Writer Using Ghostscript". www.stat.tamu.edu. Retrieved 2017-06-02.
- ^ "Recent changes in Ghostscript". pages.cs.wisc.edu.
- ^ Ghostscript 5.50 license (mirror)
- ^ "Background information for new users of Ghostscript". pages.cs.wisc.edu.
- ^ a b "Advogato: Blog for raph". 29 June 2017. Archived from the original on 29 June 2017.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ a b 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."
- ^ 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)
- ^ Copyright infringement lawsuit filed against palm on webosnation.com
- ^ "Complaint for Copyright Infringement" (PDF). p.4 ¶15, p.6 ¶27. Retrieved May 3, 2013.
- ^ "Notice of Voluntary Dismissal With Prejudice" (PDF). Retrieved May 3, 2013.
- ^ a b "Ghostscript 9.07 and GhostPDL 9.07".(dead url, archiv.is backup available)
- ^ "Licensing Information". Retrieved 2014-05-08.
- ^ "Re: Ghostscript licensing changed to AGPL". lists.debian.org.
- ^ "Ghostscript". pages.cs.wisc.edu.
- ^ "Obtaining AFPL Ghostscript 8.54". pages.cs.wisc.edu.
- ^ "Article #484: The Grand Unified Ghostscript Officially Released: GPL Ghostscript 8.60 - Common UNIX Printing System". Archived from the original on 2007-09-27.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ "Debian package - gsfonts". Retrieved 2010-04-21.
- ^ "Fonts and font facilities supplied with Ghostscript". Retrieved 2010-04-21.
- ^ "Linux fonts (mostly X11)". 2009-08-15. Retrieved 2010-04-21.
- ^ a b c "doc/pcl/urwfonts (URW fonts in TTF format)". ghostscript doc. Retrieved 24 March 2018.
- ^ a b ArtifexSoftware. "urw-base35-fonts". GitHub. Retrieved 25 March 2018.
- ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts., archived from the original on 2002-10-23, retrieved 2010-05-06
- ^ Finally! Good-quality free (GPL) basic-35 PostScript Type 1 fonts. (TXT), retrieved 2010-05-06
- ^ "Fonts and TeX". 2009-12-19. Retrieved 2010-05-06.
- ^ Five years after: Report on international TEX font projects (PDF), 2007, retrieved 2010-05-06
- ^ "GhostPDL License". ghostscript doc. Retrieved 21 November 2017.
- ^ Bisson, Gaetan. "URW Garamond ttf conversions". Retrieved 18 August 2015.
- ^ "The New Font Project : TEX Gyre" (PDF). Tug.org. Retrieved 2015-06-12.
External links
- Official website
- 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)