vcl/source/gdi/impglyphitem.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 782b8454d1776dacf80990168fc42321b399fa35
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Oct 1 16:51:12 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Wed Oct 1 20:03:26 2025 +0200

    revert change accidentally committed
    
    in
      commit 061347f6559e6a763e7a05aa7ae2182440cb2f6c
      Author: Noel Grandin <[email protected]>
      Date:   Wed Oct 1 14:24:33 2025 +0200
      tdf#133976 implement a progress/status update during export
    
    Change-Id: If984180dc62fe0e1ce4af99d5a2c4df49818157f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191742
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/vcl/source/gdi/impglyphitem.cxx b/vcl/source/gdi/impglyphitem.cxx
index 5f2b51ae137e..a8e72bbc30f0 100644
--- a/vcl/source/gdi/impglyphitem.cxx
+++ b/vcl/source/gdi/impglyphitem.cxx
@@ -234,7 +234,9 @@ void SalLayoutGlyphsCache::clear() { mCachedGlyphs.clear(); 
}
 
 SalLayoutGlyphsCache* SalLayoutGlyphsCache::self()
 {
-    static tools::DeleteOnDeinit<SalLayoutGlyphsCache> cache(200000000);
+    static tools::DeleteOnDeinit<SalLayoutGlyphsCache> cache(
+        !comphelper::IsFuzzing() ? 
officecfg::Office::Common::Cache::Font::GlyphsCacheSize::get()
+                                 : 20000000);
     return cache.get();
 }
 

Reply via email to