Overprinting is not allowed for devices with an additive process color model. With files that use overprinting, the appearance of the resulting image can differ between devices which produce RGB output versus devices which produce CMYK output.
Ghostscript automatically overprints if needed when the output device uses a subtractive process color model. For example, if the file is using overprinting, differences can be seen in the appearance of the output from the tiff24nc and tiff32nc devices which use an RGB and a CMYK process color models.
Most of the Ghostscript output devices do not have file formats which support spot colors. Instead spot colors are converted using the tint transform function contained within the color space definition.. However there are several devices which have support for spot colors. This allows Photoshop to simulate the appearance of the spot colors.
The display device, when using its CMYK plus spot color separation mode, also uses an equivalent CMYK color to simulate the appearance of the spot color. The tiffsep device creates output files for each separation CMYK and any spot colors present. The xcfcmyk device creates output files with spot colors placed in separate alpha channels. The XCF file format does not currently directly support spot colors.
Overprinting with spot colors is not allowed if the tint transform function is being used to convert spot colors. Thus if spot colors are used with overprinting, then the appearance of the result can differ between output devices. If the test succeeds, Ghostscript tries to open the file using the name given. Otherwise it tries directories in this order:. By default, Ghostscript no longer searches the current directory first but provides -P switch for a degree of backward compatibility.
Note that Ghostscript does not use this file searching algorithm for the run or file operators: for these operators, it simply opens the file with the name given. To run a file using the searching algorithm, use runlibfile instead of run. Adobe specifies that resources are installed in a single directory.
Ghostscript instead maintains a list of resource directories, and uses an extended method for finding resource files. The search for a resource file depends on whether the value of the system parameter GenericResourceDir specifies an absolute path. The user may set it as explained in Resource-related parameters.
The first path with Resource in it is used, including any prefix up to the path separator character following the string Resource. If the value of the system parameter GenericResourceDir is an absolute path the default , Ghostscript assumes a single resource directory.
It concatenates :. If the value of the system parameter GenericResourceDir is not an absolute path, Ghostscript assumes multiple resource directories. In this case it concatenates :. Due to possible variety of the part 1, the first successful combination is used.
For example, if the value of the system parameter GenericResourceDir is the string.. So in this example, if the user on a Windows platform specifies the command line option -I.
The string.. In the case of multiple resource directories, the default ResourceFileName procedure retrieves either a path to the first avaliable resource, or if the resource is not available it returns a path starting with GenericResourceDir.
Consequently Postscript installers of Postscript resources will overwrite an existing resource or add a new one to the first resource directory. To look up fonts, after exhausting the search method described in the next section , it concatenates together. Ghostscript has a slightly different way to find the file containing a font with a given name.
See the documentation of fonts for details. Then, when Ghostscript needs to find a font that isn't already loaded into memory, it goes through a series of steps. CID fonts e. Chinese, Japanese and Korean are found using a different method. SGI in place of Fontmap or Fontmap. It says: "15 files, 15 scanned, 0 new fonts". We think this problem has been fixed in Ghostscript version 6. See Fontmap. Sol instead.
Also, on Solaris 2. The fonts Sun distributes on Solaris 2. These paths may not be exactly right for your installation; if the indicated directory doesn't contain files whose names are familiar font names like Courier and Helvetica, you may wish to ask your system administrator where to find these fonts. Adobe Acrobat comes with a set of fourteen Type 1 fonts, on Unix typically in a directory called There is no particular reason to use these instead of the corresponding fonts in the Ghostscript distribution which are of just as good quality , except to save about a megabyte of disk space, but the installation documentation explains how to do it on Unix.
CID fonts are PostScript resources containing a large number of glyphs e. Please refer to the PostScript Language Reference, third edition, for details. CID font resources are a different kind of PostScript resource from fonts. In particular, they cannot be used as regular fonts. CID font resources must first be combined with a CMap resource, which defines specific codes for glyphs, before it can be used as a font.
This allows the reuse of a collection of glyphs with different encodings. Another method is possible using the composefont operator. They are not found using Font lookup on the search path or font path. In general, it is highly recommended that CIDFonts used in the creation of PDF jobs should be embedded or available to Ghostscript as CIDFont resources, this ensures that the character set, and typeface style are as intended by the author.
In cases where the original CIDFont is not available, the next best option is to provide Ghostscript with a mapping to a suitable alternative CIDFont - see below for details on how this is achieved.
As shipped, this uses the DroidSansFallback. This font contains a large number of glyphs covering several languages, but it is not comprehensive. There is, therefore, a chance that glyphs may be wrong, or missing in the output when this fallback is used. As with any font containing large numbers of glyphs, DroidSansFallback.
The build system will cope with the file being removed, and the initialization code will avoid adding the internal fall back mapping if the file is missing. If DroidSansFallback. As the name suggests, this will result in all the glyphs from a missing CIDFont being replaced with a simple bullet point.
This type of generic fall back CIDFont substitution can be very useful for viewing and proofing jobs, but may not be appropriate for a "production" workflow, where it is expected that only the original font should be used. The file forms a table of records, each of which should use one of three formats, explained below. Note that the default Ghostscript build includes such configuration and resource files in a rom file system built into the executable.
So, to ensure your changes have an effect, you should do one of the following: rebuild the executable; use the "-I" command line option to add the directory containing your modified file to Ghostscript's search path; or, finally, build Ghostscript to use disk based resources. Please pay attention that both them must be designed for same character collection.
The trailing semicolon and the space before it are both required. If the array consists of 2 elements, the first element is a string, which specifies Ordering ; the second element is a number, which specifies Supplement. If the array consists of 3 elements, the first element is a string, which specifies Registry ; the second element is a string, which specifies Ordering ; the third element is a number, which specifies Supplement.
The TrueType font must contain enough characters to cover an Adobe character collection, which is specified in Ordering and used in documents. It is also possible to influence the path using standard, or your own environment variables, using the custom Postscript operator getenv. Said operator takes a string parameter on the stack which is the environment variable to interrogate, and returns either a string, containing the value of the environment variable, and boolean true to indicate success, or just a boolean false to indicate failure.
See below for an example of its use. The script can also be run separately e. Note that the font file path uses Postscript syntax. Because of this, backslashes in the paths must be represented as a double backslash. This can complicate substitutions for fonts with non-Roman names. This cannot be used directly in a cidfmap file because the xx notation in names is a PDF-only encoding.
Instead, try something like:. This lets you specify a name using any sequence of bytes through the encodings available for Postscript strings. There is no reliable way to generate a character ordering for truetype fonts. The 7. This is replaced in the 8. As a workaround the PDF interpreter applies an additional substitution method when a requested CID font resource is not embedded and it is not available.
The latter may look some confusing for a font name, but we keep it for compatibility with older Ghostscript versions, which do so due to a historical reason.
If the CID font file is not embedded, the Adobe-Identity record depends on the document and a correct record isn't possible when a document refers to multiple Far East languages. In the latter case add individual records for specific CID font names used in the document. Ghostscript can handle True Type fonts with the full Unicode character set. For doing that, a third-party software should generate a Postscript or PDF document with a text, which is encoded with the UTF encoding.
Ghostscript currently doesn't do a very good job of deleting temporary files if it exits because of an error; you may have to delete them manually from time to time. The original PostScript language specification, while not stating a specific word sise, defines 'typical' limits which make it clear that it was intended to run as a bit environment.
Ghostscript was originally coded that way, and the heritage remains within the code base. This is the only real purpose in adding support for large integers, however since that time, we have made some efforts to allow for the use of bit words; in particular the use of integers, but also lifting the 64K limit on strings and arrays, among other areas. Even when the build supports bit words, you should be aware that there are areas of Ghostscript which do not support bit values. Sometimes these are dependent on the build and other times they are inherent in the architecture of Ghostscript the graphics library does not support bit co-ordinates in device space for example, and most likely never will.
Note that the extended support for bit word size can be disabled by executing 'true. The Ghostscript distribution includes some Unix shell scripts to use with Ghostscript in different environments. These are all user-contributed code, so if you have questions, please contact the user identified in the file, not Artifex Software. For instance,. If the "directory" name ends with a closing square bracket " ] ", it is taken to refer to a real directory, for instance. To preserve the case of switches, quote them like this:.
If you are using on an X Windows display, you can set it up with the node name and network transport, for instance. The name of the Ghostscript command line executable on MS Windows is gswin32c so use this instead of the plain ' gs ' in the quickstart examples. When passing options to ghostcript through a batch file wrapper such as ps2pdf.
For example:. There is also an older version for MS Windows called just gswin32 that provides its own window for the interactive postscript prompt. The executable gswin32c is usually the better option since it uses the native command prompt window. For printer devices, the default output is the default printer. This can be modified as follows. Invoking Ghostscript from the command prompt in Windows is supported by the Windows executable described above.
In addition to the device parameters recognized by all devices , Ghostscript's X driver provides parameters to adjust its performance. Users will rarely need to modify these. Note that these are parameters to be set with the -d switch in the command line e. Xdefaults file. Because of bugs in the SCO Unix kernel, Ghostscript will not work if you select direct screen output and also allow it to write messages on the console. If you are using direct screen output, redirect Ghostscript's terminal output to a file.
Because Ghostscript must initialize the PostScript environment before executing the commands specified by this option it should be specified after other setup options. Specifically this option 'bind's all operations and sets the systemdict to readonly. Note that by "library files" here we mean all the files identified using the search rule under " How Ghostscript finds files " above: Ghostscript's own initialization files, fonts, and files named on the command line.
However, device parameters set this way PageSize , Margins , etc. As noted above, -d and -s define initial values for PostScript names. Some of these names are parameters that control the interpreter or the graphics engine. Otherwise, images are rendered using the nearest neighbour scaling Bresenham's line algorithm through the image, plotting the closest texture coord at each pixel.
When downscaling this results in some source pixels not appearing at all in the destination. When upscaling, each source pixels will cover at least one destination pixel.
This allows for a performance vs. Every source pixel will contribute partially to the destination pixels. Computationally, image interpolation is much more demanding than without interpolation lots of floating point muliplies and adds for every output pixel vs simple integer additions, subtractions, and shifts.
In all but special cases image interpolation uses a Mitchell filter function to scale the contributions for each output pixel.
When upscaling, every output pixel ends up being the weighted sum of 16 input pixels, When downscaling more source pixels will contribute to the interpolated pixels. Every source pixel has some effect on the output pixels. Note that because of the way antialiasing blends the edges of shapes into the background when they are drawn some files that rely on joining separate filled polygons together to cover an area may not render as expected with GraphicsAlphaBits at 2 or 4.
Further note; 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. PCL andPostScript cannot be handled in ths way, and so all the pages must be interpreted.
Adobe specifies GenericResourceDir to be an absolute path to a single resource directory. Ghostscript instead maintains multiple resource directories and uses an extended method for finding resources, which is explained in "Finding PostScript Level 2 resources".
Due to the extended search method, Ghostscript uses GenericResourceDir only as a default directory for resources being not installed.
Therefore GenericResourceDir may be considered as a place where new resources to be installed. The default implementation of the function ResourceFileName uses GenericResourceDir when 1 it is an absolute path, or 2 the resource file is absent. The extended search method does not call ResourceFileName. Pages can be printed in reverse or normal order, or selected pages, including all even or all odd, and multiple collated copies can be produced.
Since pages are saved until the flush command, pages can be printed multiple times, in any order. Because its possible as of PDF 2.
Instead this option takes a string, which is first compared against the OutputConditionIdentifier in each OutputIntent in the array. Connect and share knowledge within a single location that is structured and easy to search. Recently, I had to flash my hard drive and reinstall the operating systems. I chose to install Ubuntu I downloaded the example from the ACM website , and reproduced your problem compiling on Ubuntu I had a similar problem with my thesis template. The problem is that dvipdfm has been replaced by dvipdfmx in the newest versions of texlive and Ubuntu.
The dvipdfmx package extends dvipdfm with support for unicode. Unfortunately, it doesn't include a backwards compatible dvipdfm. Your problem should be fixed by replacing the document class option dvipdfm with dvipdfmx :. Sign up to join this community. The best answers are voted up and rise to the top.
Sets encap character for hyperindex. Colors the text of links and anchors. Color for normal internal links. Color for anchor text. Color for bibliographical citations in text. Color for URLs which open local files. Color for Acrobat menu items. Color for run links launch annotations.
Color for linked URLs. Set all color options without border and field options. Use small caps instead of color for links. Hide links removing color and border. A set of Acrobat bookmarks are written, in a manner similar to the table of contents, requiring two passes of LaTeX.
If Acrobat bookmarks are requested, show them with all the subtrees expanded. If Acrobat bookmarks are requested, include section numbers. This option should be used to produce CJK bookmarks.
The color of the box around citations. The color of the box around links to files. The color of the box around normal links. The color of the box around Acrobat menu links. The color of the box around links to URLs. Set all border color options. The style of box around links; defaults to a box with lines of 1pt thickness, but the colorlinks option resets it to produce no border.
Sets the document information Title field. Sets the document information Author field. Sets the document information Subject field. Sets the document information Creator field. Adds additional text to the document information Creator field. Sets the document information Keywords field.
Sets the document information Trapped entry. It means that almost all fonts including Zapfino. New 'page' option is introduced in PDF image inclusion. MPS files generated by MetaFun are supported too. Improved PDF document parsing, and a few bugs were fixed. Applied a few patches mostly given by Matthias Franz. Now work well with MetaPost 1. New program "xbb" is included, which generates ". A few bugs were fixed too. See the CVS source for more details. Xref and object stream were implemented for PDF v1.
See, the section Binary Packages for obtaining binary packages for each platforms. When prompted for a password for anonymous account, just press the Enter key. Kpathsea library version heigher than 3. In addition to this, the zlib data-compression library is required for compression support. Both zlib and libpng library is required for reading PNG format image files. Most features and enhancement added to dvipdfm is related to multi-byte encoding and font support, especially for supporting CJK languages.
For 8-bits encodings, it supports. And it can also support various multibyte encodings excluding state-full encoding by loading PostScript CMap resource.
0コメント