Menu

#5211 Merge_rests_engraver: fix vertical rest positions

Fixed
Enhancement
2017-10-14
2017-10-04
Malte Meyn
No

Merge_rests_engraver: fix vertical rest positions

When used with \magnifyStaff the engraver failed to position merged
rests correctly. Using staff-position instead of Y-offset for vertical
positioning fixes this.

http://codereview.appspot.com/334740043

Discussion

  • Anonymous

    Anonymous - 2017-10-04
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> review
     
  • Anonymous

    Anonymous - 2017-10-04

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2017-10-05
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2017-10-05

    Patch on countdown for October 8th

     
  • Malte Meyn

    Malte Meyn - 2017-10-06
    • Patch: countdown --> needs_work
     
  • Malte Meyn

    Malte Meyn - 2017-10-06

    cleaner solution, added regtests

    http://codereview.appspot.com/334740043

     
  • Malte Meyn

    Malte Meyn - 2017-10-07

    replace moment=? by equal?

    http://codereview.appspot.com/334740043

     
  • Anonymous

    Anonymous - 2017-10-07
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2017-10-07

    Passes make.make check and a full make doc.

     
  • Anonymous

    Anonymous - 2017-10-11
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2017-10-11

    Patch on countdown for Oct 14th

     
  • Anonymous

    Anonymous - 2017-10-14
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2017-10-14

    Patch counted down - please push

     
  • Malte Meyn

    Malte Meyn - 2017-10-14
    • labels: --> Fixed_2_21_0
    • status: Started --> Fixed
    • Patch: push -->
     
  • David Kastrup

    David Kastrup - 2017-10-14

    Please give a pointer to the commit when marking an issue as Fixed.

    This has been pushed to staging as
    commit b5e8932ebc2bc86d852b5bc1a6e16e2c9c29009d
    Author: Malte Meyn lilypond@maltemeyn.de
    Date: Fri Oct 6 22:45:38 2017 +0200

    Issue 5211/2: add regtest
    
    Add a regtest for Merge_rests_engraver with \magnifyStaff.
    
    Also add a brevis MMR to the original Merge_rests_engraver regtest.
    

    commit 2c01a60d5a6e91e85e133efe1e2550db74aea089
    Author: Malte Meyn lilypond@maltemeyn.de
    Date: Wed Oct 4 09:58:34 2017 +0200

    Issue 5211/1: fix positioning of merged rests
    
    When used with \magnifyStaff the Merge_rests_engraver failed to position
    merged rests correctly. Using 'staff-position for Rests and 'direction
    for MultiMeasureRests instead of 'Y-offset fixes this.
    
    This also fixes the positioning of brevis MMRs as in
        { \time 4/2 R\breve }
    
     
    • Malte Meyn

      Malte Meyn - 2017-10-14

      Thanks for the pointer, I’ll do that next time. It looks like I have to learn some things that aren’t mentioned in the CG or that I overlooked but I’ll try my best to learn fast.

       
      • David Kastrup

        David Kastrup - 2017-10-14

        The CG is our best reference for contributors, but that does not mean that it cannot be improved. It tends to be updated as people learn.

         
      • Thomas Morley

        Thomas Morley - 2017-10-14