Text has several resources that relate to geometry, including the following:
The render table XmNrenderTable that the widget uses to select a font or font set and other attributes in which to display the text.
The Text and Textfield widgets can use only the font-related rendition resources, such as XmNfontType, and can also specify the attributes of the layout object, such as XmNlayoutAttrObject, usually a locale identifier, and XmNlayoutModifier, which specifies the layout values to be passed through to the Layout Object associated with the XOC associated with this XmRendition.
A resource (XmNwordWrap) that specifies whether lines are broken at word boundaries when the text would be wider than the widget.
Breaking a line at a word boundary does not insert a new line into the text. In the case of cursive languages like Arabic, if the word length is greater than the widget length, the word is wrapped to the next line, but the first character in the next line is shaped independently of the previous character in the logical buffer.