Lilypond install fails: Please install international new century schoolbook fonts
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Lilypond install fails: Please install international new century schoolbook fonts
I have slackware version current between 14.2 and 15.0. (e.g. I got current before 15.0 was released, and due to various reasons, am not able to upgrade to 15.0 yet.) I'm trying to install lilypond from sbopkg. I get an error message:
ERROR: Please install required programs: International New Century Schoolbook fonts (these files do not contain Cyrillic characters: c059036l.pfb c059033l.pfb c059016l.pfb c059013l.pfb )
If I open up xfontsel, I can find A font called -urw-century schoolbook l. Checking the -r and -ru options shows that this font at least, DOES display cyrillic characters. However, "century schoolbook l" doesn't match exactly the name "new century schoolbook".
Looking into the documentation, it looks like there is a configure option '--with-ncsb-dir' which is supposed to specify the directory where this new century schoolbook font is supposed to be installed.
I have verified that the *.pfb files mentioned above are in both '/usr/share/fonts/Type1' and '/usr/share/ghostscript/fonts', but I don't know if these correspond to urw century schoolbook l or to some other font, potentially a non-international version of new century schoolbook?
I have searched high and low for "international new century schoolbook", but haven't found anything. I did manage to install a .ttf font by the name of new century schoolbook, but to no effect, and that font didn't have cyrillic characters.
I suspect that lilypond is looking for some very specific font files that are meant to be provided by an international version of ghostscript, but also searching for "ghostscript international version" has turned up nothing. And I don't want to install ghostscript from source when I already have it installed as an official package and therefore risk fucking up other things on the system.
The ./configure script for Lilypond seems to have options for TeX Gyre and URW++ OTF fonts. This makes me suspect that font C059 from package urw-core35-fonts-otf can be used instead of the Ghostscript font. For more context, see this post.
Which version of lilypond are you trying to install? I've got 2.20.0 installed, and I don't remember any need to install a different font. Did you use Ponce's slackbuild (it's in the SBO thread pinned here.) Century Schoolbook is installed by default. ARe you maybe missing some upgrade from 14.2 to current?
That having been said, I had to use a newer version of lilypond because 2.18 would compile but segfault during use.
(I have texlive installed)
I also used a patch (I got from sbo): detect-fontforge.diff
As it does not contain too many lines, I paste its contents below:
Code:
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -9810,7 +9810,7 @@
if test -z "$_ver"; then
## If empty, try date [fontforge]
- eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep '[0-9]\{6,8\}' \
+ eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
| head -n 1 \
| sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
fi
FWIW the latest (just pushed) version of the unofficial repository for current contains updated versions of lilypond and frescobaldi (with the added needed dependencies for both).
FWIW the latest (just pushed) version of the unofficial repository for current contains updated versions of lilypond and frescobaldi (with the added needed dependencies for both).
t1utils and tex-gyre-fonst are both included in texlive, is this to avoid installing texlive(which i can understand as it is huge)?
On the other hand these duplicate parts of a system packages ...
t1utils and tex-gyre-fonst are both included in texlive, is this to avoid installing texlive(which i can understand as it is huge)?
On the other hand these duplicate parts of a system packages ...
t1utils is removed from the current repository so that dep is just ignored (I don't remove packages added to Slackware current from the *.info files), while tex-gyre-fonts is an actual error on my part and I'll fix it, thanks for the report!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.