[MusicXML] Note glyph in tempo text imported from 1.3 missing when exporting to MusicXML
1. Open attached mscz (produced in 1.3).
2. 'File'>'Export…'.
3. Choose 'MusicXML'.
4. 'Save'.
5. Open MusicXML.
Result: The notehead in the tempo text is missing.
Note: Also attached is the produced MusicXML.
Using MuseScore 2.0 Nightly Build 4934cf0 - Mac 10.7.5.
Attachment | Size |
---|---|
Notehead in tempo text missing.mscz | 1.54 KB |
Notehead in tempo text missing.xml | 4.73 KB |
Comments
I don't know what the problem is, or if anything else is affected.
It's not just a notehead; it's a the entire quarter note glyph (quarter note = 80). Note this works fine if the symbol is added within 2.0 - it's only an issue for imported 1.3 scores that are then exported to MusicXML. I assume that's because for 2.0, we use standard Unicode codepoints for these glyphs; 1.3 used proprietary glyphs. I guess the export facility should special case those symbols and convert them to Unicode.
In this case, the internal representation of the quarter note glyph is <sym>unicodeNoteQuarterUp</sym> (as is expected), but the tempo text also contains formatting, which confuses the regular expression match used to recognize the text as a tempo text. Solution is to remove the formatting before regular expression matching.
Will fix this, but will take a few days.
Also happens when the tempo text is created in 2.0 and its formatting is changed. Leads to information loss -> major.
Pull request #1582
Fixed in 8d8f3e71f8
Automatically closed -- issue fixed for 2 weeks with no activity.