New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement #17037: Replacement of 'b' and '#' with '♭' and '♯' for staff names imported from mxml #17118
Implement #17037: Replacement of 'b' and '#' with '♭' and '♯' for staff names imported from mxml #17118
Conversation
3d2a40a
to
484f0d6
Compare
Updated to add transpositions in non-english languages, such as Si♭, in addition to the note name. Also made it non-case sensitive (though the b is still case-sensitive) |
484f0d6
to
3f2f8ff
Compare
3f2f8ff
to
dc3dd9d
Compare
a4e4a16
to
c876eda
Compare
c876eda
to
91e5b14
Compare
91e5b14
to
5bf7ca1
Compare
@@ -425,6 +425,7 @@ class Instrument | |||
void setIsPrimary(bool isPrimary); | |||
|
|||
void updateInstrumentId(); | |||
void updateNamesForAccidentals(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this line (it is not needed)
@@ -53,6 +53,34 @@ static int musicXMLImportErrorDialog(QString text, QString detailedText) | |||
return errorDialog.exec(); | |||
} | |||
|
|||
void updateNamesForAccidentals(Instrument* inst) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static void updateNamesForAccidentals(Instrument* inst)
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
…t in insrt names Backport of musescore#18556, part 4, resp. musescore#17118 Disabled for now, needs more work
Resolves: #17037
This replaces b and # with their unicode equivalents during musicxml import iff:
As is pointed out in a comment on the original issue, there is an import option available to replace (or not replace) fonts. This PR does not override that setting, and doesn't touch font stuff at all.