Skip to content

Commit df15eb5

Browse files
authored
Merge pull request #29348 from miiizen/29341-marker-staff-size
Scale marker symbols with staff size
2 parents 64e2301 + 135f421 commit df15eb5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/engraving/dom/textbase.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,9 @@ Font TextFragment::font(const TextBase* t) const
927927
family = t->style().styleSt(Sid::musicalTextFont);
928928
fontType = Font::Type::MusicSymbolText;
929929
m = t->getProperty(Pid::MARKER_SYMBOL_SIZE).toDouble();
930+
if (t->sizeIsSpatiumDependent()) {
931+
m *= spatiumScaling;
932+
}
930933
} else {
931934
family = t->style().styleSt(Sid::musicalTextFont);
932935
fontType = Font::Type::MusicSymbolText;

vtest/scores/marker-4.mscz

19.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)