Displaying 1 result from an estimated 1 matches for "fondu".
Did you mean:
fond
2007 Aug 09
0
Mac OSX fonts in R plots
...er the following solution which, as far as
I have tested, works. I'm posting this for feedback and and
archiving. I'd be interested in any caveats about the brittleness of
the technique.
Thanks.
F
-----
1. Find font
system font path: /Library/Fonts/
2. Extract ttf (if necessary) with fondu [http://fondu.sourceforge.net/]
eg, fondu -force 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,...