https://issues.apache.org/bugzilla/show_bug.cgi?id=53994

          Priority: P2
            Bug ID: 53994
          Assignee: [email protected]
           Summary: ArrayIndexOutOfBoundsException in
                    TextLineBreaks.findLineBrk
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: PC
            Status: NEW
           Version: 1.7
         Component: GVT Text
           Product: Batik

A mix of Thai (I think?) and english text causes ArrayIndexOutOfBoundsException
in TextLineBreaks.findLineBrk

The text I'm using is:
จัดทำ Master Plan


The error occurs here:
org.apache.batik.gvt.flow.TextLineBreaks.findLineBrk(TextLineBreaks.java:177)

byte brk = brkPairs[cls][curCls];

cls is 20 but the array only has 20 elements.

Hope that makes sense.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to