bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond speed - ridiculously slow on windows xp


From: Sven Axelsson
Subject: Re: lilypond speed - ridiculously slow on windows xp
Date: Tue, 22 Nov 2005 12:41:33 +0100

On 21/11/05, Sven Axelsson <address@hidden> wrote:
> On 21/11/05, Han-Wen Nienhuys <address@hidden> wrote:
> > Sven Axelsson wrote:
> > > On 21/11/05, Han-Wen Nienhuys <address@hidden> wrote:
> > >
> > >>I believe that this is related to a FontConfig problem. You can verify
> > >>this, by running the console version from cmd.exe and invoking it as
> > >>
> > >>   lilypond --verbose bla.ly
> > >
> > > Yes indeed. Lilypond sits at Initializing FontConfig... for at least
> > > 30 seconds on each run. In my case it may be because I fiddled with
> > > the system fonts a while ago, trying out (and uninstalling) Suitcase -
> > > a font handling program. So, how do we get the font information back
> > > in synch?
> > >
> >
> > It's understandable that reading things takes time. The strange thing is
> > that this should all be cached, so second runs are much quicker. Can you
> > check whether the font directory are changed (files (dis)appearing,
> > timestamps that change?) regularly?
> >
> > Also, there should be a font.cache-1 file, which caches the results. I'm
> > not sure where it is put on Windows, though.
>
> Hmm, I can't find  anything called font.cache-1 or even font.cache*
> anywhere on my computer. Perhaps this file is not created on Windows
> anymore? Lilypond has been slow since 2.7.12 I think. I may try
> installing an older version and see if the speed comes back.

Well, duh. The file is called .font.cache-1 and is stored in the root
of the current user profile (usually c:\Documents and
Settings\Username). The one I have hasn't been modified since August,
and removing it does not cause Lilypond to recreate the file. I've
tried with (almost) all versions back to 2.7.6 and they all seem to
ignore the font cache file.

--
Sven Axelsson




reply via email to

[Prev in Thread] Current Thread [Next in Thread]