aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/BFEntry.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts/BFEntry.java')
-rw-r--r--src/java/org/apache/fop/fonts/BFEntry.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/BFEntry.java b/src/java/org/apache/fop/fonts/BFEntry.java
index 4e0b169fd..e04b021e4 100644
--- a/src/java/org/apache/fop/fonts/BFEntry.java
+++ b/src/java/org/apache/fop/fonts/BFEntry.java
@@ -64,4 +64,14 @@ public class BFEntry {
return glyphStartIndex;
}
+ /** {@inheritDoc} */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder("BFEntry: ");
+ sb.append("Unicode ").append(getUnicodeStart()).append("..").append(getUnicodeEnd());
+ sb.append(" --> ").append(getGlyphStartIndex()).append("..");
+ sb.append(getGlyphStartIndex() + getUnicodeEnd() - getUnicodeStart());
+ return sb.toString();
+ }
+
}