diff options
Diffstat (limited to 'src/java/org/apache/fop/fonts/AbstractCodePointMapping.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/AbstractCodePointMapping.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/AbstractCodePointMapping.java b/src/java/org/apache/fop/fonts/AbstractCodePointMapping.java index 903fe56ec..20cef2d0b 100644 --- a/src/java/org/apache/fop/fonts/AbstractCodePointMapping.java +++ b/src/java/org/apache/fop/fonts/AbstractCodePointMapping.java @@ -179,6 +179,10 @@ public class AbstractCodePointMapping implements SingleByteEncoding { return -1; } + public String getNameFromCodePoint(int idx) { + return getCharNameMap()[idx]; + } + /** {@inheritDoc} */ public String[] getCharNameMap() { if (this.charNameMap != null) { |