Hi, In the FAQ I read about options to specify different fonts than the default ones for the console (in the file Rprofile) and for the graphical output (Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for both (console and graphical) output in Windows and just graphical output in Linux. I guess it is possible but I did not find the way. How can I use the fonts (*.afm) and the (presumably) encondings (*.enc) in R/rw1081/afm? How do I know what are the real font names. Are those only the ones listed in the man page for Hershey? Thanks, Miha
On Wed, 4 Feb 2004, Miha STAUT wrote:> Hi, > > In the FAQ I read about options to specify different fonts than the default > ones for the console (in the file Rprofile) and for the graphical output > (Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for > both (console and graphical) output in Windows and just graphical output in > Linux.You are confusing fonts with encodings. Windows does not use either Latin 1 or Latin 2, and R for Windows does not encode for the console or the graphical device. Just use the Windows version of a ISO-8859-2 locale and a font supported by your locale (almost all under NT, fewer under Win9x).> I guess it is possible but I did not find the way. > > How can I use the fonts (*.afm) and the (presumably) encondings (*.enc) in > R/rw1081/afm? How do I know what are the real font names. Are those only the > ones listed in the man page for Hershey?This is nothing to do with Hershey. All the information you need is on the help page for postscript(). -- Brian D. Ripley, ripley at 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hallo On 4 Feb 2004 at 12:41, Miha STAUT wrote:> Hi, > > In the FAQ I read about options to specify different fonts than the > default ones for the console (in the file Rprofile) and for the > graphical output (Rdevga). I would however like to replace Latin 1 > with Latin 2 enconding for both (console and graphical) output in > Windows and just graphical output in Linux.I asked a question about enconding few weeks ago and I have got a hint from Prof.Ripley which led me to check files Rdevga and Rconsole in directory etc and experiment with font names specified there. I must say that it is also a system version specific issue as W98 requires other fonts then WNT. Cheers Petr> > I guess it is possible but I did not find the way. > > How can I use the fonts (*.afm) and the (presumably) encondings > (*.enc) in R/rw1081/afm? How do I know what are the real font names. > Are those only the ones listed in the man page for Hershey? > > Thanks, Miha > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.htmlPetr Pikal petr.pikal at precheza.cz