Do you have 'times' in a format suitable for EMF? If so you can select it for win.metafile() as for any other windows() device. You would need a TrueType version, and I suspect you do under the name 'Times New Roman'. See ?windowsFonts: my memory is that family="serif" gives you that font.

Note that 'Times' is not in the PDF file, but in the viewer, when you use pdf(), so that precise font is not available to you (and is not a suitable format).

On Tue, 8 Sep 2009, Werner Wernersen wrote:

Hi,

sorry for the simple question. I am usually able to change the font for PDF graphics with pdf.options(family="Times") However, I have found no way yet to get an emf file with a times font. I also tried a detour by using pstoedit to convert a pdf with the desired font to an emf but even there the font does not appear as times. Is there a way to get a times font in an emf file or is it even a restriction of the file format?

I am on Win XP and R 2.9.1.

Many thanks,
 Werner

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org 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.

Reply via email to