diff options
Diffstat (limited to 'src/java/org/apache/fop/fonts/CustomFont.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/CustomFont.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/CustomFont.java b/src/java/org/apache/fop/fonts/CustomFont.java index fffb429ed..6f325d96d 100644 --- a/src/java/org/apache/fop/fonts/CustomFont.java +++ b/src/java/org/apache/fop/fonts/CustomFont.java @@ -568,4 +568,16 @@ public abstract class CustomFont extends Typeface this.strikeoutThickness = strikeoutThickness; } + /** + * Returns a Map of used Glyphs. + * @return Map Map of used Glyphs + */ + public abstract Map<Integer, Integer> getUsedGlyphs(); + + /** + * Returns the character from it's original glyph index in the font + * @param glyphIndex The original index of the character + * @return The character + */ + public abstract char getUnicodeFromGID(int glyphIndex); } |