From 67cce0767337d165c0bf9f222d6195ff10902d13 Mon Sep 17 00:00:00 2001 From: Aleksandr Andreev Date: Sun, 10 Jun 2012 19:42:33 -0400 Subject: [PATCH] Fix for beaming in Kievan notation Implementing correct beaming functionality in Kievan notation Fix for Issue 2492 --- lily/note-head.cc | 9 +++++++++ ly/engraver-init.ly | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lily/note-head.cc b/lily/note-head.cc index fb93e40eeb..287b10dc04 100644 --- a/lily/note-head.cc +++ b/lily/note-head.cc @@ -80,6 +80,15 @@ internal_print (Grob *me, string *font_char) } } + 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 ()) { diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 9bb731883c..b4a7008b8d 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -1146,8 +1146,6 @@ accommodated for typesetting a piece in Kievan style." %% There are beams in Kievan notation, but they are invoked manually autoBeaming = ##f - \override Beam #'beam-thickness = #0.32 - \override Beam #'length-fraction = #0.62 } \context { -- 2.39.2