Korean Solaris User's Guide

BDF and PCF Formats

You must convert BDF fonts to PCF format to make the fonts usable in Korean Solaris applications.

How to Convert BDF Fonts to PCF Format

    Use the bdftopcf command to convert a BDF font to PCF format.


    system% bdftopcf -o myfont14.pcf myfont14.bdf
    

    The -o option enables the matrix encoding used for Asian PCF font files.

How to Install and Check an 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-ksc5601.1987-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