[R] OT: ps -> eps -> MS Word

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Thu Sep 13 12:23:57 CEST 2001

On 13-Sep-01 Marc R. Feldesman wrote:
> I've created a bunch of postscript trees (post.rpart), which I
> subsequently edit in Adobe Acrobat 4.05 (I need additional labelling
> that isn't easy to add with R).  After editing the labels and
> annotations using Acrobat, I then export the file to Adobe's .eps
> format so I can insert the picture into a Microsoft Word 2000
> document.  The .pdf file distilled from the .ps file is crystal
> clear, while the .eps file is fuzzy at any resolution in any program
> (Ghostview 4/Ghostscript 7), Paintshop Pro 7, Word 2000, 
> Powerpoint 2000.  Is there some way to keep the .eps resolution the
> same as the .pdf/.ps resolution?

What do you mean by the EPS file being "fuzzy"? Is it just the
additional labelling which is fuzzy (in which case it may have
something to do with fonts), or is it the whole thing?

In the latter case there must be something wrong with the PS->EPS
conversion. Basically, the PostScript content of an EPS file should
be identical to that of the PS file it is derived from (you really
only need to add one "commment" to a PS file to get an EPS file,
and this should have no effect whatever on the process of rendering
the PS content -- apart from location and scale changes which
importing software may wrap it in, which would not apply to viewing
the EPS file itself in Ghostview or Ghostscript).

I'm guessing -- but if somewhere along the PS->EPS line there's
a conversion to bitmap graphics then you could get "fuzzy" output.

Another possibility is that the EPS file is really an "EPSI" file,
(Encapsulated PostScript Interchange) which includes several lines
of "Preview comment" which encode a bitmap of the PS image. This,
being bitmap, would certainly look nasty. However, again this
should not be a problem with Ghostview or Ghostscript (certainly
not with Ghostscript which should completely ignore any "comment"
and display the true PostScript directly).

Hoping this helps,

E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 167 1972
Date: 13-Sep-01                                       Time: 11:23:57
------------------------------ XFMail ------------------------------
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list