lilypond-devel
[Top][All Lists]
Advanced

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

Re: Change the LilyPond default fonts to TeX Gyre


From: Masamichi HOSODA
Subject: Re: Change the LilyPond default fonts to TeX Gyre
Date: Thu, 20 Aug 2015 18:32:52 +0900 (JST)

I'm going to push Issue 4552: Change the LilyPond default fonts to TeX Gyre
https://code.google.com/p/lilypond/issues/detail?id=4552

This changes LilyPond default fonts from URW++ to TeX Gyre.
Along with it, this also changes a configure option.

If you compile LilyPond, please read following.



1. autogen.sh

configure.ac is changed.
So autogen.sh is necessary.
Please try the following command before configure.

$ ./autogen.sh --noconf


2. configure script searches TeX Gyre OTF files instead of URW++.

To compile LilyPond, TeX Gyre OTF files are necessary.

TeX Gyre OTF files:
texgyrecursor-bold.otf
texgyrecursor-bolditalic.otf
texgyrecursor-italic.otf
texgyrecursor-regular.otf
texgyreheros-bold.otf
texgyreheros-bolditalic.otf
texgyreheros-italic.otf
texgyreheros-regular.otf
texgyreschola-bold.otf
texgyreschola-bolditalic.otf
texgyreschola-italic.otf
texgyreschola-regular.otf

If you use Debian or Ubuntu etc., please install `fonts-texgyre' package
like following command before compiling LilyPond.

$ sudo apt-get install fonts-texgyre

Then, TeX Gyre OTF files are installed and configure script can find them.
(Because fontconfig is set by the package.)

If you use other distribution or OS etc., please download TeX Gyre OTF files
and put `*.otf' files to `~/.fonts' before compiling LilyPond.

TeX Gyre download:
http://www.gust.org.pl/projects/e-foundry/tex-gyre/
http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole
http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip

or

CTAN tex-gyre download:
https://www.ctan.org/tex-archive/fonts/tex-gyre

Then, configure script can find TeX Gyre OTF files.
(Because fontconfig's default font directory search path contains `~/.fonts'.)


3. A configure option is changed.

`--with-fonts-dir' option (to specify a directory of URW++ font files)
is obsoleted.
Instead, `--with-texgyre-dir' option
(to specify a directory of TeX Gyre OTF files) is added.

If configure script failed to find TeX Gyre OTF files,
you can use `--with-texgyre-dir' option
to specify their directory like following.

$ ./configure --with-texgyre-dir=/path/to/tex-gyre-otf-files/


4. GUB

I'll update my pull request for this font change.
https://github.com/gperciva/gub/pull/18



reply via email to

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