This function gets/sets the search paths for font files.
Usage
font.paths(new)
Arguments
new
a character vector indicating the search paths
to be prepended. If the argument is missing, the function
will return the current search paths.
Value
The updated search paths
Details
Default search paths will be assigned when package is
loaded:
For Windows, it is%windir%\Fonts
For Mac OS, default paths are/Library/Fontsand~/Library/Fontsand their subdirectories
For Linux,/usr/share/fonts,/usr/local/share/fonts,~/.fonts, and their
subdirectories
See Also
See font.add() for details about how
R2SWF looks for font files. There is also a
complete example showing the usage of these functions in
the help page of font.add()