[R] font question on pdf device
Kari Ruohonen
kari.ruohonen at utu.fi
Sat Oct 9 09:52:08 CEST 2010
On Fri, 2010-10-08 at 14:19 +0100, Ted Harding wrote:
> On 08-Oct-10 12:44:12, Kari Ruohonen wrote:
> > Hi,
> > I wonder if this is something on my machine locally or R in general.
> >
> > When I do the following:
> >> plot(c(0,1),c(0,1),main=expression(paste(symbol("D"),"D",sep="")))
> >
> > I get a plot with a title having uppercase delta followed by "D". But
> > in the following
> >
> >> pdf(file="deltaTest.pdf")
> >> plot(c(0,1),c(0,1),main=expression(paste(symbol("D"),"D",sep="")))
> >> dev.off()
> >
> > the uppercase delta looks like O with overstrike slash, i.e. Ø.
> <snip>
> [1] stats graphics grDevices utils datasets methods base
>
> which is the same as yours (except that I'm using a slightly
> earlier version of R, and on i486 rather than x86_64. Debian
> Etch by the way).
>
> Ted.
>
> --------------------------------------------------------------------
> E-Mail: (Ted Harding) <ted.harding at wlandres.net>
> Fax-to-email: +44 (0)870 094 0861
> Date: 08-Oct-10 Time: 14:19:48
> ------------------------------ XFMail ------------------------------
Hi and thanks for suggestions. Based on these I installed acroread and
found that when viewed with acroread the Delta in the pdf file prints
out OK but when viewed with "evince", the document viewer, I get the
error. So, it seems not be an R issue at all. I am running 64-bit Ubuntu
9.10 for those who are interested in testing this.
Many thanks for all help.
Kari
More information about the R-help
mailing list