diff options
Diffstat (limited to 'src/java/org/apache/fop/fonts/MultiByteFont.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/MultiByteFont.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fonts/MultiByteFont.java b/src/java/org/apache/fop/fonts/MultiByteFont.java index 6db84b68d..bcb295741 100644 --- a/src/java/org/apache/fop/fonts/MultiByteFont.java +++ b/src/java/org/apache/fop/fonts/MultiByteFont.java @@ -306,14 +306,15 @@ public class MultiByteFont extends CIDFont { * that need to return an invalid character. */ public static final char INVALID_UNICODE_CHAR = 0xFFFF; + /** @see org.apache.fop.fonts.CIDFont#getCharsUsed() */ public char[] getCharsUsed() { - if (! isEmbeddable()) { + if (!isEmbeddable()) { return null; } char[] charArray = new char[usedGlyphsCount]; for (int i = 0; i < usedGlyphsCount; i++) { Integer mapValue = (Integer)usedCharsIndex.get(new Integer(i)); - if(mapValue != null) { + if (mapValue != null) { char arrayItem = (char) mapValue.intValue(); charArray[i] = arrayItem; } |