Java Desktop System Release 3 Administration Guide

To Add a Font for All Users

To add a font for all users, perform the following steps:

  1. Copy the font file to one of the directories in the /etc/fonts/fonts.conf file. Typically, additional fonts are stored in the /usr/share/fonts/ directory.

  2. The fontconfig library updates the list of fonts automatically. If the list of fonts is not updated, execute the following command:

    # fc-cache

    Alternatively, to update only from a specific directory, execute the following command:

    # fc-cache directory-name

    Alternatively, to update only from the directories in /etc/fonts/fonts.conf, and to view a list of the updated directories, execute the following command:

    # fc-cache --system-only -v