Graphics Programs Reference
In-Depth Information
Here, we have:
1. Set up the graphics matrix to rotate anticlockwise around the origin with
cm
.
2. Selected a font and set the leading with
Tf
and
TL
.
3. Set the text matrix to offset the start by (270, 240) with
Tm
.
4. Written three lines with
Tj
and
T*
.
Figure 6-2. Text transforms
Text rise
The
Ts
operator can be used to adjust the vertical position of text:
BT
/F0 72 Tf
1 0 0 1 140 290 Tm
(Text) Tj
20 Ts
(Up) Tj
0 Ts
(and) Tj
-20 Ts
(Down) Tj
ET