text: public FontRecord getFontRecordAt(int idx) {int index = idx;if (index > 4) {index -= 1;   }if (index > (numfonts - 1)) {throw new ArrayIndexOutOfBoundsException("There are only " + numfonts + " font records, but you asked for index " + idx);}return ( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + index);}