SUMMARY Freehand line annotations in okular (created with a drawing tablet - wacom and others) appear rather ugly until you finish writing. Showing the bug on YouTube (vs xournal): https://youtu.be/ON_BP1YkJTU STEPS TO REPRODUCE 1. Open a .pdf file with okular 2. Start the freehand line annotation 3. Write something OBSERVED RESULT Writing is rendered ok only after you finish writing. EXPECTED RESULT It should look good as you write SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.14 (available in About System) KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.52.0 Qt Version: 5.11.2 ADDITIONAL INFORMATION Video: https://youtu.be/ON_BP1YkJTU
With my okular, the width is correct while drawing. It's just not antialiased, and it flashes once when the line is finished. Okular Version: 1.5.2 Operating System: KDE neon 5.13 KDE Plasma Version: 5.14.0 Qt Version: 5.11.1 KDE Frameworks Version: 5.50.0
The reason for the bug is the following: While you draw, Okular draws the annotation, and it does so badly. Once you are done, your annotation is redrawn using poppler. The width difference is probably an HiDPI issue. Related issues: https://bugs.kde.org/show_bug.cgi?id=370217 https://bugs.kde.org/show_bug.cgi?id=384143 https://gitlab.freedesktop.org/poppler/poppler/merge_requests/77
@Oliver So this is a bug that can't be changed easily? My monitor is 1920x1080 24 inch display. Not really HiDPI is it?
It's not something that I know how to fix offhand. Somebody with more time and skills than me may still find it easy -- I don't know.
Created attachment 120077 [details] ugly handwriting annotations
Created attachment 120078 [details] ugly handwriting annotations
Created attachment 120079 [details] ugly handwriting annotations
My problem is similar to the one reported earlier. The annotations handwritten with help of wacom look ugly. The lines written using the touchpad are smooth. The problem does not occur in xurnal.
Duplicate of 410723?
(In reply to Postix from comment #9) > Duplicate of 410723? It seems to me that 410723 is the duplicate ;p. But yes, I suppose it is the same issue. However my reporting never saw any attention, and almost a year later 410723 was created. Maybe my title & explanation was bad? Well, it's getting some attention now!