Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1340

[PATCH] Unassigned code points cause ArrayIndexOutOfBoundsException in LineBreakUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • unqualified
    • None
    • Operating System: other
      Platform: Other
    • 41999

    Description

      Documents that contain proposed new code points to unicode, such as those listed
      at http://www.unicode.org/alloc/Pipeline.html have a LineBreakProperty of zero
      as returned by LineBreakUtils.getLineBreakProperty(c). This then causes an index
      out of bounds exception in LineBreakUtils.getLineBreakPairProperty() when built
      from trunk.

      One solution might be to use LineBreakUtils.LINE_BREAK_PROPERTY_XX instead of
      zero for unassigned code points.

      Attachments

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              devel@thanlwinsoft.org Keith Stribley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: