Displaying 1 result from an estimated 1 matches for "optimaregular".
2007 Aug 09
0
Mac OSX fonts in R plots
...orce Optima.dfont
3. ttf2asm for each ttf file, stripping the Copyright and warning
3. copy files to
RHOME/library/grDevices/afm
(usually,
/Library/Frameworks/R.framework/Versions/2.5/Resources/library/grDevices/afm
)
4. R code to use the font; eg,
newfont= Type1Font("Optima",c("OptimaRegular.afm","OptimaBold.afm","OptimaItalic.afm","OptimaBoldItalic.afm"))
pdf("newfont.pdf",version = "1.4",family=newfont)
plot(rnorm,col="red")
dev.off()