Simplified Chinese Solaris User's Guide

Changing Font Directories

The Xsession script in the /usr/dt/bin directory includes the following font path: /usr/openwin/lib/locale/locale/X11/fonts, where locale is either zh, zh.GBK, or zh_CN.GB18030. To dynamically add a different font directory path, type the following commands.


system% xset +fp font_directory-path
system% xset fp rehash

How to Add a Font Directory Path

    Before using the xset command, ensure that the fonts.dir file exists in the specified font directory. If fonts.dir does not exist, use mkfontdir to create the fonts.dir for the Bitmap font.

    Type the following commands to dynamically add a different font directory path.


    system% xset +fp font_directory-path
    system% xset fp rehash