From 483c76d1b2433bc34f67406a10bf409fb2daafe1 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Fri, 19 Oct 2007 00:16:03 +0000 Subject: Increased text chunk cache size to improve performance when a lot of text is on the screen. --- ChangeLog | 5 +++++ src/gui/truetypefont.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 79ce3ed6..f15fdff4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-19 Philipp Sehmisch + + * src/gui/truetypefont.cpp: Increased text chunk cache size to improve + performance when a lot of text is on the screen. + 2007-10-18 Guillaume Melquiond * src/beingmanager.h, src/beingmanager.cpp, src/net/beinghandler.cpp: diff --git a/src/gui/truetypefont.cpp b/src/gui/truetypefont.cpp index bba268c7..4f17b135 100644 --- a/src/gui/truetypefont.cpp +++ b/src/gui/truetypefont.cpp @@ -30,7 +30,7 @@ #include "../graphics.h" #include "../resources/image.h" -#define CACHE_SIZE 30 +#define CACHE_SIZE 256 class TextChunk { -- cgit v1.2.3-70-g09d2