[EMAIL PROTECTED] 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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to