
77
Programming
Font Loading
09/28/2009 TTP 2100 Technical Manual P1003640-002
Character Bitmap Data
A character is made up of a bitmap the size of which is:
Char. width (X) * Char. Height (Y) bytes.
The bitmap data consists of bitmap patterns for each character in a character set for which the
parameter Char_width in the Char_matrix table is set to a value between 1 and 24. A character
that has its Char_width set to zero, is not included in the bitmap data.
The bitmap for one character is then defined according to the following table:
In order to minimize the required storage space, only rows between Ystart and Ystart +
Yheight are included in the character bitmap.
Example • In this example, each row consists of 3 columns equal to 3 bytes.
(COL 0, ROW Ystart), (COL 1, ROW Ystart), (COL 2, ROW Ystart)
(COL 0, ROW Ystart+1), (COL 1, ROW Ystart+1), (COL 2, Ystart+1)
(COL 0, ROW Ystart + Yheight), (COL 1, ROW Ystart + Yheight), (COL 2, ROW Ystart +
Yheight)
Komentarze do niniejszej Instrukcji