Asian Application Developer's Guide

More on Font Encoding and Editing Fonts

The X11 encoding of Asian characters follows a 7-bit multibyte scheme with the leading bit of each byte set to zero. This differs from EUC use of 8-bit multibyte encoding with the leading bit set to one. BDF defines the encoding to be a positive decimal integer.

For convenience, fontedit lets you specify the 7-bit values of the high and low bytes, which are automatically combined into the decimal value used in the BDF file. For example, to locate EUC character 0xA1A2, you would find the following:

Table 4-1 Font Encoding

8-bit Encoding 

7-bit Encoding 

BDF Value  

0xA1A2 

0x2122 

8482  

The character appears in its actual size just above the bitmap editing area as you edit it, and immediately shows the effects of turning pixels on and off.