Skip to content
Prev 67447 / 398525 Next

embedding fonts in eps files

Hi,

I'm again struggling with embedding of fonts in eps files using R. Is
this really possible? I don't agree with prof. Ripley saying that all
necessary information is in the help file. The aim is to include the
complete definitions of the fonts (eventually only the used characters),
not only the DSC comments ("Document Structuring Conventions"), so that
we don't use the font definitions of the PS interpreter who renders the
eps file.

I tried this command

postscript("fig2.eps", width = 6.50, height = 3.43, pointsize =
10,horizontal = FALSE, onefile = TRUE, paper = "special",
family="Times", fonts="Times")

I also tried the same command, except for that I gave the following
value to the family and to the fonts arguments:
c("tir_____.afm","tib_____.afm","tii_____.afm","tibi____.afm",
sy______.afm")

After reading the help file (again) I hoped setting the fonts argument
should do what I want. It doesn't. Probably it only includes the DSC
comments in the eps .?

Prof. Ripley refers to this sentence:
     The software including the PostScript plot file should either embed
     the font outlines (usually from '.pfb' or '.pfa' files) or use DSC
     comments to instruct the print spooler to do so.
The question then is: how to make the software including the PostScript
plot file embed the font oulines..?

Do you have any clue?

I work on SUSE Linux 8.1 and I use R 2.0.0.


kind regards,

Rudi Alberts.
On Tue, 2005-01-18 at 03:48, Ted.Harding at nessie.mcc.ac.uk wrote: