From b1769f82febd17bb3ab96281579a28b0b644f80c Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Mon, 12 Jun 2000 14:47:44 +0000 Subject: [PATCH] Keiron Liddle's patch to make special characters work across page breaks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193398 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layout/LineArea.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/org/apache/fop/layout/LineArea.java b/src/org/apache/fop/layout/LineArea.java index a44ece460..1a34faf82 100644 --- a/src/org/apache/fop/layout/LineArea.java +++ b/src/org/apache/fop/layout/LineArea.java @@ -145,12 +145,16 @@ public class LineArea extends Area { renderer.renderLineArea(this); } - public int addText(char data[], int start, int end, LinkSet ls) { + public int addText(char odata[], int start, int end, LinkSet ls) { boolean overrun = false; wordStart = start; wordLength = 0; wordWidth = 0; + char[] data = new char[odata.length]; + for(int count=0;count