Menu

#952 Change the Unicode demonstrations fonts to Libertine

Verified
nobody
Enhancement
2015-09-04
2009-12-26
Anonymous
No

Originally created by: *anonymous

Originally created by: john.man...@gmail.com
Originally owned by: truer...@gmail.com

See discussion thread at
http://lists.gnu.org/archive/html/lilypond-devel/2008-01/msg00174.html

Related

Issues: #4552
Issues: #4553

Discussion

1 2 > >> (Page 1 of 2)
  • Google Importer

    Google Importer - 2015-08-01

    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?

     
  • Google Importer

    Google Importer - 2015-08-01

    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.

     
  • Google Importer

    Google Importer - 2015-08-02

    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.

     
  • Google Importer

    Google Importer - 2015-08-02

    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.

     
  • Google Importer

    Google Importer - 2015-08-02

    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?

     
  • Google Importer

    Google Importer - 2015-08-05

    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?

     
  • Google Importer

    Google Importer - 2015-08-06

    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.

     
  • Google Importer

    Google Importer - 2015-08-07

    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?

     
  • Google Importer

    Google Importer - 2015-08-07

    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.

     
  • Google Importer

    Google Importer - 2015-08-08

    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

     
  • Google Importer

    Google Importer - 2015-08-08

    Originally posted by: pkx1...@gmail.com

    (No comment was entered for this change.)

    Labels: -Priority-Low
    Owner: truer...@gmail.com

     
  • Google Importer

    Google Importer - 2015-08-08

    Originally posted by: pkx1...@gmail.com

    Passes make, make check and a full make doc. Regression Test diff attached.

    Labels: -Patch-new Patch-review

     
  • Google Importer

    Google Importer - 2015-08-09

    Originally posted by: lemzw...@googlemail.com

    Is Libertine installed on the test machine?  The image seems to indicate otherwise.

     
  • Google Importer

    Google Importer - 2015-08-09

    Originally posted by: truer...@gmail.com

    I've changed \version.

    Labels: -Patch-review Patch-new

     
  • Google Importer

    Google Importer - 2015-08-09

    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

     
  • Google Importer

    Google Importer - 2015-08-09

    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

     
  • Google Importer

    Google Importer - 2015-08-09

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

     
  • Google Importer

    Google Importer - 2015-08-09

    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.

     
  • Google Importer

    Google Importer - 2015-08-10

    Originally posted by: pkx1...@gmail.com

    This looks like it still need some discussion, I'll leave this on review for now.

     
  • Google Importer

    Google Importer - 2015-08-11

    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)

     
  • Google Importer

    Google Importer - 2015-08-11

    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.

     
  • Google Importer

    Google Importer - 2015-08-11

    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

     
  • Google Importer

    Google Importer - 2015-08-13

    Originally posted by: pkx1...@gmail.com

    Patch on countdown for August 17th

    Labels: -Patch-review Patch-countdown

     
  • Google Importer

    Google Importer - 2015-08-16

    Originally posted by: pkx1...@gmail.com

    Patch counted down - please push.

    Labels: -Patch-countdown Patch-push

     
1 2 > >> (Page 1 of 2)