Image Data Format

The bits for each character are stored separately, and start on a byte boundary. Sequential bytes represent vertical pieces of the character image. For example, a 15-bit-wide H is stored as follows:

Byte                       Byte
    ┌──────────┬──────────┐
  1 │ 00000000 │ 0000000- │ 13      Bytes 1 through 12 are composed of
  2 │ 01100000 │ 0000110- │ 14      whole bytes of data stored row by row.
  3 │ 01100000 │ 0000110- │ 15
  4 │ 01100000 │ 0000110- │ 16      Bytes 13 through 24 are composed of
  5 │ 01100000 │ 0000110- │ 17      bytes stored row by row, where each byte
  6 │ 01111111 │ 1111110- │ 18      contains 7 bits of information and the
  7 │ 01111111 │ 1111110- │ 19      last bit is unused.
  8 │ 01100000 │ 0000110- │ 20
  9 │ 01100000 │ 0000110- │ 21      Thus the character is laid down in
 10 │ 01100000 │ 0000110- │ 22      byte-wide columns.
 11 │ 01100000 │ 0000110- │ 23
 12 │ 00000000 │ 0000000- │ 24
    └──────────┴──────────┘

Notes:


[Back: Font Definition Header]
[Next: The Kerning Pair Table]