[Fontconfig] Include directories once only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Behdad Esfahbod wrote:
> Hi,
> 
> There's a but report for Pango here:
> 
>   http://bugzilla.gnome.org/show_bug.cgi?id=89946
> 
> that while being a user problem, can be fixed by fontconfig doing
> these:
> 
>   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.

pat

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux