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

Vincent Hennebert commented on FOP-1749:
----------------------------------------

Hi Alexey,

thanks for your patch. Although when I tried it on the test you attached, the 
content of the footnote-body doesn't appear on the output?

Also, adding the length of the glue element before breaking out of the loop is 
problematic because the glue will then be taken into account while it 
shouldn't: When breaking at a glue, the glue itself is ignored.

Thanks,
Vincent
                
> [PATCH] infinite loop in footnotes (see also #47424)
> ----------------------------------------------------
>
>                 Key: FOP-1749
>                 URL: https://issues.apache.org/jira/browse/FOP-1749
>             Project: Fop
>          Issue Type: Bug
>          Components: page-master/layout
>    Affects Versions: trunk
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Heidi Vanparys
>         Attachments: bug47424.patch, c.fo, fop-1749.diff
>
>
> This patch solves the problem of an infinite loop in footnotes as reported in 
> FOP-1678.
> The infinite loop occurred in 
> org.apache.fop.layoutmgr.PageBreakingAlgorithm.getFootnoteSplit(int, int, 
> int, int, boolean).
> This patch does not solve the problem of another infinite loop in footnotes 
> as reported in bugs 48063 and 48162. This infinite loop occurs in 
> org.apache.fop.layoutmgr.PageBreakingAlgorithm.createFootnotePages(KnuthPageNode).
>  The test attached to 48063 is converted to a testcase and added to the list 
> of disabled testcases.

--
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

Reply via email to