* Computes the width of a word, in millipoints.
* @param word The word whose width should be computed.
* @return The width of the word, in millipoints.
*/
public int getWordWidth(final CharSequence word) {
final FontUse fontUse = getPrimaryFont();
final Font font = fontUse.getFont();
fontUse.registerCharsUsed(word);
return font.width(word, traitFontSize(),
traitGeneratedBy().traitLetterSpacingOpt(this),
traitGeneratedBy().traitWordSpacingOpt(this), true);
}