From 49459fd44b6fd5bb44ce71beb2b0f5c0bcf06fc1 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 12 Oct 2001 06:40:13 +0000 Subject: changed api associated with batik to current batik added a half implemented bridge for jpg images git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194499 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layout/LineArea.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/apache/fop/layout/LineArea.java') diff --git a/src/org/apache/fop/layout/LineArea.java b/src/org/apache/fop/layout/LineArea.java index d0a13d1b0..6c1c68429 100644 --- a/src/org/apache/fop/layout/LineArea.java +++ b/src/org/apache/fop/layout/LineArea.java @@ -876,7 +876,7 @@ public class LineArea extends Area { private String getHyphenationWord(char[] characters, int wordStart) { boolean wordendFound = false; int counter = 0; - char[] newWord = new char[100]; // create a buffer + char[] newWord = new char[characters.length]; // create a buffer while ((!wordendFound) && ((wordStart + counter) < characters.length)) { char tk = characters[wordStart + counter]; -- cgit v1.2.3