[okular] [Bug 405462] wrong display of annotation

Tobias Deiminger bugzilla_noreply at kde.org
Thu Mar 14 12:29:07 GMT 2019


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

Tobias Deiminger <haxtibal at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haxtibal at posteo.de

--- Comment #3 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to Ferdinand Gassauer from comment #2)
> Thanks for the quick answer.
> pdftocairo -pdf y.pdf x.pdf 
> produces a file x.pdf which shows the correct result once opened with okular
> wheras y.pdf shows the wrong result
This is related to https://bugs.kde.org/show_bug.cgi?id=401999.

Okular currently works so that it draws a stamp icon *on top of* a page
rendered by poppler. The icon gets selected by annotation meta data (probably
/Name = Draft, in your case). The approach causes trouble if a PDF contains a
pregenerated appearance for the stamp along with its meta data. The appearance
is drawn by poppler, and the icon is drawn by Okular on top of it.

Albert already suggested a solution which should work here too:
> Actually fixing this pdf "the right way" is not hard,
> we just need https://paste.kde.org/pk6wzgiqs in poppler
> and then a "backendPaintsStamp" or similar in the
> okular core annotation.

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


More information about the Okular-devel mailing list