Character bitmap data – Zebra Technologies TTP 8000 User Manual

Page 66

Advertising
background image

Programming
Fonts

66

P1003638-003

TTP 8000 Technical Manual

10/19/2009

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 this example, each row consists of 3 columns equal to 3 bytes.

In order to minimize the required storage space, only rows between Ystart and Ystart+Yheight
are included in the character bitmap.

0

1

2

0

4

ROW

COLUMN

Col 0

Col 1

MSB

LSB MSB

LSB

Col 2

MSB

LSB

Row 1

=03H

=FFH

=80H

(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)

Advertising