From: Carl Worth Date: Tue, 1 Oct 2013 17:41:32 +0000 (-0700) Subject: Add a little space between key signature and notes. X-Git-Url: https://git.cworth.org/git?p=scherzo;a=commitdiff_plain;h=0f35fc024a3ed3ef4e111aaef1fb449658ec9a68 Add a little space between key signature and notes. Otherwise, it was hard to tell which accidentals belonged to notes, and which to accidentals. --- diff --git a/score.c b/score.c index 690a9d2..f8373ab 100644 --- a/score.c +++ b/score.c @@ -546,6 +546,9 @@ _draw_staff (score_t *score, cairo_t *cr, /* Draw the key signature */ _draw_key_signature (score, cr, staff); +#define KEY_SIGNATURE_NOTE_SPACING (score->space_height) + cairo_translate (cr, ceil (KEY_SIGNATURE_NOTE_SPACING), 0); + /* Draw chord symbols */ cairo_save (cr); {