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);}
public FontRecord GetFontRecordAt(int idx){int index = idx;if (index > 4){index -= 1;   }if (index > (numfonts - 1)){throw new IndexOutOfRangeException("There are only " + numfonts+ " font records, you asked for " + idx);}FontRecord retval =(FontRecord)records[(records.Fontpos - (numfonts - 1) + index)];return retval;}