bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond stalls on windows every time


From: Mats Bengtsson
Subject: Re: lilypond stalls on windows every time
Date: Thu, 23 Mar 2006 13:59:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Sorry for the wasted bandwidth. I just realized that I hadn't seen the
dot in your command line. Running
fc-cache.exe .
does indeed produce a fonts.cache-1 file of considerable size.

Also, I realized that I had been hit by the old problem that some
mingw commands don't print any output since the buffer isn't flushed.
To see better what happens, you can use something like:

C:\WINDOWS\Fonts>fc-cache.exe --verbose . > log

C:\WINDOWS\Fonts>more log
fc-cache.exe: ".": caching, 823 fonts, 0 dirs
fc-cache.exe: succeeded


However, when I run LilyPond --verbose ... , it still spends quite some time
at
...
Initializing FontConfig...
Rebuilding FontConfig cache C:\Documents and Settings\mats/.fonts.cache-1. this
may take a while...
adding font directory: C:/Program Files/LilyPond/usr/share/lilypond//current/fonts/otf/ adding font directory: C:/Program Files/LilyPond/usr/share/lilypond//current/fonts/type1/Building font database.
...

and the file C:\Documents and Settings\mats/.fonts.cache-1
is still empty, but that's maybe normal? It seems that the time spent
on producing the cache file in C:\WINDOWS\Fonts\ was negligible,
I cannot notice any difference in the time it takes to run LilyPond.

  /Mats

Mats Bengtsson wrote:

I just tried it and it seems that fc-cache.exe doesn't seem to do anything when
I call it will full path. The command prompt returns directly and no
file is produced. Since the lilypond binaries are in %PATH%, I also
tried calling fc-cache.exe without the full path. Then it at least did
something, but after a while it complained about not being able to find
Files\LilyPond\usr\share\guile\8.50, so there is some problem with
spaces in the search path.

   /Mats

Han-Wen Nienhuys wrote:

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.



--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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