source file of the GNU LilyPond music typesetter
- (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "molecule.hh"
d->set_grob_property ("staff-position",
gh_int2scm ((bt == 7) ? 4 : 3));
}
-
+ if (d && bt >= -1 && bt <= 1) // UGH again.
+ {
+ d->set_grob_property ("staff-position",
+ gh_int2scm ((bt == 0) ? -1 : 1));
+ }
return SCM_UNSPECIFIED;
}
Font_metric *fm = Font_interface::get_default_font (me);
String font_char = glyph_name (me, balltype, style);
Molecule out = fm->find_by_name (font_char);
- if (out.empty_b())
+ if (out.is_empty ())
{
me->warning (_f ("rest `%s' not found, ", font_char.to_str0 ()));
}
ADD_INTERFACE (Rest,"rest-interface",
"a rest",
- "style minimum-beam-collision-distance");
+ "style minimum-distance");