Simplified Chinese Solaris User's Guide

Installing and Checking the Edited Font

  1. To add a new bitmap, move the .pcf font file into your font directory. You may compress the .pcf font file before moving it to your font directory:


    system% compress myfont14.pcf
    
  2. Run the following commands in your font directory.

    The .bdf file should not be in the font directory.


    system% cat >> fonts.alias
    -new-myfont-medium-r-normal--16-140-75-75-c-140-gb2312.1980-0 
    Myfont-Medium14'
    ^D
    system% mkfontdir
    system% xset +fp `pwd`
    
  3. You can view your font using the X Font Displayer (xfd) by typing:


    system% xfd -fn Myfont-Medium14
    

All Simplified Chinese fonts have XLFD font names, and you can use the xlsfonts utility to display these names as follows:


system% xlsfonts | grep gb2312