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: Sat, 22 Aug 2015 12:58:51 +0900 (JST)

> 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.

Thank you.

It seems that Debian wheezy's `tex-gyre' package contains
TeX Gyre OTF files but no fontconfig conf files.

Perhaps, if you put

/etc/fonts/conf.avail/65-fonts-texgyre.conf
/etc/fonts/conf.d/65-fonts-texgyre.conf

files from jessie's `fonts-texgyre' package,
configure option `--with-texgyre-dir' will not be necessary.



reply via email to

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