Arrow and distance annotation don't appear in PDF documents using Java

Arrow and distance annotation don’t appear in PDF documents, we can see the comments but not the annotation. I made the test by the Spring Demo Aplication and by Java Samples.

Git project: GitHub - groupdocs-total/GroupDocs.Total-for-Java: GroupDocs.Total Java Examples
Git branch: main
Git revision: 7222ea0f
Browser: Chrome Version 92.0.4515.159 (Official Build) (64-bit)
SO: Windows 10
Java version: 1.8.0_281
Exemple file: input.pdf (6.3 KB)
input.pdf (6.31 KB)

@john.mcqueide

This issue is under investigation. Please keep track of this GitHub link. However, you’ll be notified here as well in case of any update.

@john.mcqueide We could not reproduce the issue. Please specify the steps to reproduce with more details

@vitaliy.rezchikov

Clone the project, run the AddArrowAnnotation, and AddDistanceAnnotation examples that there are in the Examples folder and you will be to reproduce the issue.

@john.mcqueide thanks, for update we’ll have a look and notify you once have any updates

1 Like

@vitaliy.rezchikov

Were you able to reproduce the issue?

@john.mcqueide we are able to successfully add annotation. After opening file in PDF viewer we could see both annotation and comment.

Here is a code

Here is a results
AddArrowAnnotation.pdf (8.0 KB)
AddDistanceAnnotation.pdf (8.3 KB)

Here is a screenshots how it looks in PDF viewer
Screenshot from 2021-10-28 16-44-33.png (29.4 KB)
Screenshot from 2021-10-28 16-44-14.png (32.4 KB)

@vitaliy.rezchikov

I opened your files on my machine by Google Chrome and I can’t see the annotations.

Screenshot: pdf-arrow-distance-issue.png (48.1 KB)

Browser: Chrome Version 92.0.4515.159 (Official Build) (64-bit)
SO: Windows 10

@john.mcqueide ahh ok, will have a look and notify once we have updates.

*on other PDF viewers it working properly

1 Like