[okular] [Bug 471792] Annotations greatly increase PDF file size and massively slow down Okular

Joe Breuer bugzilla_noreply at kde.org
Sun Jul 2 11:22:08 BST 2023


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

--- Comment #3 from Joe Breuer <kde at jmbreuer.net> ---
(In reply to Sune Vuorela from comment #1)
> Some versions did embed the same fonts multiple times, and your "big"
> document contains ~140 copies of noto fonts

What method/tool do you use to obtain this information?

> It should be fixed in version 23.06 of the poppler library.

Simply upgrading my poppler library to 23.06 still gives me PDFs increasing
significantly in size with each additional annotation, though by far by not as
much as with 23.05.

I've added a corresponding sample:
https://github.com/jmbreuer/heap/tree/main/kde-okular-bug-20230630

In "About Backend", my Okular 22.12.3 now displays "Using Poppler 23.06.0,
Built against Poppler 23.01.0".
Building this version of Okular against Poppler 23.06.0 yields a compile error,
I'll see about trying out a newer Okular version.

> With poppler 23.06, adding annotations should grow the document with
> approximately 600k. With poppler 23.07, it should grow the document with
> approximately 300 k, assuming noto sans (okular default) is used.

Is that to be expected "per each annotation", or once per adding annotations at
all, or per annotation type, ...?

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


More information about the Okular-devel mailing list