Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Byte Position Bytes Field Name Description<br />
Chapter 4. Record Formats<br />
Character Definition with Metrics (CDM)<br />
29-n n Bitmap Pattern This field contains the bitmap pattern for the character defined by<br />
this CDM. Each row of the pattern contains an integral number of<br />
16-bit segments. The number of rows is determined by the height<br />
field (bytes 11-12). The number of 16-bit segments per row is<br />
determined by the width field (bytes 9-10). For example, if the<br />
height is 21 and the width is 28, this field must contain 21 rows<br />
consisting of two 16-bit segments each (42 16-bit segments or 84<br />
bytes).<br />
The high-order bit in this field (bit hex 80 in byte position 29)<br />
controls the dot in the top left corner of the character bounding<br />
box. Subsequent bits in the same segment control dots in a left-toright<br />
order in the first row of the character. The first dot in the<br />
second row of the character is controlled by the high-order bit of<br />
the nth 16-bit segment, where n is the number of segments per<br />
row plus one.<br />
Each row must be padded to the right with binary zeroes.<br />
If the character pattern will not fit in a block, a continuation CDM<br />
must be used. An integral number of rows must be used in each<br />
CDM record.<br />
Reference Guide 4 - 17