[R] Embedding Fonts in eps Files - Required by Publisher

2007-04-13 Thread Rick Bilonick
The publisher requires embedded fonts and the eps files that R produces
don't pass its tests. How can I force the fonts (just default fonts) to
be embedded. embedFonts seems to only embed unusual fonts, not the
default ones that are used in a simple eps generated by using
"postscript".

I've tried:

ps2pdf14 -dPDFSETTINGS=/prepress bland-altman_v2.eps bland-altman_v2.pdf
pdftops -eps bland-alman_v2.pdf bland-altman_v2_embed.eps

but the box size is wrong and I don't know how to correct it - if I
correct the bounding box in bland-altman_v2_embed.eps, the size is
correct but not all of the figure shows. The reference I found mentions
fixing the "box size" but doesn't say how this is done.

I would appreciate any insight on this.

Rick B.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Embedding Fonts in eps Files - Required by Publisher

2007-04-13 Thread Karl Ove Hufthammer
Rick Bilonick:

> but the box size is wrong and I don't know how to correct it - if I
> correct the bounding box in bland-altman_v2_embed.eps, the size is
> correct but not all of the figure shows. The reference I found mentions
> fixing the "box size" but doesn't say how this is done.

I find the ps2eps tool very useful "http://www.tm.uka.de/~bless/ps2eps";.
I usually use the command line options 'ps2eps --size b3 --ignoreBB'.

-- 
Karl Ove Hufthammer

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.