[Libreoffice-bugs] [Bug 114192] New: Please cache results psp::PrintFontManager:: analyzeFontFile font scan at startup

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 1 06:38:21 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114192

            Bug ID: 114192
           Summary: Please cache results
                    psp::PrintFontManager::analyzeFontFile font scan at
                    startup
           Product: LibreOffice
           Version: 5.4.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: anthony at derobert.net

At least on my system, every time I start LibreOffice, the startup time is
mostly with the progress bar sitting in the middle & the disk pegged. Checking
with strace & gdb, it appears that psp::PrintFontManager::analyzeFontFile is
open/mmap/close'ing every font on the system (and read'ing a bunch too).

I had a pspfontcache file in my profile; just to confirm it wasn't corrupt, I
deleted it. Even after a few restarts of LibreOffice, it hasn't been
regenerated. I went ahead and deleted the entire psprint directory; that was
recreated, but is now empty. I have no files name "pspfontcache" anywhere in
$HOME.

PS: Not sure why this exists at all — shouldn't all this info be available from
fontconfig? But that's surely a different bug, if a bug at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171201/ffb37fdd/attachment.html>


More information about the Libreoffice-bugs mailing list