[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ClefModifier placement
From: |
Noeck |
Subject: |
ClefModifier placement |
Date: |
Tue, 21 Jan 2014 10:04:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hi all,
I have a set of overrides for ClefModifiers. Perhaps they are
interesting for some people on this list (a) and perhaps also as a
contribution to the discussion (b) of issues 3186 and 3310:
http://code.google.com/p/lilypond/issues/detail?id=3186
http://code.google.com/p/lilypond/issues/detail?id=3310
a) for personal use: You probably have only one of those modifiers per
staff and you can just choose the matching override, if you like it.
Here is what that looks like. First the LilyPond defaults, in the second
line only these moved positions and in the third line combined with a
bold italic font (which makes the line thickness more consistent with
the clef itself and looks more like a single combined glyph).
b) as part of these issues: It is not an automated way and therefore
probably not much help in solving these issues. But perhaps it can help
in the discussion where the numbers should be placed.
My "algorithm" to find the positions was like this:
- horizontally centred on the highest/lowest curve of the glyph
(with two exceptions: for the alto clef, I chose the round part to
centre it on; for the bass clef the numbers are touching the clef
from the lower right side.)
- the vertical position is as close as possible to the clef (even
slightly overlapping) and not necessarily outside the staff lines.
Are the glyph shapes available during the automatic positioning? Such
that these top and bottom parts of the glyphs could be used for positioning?
Is this worth appending to issue 3186?
Cheers,
Joram
ClefModifier.ly
Description: Text Data
ClefModifier.pdf
Description: Adobe PDF document
- ClefModifier placement,
Noeck <=