mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[config] Add HB_MINIMIZE_MEMORY_USAGE
Part of https://github.com/harfbuzz/harfbuzz/issues/4220
This commit is contained in:
1 parent
bbf4cfa393
commit
da175c6935
1 file changed
+10
-4
+10
-4
@@ -44,6 +44,7 @@
|
||||
#ifdef HB_TINY
|
||||
#define HB_LEAN
|
||||
#define HB_MINI
|
||||
#define HB_MINIMIZE_MEMORY_USAGE
|
||||
#define HB_NO_MT
|
||||
#define HB_NO_UCD_UNASSIGNED
|
||||
#ifndef NDEBUG
|
||||
@@ -183,16 +184,21 @@
|
||||
#define HB_NO_OT_SHAPER_MYANMAR_ZAWGYI
|
||||
#endif
|
||||
|
||||
#ifdef HB_MINIMIZE_MEMORY_USAGE
|
||||
#define HB_NO_GDEF_CACHE
|
||||
#define HB_NO_OT_LAYOUT_LOOKUP_CACHE
|
||||
#endif
|
||||
|
||||
#ifdef HB_OPTIMIZE_SIZE
|
||||
#define HB_OPTIMIZE_SIZE_VAL 1
|
||||
#else
|
||||
#define HB_OPTIMIZE_SIZE_VAL 0
|
||||
#endif
|
||||
|
||||
#ifdef HB_OPTIMIZE_SIZE
|
||||
#define HB_NO_OT_LAYOUT_LOOKUP_CACHE
|
||||
#define HB_NO_GDEF_CACHE
|
||||
#ifdef HB_MINIMIZE_MEMORY_USAGE
|
||||
#define HB_MINIMIZE_MEMORY_USAGE_VAL 1
|
||||
#else
|
||||
#define HB_MINIMIZE_MEMORY_USAGE_VAL 0
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* HB_CONFIG_HH */
|
||||
Reference in new issue
Block a user