[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 15 15:27:19 UTC 2021
svtools/source/control/ctrlbox.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit b8b27b7c4baaf7554a28383e0f66eabc6dd03dca
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 15 15:15:50 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 15 17:26:46 2021 +0200
the freetype font cache mentioned in this comment no longer exists
Change-Id: Id9821a37d5b737b67b4ac631e04880b32ebf3a9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118986
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 655eb430db60..33364f5a32fb 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -557,9 +557,7 @@ IMPL_LINK_NOARG(FontNameBox, UpdateHdl, Timer*, void)
CachePreview(mnPreviewProgress++, nullptr);
// tdf#132536 limit to ~25 pre-rendered for now. The font caches look
// b0rked, the massive charmaps are ~never swapped out, and don't count
- // towards the size of a font in the font cache and if the freetype font
- // cache size is set experimentally very low then we crash, so there's an
- // awful lot to consider there.
+ // towards the size of a font in the font cache.
if (mnPreviewProgress < std::min<size_t>(25, mpFontList->size()))
maUpdateIdle.Start();
}
More information about the Libreoffice-commits
mailing list