Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
2.5
-
None
-
None
-
Operating System: All
Platform: All
-
44328
Description
When I process the following fo, I get a PDF with a one-line widow at the start
of the second page, even though widows for that fo:block is set to 4.
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4">
<fo:region-body />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block>Paragraph</fo:block>
<fo:block widows="4" linefeed-treatment="preserve" >line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
line
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>