ProgramFieldType[] fields = new ProgramFieldType[fieldCnt];
for (int i=0; i<fields.length; i++) {
fields[i] = ProgramFieldType.getTypeForId(in.readInt());
}
MutableProgramIconSettings result = new MutableProgramIconSettings(PrinterProgramIconSettings.create());
result.setProgramInfoFields(fields);
result.setTextFont(textFont);
result.setTimeFont(titleFont);
result.setTitleFont(titleFont);
result.setPaintPluginMarks(showPluginMarks);
return result;
}