On Thu, 23 Mar 2006 10:31:25 +0100, "Han-Wen Nienhuys"
<address@hidden> said:
dave k wrote:
2.8.0 on Windows XP SP2
Running Lilypond always hangs before it starts compiling, every
single time. I ran --verbose and this is where it stalls:
Initializing FontConfig...
Rebuilding FontConfig cache C:\Documents and Settings\do/.fonts.cache-1.
this may take a while...
adding font directory:
C:/Programs/LilyPond/usr/share/lilypond//current/fonts/otf/
adding font directory:
C:/Programs/LilyPond/usr/share/lilypond//current/fonts/type1/
Building font database.
It does this every single time. When I check C:\Documents and
Settings\user\, I have a blank .fonts.cache-1 file. When I delete it and run
Lilypond it comes back, but it is always a blank file. And Lilypond always
takes 30 seconds creating this file before compiling.
This is very very annoying.
Yes, there is a problem with per-user fontconfig caches on windows. We
decided not to fix it, since for a small font directory, it doesn't have
a big impact.
Here is a workaround:
- run the following in the CMD command shell
cd C:\WINDOWS
attrib -S -R FONTS
cd FONTS
"C:\Program files\LilyPond\usr\bin\fc-cache.exe" .
cd ..
attrib +S +R FONTS
this procedure should leave a 200k fonts.cache-1 file in the Fonts
subdirectory.