Evince and other Poppler apps have trouble loading POPPLER_ANNOT_POLY_LINE from Onyx Boox annotations
This is a bug that was originally submitted against Evince but that, after further inspection, affects other Poppler-related PDF readers.
The following PDF:
Was created from the following:
to which was added the following text, in the appropriate tool, on a Onyx Boox Note Pro ebook reader:
light pen (2)
thick pen (10)
really thick pen (20)
pencil (light, thick, really)
line: [drawing of a line using the line tool]
square: [drawing of a square]
circle: [drawing of a circle]
triangle: [drawing of a triangle]
colors: [black scribbled square] black
[ ] red
[ ] green
[ ] blue
[ ] white <---- white
- The
pen
lines are drawn with the "pen" tool (or "brush"?) with varying intensity. The "really thick" is picked by manually selecting weight "20" that is not available by just choosing the presets. - The
pencil
lines, and all remaining text, are drawn with the "pencil" tool (the one right of the "pen"), with varying intensity, similarly to the pen tool - The line, square, circle and triangles have samples of those geometric shapes that can be created with the scribbling app
- the colors are all drawn with the pencil as well, and presumably affect other tools similarly.
This should give us a good basis covering almost all combinations. I think the only ones not covered are the colored pen and drawing tools, but i'd be suprised if they don't work right if they're black relatives do.
This is how it should render:
This is how it actually renders:
Ie. the "brush" strokes do not render correctly. In Evince, we get the error:
** (evince:15296): WARNING **: 12:33:56.566: Unimplemented annotation: POPPLER_ANNOT_POLY_LINE, please post a bug report in Evince issue tracker (https://gitlab.gnome.org/GNOME/evince/issues) with a testcase.