Re: Change the LilyPond default fonts to TeX Gyre

2015-08-29 Thread Thomas Morley
2015-08-22 19:05 GMT+02:00 James Lowe :
> On 22/08/15 04:44, Masamichi HOSODA 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/
>>
>>>
>> Debian jessie has `fonts-texgyre' package.
>> https://packages.debian.org/jessie/fonts-texgyre
>>
>> However, Debian wheezy does not have it.
>>
>> Sorry. ___
>> lilypond-devel mailing list lilypond-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>>
>
> We need to get this explained in the Contributor Guide I think, so I
> have created
>
> https://code.google.com/p/lilypond/issues/detail?id=4574
>
> so that this is not forgotten.
>
> James

Maybe worth mentioning,
sudo apt-get update
is needed for LilyDev3
before you can do
sudo apt-get install tex-gyre

See discussion starting here:
http://lists.gnu.org/archive/html/lilypond-devel/2015-08/msg00240.html


Cheers,
  Harm

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-22 Thread James Lowe
On 22/08/15 04:44, Masamichi HOSODA 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/
>
>> 
> Debian jessie has `fonts-texgyre' package. 
> https://packages.debian.org/jessie/fonts-texgyre
> 
> However, Debian wheezy does not have it.
> 
> Sorry. ___ 
> lilypond-devel mailing list lilypond-devel@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
> 

We need to get this explained in the Contributor Guide I think, so I
have created

https://code.google.com/p/lilypond/issues/detail?id=4574

so that this is not forgotten.

James

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-21 Thread Masamichi HOSODA
> 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.

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-21 Thread Masamichi HOSODA
>>> 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/

Debian jessie has `fonts-texgyre' package.
https://packages.debian.org/jessie/fonts-texgyre

However, Debian wheezy does not have it.

Sorry.
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-21 Thread James
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

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-21 Thread Dan Eble
>> 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


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-21 Thread Dan Eble
> 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:

~/lilypond-git/build$ sudo apt-get install fonts-texgyre
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package fonts-texgyre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'fonts-texgyre' has no installation candidate

~/lilypond-git/build$ uname -a
Linux bee-LilyDev-3 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u1 i686 GNU/Linux
— 
Dan


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-20 Thread Werner LEMBERG

> You are aware that the current version of TeX Gyre fonts don’t
> contain Cyrillic letters, are you?

Yes, we are.

> "Our" old version has them, and TeX Gyre 0.996 had them, too, but
> they were removed for quality (and AFAIK licensing) reasons.

Yep.

> For me, Cyrillic support is important, but I’ll just use one of the
> old fonts.

Exactly!  If you want Cyrillic, you should use your own fonts.

What we want to achieve with the change is to make the documentation
of LilyPond reproducable on different hosts in an easy way.  For this
reason we are going to use Linux Libertine – it contains Cyrillic and
Hebrew, both used in the Unicode demo files.


Werner
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-20 Thread Henning Hraban Ramm

Am 2015-08-20 um 15:32 schrieb Masamichi HOSODA :

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

Hi, sorry for chiming in that late.
You are aware that the current version of TeX Gyre fonts don’t contain Cyrillic 
letters, are you?
"Our" old version has them, and TeX Gyre 0.996 had them, too, but they were 
removed for quality (and AFAIK licensing) reasons.
For me, Cyrillic support is important, but I’ll just use one of the old fonts.


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)





___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre

2015-08-20 Thread Masamichi HOSODA
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

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre (issue 258250043 by truer...@gmail.com)

2015-08-15 Thread trueroad

On 2015/08/15 09:04:20, J_lowe wrote:

https://codereview.appspot.com/258250043/diff/20001/configure.ac
File configure.ac (right):



https://codereview.appspot.com/258250043/diff/20001/configure.ac#newcode98

configure.ac:98: STEPMAKE_ADD_ENTRY(REQUIRED,'(make sure the fc-list

utility can

see them, e.g. \`sudo apt-get install fonts-texgyre\', or use
--with-texgyre-dir)')
Sorry to go back on what I said earlier but it seems that the package

is called

just 'tex-gyre'. See https://www.ctan.org/pkg/tex-gyr. It seems on my

Ubuntu

flavoured distribution there are two package names in Synaptic, I

don't know

what other Linux distributions call it but if we call it the 'real'

name at

least that is less confusing; what I would do is 'copy' what we say

for the

'texlive-lang-cyrillic' font (see lines 251 - 258 in this file) and

say it in

the same way, so it is consistent.



Do we need to talk about the fc-utility at all? Only because we don't

mention it

during ./configure usually unless it isn't installed (I think). If you

think we

do, then can we say "..then run the fc-list command and make sure that

Gyre

fonts are listed." but say this after we ask them to install tex-gyre

in the

warning.



Finally, when you say 'or use --with-texgyre-dir' do you mean the

configure

command (again it might be obvious to some but not others). Maybe

others think

differently?


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


https://codereview.appspot.com/258250043/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Change the LilyPond default fonts to TeX Gyre (issue 258250043 by truer...@gmail.com)

2015-08-15 Thread pkx166h


https://codereview.appspot.com/258250043/diff/20001/configure.ac
File configure.ac (right):

https://codereview.appspot.com/258250043/diff/20001/configure.ac#newcode98
configure.ac:98: STEPMAKE_ADD_ENTRY(REQUIRED,'(make sure the fc-list
utility can see them, e.g. \`sudo apt-get install fonts-texgyre\', or
use --with-texgyre-dir)')
Sorry to go back on what I said earlier but it seems that the package is
called just 'tex-gyre'. See https://www.ctan.org/pkg/tex-gyr. It seems
on my Ubuntu flavoured distribution there are two package names in
Synaptic, I don't know what other Linux distributions call it but if we
call it the 'real' name at least that is less confusing; what I would do
is 'copy' what we say for the 'texlive-lang-cyrillic' font (see lines
251 - 258 in this file) and say it in the same way, so it is consistent.


Do we need to talk about the fc-utility at all? Only because we don't
mention it during ./configure usually unless it isn't installed (I
think). If you think we do, then can we say "..then run the fc-list
command and make sure that Gyre fonts are listed." but say this after we
ask them to install tex-gyre in the warning.

Finally, when you say 'or use --with-texgyre-dir' do you mean the
configure command (again it might be obvious to some but not others).
Maybe others think differently?

https://codereview.appspot.com/258250043/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel