Hallo, I would like to ask you, for one question. When I export graph to .pdf and I need some czech font, I use a parameter encoding="ISOLatin2.enc" for these special fonts. But exported text is bad. I try ISOLatin1 and MacRoman, but it is some one. I don't know, what Iam doing bad, because in quartz is the graph ok. Sorry....I forget....I have a Mac with Leopard and R ver. 2.6.1. Thank you. jena
Please see the footer of this message -- we don't know what you did nor what was 'bad' about the result, so cannot even guess that what the issue is. The R-News article cited in ?pdf may help -- it has examples of using Polish and special fonts. On Fri, 8 Feb 2008, Jan Tuma wrote:> Hallo, > I would like to ask you, for one question. When I export graph to .pdf > and I need some czech font, I use a parameter encoding="ISOLatin2.enc" > for these special fonts. But exported text is bad. I try ISOLatin1 and > MacRoman, but it is some one. I don't know, what Iam doing bad, because > in quartz is the graph ok. Sorry....I forget....I have a Mac with > Leopard and R ver. 2.6.1. Thank you. > jena > > ______________________________________________ > R-help at 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. >-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hi Is it only a question of PDF export or are the glyphs distorted in plot window too? If it is in plot window try to look into etc folder to Rdevga file. If it is during export from plot window to PDF then try to produce PDF file with pdf(....) plot(1,1, type="n") text(1,1, "? ? ? ? ? ? ? ? ? ? ? ?") dev.off() Although I am on WXP the export does not work however direct formation through pdf command seems to work. Regards Petr petr.pikal at precheza.cz r-help-bounces at r-project.org napsal dne 08.02.2008 23:32:48:> Hallo, > I would like to ask you, for one question. When I export graph to .pdf > and I need some czech font, I use a parameter encoding="ISOLatin2.enc" > for these special fonts. But exported text is bad. I try ISOLatin1 and > MacRoman, but it is some one. I don't know, what Iam doing bad, because > in quartz is the graph ok. Sorry....I forget....I have a Mac with > Leopard and R ver. 2.6.1. Thank you. > jena > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.