[okular] [Bug 410723] Freehand annotation jagged lines with stylus

Oliver Sander bugzilla_noreply at kde.org
Tue Sep 24 12:57:09 BST 2019


https://bugs.kde.org/show_bug.cgi?id=410723

--- Comment #9 from Oliver Sander <oliver.sander at tu-dresden.de> ---
Created attachment 122832
  --> https://bugs.kde.org/attachment.cgi?id=122832&action=edit
Plot of the points of the spiky path

I extracted the points of the problematic path from the pdf document, and
plotted them using gnuplot.  This gets us one step closer to an explanation: As
can be seen from the attached picture, each point is actually a pair of points,
a small distance apart. Together with a MiterJoin line style this explains the
jaggedness of the resulting path.

[Currently I simply assume that MiterJoin line drawing is used, but I didn't
check. For a 'normal' set of points on a path you wouldn't see the difference.]

So the remaining task is to find out where these double points come from. My
system (which is a bleeding edge Okular on Debian Buster) doesn't produce them.
I am tempted to conjecture that the problem is somewhere in the lower layers of
the tablet input stack, and not in Okular itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list