> Its relative path is "../share/lilypond/current/fonts/otf" > Linux package maintainers may organize things differently, though.
So it sounds like, for now, at least, if I want to do this I would be better off providing installation instructions for the fonts for the various platforms (OSX, Windows, and Linux). Ugh. While I know where to put the fonts in Linux, I'm not sure if I could come up with general enough instructions for all Linux users and then Mac and Windows users -- who knows? Or does there already exist a set of instructions for this for all platforms? Dave On Mon, Jul 10, 2017 at 2:02 PM, Urs Liska <u...@openlilylib.org> wrote: > [CCing back to the list] > > > Am 10.07.2017 um 22:02 schrieb David Bellows: >>> If your software is able to determine the lilypond installation directory >>> it could create the appropriate symlinks. >> Is there a Lilypond command for that? > > No. > >> I'm using OS system commands to >> call Lilypond from inside my software so I could get that information >> if that's the case. > > Well, that's what I would do. However, there are different ways how > LilyPond is installed, depending on OS and method. With binary releases > you can find the font directory from the executable. Its relative path > is "../share/lilypond/current/fonts/otf" > Linux package maintainers may organize things differently, though. > >> >>> Apart from that I think I recall someone wrote you can add the font >>> directory to LilyPond's include path. >> That would work nicely as well. Hopefully someone can give me a hint >> about that as well. > > Hm, I just tested adding the folder to LilyPond's include path where the > fonts are, and that did *not* work. > So it seems my recollection was wrong ... > > Best > > Urs > >> >> On Sun, Jul 9, 2017 at 9:53 PM, Urs Liska <u...@openlilylib.org> wrote: >>> >>> Am 10. Juli 2017 04:29:35 MESZ schrieb David Bellows >>> <davebell...@gmail.com>: >>>> I fear I already know the answer to this question but I thought I'd try >>>> anyway. >>>> >>>> I have a project that generates music and sheet music using Lilypond. >>>> I want to allow the user to use any music font they want (the free >>>> music fonts). But I want to keep things as simple as possible. So I >>>> don't want for them to have to figure out how to install the music >>>> fonts into the standard places that Lilypond looks for them. >>>> >>>> Instead I'd love for them to be able to download my software and keep >>>> those music fonts in a subdirectory of my project and for Lilypond to >>>> be able to find them. >>>> >>>> I've experimented a lot with this and cannot get anything to work. And >>>> based on what I've read I don't think it is possible, but I'm hoping >>>> this isn't the case. I really don't want to have to deal with making >>>> people install these fonts when it feels like I can just include them >>>> with my project. >>>> >>>> Thanks, >>>> Dave Bellows >>> If your software is able to determine the lilypond installation directory >>> it could create the appropriate symlinks. >>> >>> Apart from that I think I recall someone wrote you can add the font >>> directory to LilyPond's include path. >>> >>> HTH >>> Urs >>>> _______________________________________________ >>>> lilypond-user mailing list >>>> lilypond-user@gnu.org >>>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> _______________________________________________ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- > u...@openlilylib.org > https://openlilylib.org > http://lilypondblog.org > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user