apply some of the backports from master here
[alioth/musescore.git] / debian / patches / upstream / ottava-size.diff
1 Origin: backport, commit:5301009829215619953d33f03932b09c3ead5e7b
2 Author: Joachim Schmitz <jojo@schmitz-digital.de>
3 Description: fix #300738: Ottava (8va/8vb) number is too big
4
5 --- a/libmscore/style.cpp
6 +++ b/libmscore/style.cpp
7 @@ -355,7 +355,7 @@ void initStyle(MStyle* s)
8        s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Glissando"), ff, 8, false, true, false,
9           AlignmentFlags::HCENTER | AlignmentFlags::BASELINE, QPointF(), OffsetType::SPATIUM, true));
10  
11 -      s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Ottava"),            ff, 12, false, true, false,
12 +      s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Ottava"),            ff, 10, false, true, false,
13           AlignmentFlags::LEFT | AlignmentFlags::VCENTER, QPointF(), OffsetType::SPATIUM, true));
14        s->addTextStyle(TextStyle(QT_TRANSLATE_NOOP ("TextStyle", "Pedal"),             ff, 12, false, false, false,
15           AlignmentFlags::LEFT | AlignmentFlags::BASELINE, QPointF(0.0, 0.15), OffsetType::SPATIUM, true));