for (int i = 0; i < fontRecords.length; i++) {
FontRecord nextRecord = fontRecords[i];
attrs.clear();
String metricsFile = URLDecoder.decode(nextRecord.getMetricsLocation().toString(), "utf-8");
attrs.addAttribute("", "metrics-file", "metrics-file", "CDATA", metricsFile);
attrs.addAttribute("", "kerning", "kerning", "CDATA", "yes");
attrs.addAttribute("", "embed-file", "embed-file", "CDATA",
nextRecord.getFontLocation().getPath());
handler.startElement("", "font", "font", attrs);
writeTriplets(handler, nextRecord.getFontTriplets());
handler.endElement("", "font", "font");