[okular] [Bug 413819] highlight annotation not carried over to pdfjs

Tobias Deiminger bugzilla_noreply at kde.org
Fri Nov 8 02:30:28 GMT 2019


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

--- Comment #11 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to ghavamikia from comment #10)
> it opens in mupdf

You're right, I can confirm mupdf shows the highlight when opening your
unmodified attachment 123763. I looked a bit deeper what's going on with object
74 0 (that's the ID of the annotation object "okular note"):

- mutool:
  page 1 annots = [ 74 0 R 78 0 R 80 0 R 81 0 R 82 0 R 87 0 R ]
  mutool show l3project.pdf 74
74 0 obj << /Contents <FEFF006F006B0075006C006100720020006E006F00740065> /Type
/Annot /Subtype /Highlight ... >> endobj

- poppler (via small debug program):
  document->getPage(1)->getAnnotsObject().print();
[74 0 R 78 0 R 80 0 R 81 0 R 82 0 R 87 0 R]
  document->getXRef()->fetch(74, 0).print();
null

- qpdf:
  qpdf --show-object=74 l3project.pdf
null

mutool fetches object 74 0 and returns annotation content.
poppler has the object referenced in annotation array, but can't fetch it,
returns null object.
qpdf also can't fetch it, returns null object.

That's actually interesting and might be something we want to fix or workaround
in poppler. I'll investigate further.

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


More information about the Okular-devel mailing list