Re: transition between full-length and shortened stems - please discuss

2011-02-25 Thread Janek Warchoł
2011/2/24 Janek Warchoł lemniskata.bernoull...@gmail.com: See differences in output between original patch (variant 1): http://www.sendspace.com/file/d8jk3o and new patch: http://www.sendspace.com/file/tgmlfc Proof-sheet source code in attachment. Ooops, i forgot the attachment... Here it

Re: transition between full-length and shortened stems - please discuss

2011-02-24 Thread Janek Warchoł
Hi, 2011/2/22 Janek Warchoł lemniskata.bernoull...@gmail.com I'll cook appropriate function tomorrow. Thanks, Janek I'm very sorry for the delay, i had some trouble with git. I've uploaded new patch for review, it supports custom stem lengths and staves with custom line count. See

Re: transition between full-length and shortened stems - please discuss

2011-02-21 Thread Bernard Hurley
On Sun, Feb 20, 2011 at 11:08:05PM -0300, Han-Wen Nienhuys wrote: 2011/2/20 Han-Wen Nienhuys hanw...@gmail.com: This change is default over current lily, so let's put it in. I can't this change is an improvement over current lily It took me a lng time see any difference between the

Re: transition between full-length and shortened stems - please discuss

2011-02-21 Thread Janek Warchoł
2011/2/21 Han-Wen Nienhuys hanw...@gmail.com: Can you make your code be less hardcoded?  I propose something like:  factor = (1+abs(hp[dir])) / (2*staff_radius + 1)  shorten *= min(factor, 1.0) What staff_radius is? I tried to find an explanation, but to no avail... this way, it will work

Re: transition between full-length and shortened stems - please discuss

2011-02-21 Thread Han-Wen Nienhuys
2011/2/21 Janek Warchoł lemniskata.bernoull...@gmail.com: 2011/2/21 Han-Wen Nienhuys hanw...@gmail.com: Can you make your code be less hardcoded?  I propose something like:  factor = (1+abs(hp[dir])) / (2*staff_radius + 1)  shorten *= min(factor, 1.0) What staff_radius is? I tried to find

Re: transition between full-length and shortened stems - please discuss

2011-02-21 Thread Janek Warchoł
2011/2/21 Han-Wen Nienhuys hanw...@gmail.com: 2011/2/21 Janek Warchoł lemniskata.bernoull...@gmail.com: 2011/2/21 Han-Wen Nienhuys hanw...@gmail.com: Can you make your code be less hardcoded?  I propose something like:  factor = (1+abs(hp[dir])) / (2*staff_radius + 1)  shorten *= min(factor,

Re: transition between full-length and shortened stems - please discuss

2011-02-20 Thread Graham Percival
On 2/13/11, Janek Warchoł lemniskata.bernoull...@gmail.com wrote: This is the first part of a series of changes to the stems and flags. The suggested change is small, but in my opinion important. Thanks you for creating such an excellent report on the matter. You took the time to create two

Re: transition between full-length and shortened stems - please discuss

2011-02-20 Thread Han-Wen Nienhuys
2011/2/13 Janek Warchoł lemniskata.bernoull...@gmail.com: This is the first part of a series of changes to the stems and flags. The suggested change is small, but in my opinion important. Look at the attached transition testing.pdf - it illustrates the problem: the 'b' stem is definately too

Re: transition between full-length and shortened stems - please discuss

2011-02-20 Thread Han-Wen Nienhuys
2011/2/20 Han-Wen Nienhuys hanw...@gmail.com: This change is default over current lily, so let's put it in. I can't this change is an improvement over current lily [time to go to bed, I guess] -- Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen

transition between full-length and shortened stems - please discuss

2011-02-13 Thread Janek Warchoł
Hi, This is the first part of a series of changes to the stems and flags. The suggested change is small, but in my opinion important. Look at the attached transition testing.pdf - it illustrates the problem: the 'b' stem is definately too short (it should not end at the same level as the stem of

Re: transition between full-length and shortened stems - please discuss

2011-02-13 Thread Werner LEMBERG
First one has the advantage of being very simple, while the second may be more smooth to the eye (but the difference isn't really that big). I prefer the first solution but I don't cast my mind in stone :-) Werner ___ lilypond-devel mailing