Simplified Chinese Solaris User's Guide

How to Install and Check the Edited Font

  1. Compress the .pcf font file and move 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. Use a command line such as the following to view your font.


    system% xfd -fn Myfont-Medium14
    

All Simplified Chinese fonts have XLFD font names. You can use the xlsfonts utility to display the font names.


system% xlsfonts | grep gb2312