diff options
Diffstat (limited to 'src/org/apache/fop/layout/FontInfo.java')
-rw-r--r-- | src/org/apache/fop/layout/FontInfo.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/org/apache/fop/layout/FontInfo.java b/src/org/apache/fop/layout/FontInfo.java index 4e8258fb1..4f145e3ea 100644 --- a/src/org/apache/fop/layout/FontInfo.java +++ b/src/org/apache/fop/layout/FontInfo.java @@ -7,21 +7,21 @@ package org.apache.fop.layout; -import java.util.Hashtable; +import java.util.HashMap; import org.apache.fop.messaging.MessageHandler; import java.util.Enumeration; import org.apache.fop.apps.FOPException; public class FontInfo { - Hashtable usedFonts; - Hashtable triplets; // look up a font-triplet to find a font-name - Hashtable fonts; // look up a font-name to get a font (that implements FontMetric at least) + HashMap usedFonts; + HashMap triplets; // look up a font-triplet to find a font-name + HashMap fonts; // look up a font-name to get a font (that implements FontMetric at least) public FontInfo() { - this.triplets = new Hashtable(); - this.fonts = new Hashtable(); - this.usedFonts = new Hashtable(); + this.triplets = new HashMap(); + this.fonts = new HashMap(); + this.usedFonts = new HashMap(); } public void addFontProperties(String name, String family, String style, @@ -94,11 +94,11 @@ public class FontInfo { return family + "," + style + "," + weight; } - public Hashtable getFonts() { + public HashMap getFonts() { return this.fonts; } - public Hashtable getUsedFonts() { + public HashMap getUsedFonts() { return this.usedFonts; } |