Because of the issue raised in https://stat.ethz.ch/pipermail/r-help/2013-November/362896.html, I am switching to R on Mac OS X (10.6.8) to create some plots. Using CairoPDF(), however, the commands I use in Windows (7) to select my fonts don't have any effect on Mac OS X, where the output .pdf file always has the Helvetica font.
library(package = "Cairo") CairoPDF("test.pdf") plot.new() text(x=.5,y=.5,labels="\u0260",family="Times New Roman") dev.off() The outputs are attached. The Times New Roman font is exactly the same on both systems. I'm using R 3.0.2 on both systems. Sverre
<<attachment: windows.png>>
<<attachment: mac.png>>
______________________________________________ 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.