runY = (Float) aci.getAttribute(YPOS);
if (((runX == null) || runX.isNaN()) &&
((runY == null) || runY.isNaN()))
break;
aciList.add
(new AttributedCharacterSpanIterator(aci, i-1, i));
chunkStartIndex = i;
}
}
// found the end of a text chunck
int chunkEndIndex = aci.getIndex();
aciList.add(new AttributedCharacterSpanIterator
(aci, chunkStartIndex, chunkEndIndex));
chunkStartIndex = chunkEndIndex;
}