/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
string style = robust_symbol2string (me->get_property ("style"), "default");
- string suffix = to_string (min (robust_scm2int (me->get_property ("duration-log"), 2), 2));
+ string suffix = ::to_string (min (robust_scm2int (me->get_property ("duration-log"), 2), 2));
if (style != "default")
suffix = robust_scm2string (me->get_property ("glyph-name"), "");
if (style == "mensural"
|| style == "neomensural"
|| style == "petrucci"
- || style == "baroque")
+ || style == "baroque"
+ || style == "kievan")
{
if (!Staff_symbol_referencer::on_line
(me,
}
}
+ if (style == "kievan"
+ && 3 == robust_scm2int (me->get_property ("duration-log"), 2))
+ {
+ Grob *stem = unsmob_grob (me->get_object ("stem"));
+ Grob *beam = unsmob_grob (stem->get_object ("beam"));
+ if (beam)
+ out = fm->find_by_name (idx_either + "2kievan");
+ }
+
idx_either += suffix;
if (out.is_empty ())
{
}
Offset
-Note_head::get_stem_attachment (Font_metric *fm, string key)
+Note_head::get_stem_attachment (Font_metric *fm, const string &key)
{
Offset att;