*/
for (int i=0; i<textRuns.size(); ++i) {
TextRun textRun = (TextRun) textRuns.get(i);
AttributedCharacterIterator runaci = textRun.getACI();
TextLayout layout = textRun.getLayout();
runaci.first();
//System.out.print("Painting text: ");
//for (int j=runaci.getBeginIndex(); j<runaci.getEndIndex(); ++j) {
// System.out.print(runaci.setIndex(j));
//}
//System.out.println("");