[okular] [Bug 470128] Saving document with resized text creates huge memory footprint

Sune Vuorela bugzilla_noreply at kde.org
Wed Jun 14 10:51:53 BST 2023


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

--- Comment #4 from Sune Vuorela <kde at pusling.com> ---
(In reply to dorla.hutch from comment #3)
> (In reply to dorla.hutch from comment #2)
> > From initially 23KiB, it went to 20MiB (at least
> > not 100MiB) …
> 
> After adding the comment box before scaling, it's already 918KiB to be
> honest but after scaling, it becomes 20MiB.

adding ~900kb is kind of expected unless you use poppler (the pdf library
underneath okular) from the newest version (released a couple of weeks ago,
maybe with some of my patches on top), given that noto sans regular is the
default font and it will be embeedded.

But for some reason, though I didn't manage to succeed myself, your file also
contains a 20mb noto sans CJK HK file, so unless you explicitly have specified
it, I'm a bit puzzled. (CJK contains Chinese, Japanese, Korean and maybe other
east asian glyphs)

What are your exact steps to resize the text ?

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


More information about the Okular-devel mailing list