Bug 501006

Summary: Text markup annotation not properly handled by pdftocairo
Product: [Applications] okular Reporter: Dominik Kummer <admin>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dominik Kummer 2025-03-03 13:59:27 UTC
SUMMARY
I add several annotations to a pdf document. Then I convert the pdf document to svg with cairo. But as soon as a single text highlighting annotation is added, the conversion breaks.

STEPS TO REPRODUCE
1. Choose a single page pdf document with text and add for example a green text highlight annotation.
2. Save the file as test.pdf
3. convert the file to svg with `pdftocairo -origpagesizes -svg 'test.pdf' vector.svg`
4. Confirm the broken usability of vector.svg

OBSERVED RESULT
All annotations (text, polygon, freehand, image, note) are properly handled by pdftocairo, except text highlight break the conversion

EXPECTED RESULT
All basic annotations should work, especially text highlighting.
Comment 1 Albert Astals Cid 2025-03-03 21:51:05 UTC
pdftocairo is not us. File a bug against poppler
Comment 2 Dominik Kummer 2025-03-03 23:48:22 UTC
thanks for clarification and redirection!