int i = ci.getIndex();
Rectangle2D characterBounds = effectiveFont.getStringBounds(ci, i, i + 1, fontRenderContext);
lineWidth += characterBounds.getWidth();
c = ci.current();
}
int end;
if (getTextPaneSkin().getWrapText()) {
if (textNode.getCharacterCount() == 0) {