Asian Application Developer's Guide

Using Bitmap Fonts with XView Applications

To use your new Korean bitmap font with XView applications, you must add a font set definition in /usr/openwin/lib/locale/ko/OW_FONT_SETS/OpenWindows.fs. For example:

myfont:definition,\
 -sun-gothic-medium-r-normal--18-160-75-75-c-80-ksc5636-0,\
 -new-myfont-medium-r-normal--18-160-75-75-c-160-ksc5601.1987-0

To use your new Simplified Chinese bitmap font with XView applications, you must add a font set definition in /usr/openwin/lib/locale/zh/OW_FONT_SETS/OpenWindows.fs. For example:

myfont:definition,\
 -sun-song-medium-r-normal--18-160-75-75-c-80-iso8859-1,\
 -new-myfont-medium-r-normal--18-160-75-75-c-160-gb2312.1980-0

To use your new Traditional Chinese bitmap font with XView applications, you must add a font set definition in /usr/openwin/lib/locale/zh_TW/OW_FONT_SETS/OpenWindows.fs. For example:

myfont:definition,\
 -sun-sung-medium-r-normal--18-160-75-75-c-80-cns11643-0,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-1,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-2,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-3,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-4,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-5,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-6,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-7,\
 -sun-sung-medium-r-normal--18-160-75-75-c-160-cns11643-15,\
 -new-myfont-medium-r-normal--18-160-75-75-c-160-cns11643-16

Make sure you use the correct English font size with the Asian fonts. Then type:


system% shelltool -font myfont

See "Font Sets" for a description of font sets.