[Top][All Lists]

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

Re: Font search path (Linux)

From: tisimst
Subject: Re: Font search path (Linux)
Date: Tue, 28 Jul 2015 08:05:48 -0700 (MST)

On Tue, Jul 28, 2015 at 8:37 AM, Urs Liska [via Lilypond] <[hidden email]> wrote:

Am 28.07.2015 um 15:06 schrieb Ralf Mattes:

> Am Dienstag, 28. Juli 2015 13:58 CEST, Wols Lists <[hidden email]> schrieb:
>> Don't know whether it would work for lily, but on my system (gentoo
>> linux) I just copied all my Windows fonts into a "Windows" directory I
>> created under /usr/share/fonts.
> No, this is ba advice: anything under /usr/  is owned and managed by the system/vendor
> (on linux most likely by the system's package manager). The system is free to (and often will)
> remove/overwrite these files.
> User/Admin installs should be put into the /usr/local/ subtree.
> So, to install custom fonts for all users of the system, copy them into
> /usr/local/share/fonts.
> On systems using fontconfig (pretty much all distros by now) you can also place the fonts
> in the ~/.fonts directory.
> To see a list of all fonts available to fontconfig run:
>  fc-list
> This will also show the path where a font was found (sometimes usefull when a font
> is installed in more than one version).
>> One reboot later, all those windows fonts were available to my linux
>> programs.
> You never need to reboot linux to update the font information!
> If the newly installed font really doesn't show up with fc-list (it should) you
> can run 'fc-cache -f -v'
> Cheers. Ralf Mattes
Apart from Ralf's comments LilyPond doesn't (yet) find fonts in the
system's font directories but only in its own font directory. So for now
one can only install additional fonts within the Lily installation.
To alleviate the problems you can use the mentioned script that a) only
places links in the folders and b) can easily reapply the "installation

That's right. It doesn't include the system font folder by default, but I've had great success doing it the way Ralf, et al, suggested by including it (or any other folder that contains font files) in LilyPond's include path, therefore bypassing multiple font installations (as you can see below, I have many). This is ridiculously easy in Frescobaldi (Edit > Preferences), of course. Here's a screenshot on my Windows machine of what's required there for anyone wanting to try it out:

Inline image 1

I haven't had any issues with doing it this way. I was planning on showing these instructions on the font website documentation page. Can anyone else who has used the new fonts concur with my findings on other OSs? I've heard that this works on Mac OSX, but some current testimonials would be reassuring.

- Abraham

View this message in context: Re: Font search path (Linux)
Sent from the User mailing list archive at

reply via email to

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