Displaying 1 result from an estimated 1 matches for "testari".
Did you mean:
testagi
2012 Feb 09
1
Arial font in eps figures in R
...-news 2006.
The code I have been trying is following:
Arial <- Type1Font(family="Arial",
metrics=c("ArialMT.afm", "arial-BoldMT.afm", "Arial-ItalicMT.afm", "Arial-BoldItalicMT.afm"))
postscriptFonts(Arial=Arial)
postscript("testArial.eps", horizontal=F, onefile=F, width=4, height=4)
par(family="Arial")
plot(1:10, 1:10)
dev.off()
but getting the following error message:
Error in axis(side = side, at = at, labels = labels, ...) :
family 'Arial' not included in PostScript device
Alternatively I'...