forked from opensheetmusicdisplay/opensheetmusicdisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(BoundingBox): Fix PageTopMargin also partly added to a bottom mar…
…gin / container size in certain cases (opensheetmusicdisplay#1245)
- Loading branch information
sschmidTU
committed
Sep 30, 2022
1 parent
6e90aa2
commit fa5fa7c
Showing
5 changed files
with
127 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> | ||
<score-partwise version="3.1"> | ||
<work> | ||
<work-title>test_PageBottomMargin0</work-title> | ||
</work> | ||
<identification> | ||
<creator type="composer">Composer</creator> | ||
<encoding> | ||
<software>MuseScore 3.6.2</software> | ||
<encoding-date>2022-09-30</encoding-date> | ||
<supports element="accidental" type="yes"/> | ||
<supports element="beam" type="yes"/> | ||
<supports element="print" attribute="new-page" type="yes" value="yes"/> | ||
<supports element="print" attribute="new-system" type="yes" value="yes"/> | ||
<supports element="stem" type="yes"/> | ||
</encoding> | ||
</identification> | ||
<defaults> | ||
<scaling> | ||
<millimeters>6.99911</millimeters> | ||
<tenths>40</tenths> | ||
</scaling> | ||
<page-layout> | ||
<page-height>1596.77</page-height> | ||
<page-width>1233.87</page-width> | ||
<page-margins type="even"> | ||
<left-margin>85.7252</left-margin> | ||
<right-margin>85.7252</right-margin> | ||
<top-margin>85.7252</top-margin> | ||
<bottom-margin>85.7252</bottom-margin> | ||
</page-margins> | ||
<page-margins type="odd"> | ||
<left-margin>85.7252</left-margin> | ||
<right-margin>85.7252</right-margin> | ||
<top-margin>85.7252</top-margin> | ||
<bottom-margin>85.7252</bottom-margin> | ||
</page-margins> | ||
</page-layout> | ||
<word-font font-family="Edwin" font-size="10"/> | ||
<lyric-font font-family="Edwin" font-size="10"/> | ||
</defaults> | ||
<credit page="1"> | ||
<credit-type>title</credit-type> | ||
<credit-words default-x="616.935" default-y="1511.05" justify="center" valign="top" font-size="22">Title</credit-words> | ||
</credit> | ||
<credit page="1"> | ||
<credit-type>composer</credit-type> | ||
<credit-words default-x="1148.15" default-y="1411.05" justify="right" valign="bottom">Composer</credit-words> | ||
</credit> | ||
<part-list> | ||
<score-part id="P1"> | ||
<part-name>Piano</part-name> | ||
<part-abbreviation>Pno.</part-abbreviation> | ||
<score-instrument id="P1-I1"> | ||
<instrument-name>Piano</instrument-name> | ||
</score-instrument> | ||
<midi-device id="P1-I1" port="1"></midi-device> | ||
<midi-instrument id="P1-I1"> | ||
<midi-channel>1</midi-channel> | ||
<midi-program>1</midi-program> | ||
<volume>78.7402</volume> | ||
<pan>0</pan> | ||
</midi-instrument> | ||
</score-part> | ||
</part-list> | ||
<part id="P1"> | ||
<measure number="1" width="313.47"> | ||
<print> | ||
<system-layout> | ||
<system-margins> | ||
<left-margin>50.00</left-margin> | ||
<right-margin>665.23</right-margin> | ||
</system-margins> | ||
<top-system-distance>170.00</top-system-distance> | ||
</system-layout> | ||
</print> | ||
<attributes> | ||
<divisions>1</divisions> | ||
<key> | ||
<fifths>0</fifths> | ||
</key> | ||
<time> | ||
<beats>4</beats> | ||
<beat-type>4</beat-type> | ||
</time> | ||
<clef> | ||
<sign>G</sign> | ||
<line>2</line> | ||
</clef> | ||
</attributes> | ||
<note default-x="84.22" default-y="-80.00"> | ||
<pitch> | ||
<step>D</step> | ||
<octave>3</octave> | ||
</pitch> | ||
<duration>4</duration> | ||
<voice>1</voice> | ||
<type>whole</type> | ||
</note> | ||
<barline location="right"> | ||
<bar-style>light-heavy</bar-style> | ||
</barline> | ||
</measure> | ||
</part> | ||
</score-partwise> |