Previous Next
405
SECTION 5.3 Text Objects
TABLE 5.4 Text object operators
OPERANDS OPERATOR DESCRIPTION
— BT Begin a text object, initializing the text matrix, Tm , and the text line matrix, Tlm , to
the identity matrix. Text objects cannot be nested; a second BT cannot appear before
an ET.
— ET End a text object, discarding the text matrix.
These specific categories of text-related operators can appear in a text object:
• Text state operators, described in Section 5.2, “Text State Parameters and Oper-
ators”
• Text-positioning operators, described in Section 5.3.1, “Text-Positioning Opera-
tors”
• Text-showing operators, described in Section 5.3.2, “Text-Showing Operators”
The latter two sections also provide further details about the text object parame-
ters described above. The other operators that can appear in a text object are
those related to the general graphics state, color, and marked content, as shown in
Figure 4.1 on page 197.
Note: If a content stream does not contain any text, the Text procedure set may be
omitted (see Section 10.1, “Procedure Sets”). In those circumstances, no text opera-
tors (including operators that merely set the text state) may be present in the content
stream, since those operators are defined in the same procedure set.
Note: Although text objects cannot be statically nested, text might be shown using a
Type 3 font whose glyph descriptions include any graphics objects, including another
text object. Likewise, the current color might be a tiling pattern whose pattern cell
includes a text object.
Previous Next