aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts/apps')
-rw-r--r--src/java/org/apache/fop/fonts/apps/PFMReader.java6
-rw-r--r--src/java/org/apache/fop/fonts/apps/TTFReader.java10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fonts/apps/PFMReader.java b/src/java/org/apache/fop/fonts/apps/PFMReader.java
index 1aa8e105c..2e07bcdd4 100644
--- a/src/java/org/apache/fop/fonts/apps/PFMReader.java
+++ b/src/java/org/apache/fop/fonts/apps/PFMReader.java
@@ -345,9 +345,9 @@ public class PFMReader extends AbstractLogEnabled {
// Get kerning
- Iterator enum = pfm.getKerning().keySet().iterator();
- while (enum.hasNext()) {
- Integer kpx1 = (Integer)enum.next();
+ Iterator iter = pfm.getKerning().keySet().iterator();
+ while (iter.hasNext()) {
+ Integer kpx1 = (Integer)iter.next();
el = doc.createElement("kerning");
el.setAttribute("kpx1", kpx1.toString());
root.appendChild(el);
diff --git a/src/java/org/apache/fop/fonts/apps/TTFReader.java b/src/java/org/apache/fop/fonts/apps/TTFReader.java
index d6636610b..97dbc438f 100644
--- a/src/java/org/apache/fop/fonts/apps/TTFReader.java
+++ b/src/java/org/apache/fop/fonts/apps/TTFReader.java
@@ -443,15 +443,15 @@ public class TTFReader extends AbstractLogEnabled {
Document doc = parent.getOwnerDocument();
// Get kerning
- Iterator enum;
+ Iterator iter;
if (isCid) {
- enum = ttf.getKerning().keySet().iterator();
+ iter = ttf.getKerning().keySet().iterator();
} else {
- enum = ttf.getAnsiKerning().keySet().iterator();
+ iter = ttf.getAnsiKerning().keySet().iterator();
}
- while (enum.hasNext()) {
- Integer kpx1 = (Integer)enum.next();
+ while (iter.hasNext()) {
+ Integer kpx1 = (Integer)iter.next();
el = doc.createElement("kerning");
el.setAttribute("kpx1", kpx1.toString());