From 08a91fd0c678d925c6e9d78c3a1f01b35be235d6 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 19 Sep 2000 02:08:09 +0000 Subject: [PATCH] final touches. Cache seems working after all, though the default cache size of 300 Kb is certainly too high for now :-) Need to implement abstract chunk cache and bitmap chunck cache --- builds/unix/unixddef.mk | 7 ++++++- include/freetype/cache/ftcmanag.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/builds/unix/unixddef.mk b/builds/unix/unixddef.mk index 994444f80..f86f8d950 100644 --- a/builds/unix/unixddef.mk +++ b/builds/unix/unixddef.mk @@ -25,8 +25,13 @@ PLATFORM := unixdev # do not set it to 'unix', or libtool will trick you # The directory where all object files are placed. # -OBJ_DIR := obj +ifndef OBJ_DIR + OBJ_DIR := $(shell cd $(TOP)/obj; pwd) +endif +# library file name +# +LIBRARY := lib$(PROJECT) # The directory where all library files are placed. # diff --git a/include/freetype/cache/ftcmanag.h b/include/freetype/cache/ftcmanag.h index 2992998f6..10678d516 100644 --- a/include/freetype/cache/ftcmanag.h +++ b/include/freetype/cache/ftcmanag.h @@ -71,7 +71,7 @@ /* default values */ #define FTC_MAX_FACES_DEFAULT 4 #define FTC_MAX_SIZES_DEFAULT 8 -#define FTC_MAX_BYTES_DEFAULT 65536 /* 64 Kb by default */ +#define FTC_MAX_BYTES_DEFAULT 300000 /* 300 Kb by default !! */ /* maximum number of caches registered in a single manager */ #define FTC_MAX_CACHES 16