[Fontconfig] commit: drastic fontconfig speedups
Matthias Clasen
mclasen at redhat.com
Mon Nov 28 21:05:23 PST 2005
On Mon, 2005-11-28 at 23:39 -0500, Patrick Lam wrote:
> Matthias Clasen wrote:
> > On Mon, 2005-11-28 at 23:19 -0500, Patrick Lam wrote:
> >
> >>Matthias Clasen wrote:
> >>
> >>
> >>>Hmm, I might be missing something, but after updating today, my fc-list
> >>>does not list any fonts anymore. Maybe the optimization was a bit too
> >>>drastic...
> >>
> >>Yeah, there was a problem with the first patch. It's fixed now though.
> >
> >
> > If you are referring to
> >
> > 2005-11-28 Patrick Lam <plam at mit.edu>
> > * src/fcint.h:
> > * src/fcpat.c (FcPatternFindFullFname):
> > * src/fccfg.c (FcConfigBuildFonts):
> >
> > Fix problem dating back at least to 2.3.2 where globs weren't
> > being applied to patterns loaded from a cache.
> >
> >
> > my cvs snapshot has that change, and the following one, and still
> > doesn't list any of the fonts which the snapshot from 20051119 found...
>
> Hmm, no, 2005-11-28 'Don't kill all fonts during match (oops!)' should
> have fixed that. fc-list still lists fonts for me. But was it perhaps
> the change in globs? There's still something wrong with that which I'm
> going to investigate this evening.
The globs change clearly has a big effect. The results of
fc-list | wc -l on my system are as follows:
cvs20051119: 143
before globs change: 148
current cvs: 0
Matthias
More information about the Fontconfig
mailing list