From: fred Date: Wed, 27 Mar 2002 00:01:55 +0000 (+0000) Subject: lilypond-1.3.102 X-Git-Tag: release/1.5.59~1185 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1754183184cd70b638ebdfb3433ff2a81d0e6568;p=lilypond.git lilypond-1.3.102 --- diff --git a/input/test/system-start-bracket.ly b/input/test/system-start-bracket.ly new file mode 100644 index 0000000000..de612ed6f8 --- /dev/null +++ b/input/test/system-start-bracket.ly @@ -0,0 +1,5 @@ + +\score { + \notes \context StaffGroup < \context Staff = SA { s1 } + \context Staff = SB { s1 }> +} diff --git a/lily/tfm.cc b/lily/tfm.cc index 2ce125cdbe..751dc75513 100644 --- a/lily/tfm.cc +++ b/lily/tfm.cc @@ -1,5 +1,5 @@ /* - tfm.cc -- implement Tex_font_metric + tfm.cc -- implement Tex_font_metric source file of the GNU LilyPond music typesetter @@ -18,6 +18,13 @@ 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_)); } @@ -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)); }