PSTOEDIT
Section: User Commands (1)
Index
Return to Main Contents
Name pstoedit - a converter from Postscript(TM) to editable Objects.
Syntax
pstoedit
[
-dt
] [
-dis
] [
] [
-m number
] [
-f format
] [
files
]
Description
pstoedit allows to convert Postscript(TM) files to a simple vector graphic
format, that can be edited. Currently tgif (-f tgif), xfig (-f fig), Framemaker(TM) MIF-format
(-f mif) and flat PostScript (-f ps) are supported.
Ask archie on where to find tgif or xfig.
Pstoedit works by redefining the two basic painting operators of
(TM)Postscript, stroke and show. Others like image are not supported.
After redefining these operators, the Postscript file that needs to
be converted is processed by GhostScript (gs). So you need to have
Ghostscript in order to use this program.
pstoedit uses a postprocessor to actually build the input file for the editor.
This is a small lex-program (makeedit). To build it, just type make.
Edit the pstoedit script and change LIB according to your local
environment.
The output of gs that is piped to makeedit is a flat PostScript which only
contains simple operations like moveto lineto, show, ....
You can look at this file using the -f debug option.
To implement a new backend you can start from drvexample.c.
See also drvbase.h for explanation of the methods that need to implemented for
a new backend.
Options
- -dt
-
Text is drawn as polygons. This might produce a large output file.
You might want to use this options for example if the PostScript file
contains rotated text.
- -dis
-
Open a display during processing by GhostScript. Some files only work correctly
this way.
- -m factor
-
magnify by a factor (for tgif only).
- -f format
-
target output format. Currently tgif, mif and ps are recognized.
- files
-
input files. If no file is given as argument, pstoedit works as filter reading
from standard input and writing to standard output.
Author
Wolfgang Glunz, Wolfgang.Glunz@zfe.siemens.de
Acknowledgements
- *
-
Klaus Steinberger <Klaus.Steinberger@physik.uni-muenchen.de> who wrote this man
page.
- *
-
David B. Rosen <rosen@murmur> for some ideas and some PostScript code from his ps2aplot program.
- *
-
Ian MacPhedran <Ian_MacPhedran@engr.USask.CA> for the xfig backend.
Index
- Name pstoedit - a converter from Postscript(TM) to editable Objects.
-
- Syntax
-
- Description
-
- Options
-
- Author
-
- Acknowledgements
-
This document was created by
man2html,
using the manual pages.
Time: 04:32:48 GMT, July 20, 2024