Table 109 – Text-showing operators

Operands

Operator

Description

string

Tj

Show a text string.

string

'

Move to the next line and show a text string. This operator shall have the same effect as the code

T* string Tj

a w a c string

"

Move to the next line and show a text string, using a w as the word spacing and a c as the character spacing (setting the corresponding parameters in the text state). a w and a c shall be numbers expressed in unscaled text space units. This operator shall have the same effect as this code:

a w Tw a c Tc string '

array

TJ

Show one or more text strings, allowing individual glyph positioning. Each element of array shall be either a string or a number. If the element is a string, this operator shall show the string. If it is a number, the operator shall adjust the text position by that amount; that is, it shall translate the text matrix, T m . The number shall be expressed in thousandths of a unit of text space (see 9.4.4, "Text Space Details" ). This amount shall be subtracted from the current horizontal or vertical coordinate, depending on the writing mode. In the default coordinate system, a positive adjustment has the effect of moving the next glyph painted either to the left or down by the given amount. Figure 46 shows an example of the effect of passing offsets to TJ.