⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gvclang.txt

📁 GSview 4.6 PostScript previewer。Ghostscript在MS-Windows, OS/2 and Unix下的图形化接口
💻 TXT
📖 第 1 页 / 共 5 页
字号:

 Remove preview from an EPS file.
 Edit | `Extract EPS` | PostScript

 Display with smooth edges.
 Media | `Display Settings`.  Set `Text Alpha` and
 `Graphics Alpha` to 4.  You need a display with
 at least 8 bits per pixel.
WP

 Save the displayed bitmap.
 Edit | `Copy` to copy to the clipboard.
 To save to a BMP file, use Edit | `Copy` then `Paste To`...
E

 Create a bitmap with smooth edges (anti-aliasing).
WP
 1. Display with smooth edges and save the display bitmap.
 OR
 2.
E
 `Convert` using a bitmap device and set the following
 in the properties.
    -dTextAlphaBits=4 -dGraphicsAlphaBits=4
3Convert
?Convert
 `File `| `Convert` uses Ghostscript to convert PostScript or PDF
 to bitmaps, PostScript or PDF.

 You need to select a Ghostscript output device and resolution.
 The default list of available devices and resolutions is stored
 in the [Convert] section of
W
 gsview32.ini
P
 gvpm.ini
X
 .gsview.ini
E
 and is taken from the standard distribution version of Ghostscript 6.01.
 You can use other devices or resolutions.

 Some Ghostscript options may be added using either the
 `Options `field or the `Properties` button.

 All pages, individual pages or any combination may be converted.
 The `All`, `Odd` and `Even` buttons provide quick selection of pages.
 If a single contiguous block of pages is marked, the `Odd` and `Even`
 buttons will select odd or even pages within this range.
 The `Reverse` check box causes the pages to be converted in
 descending order.

 To control how GSview handles requests by the PostScript or
 PDF documents to change the page size, see the
 `Page Size Matching` topic.

 See also `Conversions`.
3Extract
?Extract
 `Extract` allows a range of pages to be copied from the current
 document to a new document.  For example, ten pages can be extracted
 from the middle of the current document and written to another file,
 which will later be sent to a printer.
 If you select `Reverse`, the extracted pages will be in descending
 order.

 See also `Conversions`.
3PS to EPS
?PS to EPS
?BoundingBox
 In general, it is not possible to convert a PostScript file to `EPS`.
 However, many single page PostScript files can be converted to `EPS`
 by changing the first line of the file to
  %!PS-Adobe-3.0 EPSF-3.0
 and then adding or fixing up the `%%BoundingBox` comment.

 EPS files are commonly used for inclusion in other documents and
 for this reason require the bounding box comment:
   %%BoundingBox: llx lly urx ury
 where llx, lly, urx and ury are integers giving the x and y co-ordinates
 of the lower left and upper right corners of a bounding box which encloses
 all marks made on the page.

 `When used incorrectly, the PS to EPS command can produce PostScript
 files with incorrect DSC comments.  Such a document will cause problems
 when you try to include it inside another document.`

 To convert a PostScript file to `EPS`, the original file `must` be
 a `single page` document.  If the document contains `DSC` comments
 and is multi page, extract the desired page with `File` | `Extract`.
 If the document does not contain `DSC` comments, you will need to
 edit the file by hand to extract the desired page.

 `EPS` documents `must not` use any of the following operators:
  banddevice   clear         cleardictstack  copypage
  erasepage    exitserver    framedevice     grestoreall
  initclip     initgraphics  initmatrix      quit
  renderbands  setglobal     setpagedevice   setpageparams
  setshared    startjob      letter          note
  legal        a3            a4              a5

 The following operators should be used with care:
  nulldevice   setgstate     sethalftone    setmatrix
  setscreen    settransfer   setcolortransfer

 It is `your` responsibility to make sure that the above requirements
 are met.

 To test if a document contains any of the above operators, select
 `Options` | `EPS Warn` and then `Open` the desired document.
 After the page has been displayed, `Close` the document and
 then display the Ghostscript messages with `File` | `Show Messages`.
 If any of the above operators have been used you should see lines like:
  Warning: EPS files must not use ...
 If you find these warnings then do `not` use `PS to EPS`.
 Remember to turn off `EPS Warn` afterwards.

 A document must be displayed before `PS to EPS` is used.

 For documents without `DSC` comments, `PS to EPS` allows a bounding
 box to be specified, then writes out an `EPS` file consisting of
 an `EPS` wrapper around the original document.

 For documents with `DSC` comments, `PS to EPS` will change the
 first line of the file to
  %!PS-Adobe-3.0 EPSF-3.0
 then allows the `%%BoundingBox` comment to be changed or added.

 For `EPS` documents, `PS to EPS` allows the `%%BoundingBox` comment to
 be changed.

 `PS to EPS` does not clip the document to the `%%BoundingBox`.
 To do so would require changing the PostScript code itself.
 `PS to EPS` only changes the `DSC` comments.

 If `Automatically calculate Bounding Box` is checked, GSview
 will calculate the bounding box from the non white pixels.
 If unchecked, you get to choose the bounding box by clicking at
 the left, bottom, right and top.

 `PS to EPS` does not add a preview to a document.
 If you want a preview you add it with `Edit `| `Add EPS Preview` after
 first creating an `EPS` file with a correct `%%BoundingBox`.

 See also `Add EPS Preview`, `Extract`, `EPS Warn` and `Conversions`.
3EPS Preview
?EPS Preview
?Add EPS Preview
?Extract EPS
?Preview
 `Add EPS Preview` takes a bitmap from the
 display and uses it to add a preview to an EPS file.
 `Add EPS Preview` can create a DOS EPS file with a
 Windows Metafile or TIFF preview, or an EPSI file with an Interchange preview.
 To use the `Add EPS Preview` command the following steps must be followed.

 1. Deselect `Options | Ignore DSC`

 2. Make sure the document has a correct bounding box.
 `Options` | `Show Bounding Box` is useful for checking the
 bounding box.
 A bounding box can be added or changed using `File` | `PS to EPS`.

 3. Select `Orientation` | `Portrait`.

 4. Select `Media `| `Display Settings` and set a suitable resolution
 for the preview.  If the resolution is too high
 it will make the EPS file excessively large.

 5. `Open` an EPS file that does not contain a preview.

 6.  Select `Edit `| `Add EPS Preview`, then the preview format,
 then the new EPS filename.  GSview will write a new file containing
 the original PostScript EPS file and a preview created from the
 display bitmap.
 The available preview formats are `Interchange`,
 `TIFF 4`, `TIFF 6 uncompressed`, `TIFF 6 packbits` and `Windows Metafile`.
 If adding an Interchange preview, the document must have an `%%EndComments`
 line, otherwise GSview may put the preview in the wrong place.
 An interchange preview is always monochrome.
 A TIFF 4 preview is a Baseline Bilevel Image (1 bit/pixel) with
 no compression as described in the TIFF 6.0 memorandum, but avoiding
 tags which are not described in the TIFF 4 specification.
 WordPerfect 5.1 requires a TIFF 4 preview.
 A TIFF 6 preview is a Baseline Bilevel Image,
 or a Baseline Palette-colour Image (4 or 8 bits/pixel)
 or a Baseline RGB Full Colour Image (24 bits/pixel)
 according to the TIFF 6.0 specification.
 TIFF 6 previews are either uncompressed or compressed with packbits.
 A Windows Metafile preview contains an uncompressed bitmap.

 7.
 Reset `Orientation` | `Portrait`, and
 `Media `| `Display Settings` to their previous values.

 To extract the PostScript or Preview section from a DOS EPS
 file, use `File` | `Select File` followed by `Edit `| `Extract EPS`
 then `PostScript` or `Preview`.

 See also `PS to EPS`.
3User Supplied Preview
?User Supplied Preview
 The `Edit `| `Add EPS Preview` | `User Supplied Preview` command
 allows an existing TIFF or WMF file to be added to an EPS file
 to create a DOS EPS file.
 This is useful if an application can export to an EPS file and to
 a WMF file, but cannot create a DOS EPS file with a WMF preview.
 The EPS file `must` contain a bounding box that corresponds with
 the TIFF or WMF preview file.
 It is not necessary to display the EPS file. `User Supplied Preview`
 can be used after an EPS file has been opened with `Select File`.

 You can add a preview that has no resemblance to the PostScript,
 which is most undesirable.
WP
3Convert to vector format
?Convert to vector format
?PStoEdit
 You can convert a PostScript or PDF file to an editable vector
 format using `pstoedit` by Wolfgang Glunz.
 `pstoedit` is licensed with the GNU Public Licence and is not
 included with GSview.  You will need to download it separately
 from the pstoedit homepage
  http://www.pstoedit.net/pstoedit
 or from
  http://www.cs.wisc.edu/~ghost/gsview/pstoedit.htm

 To use `pstoedit` from within GSview, use
 `Edit | Convert to vector format`.
 Three dialog boxes will be shown.

 The first dialog is for pstoedit settings.

 Select an output `Format`.

 `Draw text as polygons` should be selected if the PostScript file
 contains text and the output format does not support this, e.g. gnuplot.
 This might produce a large output file.

 When `Map to ISO-Latin1` is selected, pstoedit maps all character codes
 to the ones defined by the ISO-Latin1 encoding, which is used by
 HTML and MS-Windows.  This is the default.
 If you uncheck this item, the encoding from the input PostScript
 is passed unchanged to the output.

 If the output format does not support curves in the way PostScript
 does, all curves are approximated by lines. The `Flatness` option
 is used to control this approximation. This parameter is directly
 converted to a PostScript setflat command. Small values produce
 a more accurate approximation, but more line segments.

 Sometimes fonts embedded in a PostScript program do not have a
 fontname. For example, this happens in PostScript files generated
 by dvips. In such a case pstoedit uses a replacement font.
 The default for this is Courier.  Another font can be specified
 using the `Default Font` option.
 Some alternative font names are Courier, Helvetica and Times-Roman.

 Some of the output formats support extra options.  See the pstoedit
 manual for more details.  For example, the java output format
 uses `Driver Options` to specify the name of the java class.

 The second dialog (omitted if no page numbering is available)
 specifies the page to be converted, or if supported by the output
 format, a range of pages to be converted.

 The third dialog specifies the output file name.

 Not all `pstoedit` formats support bitmap graphics.
 If you need bitmap output, see `File conversions and tricks`.

 For more details please read the pstoedit manual.

 See also `Conversions`.
E
3Text Extract and Find
?Text Extract and Find
?Text
?Text Extract
?Search
?Find
?Find Next
 In general, extracting text from a PostScript document is not a
 trivial operation.  Words may be broken.  Text may be encoded.
 Ligatures may be used (e.g. replacing 'fi' with a single character).
 There may be no relationship between the location of a word in
 the PostScript file and its location on the page.
 Success in extracting text from a PostScript document depends
 greatly on the document itself.

 GSview has two methods of extracting text from a PostScript file.

 The quick method extracts all text from PostScript strings.

 The second method uses pstotext and Ghostscript to more accurately
 extract text from a PostScript document.

 The method used is selected by `Options` | `PStoText`.
 See the appropriate topic below:

 See also `Conversions`.
4Quick Text Extract and Find
?Quick Text Extract and Find
 It is common for PostScript documents to contain text in the
 same order as it appears on the page, and for it to be given in
 PostScript strings, surrounded by parentheses.  Complete lines
 may be given in one string, or one word per string.  For this sort
 of document, extracting text can be done with reasonable success.

 `Edit `| `Text Extract` will extract text contained in strings from
 specified pages and write it to a text file.
 Line breaks in this text file correspond to lines in the document.
 Spaces in the text file correspond to spaces within strings, or to
 separate strings.  A more effective method of extracting text is to
 use ps2ascii.ps supplied with Ghostscript, or to use the `PStoText`
 program listed on the Ghostscript `WWW` page.  `PStoText` can be
 used from GSview by using `Options` | `PStoText`.

 `Edit `| `Find` will search for text and display the first
 page that contains the text.  `Find` asks for a search text
 and a range of pages in which to search.
 The preceding comments about extracting text from a PostScript
 document should be noted.  `Find` first extracts text from
 the document, then searches it ignoring all spaces in both the
 document and the search text.  Case is ignored when searching.
 Consequently the search text `these` would match both `These`
 and `The serial`.  No information is given about where the word
 is located on a given page because this information is not
 available without a complete PostScript interpreter.
 `Find` will not work for non DSC documents or DSC documents with
 special page order.

 `Edit `| `Find Next` will continue the search from the next page.
4PStoText Text Extract and Find
?PStoText Text Extract and Find
 This method uses pstotext and Ghostscript to extract text from
 a PostScript document.  Before doing any text extraction or
 searching, the entire PostScript document will be processed by
 Ghostscript and pstotext to produce a text index file.
 This may take a long time.  Once this has finished, text extraction
 and searching should be quick.

 pstotext uses the ISO-Latin1 character set.  See the pstotext
 documentation for more details.
  http://www.research.digital.com/SRC/virtualpaper/pstotext.html

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -