SECTION 5.2
397
Text State Param eters and Operators
TABLE 5.1 Text state parameters
PARAMETER
DESCRIPTION
T
c
T
w
T
h
T
l
T
f
T
fs
T
mode
T
rise
T
k
Character spacing
Word spacing
Horizontal scaling
Leading
Text font
Text font size
Text rendering mode
Text rise
Text knockout
Except for the self-explanatory
T
f
and
T
fs
, these parameters are discussed further
in the following sections. (As described in Section 5.3, “Text Objects,” three addi-
tional text-related parameters are defined only within a text object:
T
m
, the text
matrix;
T
lm
, the text line matrix; and
T
rm
, the text rendering matrix.) The values
of the text state parameters are consulted when text is positioned and shown
(using the operators described in Sections 5.3.1, “Text-Positioning Operators,”
and 5.3.2, “Text-Showing Operators”). In particular, the spacing and scaling
parameters participate in a computation described in Section 5.3.3, “Text Space
Note:
The text knockout parameter,
T
k
, is set through the
TK
entry in a graphics
state parameter dictionary by using the
gs
operator (see Section 4.3.4, “Graphics
ter.
The text state operators can appear outside text objects, and the values they set
are retained across text objects in a single content stream. Like other graphics
state parameters, these parameters are initialized to their default values at the
beginning of each page.