[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change the LilyPond default fonts to TeX Gyre
From: |
James |
Subject: |
Re: Change the LilyPond default fonts to TeX Gyre |
Date: |
Fri, 21 Aug 2015 20:05:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Hello Dan,
On 21/08/15 19:05, Dan Eble wrote:
>>> If you use Debian or Ubuntu etc., please install `fonts-texgyre' package
>>> like following command before compiling LilyPond.
>>>
>>> $ sudo apt-get install fonts-texgyre
>> Didn’t work in LilyDev 3:
> What worked for me was this:
>
> 1. Edit /etc/apt/sources.list to refer to ftp.ca.debian.org instead of
> ftp3.nrc.ca, which was incommunicado.
> 2. sudo apt-get install tex-gyre
> 3. ../configure --disable-optimising
> --with-texgyre-dir=/usr/share/texmf/fonts/opentype/public/tex-gyre/
> —
> Dan
>
>
>From issue 4552
---snip---
CTAN's `tex-gyre' package does not contains fontconfig conf file for TeX Gyre
files.
Ubuntu's `fonts-texgyre' package contains it.
(Both packages also contain TeX Gyre OTF files.)
Only the installation of CTAN package `tex-gyre' is not enough.
configure script searches TeX Gyre OTF files (texgyreschola-regular.otf etc.) by
fontconfig fc-list utility.
If the fontconfig conf file does not exist, fc-list can not find them, even if
they exist.
If configure option `--with-texgyre-dir' is used, configure script does not use
fc-list.
In that case, configure script uses the option specified directory to find TeX
Gyre OTF files.
In other words, either of the following is required:
- TeX Gyre OTF files and fontconfig conf file for them (same as Ubuntu's
`fonts-texgyre')
- TeX Gyre OTF files and configure option `--with-texgyre-dir' to specify them
---snip---
Just in case that matters here.
James