HP Pcl 5 Manual
Have a look at the manual HP Pcl 5 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
ENCharacter Descriptor Formats 11-59 Figure 11-7 Landscape Character Example
11-60 Soft Font CreationEN Character Descriptor and Data Format for Intellifont Scalable Fonts The character header contains a block of bytes that identify character outline data. Table 11-40 and Table 11-41 show the format of the Intellifont scalable character descriptor and data . Table 11-40 Intellifont Scalable Character Descriptor and Data Format Byte 15 (MSB) 8 7 (LSB) 0 0 Format (10) Continuation (0) 1 1. Continuation is supported for classes 1, 2, 3 and 15 only. 2 Descriptor Size Class (3) 4 Contour Character Data: (in bytes) Msee Table 11-41 for Contour Character Data #–2 Reserved (0) Checksum 2 2. These bytes appear only on the last continuation. Table 11-41 Intellifont Scalable Contour Data Format Byte 15 (MSB) 8 7 (LSB) 0 4 Contour Data Size 6 Metric Data Offset 8 Character Intellifont Data Offset 10 Contour Tree Offset 12 XY Data Offset 14 Metric Data M Character Intellifont Data M
ENCharacter Descriptor Formats 11-61 Contour Tree Data M XY Coordinate Data M Table 11-42 Intellifont Scalable Character Descriptors/Data Continuation Block Byte 15 (MSB) 8 7 (LSB) 0 0 Format (10) Continuation (1) 1 1. Continuation is supported for Intellifont scalable fonts for class 3 only. 2 Contour Character Data, resumed: (in bytes, see Table 11-41. M #–2 Reserved Checksum 2 2. This byte appears only on the last continuation. Table 11-43 Intellifont Scalable Compound Character Descriptor and Data Format Byte 15 (MSB) 8 7 (LSB) 0 0 Format (10) Continuation (0) 2 Descriptor Size Class (4) 4 Compound Character Escapement 6 Number of Components 8 Component List M see Table 11-46 for Component List Data –2 Reserved Checksum Table 11-41 Intellifont Scalable Contour Data Format
11-62 Soft Font CreationEN Format (UB) This is the first byte of every character data block header. It specifies the format of the character descriptor and data. The format number for Intellifont scalable fonts is 10. If the format number is different from that expected by the device, the character is discarded. Continuation (B) This is the second (and last) byte of every character data block header. It specifies whether the following data is the first (0) data block of a new character definition, or a continuation (1) block for a character definition which has already been received by the printer. Because the value field in a Character Definition command is limited to 32767 bytes, characters whose byte count exceed this must be sent in two or more blocks. Table 11-42 shows the continuation block for an Intellifont Scalable font. Descriptor Size (UB) This is the first byte of the character descriptor. It specifies the size of the character descriptor in bytes. The typical descriptor size for Intellifont scalable fonts is 2. Class (UB) Specifies the format of the character data. For Intellifont scalable fonts values 3 and 4 are used, as described below. Table 11-44 Value Format 4* LaserJet Family (Raster) 10 Intellifont Scalable 15* TrueType Scalable * These are described elsewhere in this chapter.
ENCharacter Descriptor Formats 11-63 Class 3 -Intellifont Scalable Character Contour Data Class 3 is for Intellifont scalable contour character data. The contour character data is organized as described in Table 11-41. Bytes 0-3 contain the character descriptor. Class 4 - Intellifont Scalable Compound Character Data A class 4 character is a compound character and composition data follows. The composition data is organized as described in Table 11-43. The compound descriptor allows combining two different characters to produce a single compound character. Contour Data Size (UI) The size of the contour data including the size of this field. For a detailed description of this field, refer to Intellifont Scalable Typeface For mat. Metric Data Offset (SI) The offset to the Metric Data relative to the address of the Contour Data Size field. Table 11-45 Value Class 1* Bitmap 2* Compressed Bitmap 3 Contour (Intellifont Scalable) 4 Compound Contour (Intellifont Scalable) 15* TrueType Scalable * These are described elsewhere in this chapter.
11-64 Soft Font CreationEN Character Intellifont Data Offset (SI) The offset to the Character Intellifont Data relative to the address of the Contour Data Size field. Contour Tree Offset (SI) The offset to the contour Tree Data relative to the address of the Contour Data Size field. XY Data Offset (SI) The offset to the XY data relative to the address of the Contour Data Size field. Metric Data For information about Metric Data refer to the Intellifont Scalable Ty p e f a c e F o r m a t document. Character Intellifont Scalable Data For information about Character Intellifont Scalable Data, refer to Intellifont Scalable Typeface Format. Contour Tree Data For information about Contour Tree Data, refer to Intellifont Scalable Ty p e f a c e F o r m a t. XY Coordinate Data For information about XY Coordinate Data, refer to Intellifont Scalable Ty p e f a c e F o r m a t. NoteFor information on obtaining the Intellifont Scalable Typeface Format document, refer to Related Documents in the front of this manual. Checksum This is a checksum of all the contour character data. The checksum value is contained only in the last character data block.
ENCharacter Descriptor Formats 11-65 Compound Character Escapement (SI) The escapement in design units of a compound character. Number of Components (UB) The number of components of a compound character. Component List This is a list of component descriptions. The list contains Number of Components elements. Each component descriptor consists of 6 bytes as described in Table 11-46 below. The Character Code is the character code number of a component of a compound character. X-offset is the offset of that component from the reference point (origin) in the x direction in design units. Y-offset is the offset in the y direction of a component from the reference point (origin) in design units. NoteThe character code may be greater than the last code of the symbol set that is implied by the font type since a compound character can include components that are not part of the symbol set. Character Descriptor and Data Format for TrueType Fonts Table 11-47 shows the format of the TrueType character descriptor and data when a continuation block is not required. Table 11-49 (next page) shows the format of the TrueType character descriptor and data with multiple character data blocks. Table 11-46 Component Descriptor Byte 15 (MSB) 8 7 (LSB) 0 0 Character Code 2 X Offset 4 Y Offset
11-66 Soft Font CreationEN Table 11-47 TrueType Character Descriptor (no continuation block required) Byte 15 (MSB) 8 7 (LSB) 0 0 Format (15) Continuation (0) 2 Descriptor Size Class (15) 4 [additional descriptor data may be inserted here] 2 + Desc Size Character Data Size 4 + Desc Size Glyph ID 6 + Desc Size TrueType Glyph Data M # – 2 Reserved Checksum # = Character data block size as defined in Character Definition command. Table 11-48 Byte 15 (MSB) 8 7 (LSB) 0 0 Format (15) Continuation (0) 2 Descriptor Size Class (15) 4[additional descriptor data may be inserted here] 2 + Desc Size Character Data Size 4 + Desc Size Glyph ID
ENCharacter Descriptor Formats 11-67 Format (UB) This is the first byte of every character data block header. It specifies the format for character downloading. The number 15 designates the TrueType character format.6 + Desc Size beginning of TrueType Glyph Data M Table 11-49 TrueType Character Descriptor (multiple character data blocks) Byte 15 (MSB) 8 7 (LSB) 0 0 Format (15) Continuation (1) 2 conclusion of TrueType Glyph Data M # – 2 Reserved Checksum # = Character data block size as defined in Character Definition command. Table 11-50 Value Format 4* LaserJet Family (Raster) 10* Intellifont Scalable 15 TrueType Scalable * These are described elsewhere in this chapter. Table 11-48 (continued)
11-68 Soft Font CreationEN Continuation (B) This is the second (and last) byte of every character data block header. It specifies whether the following data is the first (0) data block of a new character definition, or a continuation (1) block for a character definition which has already been received by the printer. Because the value field in a Character Definition command is limited to 32767 bytes, characters whose byte count exceed this must be sent in two or more blocks. Descriptor Size (UB) This is the first byte of the character descriptor. It specifies the size of the character descriptor in bytes. The character descriptor includes everything that is both after the continuation byte and prior to the Character Data Size field. The TrueType character descriptor includes this Descriptor Size byte plus the following Class byte. The minimum value for Descriptor Size is therefore 2. (Additional descriptor information, if any, can be added immediately after the Class byte.) Class (UB) This field is used to distinguish different character data types within a given character format. (For instance, among Intellifont characters of format 10, the Class byte is used to distinguish compound characters from simple Intellifont contour characters.) All TrueType scalable characters are handed to the TrueType font scaler in the same format, consequently, the Class byte does not provide vital new information. For TrueType, set the Class value to 15. Table 11-51 Value Class 1* Bitmap 2* Compressed Bitmap 3* Contour (Intellifont Scalable) 4* Compound Contour (Intellifont Scalable) 15 TrueType Scalable * These are described elsewhere in this chapter.