Menu

#2065 Scripts in cross-staff constructions can collide with span bars

Verified
nobody
Ugly
2015-09-19
2011-11-30
Anonymous
No

Originally created by: *anonymous

Originally created by: k-ohara5...@oco.net

This is a minor issue known from patch reviews, that I just don't want to forget. 
   \new GrandStaff <<
    \new Staff = "a" {g1 R s }
    \new Staff = "b" {
      \clef bass [r1] [r2]. g8( b |
      d'\prall\espressivo \change Staff="a" b') g'2.} >>

The espressivo has always collided with the stem; now it collides with the span bar as well.

[r4f49b000d6e257724e311b406e2346b8388c1f0e] is the first bad commit :
Improves horizontal spacing of vertical axis groups that span bars traverse.  Fixes issue 1846.

1 Attachments

Related

Issues: #1846

Discussion

  • Google Importer

    Google Importer - 2011-12-11

    Originally posted by: mts...@gmail.com

    The problem is that the Script is marked as cross-staff and thus not taken into account in the Separation_item::boxes.  This is going to be difficult to fix, as cross-staffitude is hard wired all over LilyPond and if you mess with it one place, it comes back to bite you in 5.

    I'll mull it over...

     
  • Google Importer

    Google Importer - 2011-12-11

    Originally posted by: mts...@gmail.com

    Interesting - if you add \override Score . Script #'cross-staff = ##f, it doesn't fix the problem.  So the cross-staffitude is factoring in in a much more subtle way.

     
  • Google Importer

    Google Importer - 2011-12-11

    Originally posted by: mts...@gmail.com

    Prevents SpanBar Script collisions.

    http://codereview.appspot.com/5478064

    Labels: Patch-new

     
  • Google Importer

    Google Importer - 2011-12-11

    Originally posted by: k-ohara5...@oco.net

    > The problem is ... not taken into account in the Separation_item::boxes.
    Just to correct the record, cross-staff items like the espressivo in the example /do/ get boxes for horizontal spacing.  That's how they avoid bar lines within the staff, formerly avoided the old SpanBars, and /usually/ get spaced away from the new SpanBarStubs. 
    The new SpanBarStubs sometimes get confused about how high they need to be.

     
  • Google Importer

    Google Importer - 2011-12-11

    Originally posted by: mts...@gmail.com

    Slight re-correction: there are actually no SpanBarStubs created in the example above.  Everything is done through extra-spacing-height, which for some reason doesn't like cross-staff Stems.

    Actually, the pure-from-neighbor-interface could be used to prevent stem-on-articulation collisions.  You just need to create a grob MusicalSpacingStub, let it use this interface, and it'll block this sorta collision the same way that SpanBarStubs block Lyric vs SpanBar collisions.

    Cheers,
    MS

     
  • Google Importer

    Google Importer - 2011-12-12

    Originally posted by: lilypond...@gmail.com

    Patchy the autobot says: LGTM.

    Labels: Patch-review

     
  • Google Importer

    Google Importer - 2011-12-13

    Originally posted by: ColinPKC...@gmail.com

    (No comment was entered for this change.)

    Labels: -Patch-review Patch-countdown

     
  • Google Importer

    Google Importer - 2011-12-15

    Originally posted by: ColinPKC...@gmail.com

    Counted down to 20111215

    Labels: -Patch-countdown Patch-push

     
  • Google Importer

    Google Importer - 2011-12-16

    Originally posted by: mts...@gmail.com

    Pushed to staging as [r5543eb5b0378bc726684a686b799e4ff4dc5f4cc].

    Status: Fixed

     
  • Google Importer

    Google Importer - 2011-12-16

    Originally posted by: colingh...@gmail.com

    Verified that commit is present in staging

    Status: Verified

     
  • Anonymous

    Anonymous - 2015-09-19
    • Patch: push -->
     
  • Anonymous

    Anonymous - 2015-09-19

    .

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.