[Fontconfig] Re: fix for unaligned accesses

Mike FABIAN mfabian at suse.de
Thu Jan 26 02:58:22 PST 2006


Patrick Lam <plam at MIT.EDU> さんは書きました:

> Hmm, I suspect that this might be too slow on a system with a lot of fonts,
> because it's going to have to scan all of the font directories.  I'm going to
> try to patch FcConfigNormalizeFontDir to do a scan if it actually
> needs to;

How can you find out whether it needs too do the scan?

I think after FcInitLoadConfig () has been called, the list of
directories in "config" should be correct. I.e. the scan is needed
in FcInitLoadConfig ().

> think that should limit the hit in performance to the cases where it actually
> has to do the scan.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。



More information about the Fontconfig mailing list