[jira] [Updated] (FOP-2106) [PATCH] docbook footnote and body text overlap (example fo file included)
[ https://issues.apache.org/jira/browse/FOP-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincent Hennebert updated FOP-2106: --- Attachment: totalFootnotesLength.fo Hi Alexey, thanks for your patch. But why do you replace insertedFootnotesLength with totalFootnotesLength in createNode? This will result into the loss of footnote content like in the attached totalFootnotesLength example. Vincent [PATCH] docbook footnote and body text overlap (example fo file included) - Key: FOP-2106 URL: https://issues.apache.org/jira/browse/FOP-2106 Project: Fop Issue Type: Bug Components: page-master/layout Affects Versions: 1.0 Environment: Operating System: Linux Platform: PC Reporter: Petter Reinholdtsen Priority: Blocker Attachments: bad-footnote.fo, fop-2106.diff, fop-2106.diff, totalFootnotesLength.fo I discovered this problem with the fop backend of xmlto when using it to create a PDF. The docbook document in question is rather large, but I managed to extract an except demonstrating the problem. The problem is that the footnote text and the body text overlap. I initially reported it to Debian as URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683197 but thought it best to report it here too. The docbook source and the generated PDF is attached to the Debian bug report. Notice in the example how the text of the footnote on the second to last page is overlapping with the body. I generated the PDF using this command: xmlto --noautosize -m xmlto-pdf.xsl --with-fop pdf bad-footnote.xml The full document set is available from URL: https://github.com/petterreinholdtsen/free-culture-lessig , if you want to check it out. When I investigated some more, I concluded that the problem is with the fop processor, not xmlto. The problem exist in both fop versions 1:0.95.dfsg-11 and 1:1.0.dfsg2-6 in Debian. The fo code generated by xmlto include the footnote content as it should, and when I manually process the .fo file using fop, the resulting PDF have the overlapping text. I am attaching the .fo file I used to test this, to allow you to reproduce the problem and try to find a fix. :) Could this be the same problem reported in URL: https://issues.apache.org/bugzilla/show_bug.cgi?id=51304 This issue make fop useless for making the PDF version of the Free Culture book. :( -- 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
[jira] [Updated] (FOP-2106) [PATCH] docbook footnote and body text overlap (example fo file included)
[ https://issues.apache.org/jira/browse/FOP-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pascal Sancho updated FOP-2106: --- Priority: Blocker Summary: [PATCH] docbook footnote and body text overlap (example fo file included) (was: docbook footnote and body text overlap (example fo file included)) [PATCH] docbook footnote and body text overlap (example fo file included) - Key: FOP-2106 URL: https://issues.apache.org/jira/browse/FOP-2106 Project: Fop Issue Type: Bug Components: page-master/layout Affects Versions: 1.0 Environment: Operating System: Linux Platform: PC Reporter: Petter Reinholdtsen Priority: Blocker Attachments: bad-footnote.fo, fop-2106.diff, fop-2106.diff I discovered this problem with the fop backend of xmlto when using it to create a PDF. The docbook document in question is rather large, but I managed to extract an except demonstrating the problem. The problem is that the footnote text and the body text overlap. I initially reported it to Debian as URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683197 but thought it best to report it here too. The docbook source and the generated PDF is attached to the Debian bug report. Notice in the example how the text of the footnote on the second to last page is overlapping with the body. I generated the PDF using this command: xmlto --noautosize -m xmlto-pdf.xsl --with-fop pdf bad-footnote.xml The full document set is available from URL: https://github.com/petterreinholdtsen/free-culture-lessig , if you want to check it out. When I investigated some more, I concluded that the problem is with the fop processor, not xmlto. The problem exist in both fop versions 1:0.95.dfsg-11 and 1:1.0.dfsg2-6 in Debian. The fo code generated by xmlto include the footnote content as it should, and when I manually process the .fo file using fop, the resulting PDF have the overlapping text. I am attaching the .fo file I used to test this, to allow you to reproduce the problem and try to find a fix. :) Could this be the same problem reported in URL: https://issues.apache.org/bugzilla/show_bug.cgi?id=51304 This issue make fop useless for making the PDF version of the Free Culture book. :( -- 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