You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Andreas L. Delmelle (JIRA)" <ji...@apache.org> on 2015/05/26 22:27:22 UTC
[jira] [Assigned] (FOP-1488) [PATCH] orphans/widows not respected
in some cases
[ https://issues.apache.org/jira/browse/FOP-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas L. Delmelle reassigned FOP-1488:
----------------------------------------
Assignee: Andreas L. Delmelle
> [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
> Assignee: Andreas L. Delmelle
> 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)