Dear All,

Consider the following piece of code:

pdf(file="figure.pdf", family="Palatino")
plot(0,0,type='n', xlim=c(-20,20), ylim=c(0,2),xlab="",ylab="",axes=F)
text(-1.4,1.168,expression(italic("The font looks different when this
is seen with Acrobat Reader!")),xpd=T)
dev.off()

When viewing the produced figure.pdf with kpdf (on Linux), it looks as
being written with LaTeX Mathpazo font, but not when one views
figure.pdf with Acrobat Reader. Any ideas about how to get the same
result both with kpdf and with Acrobat Reader?

Thanks in advance,

Paul

______________________________________________
R-help@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.

Reply via email to