Brother HL Series Technical Reference Manual page 88

Hide thumbs Also See for HL Series:
Table of Contents

Advertisement

7/17/2009
[TrueType scalable font]
<TrueType character descriptor>
2 + Desc.size
4 + Desc. size
6 + Desc. size
2 + Desc.size
4 + Desc. size
6 + Desc. size
• The character data follows these header bytes. Characters are represented as raster data and the data bytes are
used to build up an image of the character from left to right and from top to bottom, according to the
character width and height settings.
• Format (UB) - 15 specifies TrueType font.
• Continuation (B) - specifies whether the character data represents a new character (0) or is a continuation of
the character described by the previous character descriptor block (non-zero). If the continuation byte is
non-zero the bytes following it are interpreted as character data.
• Descriptor size (UB) - specifies the character descriptor size in bytes.
• Class (UB) - indicates the character format.
• Character data size (UI) - should be the same value as (the character data size + Glyph ID + TrueType Glyph
data) size.
• Glyph ID (UI) - specifies the ID number for glyph data, which is used by the TrueType font scaler.
• TrueType Glyph data - includes the data segment which is associated with the given character as found in
the glyph table of the original TrueType font file.
• Checksum (UB) - should be a value which, when added to "Character data + Glyph ID + TrueType Glyph
data" size, produces a zero result.
Byte
0-1
Format (15)
2 - 3
Descriptor size
4 ~
Additional descriptor size
Character Data Size
Glyph ID
TrueType Glyph Data
0-1
Format (15)
2 - 3
Descriptor size
4 ~
Additional descriptor size
Character Data Size
Glyph ID
beginning of TrueType Glyph Data
0-1
Format (15)
TrueType Glyph Data
Last-2
Reserved
Value
Class
1
Bitmap
2
Compressed Bitmap
3
Contour (Intellifont scalable)
4
Compound Contour (Intellifont scalable)
15
TrueType scalable
CHAPTER 2 "PCL" - 68
Data
Continuation (0)
Class (15)
Continuation (0)
Class (15)
Continuation (1)
Checksum

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents