Re: Uses horizontal skylines in accidental placement (issue 6489086)

2013-07-16 Thread k-ohara5a5a
https://codereview.appspot.com/6489086/diff/11/lily/accidental.cc File lily/accidental.cc (right): https://codereview.appspot.com/6489086/diff/11/lily/accidental.cc#newcode89 lily/accidental.cc:89: (my_stencil->smobbed_copy (), 0.0, Y_AXIS)); We need to check that my_stencil exists here, in case

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-10-04 Thread Janek Warchoł
On Fri, Sep 28, 2012 at 8:56 AM, wrote: > http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc#newcode377 > lily/accidental-placement.cc:377: Real offset = > -ape->horizontal_skylines_[RIGHT].distance (left_skyline); > Both Mike and Janek thought the accidentals needed a bit

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-28 Thread Janek Warchoł
accidental spacing comparison posted as comment 4 in issue 2141 http://code.google.com/p/lilypond/issues/detail?id=2141#c4 On Fri, Sep 28, 2012 at 8:56 AM, wrote: > Both Mike and Janek thought the accidentals needed a bit more padding > for close intervals, so I think Janek should try horizon_pa

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-27 Thread k-ohara5a5a
http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc File lily/accidental-placement.cc (right): http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc#newcode377 lily/accidental-placement.cc:377: Real offset = -ape->horizontal_skylines_[RIGHT].distance (

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-27 Thread David Kastrup
Janek Warchoł writes: > There were three patchsets (maybe more). If it looks catastrophic, > I trust you - just revert it in staging and send me a short > example w/ the regression and I'll work on it. > > It looks to me that this patch is way past staging, so i'm not sure if > it mak

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-27 Thread Janek Warchoł
On Thursday, September 27, 2012, m...@mikesolomon.org wrote: > On 27 sept. 2012, at 13:56, Janek Warchoł > wrote: > > Um, Mike, i've just checked and current master has many cases of bad > > accidental placement - many accidentals are too close to each other. > > For example, . It looks pretty

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-27 Thread m...@mikesolomon.org
On 27 sept. 2012, at 13:56, Janek Warchoł wrote: > On Thu, Sep 27, 2012 at 1:20 PM, Janek Warchoł > wrote: >> On Sat, Sep 8, 2012 at 5:43 PM, m...@mikesolomon.org >> wrote: >>> OK - I'll be able to fix all the broken stuff on Monday or Tuesday. >> >> Whoah, this was pushed and i didn't notice

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-27 Thread Janek Warchoł
On Thu, Sep 27, 2012 at 1:20 PM, Janek Warchoł wrote: > On Sat, Sep 8, 2012 at 5:43 PM, m...@mikesolomon.org > wrote: >> OK - I'll be able to fix all the broken stuff on Monday or Tuesday. > > Whoah, this was pushed and i didn't notice anything... and regtests > that James posted are no longer av

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-08 Thread m...@mikesolomon.org
On 8 sept. 2012, at 08:46, k-ohara5...@oco.net wrote: > On 2012/09/08 05:28:02, Keith wrote: >> now I measure it 2% /faster/ than master. > > Of course that makes no sense. I got confused of which executable I had > when switching between patches. This patch is still about 6% slower > than mas

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-07 Thread k-ohara5a5a
On 2012/09/08 05:28:02, Keith wrote: now I measure it 2% /faster/ than master. Of course that makes no sense. I got confused of which executable I had when switching between patches. This patch is still about 6% slower than master, buy maybe worth it. Also, 'accidental-single-double.ly' is b

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-07 Thread k-ohara5a5a
Still looks great (except when Phil's computer cancels double-flats, etc.) and now I measure it 2% /faster/ than master. http://codereview.appspot.com/6489086/diff/8003/lily/accidental.cc File lily/accidental.cc (right): http://codereview.appspot.com/6489086/diff/8003/lily/accidental.cc#newcode

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-07 Thread m...@mikesolomon.org
On 7 sept. 2012, at 10:11, k-ohara5...@oco.net wrote: > The output looks very nice, even with half-sharps, reverse flats, etc. > The patch makes compilation take 6% longer (depending on accidental > density). > > The reverse flats don't get any extra space around their stems, but I > haven't fin

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-07 Thread k-ohara5a5a
The output looks very nice, even with half-sharps, reverse flats, etc. The patch makes compilation take 6% longer (depending on accidental density). The reverse flats don't get any extra space around their stems, but I haven't find a case where they need it, because they are placed in the same o

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-06 Thread Janek Warchoł
Bah, Rietveld ate my message. On Thu, Sep 6, 2012 at 11:55 AM, m...@mikesolomon.org wrote: > >> I think adding horizontal padding may solve them fine. > > It may be more subtle than that. Quite possible. > Compile stuff with the most recent patch set and then send me a diagram of > how far stu

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-06 Thread m...@mikesolomon.org
On 6 sept. 2012, at 10:06, janek.lilyp...@gmail.com wrote: > Patchset 2 screws everything up, LOL! It was one of my more colossal breakings of LilyPond - I'll add it to the top 10. > http://lilypond-stuff.1065243.n5.nabble.com/file/n5705606/accidental-spacing-pairs_patchset2.pdf > > In previo

Re: Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-06 Thread janek . lilypond
Patchset 2 screws everything up, LOL! http://lilypond-stuff.1065243.n5.nabble.com/file/n5705606/accidental-spacing-pairs_patchset2.pdf In previous output (see tracker issue http://code.google.com/p/lilypond/issues/detail?id=2811#c4) there were several cases of too close accidentals. I think addi

Uses horizontal skylines in accidental placement (issue 6489086)

2012-09-05 Thread k-ohara5a5a
I like it, but we need to figure out what went wrong with 'accidental-tie.ly'. There was some trickery involving holding space open for the accidental that might be needed on the second note of a tied pair, iff the tie is broken across lines. Ted Ross' textbook puts the upper flat about 0.5 staf