From 956cb8ca65b58f5e885d072c60aebfdf5a95784b Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 30 Mar 2023 13:04:24 +0800 Subject: [PATCH] Tweak outline cache stuff * src/sfntfont.c: Adjust font cache size constants. --- src/sfntfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfntfont.c b/src/sfntfont.c index 960abe0d270..71399b890d2 100644 --- a/src/sfntfont.c +++ b/src/sfntfont.c @@ -1875,8 +1875,8 @@ sfntfont_match (struct frame *f, Lisp_Object font_spec) enum { - SFNT_OUTLINE_CACHE_SIZE = 128, - SFNT_RASTER_CACHE_SIZE = 100, + SFNT_OUTLINE_CACHE_SIZE = 256, + SFNT_RASTER_CACHE_SIZE = 128, }; /* Caching subsystem. Generating outlines from glyphs is expensive, -- 2.39.2