You must convert BDF fonts to PCF format to make the fonts usable in Simplified Chinese Solaris applications.
Use the bdftopcf command to convert a BDF font to PCF format.
system% bdftopcf -o myfont14.pcf myfont14.bdf |
Replace the BDF file in the following directory with the converted PCF file: $OPENWINHOME/lib/locale/locale-name/fonts
Compress the .pcf font file and move it to your font directory.
system% compress myfont14.pcf |
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` |
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 |