Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad text wrapping with widow control enabled #187

Open
pgundlach opened this issue Jul 30, 2018 · 0 comments
Open

Bad text wrapping with widow control enabled #187

pgundlach opened this issue Jul 30, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

<Layout
  xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en"
  version="3.3.9">

  <SetGrid height="12pt" nx="12"/>
  <Trace grid="yes"/>

  <SetVariable variable="ht" select="8"/>
  <Pagetype name="x" test="true()">
    <Margin left="1cm" right="1cm" top="1cm" bottom="1cm"/>
    <PositioningArea name="f">
      <PositioningFrame width="5" height="{$ht}" row="1" column="1"/>
      <PositioningFrame width="5" height="{$ht}" row="1" column="7"/>
    </PositioningArea>
  </Pagetype>
  
  <Record element="data">
    <PlaceObject row="1" column="10">
      <Box width="2" height="5" backgroundcolor="lightgreen"/>
    </PlaceObject>
    <Output area="f" allocate="auto">
      <Text>
        <Paragraph>
          <Value select="sd:dummytext()"/>
        </Paragraph>
      </Text>
    </Output>
  </Record>
</Layout>

gives this result:

widow-text-break

@pgundlach pgundlach added the Bug label Jul 30, 2018
@pgundlach pgundlach added this to the Version 3.4 milestone Jul 30, 2018
@pgundlach pgundlach self-assigned this Jul 30, 2018
@pgundlach pgundlach modified the milestones: Version 3.4, Version 3.6 Sep 6, 2018
@pgundlach pgundlach modified the milestones: Version 3.6, Version 3.8 Feb 12, 2019
@pgundlach pgundlach modified the milestones: Version 3.8, Version 3.10 Dec 20, 2019
@pgundlach pgundlach modified the milestones: Version 3.10, Version 4.2 Oct 3, 2020
@pgundlach pgundlach modified the milestones: Version 4.2, 4.4 Jan 7, 2021
@pgundlach pgundlach modified the milestones: Version 4.4, Later Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant