Mark_engraver::acknowledge_grob (Grob_info inf)
{
Grob * s = inf.grob_l_;
- if (text_p_ && Bar_line::has_interface (s))
+ if (text_p_ && Bar_line::has_interface (s))
{
/*
Ugh. Figure out how to do this right at beginning of line, (without
text_p_ = new Item (s);
- Side_position_interface::set_axis (text_p_, Y_AXIS);
-
announce_grob(text_p_, rq->self_scm());
}
text_p_->set_grob_property ("text",m);
else
{
- if (!gh_string_p (m))
+ if (!gh_string_p (m) && !gh_number_p (m))
m = get_property ("rehearsalMark");
- ;
if (gh_number_p (m))
{
text_p_->set_grob_property ("text",
ly_str02scm (t.ch_C ()));
- String style = "mark";
+ String style = "mark-number";
for (int i=0; i < t.length_i (); i++)
{
if (!isdigit (t[i]))
{
- style = "large";
+ style = "mark-letter";
break;
}
}