[xep-support] fo:float inconsistently overlays text

David Kelly david.kelly at pragprog.com
Wed May 30 07:43:40 PDT 2012


Hello,

I am using the following form (for example) for floats that are 
scattered throughout a book:

<fo:float clear="both" end-indent="0pt" start-indent="0in" float="inside">
<fo:block-container text-align="outside" font-family="Myriad" 
font-size="110%" padding-right="0.1in" padding-left="0.1in" width="2in">
<fo:block hyphenate="false" margin-right="0.2in" margin-left="0.2in" 
padding-top="3pt" border-bottom="3pt solid silver" border-top="3pt solid 
silver">
<fo:block id="N10F72" space-after="6pt">Users are a terrible 
thing.</fo:block>
</fo:block>
</fo:block-container>
</fo:float>

In almost all cases, this works as expected (see 
book-paper-page-49.pdf). However, on rare occasions the text does not 
clear the float (book-paper-page-51.pdf), resulting in overlaid text.

This problem appears to be dependent on position.  When I attempt to 
abbreviate the FO file, the pagination changes and the problem 
disappears. For that reason I am posting the entire FO file for the book 
in which the problem appears.  If you also need the complete PDF, please 
let me know.  If you would prefer I attach the 1.9Mb FO file instead of 
linking to it, please let me know that as well.

         http://dl.dropbox.com/u/33092204/book-paper.fo

We are using XEP Version 4.19 build 20110304.

I also tried adding <fo:block clear="both> around the float, with no effect.

Is there a way to address this issue?

Thanks,
David













!DSPAM:87,4fc6322e63734267419161!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: book-paper-page-49.pdf
Type: application/pdf
Size: 176398 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20120530/a3f7cd3e/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: book-paper-page-51.pdf
Type: application/pdf
Size: 87625 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20120530/a3f7cd3e/attachment-0003.pdf>


More information about the Xep-support mailing list