From d27c504261e18a97aa313c22af262927275d261a Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 22 Jun 2022 15:06:03 +0200 Subject: [PATCH] menu_view: increase local font cache to 1 MiB This allows the use of font sizes up to 50 px without constant cache misses. --- repos/gems/src/app/menu_view/style_database.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/menu_view/style_database.h b/repos/gems/src/app/menu_view/style_database.h index 08a527e170..640d2d3165 100644 --- a/repos/gems/src/app/menu_view/style_database.h +++ b/repos/gems/src/app/menu_view/style_database.h @@ -126,7 +126,7 @@ class Menu_view::Style_database Style_database const &_style_database; - Cached_font::Limit _font_cache_limit { 256*1024 }; + Cached_font::Limit _font_cache_limit { 1024*1024 }; Vfs_font _vfs_font; Cached_font _cached_font;