This article hasn't been updated for over 5 years. The information below may be obsolete.
Adding fonts in Solaris 11
The majority of applications within the Solaris desktop uses the fontconfig system for font management. The fontconfig provides a list of all the fonts available including PostScript Type 1 fonts and TrueType fonts.
This article describes how to add fonts for all users or for an individual user.
Adding fonts for all users
- Copy the font file into
/usr/share/fontsdirectory fontconfigshould update the lists of fonts automatically. If your new font is not listed, run# fc-cache directory-name
If you wish to place fonts in an alternate location, review the /etc/fonts/fonts.conf file for a list of directories where fontconfig looks to automatically update the library of available fonts
Adding fonts for an individual user
- Copy the font file to the
$HOME/.fontsdirectory for the user - Run
fc-cache directory-nameif your new font is not listed in your desktop environment.