12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4. Record Formats<br />

Compressed Character Definition (CCD)<br />

Byte Position Bytes Field Name Description<br />

37-n varies Compressed Character<br />

Pattern<br />

4 - 20 IJPDS Formats<br />

Only the upright orientation is supported. Use of rotated characters<br />

in this record will produce incorrect results.<br />

The character pattern data for upright characters is stored<br />

compressed and then decompressed when imaged. During<br />

imaging, the high order bit of the first decompressed byte/word<br />

controls the dot in the top left corner of the character bounding<br />

box, and subsequent bits in the same decompressed byte/word<br />

control adjacent dots in left to right order.<br />

The compressed character pattern begins at byte position 37 and<br />

is arranged in horizontal raster format compressed using the<br />

compression method specified in byte positions 31 and 32. Each<br />

row of the raster must be padded to the right with binary zeroes<br />

(before compression) to make an integral number of 32-bit<br />

segments. The width of the uncompressed character data (byte<br />

positions 9 and 10) does not have to be a multiple of 32 bits but the<br />

raster row length does.<br />

Characters that cannot be compressed into a single CCD record must be<br />

continued in one or more additional consecutive CCD records. The<br />

compressed data must be divided among the continued records so that<br />

the smallest unit of data is not divided between two CCD records. For<br />

example, a CCD record compressed with RLEV32 must contain an<br />

integral number of 32-bit words in the data pattern and a “run” cannot be<br />

divided between multiple CCDs.<br />

Should the character definition (including any continuation) contain more<br />

or less uncompressed data than what is specified by the Height and<br />

Width fields, the imager will display an error message and the font<br />

download will stop. A character definition must be completed for a given<br />

logical input RIP before any other character definitions are started.

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

Saved successfully!

Ooh no, something went wrong!