From: Steve Coffman Date: Mon, 12 Jun 2000 14:47:44 +0000 (+0000) Subject: Keiron Liddle's patch to make special characters work across page X-Git-Tag: pre-columns~479 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b1769f82febd17bb3ab96281579a28b0b644f80c;p=xmlgraphics-fop.git 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 --- 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