12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4. Record Formats<br />

Character Definition with Metrics (CDM)<br />

Byte Position Bytes Field Name Description<br />

9-10 2 Width An unsigned binary number that specifies the width, in dots, of the<br />

character bounding box. For example, hex 00 10 specifies a width<br />

of 16 dots. The practical range is limited by the page buffer size<br />

and font memory limitations. Each character in a font can have a<br />

different width. A width of zero defines a blank character.<br />

The width is the X dimension of the bounding box and the direction<br />

is determined by the orientation of the font.<br />

11-12 2 Height An unsigned binary number that specifies the height, in dots, of the<br />

character bounding box. For example, hex 00 14 represents a<br />

height of 20 dots. The practical range is limited by the page buffer<br />

size and font memory limitations. Each character in a font can<br />

have a different height. A height of zero defines a blank character.<br />

The height is the Y dimension of the bounding box and the<br />

direction is determined by the orientation of the font.<br />

13-16 4 X Offset A signed binary number that specifies the X offset of the character.<br />

The X offset is the number of dots to the left side of the character<br />

bounding box from the current cursor position. Direction of the X<br />

offset is determined by the orientation of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 03 specifies +3 dots and hex FF FF FF<br />

FD specifies -3 dots.<br />

17-20 4 Y Offset A signed binary number that specifies the Y offset of the character.<br />

The Y offset is the number of dots to the top of the character<br />

bounding box from the current cursor position. Direction of the Y<br />

offset is determined by the orientation of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 04 specifies +4 dots and hex FF FF FF<br />

FC specifies -4 dots.<br />

21-24 4 X Escapement A signed binary number that specifies the direction and distance to<br />

the cursor position for the next character from the X position of the<br />

current character. Direction of the X escapement is determined by<br />

the orientation of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 16 specifies +22 dots and hex FF FF<br />

FF EA specifies -22 dots.<br />

25-28 4 Y Escapement A signed binary number that specifies the direction and distance to<br />

the cursor position for the next character from the Y position of the<br />

current character. Direction of the Y escapement is determined by<br />

the orientation of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 1B specifies +27 dots and hex FF FF<br />

FF E5 specifies -27 dots.<br />

4 - 16 IJPDS Formats

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!