[Fontconfig] Re: Structure of cache files

Patrick Lam plam at MIT.EDU
Thu Dec 8 22:04:19 PST 2005


Josselin Mouette wrote:
> Great ! I don't have enough knowledge of the fontconfig internals, but
> it looks simple enough to work. Although, I'd have the same remark as
> Keith about the hash: using a MD5 hash would be much better, as the code
> isn't collision-safe.

I've got a patch here which uses md5 and handles collisions.

> I think you should use ${localstatedir}/cache/fontconfig instead.
> Furthermore, the makefiles should create this directory in DESTDIR in
> the install target. Packagers will either use this directory or create
> it themselves, this isn't a problem.

How do I make ${localstatedir} available to the C source code?

pat


More information about the Fontconfig mailing list