Generated by GPT-5-mini| Ghostview | |
|---|---|
![]() | |
| Name | Ghostview |
| Author | L. Peter Deutsch |
| Developer | GNU Project; various maintainers |
| Released | 1989 |
| Operating system | Unix-like, Microsoft Windows |
| Genre | Document viewer |
| License | GPL |
Ghostview is a graphical front end for the Ghostscript interpreter, originally developed to display and manipulate PostScript and Encapsulated PostScript files on platforms that lacked native PostScript rendering. It served as an important tool for users of TeX, LaTeX, and NeXTSTEP-era workstations by integrating with printing systems such as CUPS and enabling preview workflows used in desktop publishing with applications like Scribus and XFig.
Ghostview was created in the late 1980s by L. Peter Deutsch to provide a user-friendly interface to Ghostscript, which itself traces to projects at Adobe Systems and research by Deutsch connected to the GNU Project. Early adoption occurred among users of Unix variants such as SunOS, Ultrix, and AIX and within academic institutions using TeX and LaTeX distributions like TeX Live and MiKTeX. Over time forks and ports targeted environments including Microsoft Windows and Mac OS X, with maintainers coordinating through mailing lists and repositories influenced by models used in Free Software Foundation projects. The software’s development paralleled the rise of printing subsystems such as lpr and CUPS and the proliferation of graphical toolkits exemplified by X11 and Motif.
Ghostview provides page navigation, zooming, rotation, and basic annotation controls tailored for PostScript workflows and integration with Ghostscript backends. It supports viewing multi-page documents, searching through document pages when combined with text extraction utilities used in TeX toolchains, and offers printing controls that interact with spooling systems like BSD lpr and CUPS. The application exposes parameters for resolution, color mapping, and transparency that are important in workflows involving Scribus, GIMP, and rasterizers derived from Netpbm. Ghostview’s ability to convert between formats facilitated interoperability between vector-based formats used in Adobe Illustrator and raster-focused tools such as ImageMagick.
Ghostview is implemented in C and designed as a lightweight front end to the Ghostscript interpreter, communicating via command-line invocations, pipes, or inter-process mechanisms used in POSIX systems. The architecture relies on display libraries and windowing systems like X Window System and widget toolkits such as Motif or GTK+ in later ports, while Windows ports used APIs from Microsoft Windows API and adaptations from Cairo for rendering. Rendering responsibilities are delegated to Ghostscript, which handles parsing of PostScript and PDF content derived from workflows involving dvips and pdfTeX; Ghostview manages viewport, raster cache, and user-driven commands, mirroring patterns used in client-server designs such as X.Org Server interactions.
The user interface was originally built on the X11 toolkit conventions with pull-down menus, scrollbar navigation, and a thumbnail or page-list pane similar to interfaces found in applications like Evince and Okular. Keyboard shortcuts and mouse bindings follow conventions used in Emacs and other Unix utilities to support rapid navigation for researchers and typesetters working with LaTeX output. Later Windows variants adopted event models and controls inspired by Microsoft Windows guidelines and integrated print dialogs compatible with CUPS and Windows Print Spooler.
Ghostview primarily targets PostScript and Encapsulated PostScript but, via Ghostscript, supports PDF rendering compatible with many specifications used in ISO 32000 and workflows that include converters like ps2pdf. Interoperability with toolchains such as LaTeX→dvips→PostScript, and publication systems employed by journals and conferences (e.g., submissions to ACM and IEEE) made Ghostview a common reviewer tool. Platform ports ensured availability on Linux distributions, FreeBSD, NetBSD, OpenBSD, and legacy systems including NeXTSTEP and MS-DOS-derived environments through community efforts.
Ghostview has been distributed under free software terms consistent with the GNU General Public License principles upheld by the Free Software Foundation, aligning with licensing of Ghostscript in many distributions until variations in Ghostscript licensing prompted separate packaging decisions by projects such as Debian and Red Hat. Binary and source distributions were commonly included in package repositories for Gentoo, Debian GNU/Linux, Ubuntu, and Arch Linux, while Windows installers were maintained by independent contributors and mirrored on project archives associated with SourceForge-era hosting and contemporary GitLab or GitHub mirrors.
Ghostview was widely adopted by the academic and typesetting communities and influenced the design of later document viewers like Evince, Okular, and Adobe Acrobat Reader by demonstrating the value of a responsive preview coupled to robust printing workflows. Its integration with LaTeX toolchains and printing systems contributed to reproducible document production practices used in scholarly publishing at institutions such as MIT, Stanford University, and University of Cambridge. Though supplanted in many desktops by native PDF viewers and integrated toolchains used in macOS and modern Windows environments, Ghostview remains notable in histories of free software and desktop publishing for enabling portable PostScript workflows.
Category:Document viewers