diff options
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/TTFFile.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/TTFTableName.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/TTFFile.java b/src/java/org/apache/fop/fonts/truetype/TTFFile.java index 1ec4120a6..a1d012aa3 100644 --- a/src/java/org/apache/fop/fonts/truetype/TTFFile.java +++ b/src/java/org/apache/fop/fonts/truetype/TTFFile.java @@ -1058,7 +1058,7 @@ public class TTFFile { String tableName = pd[i].read(fontFile); dirTabs.put(TTFTableName.getValue(tableName), pd[i]); } - dirTabs.put(TTFTableName.DIRECTORY_TABLE, + dirTabs.put(TTFTableName.TABLE_DIRECTORY, new TTFDirTabEntry(0L, fontFile.getCurrentPos())); log.debug("dir tables: " + dirTabs.keySet()); } diff --git a/src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java b/src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java index 5e8fbb379..00cb45f5a 100644 --- a/src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java +++ b/src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java @@ -146,7 +146,7 @@ public class TTFSubSetFile extends TTFFile { if (hasPrep()) { writeTableName(TTFTableName.PREP); } - newDirTabs.put(TTFTableName.DIRECTORY_TABLE, new TTFDirTabEntry(0, currentPos)); + newDirTabs.put(TTFTableName.TABLE_DIRECTORY, new TTFDirTabEntry(0, currentPos)); } private void writeTableName(TTFTableName tableName) { diff --git a/src/java/org/apache/fop/fonts/truetype/TTFTableName.java b/src/java/org/apache/fop/fonts/truetype/TTFTableName.java index cf66954b6..e5ad63128 100644 --- a/src/java/org/apache/fop/fonts/truetype/TTFTableName.java +++ b/src/java/org/apache/fop/fonts/truetype/TTFTableName.java @@ -27,7 +27,7 @@ package org.apache.fop.fonts.truetype; public final class TTFTableName { /** The first table in a TrueType font file containing metadata about other tables. */ - public static final TTFTableName DIRECTORY_TABLE = new TTFTableName("dirTable"); + public static final TTFTableName TABLE_DIRECTORY = new TTFTableName("tableDirectory"); /** Embedded bitmap data. */ public static final TTFTableName EBDT = new TTFTableName("EBDT"); |