Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1316)

Unified Diff: lily/stem.cc

Issue 4951062: Glyphs for Kievan Notation (Closed)
Patch Set: Fixing remaining char_box issues Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/note-head.cc ('k') | ly/engraver-init.ly » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/stem.cc
diff --git a/lily/stem.cc b/lily/stem.cc
index fb830624ff23b360e1c06d5d85a7c0114033ed8e..8eaf2321ea3ecdb669df157bf959cfa4ff706c11 100644
--- a/lily/stem.cc
+++ b/lily/stem.cc
@@ -277,7 +277,12 @@ Stem::is_invisible (Grob *me)
bool
Stem::is_normal_stem (Grob *me)
{
- return head_count (me) && scm_to_int (me->get_property ("duration-log")) >= 1;
+ if (!head_count (me))
+ return false;
+
+ extract_grob_set (me, "note-heads", heads);
+ SCM style = heads[0]->get_property ("style");
+ return style != ly_symbol2scm ("kievan") && scm_to_int (me->get_property ("duration-log")) >= 1;
}
MAKE_SCHEME_CALLBACK (Stem, pure_height, 3)
« no previous file with comments | « lily/note-head.cc ('k') | ly/engraver-init.ly » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b