Table 15.1

In the HTML, change the hyperlink for 15.5 to "#SupportLevels".

15.2.2.3

Renumber the second "Table 5.6" as "Table 5.7".

15.4.2, Node signature

Insert the following two fields after the string field:

MFVec2f [out] lineBounds
 SFVec2f [out] textBounds

15.4.2, 4th paragraph

Insert the following text after the first sentence:

“The length of each line of type is measured horizontally for horizontal text (FontStyle node: horizontal=TRUE) and vertically for vertical text (FontStyle node: horizontal=FALSE). The length and maxExtent fields thus refer to local coordinate units along the dimension of type flow (major axis).”

15.4.2

Append the following text and figure after the 5th paragraph:

"When the default values of length and maxExtent are used, the Text node shall generate events called lineBounds and textBounds to provide applications with spatial data regarding the size of the rendered string(s) with the font being used. These events are also generated when the default values of length and maxExtent are used and the string field is changed programmatically. lineBounds is a pair of 2D vectors where each vector contains the size of the 2D bounding box for each line of rendered text in local text x and y coordinates. The textBounds event is a single 2D vector that contains the size in x and y dimensions of the Text node’s 2D bounding box (all strings) as rendered. This is depicted in Figure 15.3.

NOTE  In horizontal font styles, the x dimension of the lineBounds and textBounds fields is equivalent to a specified length or maxExtent (the major axis). However, in vertical font styles, the x dimension of the lineBounds and textBounds fields is along the minor axis.

Text Bounds

Figure 15.3 — lineBounds and textBounds measurements

15.5

In the HTML, change the bookmark for 15.5 to "SupportLevels".