[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore default-stem-attachment with note-head-stencil-overri
From: |
Keith OHara |
Subject: |
Re: How to restore default-stem-attachment with note-head-stencil-override? |
Date: |
Wed, 18 Jul 2012 19:23:46 -0700 |
User-agent: |
Opera Mail/12.00 (Win32) |
On Wed, 18 Jul 2012 13:56:09 -0700, Thomas Morley <address@hidden> wrote:
But reading out x- and y-length of the NoteHead-stencil, and comparing
their quotient with the quotient build from the values I got via
'stem-attachment, different results are returned.
x-length 1.316178
y-length 1.100012
[stem-attachment] (1.0 . 0.341476274804275)
The stem attaches at 1.0 times the width of the head, 0.34 times the height,
so for the default note-head it attaches at (1.32 staff-space, 0.37 staff-space)
... or possibly the origin is in the middle of the head, so stem might attache
at half what I figured, (0.66 0.18) relative to the center.
When you make a bigger stencil by putting a box around, it will be about
2.0 high and 2.0 wide, so the desired stem-attachment will be around (0.50,
0.17)
Maybe you can figure the new stem-attachment coordinates based on the new height
and width, but it looks easier to choose them by hand, as part of designing a
new note-head.