Andreas, you should still have commit rights, and you are welcome to commit the patches.

On 5/2/15 10:56 PM, Andreas L. Delmelle (JIRA) wrote:
      [ 
https://issues.apache.org/jira/browse/FOP-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas L. Delmelle updated FOP-1488:
-------------------------------------
     Attachment:     (was: FOP-1488-code.patch)

[PATCH] orphans/widows not respected in some cases
--------------------------------------------------

                 Key: FOP-1488
                 URL: https://issues.apache.org/jira/browse/FOP-1488
             Project: Fop
          Issue Type: Bug
          Components: unqualified
    Affects Versions: trunk
         Environment: Operating System: All
Platform: All
            Reporter: Andrew McFarland
         Attachments: FOP-1488-code.patch, FOP-1488-test.patch, b44328.patch, 
b44328.patch, b44328.patch, b44328.patch, b44328.patch, b44328.patch, 
b44328.patch, b44328_test.patch, block_orphans_widows.fo, 
block_orphans_widows.fo, block_orphans_widows.fo, block_orphans_widows.fo, 
block_orphans_widows.fo, widow.fo


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>


--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to