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

PDF from pdfmake not loading #139

Closed
WolfWalter opened this issue Aug 17, 2017 · 2 comments
Closed

PDF from pdfmake not loading #139

WolfWalter opened this issue Aug 17, 2017 · 2 comments
Assignees
Milestone

Comments

@WolfWalter
Copy link

I created pdfs with the pdfmake library. I was able to display them until 1.1.3 but not with the newer versions. I attached an example.pdf. I also tried to load it in the demo page ( https://vadimdez.github.io/ng2-pdf-viewer/ ).

In the console I get an error:

TypeError: Cannot read property 'setAttributeNS' of undefined

I validated the pdf-files at https://www.pdf-online.com/osa/validate.aspx

@JimJafar
Copy link

JimJafar commented Aug 30, 2017

I have the same issue.
Actually one page (the 2nd) of my PDF loads, but the rest do not.
This page contains all the elements (table, text, header, footer) of the other pages, so I can't see what would be breaking it on them but not this one.
I have downgraded to 1.1.3 for now - if you'd like a sample PDF that reproduces this issue let me know.

@VadimDez VadimDez self-assigned this Sep 29, 2017
@VadimDez VadimDez added this to the 2.0.0 milestone Sep 29, 2017
@VadimDez
Copy link
Owner

fixed in 2.0.0

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

3 participants