[okular] [Bug 437401] Jagged freehand annotations

David Hurka bugzilla_noreply at kde.org
Sat Jun 5 23:21:31 BST 2021


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

David Hurka <david.hurka at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #7 from David Hurka <david.hurka at mailbox.org> ---
Thanks. I don’t think these screenshots indicate a systematic jitter, but just
the natural jitter of a physical object.

After reading this more carefully:

> - That same annotation, displayed in another PDF viewer, does not
>   look as jagged, but it is more jagged than annotations done
>   with other apps (e.g., Xodo or Adobe Acrobat Reader DC).

I think that Poppler (Okular’s backend) renders the annotation with miter-join
line style, while other renderers use round-join. Round-join can not make
spikes.

>   but it is more jagged than annotations done
>   with other apps (e.g., Xodo or Adobe Acrobat Reader DC).

Other apps maybe ignore points that are very close to each other, which
additionally reduces jitter.

You can test that by slowly drawing a diagonal line with the mouse. My Okular
creates a staircase line instead of one smooth diagonal line, which means that
all points of my mouse movement are included. (One pixel up, one pixel right,
one pixel up, ...)

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


More information about the Okular-devel mailing list