GNU Unifont - The .hex Font Format

The .hex Font Format

The GNU Unifont .hex format defines its glyphs as either 8 or 16 pixels in width by 16 pixels in height. Most Western script glyphs can be defined as 8 pixels wide, while other glyphs (notably the Chinese-Japanese-Korean, or CJK set) are typically defined as 16 pixels wide.

The unifont.hex file contains one line for each glyph. Each line consists of a four digit Unicode hexadecimal code point, a colon, and the bitmap string. The bit string is 32 hexadecimal digits for an 8 pixel wide glyph or 64 hexadecimal digits for a 16 pixel wide glyph.

A '1' bit in the bit string corresponds to an 'on' pixel. Pixels bits are stored top to bottom, left to right.

The font is then converted into a BDF file for use on X11.

Read more about this topic:  GNU Unifont

Famous quotes containing the word font:

    Le corps, l’amour, la mort, ces trois ne font qu’un.
    Thomas Mann (1875–1955)