void validateSize() {
        // also called from BitMaptext.getLineWidth() via getTotalWidth()
        if (totalWidth < 0) {
            LetterQuad l = head;
            while (!l.isTail()) {
                if (font.isRightToLeft()) {
                    totalWidth = Math.max(totalWidth, Math.abs(l.getX0()));
                } else {
                    totalWidth = Math.max(totalWidth, l.getX1());
                }
                l = l.getNext();
            }
        }
        totalHeight = font.getLineHeight(block) * block.getLineCount();
    }
Manage and align LetterQuads
@author YongHoon
jme3-core/src/main/java/com/jme3/font/Letters.java