lilypond-user
[Top][All Lists]
Advanced

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

Re: Install LilyBoulez or other alternative fonts on Ubuntu


From: Federico Bruni
Subject: Re: Install LilyBoulez or other alternative fonts on Ubuntu
Date: Mon, 26 Jun 2017 13:42:36 +0200



Il giorno lun 26 giu 2017 alle 12:17, Federico Bruni <address@hidden> ha scritto:
[...]

By the way, what's wrong with this?

$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t /usr/share/lilypond
Script running locally.

Determined font directory:
 /home/fede/.fonts
Error condition:
No LilyPond installation found at or in
 /usr/share/lilypond.
Abort script.

I've tried also /usr/share/lilypond/2.19.62 and /usr/share/lilypond/2.19.62/fonts, but same error.



Ooops, I should have used /usr/bin or /usr/bin/lilypond
From the README: "LilyPond installations are detected when the path points to either their root directories or to their binary executable."

$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t /usr/bin/lilypond
[sudo] password di fede:
Script running locally.

Determined font directory:
 /home/fede/.fonts

Determined LilyPond font root directories:
- /usr/share/lilypond/current/fonts

Checking necessary actions ...
Traceback (most recent call last):
 File "install-lily-fonts", line 45, in <module>
   main()
 File "install-lily-fonts", line 38, in main
   fonts.handle_fonts()
File "/home/fede/src/lily-fonts/util/fonts.py", line 263, in handle_fonts
   self._fonts[f].check()
 File "/home/fede/src/lily-fonts/util/font.py", line 277, in check
   self._check()
 File "/home/fede/src/lily-fonts/util/font.py", line 100, in _check
   if not self._check_links(l):
File "/home/fede/src/lily-fonts/util/font.py", line 130, in _check_links otf_links = [f for f in os.listdir(otf_target_dir) if f.startswith(self._basename)] OSError: [Errno 2] No such file or directory: '/usr/share/lilypond/current/fonts/otf'


Fedora package installation is in /usr/share/lilypond/2.19.62

_get_lilypond_font_path in config.py uses 'current'. Any chance to adapt it for distro installations?
Well, I can rename it to "current" to make the script work...







reply via email to

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