1036 lines · 29.4 KB · HTML
RawDownload
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>.ps files distributed with Ghostscript</title><!-- $Id: Psfiles.htm,v 1.68 2005/10/20 19:46:23 ray Exp $ --><!-- Originally: psfiles.txt --><link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style"></head> <body><!-- [1.0 begin visible header] ============================================ --> <!-- [1.1 begin headline] ================================================== --> <h1>PostScript files distributed with Ghostscript</h1> <!-- [1.1 end headline] ==================================================== --> <!-- [1.2 begin table of contents] ========================================= --> <h2>Table of contents</h2> <blockquote><ul><li><a href="#General">Generally used system files</a><li><a href="#Obscure">More obscure system files</a><li><a href="#Config">Configuration files</a><li><a href="#PDF_specific">PDF-specific system files</a><li><a href="#DPS_specific">Display PostScript-specific system files</a><li><a href="#Art">Art and examples</a><li><a href="#Utilities">Utilities</a><li><a href="#Development_tools">Development tools</a><li><a href="#Miscellany">Odds and ends</a></ul></blockquote> <!-- [1.2 end table of contents] =========================================== --> <!-- [1.3 begin hint] ====================================================== --> <p>For other information, see the <a href="Readme.htm">Ghostscriptoverview</a>. <!-- [1.3 end hint] ======================================================== --> <hr> <!-- [1.0 end visible header] ============================================== --> <!-- [2.0 begin contents] ================================================== --> <h2><a name="General"></a>Generally used system files</h2> <p>These files are found in the <b><tt>lib</tt></b> subdirectory ofthe Ghostscript source distribution. <dl><dt><tt>gs_*_e.ps</tt><dd><p>These files define the Encodings known to Ghostscript.  All ofthem except <b><tt>gs_std_e.ps</tt></b> and <b><tt>gs_il1_e.ps</tt></b>are loaded only if referred to. <dl> <dt>PostScript Encodings:<dd><a href="../lib/gs_ce_e.ps"><tt>gs_ce_e.ps</tt></a>,<a href="../lib/gs_il1_e.ps"><tt>gs_il1_e.ps</tt></a>,<a href="../lib/gs_std_e.ps"><tt>gs_std_e.ps</tt></a>,<a href="../lib/gs_sym_e.ps"><tt>gs_sym_e.ps</tt></a>. <dt>PDF Encodings:<dd><a href="../lib/gs_mex_e.ps"><tt>gs_mex_e.ps</tt></a>,<a href="../lib/gs_mro_e.ps"><tt>gs_mro_e.ps</tt></a>,<a href="../lib/gs_pdf_e.ps"><tt>gs_pdf_e.ps</tt></a>,<a href="../lib/gs_wan_e.ps"><tt>gs_wan_e.ps</tt></a>. <dt>Non-standard Encodings:<dd><a href="../lib/gs_dbt_e.ps"><tt>gs_dbt_e.ps</tt></a>,<a href="../lib/gs_il2_e.ps"><tt>gs_il2_e.ps</tt></a>,<a href="../lib/gs_ksb_e.ps"><tt>gs_ksb_e.ps</tt></a>,<a href="../lib/gs_wl1_e.ps"><tt>gs_wl1_e.ps</tt></a>,<a href="../lib/gs_wl2_e.ps"><tt>gs_wl2_e.ps</tt></a>,<a href="../lib/gs_wl5_e.ps"><tt>gs_wl5_e.ps</tt></a>. <dt>Pseudo-encodings:<dd><a href="../lib/gs_css_e.ps"><tt>gs_css_e.ps</tt></a>,<a href="../lib/gs_lgo_e.ps"><tt>gs_lgo_e.ps</tt></a>,<a href="../lib/gs_lgx_e.ps"><tt>gs_lgx_e.ps</tt></a>,<a href="../lib/gs_mgl_e.ps"><tt>gs_mgl_e.ps</tt></a>. </dl></dl> <dl><dt><a href="../lib/gs_btokn.ps"><tt>gs_btokn.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in if the <b><tt>btoken</tt></b>feature is included in the configuration.  It provides support for binarytokens.</dl> <dl><dt><a href="../lib/gs_ccfnt.ps"><tt>gs_ccfnt.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in if the <b><tt>ccfonts</tt></b>feature is included in the configuration.  It provides support for compiledfonts.</dl> <dl><dt><a href="../lib/gs_cff.ps"><tt>gs_cff.ps</tt></a><dd>Load CFF (compressed) fonts.</dl> <dl><dt><a href="../lib/gs_fntem.ps"><tt>gs_fntem.ps</tt></a><dd>Code for emulating PostScript fonts with non-PostScript font technologies.</dl> <dl><dt><a href="../lib/gs_cidtt.ps"><tt>gs_cidtt.ps</tt></a><dd>Code for emulating CID fonts with TrueType fonts.</dl> <dl><dt><a href="../lib/gs_cidcm.ps"><tt>gs_cidcm.ps</tt></a><dd>Code for recognizing font names of the form CIDFont-CMap (orCIDFont--CMap) and creating the font automatically.</dl> <dl><dt><a href="../lib/gs_ciddc.ps"><tt>gs_ciddc.ps</tt></a><dd>Defines Decoding and CIDDecoding resource categories and related procsets.Used for for emulating PostScript fonts with non-PostScript font technologies.</dl> <dl><dt><a href="../lib/gs_cidfm.ps"><tt>gs_cidfm.ps</tt></a><dd>Provides resource mapping for CIDFont category.</dl> <dl><dt><a href="../lib/gs_cidfn.ps"><tt>gs_cidfn.ps</tt></a><dd><b><tt>ProcSet</tt></b> for implementing <b><tt>CIDFont</tt></b> and<b><tt>CIDMap</tt></b> resources.</dl> <dl><dt><a href="../lib/gs_ciecs2.ps"><tt>gs_ciecs2.ps</tt></a><dd>Implementation of the LangaugeLevel 2 CIEBased color spaces: CIEBasedA and CIEBasedABC.</dl> <dl><dt><a href="../lib/gs_ciecs3.ps"><tt>gs_ciecs3.ps</tt></a><dd>Implementation of the LangaugeLevel 3 CIEBased color spaces: CIEBasedA and CIEBasedABC.</dl> <dl><dt><a href="../lib/gs_cmap.ps"><tt>gs_cmap.ps</tt></a><dd><b><tt>ProcSet</tt></b> for implementing <b><tt>CMap</tt></b> resources.</dl> <dl><dt><a href="../lib/gs_cspace.ps"><tt>gs_cspace.ps</tt></a><dd> PostScript portion of the basic color space handling;see the extensive comment at the head of the filefor information. Note that color space substitutionand the hue-saturation-brightness (HSB) color spaceare now fully implemented in the PostScript code;the interpreter and the graphic library are no longerinvolved in or even aware of these features.</dl> <dl><dt><a href="../lib/gs_devcs.ps"><tt>gs_devcs.ps</tt></a><dd>Implementation of the DeviceGray, DeviceRGB, and DeviceCMYK color spaces.</dl> <dl>   <dt><a href="../lib/gs_devn.ps"><tt>gs_devn.ps</tt></a>   <dd>Implementation of the DeviceN color space.</dl> <dl>   <dt><a href="../lib/gs_devpxl.ps"><tt>gs_devpxl.ps</tt></a>   <dd>Implementation of the DevicePixel color space.</dl> <dl><dt><a href="../lib/gs_dscp.ps"><tt>gs_dscp.ps</tt></a><dd>Code to compensate for badly written PostScript files by settingOrientation according to the DSC comments.</dl> <dl><dt><a href="../lib/gs_epsf.ps"><tt>gs_epsf.ps</tt></a><dd>Allow the interpreter to recognize DOS EPSF file headers, and skip to thePostScript section of the file.</dl> <dl><dt><a href="../lib/gs_fapi.ps"><tt>gs_fapi.ps</tt></a><dd>Font API support.</dl> <dl><dt><a href="../lib/gs_fonts.ps"><tt>gs_fonts.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in.  It initializes Ghostscript'sfont machinery and provides some utility procedures that work with fonts.</dl> <dl><dt><a href="../lib/gs_frsd.ps"><tt>gs_frsd.ps</tt></a><dd>Support for the PostScript LanguageLevel 3<b><tt>ReusableStreamDecode</tt></b> filter.</dl> <dl><dt><a href="../lib/gs_img.ps"><tt>gs_img.ps</tt></a><dd>Implementation of the traditional (non-dictionary)form of the image and imagemask operators, and thecolorimage operator (including the Next alphaimagefacility).</dl> <dl><dt><a href="../lib/gs_indxd.ps"><tt>gs_indxd.ps</tt></a><dd>Implementation of the Indexed color space.</dl> <dl><dt><a href="../lib/gs_init.ps"><tt>gs_init.ps</tt></a><dd>Ghostscript reads this automatically when it starts up.  It containsdefinitions of many standard procedures and initialization for a widevariety of things.</dl> <dl><dt><a href="../lib/gs_lev2.ps"><tt>gs_lev2.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in if the Ghostscript interpreterincludes Level 2 PostScript functions.  It contains definitions ofprocedures and miscellaneous initialization for the Level 2 functions.</dl> <dl><dt><a href="../lib/gs_ll3.ps"><tt>gs_ll3.ps</tt></a><dd>Initialize PostScript LanguageLevel 3 functions.</dl> <dl><dt><a href="../lib/gs_patrn.ps"><tt>gs_patrn.ps</tt></a><dd>Implementation of the Pattern color space.</dl> <dl><dt><a href="../lib/gs_resmp.ps"><tt>gs_resmp.ps</tt></a><dd>A procset for redefining resource categories with a resource map.</dl> <dl><dt><a href="../lib/gs_resst.ps"><tt>gs_resst.ps</tt></a><dd>A procset which allow to put resource files into static data segmentof Ghostscript executable.</dl> <dl><dt><a href="../lib/gs_stres.ps"><tt>gs_stres.ps</tt></a><dd>A map for generating the static data segment with includingresource files, and for retrieving resources from there.          </dl> <dl><dt><a href="../lib/gs_res.ps"><tt>gs_res.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in if the Level 2 resourcemachinery is included.  Currently, this is the case for all Level 2configurations.</dl> <dl><dt><a href="../lib/gs_sepr.ps"><tt>gs_sepr.ps</tt></a><dd>Implementaton of the Separation color space.</dl> <dl><dt><a href="../lib/gs_setpd.ps"><tt>gs_setpd.ps</tt></a><dd>Implementation of the <b><tt>setpagedevice</tt></b> operator.</dl> <dl><dt><a href="../lib/gs_statd.ps"><tt>gs_statd.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in.  It creates a dummy<b><tt>statusdict</tt></b> and some other environmental odds and ends forthe benefit of PostScript files that really want to be printed on aLaserWriter.</dl> <dl><dt><a href="../lib/gs_trap.ps"><tt>gs_trap.ps</tt></a><dd>Stub support for the PostScript LanguageLevel 3 "In-RIP trapping"feature.</dl> <dl><dt><a href="../lib/gs_ttf.ps"><tt>gs_ttf.ps</tt></a><dd>Support code for direct use of TrueType fonts.</dl> <dl><dt><a href="../lib/gs_typ32.ps"><tt>gs_typ32.ps</tt></a><dd>Initialization file for Type 32 fonts.</dl> <dl><dt><a href="../lib/gs_typ42.ps"><tt>gs_typ42.ps</tt></a><dd>Support code for Type 42 fonts (TrueType font in a PostScript "wrapper").</dl> <dl><dt><a href="../lib/gs_type1.ps"><tt>gs_type1.ps</tt></a><dd><b><tt>gs_init.ps</tt></b> reads this in if the Ghostscript interpreterincludes Type 1 font capability (which it normally does).</dl> <hr> <h2><a name="Config"></a>Configuration files</h2> <p>These files are found in the <b><tt>lib</tt></b> subdirectory ofthe Ghostscript source distribution. Users are allowed to modify themto configure Ghostscript. <dl><dt><a href="../lib/Fontmap"><tt>Fontmap</tt></a><dd>Font mapping table.</dl> <dl><dt><a href="../lib/cidfmap"><tt>cidfmap</tt></a><dd>CID font mapping table. Allows substitution of a CID font for another CID font ora TrueType font for a CID font.</dl> <dl><dt><a href="../lib/FAPIconfig"><tt>FAPIconfig</tt></a><dd>A configuration file for Font API client.</dl> <dl><dt><a href="../lib/FAPIfontmap"><tt>FAPIfontmap</tt></a><dd>Font mapping table for Font-API-handled fonts.</dl> <dl><dt><a href="../lib/FAPIcidfmap"><tt>FAPIcidfmap</tt></a><dd>Font mapping table for Font-API-handled CID fonts.</dl> <hr> <h2><a name="Obscure"></a>More obscure system files</h2> <p>These files are found in the <b><tt>lib</tt></b> subdirectory ofthe Ghostscript source distribution. <dl><dt><a href="../lib/font2c.ps"><tt>font2c.ps</tt></a><dd>Convert a PostScript Type 0 or Type 1 font to C code that can be compiledand linked into Ghostscript; see the documentation on fonts for <ahref="Fonts.htm#Precompiling">how to do this</a>.</dl> <dl><dt><a href="../lib/gs_agl.ps"><tt>gs_agl.ps</tt></a><dd>Contains the mapping from Adobe glyph names to Unicode values, used tosupport TrueType fonts.</dl> <dl><dt><a href="../lib/gs_cmdl.ps"><tt>gs_cmdl.ps</tt></a><dd>This file is not used yet.  Eventually it will replace C code thatparses the Ghostscript command line.</dl> <dl><dt><a href="../lib/gs_diskf.ps"><tt>gs_diskf.ps</tt></a><dd>This file implements the <b><tt>-dDISKFONTS</tt></b> feature(<b><tt>diskfont.dev</tt></b>).  See the the usage documentation for <ahref="Use.htm#DISKFONTS">a description of this feature</a>.</dl> <dl><dt><a href="../lib/gs_diskn.ps"><tt>gs_diskn.ps</tt></a><dd>This file implements the <b><tt>%disk</tt></b> IODevice(<b><tt>diskn.dev</tt></b> feature).  See the the language documentationfor information on the use of the %disk# devices. These PostScriptmodifications primarily perform the searching of all Searchable filesystems in a defined SearchOrder when a file reference does not containan explicit %device% specifier (such as <b><tt>%os%</tt></b> or<b><tt>%disk0</tt></b>%). This is required to emulate undocumentedbehaviour of Adobe PostScript printers that have a disk and wasexperimentally determined.</dl> <dl><dt><a href="../lib/gs_fform.ps"><tt>gs_fform.ps</tt></a><dd>A usable but imperfect PostScript implementation of Form caching.</dl> <dl><dt><a href="../lib/gs_kanji.ps"><tt>gs_kanji.ps</tt></a><dd>This file provides support for the Wadalab free Kanji font.  It is notincluded automatically in any configuration.</dl> <dl><dt><a href="../lib/gs_pdfwr.ps"><tt>gs_pdfwr.ps</tt></a><dd>This file contains some patches for providing information to the<b><tt>pdfwrite</tt></b> driver.  It is included only if the<b><tt>pdfwrite</tt></b> driver is included.</dl> <dl><dt><a href="../lib/gs_pfile.ps"><tt>gs_pfile.ps</tt></a><dd>This file provides runtime support for packed fonts.  It is notincluded automatically in any configuration.</dl> <dl><dt><a href="../lib/gs_rdlin.ps"><tt>gs_rdlin.ps</tt></a><dd>A tiny patch for systems with built-in readline support.</dl> <dl><dt><a href="../lib/ht_ccsto.ps"><tt>ht_ccsto.ps</tt></a><dd>A default stochastic CMYK halftone.  This file is in the public domain.</dl> <dl><dt><a href="../lib/stcolor.ps"><tt>stcolor.ps</tt></a><dd>Configure the (Epson) <b><tt>stcolor</tt></b> driver</dl> <hr> <h2><a name="PDF_specific"></a>PDF-specific system files</h2> <p>These files are found in the <b><tt>lib</tt></b> subdirectory ofthe Ghostscript source distribution. <dl><dt><a href="../lib/gs_l2img.ps"><tt>gs_l2img.ps</tt></a><dd>The <b><tt>ProcSet</tt></b> that emulates the PostScript Level 2"<b><tt>image</tt></b>" operator on Level 1 systems.</dl> <dl><dt><a href="../lib/pdf_base.ps"><tt>pdf_base.ps</tt></a><dd>Utilities for interpreting PDF objects and streams.</dl> <dl><dt><a href="../lib/pdf_draw.ps"><tt>pdf_draw.ps</tt></a><dd>The interpreter for drawing-related PDF operations.</dl> <dl><dt><a href="../lib/pdf_font.ps"><tt>pdf_font.ps</tt></a><dd>Code for handling fonts in PDF files.</dl> <dl><dt><a href="../lib/pdf_main.ps"><tt>pdf_main.ps</tt></a><dd>Document- and page-level control for interpreting PDF files.</dl> <dl><dt><a href="../lib/pdf_ops.ps"><tt>pdf_ops.ps</tt></a><dd>Definitions for most of the PDF operators.</dl> <dl><dt><a href="../lib/pdf_rbld.ps"><tt>pdf_rbld.ps</tt></a><dd>Contains procedures for bebuilding damaged PDF files.</dl> <dl><dt><a href="../lib/pdf_sec.ps"><tt>pdf_sec.ps</tt></a><dd>PDF security (encryption) code.</dl> <dl>

Lines 1–500 of 1036.