JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
International Language Environment Guide     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


1.  Introduction

2.  Unicode and UTF-8 Locale Support

3.  Working with Languages and Locales

4.  Desktop Keyboard Preferences and Input Methods

5.  Configuring Fonts

fontconfig Library

Adjusting Font Configuration

Available Fonts

Indic Fonts

Japanese Fonts

Korean Fonts

Simplified Chinese and Traditional Chinese Fonts

Thai Fonts

6.  Advanced Topics

A.  Available Locales


fontconfig Library

The Oracle Solaris desktop environment uses the fontconfig library for configuring and customizing font access. fontconfig maintains a list of all fonts available on the system, using automatic discovery based on the configuration in fonts.conf(4) file. When an application is searching for a specific font by name, and optionally other attributes such as size, font-weight, or language, fontconfig provides the application with the specific font path. fontconfig does not lay out or render the fonts into text.

Adjusting Font Configuration

Sometimes the default fonts in a specific locale are not satisfactory. You can alter the font priorities by modifying the fontconfig configuration files in the /etc/fonts. fontconfig directory. System-wide configuration is modularized into individual xml files in the /etc/fonts/conf.avail directory. The /etc/fonts/conf.d directory then includes symbolic links to selected configuration files in the /etc/fonts/conf.avail directory. You can alter the system-wide configuration by adding or removing these symbolic links.

Use the fc-match(1) and fc-list(1) commands to obtain information about the default font and other available fonts. For example, the following command will display information about the default monospaced font for Japanese. (Monospaced fonts, also called fixed-width fonts, are typically used in text editors.)

$ fc-match Monospace:lang=ja 
ipag.otf: "IPAGothic" "Regular"

You might want to disable the use of bitmap fonts when alternative TrueType fonts are available and preferred, create a symbolic link to the configuration file 70-no-bitmaps.conf, as shown in the following example:

# cd /etc/fonts/conf.d
# ln -s ../conf.avail/70-no-bitmaps.conf

fontconfig monitors he configuration directory /etc/fonts/conf.d and will automatically adjust its in-memory configuration to include the changes. For more information, see the fc-cache(1) man page. Per-user configuration can also be maintained in $HOME/.fonts.conf for each user. $HOME/.fonts is scanned for users' custom font files. For more information on fontconfig and its configuration, see the fonts.conf(4), fc-match(1), and fc-list(1) man pages, or the project page at