Skip to content

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

@pgundlach

Description

@pgundlach
<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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions