musescore / musescore/MuseScore

Add style options for 'String tunings' element

Open
#31,799 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

engraving needs design
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Problem to be solved
Image

The circled numbers in the 'String tunings' and 'String number' elements cannot easily be made to look the same.

The 'String tunings' element does not allow for customization of the number's font (likely because they are SMuFL unicode characters, not a custom-rendered number with a circle drawn around it), the syntax (it's always a number followed by an en dash followed by the note name), or the row/column layout of the strings. You can change the font of the en dash and note name in 'Styles > Text styles > String tunings' but it does not affect the circled number.

The font 'String number' elements (the individual numbers with circles applied to notes) does not match the

Task

A new Style dialog page is needed for customizing bother 'String tunings' and 'String number' elements.

String tunings:

  • Allow changing the style of the unicode circled numbers in the 'String tunings' element to be drawn like we draw the 'String numbers' element

    • We could then apply the existing 'String numbers' text style to the number within this element
  • Allow other syntaxes, like '6 to D', '6 = D', and maybe a user-defined option (suggested by @rgreen5 in https://github.com/musescore/MuseScore/issues/20784)

  • Scale

  • Spacing: to the staff; between columns/rows; between the number, dash, and note name

String numbers:

  • Allow using the unicode characters for the 'String numbers' elements instead of choosing a custom font
  • Scale
  • Spacing to staff

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.