66

Programming

Fonts

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:

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

P1003638-003

TTP 8000 Technical Manual

10/19/2009

Page 66
Image 66
Zebra Technologies TTP 8000 manual Character Bitmap Data