[Fontconfig] Re: fix for unaligned accesses

Patrick Lam plam at MIT.EDU
Fri Jan 20 10:16:42 PST 2006


Mike FABIAN wrote:
> Patrick Lam <plam at MIT.EDU> さんは書きました:
> 
> 
>>Mike FABIAN wrote:
>>
>>>Patch by Andreas Schwab <schwab at suse.de>.
>>>
>>>See also:
>>>
>>>http://bugzilla.novell.com/show_bug.cgi?id=142215
>>
>>Looks good, I've committed it.
>>
>>Are there any of the /var/cache/fontconfig bugs still outstanding?  I'll
>>try to take a look at any leftover ones there sooner or later, if folks
>>let me know what's up...
> 
> 
> I think there are still problems with the normalizing of the font
> directory names.
> 
> I posted a patch to this list recently to fix the problem that
> 
>     fc-cache /usr/share/fonts
>     fc-cache /usr/share/fonts/
>     cd /usr/share/fonts; fc-cache .
> 
> generate different cache files, but this patch had the problem that
> it neede to call FcInitLoadConfigAndFonts () instead of
> FcInitLoadConfig () to be able to use FcConfigNormalizeFontDir().
> 
> But this has the severe disadvantage that  FcInitLoadConfigAndFonts ()
> is very expensive, therefore this is not a good solution.

I don't think that's true: I think that we *can* call
FcConfigNormalizeFontDir if we make sure to call things in the proper
order.  I haven't had time recently to investigate this in detail, but
hopefully next week.

pat


More information about the Fontconfig mailing list