Linux freetype context uses custom allocator callbacks to enable memory profiling.