lilypond-devel
[Top][All Lists]
Advanced

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

Unicode cuteness


From: David Kastrup
Subject: Unicode cuteness
Date: Mon, 15 Mar 2010 19:23:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

For selfdescribing glyphs, is the following somewhat defensive approach
sensible, or should 𝄞 be equivalent to the whole \clef "G" sequence?

If the latter, it would need modifying the parser, right?  That would
have the advantage that note lengths like 𝅘𝅥𝅰 could also be employed,
pitches written like B𝄫, rests including length as 𝄽, and other
niceties.

diff --git a/scm/parser-clef.scm b/scm/parser-clef.scm
index 2f17701..3099ca8 100644
--- a/scm/parser-clef.scm
+++ b/scm/parser-clef.scm
@@ -26,15 +26,22 @@
     ("G" . ("clefs.G" -2 0))
     ("G2" . ("clefs.G" -2 0))
     ("french" . ("clefs.G" -4 0))
+    ("𝄞" . ("clefs.G" -2 0))
+    ("𝄟" . ("clefs.G" -2 7))
+    ("𝄠" . ("clefs.G" -2 -7))
     ("soprano" . ("clefs.C" -4 0))
     ("mezzosoprano" . ("clefs.C" -2 0))
     ("alto" . ("clefs.C" 0 0))
     ("C" . ("clefs.C" 0 0))
+    ("𝄡" . ("clefs.C" 0 0))
     ("tenor" . ("clefs.C" 2 0))
     ("baritone" . ("clefs.C" 4 0))
     ("varbaritone" . ("clefs.F" 0 0))
     ("bass" . ("clefs.F" 2 0))
     ("F" . ("clefs.F" 2 0))
+    ("𝄢" . ("clefs.F" 2 0)) 
+    ("𝄣" . ("clefs.F" 2 7))
+    ("𝄤" . ("clefs.F" 2 -7))
     ("subbass" . ("clefs.F" 4 0))
     ("percussion" . ("clefs.percussion" 0 0))
     ("tab" . ("clefs.tab" 0 0))

-- 
David Kastrup

reply via email to

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