Profile Profile Achievements View your awards after completing your profile. View your bookmarks after completing your profile. Recommended courses. Instructor-led training. Browse content library. View all learning options. Search Results. Community home. Advertising Cloud. Audience Manager. Campaign Standard. Experience Cloud. Experience Manager. Experience Platform. View all communities. Feedback Panel. View your awards after completing your profile. Adobe Experience League.
Exit search. AEM 6. Finance reference site walkthrough We. Gov reference site walkthrough Employee self-service reference site walkthrough Employee recruitment reference site walkthrough We. Finance Auto Insurance Renewal reference site We. Documentation AEM 6. For more details see the PNG specification. Some versions of Ghostscript may also support other non-standard filters for experimental purposes. The current version includes the following such filters, which are not documented further.
No code should assume that these filters will exist in compatible form, or at all, in future versions. If this parameter is true for the current device, attempt to set a new device that has.
LockSafetyParams false will signal an invalidaccess error. Because this feature relies upon rendering the input it is incompatible, and will generate an error on attempted use, with any of the vector output devices.
Ghostscript also supports the following read-only parameter that is not a true device parameter:. In addition, the following are defined per Adobe's documentation for the setpagedevice operator:. The null device ignores attempts to set PageSize ; its size is always [0 0]. It should be noted that calling setpagedevice with one of the above keys may reset the effects of any pdfmark commands up to that point.
This value includes the space for padding raster lines and for an array of pointers for each raster line, thus the MaxBitmap value to allow a given PageSize of a specific number of bits per pixel to be rendered in a full page buffer may be somewhat larger than the bitmap size alone. If MaxBitmap above forces banding mode, and if BufferSpace is large enough, the display list clist will consist of a single band. Note that the background printing thread will allocate a band buffer size determined by the BufferSpace or BandBufferSpace values in addition to the band buffer in the 'main' parsing thread.
The background printing thread will perform any processing of the raster data delivered by the rendering threads. Note that BGPrint is disabled for vector devices such as pdfwrite and NumRenderingThreads has no effect on these devices eitehr. Since the determination of whether or not the page uses colors is determined before the conversion to device colors, this information is independent of the device output profile.
Changing this value requires rebuilding. Also, the 'pageneutralcolor' status can be interrogated as a device parameter of the same name.
Using PostScript there are several methods:. Note that the pageneutralcolor state is reset to false after the page is output, so this parameter is only valid immediately before showpage is executed, although the setpagedevice EndPage procedure can be used to check the state just prior to the actual output of the page that resets pagenuetralcolor.
For example:. The number of threads should generally be set to the number of available processor cores for best throughput. Note that each thread will allocate a band buffer size determined by the BufferSpace or BandBufferSpace values in addition to the band buffer in the 'main' thread. Additoinally note that ths parameter has no effect with devices which do not generally render to a bitmap output, such as the vector devices eg pdfwrite and has no effect when rendering, but not using a clist.
Attempts to set this parameter if. LockSafetyParams is true will signal an invalidaccess error. The following parameters are for use only by very specialized applications that separate band construction from band rasterization.
Improper use may cause unpredictable errors. In particular, if you only want to allocate more memory for banding, to increase band size and improve performance, use the BufferSpace parameter, not BandBufferSpace. Ghostscript supports the following parameter for setpagedevice and currentpagedevice that is not a device parameter per se:. Also when LockFilePermissions is true , strings cannot reference the parent directory platform specific. For example.. This parameter is set true by the.
Files cannot be opened for writing anywhere and cannot be deleted or renamed except for files created with the. The operator run can take either a string or a file as its argument.
In the latter case, it just runs the file, closing it at the end, and trapping errors just as for the string case. Decoding is a Ghostscript-specific resource category. It contains various resources for emulating PostScript fonts with other font technologies. Instances of the Decoding category are tables which map PostScript glyph names to character codes used with TrueType, Intellifont, Microtype and other font formats.
An instance of the Decoding resource category is a dictionary. The dictionary keys are PostScript glyph names and the values are either character codes, or arrays of character codes. Arrays are used when a single name may be mapped to various character codes - in this case Ghostscript tries all alternatives until a success.
The name of the resource instance should reflect the character set for which it maps. See the file itself for more information. The file format for Decoding resource files is generic PostScript. Users may want to define custom Decoding resources. An instance of the CIDDecoding resource category is a dictionary of arrays. Keys in the dictionary are integers, which correspond to high order byte of a CID. Values are element arrays, and their indices correspond to the low order byte of a CID.
Each elemet of an array is either null, or character code integer , or an array of character codes integers. The zero code represents mapping to the default character.
The dictionary includes the additional key CIDCount. Its value is the maximal CID defined, plus one. The Ghostscript library is capable of generating some CIDDecoding instances automatically, using the appropriate CMap character map resources. This covers most of practical cases if the neccessary CMap resources are provided. See the table. Users may want to define custom resources to CIDDecoding resource category.
In this dictionary the keys are glyph names, the values are Unicode UTF codes for them. Ghostscript recognises it and uses to generate ToUnicode CMaps with pdfwrite. Ghostscript does not distinguish lib and Resource directories. There is no file name conflicts because lib does not contain subdirectories, but Resource always store files in subdirectories. The search method with multiple resource directories appears not fully conforming to PLRM. We cannot unconditionally call ResourceFileName while executing findresource or resourcestatus , resourceforall , because per PLRM it always returns a single path.
Therefore Ghostscript implements an extended search method in findresource , resourcestatus and resourceforall , which first calls ResourceFileName and checks whether the returned path points to an existing file. With a single resource directory it appears conforming to PLRM and equivalent to Adobe implementations.
ResourceFileName may be used for obtaining a path where a resource file to be installed. The default value for GenericResourceDir is a relative path. Contact Us. Ghostscript and the PostScript Language.
The base interpreter may be configured see the documentation on building Ghostscript for how to configure it by adding any combination of the following: The ability to process PostScript Type 1 fonts. This facility is normally included in the interpreter. These facilities are available only if the color , dps , or level2 feature was selected when Ghostscript was built.
The Display PostScript extensions listed in section A. These facilities are available only if the dps feature or the level2 feature was selected when Ghostscript was built.
The composite font extensions listed in section A. These facilities are available only if the compfont feature or the level2 feature was selected when Ghostscript was built. These facilities are available only if the ttfont feature was selected when Ghostscript was built. These facilities are available only if the filter , dps , or level2 feature was selected when Ghostscript was built.
These facilities are available only if the dct or level2 feature was selected when Ghostscript was built.
All the other PostScript Level 2 operators and facilities listed in section A. These facilities are available only if the level2 feature was selected when Ghostscript was built. These facilities are available only if the psl3 feature was selected when Ghostscript was built.
Its main real-world application historically is as a page description language , or in its single-page EPS form a vector-graphics image-description language. It is dynamically-typed, dynamically-scoped, and stack-based which leads to a mostly Reverse Polish syntax.
Though PostScript is typically used as a page description language -- and therefore is implemented inside many printers to generate raster images -- it can also be used for other purposes. As a quick reverse-polish calculator with more memorable operator names than bc. As an output format generated by another program usually in some other language.
Though PostScript file are typically 7-bit-clean ASCII, there exist several kinds of binary encoding described in the level 2 standard. And being programmable, a program may implement its own arbitrarily-complex encoding scheme for itself. Postscript Tutorial and Cookbook - The blue book. Postscript Language Program Design - The green book. Thinking in Postscript - By the author of the green book and the blue-book's tutorial.
Troubleshoot PostScript errors - Debugging tips. Thread with many sorting algorithm implementations usenet archive. Anastigmatix's Direct use of the Postscript Language. Open-source step-wise Debugger for Postscript Code. Usenet FAQ circa SO PostScript questions sorted by most-frequently viewed. Postscript Language Reference Manual, 1ed, Recommended for its small size, and easy operator index from the summary pages missing from later editions.
Real World Postscript.
0コメント