From 1754183184cd70b638ebdfb3433ff2a81d0e6568 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Mar 2002 00:01:55 +0000 Subject: [PATCH] lilypond-1.3.102 --- input/test/system-start-bracket.ly | 5 +++++ lily/tfm.cc | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 input/test/system-start-bracket.ly 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)); } -- 2.39.5