Hi, Late last year there was a thread on r-help about installing Arial fonts on linux machines: http://finzi.psych.upenn.edu/R/Rhelp02/archive/8548.html I too would like to use Arial fonts in some R plots created on my redhat machine. I've installed the TrueType fonts from http://corefonts.sourceforge.net/ -- there is now a directory /usr/share/fonts/msttcorefonts/ and xlsfonts reports many fonts: % xlsfonts | grep arial ... -monotype-arial black-medium-r-normal--0-0-0-0-p-0-ascii-0 -monotype-arial black-medium-r-normal--0-0-0-0-p-0-fcd8859-15 -monotype-arial black-medium-r-normal--0-0-0-0-p-0-iso8859-1 ... How do I specify to use the Arial family within a call to postscript()? The following code didn't work ... The thread after the suggestion to vist corefonts.sourceforge.net stopped, without saying how to then use the fonts within R. Do I first need to create .afm files so that I can use the second form of argument for family? postscript(file="try.ps", horizontal=F, onefile=F, width=4, height=4, family="Arial", pointsize=12) hist(rnorm(100)) dev.off() Thanks for any pointers, Stephen
> How do I specify to use the Arial family within a call to> postscript()? To follow up on my previous message, in case others are interested, this is what I did, which seems to work for me. First, the .ttf files need converting to afm: ttf2afm /usr/share/fonts/msttcorefonts/arial.ttf > ~/arial.afm ttf2afm /usr/share/fonts/msttcorefonts/ariali.ttf > ~/ariali.afm ttf2afm /usr/share/fonts/msttcorefonts/arialbd.ttf > ~/arialbd.afm ttf2afm /usr/share/fonts/msttcorefonts/arialbi.ttf > ~/arialbi.afm and then I did the following in R: postscript(file="try.ps", horizontal=F, onefile=F, width=4, height=4, family=c("/home/stephen/arial.afm", "/home/stephen/arialbd.afm", "/home/stephen/ariali.afm", "/home/stephen/arialbi.afm"), pointsize=12) hist(rnorm(100)) dev.off() Stephen