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

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

Closed
pgundlach opened this issue Apr 28, 2017 · 0 comments
Closed

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

pgundlach opened this issue Apr 28, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

@pgundlach pgundlach commented Apr 28, 2017

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)

@pgundlach pgundlach added the Bug label Apr 28, 2017
@pgundlach pgundlach added this to the Version 3.0 milestone Apr 28, 2017
@pgundlach pgundlach self-assigned this Apr 28, 2017
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