Re: [R] Wrong symbol rendering in plots (Ubuntu)

From: Ben Bolker <>
Date: Sun, 06 Jun 2010 14:51:52 +0000 (UTC)

Yvonnick NOEL <yvonnick.noel <at>> writes:

> Hello,
> I have the very same problem. Plotting code that used to work before I
> upgraded to Ubuntu Lucid Lynx does not work anymore. For example:
> plot(1:10)
> text(6,4,expression(pi))
> The 'pi' greek letter appear as a \neq ("different from" symbol).
> Yvonnick Noel

  Does the workaround pointed out later in the thread you're responding to (from the last paragraph of a very long 'Note' section of ?pdf) help?

  If not it might be worth continuing this thread on r-devel . It does seem that there are two (related?) issues, one with pch=1 and the other with Symbol (???) fonts ...

 For reference:

 although it's also not clear whether this is exactly the same issue, or a related/similar one.   

 On some systems the default plotting character ‘pch = 1’ is
     displayed in some PDF viewers incorrectly as a ‘"q"’ character.
     (These seem to be viewers based on the ‘poppler’ PDF rendering
     library). This may be due to incorrect or incomplete mapping of
     font names to those used by the system.  Adding the following
     lines to ‘~/.fonts.conf’ or ‘/etc/fonts/local.conf’ may circumvent
     this problem.

     <alias binding="same">

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 06 Jun 2010 - 14:55:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 06 Jun 2010 - 17:00:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive