[okular] [Bug 470174] 40 Characters Annotation consuming 20MB

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Jun 24 19:59:13 BST 2023


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

--- Comment #6 from der.wolfgang.amadeus.mozart at gmx.at ---
(In reply to Sune Vuorela from comment #5)
> (In reply to der.wolfgang.amadeus.mozart from comment #4)
> > Comment on attachment 159566 [details]
> > Annotated File from March 2023 with "normal" storage consumption
> > 
> > I found a file with a relatively big number of annotations created with
> > okular (i don't know the version) in march. The storage consumption is
> > "normal" - a few KB. I attached the file, I hope it is helpful.
> 
> This is kind of interesting. The main reason the files grows are embdednig
> fonts.  In the "normal" storage consumption, font embedding fails and it
> just adds "Invalid_font" instead of the requested font.
> 
> In your "grows to 2mb", the font is wrongly embedded twice and not at all
> optimized for storage. 
> 
> With only one copy of noto font (The Okular default), not optimized for
> storage, approximately 900 kb is the expected growth.
> 
> With poppler 23.06, adding a annotation is expected to grow the document
> with 5-700 kbytes, and when my upcoming changes hopefully lands in poppler
> 23.07, annotations are expected to grow the document with 250-300 kbytes.

I've tried some annotations - it seems to work now. As yous say the consumption
is now about 250-300 kbytes.

Thanks a lot for your work and the support - I love Okular, Plasma and use a
lot of the KDE Apps.

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


More information about the Okular-devel mailing list