]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-bar.cc
Web-fr: correcting some building errors
[lilypond.git] / lily / span-bar.cc
index 3ef38ec8125e9a2ac5ea291632511860c988a3be..36590c30a598fb1c6c4188c3bc46bc83749ca0c5 100644 (file)
@@ -128,7 +128,7 @@ Span_bar::width (SCM smob)
   SCM gn = me->get_property ("glyph-name");
   if (!me->is_live ())
     return ly_interval2scm (Interval ());
-  
+
   string gl = ly_scm2string (gn);
 
   /*
@@ -201,6 +201,14 @@ Span_bar::calc_glyph_name (SCM smob)
     type = "|.|";
   else if (type == ":|.:")
     type = "|.";
+  else if (type == "S" || type == "S|" || type == "|S")
+    type = "||";
+  else if (type == "S|:" || type == ".S|:")
+    type = ".|";
+  else if (type == ":|S" || type == ":|S.")
+    type = "|.";
+    else if (type == ":|S|:" || type == ":|S.|:")
+    type = "|._.|";
   else if (type == "'")
     type = "";