aboutsummaryrefslogtreecommitdiffstats
path: root/src/codegen/font-file.xsl
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2002-11-29 23:18:59 +0000
committerWilliam Victor Mote <vmote@apache.org>2002-11-29 23:18:59 +0000
commit0438236a2c06687ddf27e63b2e020b3014dcc463 (patch)
tree1cda14fd91a2e97be7490b1994b88d2f5eda15bf /src/codegen/font-file.xsl
parentdbd6d2d0a69d1cab2b30efc4680177c350efc473 (diff)
downloadxmlgraphics-fop-0438236a2c06687ddf27e63b2e020b3014dcc463.tar.gz
xmlgraphics-fop-0438236a2c06687ddf27e63b2e020b3014dcc463.zip
white-space and line-ending fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen/font-file.xsl')
-rw-r--r--src/codegen/font-file.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/codegen/font-file.xsl b/src/codegen/font-file.xsl
index 7167c5b54..f1bb6b160 100644
--- a/src/codegen/font-file.xsl
+++ b/src/codegen/font-file.xsl
@@ -11,7 +11,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
-
+
<xsl:param name="encoding" select="/font-metrics/encoding"/>
<xsl:variable name="native-encoding" select="/font-metrics/encoding"/>
<xsl:variable name="glyphs" select="document('encodings.xml')/encoding-set/encoding[@id=$encoding]/glyph"/>
@@ -43,7 +43,7 @@ public class <xsl:value-of select="class-name"/> extends Font {
public String encoding() {
return encoding;
}
-
+
public String fontName() {
return fontName;
}
@@ -85,10 +85,10 @@ public class <xsl:value-of select="class-name"/> extends Font {
public char mapChar(char c) {
char d = mapping.mapChar(c);
- if(d != 0)
+ if(d != 0)
return d;
else
- return '#';
+ return '#';
}
}