aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/fo/FOText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java
index ac3babb42..7ae73d7e0 100644
--- a/src/java/org/apache/fop/fo/FOText.java
+++ b/src/java/org/apache/fop/fo/FOText.java
@@ -183,7 +183,7 @@ public class FOText extends FONode {
/** {@inheritDoc} */
protected void endOfNode() throws FOPException {
textTransform();
- getFOEventHandler().characters(ca, startIndex, endIndex);
+ getFOEventHandler().characters(ca, startIndex, endIndex - startIndex);
}
/**