]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
this at least prevents an ArrayIndexOutOfBoundsException when
authorKeiron Liddle <keiron@apache.org>
Fri, 6 Oct 2000 00:01:50 +0000 (00:01 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 6 Oct 2000 00:01:50 +0000 (00:01 +0000)
text in static areas overflows and is layed out the second time

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193718 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FOText.java

index d3f4a8740d10e0dc25d804edea4570b5f3870231..c8add05622bc5b564965f45d08fa8bf5961796a0 100644 (file)
@@ -123,6 +123,7 @@ public class FOText extends FONode {
                                                 whiteSpaceTreatment,
                                                 ca, this.marker, length);
        if (this.marker == -1) {
+           this.marker = 0;
            return new Status(Status.OK);
        } else if (this.marker != orig_start) {
            return new Status(Status.AREA_FULL_SOME);