[MPlayer-dev-eng] FcDirScan used in ass_fontconfig.c deprecated in new fontconfig

Uoti Urpala uoti.urpala at pp1.inet.fi
Tue Sep 19 10:44:05 CEST 2006


In Debian's current libfontconfig1 the FcDirScan() function is
deprecated and is implemented as "Return FcFalse;" (its documentation
doesn't mention this yet though). The first version where this happens
is probably 2.4.

It seems a cache file is automatically created in ~/.fontconfig/ during
FcConfigAppFontAddDir() now, so explicit cache creation is not needed.
However MPlayer prints the following lines:

[ass] Updating font cache
FcDirScan failed

The first line is actually correct because the FcDirCacheValid()
function still exists and indicates whether there is a valid cache, and
so shows whether the following FcConfigAppFontAddDir will need to update
the cache. However when the cache does need to be updated there is
always that unnecessary error message.




More information about the MPlayer-dev-eng mailing list