On Thu, 4 Oct 2007, Prof Brian Ripley wrote:

> Pedro Mardones wrote:
>
>> After installing R 2.6.0 I got the following error when I try to save
>> a plot as PDF or PS from the windows plot:
>> Error: Invalid font type
>> In addition: Warning messages:
>> 1: font family not found in PostScript font database
>> 2: font family not found in PostScript font database
>> However in R 2.5.0 works just fine
>> Any ideas how to make it work again (without having to install the
>> previous version)?
>
> It works if postscript() or pdf() has been used in the session, and also
> if initPSandPDFfonts() is called (so put that in your .Rprofile).

To be specific, grDevices:::initPSandPDFfonts().

> We'll arrange to do this automatically in R-patched.

Done in patch r43083.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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