CHAPTER 5
402
Text
TABLE 5.3 Text rendering modes
MODE
EXAMPLE
DESCRIPTION
0
R
R
R
R
Fill text.
1
Stroke text.
2
Fill, then stroke text.
3
Neither fill nor stroke text (invisible).
4
Fill text and add to path for clipping (see above).
5
Stroke text and add to path for clipping.
6
Fill, then stroke text and add to path for clipping.
7
Add text to path for clipping.
At the end of the text object, the accumulated glyph outlines, if any, are combined
into a single path, treating the individual outlines as subpaths of that path and ap-
plying the nonzero winding number rule (see “Nonzero Winding Number Rule”
tion of this path with the previous clipping path. As is the case for path objects,
this clipping occurs
after
all filling and stroking operations for the text object
have occurred. It remains in effect until some previous clipping path is restored
by an invocation of the
Q
operator.
Note:
If no glyphs are shown or if the only glyphs shown have no outlines (for exam-
ple, if they are space characters), no clipping occurs.