Skip to content
Prev 307233 / 398503 Next

Problem with national characters in main, xlab, ylab with pdf{grDevices} / postscript {grDevices}

'National': not my nation, and none is stated.  Somewhere in Eastern 
Europe ... Poland?

Short answer: you need to use a family which contains those glyphs 
(try family='NimbusSan': the default 'Helvetica' does not) *and* a 
viewer that uses fonts that do.

Longer answer: read ?pdf and ?postscript carefully, as they told you 
this and more.

Your example works correctly with that family for me on Linux, 
but not with OS X viewers.  It does not with the default family.

For people on Unix I would suggest the cairo_pdf() device as a 
possibly easier alternative since it usually embeds fonts.  On 
Windows and OS X you are at the mercy of what fonts cairo has access 
to.  That's all in the help, too.
On Sun, 7 Oct 2012, Magdalena A. Tkacz wrote:

            
Actually it is just a binary file, and no viewer has been mentioned.