]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.102
authorfred <fred>
Wed, 27 Mar 2002 00:01:55 +0000 (00:01 +0000)
committerfred <fred>
Wed, 27 Mar 2002 00:01:55 +0000 (00:01 +0000)
input/test/system-start-bracket.ly [new file with mode: 0644]
lily/tfm.cc

diff --git a/input/test/system-start-bracket.ly b/input/test/system-start-bracket.ly
new file mode 100644 (file)
index 0000000..de612ed
--- /dev/null
@@ -0,0 +1,5 @@
+
+\score {
+       \notes  \context StaffGroup < \context Staff = SA { s1 }
+               \context Staff = SB { s1 }>
+}
index 2ce125cdbe49a8b689e0688d714837871738735e..751dc755135e37015400419de4b1174c9f24c549 100644 (file)
@@ -1,5 +1,5 @@
 /*   
-  tfm.cc --  implement Tex_font_metric
+  tfm.cc -- implement Tex_font_metric
   
   source file of the GNU LilyPond music typesetter
   
 Box
 Tex_font_char_metric::dimensions () const
 {
+  if (!exists_b_)
+    {
+      Box b;
+      b.set_empty ();
+      return b;
+    }
+  
   Real d = -depth_;
   return Box (Interval (0, width_),Interval ( d <? height_, d >? height_));
 }
@@ -66,7 +73,6 @@ Tex_font_metric::find_ascii (int ascii, bool warn) const
   if (ascii < ascii_to_metric_idx_.size() && ascii_to_metric_idx_[ascii] >= 0)
     return & char_metrics_[ascii_to_metric_idx_ [ascii]];
   else if (warn)
-
     {
       warning (_f ("can't find ascii character %d", ascii));
     }