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: Han-Wen Nienhuys
Subject: Re: lilypond speed - ridiculously slow on windows xp
Date: Thu, 24 Nov 2005 19:24:06 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

address@hidden wrote:
Odd. There were such files (most of them empty) in various installation
directories. I removed them all, and ran Lily in two different ways,
there seems to be no font cache file created :-(

Performance is not significantly different from what I'm used to, but
typically, it does *not* spend 30' doing nothing before starting to parse.

Isn't this odd ?

I was just wiping a Windows installation (for a computer to be sold), and it had a C:\Documents and settings\hanwen\.fonts.cache-1 file, which I got after installing and running LilyPond.

Browsing the fontconfig sources, it seems the following happens:

- the cache file is put in the $HOME directory. If not defined $USERPROFILE is used on windows32.

- if that fails, it is put the directory indicated by GetTempDir() windows32 API call. GetTempDir can return any directory, including non-existent ones (It looks at $TMP and $TEMP among others). See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/gettemppath.asp

Can you people check what happens if you define the USERPROFILE variable?

In Cygwin, this means

  export USERPROFILE='/cygdrive/c/windows'
  lilypond  ....

this should leave a .fonts.cache-1 in your windows directory. I'm not sure how you set environment variables in the normal windows shell.

Jan, do you know where the USERPROFILE variable should come from?

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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