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

Font fails to render properly #283

Closed
pgundlach opened this issue Dec 7, 2020 · 1 comment
Closed

Font fails to render properly #283

pgundlach opened this issue Dec 7, 2020 · 1 comment
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 4.1.20

  <Trace grid="yes"/>

  <LoadFontfile name="InterRegular" filename="InterRegular.otf" />
  <DefineFontfamily name="inter" fontsize="12" leading="70">
    <Regular fontface="InterRegular"/>
  </DefineFontfamily>

  <Record element="data">
    <PlaceObject>
      <Textblock>
        <Paragraph>
          <Fontface fontfamily="inter">
            <Value>This is a test</Value>
          </Fontface>
        </Paragraph>
      </Textblock>
    </PlaceObject>
  </Record>
</Layout>

yields

image

@pgundlach pgundlach added the Bug label Dec 7, 2020
@pgundlach pgundlach added this to the Version 4.2 milestone Dec 7, 2020
@pgundlach pgundlach self-assigned this Dec 7, 2020
@pgundlach
Copy link
Member Author

A sample pdf

publisher-q.pdf

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