We use Cyrillic to demonstrate lilypond's usage of non-latin scripts. It is not essential, but IMHO it is a good thing to have it.
And yes, TeX Gyre would be better because it provides far more glyphs than the standard Adobe fonts.
The support of OpenType features is something that can't be used yet in Lilypond, but I hope that we eventually get a proper interface, cf. issue #1388.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This uses Cyrillic and Hebrew and Latin glyphs.
Century Schoolbook L contains Cyrillic glyphs but it doesn't contains Hebrew glyphs.
So DejaVu fonts are used for Hebrew.
In other words, default fonts don't contain Hebrew glyphs and this is no problem.
Similarly, even if default fonts don't contain Cyrillic glyphs, I think that this is also no problem, DejaVu fonts are used for Cyrillic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ideally, *all* scripts used in the documentation should be part of the lilypond distribution so that we get identical output, regardless whether, say, Hebrew fonts are installed on the build platform or not.
However, Hebrew and Japanese are scripts not related to Latin, thus it isn't of big importance what fonts are used. However, Cyrillic is related to Latin (as is Greek), thus having those scripts within a single font makes them harmonize.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see. Harmonizing is important.
I've made some font tests.
font-old-urw.pdf is by current LilyPond default settings.
Century Schoolbook L (default roman font), Nimbus Sans L (default sans font), Nimbus Mono L (default typewriter font) don't contain greek glyphs except `Delta' and 'mu'.
There is no harmonizing in Greek glyphs.
font-gyre.pdf is by TeX Gyre fonts + DejaVu fonts.
Latin and Greek glyphs are harmonized.
However, Cyrillic glyphs are different.
Thanks for the tests! I like `font-old-urw.pdf' most – provided there is a simple way to fix the few glitches. As you write, this is for setting up some sensible defaults, but I wouldn't invest too much time into it since users will change that in most cases I guess.
Another suggestion: What about using a rich font family like Linux Libertine for building Lilypond's Unicode demonstration?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I understand correctly, Linux Liberation is a font like Times.
So it is quite a different from current LilyPond's serif font (a font like New Century Schoolbook).
I think that it is difficult to replace default fonts to the fonts that has different look and feel.
Do you mean the following?
Default fonts are replaced to TeX Gyre etc.
Only LilyPond's unicode demonstrations use Linux Liberation etc.
font-libertine.pdf and typography-demo-libertine.pdf use Linux Libertine.
Serif is no problems except different from Century Schoolbook.
But Sans doesn't contain Bold Italic. Mono doesn't contain Bold, Italic, Bold Italic.
font-liberation.pdf and typography-demo-liberation.pdf use Liberation.
font-new-urw-all-nimbus.pdf and typography-demo-new-urw-all-nimbus.pdf use Nimbus Roman (new urw).
font-gyre-termes-new-urw.pdf and typography-demo-gyre-termes-new-urw.pdf use TeX Gyre Termes + Nimbus Roman (new urw).
typography-demo.pdf and #5 font-old-urw.pdf are official binary LilyPond 2.19.24 default settings.
First, I've made a patch that replaces unicode demonstrations' fonts to Linux Libertine.
I'll make another patch that replaces LilyPond default fonts to TeX Gyre.
LGTM. In the configure file, shall we now remove the request for New Century Schoolbook Cyrillic, replacing it with a request for Libertine? Or perhaps we should add this font (family?) directly to `make tarball', simplifying the dependencies...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll make next patch that replacing Century Schoolbook to TeXGyreSchola.
The patch will remove the request, converting to OTF, installing Century Schoolbook.
I think that LilyPond installer should not contain Libertine.
If I understand correctly, Libertine is required by only `make doc'.
`make all' and non-unicode .ly compilation do not require it.
However, GUB will require Libertine because official website's document files are made by GUB.
I'll make GUB's patch that installing Libertine and TeX Gyre.
I think configure script may request Libertine.
However, how about other fonts?
Change the Unicode demonstrations fonts to Libertine (continuing this issue or create new issue)
Change the LilyPond default fonts to TeX Gyre (create new issue)
Require and/or install fonts for demonstrations to configure script and GUB environment (create new issue)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes I think that would be useful. Just make sure that if you need patches tested that they can be independently tested or if they need 'special' consideration (i.e. that they need to be tested all at once) then make it clear in the tracker and I can help with that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've created the following issues. Issue 4552: Change the LilyPond default fonts to TeX Gyre Issue 4553: Require and/or install fonts for demonstrations to configure script and GUB environment
Originally posted by: truer...@gmail.com
If I understand correctly,
current LilyPond requires Cyrillic glyphs
but current Tex Gyre Fonts do not contain them.
As LilyPond default fonts,
do we need Cyrillic glyphs?
do you prefer Tex Gyre fonts than current fonts?
Originally posted by: lemzw...@googlemail.com
We use Cyrillic to demonstrate lilypond's usage of non-latin scripts. It is not essential, but IMHO it is a good thing to have it.
And yes, TeX Gyre would be better because it provides far more glyphs than the standard Adobe fonts.
The support of OpenType features is something that can't be used yet in Lilypond, but I hope that we eventually get a proper interface, cf. issue #1388.
Originally posted by: truer...@gmail.com
Is this the demonstrate?
http://www.lilypond.org/doc/v2.19/Documentation/notation/special-characters.html#text-encoding
This uses Cyrillic and Hebrew and Latin glyphs.
Century Schoolbook L contains Cyrillic glyphs but it doesn't contains Hebrew glyphs.
So DejaVu fonts are used for Hebrew.
In other words, default fonts don't contain Hebrew glyphs and this is no problem.
Similarly, even if default fonts don't contain Cyrillic glyphs, I think that this is also no problem, DejaVu fonts are used for Cyrillic.
Originally posted by: lemzw...@googlemail.com
The following files use Russian.
input/regression/utf-8.ly
input/regression/typography-demo.ly
Documentation/snippets/utf-8.ly
Documentation/{,de,...}/notation/input.itely
Documentation/{,de,...}/notation/ancient.itely
Ideally, *all* scripts used in the documentation should be part of the lilypond distribution so that we get identical output, regardless whether, say, Hebrew fonts are installed on the build platform or not.
However, Hebrew and Japanese are scripts not related to Latin, thus it isn't of big importance what fonts are used. However, Cyrillic is related to Latin (as is Greek), thus having those scripts within a single font makes them harmonize.
Originally posted by: truer...@gmail.com
Thank you for your information.
I see. Harmonizing is important.
I've made some font tests.
font-old-urw.pdf is by current LilyPond default settings.
Century Schoolbook L (default roman font), Nimbus Sans L (default sans font), Nimbus Mono L (default typewriter font) don't contain greek glyphs except `Delta' and 'mu'.
There is no harmonizing in Greek glyphs.
font-gyre.pdf is by TeX Gyre fonts + DejaVu fonts.
Latin and Greek glyphs are harmonized.
However, Cyrillic glyphs are different.
Next, newer urw Nimbus fonts contain `production quality Greek and Cyrillic glyphs'.
http://www.ghostscript.com/doc/9.16/News.htm
http://git.ghostscript.com/?p=urw-core35-fonts.git
Unfortunately, Century Schoolbook doesn't contain them.
However, Nimbus Sans and Nimbus Mono contain them.
font-new-urw.pdf is by these new urw fonts.
Finally, I've tried to combine multiple fonts.
font-gyre-new-urw-nimbus.pdf is by TeX Gyre fonts + new urw Nimbus fonts + DejaVu fonts.
Which do you think the most appropriate to the default settings?
Originally posted by: lemzw...@googlemail.com
Thanks for the tests! I like `font-old-urw.pdf' most – provided there is a simple way to fix the few glitches. As you write, this is for setting up some sensible defaults, but I wouldn't invest too much time into it since users will change that in most cases I guess.
Another suggestion: What about using a rich font family like Linux Libertine for building Lilypond's Unicode demonstration?
Originally posted by: truer...@gmail.com
If I understand correctly, Linux Liberation is a font like Times.
So it is quite a different from current LilyPond's serif font (a font like New Century Schoolbook).
I think that it is difficult to replace default fonts to the fonts that has different look and feel.
Do you mean the following?
Default fonts are replaced to TeX Gyre etc.
Only LilyPond's unicode demonstrations use Linux Liberation etc.
font-libertine.pdf and typography-demo-libertine.pdf use Linux Libertine.
Serif is no problems except different from Century Schoolbook.
But Sans doesn't contain Bold Italic. Mono doesn't contain Bold, Italic, Bold Italic.
font-liberation.pdf and typography-demo-liberation.pdf use Liberation.
font-new-urw-all-nimbus.pdf and typography-demo-new-urw-all-nimbus.pdf use Nimbus Roman (new urw).
font-gyre-termes-new-urw.pdf and typography-demo-gyre-termes-new-urw.pdf use TeX Gyre Termes + Nimbus Roman (new urw).
typography-demo.pdf and #5 font-old-urw.pdf are official binary LilyPond 2.19.24 default settings.
Note that current Nimbus fonts (new urw) have some issues.
http://bugs.ghostscript.com/show_bug.cgi?id=696089
http://bugs.ghostscript.com/show_bug.cgi?id=696090
Originally posted by: lemzw...@googlemail.com
Thanks again for your test files.
> Default fonts are replaced to TeX Gyre etc.
Yes.
> Only LilyPond's unicode demonstrations use Linux
> Liberation etc.
No, I suggest Libertine, not Liberation.
> font-libertine.pdf and typography-demo-libertine.pdf
> use Linux Libertine.
Looks OK to me. Additionally, Libertine has Hebrew, too, which is also used in the typography demo.
> But Sans doesn't contain Bold Italic.
> Mono doesn't contain Bold, Italic, Bold Italic.
I think this doesn't matter for the typography demo.
Originally posted by: truer...@gmail.com
You suggest Libertine.
Libertine and Liberation are similar mistakable name for me.
Excuse me.
Now, I've tried to make sample that only unicode demonstrations use Linux Libertine.
How about this?
Originally posted by: lemzw...@googlemail.com
Looks good, thanks! Perhaps we also need some words in the documentation that describes the supported scripts in lilypond's default font setup.
Originally posted by: truer...@gmail.com
First, I've made a patch that replaces unicode demonstrations' fonts to Linux Libertine.
I'll make another patch that replaces LilyPond default fonts to TeX Gyre.
https://codereview.appspot.com/258190043/
Labels: Patch-new
Status: Started
Originally posted by: pkx1...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Low
Owner: truer...@gmail.com
Originally posted by: pkx1...@gmail.com
Passes make, make check and a full make doc. Regression Test diff attached.
Labels: -Patch-new Patch-review
Originally posted by: lemzw...@googlemail.com
Is Libertine installed on the test machine? The image seems to indicate otherwise.
Originally posted by: truer...@gmail.com
I've changed \version.
Labels: -Patch-review Patch-new
Originally posted by: truer...@gmail.com
If you use Ubuntu or Debian, would you try following command for installing Libertine?
$ sudo apt-get install fonts-linuxlibertine
Originally posted by: pkx1...@gmail.com
Thanks.
Passes make, make check and a full make doc. Regression Test diff attached.
Labels: -Patch-new Patch-review
Originally posted by: lemzw...@googlemail.com
LGTM. In the configure file, shall we now remove the request for New Century Schoolbook Cyrillic, replacing it with a request for Libertine? Or perhaps we should add this font (family?) directly to `make tarball', simplifying the dependencies...
Originally posted by: truer...@gmail.com
I'll make next patch that replacing Century Schoolbook to TeXGyreSchola.
The patch will remove the request, converting to OTF, installing Century Schoolbook.
I think that LilyPond installer should not contain Libertine.
If I understand correctly, Libertine is required by only `make doc'.
`make all' and non-unicode .ly compilation do not require it.
However, GUB will require Libertine because official website's document files are made by GUB.
I'll make GUB's patch that installing Libertine and TeX Gyre.
I think configure script may request Libertine.
However, how about other fonts?
http://www.lilypond.org/doc/v2.19/Documentation/notation/fonts.html
This page uses "Bitstream Charter", "Vera Bold", "Times New Roman", "Nimbus Sans", "Luxi Mono", etc.
Should we require these fonts in configure script?
How about Japanse fonts?
Unicode demonstration uses Japanse glyphs.
Originally posted by: pkx1...@gmail.com
This looks like it still need some discussion, I'll leave this on review for now.
Originally posted by: truer...@gmail.com
Would I divide this issue to following three?
Change the Unicode demonstrations fonts to Libertine (continuing this issue or create new issue)
Change the LilyPond default fonts to TeX Gyre (create new issue)
Require and/or install fonts for demonstrations to configure script and GUB environment (create new issue)
Originally posted by: pkx1...@gmail.com
Yes I think that would be useful. Just make sure that if you need patches tested that they can be independently tested or if they need 'special' consideration (i.e. that they need to be tested all at once) then make it clear in the tracker and I can help with that.
Originally posted by: truer...@gmail.com
I've created the following issues.
Issue 4552: Change the LilyPond default fonts to TeX Gyre
Issue 4553: Require and/or install fonts for demonstrations to configure script and GUB environment
And I've changed this issue's Summary.
I think that changing this patch is unnecessary.
https://codereview.appspot.com/258190043/
Thank you.
Summary: Change the Unicode demonstrations fonts to Libertine
Originally posted by: pkx1...@gmail.com
Patch on countdown for August 17th
Labels: -Patch-review Patch-countdown
Originally posted by: pkx1...@gmail.com
Patch counted down - please push.
Labels: -Patch-countdown Patch-push