fix #135791: Dynamics text style should be italic. More compatibility of text styles and markers

This commit is contained in:
lasconic 2016-10-07 22:45:12 +02:00
parent 6d9fe79cc0
commit 54fbb4eb74
27 changed files with 853 additions and 16 deletions

View file

@ -202,9 +202,6 @@ void Marker::read(XmlReader& e)
else if (!Text::readProperties(e))
e.unknown();
}
// REPEAT is obsolete, but was previously used for both left and right aligned text
if (textStyleType() == TextStyleType::REPEAT)
setTextStyleType(TextStyleType::REPEAT_LEFT);
setMarkerType(mt);
}

View file

@ -333,7 +333,6 @@ MS_QML_ENUM(TextStyleType, signed char,\
REHEARSAL_MARK,\
REPEAT_LEFT, /* align to start of measure */\
REPEAT_RIGHT, /* align to end of measure */\
REPEAT, /* obsolete */\
VOLTA,\
FRAME,\
\

View file

@ -49,6 +49,7 @@
#include "utils.h"
#include "accidental.h"
#include "fingering.h"
#include "marker.h"
#include "read206.h"
namespace Ms {
@ -1148,6 +1149,17 @@ static void readMeasure(Measure* m, int staffIdx, XmlReader& e)
Element* el = Element::name2Element(tag, m->score());
el->setTrack(e.track());
el->read(e);
if (el->isMarker()) {
Marker* m = toMarker(el);
if (m->markerType() == Marker::Type::SEGNO || m->markerType() == Marker::Type::CODA ||
m->markerType() == Marker::Type::VARCODA || m->markerType() == Marker::Type::CODETTA) {
// force the marker type for correct display
m->setXmlText("");
m->setMarkerType(m->markerType());
m->setTextStyleType(TextStyleType::REPEAT_LEFT);
}
}
m->add(el);
}
else if (tag == "Image") {
@ -1506,6 +1518,10 @@ static QString convertOldTextStyleNames(const QString& s)
rs = "Text Line";
else if (s == "Tuplets")
rs = "Tuplet";
else if (s == "Dynamics2")
rs = "Dynamics";
else if (s == "Repeat Text")
rs = "Repeat Text Right";
return rs;
}
@ -1720,6 +1736,9 @@ Score::FileError MasterScore::read114(XmlReader& e)
ts.setSquare(false);
ts.setFrameRound(20);
style()->setTextStyle(ts);
ts = style()->textStyle("Dynamics");
ts.setItalic(false);
style()->setTextStyle(ts);
TempoMap tm;
while (e.readNextStartElement()) {

View file

@ -398,6 +398,19 @@ static void readChord(Chord* chord, XmlReader& e)
}
}
//---------------------------------------------------------
// convertOldTextStyleNames
//---------------------------------------------------------
static QString convertOldTextStyleNames(const QString& s)
{
QString rs(s);
// convert 2.0 text styles
if (s == "Repeat Text")
rs = "Repeat Text Right";
return rs;
}
//---------------------------------------------------------
// ArticulationNames
//---------------------------------------------------------
@ -1136,6 +1149,8 @@ static void readStyle(MStyle* style, XmlReader& e)
if (tag == "TextStyle") {
TextStyle s;
s.read(e);
// convert old 2.0 text styles
s.setName(convertOldTextStyleNames(s.name()));
style->setTextStyle(s);
}
else if (tag == "Spatium")
@ -1440,6 +1455,9 @@ Score::FileError MasterScore::read206(XmlReader& e)
ts.setSquare(false);
ts.setFrameRound(20);
style()->setTextStyle(ts);
ts = style()->textStyle("Dynamics");
ts.setItalic(false);
style()->setTextStyle(ts);
qDebug("read206");
while (e.readNextStartElement()) {

View file

@ -359,7 +359,7 @@ void initStyle(MStyle* s)
AlignmentFlags::LEFT | AlignmentFlags::TOP, QPointF(), OffsetType::ABS));
// dynamics size is 12pt for bravura-text
s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Dynamics"), ff, 12, false, false,false,
s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Dynamics"), ff, 12, false, true,false,
AlignmentFlags::HCENTER | AlignmentFlags::BASELINE, QPointF(0.0, 8.0), OffsetType::SPATIUM, true));
s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Technique"), ff, 12, false, true, false,
AlignmentFlags::LEFT | AlignmentFlags::BASELINE, QPointF(0.0, -2.0), OffsetType::SPATIUM, true));
@ -405,11 +405,6 @@ void initStyle(MStyle* s)
AlignmentFlags::RIGHT | AlignmentFlags::BASELINE, QPointF(0, -2.0), OffsetType::SPATIUM, true, false,
false, Spatium(0.2), Spatium(0.5), 25, Qt::black, false, true));
// for backward compatibility
s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Repeat Text"), ff, 12, false, false, false,
AlignmentFlags::RIGHT | AlignmentFlags::BASELINE, QPointF(0, -2.0), OffsetType::SPATIUM, true, false,
false, Spatium(0.2), Spatium(0.5), 25, Qt::black, false, true));
// y offset may depend on voltaHook style element
s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Volta"), ff, 11, true, false, false,
AlignmentFlags::LEFT | AlignmentFlags::BASELINE, QPointF(0.5, 1.9), OffsetType::SPATIUM, true));
@ -574,8 +569,6 @@ TextStyleType MStyle::textStyleType(const QString& name) const
if (_textStyles[i].name() == name)
return TextStyleType(i);
}
if (name == "Dynamics2")
return TextStyleType::DYNAMICS;
qDebug("TextStyleType <%s> not found", qPrintable(name));
return TextStyleType::DEFAULT;
}

View file

@ -2285,7 +2285,7 @@ bool Text::readProperties(XmlReader& e)
case 23: st = TextStyleType::STAFF; break;
case 24: st = TextStyleType::HARMONY; break;
case 25: st = TextStyleType::REHEARSAL_MARK; break;
case 26: st = TextStyleType::REPEAT; break;
case 26: st = TextStyleType::REPEAT_RIGHT; break;
case 27: st = TextStyleType::VOLTA; break;
case 28: st = TextStyleType::FRAME; break;
case 29: st = TextStyleType::TEXTLINE; break;
@ -2532,9 +2532,9 @@ QVariant Text::propertyDefault(P_ID id) const
case Element::Type::INSTRUMENT_CHANGE: idx = TextStyleType::INSTRUMENT_CHANGE; break;
// case Element::Type::INSTRUMENT_NAME: would need to differentiate long & short
// probably best handle this with another override
case Element::Type::JUMP: idx = TextStyleType::REPEAT; break;
case Element::Type::JUMP: idx = TextStyleType::REPEAT_RIGHT; break;
case Element::Type::LYRICS: idx = TextStyleType::LYRIC1; break;
case Element::Type::MARKER: idx = TextStyleType::REPEAT; break;
case Element::Type::MARKER: idx = TextStyleType::REPEAT_RIGHT; break;
case Element::Type::REHEARSAL_MARK: idx = TextStyleType::REHEARSAL_MARK; break;
case Element::Type::STAFF_TEXT: idx = TextStyleType::STAFF; break;
case Element::Type::TEMPO_TEXT: idx = TextStyleType::TEMPO; break;

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -28,6 +28,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -28,6 +28,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -28,6 +28,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -0,0 +1,306 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="3.00">
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<minSystemDistance>9.2</minSystemDistance>
<lyricsMinBottomDistance>6</lyricsMinBottomDistance>
<minMeasureWidth>4</minMeasureWidth>
<endBarDistance>0.3</endBarDistance>
<bracketWidth>0.35</bracketWidth>
<bracketDistance>0.2</bracketDistance>
<clefLeftMargin>0.5</clefLeftMargin>
<clefKeyRightMargin>1.75</clefKeyRightMargin>
<minNoteDistance>0.4</minNoteDistance>
<measureSpacing>1.14</measureSpacing>
<ledgerLineWidth>0.12</ledgerLineWidth>
<beamWidth>0.48</beamWidth>
<beamMinLen>1.25</beamMinLen>
<propertyDistanceStem>0.5</propertyDistanceStem>
<lastSystemFillLimit>0</lastSystemFillLimit>
<harmonyY>0</harmonyY>
<chordStyle>custom</chordStyle>
<chordsXmlFile>1</chordsXmlFile>
<chordDescriptionFile>stdchords.xml</chordDescriptionFile>
<hideInstrumentNameIfOneInstrument>0</hideInstrumentNameIfOneInstrument>
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>-4</yoffset>
<offsetType>spatium</offsetType>
<name>Chord Symbol</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>-3</yoffset>
<offsetType>spatium</offsetType>
<name>Rehearsal Mark</name>
<family>FreeSerif</family>
<size>14</size>
<bold>1</bold>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
<frameWidthS>0.2</frameWidthS>
<paddingWidthS>0.5</paddingWidthS>
<frameRound>20</frameRound>
<frameColor r="0" g="0" b="0" a="255"/>
<systemFlag>1</systemFlag>
</TextStyle>
<page-layout>
<page-height>1683.78</page-height>
<page-width>1190.55</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.764</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</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>
<PageList>
<Page>
<System>
</System>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<StaffType group="pitched">
</StaffType>
</Staff>
<trackName>Flute</trackName>
<Instrument>
<trackName>Flute</trackName>
<minPitchP>59</minPitchP>
<maxPitchP>98</maxPitchP>
<minPitchA>60</minPitchA>
<maxPitchA>93</maxPitchA>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>50</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="73"/>
<controller ctrl="93" value="30"/>
<controller ctrl="91" value="30"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<Measure number="1">
<Marker>
<style>Repeat Text Left</style>
<text><sym>segno</sym></text>
<label>segno</label>
</Marker>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="2">
<Marker>
<style>Repeat Text Left</style>
<text><sym>coda</sym></text>
<label>codab</label>
</Marker>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="3">
<Marker>
<style>Repeat Text Left</style>
<text><sym>codaSquare</sym></text>
<label>varcoda</label>
</Marker>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="4">
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<Marker>
<style>Repeat Text Left</style>
<text><sym>coda</sym><sym>coda</sym></text>
<label>codetta</label>
</Marker>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="5">
<Marker>
<text><font face="Times New Roman"/>Fine</text>
<label>fine</label>
</Marker>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="6">
<Jump>
<text><font face="Times New Roman"/>D.C.</text>
<jumpTo>start</jumpTo>
<playUntil>end</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="7">
<Jump>
<text><font face="Times New Roman"/>D.C. al Fine</text>
<jumpTo>start</jumpTo>
<playUntil>fine</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="8">
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<Jump>
<text><font face="Times New Roman"/>D.C. al Coda</text>
<jumpTo>start</jumpTo>
<playUntil>coda</playUntil>
<continueAt>codab</continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="9">
<Jump>
<text><font face="Times New Roman"/>D.S. al Coda</text>
<jumpTo>segno</jumpTo>
<playUntil>coda</playUntil>
<continueAt>codab</continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="10">
<Jump>
<text><font face="Times New Roman"/>D.S. al Fine</text>
<jumpTo>segno</jumpTo>
<playUntil>fine</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="11">
<Jump>
<text><font face="Times New Roman"/>D.S.</text>
<jumpTo>segno</jumpTo>
<playUntil>end</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
</Measure>
<Measure number="12">
<Marker>
<text><font face="Times New Roman"/>To Coda</text>
<label>coda</label>
</Marker>
<Rest>
<durationType>measure</durationType>
<duration>4/4</duration>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
</Score>
</museScore>

View file

@ -0,0 +1,327 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="1.14">
<programVersion>1.3</programVersion>
<programRevision>5702
</programRevision>
<Spatium>1.764</Spatium>
<Division>480</Division>
<Style>
<systemDistance>9.2</systemDistance>
<bracketDistance>0.2</bracketDistance>
<pageFillLimit>0.7</pageFillLimit>
<lastSystemFillLimit>0</lastSystemFillLimit>
<smallNoteMag>0.7</smallNoteMag>
<graceNoteMag>0.7</graceNoteMag>
<smallStaffMag>0.7</smallStaffMag>
</Style>
<showInvisible>1</showInvisible>
<showFrames>1</showFrames>
<page-layout>
<pageFormat>A4</pageFormat>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-offset>0</page-offset>
</page-layout>
<siglist>
<sig tick="0">
<nom>4</nom>
<denom>4</denom>
</sig>
</siglist>
<tempolist fix="2">
</tempolist>
<Part>
<Staff>
<cleflist>
<clef tick="0" idx="0"/>
</cleflist>
<keylist>
<key tick="0" idx="0"/>
</keylist>
<bracket type="-1" span="1"/>
</Staff>
<Instrument>
<minPitchP>59</minPitchP>
<maxPitchP>98</maxPitchP>
<minPitchA>60</minPitchA>
<maxPitchA>93</maxPitchA>
<trackName>Flute</trackName>
<Channel>
<controller ctrl="0" value="0"/>
<controller ctrl="32" value="0"/>
<program value="73"/>
<controller ctrl="7" value="100"/>
<controller ctrl="10" value="64"/>
<controller ctrl="93" value="30"/>
<controller ctrl="91" value="30"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<Measure number="1">
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<rxoffset>0</rxoffset>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MScore'; font-size:20pt;"></span></p></body></html>
</html-data>
<label>segno</label>
</Marker>
<TimeSig>
<subtype>260</subtype>
<den>4</den>
<nom1>4</nom1>
</TimeSig>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="2">
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<rxoffset>0</rxoffset>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MScore'; font-size:20pt;"></span></p></body></html>
</html-data>
<label>codab</label>
</Marker>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="3">
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<rxoffset>0</rxoffset>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MScore'; font-size:20pt;"></span></p></body></html>
</html-data>
<label>varcoda</label>
</Marker>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="4">
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<rxoffset>0</rxoffset>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MScore'; font-size:20pt;"></span></p></body></html>
</html-data>
<label>codetta</label>
</Marker>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="5">
<Text>
<style>17</style>
<subtype>MeasureNumber</subtype>
</Text>
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">Fine</span></p></body></html>
</html-data>
<label>fine</label>
</Marker>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="6">
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.C.</span></p></body></html>
</html-data>
<jumpTo>start</jumpTo>
<playUntil>end</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="7">
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.C. al Fine</span></p></body></html>
</html-data>
<jumpTo>start</jumpTo>
<playUntil>fine</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="8">
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.C. al Coda</span></p></body></html>
</html-data>
<jumpTo>start</jumpTo>
<playUntil>coda</playUntil>
<continueAt>codab</continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="9">
<Text>
<style>17</style>
<subtype>MeasureNumber</subtype>
</Text>
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.S. al Coda</span></p></body></html>
</html-data>
<jumpTo>segno</jumpTo>
<playUntil>coda</playUntil>
<continueAt>codab</continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="10">
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.S. al Fine</span></p></body></html>
</html-data>
<jumpTo>segno</jumpTo>
<playUntil>fine</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="11">
<Jump>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">D.S.</span></p></body></html>
</html-data>
<jumpTo>segno</jumpTo>
<playUntil>end</playUntil>
<continueAt></continueAt>
</Jump>
<Rest>
<durationType>measure</durationType>
</Rest>
</Measure>
<Measure number="12">
<Marker>
<style>26</style>
<subtype>Repeat</subtype>
<systemFlag>1</systemFlag>
<frame>0</frame>
<html-data>
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Times New Roman'; font-size:12.0008pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">To Coda</span></p></body></html>
</html-data>
<label>coda</label>
</Marker>
<Rest>
<durationType>measure</durationType>
</Rest>
<BarLine>
<subtype>5</subtype>
</BarLine>
</Measure>
</Staff>
<cursorTrack>-1</cursorTrack>
</museScore>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -85,6 +85,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -272,7 +272,7 @@
<xoffset>0</xoffset>
<yoffset>-4</yoffset>
<offsetType>spatium</offsetType>
<name>Repeat Text</name>
<name>Repeat Text Right</name>
<family>MuseJazz</family>
<size>13</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -26,6 +26,17 @@
<voltaY>0</voltaY>
<keySigNaturals>1</keySigNaturals>
<tupletOufOfStaff>0</tupletOufOfStaff>
<TextStyle>
<halign>center</halign>
<valign>baseline</valign>
<xoffset>0</xoffset>
<yoffset>8</yoffset>
<offsetType>spatium</offsetType>
<name>Dynamics</name>
<family>FreeSerif</family>
<size>12</size>
<sizeIsSpatiumDependent>1</sizeIsSpatiumDependent>
</TextStyle>
<TextStyle>
<halign>left</halign>
<valign>baseline</valign>

View file

@ -71,6 +71,7 @@ void TestCompat114::compat_data()
QTest::newRow("chord_symbol") << "chord_symbol";
QTest::newRow("style") << "style";
QTest::newRow("text_scaling") << "text_scaling";
QTest::newRow("markers") << "markers";
}
//---------------------------------------------------------

View file

@ -23,3 +23,4 @@ cp $S/text_scaling-test.mscx text_scaling-ref.mscx
cp $S/textstyles-test.mscx textstyles-ref.mscx
cp $S/title-test.mscx title-ref.mscx
cp $S/tremolo2notes-test.mscx tremolo2notes-ref.mscx
cp $S/markers-test.mscx markers-ref.mscx