lilypond-user
[Top][All Lists]
Advanced

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

mac web fontconfig slowdown


From: Jim Tisdall
Subject: mac web fontconfig slowdown
Date: Wed, 3 Feb 2016 19:06:21 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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



reply via email to

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