lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add Greek and Cyrillic glyph aliases (issue 316800043 by address@hid


From: trueroad
Subject: Re: Add Greek and Cyrillic glyph aliases (issue 316800043 by address@hidden)
Date: Tue, 25 Oct 2016 05:45:15 -0700

Reviewers: lemzwerg,

Message:
On 2016/10/25 06:29:32, lemzwerg wrote:
LGTM.  Note, however, that the new versions of URW fonts are
considered
problematic, since they differ too much from the original set of fonts
(especially metrics) – this is the very reason that currently TeXLive
doesn't
use them.

https://www.preining.info/blog/2015/08/sins-of-the-past/

Admittedly, this problem doesn't directly affect lilypond, especially
if it
delivers the fonts in a bundled form.

Thank you for your information.

URW fonts seem to have been released several times.
http://git.ghostscript.com/?p=urw-core35-fonts.git;a=summary

I do not know whether or not those problems have been resolved.

However, there are still some problems.
e.g. http://bugs.ghostscript.com/show_bug.cgi?id=697058

So I think that LilyPond main font should be TeX Gyre fonts.
I'd like to use URW fonts in order to complement the missing glyphs.

This patch is only to set the font alias for the missing glyphs.

When you build current LilyPond, some TeX Gyre fonts are required.
They are installed in LilyPond's directory.
e.g. /usr/share/lilypond/current/fonts/otf

Do you think that URW fonts should be installed in the same directory?


Description:
Add Greek and Cyrillic glyph aliases

LilyPond default fonts (TeX Gyre) do not have Greek and Cyrillic glyphs.
New URW 35 fonts which are contained in Ghostscript 9.20 have them.

This commit makes that when you have the new URW fonts,
you can use their Greek and Cyrillic glyphs as default fonts.

Please review this at https://codereview.appspot.com/316800043/

Affected files (+32, -0 lines):
  M mf/00-lilypond-fonts.conf.in


Index: mf/00-lilypond-fonts.conf.in
diff --git a/mf/00-lilypond-fonts.conf.in b/mf/00-lilypond-fonts.conf.in
index 899db67172e216fbc91da71cb6aa52dcd15a8f34..dc2c464f44a749907ef9a6a86dfa710ff595dfc4 100644
--- a/mf/00-lilypond-fonts.conf.in
+++ b/mf/00-lilypond-fonts.conf.in
@@ -11,10 +11,21 @@
   <alias binding="strong">
     <family>LilyPond Serif</family>
     <prefer>
+      <!-- Main serif font:
+          Latin glyphs only. -->
       <family>TeX Gyre Schola</family>
+      <!-- Ghostscript (URW) font:
+          gs 9.20+ includes Greek and Cyrillic glyphs. -->
+      <family>C059</family>                   <!-- gs 9.20 -->
+      <family>Century SchoolBook URW</family> <!-- gs 9.16 -->
+      <family>Century Schoolbook L</family>   <!-- gs 9.15, 9.18, 9.19 -->
+      <!-- Substitute font:
+           Most Unicode glyphs except CJK are included. -->
       <family>DejaVu Serif</family>
     </prefer>
     <default>
+      <!-- Fontconfig default serif font alias:
+           For CJK glyphs etc. -->
       <family>serif</family>
     </default>
   </alias>
@@ -22,10 +33,20 @@
   <alias binding="strong">
     <family>LilyPond Sans Serif</family>
     <prefer>
+      <!-- Main sans-serif font:
+          Latin glyphs only. -->
       <family>TeX Gyre Heros</family>
+      <!-- Ghostscript (URW) font:
+          gs 9.16+ includes Greek and Cyrillic glyphs. -->
+      <family>Nimbus Sans</family>    <!-- gs 9.20, 9.16 -->
+      <family>Nimbus Sans L</family>  <!-- gs 9.15, 9.18, 9.19 -->
+      <!-- Substitute font:
+           Most Unicode glyphs except CJK are included. -->
       <family>DejaVu Sans</family>
     </prefer>
     <default>
+      <!-- Fontconfig default san-serif font alias:
+           For CJK glyphs etc. -->
       <family>sans-serif</family>
     </default>
   </alias>
@@ -33,10 +54,21 @@
   <alias binding="strong">
     <family>LilyPond Monospace</family>
     <prefer>
+      <!-- Main monospace font:
+          Latin glyphs only. -->
       <family>TeX Gyre Cursor</family>
+      <!-- Ghostscript (URW) font:
+          gs 9.16+ includes Greek and Cyrillic glyphs. -->
+      <family>Nimbus Mono PS</family>   <!-- gs 9.20 -->
+      <family>Nimbus Mono</family>      <!-- gs 9.16, 9.18, 9.19 -->
+      <family>Nimbus Mono L</family>    <!-- gs 9.15 -->
+      <!-- Substitute font:
+           Most Unicode glyphs except CJK are included. -->
       <family>DejaVu Sans Mono</family>
     </prefer>
     <default>
+      <!-- Fontconfig default monospace font alias:
+           For CJK glyphs etc. -->
       <family>monospace</family>
     </default>
   </alias>



reply via email to

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