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

Text annotations not rendered #6246

Closed
xlc opened this issue Jul 22, 2015 · 4 comments
Closed

Text annotations not rendered #6246

xlc opened this issue Jul 22, 2015 · 4 comments

Comments

@xlc
Copy link
Contributor

xlc commented Jul 22, 2015

File: https://drive.google.com/open?id=0B6YhVF9p-y2Ad3VsWDRHRkRxY2c

Using latest demo viewer with Chrome, Safari, Firefox on OS X 10.10.4

No text annotations were rendered by PDF.js.

This is how it look like in OS X Preview
screen shot 2015-07-22 at 6 12 40 pm

And OS X Adobe Acrobat Reader DC

screen shot 2015-07-22 at 6 13 43 pm

@Snuffleupagus
Copy link
Collaborator

PDF 110dd61fd57444010b1ab5ff38782f0f [1.4 pdfeTeX-1.21a; modified using iText® 5.5.6 ©2000-2015 iText Group NV (AGPL-version) / TeX] (PDF.js: 1.1.326 [WebGL])

According to http://brendandahl.github.io/pdf.js.utils/browser/, all annotations have Subtype = /FreeText.

@timvandermeij
Copy link
Contributor

/FreeText is not completely implemented yet. https://github.com/mozilla/pdf.js/blob/master/src/core/annotation.js#L285 seems to indicate it is not implemented at all, but I have seen some examples that do render.

@timvandermeij
Copy link
Contributor

This is now tracked in #6810.

@Lalala-YD
Copy link

Has the problem been solved? I ran into the same problem. I used iText5.5 to add annotations to PDF that Google Browser can`t see

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

4 participants