} else {
Float runX = (Float) aci.getAttribute(XPOS);
if ((runX == null) || runX.isNaN())
break;
}
aciList.add(new AttributedCharacterSpanIterator
(aci, i-1, i));
chunkStartIndex = i;
}
}
// found the end of a text chunck
int chunkEndIndex = aci.getIndex();
// System.out.println("Bounds: " + chunkStartIndex +
// "," + chunkEndIndex);
aciList.add(new AttributedCharacterSpanIterator
(aci, chunkStartIndex, chunkEndIndex));
chunkStartIndex = chunkEndIndex;
}