Mike FABIAN wrote:
I believe if FcGlobalCacheLoad () cannot read any string at all from ~/.fonts.cache-2 or if the file does not start with FC_GLOBAL_MAGIC_COOKIE it should exit with "goto bail_and_destroy;" to delete the broken file instead of just "return;".
Sounds good to me. fontconfig now toasts broken cache files. pat _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig