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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond