+ note_glyph.y = score->space_height * line;
+
+ if (line < 0 || line > 4) {
+ int i;
+ cairo_text_extents_t note_extents;
+
+ cairo_glyph_extents (cr, ¬e_glyph, 1, ¬e_extents);
+
+ if (line < 0) {
+ for (i = -1; i >= line; i--)
+ _draw_ledger_line (i, note_extents.width);
+ } else {
+ for (i = 5; i <= line; i++)
+ _draw_ledger_line (i, note_extents.width);
+ }
+ }