[Fontconfig] Re: Patch: fix for fc-cache with relative path

Mike FABIAN mfabian at suse.de
Thu Jan 12 04:11:30 PST 2006


Mike FABIAN <mfabian at suse.de> さんは書きました:

> No new cache file has been generated:
>
>     mfabian at magellan:/usr/X11R6/lib/X11/fonts/Type1$ ls /var/cache/fontconfig/
>     d6867d8c7d183335b46263581b96fdc1.cache-2  stamp
>     mfabian at magellan:/usr/X11R6/lib/X11/fonts/Type1$ 
>
>>> -a similar problem happen when using : fc-cache /foo/bar and
>>> fc-cache /foo/bar/ : strings used to generate md5sum are not the same,
>>> resulting in different cache.
>>> 
>>> The attached patch fixes the issue.
>>
>> I've committed my patch.
>
> Hmm, that problem seems to persist as well:
> [ ... description how to reproduce ...]

I believe I can fix this with the attached patch:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: normalize-path-in-fc-cache.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060112/c4c16f88/normalize-path-in-fc-cache.bin
-------------- next part --------------

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


More information about the Fontconfig mailing list