[Fontconfig] Re: patch: destroy ~/.fonts.cache-2 if it doesn't
start with FC_GLOBAL_MAGIC_COOKIE
or no string can be read at all from that file.
plam at MIT.EDU
Mon Jan 30 23:20:35 PST 2006
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.
More information about the Fontconfig