[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Attachment of reversed noteheads
From: |
Han-Wen Nienhuys |
Subject: |
Re: Attachment of reversed noteheads |
Date: |
Fri, 4 Oct 2002 23:10:00 +0200 |
address@hidden writes:
> Jan Nieuwenhuizen wrote:
>
> >>Is it on purpose that noteheads attached to the "wrong" side of the
> >>stem are shifted noteheadwidth instead of noteheadwidth-stemwidth ...
>
> > Ouch. Good catch.
>
> Okay, I take that as a "no" :-)
>
> When trying to fix it I stumbled over this imho senseless piece of code
> in stem.cc:
>
> bool invisible = invisible_b (me);
> Real thick = 0.0;
> if (invisible)
> thick = gh_scm2double (me->get_grob_property ("thickness"))
> * me->get_paper ()->get_var ("linethickness");
>
>
> I cannot see that it makes sense only to calculate the width of the stem
> if it is invisible.
I think this is for whole notes. Since there is no stem, they have to
be kerned. Can you check wether your patch works for whole notes?
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen