beautypg.com

Matrix Orbital GLK24064-16-1U User Manual

Page 25

background image

20


The character data is a binary graphical representation of each glyph in a font. Each character is drawn
on a grid containing as many rows as the height specified in the header and as many columns as the
width specified in the character table. Cells are drawn by writing a one in their location and cleared by
setting a value of zero. Starting at the top left, moving right, then down, eight of these cells form a
character data byte. When all cells are accounted for, zeroes may be added to the last byte to complete
it. A sample of an ‘h’ glyph is shown above. The data for the ‘i’ and ‘j’ characters will follow to complete
the custom font file displayed below.

Table 20: Example Font File

Header

5 7 72 74

Character Table

h

0 13 5

i

0 18 3

j

0 21 4

Character Data

h 132 45 152 198 32

i

67 36 184

j

16 49 25 96