Open ziptie opened 6 years ago
Confirmed with the attached file in Atril from git master.
I had a similar warning from poppler:
** (atril:11819): WARNING **: #####: Unimplemented annotation: POPPLER_ANNOT_FREE_TEXT, please post a bug report on Atril bug tracker (https://github.com/mate-desktop/atril/issues) with a testcase.
I can not provide the file as a testcase, however I hope this might be useful anyway.
Thanks for this awesome PDF reader and happy coding!
I found a way to create a pdf file that reproduces this issue using free software. Here's how:
Open a pdf file in okular
Click the "tools" menu then "Review" (unless it's already checked)
This displays a menu of tools you can use to add annotations
click the 2nd ("Inline Note") tool then click on the document. Type some text and click the "OK" button.
click the Elipse tool and drag a rectangle on the document.
click in the menu File -> Save As... to save your annotated pdf
Open the annotated pdf in atril from a terminal.
Results: it renders correctly, but outputs these warnings in the terminal:
Unimplemented annotation: POPPLER_ANNOT_FREE_TEXT, please post a bug report on Atril bug tracker (https://github.com/mate-desktop/atril/issues) with a testcase.
Unimplemented annotation: POPPLER_ANNOT_CIRCLE, please post a bug report on Atril bug tracker (https://github.com/mate-desktop/atril/issues) with a testcase.
I didn't try the other annotation tools, but they might produce similar warnings.
Here's another PDF that exhibits the warning:
** (evince:65680): WARNING **: 22:26:10.773: Unimplemented annotation: POPPLER_ANNOT_FREE_TEXT. It is a known issue and it might be implemented in the future.
Expected behaviour
I haven't noticed any deviations between expected and actual behaviour.
Actual behaviour
The PDF renders as expected, however Atril outputs a warning: (atril:20987): WARNING : Unimplemented annotation: POPPLER_ANNOT_HIGHLIGHT, please post a bug report on Atril bug tracker (https://github.com/mate-desktop/atril/issues) with a testcase.
Note that on the original document I was using, the number atril complained about was different: ** (atril:17182): However, the message was the same.
Steps to reproduce the behaviour
Create a PDF, I used latexpdf. Kindly ask your colleague who has some mac annotation software (perhaps it was Adobe) to add an annotation to it. Open it with atril from terminal (so you can see the output).
I will try to attach a sample pdf that exhibits this behaviour on my machine.
MATE general version
From "About MATE" on the menu, it says: MATE Desktop Environment 1.16.2
Package version
$ atril --version MATE Document Viewer 1.16.1
Linux Distribution
The operating system is RHEL 7.4. The package repository, however, is EPEL7
link to downstream report of your Distribution
N/A