grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
152 stars 34 forks source link

Slope explosion on long Slurs #90

Closed arshiacont closed 4 years ago

arshiacont commented 5 years ago

Unit test:

{[ 
   (* meas. 44 *)  \key<-3> \slurBegin:1<curve="up"> \beamBegin:1 e&3/8. d/16 c/8 \beamEnd:1 \beamBegin:1 b&2/8. a&/16 g/8 \beamEnd:1 \bar 
   (* meas. 45 *)  \beamBegin:1 f/8. g/16 e/8 \beamEnd:1 \beamBegin:1 f/8. d&/16 d/8 \beamEnd:1 \bar 
   (* meas. 46 *)  \beamBegin:1 e&/8. f/16 d/8 \beamEnd:1 \beamBegin:1 e&/8. c&/16 d&/8 \beamEnd:1 \bar 
   (* meas. 47 *)  e&/4. b&1/8 \slurEnd:1 _/8 _/8 \bar 
   (* meas. 48 *)  _*3/4 \bar 
 ]
  }

This is a sample. We so this problem alot.

The slur height is too big and when put in a real score, this pattern persists and goes beyond its system bounding box as seen here:

image
dfober commented 5 years ago

a partial fix has been pushed to git actually slurs need to be redesigned (which requires more time)

dfober commented 4 years ago

I think I can close this one now.