Adding Fonts to Fontconfig
Adding new fonts to the Fontconfig subsystem is a straightforward process.
To add fonts systemwide, copy the new fonts into the /usr/share/fonts/local/ directory.
To add fonts for an individual user, copy the new fonts into the .fonts/ directory in the user's home directory.
Use the fc-cache command to update the font information cache, as in the following example:
In this command, replace <path-to-font-directory> with the directory containing the new fonts (either /usr/share/fonts/local/ or ~/.fonts/).
Adding Fonts to xfs
To add fonts to the core X font subsystem (xfs), follow these steps:
If it does not already exist, create a directory called /usr/share/fonts/local/ using the following command as root:
If creating the /usr/share/fonts/local/ directory is necessary, it must be added to the xfs path using the following command as root:
chkfontpath --add /usr/share/fonts/local/
Copy the new font file into the /usr/share/fonts/local/ directory
Update the font information by issuing the following command as root:
ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale
Restart the xfs font server using the following command as root:
service xfs reload