public void advance() {
    myStart = myEnd;
    myEnd = myIterator.current();
    myFontInfo = myNextFontInfo;
    int end;
    while ((end = myIterator.next()) != BreakIterator.DONE) {
      if (isFormatChar(myEnd, end) && myFontInfo != null) myNextFontInfo = myFontInfo;
      else myNextFontInfo = getFontAbleToDisplay(myEnd, end);
      if (myFontInfo == null) myFontInfo = myNextFontInfo;
      if (myNextFontInfo.equals(myFontInfo)) {
        myEnd = end;
      }
      else {
        return;
      }
    }
  }
public void advance()