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

Exception caused by letter space handling in Chinese sentence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • None

    Description

      java.lang.IllegalArgumentException: factor < 0; was: -1
      at org.apache.fop.traits.MinOptMax.mult(MinOptMax.java:253)
      at org.apache.fop.layoutmgr.inline.TextLayoutManager.addElementsForAWordFragment(TextLayoutManager.java:1323)
      at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWord(TextLayoutManager.java:944)
      at org.apache.fop.layoutmgr.inline.TextLayoutManager.getNextKnuthElements(TextLayoutManager.java:802)
      at org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:330)
      at org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:698)
      at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:627)
      at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)

      example attached

      Attachments

        1. simpleError.itx.log
          8 kB
          Matthias Schwarz
        2. simpleError.fo
          1 kB
          Matthias Schwarz
        3. test.fo
          0.5 kB
          Luis Bernardo

        Activity

          People

            Unassigned Unassigned
            lmpmbernardo Luis Bernardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: