You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Matthias Schwarz (Jira)" <ji...@apache.org> on 2020/06/26 11:24:00 UTC

[jira] [Updated] (FOP-2417) Exception caused by letter space handling in Chinese sentence

     [ https://issues.apache.org/jira/browse/FOP-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Schwarz updated FOP-2417:
----------------------------------
    Attachment: simpleError.itx.log
                simpleError.fo

> Exception caused by letter space handling in Chinese sentence
> -------------------------------------------------------------
>
>                 Key: FOP-2417
>                 URL: https://issues.apache.org/jira/browse/FOP-2417
>             Project: FOP
>          Issue Type: Bug
>            Reporter: Luis Bernardo
>            Priority: Major
>             Fix For: 2.2
>
>         Attachments: simpleError.fo, simpleError.itx.log, test.fo
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)