aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/render/pdf
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-10-25 09:29:48 +0000
committerKeiron Liddle <keiron@apache.org>2002-10-25 09:29:48 +0000
commitf4277e55a8810a0badd3a0dbb233178b678d0119 (patch)
tree9563455dd2f825ac8c0a24d19e99da70f2d7ec10 /src/org/apache/fop/render/pdf
parent40209c4fc88254b792d07b63be3955c8288b3e7a (diff)
downloadxmlgraphics-fop-f4277e55a8810a0badd3a0dbb233178b678d0119.tar.gz
xmlgraphics-fop-f4277e55a8810a0badd3a0dbb233178b678d0119.zip
more style fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195362 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/render/pdf')
-rw-r--r--src/org/apache/fop/render/pdf/fonts/SingleByteFont.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/org/apache/fop/render/pdf/fonts/SingleByteFont.java b/src/org/apache/fop/render/pdf/fonts/SingleByteFont.java
index b29ea9b8c..3dda3490d 100644
--- a/src/org/apache/fop/render/pdf/fonts/SingleByteFont.java
+++ b/src/org/apache/fop/render/pdf/fonts/SingleByteFont.java
@@ -1,6 +1,6 @@
/*
* $Id$
- * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
+ * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
@@ -242,10 +242,11 @@ public class SingleByteFont extends Font implements FontDescriptor {
public char mapChar(char c) {
char d = mapping.mapChar(c);
- if(d != 0)
+ if(d != 0) {
return d;
- else
- return '#';
+ } else {
+ return '#';
+ }
}
}