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 Stamp not visible #4123

Closed
tiarossi opened this issue Jan 14, 2014 · 4 comments
Closed

Pdf Stamp not visible #4123

tiarossi opened this issue Jan 14, 2014 · 4 comments

Comments

@tiarossi
Copy link

In some situations the stamp attached to the pdf document is not shown by pdfjs as expected.

This happens with the following file: https://drive.google.com/file/d/0B4lYWKfSQThlMGJOUjZKLVl1aWc/edit?usp=sharing

The file is displayed normally by adobe.

image

@timvandermeij
Copy link
Contributor

I can reproduce this using Windows 7 x64, Firefox 26.0 (HWA on) and the latest PDF.js development version. Console output:

Warning: Knockout groups not supported.

Note sure if that's related though. It might also be an unsupported annotation type that is not reported in the console.

@tiarossi
Copy link
Author

tiarossi commented Feb 3, 2014

I have some more information about the issue.
We realized that if the document has attached text, ie. if it was scanned as searchable pdf (image+text), the annotation inserted after that is displayed correctly, but if it is a pure image pdf, then annotation isn't displayed.
We use Windows 7 x64, Chrome 26, 31 and 32

@timvandermeij
Copy link
Contributor

According to http://brendandahl.github.io/pdf.js.utils/browser, the annotation type is /Stamp. This subtype is not supported yet according to https://github.com/mozilla/pdf.js/blob/master/src/shared/annotation.js#L25.

@timvandermeij
Copy link
Contributor

Closing as fixed by #6814.

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

No branches or pull requests

2 participants