[Fontconfig] Include directories once only
plam at MIT.EDU
Wed Nov 30 09:33:12 PST 2005
Behdad Esfahbod wrote:
> There's a but report for Pango here:
> that while being a user problem, can be fixed by fontconfig doing
> 1) Not to include a config file more than once,
> 2) Not to scan a directory more than once.
> Is it possible/easy to do that?
Please send me a patch to FcConfigAddFontDir and FcConfigAddConfigFile
in fccfg.c that ensure that no font dir or config file is added more
than once. Keeping them in sorted order is one way to do that, a hash
table is another way.
More information about the Fontconfig