aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/MultiByteFont.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-10-11 07:45:42 +0000
committerJeremias Maerki <jeremias@apache.org>2006-10-11 07:45:42 +0000
commit1cf982520145ac9604cc2aee0c87714c9d0c4ab0 (patch)
tree4cf3ddbc9fa7bd7f324faedc86cd54a92f27a035 /src/java/org/apache/fop/fonts/MultiByteFont.java
parentdce465a8cbeb9a09ed529d8b2630191362a16d26 (diff)
downloadxmlgraphics-fop-1cf982520145ac9604cc2aee0c87714c9d0c4ab0.tar.gz
xmlgraphics-fop-1cf982520145ac9604cc2aee0c87714c9d0c4ab0.zip
code style
TAB characters license headers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462726 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fonts/MultiByteFont.java')
-rw-r--r--src/java/org/apache/fop/fonts/MultiByteFont.java5
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;
}