X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstem.cc;h=d50bd50cda02d8de223bbfd97e31f33f3c0f0648;hb=432f8eedc35f0fa3efd570d66f185a02928adbfa;hp=c66712fb2495dac98aeec001dfb1acf6d3e40ba2;hpb=fe0606d0a18a65234db75c7424860d656db5e6a8;p=lilypond.git diff --git a/lily/stem.cc b/lily/stem.cc index c66712fb24..d50bd50cda 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -628,8 +628,13 @@ Stem::calc_flag (SCM smob) string stroke_style = ly_scm2string (stroke_style_scm); if (!stroke_style.empty ()) { - string font_char = to_string (dir) + stroke_style; + string font_char = flag_style + to_string (dir) + stroke_style; Stencil stroke = fm->find_by_name ("flags." + font_char); + if (stroke.is_empty ()) + { + font_char = to_string (dir) + stroke_style; + stroke = fm->find_by_name ("flags." + font_char); + } if (stroke.is_empty ()) me->warning (_f ("flag stroke `%s' not found", font_char)); else