
Programming
Font Loading
Char_bitmap data: Bitmap data for all characters that are to be defined.
65
Char_sizeY
| Char_width |
| Char_width | Char_width Char_width | |
| A | Char_Ystart | A Wg | ||
|
|
|
|
| |
|
| Char_Yheight |
|
|
|
Baseline |
|
|
|
|
|
| Char_sizeX |
| Char_pitch | Char_pitch | Char_pitch |
Character bitmap data:
A character is made up of a bitmap the size of which is:
Char. width (X) * Char. Height (Y) bytes.
COLUMN
0 1 2
0
4
ROW
Col 0 | Col 1 |
| Col 2 |
MSB | LSB MSB | LSB MSB | LSB |
Row 1
=03H
=FFH
=80H
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:
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)
In order to minimize the required storage space, only rows between Ystart and Ystart+Yheight are included in the character bitmap.
10/05/2009 | TTP 7030™ Technical Manual |