diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-06-11 13:10:36 -0400 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-06-12 23:02:26 +0200 |
commit | 195ed184dd1552816bdebfe9c54fb6408bf91cc1 (patch) | |
tree | c5f8767b7460b810971d8cda23495090d8952a23 /autodoc/inc/autodoc/dsp_html_std.hxx | |
parent | d28a000130e5739af90e771d46faa630823add29 (diff) |
If the system font is not cached in SalData, loading embedded
fonts will be extremely slow and will trigger each frame and each
of its internal subframes to reload the system font list when
loading documents with embedded fonts.
So instead, reenable caching of the system font list in SalData
by reverting commit 3b6e9582ce43242a2304047561116bb26808408b.
Then, to prevent tdf#72456 from reoccurring, clear the cached
system font list after a font has been loaded or unloaded.
This should cause the first frame's request to reload the cached
system font list and all subsequent frames will avoid doing
duplicate font reloads.
Change-Id: If2a36f8c17d8e25f818275f30a19af8517478884
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168734
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'autodoc/inc/autodoc/dsp_html_std.hxx')
0 files changed, 0 insertions, 0 deletions