]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos.cc
* lily/ledger-line-engraver.cc: new file.
[lilypond.git] / lily / custos.cc
index 45f83c64dc90266ff8cd64d0c39d27f9d744972a..0fb9f115a2a971564074a63b17de033d0c592ff3 100644 (file)
@@ -85,20 +85,8 @@ Custos::print (SCM smob)
       me->warning (_f ("custos `%s' not found", font_char));
       return SCM_EOL;
     }
-  else
-    {
-      // add ledger lines
-      int pos = Staff_symbol_referencer::get_rounded_position (me);
-      int interspaces = Staff_symbol_referencer::line_count (me)-1;
-      if (abs (pos) - interspaces > 1)
-       {
-         Stencil ledger_lines =
-           Note_head::brew_ledger_lines (me, pos, interspaces,
-                                         stencil.extent (X_AXIS), 0, true);
-         stencil.add_stencil (ledger_lines);
-       }
-      return stencil.smobbed_copy ();
-    }
+
+  return stencil.smobbed_copy ();
 }
 
 ADD_INTERFACE (Custos, "custos-interface",