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 "Seifeddine Dridi (JIRA)" <ji...@apache.org> on 2013/05/10 15:49:16 UTC

[jira] [Commented] (FOP-2246) SEVERE: Exception java.lang.IllegalArgumentException: min (1650) > opt (0)

    [ https://issues.apache.org/jira/browse/FOP-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654470#comment-13654470 ] 

Seifeddine Dridi commented on FOP-2246:
---------------------------------------

Maybe specifying the limits of word-space is implementation-dependent, I'm not sure. Considering the error message generated by FOP, it seems that the minimum value should not be greater than optimum, which is set to 0 by default.
                
> SEVERE: Exception java.lang.IllegalArgumentException: min (1650) > opt (0)
> --------------------------------------------------------------------------
>
>                 Key: FOP-2246
>                 URL: https://issues.apache.org/jira/browse/FOP-2246
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 1.1
>            Reporter: Yevgeniy Vostokov
>         Attachments: ExpereResponse.fo, expereresponse.pdf, fop-log.txt, xep-log.txt
>
>
> I am getting an Exception java.lang.IllegalArgumentException: min (1650) > opt (0) 
> and PDF is not getting created.
> I can generate PDF from the same FO file using XEP. 
> If I remove the attribute word-spacing.minimum from the fo file it fixes it. Apparently the code expects the optimum and maximum to be also specified if the minimum is and in this case they are not. If I add optimum and maximim attributes it works too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira