Hello. I would like to add polyline annotations to evince in order to scribble in documents with my pen tablet. I find that adding handwritten notes to pdf documents enhances my comprehension when reading professional text.
My plan of action is as follows:
- Add a new subtype
- Add a new new annotation type button for adding polyline annotation. Meanwhile I will call the button Ink. Currently it is a “one shot button”, though it doesn’t make sense for ink annotations, as you don’t want to exit ink mode when you lift the stylus the first time!
- When in ink annotation mode, catch the mouse motion and add it to the annotation.
There are still open questions, e.g. how do you erase and undo?
One option would be to rewrite the annotation button row to make it into a rich toolbar with multiple tools, e.g. lines, circles, ellipses, undo button, set color, set underline type, etc. But that is certainly outside the scope of this project.
Is there any interest in this? Or is this outside the scope of evince? I’m aware of the xournal++ project which is doing something similar, but it is using its own file format instead of annotating pdf.