-
Notifications
You must be signed in to change notification settings - Fork 91
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
Annotation and comment empty text field #113
Comments
I am finding that a simple .comment call which uses the hummus createPDFTextString call is failing. The returned values are always empty. This has got to be a hummus library issue. I logged the following issue there. |
Thanks @shaehn, tried 103 with no luck.. going back until 101 |
@shaehn not working with hummus js v1.0.101 and hummus-recipe v1.8.6 |
FIX: Updated hummus recipe annotations.js with the following: .writeKey('T')
.writeLiteralStringValue(this.writer.createPDFTextString(params.title).toBytesArray()) i changed it to: .writeKey('T')
.writeLiteralStringValue(params.title || '') and it worked. Also the hummus recipe documentation forgot to add annotation.options.text as a possibility. |
Hey @chunyenHuang. Thanks for your efforts. Is this implemented? I am having this same issue with the latest version |
Updated, thanks for the helps guys. |
hey! I just pulled the latest and still having no luck can any else confirm this? Basically its setting all the options and the coords of the annotation but the annotation is empty still. I had a look at the hummus library but have not really seen any issues with this. |
I got rid of all references to the broken hummus.createPDFTextString function and just used the straight text reference
Fix for missing text in annotation #113
Hey all,
I want to annotate or comment some positions. With the code below the annptations are visible in adobe but without the assigned text.
Anyone knows the problem? Thanks in advance!
The text was updated successfully, but these errors were encountered: