--- a/src/font.c Sun Nov 30 16:52:33 2025 +0100 +++ b/src/font.c Wed Dec 31 17:50:20 2025 +0100 @@ -66,10 +66,10 @@ void asc_font_cache_init(void) { assert(asc_font_cache == NULL); - asc_font_cache = cxArrayListCreateSimple( - sizeof(struct asc_font_cache_entry), 16 + asc_font_cache = cxArrayListCreate( + NULL, sizeof(struct asc_font_cache_entry), 16 ); - cxDefineDestructor(asc_font_cache, asc_font_unload); + cxSetDestructor(asc_font_cache, asc_font_unload); } void asc_font_cache_destroy(void) {