Skip to content

Table/fontface is ignored when table has a subtable #129

Description

@pgundlach

Version 2.9.8

<Layout
  xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en">
  <Pageformat width="80mm" height="80mm" />

  <LoadFontfile name="Myriad" filename="MyriadPro-Regular.otf" />
  <LoadFontfile name="Minion" filename="MinionPro-Regular.otf" />
  
  <DefineFontfamily name="sans" fontsize="10" leading="12">
    <Regular fontface="Myriad"/>
  </DefineFontfamily>
  <DefineFontfamily name="text" fontsize="10" leading="12">
    <Regular fontface="Minion"/>
  </DefineFontfamily>

  <Record element="data">
    <PlaceObject>
      <Table stretch="no" fontface="sans">
        <Tr>
          <Td>
            <Paragraph>
              <Value>AAAAAA</Value>
            </Paragraph>
          </Td>
          <Td>
            <Table width="5">
              <Tr>
                <Td>
                  <Paragraph>
                    <Value>BBBB</Value>
                  </Paragraph>
                </Td>
              </Tr>
            </Table>
          </Td>
        </Tr>
      </Table>
    </PlaceObject>
    
  </Record>
</Layout>

The table is typeseti in Minion, but it should be typeset in Myriad (= sans)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions