https://issues.apache.org/bugzilla/show_bug.cgi?id=45369

           Summary: Footnotes Rendered at Top of Page when Using the
                    Intermediate Format
           Product: Fop
           Version: all
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22239)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22239)
Patch that should solve the issue

Take for example the footnote_basic.xml file in the layoutengine testcases.
Render it into xml (intermediate format). Then create a PDF version (or
whatever) out of the xml file. The footnote will be found at the top of the
page.

The problem is that the XML renderer doesn't store the offset of the footnote
area from the top of the region-body. And the AreaTreeParser doesn't parse any
such attribute in return.

The attached patch should fix the issue, but I'd prefer a Renderer/Area Tree
specialist to review it in order to check that it fits well into the big
picture, before committing it.


Thanks,
Vincent


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to