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 "Luis Bernardo (JIRA)" <ji...@apache.org> on 2014/10/17 11:22:33 UTC
[jira] [Resolved] (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 ]
Luis Bernardo resolved FOP-2417.
--------------------------------
Resolution: Fixed
Fix Version/s: trunk
Applied a fix in http://svn.apache.org/viewvc?view=revision&revision=1632522.
I think the way the break opportunity after was being checked was not consistent with line GlyphMapping.java:273.
> 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
> Fix For: trunk
>
> Attachments: 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
(v6.3.4#6332)