lilypond-user
[Top][All Lists]
Advanced

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

Re: mac web fontconfig slowdown


From: Jacques Menu
Subject: Re: mac web fontconfig slowdown
Date: Thu, 4 Feb 2016 07:02:59 +0100

Hello Jim,

Do you observe the same 30 seconds delay say the first time you launch Lilypond 
in a day, even without using fontconfig? And if so, are the subsequent launches 
much faster?

JM

> Le 4 févr. 2016 à 01:06, Jim Tisdall <address@hidden> a écrit :
> 
> on mac os x 10.11.2, lilypond 2.18.2, plenty nice mac pro plenty ram
> 
> 
> Serious slowdown due to font configuration - 30 seconds delay
> while "FontConfig" is called - happens when you do a
> lilypond -V   for instance.
> 
> Fixed from command line using /opt/local/bin/fc-cache
> for each user (root, me, ...) which creates files
> .lilypond-fonts.cache-2 in home directories
> 
> But I still have delay problem running lilypond from a web program -
> I use user:group _www:_www which works fine for everything but this.
> 30 second delay.  (No home directory for _www due to security)
> 
> Admittedly I'm not expert at font management.  Any way to have every
> user of lilypond on my system use a good font cache?
> 
> Here's parts of my detailed DEBUG output from web invocation:
> 
> Log level set to 287
> Relocation: is absolute:
> argv0=/Applications/LilyPondDevel.app/Contents/Resources/bin/lilypond
> 
> etc etc
> 
> Setting FONTCONFIG_FILE to
> /Applications/LilyPondDevel.app/Contents/Resources/bin/../etc/fonts/fonts.conf
> Setting FONTCONFIG_PATH to
> /Applications/LilyPondDevel.app/Contents/Resources/bin/../etc/fonts
> 
> 
> etc. etc.
> 
> Initializing FontConfig...
> Adding font directory:
> /Applications/LilyPondDevel.app/Contents/Resources/share/lilypond/current/fonts/otf
> Building font database...
> 
> 
> .... here's where it hangs for about 30 seconds ....
> 
> etc. etc.
> 
> Interpreting music...
> [/Applications/LilyPondDevel.app/Contents/Resources/share/lilypond/current/fonts/otf/emmentaler-20.otf]
> [emmentaler-11_3.9453125]
> 
> etc etc
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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