]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak outline cache stuff
authorPo Lu <luangruo@yahoo.com>
Thu, 30 Mar 2023 05:04:24 +0000 (13:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 30 Mar 2023 05:04:24 +0000 (13:04 +0800)
* src/sfntfont.c: Adjust font cache size constants.

src/sfntfont.c

index 960abe0d270c57267fe5fbc643ffb1f642d00e70..71399b890d2f5637a3ca6691ca0e1da9981fa312 100644 (file)
@@ -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,