Submitted by: Jeremias M�rki
Fixes NumberFormatExceptions when reading .pfm files with kerning values.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194213
13f79535-47bb-0310-9956-
ffa450edef68
// Get kerning
for (Enumeration enum = pfm.getKerning().keys();
enum.hasMoreElements();) {
- String kpx1 = (String) enum.nextElement();
+ Integer kpx1 = (Integer) enum.nextElement();
el = doc.createElement("kerning");
- el.setAttribute("kpx1", kpx1);
+ el.setAttribute("kpx1", kpx1.toString());
root.appendChild(el);
Element el2 = null;