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

Trace textformat="yes" changes the appereance of the text #172

Closed
pgundlach opened this issue Jun 4, 2018 · 0 comments
Closed

Trace textformat="yes" changes the appereance of the text #172

pgundlach opened this issue Jun 4, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

@pgundlach pgundlach commented Jun 4, 2018

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

  <Pageformat width="100mm" height="70mm"/>
  <Trace textformat="yes"/>
  
  <DefineTextformat name="keeptogether" break-below="no"/>
  
  <DefineFontfamily name="h1" fontsize="18" leading="20">
    <Regular fontface="sans-bold"/>
  </DefineFontfamily>
  
  <Record element="data">
    <SetVariable variable="mytitle">
      <Paragraph fontface="h1" textformat="keeptogether">
        <Value>A Title</Value>
      </Paragraph>
    </SetVariable>
    <SetVariable variable="mytext">
      <Paragraph>
        <Value select="sd:dummytext()"/>
      </Paragraph>
    </SetVariable>
    
    <Output>
      <Text>
        <Copy-of select="$mytitle"/>
        <Copy-of select="$mytext"/>
      </Text>
    </Output>
  </Record>
</Layout>

renders as

textmitueberschrift

The text should be justified.

@pgundlach pgundlach added the Bug label Jun 4, 2018
@pgundlach pgundlach added this to the Version 3.4 milestone Jun 4, 2018
@pgundlach pgundlach self-assigned this Jun 4, 2018
@pgundlach pgundlach modified the milestones: Version 3.4, Version 3.6 Sep 6, 2018
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