1c15bb0e49
Resolves: https://musescore.org/en/node/298273 System dividers were not being displayed in certain cases: if a fixed spacer is used, or in single page view. In addition, dividers were displaying that shouldn't be if layout changes and a system that was formerly not last on page suddenly becomes last on page, This is due to a series of errors in layoutPage() where the dividers are managed. This fix involves a number of aspects: 1) checkDivider now takes an extra boolean parameter to force deletion 2) we always call checkDivider with that parameter set to true for the last system of a page 3) in the case where we don't stretch system distance (the clause checking sList, noVerticalStretch, or System layout mode), don't just remove dividers, but do the normal checkDivider call, which adds or removes dividers as appropriate 4) in the calls to checkDivider at the end of the function (which handle the normal case of non-final systems on the page), dion't skip the checkDivider calls if a system hasFixedDownDistance. I believe that check was added because it is appropriate in other places that also check vBox, so it may have looked like this code should match. But it shouldn't, there is no reason to skip dividers in this case. Only the stretch calculations should be skipped.
330 lines
10 KiB
XML
330 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<museScore version="3.01">
|
|
<Score>
|
|
<LayerTag id="0" tag="default"></LayerTag>
|
|
<currentLayer>0</currentLayer>
|
|
<Division>480</Division>
|
|
<Style>
|
|
<pageWidth>3.93701</pageWidth>
|
|
<pageHeight>4.72441</pageHeight>
|
|
<pagePrintableWidth>3.77953</pagePrintableWidth>
|
|
<pageEvenLeftMargin>0.0787402</pageEvenLeftMargin>
|
|
<pageOddLeftMargin>0.0787402</pageOddLeftMargin>
|
|
<pageEvenTopMargin>0</pageEvenTopMargin>
|
|
<pageEvenBottomMargin>0</pageEvenBottomMargin>
|
|
<pageOddTopMargin>0</pageOddTopMargin>
|
|
<pageOddBottomMargin>0.393701</pageOddBottomMargin>
|
|
<pageTwosided>0</pageTwosided>
|
|
<minSystemDistance>4</minSystemDistance>
|
|
<lyricsDashForce>0</lyricsDashForce>
|
|
<doubleBarDistance>0.46</doubleBarDistance>
|
|
<endBarDistance>0.65</endBarDistance>
|
|
<dividerLeft>1</dividerLeft>
|
|
<clefLeftMargin>0.64</clefLeftMargin>
|
|
<clefKeyRightMargin>1.75</clefKeyRightMargin>
|
|
<barNoteDistance>1.2</barNoteDistance>
|
|
<harmonyFretDist>0.5</harmonyFretDist>
|
|
<showMeasureNumber>0</showMeasureNumber>
|
|
<hideEmptyStaves>1</hideEmptyStaves>
|
|
<dontHidStavesInFirstSystm>0</dontHidStavesInFirstSystm>
|
|
<showFooter>0</showFooter>
|
|
<defaultFramePadding>0.5</defaultFramePadding>
|
|
<defaultFrameWidth>0.2</defaultFrameWidth>
|
|
<defaultFrameRound>25</defaultFrameRound>
|
|
<titleFramePadding>0.5</titleFramePadding>
|
|
<titleFrameWidth>0.2</titleFrameWidth>
|
|
<titleFrameRound>25</titleFrameRound>
|
|
<subTitleFramePadding>0.5</subTitleFramePadding>
|
|
<subTitleFrameWidth>0.2</subTitleFrameWidth>
|
|
<subTitleFrameRound>25</subTitleFrameRound>
|
|
<composerFramePadding>0.5</composerFramePadding>
|
|
<composerFrameWidth>0.2</composerFrameWidth>
|
|
<composerFrameRound>25</composerFrameRound>
|
|
<lyricistFramePadding>0.5</lyricistFramePadding>
|
|
<lyricistFrameWidth>0.2</lyricistFrameWidth>
|
|
<lyricistFrameRound>25</lyricistFrameRound>
|
|
<fingeringFramePadding>0.5</fingeringFramePadding>
|
|
<fingeringFrameWidth>0.2</fingeringFrameWidth>
|
|
<fingeringFrameRound>25</fingeringFrameRound>
|
|
<lhGuitarFingeringFramePadding>0.5</lhGuitarFingeringFramePadding>
|
|
<lhGuitarFingeringFrameWidth>0.2</lhGuitarFingeringFrameWidth>
|
|
<lhGuitarFingeringFrameRound>25</lhGuitarFingeringFrameRound>
|
|
<rhGuitarFingeringFramePadding>0.5</rhGuitarFingeringFramePadding>
|
|
<rhGuitarFingeringFrameWidth>0.2</rhGuitarFingeringFrameWidth>
|
|
<rhGuitarFingeringFrameRound>25</rhGuitarFingeringFrameRound>
|
|
<partInstrumentFramePadding>0.5</partInstrumentFramePadding>
|
|
<partInstrumentFrameWidth>0.2</partInstrumentFrameWidth>
|
|
<partInstrumentFrameRound>25</partInstrumentFrameRound>
|
|
<tempoFramePadding>0.5</tempoFramePadding>
|
|
<tempoFrameWidth>0.2</tempoFrameWidth>
|
|
<tempoFrameRound>25</tempoFrameRound>
|
|
<systemFramePadding>0.5</systemFramePadding>
|
|
<systemFrameWidth>0.2</systemFrameWidth>
|
|
<systemFrameRound>25</systemFrameRound>
|
|
<staffAlign>left,top</staffAlign>
|
|
<staffPosAbove x="0" y="-4"/>
|
|
<staffFramePadding>0.5</staffFramePadding>
|
|
<staffFrameWidth>0.2</staffFrameWidth>
|
|
<staffFrameRound>25</staffFrameRound>
|
|
<repeatLeftFramePadding>0.5</repeatLeftFramePadding>
|
|
<repeatLeftFrameWidth>0.2</repeatLeftFrameWidth>
|
|
<repeatLeftFrameRound>25</repeatLeftFrameRound>
|
|
<repeatRightFramePadding>0.5</repeatRightFramePadding>
|
|
<repeatRightFrameWidth>0.2</repeatRightFrameWidth>
|
|
<repeatRightFrameRound>25</repeatRightFrameRound>
|
|
<Spatium>1.764</Spatium>
|
|
</Style>
|
|
<showInvisible>1</showInvisible>
|
|
<showUnprintable>1</showUnprintable>
|
|
<showFrames>1</showFrames>
|
|
<showMargins>1</showMargins>
|
|
<metaTag name="arranger"></metaTag>
|
|
<metaTag name="composer"></metaTag>
|
|
<metaTag name="copyright"></metaTag>
|
|
<metaTag name="lyricist"></metaTag>
|
|
<metaTag name="movementNumber"></metaTag>
|
|
<metaTag name="movementTitle"></metaTag>
|
|
<metaTag name="poet"></metaTag>
|
|
<metaTag name="source"></metaTag>
|
|
<metaTag name="translator"></metaTag>
|
|
<metaTag name="workNumber"></metaTag>
|
|
<metaTag name="workTitle"></metaTag>
|
|
<Part>
|
|
<Staff id="1">
|
|
<StaffType group="pitched">
|
|
<name>stdNormal</name>
|
|
</StaffType>
|
|
<bracket type="1" span="2" col="0"/>
|
|
<barLineSpan>1</barLineSpan>
|
|
</Staff>
|
|
<Staff id="2">
|
|
<StaffType group="pitched">
|
|
<name>stdNormal</name>
|
|
</StaffType>
|
|
<defaultClef>F</defaultClef>
|
|
</Staff>
|
|
<trackName>Piano</trackName>
|
|
<Instrument>
|
|
<longName>Piano</longName>
|
|
<shortName>Pno.</shortName>
|
|
<trackName>Piano</trackName>
|
|
<minPitchP>21</minPitchP>
|
|
<maxPitchP>108</maxPitchP>
|
|
<minPitchA>21</minPitchA>
|
|
<maxPitchA>108</maxPitchA>
|
|
<instrumentId>keyboard.piano</instrumentId>
|
|
<clef staff="2">F</clef>
|
|
<Articulation>
|
|
<velocity>100</velocity>
|
|
<gateTime>95</gateTime>
|
|
</Articulation>
|
|
<Articulation name="staccatissimo">
|
|
<velocity>100</velocity>
|
|
<gateTime>33</gateTime>
|
|
</Articulation>
|
|
<Articulation name="staccato">
|
|
<velocity>100</velocity>
|
|
<gateTime>50</gateTime>
|
|
</Articulation>
|
|
<Articulation name="portato">
|
|
<velocity>100</velocity>
|
|
<gateTime>67</gateTime>
|
|
</Articulation>
|
|
<Articulation name="tenuto">
|
|
<velocity>100</velocity>
|
|
<gateTime>100</gateTime>
|
|
</Articulation>
|
|
<Articulation name="marcato">
|
|
<velocity>120</velocity>
|
|
<gateTime>67</gateTime>
|
|
</Articulation>
|
|
<Articulation name="sforzato">
|
|
<velocity>120</velocity>
|
|
<gateTime>100</gateTime>
|
|
</Articulation>
|
|
<Channel>
|
|
<program value="0"/>
|
|
</Channel>
|
|
</Instrument>
|
|
</Part>
|
|
<Staff id="1">
|
|
<Measure>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<LayoutBreak>
|
|
<subtype>line</subtype>
|
|
</LayoutBreak>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<vspacerFixed>8</vspacerFixed>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<LayoutBreak>
|
|
<subtype>line</subtype>
|
|
</LayoutBreak>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>72</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
</Staff>
|
|
<Staff id="2">
|
|
<Measure>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>48</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Chord>
|
|
<durationType>quarter</durationType>
|
|
<Note>
|
|
<pitch>48</pitch>
|
|
<tpc>14</tpc>
|
|
</Note>
|
|
</Chord>
|
|
<Rest>
|
|
<durationType>quarter</durationType>
|
|
</Rest>
|
|
<Rest>
|
|
<durationType>half</durationType>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Rest>
|
|
<durationType>measure</durationType>
|
|
<duration>4/4</duration>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Rest>
|
|
<durationType>measure</durationType>
|
|
<duration>4/4</duration>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Rest>
|
|
<durationType>measure</durationType>
|
|
<duration>4/4</duration>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
<Measure>
|
|
<voice>
|
|
<Rest>
|
|
<durationType>measure</durationType>
|
|
<duration>4/4</duration>
|
|
</Rest>
|
|
</voice>
|
|
</Measure>
|
|
</Staff>
|
|
</Score>
|
|
</museScore>
|