Multi-measure rest number does not resize with scaling

• Apr 9, 2010 - 23:51
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Steps to reproduce bug
1. Open or create score with multi-measure rests
2. Layout > Page Settings
3. Reduce scaling.

Expected behavior: Multi-measure rest number should be proportional to the scaled staff

Actual behavior: Multi-measure rest number remains the same size (see http://musescore.org/sites/musescore.org/files/issues/multimeasure-wron… )

MuseScore version: r. 2952 nightly.

(Operating System: Windows 7)

first reported by deif: http://musescore.org/node/5288#comment-14533


Comments

I think I managed to solve the issue. A patch is attached.
The output looks like the attached picture, at all sizes.

As it's the first time I look at the MuseScore source code there may be bugs or unwanted side effects with the patch attached, so please review.
Also, it would be nice to provide a config option to set the number size in "Style->Set text style".

*Updated patch and pic.

Attachment Size
mscore-mmrest-good2.png 18.91 KB
mmrest2.patch 576 bytes

.png looks better.

In my experience the number is either placed above the bar or (more usual) in the middle of the MM rest with that MM rest separated into 2 halves, leaving room for the numbers.

Regards.