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 />

Super Font Definition (SFD)<br />

Super Font Definition (SFD)<br />

The SFD record is used to provide general information about the<br />

Category I super font and to indicate that the following FDR and CDR<br />

records define subfonts and subfont characters. A super font is a doublebyte<br />

font used with certain languages to provide a large number of<br />

characters that all have the same typeface and size.<br />

Byte Position Bytes Field Name Description<br />

Following an SFD record, all FDR records define subfonts and all CDR<br />

records define characters for the current subfont. As an option, a single<br />

CDR may immediately follow an SFD to define the default character for<br />

any undefined character in the super font. After an SFD, any record other<br />

than CDR, RIP, NOP, MSG, or FDR ends the super font.<br />

1-2 2 Record Length The length of this record, in binary, including the record length<br />

field. For example, hex 00 12 specifies a record length of 18 bytes.<br />

3 1 Cyclic Record Count A binary cyclic record count using modulo 256. Each record in the<br />

job is counted, starting with hex 01 for the first record. The 255th<br />

record is hex FF and the 256th record is hex 00. This count is used<br />

to verify record sequence.<br />

4 1 Control Code A binary code that identifies the record type. A value of hex 2A<br />

identifies the SFD record.<br />

5-6 2 Row Count An unsigned binary number that specifies the number of dot rows<br />

for characters in all subfonts of this superfont. For example, hex 00<br />

16 specifies 22 rows.<br />

7 1 Reserved This field is not used and must contain all binary zeroes.<br />

8 1 Interline Spacing (ILS) A binary number that specifies the number of additional dot rows of<br />

space to be generated following each line printed with this font.<br />

The range is 0 - 255.<br />

The value in this field overrides the ILS of the subfonts. The value<br />

in this field is overridden by the ILS values in the SOD, SDC, SFI,<br />

or SFT records and the Y line spacing value in the SFS record.<br />

9 1 Font Rotation A binary code that identifies the font rotation.<br />

0 (hex 00)=Upright2 (hex 02)=Inverted<br />

1 (hex 01)=Right3 (hex 03)=Left<br />

The font must be patterned in an upright rotation. This field is used<br />

by the printing system to rotate the font to the desired rotation. All<br />

subfonts of this super font must have the same rotation.<br />

The value in this field overrides the rotation value in the subfonts.<br />

If it is to be used in more than one rotation in the same job, a super<br />

font and all corresponding subfonts must be defined once for each<br />

rotation.<br />

10 1 Super Font Number A number, in binary, that identifies the super font. The range is 0 -<br />

254. For example, hex 0A specifies a font number of 10.<br />

11-18 8 Super Font Name The name of the super font in EBCDIC. The field must be left<br />

justified and space filled to the right. For example, hex C8 C5 E6<br />

C9 E3 E3 40 40 specifies a font name of HEWITT.<br />

Reference Guide 4 - 21

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

Saved successfully!

Ooh no, something went wrong!