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

Trouble getting the watermark to work #466

Closed
hillelcoren opened this issue Dec 16, 2015 · 1 comment
Closed

Trouble getting the watermark to work #466

hillelcoren opened this issue Dec 16, 2015 · 1 comment

Comments

@hillelcoren
Copy link

When trying to add the watermark property, for example:

var dd = {
    content: [
        'First paragraph',
    ],
    watermark: 'test'
}

I get the following error:

Uncaught Error: Font 'undefined' in style 'normal' is not defined in the font section of the document definition.

This is both in my dev environment and when trying it in the playground.

liborm85 added a commit to liborm85/pdfmake that referenced this issue Jan 23, 2016
aleho70 added a commit to aleho70/pdfmake that referenced this issue Apr 7, 2016
stephg pushed a commit to factisresearch/pdfmake that referenced this issue Jun 22, 2016
@liborm85
Copy link
Collaborator

Fixed by #492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants